Hi, I would use the method countNonZero (InputArray src) on a ROI of my image; The ROI is not a rect, but it's defined by the points A, B, C, D like in the figure.
How can I use this method on this ROI?
1 | initial version |
Hi, I would use the method countNonZero (InputArray src) on a ROI of my image; The ROI is not a rect, but it's defined by the points A, B, C, D like in the figure.
How can I use this method on this ROI?
2 | No.2 Revision |
Hi, I would use the method countNonZero (InputArray src) on a ROI of my image; The ROI is not a rect, but it's defined by the points A, B, C, D like in the figure.
How can I use this method on this ROI?
3 | No.3 Revision |
Hi, I would use the method countNonZero (InputArray src) on a ROI of my image; The ROI is not a rect, but it's defined by the points A, B, C, D like the red zone in the figure.
How can I use this method on this ROI?