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

Home » Public Forums » archive » zoom at widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: zoom at widgets [message #92358 is a reply to message #92357] Sat, 28 November 2015 10:29 Go to previous messageGo to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
i did some changes. It's works

IF ((*pState).imageLoaded NE 0) THEN BEGIN
data=*(*pState).pImage
zoom_data=data[x-4:x+4,y-4:y+4]
help,zoom_data
WIDGET_CONTROL,(*pState).draw,GET_VALUE=id
WSET,id
zoom_data=REBIN(zoom_data,360,360,/SAMPLE)
WIDGET_CONTROL,(*pstate).zoom,GET_VALUE=id
WSET,id
TVSCL,zoom_data
ENDIF
ENDIF

but zoomed images still not like original. Zoomed image pixels are changing own intensivity. Why ?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem discovered in bandpass_filter.pro
Next Topic: ROI of 3D volumes (multiple 2D slices)

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

Current Time: Thu Oct 09 20:32:55 PDT 2025

Total time taken to generate the page: 0.32326 seconds