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

Home » Public Forums » archive » Most Important and urgent_clipping out a portion of 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
Re: Most Important and urgent_clipping out a portion of image [message #85144 is a reply to message #85143] Tue, 09 July 2013 14:14 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
Not sure if I fully understand what you need, but how about this, assuming img is the image in question and is 512x512:

subImg = img[70:230, 420:460] ;extract the part of the image you're interested in

modImg = RunSomeCode(subImg) ;call a function that modifies the extract portion of the image

img[70:230, 420:460] = modImg ;put the modified portion back

This assumes your "apply and run the entire code" works on just the extracted portion of the image.
[Message index]
 
Read Message
Read Message
Previous Topic: CURVEFIT function
Next Topic: IDL beginner-MPFIT questions

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

Current Time: Wed Oct 08 19:29:47 PDT 2025

Total time taken to generate the page: 0.00449 seconds