 | IReconstructionExtractArbitraryPhaseProfile Method |
Extracts a profile in the phase image. Use
PhaseProfile to get the result.
Namespace:
LynceeTec.Interfaces
Assembly:
LynceeTec.Interfaces (in LynceeTec.Interfaces.dll) Version: 9.0.26418.0 , built 2021-10-22 08:45:14 UTC
Syntaxint ExtractArbitraryPhaseProfile(
int startx,
int starty,
int endx,
int endy,
int avgWidth,
bool unwrap,
bool toOpl,
bool scaleXY,
float umppX,
float umppY
)
int ExtractArbitraryPhaseProfile(
int startx,
int starty,
int endx,
int endy,
int avgWidth,
bool unwrap,
bool toOpl,
bool scaleXY,
float umppX,
float umppY
)
Parameters
- startx
- Type: SystemInt32
The X coordinate of the starting point. - starty
- Type: SystemInt32
The Y coordinate of the starting point. - endx
- Type: SystemInt32
The X coordinate of the ending point. - endy
- Type: SystemInt32
The Y coordinate of the ending point. - avgWidth
- Type: SystemInt32
The width of the profile in pixels, to average the measurement. - unwrap
- Type: SystemBoolean
If true, phase unwrapping is applied and nearest-neighbor interpolation is used. If false bilinear interpolation is used, without unwrapping. - toOpl
- Type: SystemBoolean
- scaleXY
- Type: SystemBoolean
If true, returns the X and Y data in [m], if false scale is in pixels. - umppX
- Type: SystemSingle
- umppY
- Type: SystemSingle
Return Value
Type:
Int32Negative value in case of an error, length of the profile otherwise.
See Also