ubarsc / pyshepseg

Python implementation of image segmentation algorithm of Shepherd et al (2019) Operational Large-Scale Segmentation of Imagery Based on Iterative Elimination. Remote Sensing 11(6).
https://www.pyshepseg.org
MIT License
10 stars 4 forks source link

add userFuncNumEdgePixels() as another built in userFunc #40

Closed gillins closed 1 year ago

gillins commented 1 year ago

Also another support function convertPtsInto2DMaskArray() which just creates a mask for a segment which is handy in this case as we can just total up number of pixels within a window.

The idea is that this might make it easier to find sliver segments (along with the total number of pixels from the histogram).