the old im_measure() woprked on labq images, make the wrapper work on labq too
plus a fix to operation.c