mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
tegra::cvtRGB2HSV function was added
This commit is contained in:
parent
74882fe188
commit
29b9070698
@ -3353,6 +3353,10 @@ void cv::cvtColor( InputArray _src, OutputArray _dst, int code, int dcn )
|
||||
if( code == CV_BGR2HSV || code == CV_RGB2HSV ||
|
||||
code == CV_BGR2HSV_FULL || code == CV_RGB2HSV_FULL )
|
||||
{
|
||||
#ifdef HAVE_TEGRA_OPTIMIZATION
|
||||
if(tegra::cvtRGB2HSV(src, dst, bidx, hrange))
|
||||
break;
|
||||
#endif
|
||||
if( depth == CV_8U )
|
||||
CvtColorLoop(src, dst, RGB2HSV_b(scn, bidx, hrange));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user