MATLAB Answers

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

48 views (last 30 days)
Alaa on 24 Oct 2016
Answered: Fabio Fonseca on 30 Apr 2020
Please, I need to know how to pass an image or stack of images to the imagej from matlab.
I've tried this command:'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)

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'

Community Treasure Hunt

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

Start Hunting!