Updated 20 May 2018
Assuming you have communication between ImageJ and MATLAB via ImageJ-MATLAB, copytoImagePlus allows you to turn a MATLAB array into ImagePlus object.
copytoImagePlus is a MATLAB function. Assuming you have communication between ImageJ and MATLAB via ImageJ-MATLAB, copytoImagePlus allows you to turn a MATLAB array into ImageJ1 ImagePlus object (a hyperstack).
- This function is similar to ijmshow, but unlike ijmshow, copytoImagePlus does not require net.imagej.matlab.ImageJMATLABCommands object IJM in base MATLAB Workspace. Therefore, copytoImagePlus can be used both when you launch an instance of ImageJ from within MATLAB (like ijmshow) and when you launch an instance of MATLAB from ImageJ.
- copytoImg and copytoImgPlus are bundled with Fiji and work in a similar way but using ImageJ2 API and objects, instead of ImageJ1 ImagePlus object.
imp = copytoImagePlus (I)
imp = copytoImagePlus (I,dimorder)
imp = copytoImagePlus (____,'Param',value)
Optional Parameter/Value pairs
'NewName' char row vector | 'new' (default)
The window title of the new image in ImageJ
Time frame sampling interval in seconds
Kouichi C. Nakamura (2020). kouichi-c-nakamura/copytoImagePlus (https://github.com/kouichi-c-nakamura/copytoImagePlus), GitHub. Retrieved .
No I don't. I'd like to know it if it exists. The major frustration of using ImageJ/FIji is the lack of "a comprehensive guide." I had to go through ImageJ's Java docs a lot, but they're often very unfriendly. This is a major difference from MATLAB, which comes with great documentation and examples.
Hi this is very useful,
Do you know of a comprehensive guide to the syntax for setting the properties of the image plus object? I would like to set the image dimensions, pixel sizes and set ROIs created using MATLAB drawfreehand (or other ROI commands) if possible.