comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Most Important and urgent_clipping out a portion of image
items: Re: Most Important and urgent_clipping out a portion of image

Most Important and urgent_clipping out a portion of image
type: item
description: Hello everyone, i am working on a cloud masking code. My task is to remove a portion of image(color table), apply and run the entire code and finally reinsert it back in the image. Please help me in doing this.I have been facing this problem severely and unable to resolve it. Please kindly help me out in resolving this problem. Note : Image dimensions - 512 * 512 the part which has to be removed initially and inserted finally has coordinates : x axis-70 to 230, y axis-420 to 460 Thanks in advance -Kumar
creator: Kumar
date: 2013-07-09T20:37:24-00:00

Re: Most Important and urgent_clipping out a portion of image
type: item
description: 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.
creator: Phillip Bitzer
date: 2013-07-09T21:14:02-00:00