|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRasterColormapToRGBConversion
Provides access to members that convert between colormap and RGB Raster.
IRasterColormapToRGBConversion provides access to methods that convert between a raster datset that has a colormap and a three-band raster dataset. The pOutWorkspace parameter can only be a raster workspace, which means that the output can only be a file-based raster dataset.
The ColormapToRGB method converts a raster dataset that has a colormap to a three-band raster dataset by mapping the color red, green and blue in the colormap table to the red, green and blue bands of the raster dataset.
The CreateRGBRaster method creates a Raster that contains three bands, which can be saved using ISaveAs.
The RGBToColormap method converts a three-band raster dataset to a colormap raster dataset.
The RGBRasterToColormap method takes a Raster as input and coverts to a raster dataset that contains a colormap.
| Method Summary | |
|---|---|
IName |
colormapToRGB(IRasterDataset pInRasterDataset,
IWorkspace pOutWorkspace,
String outName,
String format)
Convert a colormap raster dataset to an RGB raster dataset. |
IRaster |
createRGBRaster(IRasterDataset pRasterDataset)
Creates a RGB muitlband raster from a a colormap raster dataset. |
IName |
rGBRasterToColormap(IRaster pInRaster,
IWorkspace pOutWorkspace,
String outName,
String format)
Convert an RGB raster to a colormap raster dataset. |
IName |
rGBToColormap(IRasterDataset pInRasterDataset,
IWorkspace pOutWorkspace,
String outName,
String format)
Convert an RGB raster dataset to a colormap raster dataset. |
| Method Detail |
|---|
IName rGBToColormap(IRasterDataset pInRasterDataset,
IWorkspace pOutWorkspace,
String outName,
String format)
throws IOException,
AutomationException
The parameter pOutWorkspace can only be a raster workspace, which is a file based workspace.
The format string can be "IMAGINE Image", "TIFF", "GRID", or "BMP" only.
pInRasterDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)pOutWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)outName - The outName (in)format - The format (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IName rGBRasterToColormap(IRaster pInRaster,
IWorkspace pOutWorkspace,
String outName,
String format)
throws IOException,
AutomationException
The parameter pOutWorkspace can only be a raster workspace, which is a file based workspace.
The format string can be "IMAGINE Image", "TIFF", "GRID", or "BMP" only.
pInRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)pOutWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)outName - The outName (in)format - The format (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IName colormapToRGB(IRasterDataset pInRasterDataset,
IWorkspace pOutWorkspace,
String outName,
String format)
throws IOException,
AutomationException
The parameter pOutWorkspace can only be a raster workspace, which is a file based workspace.
The format string can be "IMAGINE Image", "TIFF", "GRID", or "BMP" only.
The parameter pOutWorkspace can only a raster workspace, which is a file based workspace.
pInRasterDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)pOutWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)outName - The outName (in)format - The format (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IRaster createRGBRaster(IRasterDataset pRasterDataset)
throws IOException,
AutomationException
pRasterDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||