Login  Register

Re: Clear ROI

Posted by Cathy Sorbara on May 21, 2009; 2:52pm
URL: http://imagej.273.s1.nabble.com/Clear-ROI-tp3692455p3692458.html

I see  ... great :)

On Thu, May 21, 2009 at 3:52 PM, Juanjo Vega <[hidden email]> wrote:

> I found it!
>
> From: http://imagejdocu.tudor.lu/doku.php?id=gui:edit:selection
>
> run("Select None"); // Remove selected ROI
>
> Juanjo Vega escribió:
>
>> Maybe it's not a ROI but a selection, because it's not at the list until I
>> use the "Add" button.
>>
>> I only place the points over the image nad then I get their values with:
>>
>>      int xs[] = ((PointRoi) IJ.getImage().getRoi()).getXCoordinates();
>>      int ys[] = ((PointRoi) IJ.getImage().getRoi()).getYCoordinates();
>>
>> That's because I think I should remove a ROI. But the selections doesn't
>> appear ROI Manager's list.
>>
>> It's a bit weird...
>>
>> Cathy Sorbara escribió:
>>
>>> Hello,
>>>  Under Analyze --> Tools --> ROI Manager there is a "delete" option to
>>> remove ROIs from an image and it records all the ROIs you have made and you
>>> can rename them to keep them in order.
>>>  Hope that helps,
>>>  Cathy
>>>
>>> 2009/5/21 Juanjo Vega <[hidden email] <mailto:[hidden email]>>
>>>
>>>    Hi!
>>>
>>>    How can I reset the ROI from an image?
>>>
>>>    I want to remove whatever point or rectangle over the image.
>>>
>>>    I can't figure it out recording macros, I only can create new
>>>    ROIs, but there is no command to clear it.
>>>
>>>    Thanks!
>>>
>>>    Sincerelly,
>>>
>>>    Juanjo.
>>>
>>>    --     Juanjo Vega ([hidden email] <mailto:[hidden email]>)
>>>
>>>    Unidad de Biocomputación. Laboratorio B-13.
>>>    Centro Nacional de Biotecnología. CNB-CSIC.
>>>    C\ Darwin, 3. Campus de Cantoblanco.
>>>    Universidad Autónoma de Madrid.
>>>    28049, Madrid, Spain.
>>>
>>>    http://www.cnb.csic.es <http://www.cnb.csic.es/>
>>>    http://www.biocomp.cnb.uam.es <http://www.biocomp.cnb.uam.es/>
>>>
>>>    +34 91 585 4510
>>>
>>>
>>>    "Las mejores almas son capaces de los mayores vicios como de las
>>>    mayores virtudes, y aquellos que caminan despacio por el camino
>>>    recto pueden llegar más lejos que los que corren pero se apartan
>>>    de él." - Discurso del Método, René Descartes.
>>>
>>>
>>>
>>
> --
> Juanjo Vega ([hidden email])
>
> Unidad de Biocomputación. Laboratorio B-13.
> Centro Nacional de Biotecnología. CNB-CSIC.
> C\ Darwin, 3. Campus de Cantoblanco.
> Universidad Autónoma de Madrid.
> 28049, Madrid, Spain.
>
> http://www.cnb.csic.es
> http://www.biocomp.cnb.uam.es
>
> +34 91 585 4510
>
>
> "Las mejores almas son capaces de los mayores vicios como de las mayores
> virtudes, y aquellos que caminan despacio por el camino recto pueden llegar
> más lejos que los que corren pero se apartan de él." - Discurso del Método,
> René Descartes.
>