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.6.0 6_6_dev_win7 eedf306, built 2018-03-20 10:08:02 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