ImageJ plugins and Matlab MCR

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ plugins and Matlab MCR

Ovidiu Dan Iancu
Hello all,

I have developed an img processing application (in Matlab) which I would
like to make available as an ImageJ plugin. I plan to use MATLAB Builder JA
to transform my Matlab code into Java classes, and then build the plugin.

Does anyone know if I can distribute the Matlab MCR as part of the plugin?

My experience with Java is very limited. Any suggestions would be greatly
appreciated.

                         Dan

Reply | Threaded
Open this post in threaded view
|

Re: ImageJ plugins and Matlab MCR

Jean-Yves Tinevez-4
Hi Dan

> I have developed an img processing application (in Matlab) which I  
> would
> like to make available as an ImageJ plugin. I plan to use MATLAB  
> Builder JA
> to transform my Matlab code into Java classes, and then build the  
> plugin.
>
Ah! But that would be fantastic! I would very much like to know how to  
make
Matlab function in a ImageJ plugin.  If I can be of help, just tell me.

> Does anyone know if I can distribute the Matlab MCR as part of the  
> plugin?
>
We had the question several times, and the answer is definitely yes, see
here: http://www.mathworks.fr/products/javabuilder/description1.html

> My experience with Java is very limited. Any suggestions would be  
> greatly
> appreciated.

--
Jean-Yves Tinevez, PhD
Image Processing Facility head
Max Planck Institute of Molecular Cell Biology and Genetics
Pfotenhauerstraße 108, 01307 Dresden
GERMANY
tel +49 (0)351 210 2889
fax +49 (0)351 210 1489
e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ plugins and Matlab MCR

Heerpa
In reply to this post by Ovidiu Dan Iancu
Ovidiu Dan Iancu wrote
Hello all,

I have developed an img processing application (in Matlab) which I would
like to make available as an ImageJ plugin. I plan to use MATLAB Builder JA
to transform my Matlab code into Java classes, and then build the plugin.

Does anyone know if I can distribute the Matlab MCR as part of the plugin?

My experience with Java is very limited. Any suggestions would be greatly
appreciated.

                         Dan

Hi all,

I know I am answering to an old post but that is exactly what I wouldlike to do. I just do not know how.
I have written several image processing procedures in matlab, and I wouldlike to make them available as ImageJ plugins. How can i do this?
I found tutorials on how to write plugins in java, but I cannot call this code like {public void run(ImageProcessor ip)} from matlab, can I.

the tutorial on how to use netbeans
http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:how_to_set_up_netbeans_to_work_with_imagej_and_matlab_together
seemed to help, but still I dont know how to access images in my m files..

MIJ (http://bigwww.epfl.ch/sage/soft/mij/) seems not to be of interest to me because it is the wrong direction, because I want the user to work in ImageJ.

Hope you can help

  Best, H
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ plugins and Matlab MCR

Heerpa
In reply to this post by Ovidiu Dan Iancu
Ovidiu Dan Iancu wrote
Hello all,

I have developed an img processing application (in Matlab) which I would
like to make available as an ImageJ plugin. I plan to use MATLAB Builder JA
to transform my Matlab code into Java classes, and then build the plugin.

Does anyone know if I can distribute the Matlab MCR as part of the plugin?

My experience with Java is very limited. Any suggestions would be greatly
appreciated.

                         Dan

Hi all,

I know I am answering to an old post but that is exactly what I wouldlike to do. I just do not know how.
I have written several image processing procedures in matlab, and I wouldlike to make them available as ImageJ plugins. How can i do this?
I found tutorials on how to write plugins in java, but I cannot call this code like {public void run(ImageProcessor ip)} from matlab, can I.

the tutorial on how to use netbeans
http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:how_to_set_up_netbeans_to_work_with_imagej_and_matlab_together
seemed to help, but still I dont know how to access images in my m files..

MIJ (http://bigwww.epfl.ch/sage/soft/mij/) seems not to be of interest to me because it is the wrong direction, because I want the user to work in ImageJ.

Unfortunately, I have no experience in java whatsoever..

cheers, H
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ plugins and Matlab MCR

Heerpa
In reply to this post by Ovidiu Dan Iancu
Ovidiu Dan Iancu wrote
Hello all,

I have developed an img processing application (in Matlab) which I would
like to make available as an ImageJ plugin. I plan to use MATLAB Builder JA
to transform my Matlab code into Java classes, and then build the plugin.

Does anyone know if I can distribute the Matlab MCR as part of the plugin?

My experience with Java is very limited. Any suggestions would be greatly
appreciated.

                         Dan

Hi all,

I know I am answering to an old post but that is exactly what I wouldlike to do. I just do not know how.
I have written several image processing procedures in matlab, and I wouldlike to make them available as ImageJ plugins. How can i do this?
I found tutorials on how to write plugins in java, but I cannot call this code like {public void run(ImageProcessor ip)} from matlab, can I.

the tutorial on how to use netbeans
http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:how_to_set_up_netbeans_to_work_with_imagej_and_matlab_together
seemed to help, but still I dont know how to access images in my m files..

MIJ (http://bigwww.epfl.ch/sage/soft/mij/) seems not to be of interest to me because it is the wrong direction, because I want the user to work in ImageJ.

Unfortunately, I have no experience in java whatsoever..

cheers, H
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ plugins and Matlab MCR

Heerpa
In reply to this post by Ovidiu Dan Iancu
Ovidiu Dan Iancu wrote
Hello all,

I have developed an img processing application (in Matlab) which I would
like to make available as an ImageJ plugin. I plan to use MATLAB Builder JA
to transform my Matlab code into Java classes, and then build the plugin.

Does anyone know if I can distribute the Matlab MCR as part of the plugin?

My experience with Java is very limited. Any suggestions would be greatly
appreciated.

                         Dan

Hi all,

I know I am answering to an old post but that is exactly what I wouldlike to do. I just do not know how.
I have written several image processing procedures in matlab, and I wouldlike to make them available as ImageJ plugins. How can i do this?
I found tutorials on how to write plugins in java, but I cannot call this code like {public void run(ImageProcessor ip)} from matlab, can I.

the tutorial on how to use netbeans
http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:how_to_set_up_netbeans_to_work_with_imagej_and_matlab_together
seemed to help, but still I dont know how to access images in my m files..

MIJ (http://bigwww.epfl.ch/sage/soft/mij/) seems not to be of interest to me because it is the wrong direction, because I want the user to work in ImageJ.

Unfortunately, I have no experience in java whatsoever..

cheers, H
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ plugins and Matlab MCR

Nathaniel Ryckman
The solution to what you are asking for is basically going to be a big hack.

You need to find a way to either:

1) Translate Matlab code to ImageJ code
2) Run Matlab code from ImageJ

The first option is almost an impossibility since ImageJ and Matlab keeps evolving. The interpreter would not be fun to make.

I think that the second option is a possibility, but there might be things that don't work/things you will have to hack.

The plugins imageJ uses are just Java classes. In other words, if you can run Matlab code from Java, then you will have your solution. I did a quick Google search for this capability and found this:

http://www.cs.virginia.edu/~whitehouse/matlab/JavaMatlab.html

Also, it appears someone else is trying to form a bridge between Matlab and imageJ. This also seems to go with approach 2, but in a different way then the other link that I gave you http://bigwww.epfl.ch/sage/soft/mij/

Good luck! That will be really neat if you are able to get the bridge between Matlab and imageJ to work!

Heerpa wrote
Ovidiu Dan Iancu wrote
Hello all,

I have developed an img processing application (in Matlab) which I would
like to make available as an ImageJ plugin. I plan to use MATLAB Builder JA
to transform my Matlab code into Java classes, and then build the plugin.

Does anyone know if I can distribute the Matlab MCR as part of the plugin?

My experience with Java is very limited. Any suggestions would be greatly
appreciated.

                         Dan

Hi all,

I know I am answering to an old post but that is exactly what I wouldlike to do. I just do not know how.
I have written several image processing procedures in matlab, and I wouldlike to make them available as ImageJ plugins. How can i do this?
I found tutorials on how to write plugins in java, but I cannot call this code like {public void run(ImageProcessor ip)} from matlab, can I.

the tutorial on how to use netbeans
http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:how_to_set_up_netbeans_to_work_with_imagej_and_matlab_together
seemed to help, but still I dont know how to access images in my m files..

MIJ (http://bigwww.epfl.ch/sage/soft/mij/) seems not to be of interest to me because it is the wrong direction, because I want the user to work in ImageJ.

Unfortunately, I have no experience in java whatsoever..

cheers, H
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ plugins and Matlab MCR

Prodanov Dimiter
In reply to this post by Ovidiu Dan Iancu
Hello,

I was considering doing that for several years but never got to the point of actually doing it.
According to me the cleanest approach will be to use client-server model. So it will mount to developing a sever in Matlab and a client in ImageJ.
However, there may be issues in the choice of communication protocol and security.

Best regards,

D Prodanov