I have created a mask with the NIR band to separate earth from the sea.

How can I delete little spot area (errors) in the mask or change the pixel value of these spot areas ?


Sieve helps you get rid of some of the salt'n'pepper, usually up to 8 pixels. Keep in mind that this also simplifies your coastline.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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