> Hi Bill,
>
> try:
>
> imp.killRoi();
>
> mfg
> Max
>
> -----Urspr?ngliche Nachricht-----
> Von: ImageJ Interest Group [mailto:
[hidden email]]Im Auftrag von
> William O'Connell
> Gesendet: Samstag, 03. September 2005 02:15
> An:
[hidden email]
> Betreff: erase Roi
>
>
> Hi folks!
> What's the standard way to erase an ROI drawn on an image? I had been using:
> ip.resetRoi();
> imp.updateAndDraw();
> But this fails to erase the Roi sice I've updated to ImageJ 1.34s and Java 1.4.1
> I am now using the kludge below:
> void eraseRoi(){
> Roi r = null;
> try{imp.setRoi(r);}
> catch(Exception e){};
> imp.updateAndDraw();
> }
>
> thanks, Bill O'Connell
>
> ** Confidentiality Statement and Disclaimer **
> Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten
> haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht
> gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you are
> not the intended recipient (or have received this e-mail in error) please notify
> the sender immediately and destroy this e-mail. Any unauthorized copying,
> disclosure or distribution of the material in this e-mail is strictly forbidden.
> ** End of Statement **