I’m doing some basic processing using ImageJ and MATLAB. In a MATLAB script I call the ImageJ to load the image and later perform some processing, for example:
im = ij.ImagePlus(fn); im_processor = im.getProcessor(); im_processor.autoThreshold(); im.setProcessor(im_processor); im.show();
But now I would like to bring the
im which is of type
ImageLib to MATLAB data type. How can I do that?
I saw that in Fiji’s Scripts folder there is a file called
copytoMatlab.m, but it only works with
ImgLib2 data type.
Does any body know how to convert a
ImageLib to MATLAB data file? I also would like to convert a MATLAB image (let’s say a