X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 31 Jan 2013 02:55 PM by  anon
Reprojecting/resampling classification images
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
31 Jan 2013 02:55 PM
    ENVIers: When resizing or reprojecting classification rasters, many times I would prefer to take the most common class falling within the output pixel, not the nearest neighbor. Is there any trick to doing this with ENVI? Bilinear and cubic convolution are not appropriate with categorical data, which is why I ask. The only way I could think of would involve making a single image for each class filled with 0s (where the class is not) and 1s (where the class is), do the resample where the output is the % cover by that class, and then determine the max cover across all classes. This seems exceedingly complicated to do without batch-scripting it. Is there any other way? -j

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    01 Feb 2013 02:09 PM
    ENVI does not have a majority resampling method, which is what i think you are talking about. I believe ArcGIS does have a Majority resampling method that you could use if you have access to that software. Otherwise you would have to program this type of functionality in ENVI.
    You are not authorized to post a reply.