Hi, I am trying to write a small script to perform z projection on an image. It seems that I use the wrong signature for ops.project() function. I tried many combinations without success...
------------------------------- # @DatasetService data # @DisplayService display # @OpService ops from net.imagej.ops.statistics import Max from net.imglib2.type.numeric import RealType fname = "/home/hadim/test_small.ome.tif" img = data.open(fname) display.createDisplay(img.getName(), img) #op = ops.sum(RealType, img) img2 = ops.project(img, Max, 1) display.createDisplay(img2.getName(), img2) data.save(img2, "/home/hadim/projected.ome.tif") ----------------------------------- I looked the doc, imagej-ops tests but I can't find the correct signature for python. Maybe you can help. Thank you -- Hadrien Mary Ph.D student in Biology Tournier-Gachet Team CNRS - LBCMCP - UMR 5088 Université de Toulouse - Bât. 4R3B1 118, route de Narbonne - 31062 Toulouse _______________________________________________ ImageJ-devel mailing list ImageJ-devel@imagej.net http://imagej.net/mailman/listinfo/imagej-devel