nomacs / nomacs-plugins

3dparty plugins for nomacs
https://nomacs.org
41 stars 20 forks source link

asserted input to findHomography and adjusted SettingsDialog #16

Closed SerafinAT closed 7 years ago

SerafinAT commented 7 years ago

-) asserted the input to findHomography to avoid CV_ERRORS if the feature-vectors are size zero -) Asserted output of dpi to metadata (no values smaller than zero + MessageBox for the user telling him why something went wrong and what can be done to get proper results) -) Simplyfied SettingsDialog (i tried loading the .ui-file in code, but that seems to be problematic, because the Qt headers cannot be loaded). Vertical and horizonal layouts were easier than a gridlayout, especially since there is a 2-element-column (each label + corresponding inputelement) and a 3-element-column (the 3 buttons)