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

Home » Public Forums » archive » How to determine the mask portion (or unwanted region) from an image and rotate for direction correction using IDL tools?
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: How to determine the mask portion (or unwanted region) from an image and rotate for direction correction using IDL tools? [message #86926 is a reply to message #86925] Fri, 13 December 2013 07:36 Go to previous messageGo to previous message
atmospheric physics is currently offline  atmospheric physics
Messages: 121
Registered: June 2010
Senior Member
I know that FOR loops can handle applying the task on multiple files one after the other. The sky image will have sky color, white or grey colored cloud patches, and the edges with dark/black color. I wanted to mask this edges and have only the circular disk as my picture. How can we mask a colored image? Can you suggest if you have any posts on masking color images???

Thanks and regards

On Friday, December 13, 2013 4:02:50 PM UTC+1, David Fanning wrote:
> Madhavan Bomidi writes:
>
>
>
>> I have a picture from sky imager which is direction corrected (i.e., N-S or E-W are not exactly top-bottom or right-left directions of the image!!!). The sky imager provides the hemispheric view of our sky and the image is framed in a circular disk. But there is some unwanted portion of the edges and the image is saved in as usual case of rectangular/ square type picture. I wanted to remove the unwanted portion (i.e., masking) and obtain only the circular portion of the
>
> image. Then basing on the solar position seen on the image, automatic rotation shall be applied to correct the image to the correct directions. I know how to do this manually for one single image ... but I have enumerable images. Can anyone suggest me if this is possible with IDL???
>
>
>
> As far as I know, this is the purpose of FOR loops. ;-)
>
>
>
> 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
Read Message
Read Message
Previous Topic: Problems with control the size of the lat-lon tick labels and the position of my colorbar
Next Topic: Exelis code library down - anybody has the GEST tool .sav file handy?

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

Current Time: Wed Oct 08 20:09:13 PDT 2025

Total time taken to generate the page: 0.46975 seconds