Need help with ImageJ plugin

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

Need help with ImageJ plugin

Mahdi Vaezi
Hi Folks;

I used ImageJ back in 2011 and 2012, and developed a plugin for that to
recognize the shape of the particles and measure a series of morphological
features. Now I am using the same plugin on the same machine, but the
software is not that old one anymore (I am not sure if there has been any
update). Now the plugin is not running and I am getting an error message in
the "Java.lang.math" line. I wonder if something has changed recently in
ImageJ which I need to update the plugin accordingly. Or is someone can
send me the old version of ImageJ for 2011.

Truly appreciate your help.

Thanks;

--

*Mahdi Vaezi*

PhD Candidate

Department of Mechanical Engineering

4-9 Mechanical Engineering Building

University of Alberta

Edmonton, Alberta, Canada T6G 2G8

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Need help with ImageJ plugin

ctrueden
Hi Mahdi,

> Now the plugin is not running and I am getting an error message in the
> "Java.lang.math" line.

Can you post the plugin somewhere? It is hard to help without seeing the
code.

Regards,
Curtis


On Fri, Mar 28, 2014 at 5:15 PM, Mahdi Vaezi <[hidden email]> wrote:

> Hi Folks;
>
> I used ImageJ back in 2011 and 2012, and developed a plugin for that to
> recognize the shape of the particles and measure a series of morphological
> features. Now I am using the same plugin on the same machine, but the
> software is not that old one anymore (I am not sure if there has been any
> update). Now the plugin is not running and I am getting an error message in
> the "Java.lang.math" line. I wonder if something has changed recently in
> ImageJ which I need to update the plugin accordingly. Or is someone can
> send me the old version of ImageJ for 2011.
>
> Truly appreciate your help.
>
> Thanks;
>
> --
>
> *Mahdi Vaezi*
>
> PhD Candidate
>
> Department of Mechanical Engineering
>
> 4-9 Mechanical Engineering Building
>
> University of Alberta
>
> Edmonton, Alberta, Canada T6G 2G8
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Need help with ImageJ plugin

Mahdi Vaezi
In reply to this post by Mahdi Vaezi
Thank you Curtis. I uploaded the plugin into Dropbox. Here is the link:

https://www.dropbox.com/sh/u7qu4bm1ph13yaf/GfwOg3w5E8

Simply open an image, make it 8-bit and binary, set some scale, analyze it (analyze particles), and then run the plugin.

Really appreciate your help.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Need help with ImageJ plugin

ctrueden
Hi Mahdi,

> I uploaded the plugin into Dropbox.

Did you try removing the line "import java.lang.Math;" ?

It is superfluous as all java.lang.* classes are already available by
default.

Regards,
Curtis


On Fri, Mar 28, 2014 at 5:49 PM, Mahdi Vaezi <[hidden email]> wrote:

> Thank you Curtis. I uploaded the plugin into Dropbox. Here is the link:
>
> https://www.dropbox.com/sh/u7qu4bm1ph13yaf/GfwOg3w5E8
>
> Simply open an image, make it 8-bit and binary, set some scale, analyze it
> (analyze particles), and then run the plugin.
>
> Really appreciate your help.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Need help with ImageJ plugin

Mahdi Vaezi
Hi Curtis;

Some other folk found the problem. I have to enable some other options on
"set measurements", as those are needed by the plugin to run.

Really appreciate your time and help.

Bests;




On Fri, Mar 28, 2014 at 4:58 PM, Curtis Rueden <[hidden email]> wrote:

> Hi Mahdi,
>
> > I uploaded the plugin into Dropbox.
>
> Did you try removing the line "import java.lang.Math;" ?
>
> It is superfluous as all java.lang.* classes are already available by
> default.
>
> Regards,
> Curtis
>
>
> On Fri, Mar 28, 2014 at 5:49 PM, Mahdi Vaezi <[hidden email]> wrote:
>
> > Thank you Curtis. I uploaded the plugin into Dropbox. Here is the link:
> >
> > https://www.dropbox.com/sh/u7qu4bm1ph13yaf/GfwOg3w5E8
> >
> > Simply open an image, make it 8-bit and binary, set some scale, analyze
> it
> > (analyze particles), and then run the plugin.
> >
> > Really appreciate your help.
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
>


--

*Mahdi Vaezi*

PhD Candidate

Department of Mechanical Engineering

4-9 Mechanical Engineering Building

University of Alberta

Edmonton, Alberta, Canada T6G 2G8

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Need help with ImageJ plugin

dscho
In reply to this post by ctrueden
Hi Mahdi,

On Fri, 28 Mar 2014, Curtis Rueden wrote:

> > Now the plugin is not running and I am getting an error message in the
> > "Java.lang.math" line.
>
> Can you post the plugin somewhere? It is hard to help without seeing the
> code.

I agree that it would be best to have the source code of the plugin, and a
detailed step by step plan how to reproduce the error.

Also, please keep in mind that it is too vague to say that there was an
error message. The exact error message text is absolutely necessary to
understand the issue.

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html