Newbie question again - Marking region of interest [message #27584] |
Thu, 25 October 2001 15:15  |
idlfreak
Messages: 47 Registered: October 2001
|
Member |
|
|
hi,
There is a program available - drawline.pro which, aids in drawing
manual contours, but this program is written using Direct Graphics.
The code i've written to perform zooming, translation etc are in
Object Graphics.
I want to perform the operation of drawing contours in the same image
that's zoomed and translated. Is it possible for me to use the Object
graphics method to display the image and then use the direct graphics
method to draw contours on them.
It'd be of great help, if any of u could tell me, how to merge object
graphics and direct graphics. Is it possible???
Or if u could help me with a code in Object graphics using the
function "IDLgrROI" to mark the region of interst.
Any help is appreciated....
Regards,
Akhila.
|
|
|
Re: Newbie question again - Marking region of interest [message #27660 is a reply to message #27584] |
Mon, 29 October 2001 13:55  |
Pavel A. Romashkin
Messages: 531 Registered: November 2000
|
Senior Member |
|
|
You can find an example of OG ROI code at
http://spot.colorado.edu/~romashki/idl/display.html
However, my personal opinion is that you'd be better off combining the
ROI analyses using objects (not necesserily object graphics) and
contouring from Direct graphics. I could never make any sense out of
IDLgrContour :-(
Cheers,
Pavel
Akhila wrote:
>
> hi,
> There is a program available - drawline.pro which, aids in drawing
> manual contours, but this program is written using Direct Graphics.
> The code i've written to perform zooming, translation etc are in
> Object Graphics.
>
> I want to perform the operation of drawing contours in the same image
> that's zoomed and translated. Is it possible for me to use the Object
> graphics method to display the image and then use the direct graphics
> method to draw contours on them.
>
> It'd be of great help, if any of u could tell me, how to merge object
> graphics and direct graphics. Is it possible???
>
> Or if u could help me with a code in Object graphics using the
> function "IDLgrROI" to mark the region of interst.
>
> Any help is appreciated....
> Regards,
> Akhila.
|
|
|