Click or drag to resize

DualWavelengthReconstruction Class

Reconstruction object for simultaneous dual wavelength configuration
Inheritance Hierarchy
SystemObject
  LynceeTec.Processing.HolographySingleWavelengthReconstruction
    DualWavelengthReconstructionAlternate
      LynceeTec.Processing.HolographyDualWavelengthReconstruction

Namespace:  LynceeTec.Processing.Holography
Assembly:  LynceeTec.InterfaceProcessing (in LynceeTec.InterfaceProcessing.dll) Version: 0.0.0.0
Syntax
public class DualWavelengthReconstruction : DualWavelengthReconstructionAlternate

The DualWavelengthReconstruction type exposes the following members.

Constructors
  NameDescription
Public methodDualWavelengthReconstruction
Initializes a new instance of the DualWavelengthReconstruction class
Top
Properties
  NameDescription
Public propertyAmplDivRefHolo
Enables or disables the normalization for each pixel of the reconstructed intensity images with the intensity of each corresponding pixel of the reference hologram
(Inherited from SingleWavelengthReconstruction.)
Public propertyAmpProfile
Gets the last amplitude (intensity) profile extracted. See ExtractArbitraryIntensityProfile(Int32, Int32, Int32, Int32, Boolean, Single, Single).
(Inherited from SingleWavelengthReconstruction.)
Public propertyBpp (Overrides DualWavelengthReconstructionAlternate.Bpp.)
Public propertyCanRefresh (Inherited from SingleWavelengthReconstruction.)
Public propertydeltaN
Gets or sets the difference of refractive index (used for phase->height conversion).
(Inherited from SingleWavelengthReconstruction.)
Public propertyEffBpp
Gets or sets the number of useful bits per pixel. It might differ from Bpp.
(Inherited from SingleWavelengthReconstruction.)
Public propertyFinalPhaseImage (Inherited from SingleWavelengthReconstruction.)
Public propertyHasROI
Gets a value indicating whether a region of interest is defined.
(Inherited from SingleWavelengthReconstruction.)
Public propertyImageHeight
Gets the height of the current hologram image.
(Inherited from SingleWavelengthReconstruction.)
Public propertyImageWidth
Gets the width of the current hologram image.
(Inherited from SingleWavelengthReconstruction.)
Public propertyImgAmp
Gets a pointer to the processed amplitude (intensity) image.
(Inherited from SingleWavelengthReconstruction.)
Public propertyImgFFT
Gets a pointer to the processed amplitude image of the 2D Fourier transform.
(Inherited from SingleWavelengthReconstruction.)
Public propertyImgHolo
Gets a pointer to the raw hologram image (acquired from a camera).
(Inherited from SingleWavelengthReconstruction.)
Public propertyImgPhase
Gets a pointer to the processed phase image.
(Inherited from SingleWavelengthReconstruction.)
Public propertylambda
Gets or sets the wavelength.
(Inherited from SingleWavelengthReconstruction.)
Public propertyLockPhaseScale (Inherited from SingleWavelengthReconstruction.)
Public propertyMask (Inherited from SingleWavelengthReconstruction.)
Public propertyMaskArray (Inherited from SingleWavelengthReconstruction.)
Public propertyMaskVisibility
Gets or sets the mask visibility on the final image
(Inherited from SingleWavelengthReconstruction.)
Public propertyNonMeasuredAreasFillingRadius
Gets or sets the pixel radius for the non-measured areas filling feature.
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseColormap
Gets or sets the color map of the phase image.
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseCorrectionDegree (Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseMeanValue
Gets the mean value of the phase image (or its ROI). Call ComputePhaseStdDev first to compute it.
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseMonitor (Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseOffset
Gets or sets the offset of the phase mask.
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseProfile (Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseROIHeight
Gets the height of the region of interest on the phase and amplitude images. If no ROI is defined, returns the height of the image.
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseROILeft
Gets the offset of the region of interest from the left of the image. (X coordinate of the top left corner of the ROI).
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseROIStride
Gets the stride of the region of interest (distance in bytes between two lines of the image) for float amplitude or phase images. If no ROI is defined, returns the stride of the image. Stride is always a multiple of 4.
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseROITop
Gets the offset of the region of interest from the top of the image. (Y coordinate of the top left corner of the ROI).
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseROIWidth
Gets the width of the region of interest on the phase and amplitude images. If no ROI is defined, returns the width of the image.
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhaseStdDev
Gets the standard deviation of the phase image (or its ROI). Call ComputePhaseStdDev first to compute it.
(Inherited from SingleWavelengthReconstruction.)
Public propertyPhMax (Inherited from SingleWavelengthReconstruction.)
Public propertyPhMin (Inherited from SingleWavelengthReconstruction.)
Public propertyReconstructedPhase (Inherited from SingleWavelengthReconstruction.)
Public propertyRefHoloUse
Enables or disables the usage of a reference hologram for reconstruction
(Inherited from SingleWavelengthReconstruction.)
Public propertyResolutionDivider
Gets the resolution division value of the current hologram image.
(Inherited from SingleWavelengthReconstruction.)
Public propertyStepAmpPhase (Inherited from SingleWavelengthReconstruction.)
Public propertyStepFinalPhaseImage (Inherited from SingleWavelengthReconstruction.)
Public propertyStepReconstructedPhase (Inherited from SingleWavelengthReconstruction.)
Public propertyTemporalPhaseAverageFramesNumber
Gets of sets the number of frames to be averaged during the temporal averaging process.
(Inherited from SingleWavelengthReconstruction.)
Public propertyTransMicroscope
Gets or sets the type of the miscroscope.
(Inherited from SingleWavelengthReconstruction.)
Public propertyUnwrap2D
Toggles the 2D unwrapping.
(Inherited from SingleWavelengthReconstruction.)
Public propertyUnwrap2DMethod
Gets or sets the method for unwrapping in 2D.
(Inherited from SingleWavelengthReconstruction.)
Public propertyUnwrapPhaseMonitorZones (Inherited from SingleWavelengthReconstruction.)
Public propertyUseHalfResolution
Gets or sets the activation state of the half resolution feature.
(Inherited from SingleWavelengthReconstruction.)
Public propertyUseSpatialPhaseAverage
Gets or sets the activation state of the spatial phase averaging.
(Inherited from SingleWavelengthReconstruction.)
Public propertyUseTemporalPhaseAverage
Gets or sets the activation state of the temporal phase averaging. true adds the given holograms in the reconstruction object until TemporalPhaseAverageFramesNumber is reached. The last reconstructed phase is averaged.
(Inherited from SingleWavelengthReconstruction.)
Public propertyUseWavelengthFilter
Gets a value indicating whether a wavelength filter is enabled.
(Inherited from SingleWavelengthReconstruction.)
Top
Methods
  NameDescription
Public methodAddPhaseCorrectionSegment
Adds a new vertical or horizontal segment for the phase mask adjustment, then recomputes the fit. (Only for multi-segment phase correction method. The method needs at least one vertical and one horizontal segment). Call ComputePhaseMask to apply.
(Inherited from SingleWavelengthReconstruction.)
Public methodAddPhaseCorrectionZone
Adds a phase correction zone, either rectangular or an ellipse. Call ComputePhaseMask to apply.
(Inherited from SingleWavelengthReconstruction.)
Public methodAddPhaseMonitorZone (Inherited from SingleWavelengthReconstruction.)
Public methodAddPhaseOffsetAdjustmentZone
Adds a phase offset correction zone. (Valid only for the multi-zone phase offset method)
(Inherited from SingleWavelengthReconstruction.)
Public methodAutoComputePhaseMaskUsingSegments
Performs an automatic adjustment of phase parameters, including crossed-terms, using an iterative method.
(Inherited from SingleWavelengthReconstruction.)
Public methodAutoComputePhaseMaskUsingZones
Perform a 2D phase fit on a rectangular zone.
(Inherited from SingleWavelengthReconstruction.)
Public methodComputePhaseHistogram
Computes the histogram of the phase image (or of its ROI). Call getPhaseHistogram to get the result.
(Inherited from SingleWavelengthReconstruction.)
Public methodComputePhaseStdDev
Computes the mean value and standard deviation of the phase image (or its region of interest if one is defined). Use PhaseMeanValue and PhaseStdDev to read the result.
(Inherited from SingleWavelengthReconstruction.)
Public methodConfigureProcessing (Overrides DualWavelengthReconstructionAlternate.ConfigureProcessing(IHardwareConfiguration, IHolographicMeasurementConfig).)
Public methodCopyAmp32fToMemStream (Inherited from SingleWavelengthReconstruction.)
Public methodCopyAmpToMemStream (Inherited from SingleWavelengthReconstruction.)
Public methodCopyHoloToRH
Copies the current hologram known by the reconstruction to the array of holograms used as reference. Prefer a copy to array using GetAvgRHBufHolo(Int32) when using several avaraged holograms
(Inherited from SingleWavelengthReconstruction.)
Public methodCopyImg32fResult(Single, Int32, windowsList)
Copies the floating point image result of processing in a local buffer.
(Inherited from SingleWavelengthReconstruction.)
Public methodCopyImg32fResult(Single, Int32, windowsList, Boolean)
Copies the floating point image result of processing in a local buffer.
(Inherited from SingleWavelengthReconstruction.)
Public methodCopyImgResult
Copies the image result of processing in a local buffer.
(Inherited from SingleWavelengthReconstruction.)
Public methodCopyPhase32fToMemStream (Inherited from SingleWavelengthReconstruction.)
Public methodCopyPhaseToMemStream (Inherited from SingleWavelengthReconstruction.)
Public methodCreateStitching (Inherited from SingleWavelengthReconstruction.)
Public methodCutNewEllFourierRegion (Inherited from SingleWavelengthReconstruction.)
Public methodCutNewRectFourierRegion (Inherited from SingleWavelengthReconstruction.)
Public methodDispose (Inherited from SingleWavelengthReconstruction.)
Public methodDoAutoPhaseCorrectionNoCT (Inherited from SingleWavelengthReconstruction.)
Public methodDoMonitorPhaseZone (Inherited from SingleWavelengthReconstruction.)
Public methodDumpPhaseMonitor (Inherited from SingleWavelengthReconstruction.)
Public methodExtractArbitraryIntensityProfile
Extracts a profile in the intensity (amplitude) image. Use AmpProfile to get the result.
(Inherited from SingleWavelengthReconstruction.)
Public methodExtractProfile (Inherited from SingleWavelengthReconstruction.)
Public methodGetAmp32f (Inherited from SingleWavelengthReconstruction.)
Public methodGetAvgRHBufHolo
Gets a reference to the byte array to copy the reference hologram data when using several averaged holograms
(Inherited from SingleWavelengthReconstruction.)
Public methodCode exampleGetDistance
Gets or sets the reconstruction distance for one of the laser source, in [m]. The value must include the Objective-Source Correction. The new value will be used on the next processed image. To reprocess the last hologram, call OnDistanceChange(windowsList) after setting the value.
(Inherited from SingleWavelengthReconstruction.)
Public methodGetNumFourierFilters (Inherited from SingleWavelengthReconstruction.)
Public methodGetPhase32f (Inherited from SingleWavelengthReconstruction.)
Public methodGetPhaseCorrectionCoefficient (Inherited from SingleWavelengthReconstruction.)
Public methodgetPhaseHistogram (Inherited from SingleWavelengthReconstruction.)
Public methodGetPhaseValue (Inherited from SingleWavelengthReconstruction.)
Public methodInitProcessingChain (Overrides DualWavelengthReconstructionAlternate.InitProcessingChain(Int32, Int32, Int32, Double, Double, Double, Double, Double, Double, Double, Double, Int32, Int32, Double).)
Public methodLoadFourierRegion (Inherited from SingleWavelengthReconstruction.)
Public methodLoadPhaseOffsetAdjustmentZones (Inherited from SingleWavelengthReconstruction.)
Public methodOnDistanceChange
Recomputes the phase mask and redoes the Fresnel transform, then process the images defined in visMask. Call after changing the reconstruction distance (SetDistance(Int32, Double)).
(Inherited from SingleWavelengthReconstruction.)
Public methodOnNewImage(windowsList)
Signals that a new image is available in the memory pointed by ImgHolo, gives it to the processing chain and processes it.
(Overrides DualWavelengthReconstructionAlternate.OnNewImage(windowsList).)
Public methodOnNewImage(Hologram, windowsList)
Gives a new image to the processing chain and processes it
(Overrides DualWavelengthReconstructionAlternate.OnNewImage(Hologram, windowsList).)
Public methodParsePhaseOffsetAdjustmentZones (Inherited from SingleWavelengthReconstruction.)
Public methodPerformAutoFocus
Compute the focus position.
(Inherited from SingleWavelengthReconstruction.)
Public methodProcess
Reconstructs the image pointed by ImgHolo
(Inherited from SingleWavelengthReconstruction.)
Public methodReconstructFile (Inherited from SingleWavelengthReconstruction.)
Public methodReconstructSequence (Inherited from SingleWavelengthReconstruction.)
Public methodRedoFourierFilter (Inherited from SingleWavelengthReconstruction.)
Public methodRefreshFourier (Inherited from SingleWavelengthReconstruction.)
Public methodRefreshIntensityPhase (Inherited from SingleWavelengthReconstruction.)
Public methodRemoveLastFourierFilter (Inherited from SingleWavelengthReconstruction.)
Public methodResetFourierRegions (Inherited from SingleWavelengthReconstruction.)
Public methodResetPhaseCorrectionSegments
Removes all phase correction segments. Call AutoComputePhaseMaskUsingSegments(windowsList, phaseFitMethod, Int32, Boolean) to apply.
(Inherited from SingleWavelengthReconstruction.)
Public methodResetPhaseCorrectionZones
Removes all phase correction zones. Call AutoComputePhaseMaskUsingZones(windowsList, phaseFitPolyBase, Int32, Boolean) to apply.
(Inherited from SingleWavelengthReconstruction.)
Public methodResetPhaseMask (Inherited from SingleWavelengthReconstruction.)
Public methodResetPhaseMonitorZones (Inherited from SingleWavelengthReconstruction.)
Public methodResetPhaseOffsetAdjustmentZones (Inherited from SingleWavelengthReconstruction.)
Public methodResetTemporalPhaseAverage
Resets the temporal averaging count. The next reconstructed hologram will be the first of the next averaging process.
(Inherited from SingleWavelengthReconstruction.)
Public methodSaveFourierRegion (Inherited from SingleWavelengthReconstruction.)
Public methodSaveImage
Saves an image in TIFF format
(Overrides DualWavelengthReconstructionAlternate.SaveImage(windowsList, String, Colormaps, Boolean).)
Public methodSavePhaseOffsetAdjustmentZones (Inherited from SingleWavelengthReconstruction.)
Public methodCode exampleSetDistance
Sets the reconstruction distance for one of the laser source, in [m]. The value must include the Objective-Source Correction. The new value will be used on the next processed image. To reprocess the last hologram, call OnDistanceChange(windowsList) after setting the value.
(Inherited from SingleWavelengthReconstruction.)
Public methodSetHoloListSize (Overrides DualWavelengthReconstructionAlternate.SetHoloListSize(Int32).)
Public methodSetHoloRHListSize
Define the number of holograms which will be averaged to produce the reference hologram
(Overrides DualWavelengthReconstructionAlternate.SetHoloRHListSize(Int32).)
Public methodSetPhaseCorrectionCoefficient (Inherited from SingleWavelengthReconstruction.)
Public methodSetSpTilt (Inherited from SingleWavelengthReconstruction.)
Public methodSetWavelengthFilterParameters
Enables/Disables and configures a filter applied to the complex wavefront (it influences both the phase and the amplitude image).
(Inherited from SingleWavelengthReconstruction.)
Public methodSignalNewImage (Overrides SingleWavelengthReconstructionSignalNewImage.)
Public methodSignalNewImage(Int32) (Inherited from SingleWavelengthReconstruction.)
Public methodUndoPhaseCorrectionSegment
Removes the last phase correction segment added for a certain orientation, method and fitting degree, then recomputes the fit on the remaining segments. Call AutoComputePhaseMaskUsingSegments(windowsList, phaseFitMethod, Int32, Boolean) to apply.
(Inherited from SingleWavelengthReconstruction.)
Top
See Also