hi,

how can I fix this error ?

cvSplit(img, imgR, imgG, imgB, imgAlpha);

OpenCV ERROR: Bad argument (Either all output planes or only one output plane should be non zero)


thanks