|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectCodeList<ContrastMethod>
ContrastMethod
@XmlElement(value="ContrastEnchancement:type") public final class ContrastMethod
The ContrastEnhancement element defines contrast enhancement for a channel of a false-color image or for a color image. 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class CodeList |
|---|
CodeList.Filter |
| Field Summary | |
|---|---|
static ContrastMethod |
HISTOGRAM
Histogram enchancement. |
static ContrastMethod |
NONE
No enchancement. |
static ContrastMethod |
NORMALIZE
Normalize enchancement. |
| Method Summary | |
|---|---|
ContrastMethod[] |
family()
Returns the list of codes of the same kind than this code list element. |
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 ContrastTypes. |
| Methods inherited from class CodeList |
|---|
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@XmlElement(value="Normalize") public static final ContrastMethod NORMALIZE
@XmlElement(value="Histogram") public static final ContrastMethod HISTOGRAM
public static final ContrastMethod NONE
| Method Detail |
|---|
public static ContrastMethod[] values()
ContrastTypes.
public ContrastMethod[] family()
values(), except that
this method can be invoked on an instance of the parent CodeList class.
family in class CodeList<ContrastMethod>public static ContrastMethod valueOf(String code)
name().equals(code)
returns true. If no existing instance is found, then a new one is created for
the given name.
code - The name of the code to fetch or to create.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||