 | 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.InterfacesAssembly: LynceeTec.Interfaces (in LynceeTec.Interfaces.dll) Version: 6.5.0.22 6_5_dev_win7 724a893, built 2017-12-08 14:08:47 UTC
Syntaxvoid AddPhCorrSegment(
int top,
int left,
int length,
int orient,
phaseFitMethod meth,
int degree
)
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