0
J'ai le code comme:Comment rejoindre 3 open cv IplImages en un?
IplImage* redchannel = cvCreateImage(cvGetSize(destination), 8, 1);
IplImage* greenchannel = cvCreateImage(cvGetSize(destination), 8, 1);
IplImage* bluechannel = cvCreateImage(cvGetSize(destination), 8, 1);
cvSplit(source, bluechannel, greenchannel, redchannel, NULL);
// code...
//now I need to join them back
Comment rejoindre bluechannel, greenchannel et redchannel de nouveau dans une IplImage * destination?
hm .. comment obtenir 4 images si j'en ai 3? – Rella
comment créer une telle cible? pourquoi IplImage * destination = cvCreateImage (cvSize (w, h), IPL_DEPTH_8U, 3); fonctionne incorrectement? – Rella
"fonctionne mal" est très peu spécifique, que voulez-vous dire par là? – bjoernz