float gaborMR[] = new float[gabor_heightgabor_width];
Mat gaborMatR = new Mat(gabor_height, gabor_width, CvType.CV_32FC1);
gaborMatR.put(0,0,gaborMR);
Mat GdstlenaR = new Mat(src.rows(),src.cols(), CvType.CV_32FC1);
Imgproc.filter2D(grayMat, GdstlenaR, src.depth(), gaborMatR);
float gR[] = new float[src.rows()src.cols()];
GdstlenaR.get(0, 0,gR); // here, it tells me:Mat data type is not compatible: 0
Hi! I don't know why this happend. Could you offer me an solution? Thanks in advance!