how read image in matlab and pass it to the imagej?

22 views (last 30 days)
Hi
Please, I need to know how to pass an image or stack of images to the imagej from matlab.
I've tried this command:
MIJ.run('Open...', 'path=[E:\\sun\\Endothelium Project\\Endothelium Code\\MIJ Code\\ENDOTHELIAL IMAGES\\12.bmp]');
Put, this will open a file menu each time I read an image. is there any way to do so? Thank you in advance.

Answers (3)

Image Analyst
Image Analyst on 24 Oct 2016

Catherine Davey
Catherine Davey on 6 Nov 2018
When you launch mini you need to use the command Miji( false ); to not launch the ImageJ menu.

Fabio Fonseca
Fabio Fonseca on 30 Apr 2020
javaaddpath 'C:\Program Files\MATLAB\R2019a\java\ij.jar'
javaaddpath 'C:\Program Files\MATLAB\R2019a\java\mij.jar'
MIJ.start;
ij.IJ.open('C:/Users/.../image.png')

Categories

Find more on External Language Interfaces in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!