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.InterfaceProcessing (in LynceeTec.InterfaceProcessing.dll) Version: 0.0.0.0
Syntax
public virtual void AddPhCorrSegment(
	int top,
	int left,
	int length,
	SegmentOrientation 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: LynceeTec.InterfacesSegmentOrientation
The orientation of the segment.
meth
Type: LynceeTec.ProcessingphaseFitMethod
The phase fitting method. Either [!:LynceeTec.Processing.phaseFitMethod.Tilt], [!:LynceeTec.Processing.phaseFitMethod.Polynomial] or [!:LynceeTec.Processing.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 [!:LynceeTec.Processing.phaseFitMethod.Tilt], the degree can only be 1. If the method is [!:LynceeTec.Processing.phaseFitMethod.Polynomial] or [!:LynceeTec.Processing.phaseFitMethod.PolynomialCT], the degree can be any positive non-zero integer.

Implements

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