Oval Profile Plugin

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

Oval Profile Plugin

PedroJGouveia
Hello,

I have been trying to use the Oval Profile Plugin (http://rsb.info.nih.gov/ij/plugins/download/Oval_Profile.java) to do pixel summing in a FFT image.

However I haven´t been able to use the plugin at all. I found the following indication but it did not work:
"1. copy the oval_profile code text from the website.
 2. paste it in notepad
 3. save it as "oval_profile.java" in plugin directory.
 4. open your image in imageJ.
 5. make an oval selection.
 6. plugin>compile and run...
 7. select "overall_profile.java" in browse menu."

If someone could help me out with this situation it would be great.

Thank you for your time,

Pedro J. Gouveia
Reply | Threaded
Open this post in threaded view
|

Re: Oval Profile Plugin

Gabriel Landini
On Thursday 01 Mar 2012 12:43:34 PedroJGouveia wrote:
> I have been trying to use the Oval Profile Plugin
> (http://rsb.info.nih.gov/ij/plugins/download/Oval_Profile.java) to do pixel
> summing in a FFT image.
>
> However I haven´t been able to use the plugin at all. I found the following
> indication but it did not work:
> "1. copy the oval_profile code text from the website.
>  2. paste it in notepad
>  3. save it as "oval_profile.java" in plugin directory.

You need to respect the letter case of the class, in this instance it should
be: Oval_Profile.java

No need to paste it in notepad.
Just download it to the plugins folder, then

> plugin>compile and run...

It should run OK, then restart IJ, or go to Help>Update Menus and only then
you can:

> 7. select "overall_profile.java" in browse menu."

Cheers
Gabriel
Reply | Threaded
Open this post in threaded view
|

Re: Oval Profile Plugin

BenTupper
In reply to this post by PedroJGouveia
Hi,

On Mar 1, 2012, at 7:43 AM, PedroJGouveia wrote:

> Hello,
>
> I have been trying to use the Oval Profile Plugin
> (http://rsb.info.nih.gov/ij/plugins/download/Oval_Profile.java) to do pixel
> summing in a FFT image.
>
> However I haven´t been able to use the plugin at all. I found the following
> indication but it did not work:
> "1. copy the oval_profile code text from the website.
> 2. paste it in notepad
> 3. save it as "oval_profile.java" in plugin directory.
> 4. open your image in imageJ.
> 5. make an oval selection.
> 6. plugin>compile and run...
> 7. select "overall_profile.java" in browse menu."
>

You might try following the installation instructions from this page next...

http://rsb.info.nih.gov/ij/plugins/oval-profile.html

The compiler throws some warnings, but the plugin still works for me.  Here's a macro I used to test it.

run("AuPbSn 40 (56K)");
//setTool("oval");
makeOval(126, 113, 170, 261);
run("Oval Profile", "number=30 analysis=[Maximum Intensity] show");

Cheers,
Ben







> If someone could help me out with this situation it would be great.
>
> Thank you for your time,
>
> Pedro J. Gouveia
>
> --
> View this message in context: http://imagej.1557.n6.nabble.com/Oval-Profile-Plugin-tp4534912p4534912.html
> Sent from the ImageJ mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

RE: Oval Profile Plugin

PedroJGouveia
In reply to this post by Gabriel Landini
Thank you very much for the tips. I'll try it out and I hope it will work!

Pedro J. Gouveia



Date: Thu, 1 Mar 2012 05:24:16 -0800
From: [hidden email]
To: [hidden email]
Subject: Re: Oval Profile Plugin

On Thursday 01 Mar 2012 12:43:34 PedroJGouveia wrote:
> I have been trying to use the Oval Profile Plugin
> (http://rsb.info.nih.gov/ij/plugins/download/Oval_Profile.java) to do pixel
> summing in a FFT image.
>
> However I haven´t been able to use the plugin at all. I found the following
> indication but it did not work:
> "1. copy the oval_profile code text from the website.
>  2. paste it in notepad
>  3. save it as "oval_profile.java" in plugin directory.

You need to respect the letter case of the class, in this instance it should
be: Oval_Profile.java

No need to paste it in notepad.
Just download it to the plugins folder, then

> plugin>compile and run...

It should run OK, then restart IJ, or go to Help>Update Menus and only then
you can:

> 7. select "overall_profile.java" in browse menu."

Cheers
Gabriel



If you reply to this email, your message will be added to the discussion below:
http://imagej.1557.n6.nabble.com/Oval-Profile-Plugin-tp4534912p4535029.html
To unsubscribe from Oval Profile Plugin, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: Oval Profile Plugin

dscho
In reply to this post by PedroJGouveia
Hi,

On Thu, 1 Mar 2012, PedroJGouveia wrote:

> I have been trying to use the Oval Profile Plugin
> (http://rsb.info.nih.gov/ij/plugins/download/Oval_Profile.java) to do pixel
> summing in a FFT image.
>
> However I haven´t been able to use the plugin at all. I found the following
> indication but it did not work:
> "1. copy the oval_profile code text from the website.
>  2. paste it in notepad
>  3. save it as "oval_profile.java" in plugin directory.
>  4. open your image in imageJ.
>  5. make an oval selection.
>  6. plugin>compile and run...
>  7. select "overall_profile.java" in browse menu."
>
> If someone could help me out with this situation it would be great.
You might know about the Fiji distribution of ImageJ? It was designed
particularly with help such as you desire in mind.

With Fiji, you can open the script editor with File-New-Script, paste the
code, select Java in the Language menu, and Run the plugin.

No further steps required.

Ciao,
Johannes
Reply | Threaded
Open this post in threaded view
|

RE: Oval Profile Plugin

PedroJGouveia
I was able to run the plugin and so far so good!
Nevertheless I will also try Fiji.

Thanks again for the advices!

Pedro J. Gouveia