在 OpenCV 中,我正在使用颜色空间 CIE Luv 中的 cv::Mat
,Mat 数据类型为 uint8。
我正在尝试找出每个 channel 的值范围。以下是正确的吗?
L can be any value from 0-255
U can be any value from 0-255
V can be any value from 0-255
我知道在 OpenCV 中 HSV Mats 可以是以下内容(注意色调不使用整个值范围)。所以我也想知道 CIE Luv 使用的是什么。
H can be any value from 0-180
S can be any value from 0-255
V can be any value from 0-255
最佳答案
对于 uint8
:
HSV:(0,0,0) ~ (180,255, 255)
LUV: (0,0,0) ~ (255, 255, 255)
以下摘自 https://docs.opencv.org/3.1.0/de/d25/imgproc_color_conversions.html
关于python - uint8 CIE Luv Mat 的取值范围是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54797795/