getMask() not working properly
Posted by piedrahitapablo on Jan 19, 2015; 10:02pm
URL: http://imagej.273.s1.nabble.com/getMask-not-working-properly-tp5011288.html
Hi, I'm currently working on a plugin to reconstruct digital holograms, to do so, the plugin needs to take the fourier transform of the hologram and the user must select a ROI on the spectrum. After this, the plugin just needs the information on the ROI to reconstruct the hologram. I'm trying to get that information using the getRoi() and getMask() methods from the ImageProcessor class, first I get the rectangular coordinates with getRoi(), and then apply the mask from getMask(), but no matter the ROI's type, getMask() is always returning null values. Do you have some advices about getMask() or another way to achieve this?
Thanks!