org.deegree.style.styling
Class RasterChannelSelection
java.lang.Object
org.deegree.style.styling.RasterChannelSelection
- All Implemented Interfaces:
- Copyable<RasterChannelSelection>
public class RasterChannelSelection
- extends Object
- implements Copyable<RasterChannelSelection>
ChannelSelection
TODO: move the evaluation code somewhere else
- Version:
- $Revision: 22327 $, $Date: 2010-02-02 09:32:51 +0100 (Tue, 02 Feb 2010) $
- Author:
- Andrei Aiordachioaie, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
channelContrastEnhancements
public HashMap<String,RasterStyling.ContrastEnhancement> channelContrastEnhancements
- Contrast Enhancements for all channels.
RasterChannelSelection
public RasterChannelSelection(String redChannel,
String greenChannel,
String blueChannel,
String grayChannel,
HashMap<String,RasterStyling.ContrastEnhancement> enhancements)
- Parameters:
redChannel
- greenChannel
- blueChannel
- grayChannel
- enhancements
-
copy
public RasterChannelSelection copy()
- Specified by:
copy
in interface Copyable<RasterChannelSelection>
- Returns:
- the copied object
evaluate
public int[] evaluate(BandType[] bands)
- Compute the indexes of selected channel for a particular raster (given its channels)
- Parameters:
bands
- array of information about each band
- Returns:
- index information for all bands
getMode
public RasterChannelSelection.ChannelSelectionMode getMode()
- Returns:
- the mode of selection
Copyright © 2011. All Rights Reserved.