question on where to find codes

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

question on where to find codes

Chris Clarin
hello, i'm having a hard time where to find the codes for making an 8 bit
image binary and the one for process->noise-> despeckle. can anyone help me
on where i can get the codes for these commands? thank you very much. any
help would be greatly appreciated.

chris


-------------------------------------------------------------------
Christine T. Clarin
UP Department of Computer Science
Work/Fax: (02) 925-2366
Mobile: (+63917) 482-3606
Email: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: question on where to find codes

Josh Doe-2
I assume you mean you're trying to find the exact Java code that these
commands run.

For any command, go to Plugins>Utilities>List Commands. This will give
you a raw listing of all the commands available to ImageJ, including
the commands in menus.

Navigate to the one you want, like Despeckle, and you'll find that the
java code is contained in the class
ij.plugin.filter.RankFilters("despeckle"). This mean that when you
click Process>Noise>Despeckle, the run() method of the RankFilters
class is called, passing in the argument "despeckle". You can do the
same thing for the 8-bit image. You'll find that code is called by
ij.plugin.Converter.run("8-bit").

-Josh D
On 1/30/07, Chris Clarin <[hidden email]> wrote:

> hello, i'm having a hard time where to find the codes for making an 8 bit
> image binary and the one for process->noise-> despeckle. can anyone help me
> on where i can get the codes for these commands? thank you very much. any
> help would be greatly appreciated.
>
> chris
>
>
> -------------------------------------------------------------------
> Christine T. Clarin
> UP Department of Computer Science
> Work/Fax: (02) 925-2366
> Mobile: (+63917) 482-3606
> Email: [hidden email]
>
Reply | Threaded
Open this post in threaded view
|

Re: question on where to find codes

Chris Clarin
thank you very much! it was a very big help. =)

On 1/30/07, Josh D <[hidden email]> wrote:

>
> I assume you mean you're trying to find the exact Java code that these
> commands run.
>
> For any command, go to Plugins>Utilities>List Commands. This will give
> you a raw listing of all the commands available to ImageJ, including
> the commands in menus.
>
> Navigate to the one you want, like Despeckle, and you'll find that the
> java code is contained in the class
> ij.plugin.filter.RankFilters("despeckle"). This mean that when you
> click Process>Noise>Despeckle, the run() method of the RankFilters
> class is called, passing in the argument "despeckle". You can do the
> same thing for the 8-bit image. You'll find that code is called by
> ij.plugin.Converter.run("8-bit").
>
> -Josh D
> On 1/30/07, Chris Clarin <[hidden email]> wrote:
> > hello, i'm having a hard time where to find the codes for making an 8
> bit
> > image binary and the one for process->noise-> despeckle. can anyone help
> me
> > on where i can get the codes for these commands? thank you very much.
> any
> > help would be greatly appreciated.
> >
> > chris
> >
> >
> > -------------------------------------------------------------------
> > Christine T. Clarin
> > UP Department of Computer Science
> > Work/Fax: (02) 925-2366
> > Mobile: (+63917) 482-3606
> > Email: [hidden email]
> >
>



--
-------------------------------------------------------------------
Christine T. Clarin
UP Department of Computer Science
Work/Fax: (02) 925-2366
Mobile: (+63917) 482-3606
Email: [hidden email]