Click or drag to resize

SingleWavelengthReconstructionExtractArbitraryPhaseProfile Method

Extracts a profile in the phase image. Use PhaseProfile to get the result.

Namespace:  LynceeTec.Processing.Holography
Assembly:  LynceeTec.InterfaceProcessing (in LynceeTec.InterfaceProcessing.dll) Version: 0.0.0.0
Syntax
public virtual 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
If true, the phase is converted to optical path length in [nm], if false it remains in [°].
scaleXY
Type: SystemBoolean
If true, returns the X and Y data in [m], if false scale is in pixels.
umppx
Type: SystemSingle
The real size in [m] corresponding to the width of a pixel in the image, in the X direction.
umppy
Type: SystemSingle
The real size in [m] corresponding to the width of a pixel in the image, in the Y direction.

Return Value

Type: Int32
Negative value in case of an error, length of the profile otherwise.

Implements

IReconstructionExtractArbitraryPhaseProfile(Int32, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Single, Single)
Exceptions
ExceptionCondition
ProcessingExceptionIf an error occurs during extraction
See Also