This document is archived and information here might be outdated.  Recommended version.


ITransformationOp.Mosaic Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoAnalyst)  

ITransformationOp.Mosaic Method

Creates one raster from two or more adjacent rasters and makes a smooth transition over the overlapping areas of the neighboring rasters.

[Visual Basic .NET]
Public Function Mosaic ( _
    ByVal collectionOfRasters As IRasterBandCollection, _
    ByVal MosaicType As rstMosaicOperatorType _
) As IGeoDataset
[C#]
public IGeoDataset Mosaic (
    IRasterBandCollection collectionOfRasters,
    rstMosaicOperatorType MosaicType
);
[C++]
HRESULT Mosaic(
  IRasterBandCollection* collectionOfRasters,
  rstMosaicOperatorType MosaicType,
  IGeoDataset** outGeoDataset
);
[C++]

Parameters collectionOfRasters [in]
collectionOfRasters is a parameter of type IRasterBandCollection MosaicType [in]
MosaicType is a parameter of type rstMosaicOperatorType outGeoDataset [out, retval]
outGeoDataset is a parameter of type IGeoDataset

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

collectionOfRasters

input collection of Raster objects that support IRasterBandCollection interface

MosaicType

an enumeration type constant which specifies the method used to mosaic overlapping areas.

can be of type:
 
MT_FIRST - The output value will be determined by the order the inputs are entered, with the first raster specified as the top. This is the default.

MT_BLEND - The output value will be a blend of values of the overlapped cells.

MT_MEAN - The output value will be the mean value of the overlapped cells.

MT_MIN - The output value will be the minimum value of the overlapped cells.

MT_MAX - The output value will be the maximum value of the overlapped cells.

See Also

ITransformationOp Interface