Click or drag to resize

IReconstructionAddPhCorrSegment 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.Interfaces
Assembly:  LynceeTec.Interfaces (in LynceeTec.Interfaces.dll) Version: 6.6.0 StroboPolarisationControl 6a11bc75, built 2018-03-20 10:06:53 UTC
Syntax
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 Tilt, Polynomial or 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 Tilt, the degree can only be 1. If the method is Polynomial or PolynomialCT, the degree can be any positive non-zero integer.
See Also