Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/351.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Imgproc.cvt颜色参数含义_Java_Opencv - Fatal编程技术网

Java Imgproc.cvt颜色参数含义

Java Imgproc.cvt颜色参数含义,java,opencv,Java,Opencv,以下函数中参数4的含义是什么 Imgproc.cvtColor(pointMatHsv, pointMatRgba, Imgproc.COLOR_HSV2RGB_FULL, 4); 4是目标映像中的通道数 如果参数为0,则通道数将自动从src和代码中导出 cvtColor Converts an image from one color space to another. 语法 cvtColor(Mat src, Mat dst, int code, int dstCn) 更多信息 4是目

以下函数中参数
4
的含义是什么

Imgproc.cvtColor(pointMatHsv, pointMatRgba, Imgproc.COLOR_HSV2RGB_FULL, 4);
4是目标映像中的通道数

如果参数为0,则通道数将自动从src和代码中导出

cvtColor Converts an image from one color space to another.
语法

cvtColor(Mat src, Mat dst, int code, int dstCn)
更多信息

4是目标映像中的通道数

如果参数为0,则通道数将自动从src和代码中导出

cvtColor Converts an image from one color space to another.
语法

cvtColor(Mat src, Mat dst, int code, int dstCn)
更多信息