X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 31 Mar 2010 03:33 AM by  anon
No majority filter in IDL?
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
31 Mar 2010 03:33 AM
    Hello all, I have a small question concerning filtering operation. I have been looking throught the help of IDL as well as on the Internet but I can't find a function or solution to apply  a majority filter in IDL. In other words, I'm looking for a function that would be based on the same functioning principle as a smooth or median function but instead of giving the average or the meadian value to the central pixel of the boxcar, it would give the value of the most common value among the neighboring pixels. Does any of you know if such a function exist in IDL or have a solution to obtain the same result? Thank you for your help, Regards. Laure

    Deleted User



    New Member


    Posts:
    New Member


    --
    31 Mar 2010 05:47 PM
    Hi Laure, Well, IDL doesn't have a majory filter, though I noticed that ENVI (a software writen in IDL) does have a Majority/Minority analisis. Though, of course you will need to have ENVI to use it.  ENVI is an ITT VIS program that is focused on remote sensing and image analisis. Could you maybe write something to find for those majority pixels?, like using the HISTOGRAM function to discriminate majority values from the rest of the pixels? Regards, Fernando

    Deleted User



    New Member


    Posts:
    New Member


    --
    07 Apr 2010 02:10 AM
    Hello Fernando, Thank you for your answer. I will then call the ENVI function you mentioned in my script. Regards, Laure

    Deleted User



    New Member


    Posts:
    New Member


    --
    14 Apr 2010 03:05 PM
    Hi Laure, You are welcome. Hopefully using the ENVI function should work. Let us know otherwise. Cheers, Fernando
    You are not authorized to post a reply.