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

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)

When you launch mini you need to use the command Miji( false ); to not launch the ImageJ menu.
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 Read, Write, and Modify Image in Help Center and File Exchange

Asked:

on 24 Oct 2016

Answered:

on 30 Apr 2020

Community Treasure Hunt

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

Start Hunting!