【发布时间】:2021-09-03 05:07:57
【问题描述】:
我正在将几个图像从 rgb-colorspace 转换为 LAB-colorspace usign skimage.rgb2lab。 一般来说,这工作得很好,除了一些灰度图像,因为它们只包含 2 个颜色通道,因此 2 维数组和 rgb2lab 需要 3 维数组。
有没有办法将只有 2 个通道的灰度图像转换为 LAB 空间?
【问题讨论】:
标签: transform scikit-image grayscale lab-color-space