mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Partially backport C API removal in imgproc module to reduce conflicts with 5.x
This commit is contained in:
@@ -2471,7 +2471,7 @@ cvThreshHist( CvHistogram* hist, double thresh )
|
||||
{
|
||||
CvMat mat;
|
||||
cvGetMat( hist->bins, &mat, 0, 1 );
|
||||
cvThreshold( &mat, &mat, thresh, 0, CV_THRESH_TOZERO );
|
||||
cvThreshold( &mat, &mat, thresh, 0, cv::THRESH_TOZERO );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user