Defining ROI interactively

M.Schrijver at el.utwente.nl M.Schrijver at el.utwente.nl
Tue Mar 14 09:09:46 EST 2000


Hello Olivier,

you can try one of my first Tcl script (so, don't bother about
efficiency, style etc. please). Hope it helps .....

Marc 


 
ir. Marc Schrijver
Chair of Signals & Systems
Faculty of Electrical Engineering
University of Twente
The Netherlands

> ----------
> From: 	Olivier Coulon[SMTP:o.coulon at cs.ucl.ac.uk]
> Sent: 	Tuesday, March 14, 2000 11:06 AM
> To: 	vtk user list
> Subject: 	Defining ROI interactively
> 
> <<File: o.coulon.vcf>>
> Dear VTK users,
> 
> I have a small image display Tcl application that uses
> vtkTkImageViewerWidget. I want the user to be able to define a ROI in
> the image interactively, some kind of 'crop', by clicking one of the
> corner of the ROI and dragging to the other one. Has anybody done
> something like that ? In particular, I don't know how to do the 'drag'
> operation while displaying the contour of the ROI.
> 
> Any help would be appreciated, thanks in advance.
> 
> - Olivier
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SelectRoi.tcl
Type: application/octet-stream
Size: 2210 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20000314/971721dc/attachment-0001.obj>


More information about the vtkusers mailing list