I am trying to understand how to use ops and somehow I found it very confusing. For some ops it works for some ops not. For example a distance transform gives me always a blank image.
Here is a small groovy script you can try with blobs (with or without binarization)
#@ OpService ops #@ ImagePlus img import net.imglib2.img.display.imagej.ImageJFunctions as IJF imgF = IJF.convertFloat(img) dt = ops.run("image.distancetransform", imgF) IJF.show(dt) filter = ops.run("filter.gauss", imgF, 2) IJF.show(filter)