获取影像数据集指定波段中指定行列处的像素值。

命名空间:  SuperMap.Data
程序集:  SuperMap.Data (in SuperMap.Data)
版本: dll

语法

C#
public double GetValue(
	int column,
	int row,
	int index
)

参数

column
Type: System..::.Int32
指定的列号,从 0 开始。
row
Type: System..::.Int32
指定的行号,从 0 开始。
index
Type: System..::.Int32
指定的波段索引号,从 0 开始。

返回值

影像数据集指定波段中指定行列处的像素值。对于PixelFormat为RGB和RGBA两种像素格式的影像数据,该方法的返回值为Color对象中的int值。

版本信息

SuperMap iObjects .NET


请参见