window size [message #58433] |
Fri, 01 February 2008 07:42 |
rpertaub@gmail.com
Messages: 43 Registered: January 2007
|
Member |
|
|
I am displaying an image made up of three channels:
final_image=lonarr(3,1050,1308)
final_Image[0,*,*] =bytscl(final_red)
final_Image[1,*,*] = bytscl(final_grn)
final_Image[2,*,*] = bytscl(final_blu)
window,6,title='Reconstructed RGB
image',xsize=final_image_size[1],ysize=final_image_size[2]
tv,final_image,true=1
cursor,x,y,/device
My problem is this: My image is quite big, and I do not see all of it
(the bottom goes below my screen). As you see, I want to have the
ability to use a cursor to pick a point on my image. However, since my
image is too big, I have a problem. I tried using rot and demagnify by
a factor of 0.5. However, that messes up my coordinates x,y cursor.
What is a better way to demagnify the image?
Thanks,
RP
|
|
|