c++ - how to fill color into image, by considering small matrix size 3*3 or 6*6? in opencv -
Considering the small matrix of 3 * 3, how can I fill the necessary picture color of type, But the correct answer could not be found to apply, I hope thanks in advance, or people can help better, otherwise if possible, upload some links.
What type of VAT can I fill the required image?
If you want to change the value of
mat image, you can do it as follows:
grayscale (
8UC1 ):
uchar intensity = Img.at & lt; Uchar & gt; (Y, x) = value_you_want_to_fill;
Color image (the default format given by
BGR color sequence,
imread ):
img.at
Comments
Post a Comment