get NaN-Values from SimpleBlobDetector::findBlobs (Bug #2927)
Description
if the contours borders an empty area, the Moments (moms.m00) gets 0.0 and center gets infinite values. To fix this, I added a condition in line 243 and line 270 (see appendix). I think, it is ok to discart this defect values. Could anyone apply this in trunk?
Associated revisions
In response to Bug #2927
change to reject contours with moms.m00 = 0.0
Merge pull request #2927 from ilya-lavrenov:tapi_lut
History
Updated by Gurpinder Sandhu almost 12 years ago
I have sent a pull request for this
Updated by Andrey Kamaev almost 12 years ago
Fix is pushed to master
- Target version set to 3.0
- Status changed from Open to Done