List of usage examples for org.opencv.imgproc Imgproc pyrUp
public static void pyrUp(Mat src, Mat dst, Size dstsize)
From source file:org.lasarobotics.vision.image.Filter.java
License:Open Source License
/** * Upsample and blur an image (using a Gaussian pyramid kernel) * * @param img The image/*from w w w . j a v a2 s . co m*/ * @param scale The scale, a number greater than 1 */ public static void upsample(Mat img, double scale) { Imgproc.pyrUp(img, img, new Size((double) img.width() * scale, (double) img.height() * scale)); }