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

Home » Public Forums » archive » Using defroi on a zoomed image
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Using defroi on a zoomed image [message #85820] Wed, 11 September 2013 19:47 Go to previous message
Daniel Otis is currently offline  Daniel Otis
Messages: 5
Registered: January 2012
Junior Member
I am trying to display and image using tvscl and then define an irregular roi using defroi. However, the image to be displayed is small and I want to zoom in on the image and then define the roi. Here is the code:


xsize=255
ysize=238
restore,'TB_bath.dat'; Contains variable TB_bath(255,238)
window,0,xsize=xsize,ysize=ysize
loadct,13
tvscl,TB_bath<(-3)>(-7)
zoom,xsize=xsize,ysize=ysize,/keep
x=defroi(xsize,ysize)


This does the zoom just fine, but then I need to exit out of the zoom window before I can define the roi. I want to define the roi on the zoomed image.

Any ideas are appreciated. Thanks,

Dan
[Message index]
 
Read Message
Read Message
Previous Topic: LABEL_REGION on large array --> segmentation fault, please HELP !!
Next Topic: pointer to function

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

Current Time: Wed Oct 08 18:56:07 PDT 2025

Total time taken to generate the page: 0.00392 seconds