摘要:
1)将原始彩色图像从红、绿、蓝RGB空间转换到色调、饱和度、亮度HSV空间; 2)保持色调H分量不变,对亮度V采用均值和标准差方式进行局部增强,根据饱和度S和亮度V的关系,对饱和度S进行变化; 3)将经过处理后的图像从HSV空间转换到RGB空间。或者不同颜色空间的彩色图像的分量有所不同,如RGB图像的分量是R、G、B,代表红绿蓝三种颜色分量;HSI图像的分量是H、S、I,代表色调、饱和度和亮度三种分量。对彩色图像的分量进行增强,当然不仅仅是对亮度进行增强,还可以对色调进行平衡,或对饱和度进行增强等 阅读全文
摘要:
Although you've already learned about basic functions in c++, there is more: the inline function. Inline functions are not always important, but it is good to understand them. The basic idea is to save time at a cost in space. Inline functions are a lot like a placeholder. Once you define an inl 阅读全文