mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-24 11:33:26 +08:00
minor changes
This commit is contained in:
@@ -31,7 +31,7 @@ namespace cv{
|
||||
|
||||
Mat hsv;
|
||||
img.convertTo(hsv,CV_32F,1.0/255.0);
|
||||
cvtColor(hsv,hsv,CV_BGR2HSV);
|
||||
cvtColor(hsv,hsv,COLOR_BGR2HSV);
|
||||
|
||||
HShist=Mat_<double>(nh,ns,0.0);
|
||||
Vhist=Mat_<double>(1,nv,0.0);
|
||||
|
||||
Reference in New Issue
Block a user