2016-08-25 2 views

Antwort

0

vielleicht ist das zu spät, aber ich hatte das gleiche Problem und es war, weil mein "src" 3 Kanäle hatte und mein "dst" 4 Kanäle hatte.

Ich schrieb dies:

Imgproc.cvtColor(src, auxiliar, Imgproc.COLOR_RGB2RGBA); 
auxiliar.copyTo(dst, mask); 
Verwandte Themen