title: opencv python transfer ((uchar*)(img->imageData img->widthStep*i))[j];
body: <p>I tried to transfer opencv c++ code to python.
  but i got no idea how to change this line below:</p>
  
  <p>((uchar*)(img->imageData + img->widthStep*i))[j];</p>
  
  <p>when i write it like this:
  (img.imageData + img.widthStep * i)[j]</p>
  
  <p>it occurs this Error message:
  'cv2.cv.iplimage' object has no attribute 'imageData'</p>