comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » cw_defroi vertices.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
cw_defroi vertices. [message #30365] Thu, 18 April 2002 09:34
dmh is currently offline  dmh
Messages: 3
Registered: March 2002
Junior Member
Hi All,

I have been using DEFROI to define a region of interest, and then
using xVerts and yVerts in the line that follows:

area=DEFROI(m,n,xVerts,yVerts)
ROI=OBJ_NEW('IDLanROI', xVerts, yVerts, type=2); type two
;is a closed polygon

I want to be able to use cw_defroi instead because I am updating a
draw widget.
Something like
area = cw_defroi(info.drawID)

Obviously xVerts and yVerts are no longer defined, and it seems that
the "area" array is the wrong dimensions to be used with the "data"
keyword in the initialization of "ROI" (above).

Does anyone know how I should input the vertices of the region of
interest when initializing "ROI"?

TIA
Dave Higgins
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Medial Axis/Ridge Detection
Next Topic: off-white background in IDL-generated bitmaps

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:59:08 PDT 2025

Total time taken to generate the page: 0.00506 seconds