 | SingleWavelengthReconstructionUseCurrentHoloAsRef Method |
Namespace: LynceeTec.Processing.HolographyAssembly: LynceeTec.InterfaceProcessing (in LynceeTec.InterfaceProcessing.dll) Version: 0.0.0.0
Syntaxpublic virtual void UseCurrentHoloAsRef(
bool autoFilt,
int autoFiltRadius,
bool amplDiv,
int nAvg
)
public:
virtual void UseCurrentHoloAsRef(
bool autoFilt,
int autoFiltRadius,
bool amplDiv,
int nAvg
)
Parameters
- autoFilt Boolean
- If set to true, will use Fourier filtering on the reference hologram in a circle centered on the central
frequency of radius autoFiltRadius. If set to false, 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.
Implements
IReconstructionUseCurrentHoloAsRef(Boolean, Int32, Boolean, Int32)
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