Click or drag to resize
SingleWavelengthReconstructionAddPhCorrSegment Method
Adds a new vertical or horizontal segment for the phase mask adjustement, then recomputes the fit. (Only for multi-segment phase correction method. The method needs at least one vertical and one horizontal segment). Call OnDpmChange(windowsList) to apply.

Namespace: LynceeTec.Processing.Holography
Assembly: LynceeTec.Processing (in LynceeTec.Processing.dll) Version: 6.5.0.18 6_5_dev bd821f0, built 2017-12-01 14:29:40 UTC
Syntax
public virtual void AddPhCorrSegment(
	int top,
	int left,
	int length,
	int orient,
	phaseFitMethod meth,
	int degree
)

Parameters

top
Type: SystemInt32
The Y coordinate of the starting point of the segment (top left point) in the phase ROI image.
left
Type: SystemInt32
The X coordinate of the starting point of the segment (top left point) in the phase ROI image.
length
Type: SystemInt32
The length of the segment.
orient
Type: SystemInt32
The orientation of the segment: 0 for horizontal, 1 for vertical.
meth
Type: LynceeTec.ProcessingphaseFitMethod
The phase fitting method. Either [!:phaseFitMethod.Tilt], [!:phaseFitMethod.Polynomial] or [!:phaseFitMethod.PolynomialCT]. Other phase fit methods are not valid.
degree
Type: SystemInt32
The degree of the polynomial used for the fit. It must correspond to the meth parameter: If the method is [!:phaseFitMethod.Tilt], the degree can only be 1. If the method is [!:phaseFitMethod.Polynomial] or [!:phaseFitMethod.PolynomialCT], the degree can be any positive non-zero integer.

Implements

IReconstructionAddPhCorrSegment(Int32, Int32, Int32, Int32, phaseFitMethod, Int32)
See Also