Paul D from Canada  [45 posts]
14 year
I am trying to do fine colour comparisons of items presented to a camera.
I am using the COLOUR_STATISTICS after thresholding to remove the background.

Using AVG_R, AVG_B, and AVG_G seem round down the value for their respective SUM function divided by the AREA. Is this by design?

Anonymous 14 year

Yes those number we being converted to an integer with the remainder thrown away. If you now download the latest version 2.13.4 they will contain the remainder since that is a valid part of the value. See if this version gets you a better result.


This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index