Search in sources :

Example 1 with MatOfByte

use of org.opencv.core.MatOfByte in project Relic_Main by TeamOverdrive.

the class Converters method vector_vector_char_to_Mat.

// vector_vector_char
public static Mat vector_vector_char_to_Mat(List<MatOfByte> lvb, List<Mat> mats) {
    Mat res;
    int lCount = (lvb != null) ? lvb.size() : 0;
    if (lCount > 0) {
        for (MatOfByte vb : lvb) mats.add(vb);
        res = vector_Mat_to_Mat(mats);
    } else {
        res = new Mat();
    }
    return res;
}
Also used : Mat(org.opencv.core.Mat) MatOfByte(org.opencv.core.MatOfByte) Point(org.opencv.core.Point) MatOfKeyPoint(org.opencv.core.MatOfKeyPoint) KeyPoint(org.opencv.core.KeyPoint) MatOfPoint(org.opencv.core.MatOfPoint)

Aggregations

KeyPoint (org.opencv.core.KeyPoint)1 Mat (org.opencv.core.Mat)1 MatOfByte (org.opencv.core.MatOfByte)1 MatOfKeyPoint (org.opencv.core.MatOfKeyPoint)1 MatOfPoint (org.opencv.core.MatOfPoint)1 Point (org.opencv.core.Point)1