micasense / imageprocessing

MicaSense RedEdge and Altum image processing tutorials
https://www.micasense.com
MIT License
262 stars 152 forks source link

Fix RP 06 panel detection #158

Closed fdarvas closed 3 years ago

fdarvas commented 3 years ago

This modification uses the physical location of the reflectance panel from the actual drawings vs. approximate pixel coordinates - the inner 50% of the panel area is used for all subsequent calculations.

This change has been implemented for all panel versions.

Changed the transform to a homography.

Added 5 new panel images of the RP06 panel to the unit tests and two new unit tests, which test for correct identification of the panel and the correct raw values, i.e. mean, std, number of pixels and saturated. Also changed the unit tests to work with the RP<6 panels with the new methods.