質問

Just like the title of this topic, how can I determine in OpenCV if a particular pixel of an image (either grayscale or color) is saturated (for instance, excessively bright)?

Thank you in advance.

役に立ちましたか?

解決

By definition, saturated pixels are those associated with an intensity (i.e. either the grayscale value or one of the color component) equal to 255. If you prefer, you can also use a threshold smaller than 255, such as 240 or any other value.

Unfortunately, using only the image, you cannot easily distinguish pixels which are much too bright from pixels which are just a little too bright.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top