Thursday, May 26, 2011

opencv2.0: a bug in the function convertBGRImageToOpponentColorSpace

The O1 in the opponent color space should be red - green, but in the code, it shows:

int value = static_cast( static_cast(static_cast(*gIt)-static_cast(*rIt)) * factor );

which is wrong.

No comments: