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

Home » Public Forums » archive » Pixel Editing and Resizing
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: Pixel Editing and Resizing [message #63748 is a reply to message #63636] Mon, 17 November 2008 08:46 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
Elkunn wrote:
> On Nov 17, 9:59�am, Paolo <pgri...@gmail.com> wrote:
>> Elkunn wrote:
>>> Hello Everyone,
>>> I have two questions, may be very simple. Forgive me, I am not good at
>>> IDL programming.
>>> 1. How to resize pixel size. Just like with Envi--Basic Tools --Resize
>>> Data -- Change the output Pixel Size. not enlarge image. How can I do
>>> it by IDL?
>>
>> Pixel size of what?
>>
>> Paolo
>>
>>
>>
>>
>>
>>> 2. If a pixel is cloudy, �I need to search for other 4 pixels around
>>> it, and then get the mean of clear ones if there is any, then replace
>>> the all 5 pixels with the mean one.
>>
>>> Thanks for your help- Hide quoted text -
>>
>> - Show quoted text -
>
> Resize the pixel size from 1 km to 5 km.

First you'll have to decide what to do with your 25 pixel values...
Average? resampling?
Check out CONGRID and REBIN.

Cheers,
Paolo





>
> Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Returning up the stack after error
Next Topic: Re: using map_set with postscript device

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

Current Time: Sat Oct 25 11:18:00 PDT 2025

Total time taken to generate the page: 3.04002 seconds