(no subject)

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

(no subject)

Kashif Zeeshan
Hi Experts,

I need your help again please. I want to make a macro where I want to run
threshold color plugin with RGB and the lower value of blue set to 135. How
can I do this? Can you kindly help me in this regard?

Cordially

Kashif ZEESHAN
(00 33 6 74 90 18 10)
Doctorant, Biopesticide Group,
Laboratoire Universitaire de
Biodiversité et d'Ecologie
Microbienne (LUBEM),
6 Rue de l'Université,
29334, Quimper Cedex,
France
Reply | Threaded
Open this post in threaded view
|

(no subject)

David Randell
On Wednesday 18 June 2008 08:48:19 Kashif Zeeshan wrote:
> Hi Experts,
>
> I need your help again please. I want to make a macro where I want to run
> threshold color plugin with RGB and the lower value of blue set to 135. How
> can I do this? Can you kindly help me in this regard?

Use the ImageJ Plugins->Macro->Record function. This will open a window where
the code for the macro will be eventually written. Select the colour
threshold plugin. Select the RGB colour space option, and set the parameters
required via the slider bars. If you want the image thresholded, there is a
check box option for this. Then when done, hit the "Macro" button and it will
write a code stub to the Window used to record the macro. Save the macro.

Regards,
Dave Randell
Reply | Threaded
Open this post in threaded view
|

Re: Threshold Color in Macro?

Kashif Zeeshan
Hi,

Thanks for your reply. I already tried it but its not working. The recorder
generate only this command [run("Colour based Thresholding");] and nothing
else.

Cordially.

Kashif ZEESHAN
(00 33 6 74 90 18 10)
Doctorant, Biopesticide Group,
Laboratoire Universitaire de
Biodiversité et d'Ecologie
Microbienne (LUBEM),
6 Rue de l'Université,
29334, Quimper Cedex,
France
-----Message d'origine-----
De : ImageJ Interest Group [mailto:[hidden email]] De la part de David
Randell
Envoyé : mercredi 18 juin 2008 10:14
À : [hidden email]
Objet :

On Wednesday 18 June 2008 08:48:19 Kashif Zeeshan wrote:
> Hi Experts,
>
> I need your help again please. I want to make a macro where I want to run
> threshold color plugin with RGB and the lower value of blue set to 135.
How
> can I do this? Can you kindly help me in this regard?

Use the ImageJ Plugins->Macro->Record function. This will open a window
where
the code for the macro will be eventually written. Select the colour
threshold plugin. Select the RGB colour space option, and set the parameters

required via the slider bars. If you want the image thresholded, there is a
check box option for this. Then when done, hit the "Macro" button and it
will
write a code stub to the Window used to record the macro. Save the macro.

Regards,
Dave Randell