HowTo split YCrCb into Y, Cr and Cb?
Hi,
I've created an Mat Object and split it into three channels:
vector<mat> bgr_planes;
split(frame, bgr_planes);
The content in the Mat frame is:
frame = {Cr0, Y0, Cb0, Y1, Cr2, Y3, Cb2, Y4, Cr4, Y5, Cr4, ...}
How can I separate the Y, Cb and Cr component? Is there a function?
Best regards, Michael
A loop over the image is the only way of retrieving individual pixels ...