Click or drag to resize
XDL

NXPlanetLayerCompositesSetFilterType Method

필터 종류를 설정한다.
None, EDGE, BASSO, AVERAGE, MEDIAN, SHARPEN, GAUSSIAN_BLUR 중 하나를 설정할 수 있다.

Namespace:  Pixoneer.NXDL.NXPlanet
Assembly:  NXPlanet (in NXPlanet.dll) Version: 2.0.3.31
Syntax
C#
public void SetFilterType(
	eImageProcessingFilter type
)

Parameters

type
Type: Pixoneer.NXDL.NGReImageProcessingFilter
필터 종류.
Examples
아래의 예제는 AVERAGE 필터를 적용하는 것으로, 커널 크기는 7로 한다.
NXImageLayer nxImageLayer = new NXImageLayer();

// Initialize image layer and add View
// ...

nxImageLayer.SetFilterType(eImageProcessingFilter.AVERAGE);
nxImageLayer.SetFilterSize(7);        // AVERAGE, MEDIA, SHARPEN 필터에만 적용됨
nxImageLayer.EnableShaderAlgorithm(true);
nxImageLayer.Invalidate();
See Also