I was using opencv 2.3 o my project two years ago with the cvSet2D, but i use the command with opencv 3.4 i receive the message undeclared identifier

some questions first:

so, you want to composite a YCrCb, and have the Y in matrice.

  • where do the other channels come from ?
  • youre confusing x <-> y, rows <-> cols here, that’s terrible … , but what about matrice again ?
    is it “row-mayor” ([y][x]) ?
    does it have continuous memory or “double pointers” ?