 | IReconstructionUseCurrentHoloAsRef Method |
Namespace: LynceeTec.InterfacesAssembly: LynceeTec.Interfaces (in LynceeTec.Interfaces.dll) Version: 10.2.3317.0 , built 2025-03-17 14:03:43 UTC
Syntaxvoid UseCurrentHoloAsRef(
bool autoFilt,
int autoFiltRadius,
bool amplDiv,
int nAvg
)
void UseCurrentHoloAsRef(
bool autoFilt,
int autoFiltRadius,
bool amplDiv,
int nAvg
)
Parameters
- autoFilt Boolean
- If set to false, will use Fourier filtering on the reference hologram in a circle centered on the central
frequency of radius autoFiltRadius. If set to true, the reference hologram will be filtered with the current
Fourier filtering.
- autoFiltRadius Int32
- Radius of the circular Fourier filter centered around the central frequency, in [pix]. autoFilt
must be set to true.
- amplDiv Boolean
- If set to true, enables the normalization for each pixel of the reconstructed intensity images with the intensity
of each corresponding pixel of the reference hologram
- nAvg Int32
- Number of holograms which are averaged to produce the reference hologram. Must be equal or greater to one.
Example
This example shows how to set a single hologram as reference hologram (no averaging)
reconstruction.SetHoloRHListSize(1);
reconstruction.CopyHoloToRH(0);
reconstruction.UseCurrentHoloAsRef(useAutoFilterForRefHolo, autoFilterRadiusForRefHolo, useAmplitudeDivisionForRefHolo, numberOfAveragedImagesForRefHolo);
See Also