List of usage examples for org.opencv.core Core idct
public static void idct(Mat src, Mat dst)
From source file:cx.uni.jk.mms.iaip.mat.CrossMatListener.java
License:Open Source License
/** * do the transfer from source to this.target, using DCT or IDCT * //from w w w. j a v a 2s .c o m * @param source */ private void transfer(MatModel source) { Mat matSource = source.getMat(); Mat matTarget = new Mat(matSource.size(), MatModel.MAT_TYPE); if (this.inverse) { Core.idct(matSource, matTarget); } else { Core.dct(matSource, matTarget); } this.target.setMat(matTarget); }