MATLAB Answers

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

50 views (last 30 days)
Alaa
Alaa on 24 Oct 2016
Answered: Fabio Fonseca on 30 Apr 2020
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.

  0 Comments

Sign in to comment.

Answers (3)


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.

  0 Comments

Sign in to comment.


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')

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!