I have not been using the ops since a while and now I try to use the gauss filter for a XYZCT image. The gaussian filter should only be used for XY. here is a python code snippet. I also attach a strongly downsampled image for testing img_downsampled.tif (108.7 KB)
#@ File (label = "Image file", style = "file") imgfile #@ DatasetIOService ds #@ UIService ui #@ OpService ops import ij from ij import IJ IJ.run("Close All") dataset1 = ds.open(imgfile.getAbsolutePath()); ui.show(dataset1); results = ops.filter().gauss(dataset1, [1.0, 1.0, 0.0, 0.0, 0.0]); ui.show(results);
The output should be processing in XY in the 2 channel, but I get all images messed up and cut instead.
For instance Channel 2, Z = 14 before processing