Click or drag to resize

LateralAverageAdd Method

Adds reconstructionResults to the input for this object.

Namespace: LynceeTec.API.Compositing
Assembly: LynceeTec.API.Compositing (in LynceeTec.API.Compositing.dll) Version: 10.2.3317.0 , built 2025-03-17 14:55:37 UTC
Syntax
public bool Add(
	ReconstructionResults reconstructionResults,
	float relativeXPixels,
	float relativeYPixels
)

Parameters

reconstructionResults  ReconstructionResults
An object containing reconstructed phase and intensity images to be added to this LateralAverage. It is safe to dispose of it once this method returns.
relativeXPixels  Single
Your initial guess of the x-displacement from this image to the template, in pixels.
relativeYPixels  Single
Your initial guess of the y-displacement from this image to the template, in pixels.

Return Value

Boolean
Whether the image was successfully aligned. If this returns false, the image was not added and this method had no effect.
Remarks
If the image is of a different size to the template, relativeXPixels and relativeYPixels should be measured from the center of the image.
See Also