c++ - Adjusting contrast and brightness with OpenCV -


so trying increase both contrast , brightness opencv bit. doing:

mat image_copy; cvtcolor(image, image_copy, cv_bgra2bgr); image_copy.convertto(image, -1, 1.3, 0.15); 

image though looks strange. has blue tint. red , blue colours inverted. red jumper blue , blue can on table red.

why?

i trying achieve same effect when set contrast 30 , brightness 15 here:

http://camanjs.com/examples/


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -