0

I would like to understand how does the majority resampling technique works.

To be specific the documentation below states that the method will use a 4X4 filter and will populate the output with the maximum count of pixels found.

If it finds 8 cells of agricultural land cover and 8 cells of roads in the 4X4 filter window, what will be the output data set?

I did find a similar question, but the comment and answer are contradicting, and not sure if the output will remain the same or will change to NoData? How does majority algorithm works in ArcGIS

Any theory on this would be great, and if we have any supporting document that can explain this in a better way?

1 Answer 1

0

After in-depth testing, I can confirm that if the majority filter hits a situation where there is an equal division of classified cells found in the filter.

As an output, there will be no change observed and the resampled output will be similar to the input grid.

The workflow followed to test this out is shared below:

The original study grid(4X4)

enter image description here

Unsupervised Classification

enter image description here

Clipped output to the AOI(Showing equal division of 2 classes)

enter image description here

Final result(No change)

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.