nhoeche / imgprep

[imgprep] image preparation python script for my microscopy workflow
MIT License
0 stars 2 forks source link

Imprecise contour detection #7

Open dbxnr opened 7 years ago

dbxnr commented 7 years ago

The contour detection algorithm is very slightly imprecise, it's missing some rows/columns of border pixels making verification that it's a square a little awkward.

https://github.com/cripcate/imgprep/commit/ba528cd3d2e517e41a316a2ddacf9695b90c3dfa

dbxnr commented 7 years ago

Actually I'm not so sure about this now - perhaps the red border itself isn't a perfect square?