wand tool

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

wand tool

Jarek Grodek
hello
i'm wondering is there a chance to modify wand tool to use it like in a
photoshop for example. what i mean is there a possibility that user can
define the tolerance of this tool so different parts of image can be
selected with wand in dependence of tolerance's value?

greetings.

jarek
Reply | Threaded
Open this post in threaded view
|

Re: wand tool

Wayne Rasband
> i'm wondering is there a chance to modify wand tool to use it like in
> a photoshop for example. what i mean is there a possibility that user
> can define the tolerance of this tool so different parts of image can
> be selected with wand in dependence of tolerance's value?

You can do something like this now for grayscale images by using the
Image>Adjust>Threshold tool to define the boundaries that will be
traced by the wand tool.

-waybne
Reply | Threaded
Open this post in threaded view
|

Re: freehand line selection as object

Knecht, David
Is there a way to convert a freehand line selection to a draw object?  
We want to be able to draw to specify a position in one image and  
then indicate that area on another image in a different color.  Dave

Dr. David Knecht
Department of Molecular and Cell Biology
Co-head Flow Cytometry and Confocal Microscopy Facility
U-3125
91 N. Eagleville Rd.
University of Connecticut
Storrs, CT 06269
860-486-2200
860-486-4331 (fax)
Reply | Threaded
Open this post in threaded view
|

Re: freehand line selection as object

nielda
Hello Dave,

If I understood your question correctly, I would do this in the  
follwing way:
1. Draw the freehand selection
2. Edit -> Selection -> Add to Manager
3. Open another image
4. Double-cklick the ROI entry in the ROI Manager to reproduce the  
ROI in the new image
5. To change the color of the ROI:
Edit -> Options -> Colors -> Selection <change color>
6. Open the new image
5. To draw the ROI into the new image: In the ROI Manager say: More -
 > Draw

Was that what you meant?

Daniel

Am 12.03.2007 um 17:07 schrieb David Knecht:

> Is there a way to convert a freehand line selection to a draw  
> object? We want to be able to draw to specify a position in one  
> image and then indicate that area on another image in a different  
> color.  Dave
>
> Dr. David Knecht
> Department of Molecular and Cell Biology
> Co-head Flow Cytometry and Confocal Microscopy Facility
> U-3125
> 91 N. Eagleville Rd.
> University of Connecticut
> Storrs, CT 06269
> 860-486-2200
> 860-486-4331 (fax)
Reply | Threaded
Open this post in threaded view
|

Re: freehand line selection as object

Wayne Rasband
In reply to this post by Knecht, David
> Is there a way to convert a freehand line selection to a draw object?
> We want to be able to draw to specify a position in one image and then
> indicate that area on another image in a different color.  Dave

There are a couple of ways to do this. One is to switch to the other
image and type shift-e (Edit>Selection>Restore Selection) and then d
(Edit>Draw). The macro code to do this looks like this:

     selectWindow("target");
     run("Restore Selection");
     run("Draw");

The other way would be to add the selection to the ROI Manager by
pressing t (Edit>Selection>Add to Manager), switch to the other image
and select More>>Draw in the Roi Manager. The macro code looks like
this:

    roiManager("reset");
    roiManager("add");
    selectWindow("target");
    roiManager("Draw");

-wayne