Ask Your Question

Revision history [back]

OpenCV operates with RGBA (8-bit, 4 channel) images on Android platform by default. Most OpenCV algorithms are implemented for BGR (8-bit, 3-channel) matrices (see exception message). You need to convert RBGA image to BGR and run pyrMeanShiftFiltering on it.