public class GGrayImageOps extends Object
GrayImageOps.| Constructor and Description |
|---|
GGrayImageOps() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImageSingleBand> |
brighten(T input,
double beta,
double max,
T output)
Brightens the image's intensity:
Ox,y = Ix,y + beta |
static <T extends ImageSingleBand> |
stretch(T input,
double gamma,
double beta,
double max,
T output)
Stretches the image's intensity:
Ox,y = Ix,y&gamma + beta |
public static <T extends ImageSingleBand> T stretch(T input, double gamma, double beta, double max, T output)
Stretches the image's intensity:
Ox,y = Ix,y&gamma + beta
The image's intensity is clamped at 0 and max;
input - Input image. Not modified.output - If not null, the output image. If null a new image is declared and returned. Modified.public static <T extends ImageSingleBand> T brighten(T input, double beta, double max, T output)
Brightens the image's intensity:
Ox,y = Ix,y + beta
The image's intensity is clamped at 0 and max;
input - Input image. Not modified.beta - How much the image is brightened by.output - If not null, the output image. If null a new image is declared and returned. Modified.Copyright © 2013. All Rights Reserved.