public class Tools
extends java.lang.Object
Constructor and Description |
---|
Tools() |
Modifier and Type | Method and Description |
---|---|
static int[] |
computeScaleAndPowerTwoSize(int nx,
int ny)
Determine the number of scale and the size of the image
for the wavelet-based methods.
|
static ImageWare |
crop(ImageWare in,
int nx,
int ny)
Crop to the original size.
|
static ImageWare |
extend(ImageWare in,
int mx,
int my)
Extends the image to [mx, my]
|
static ImageProcessor |
getImageProcessor(ImageWare iw) |
static boolean |
isPowerOf2(int n) |
static void |
waveletDenoising(ImageWare coeff,
double rateDenoising) |
public static int[] computeScaleAndPowerTwoSize(int nx, int ny)
public static ImageWare extend(ImageWare in, int mx, int my)
public static ImageWare crop(ImageWare in, int nx, int ny)
public static boolean isPowerOf2(int n)
public static ImageProcessor getImageProcessor(ImageWare iw)
public static void waveletDenoising(ImageWare coeff, double rateDenoising)