Claudius-Appel / duflor.gui

GUI frontent for `duflor`-package
https://claudius-appel.github.io/duflor.gui/
MIT License
0 stars 0 forks source link

bugfix: cropping the image, and then cropping the identifier will result in the identifier not being found #25

Closed Claudius-Appel closed 4 months ago

Claudius-Appel commented 4 months ago

This is likely because the pixel.array is subset at the beginning, so in the array the "location" of the identifier_dot changes relative to the true position in the uncropped image.

However, the cropping of the identifier-bounding rectangle is not adjusted for this, so it will effectively be moved to a differnt "location" within the subset image.

Additionally, the GUI must issue an error for every image wherein the pixel.count of the identifier is 0. Additionally, should the GUI issue info if the range of the identifier has a high variance? grafik