How can I change a pixel value from a grayscaled image using Opencv 2.3?

Since a grayscale image contains only one component instead of 3, the resulting matrix/image is of type CV_8UC1 instead of CV_8UC3 . And this in turn means, that individual pixels are not 3-vectors of bytes ( cv::Vec3b ) but just single bytes ( unsigned char or OpenCV's uchar ). So you can just use.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions