@XmlElement(value="ContrastEnchancement:type") public final class ContrastMethod extends CodeList<ContrastMethod>
In the case of a color image, the relative grayscale brightness of a pixel color is used. “Normalize” means to stretch the contrast so that the dimmest color is stretched to black and the brightest color is stretched to white, with all colors in between stretched out linearly. “Histogram” means to stretch the contrast based on a histogram of how many colors are at each brightness level on input, with the goal of producing equal number of pixels in the image at each brightness level on output. This has the effect of revealing many subtle ground features.
Modifier and Type | Field and Description |
---|---|
static ContrastMethod |
EXPONENTIAL |
static ContrastMethod |
HISTOGRAM
Histogram enchancement.
|
static ContrastMethod |
LOGARITHMIC |
static ContrastMethod |
NONE
No enchancement. this is the default value.
|
static ContrastMethod |
NORMALIZE
Normalize enchancement.
|
Modifier and Type | Method and Description |
---|---|
ContrastMethod[] |
family()
Returns the list of enumerations of the same kind than this enum.
|
static ContrastMethod |
valueOf(String code)
Returns the contrast type that matches the given string, or returns a new one if none match
it.
|
static ContrastMethod[] |
values()
Returns the list of
ContrastType s. |
compareTo, equals, identifier, matches, name, ordinal, readResolve, toString, valueOf
@XmlElement(value="Normalize") public static final ContrastMethod NORMALIZE
@XmlElement(value="Histogram") public static final ContrastMethod HISTOGRAM
@XmlElement(value="Logarithmic") public static final ContrastMethod LOGARITHMIC
@XmlElement(value="Exponential") public static final ContrastMethod EXPONENTIAL
public static final ContrastMethod NONE
public static ContrastMethod[] values()
ContrastType
s.public ContrastMethod[] family()
family
in class CodeList<ContrastMethod>
public static ContrastMethod valueOf(String code)
code
- The name of the code to fetch or to create.Copyright © 1996–2019 Geotools. All rights reserved.