importorg.opencv.core.Core;importorg.opencv.core.Mat;importorg.opencv.core.CvType;importorg.opencv.core.Scalar;classSimpleSample{static{System.loadLibrary(Core.NATIVE_LIBRARY_NAME);}publicstaticvoidmain(String[]args){System.out.println("Welcome to OpenCV "+Core.VERSION);Matm=newMat(5,10,CvType.CV_8UC1,newScalar(0));System.out.println("OpenCV Mat: "+m);Matmr1=m.row(1);mr1.setTo(newScalar(1));Matmc5=m.col(5);mc5.setTo(newScalar(5));System.out.println("OpenCV Mat data:\n"+m.dump());}}