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

Home » Public Forums » archive » Interactively crop an image with NG
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: Interactively crop an image with NG [message #86213 is a reply to message #86212] Thu, 17 October 2013 12:56 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian J. Daniel writes:

> I have a large image file. I use image() to visualize, zoom in, and write down the image coordinates to effectively crop my image in the code. This approach is a bit wonky, and I'd like to interactively crop my image, as this is just an initial processing component to my whole algorithm. Is there a straight forward way to add a crop button to the graphics window? Or, after the user zooms to the desired crop dimensions, hit a button and output the viewing dimensions?

I don't know anything about the image function, but it might take 10
minutes to add this functionality to cgZImage:

cgZImage, cgDemoData(7)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: 3D data on a color coded line plot!
Next Topic: NaN problem in integer arrays

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

Current Time: Wed Oct 08 17:54:36 PDT 2025

Total time taken to generate the page: 0.00421 seconds