Click or drag to resize
XDL

XrsCalcStretchedHistogramByCut(XDMComposite, Int32, Double, Double, Boolean, UInt64) Method

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

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

Parameters

Comp  XDMComposite
[In] XDMComposite 객체.
Idx  Int32
[In] Composite 인덱스(0, 1, or 2(Blue, Green Red channel)).
cutmin  Double
[In] Histogram stretching 적용을 위한 최소값.
cutmax  Double
[In] Histogram stretching적용을 위한 최대값.
bCalc  Boolean
[In] Composite 의 Stretch Coverage 가 Visible 일 때 도시된 영역의 통계치 값을 재계산할 지 여부를 설정
HistStretch  UInt64
[Out] Stretched histogram

Return Value

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