MoritzWillig / pysnic

Python implementation of the SNIC superpixels algorithm
MIT License
54 stars 5 forks source link

Logging function call missing on 100% #4

Closed MoritzWillig closed 3 years ago

MoritzWillig commented 3 years ago

So I was able to run something recently with a 14-band image, numsegments = 300 and compactness = 0.01

However, the SNIC doesn't seem to run till 100%

processed 98.28%
processed 98.81%
processed 99.34%
processed 99.87%

What could be a reason? Also, in my final image, I'm not getting many closed polygons. What could be a possible fix here. This doesn't happen for simple rgb png file

Originally posted by @purijs in https://github.com/MoritzWillig/pysnic/issues/3#issuecomment-669759537