How to access image Data from a RGB image (3channel image) in opencv

前端 未结 5 807
予麋鹿
予麋鹿 2021-01-21 14:55

I am trying to take the imageData of image in this where w= width of image and h = height of image

for (int i = x; i < x+h; i++) //height of frame pixels
{
          


        
5条回答
  •  独厮守ぢ
    2021-01-21 15:19

    This post has source code that shows what you are trying to accomplish:

    Accessing negative pixel values OpenCV

提交回复
热议问题