|
|||||||||
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 pRasterDataset,
IWorkspace pWorkspace,
String name,
String format)
Converts a colormap raster dataset to a RGB raster dataset. |
IRaster |
createRGBRaster(IRasterDataset pRasterDataset)
Creates a RGB multiband raster from a colormap raster dataset. |
IName |
rGBRasterToColormap(IRaster pRaster,
IWorkspace pWorkspace,
String name,
String format)
Converts a RGB raster to a colormap raster dataset. |
IName |
rGBToColormap(IRasterDataset pRasterDataset,
IWorkspace pWorkspace,
String name,
String format)
Converts a RGB raster dataset to a colormap raster dataset. |
Method Detail |
---|
IName rGBToColormap(IRasterDataset pRasterDataset, IWorkspace pWorkspace, String name, 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.
pRasterDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)format
- The format (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IName rGBRasterToColormap(IRaster pRaster, IWorkspace pWorkspace, String name, 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.
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)format
- The format (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IName colormapToRGB(IRasterDataset pRasterDataset, IWorkspace pWorkspace, String name, 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.
pRasterDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (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 |