在OpenCV中,我可以创建RGB的轨迹栏但我的问题是: 当在轨迹栏上更改RGB值时,如何更改图像的颜色?
There is a python example on how to do this on the OpenCV websites. You could do a very similar thing in C++ without too much difficulty
The python tutorial is here:
http://docs.opencv.org/trunk/doc/py_tutorials/py_gui/py_trackbar/py_trackbar.html
To do this in C++ replace the python commands with C++ alternatives. most of them you can find on this page here:
http://docs.opencv.org/modules/highgui/doc/user_interface.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.