Click or drag to resize
XDL

XrsCalcStretchedHistogramByCut Method

이 정적함수는 XDMCompoiste 내에 존재하는 특정 Band에 대하여 경계값(cutmin, cutmax)를 설정하여 Stretched Histogram을 생성한다. Histogram Stretching에 대해서는 영상처리 전문서적을 참고한다.

Namespace:  Pixoneer.NXDL.NRS
Assembly:  NXDLrs (in NXDLrs.dll) Version: 1.2.817.72
Syntax
C#
public static bool CalcStretchedHistogramByCut(
	XDMComposite Comp,
	int Idx,
	double cutmin,
	double cutmax,
	out long[] HistStretch
)

Parameters

Comp
Type: Pixoneer.NXDL.NRSXDMComposite
[In] XDMComposite 객체.
Idx
Type: SystemInt32
[In] Composite 인덱스(0, 1, or 2(Blue, Green Red channel)).
cutmin
Type: SystemDouble
[In] Histogram stretching 적용을 위한 최소값.
cutmax
Type: SystemDouble
[In] Histogram stretching적용을 위한 최대값.
HistStretch
Type: SystemInt64
[Out] Stretched histogram

Return Value

Type: Boolean
성공이면 true, 실패하면 false
See Also