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

ensure int and float cols get treated separately #31

Closed gillins closed 2 years ago

gillins commented 2 years ago

as it appears the return type from getStatsVal() is always float due to the mix of types in that class.

Note: there could be an argument for having the counts and pixCount also being handled differently as they are uint32 rather than int32. But because they are written to (currently) int32 columns maybe we should store them as int32 to reduce the confusion...

gillins commented 2 years ago

Decided that the current behaviour wasn't doing any harm.