TransWikia.com

GEE, How to Remove Vertex Pixels

Geographic Information Systems Asked by user175279 on February 17, 2021

I made a classification mask of the layer and get the following figure:

a classification mask shown in white. red circles are vertex pixels

I got several vertex pixels. A vertex pixel is a pixel that attaches to a bigger group by just one vertex (shown in red circles).

Is there a way to remove these pixels? I have tried the connectedPixelCount method but it looks like it will group the entire thing into one instead of masking the vertex pixel.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP