Subsections:
[Show/Hide]- Image restoration operations
- Correct Z-drift
- Unmixing channels (crosstalk correction)
- Iterative Constrained Tikhonov-Miller restoration
- Tikhonov-Miller restoration
- Quick Maximum Likelihood Estimation
- Classic Maximum Likelihood Estimation
- Good's roughness Maximum Likelihood Estimation
- Multi-GPU Quick Maximum Likelihood Estimation
- Multi-Gpu Classic Maximum Likelihood Estimation
- Multi-Gpu Good's roughness Maximum Likelihood Estimation
- Maximum Likelihood Estimation based restoration
- Generate PSF (explicit image parameters)
- Generate a microscopic PSF
- Reconstruct a PSF from an averaged bead image
- Automatic PSF reconstruction from an averaged bead image
- Adjust baseline
- Gaussian filter
- Small Sigma Gaussian filter
- Laplacian filter
- Kuwahara filter
- Maximum filter
- Minimum filter
- Percentile filter
- Median filter
- Averaging uniform filter
- Variance filter
- Sum filter
- PPU filter
- Generate a bandlimited sphere
- Average spheres
- Correct for motion in depth or over time
- Fast Fourier transform
- To/From optical representation
- Equalize flux in image
- Equalize sampling density to reference
- Noisify an image with Poisson noise
- Noisify an image with Gaussian noise
- CMLE, GMLE and QMLE report format
- Point Spread Function
- Brick mode
Image restoration operations
Correct Z-drift
source zdrift?-survey single | all (single)?.........Survey channels
?-chan value (0)?.........Reference channel
?-filter median | gauss | kuwahara (median)?.........Filter type
?-filterSize value (3)?.........Filter size
?-tclReturn?.........Output to Tcl
Returns: center positions per channel.
Unmixing channels (crosstalk correction)
image channelunmixing -> destination <matrix>
Returns: void
This command performs an unmixing of channels using the crosstalk coefficient matrix. This matrix is a n x n-matrix with n the number of channels in the source image. The source image must be at leat a 2-channel image.
The matrix is of the form: {{a0,0 a0,1 ...} {a1,0 a1,1 ...} ...}
The diagonal usually contains 1.0, the others values are the crosstalk correlation coefficients, which can be estimated using the Crosstalk Corrector, see more at http://www.svi.nl/CrosstalkCorrector. In short, ai,j denotes the crosstalk of the i-th channel into the j-th channel.
Iterative Constrained Tikhonov-Miller restoration
<original> ictm <PSF> -> destination?-it value (20)?.........Max. iterations
?-sn value (30)?.........Signal/Noise ratio
?-bg value (0.5)?.........Estimated background
?-q value (0.1)?.........Quality change threshold (%)
?-mode fast | highQ (fast)?.........Iteration mode
?-pad auto | parent | padpar | fullpadpar (auto)?.........Padding mode
?-centerPsf?.........Center PSF
?-nv?.........Silent
Returns: void.
Remarks:
The original image and the PSF image are both mandatory arguments.
When using -pad parent no padding is actually done.
When using -centerPsf the center of mass of the PSF is aligned with the center of the image. By leaving it off small PSFs shifts due to differences in chromatic aberration between the channels in multi-channel images can be corrected manually.
Tikhonov-Miller restoration
<original> tm <PSF> -> destination?-sn value (30)?.........Signal/Noise ratio
?-mode manual | lowest | object | wf (object)?.........Search for background:
?-bg value (0.5)?.........Estimated background
?-pad auto | parent | padpar (auto)?.........Padding mode
?-centerPsf?.........Center PSF
?-savemem?.........Reduce memory usage
Returns: estimated background.
Remarks:
The original image and the PSF image are both mandatory arguments.
The default of -bg is dynamically adjusted to the estimated background when -mode is not manual.
When using -pad parent no padding is actually done.
Quick Maximum Likelihood Estimation
<original> qmle <PSF> -> destination?-sn low | fair | good | inf (fair)?.........Signal/Noise ratio
?-itMode auto | manual (auto)?.........Iteration mode
?-it value (10)?.........Max. iterations
?-bgMode auto | manual | lowest | object | wf (auto)?.........Search for background
?-bgRadius value (0.7)?.........Size of the Gaussian filter used in bgMode 'wf', 'lowest' and 'object'.
?-bg channel-vector (0.0 0.0 0.0 0.0)?.........Backgr. per ch. (absolute or %)
?-blMode off | auto (auto)?.........Bleaching correction
?-brMode auto | one | few | normal | more | sliceBySlice (auto)?.........Brick mode
?-pad auto | parent | padpar | fullpadpar (auto)?.........Padding mode
?-varPsf off | auto | one | fewer | normal | more | manual (off)?.........PSFs per brick
Returns: see CMLE, GMLE and QMLE report format.
The original image and the PSF image are both mandatory arguments. If the PSF image is blank, a theoretical PSF will be calculated automatically based on the provided microscopic parameters. See Point Spread Function.
Classic Maximum Likelihood Estimation
<original> cmle <PSF> -> destination?-sn channel-vector (20 20 20 20)?.........Signal/Noise per channel
?-it value (40)?.........Max. iterations
?-bgMode auto | manual | lowest | object | wf (auto)?.........Search for background:
?-bgRadius value (0.7)?.........Size of the Gaussian filter used in bgMode 'wf', 'lowest' and 'object'.
?-bg channel-vector (0.0 0.0 0.0 0.0)?.........Backgr. per ch. (absolute or %)
?-blMode off | auto (auto)?.........Bleaching correction
?-brMode auto | one | few | normal | more | sliceBySlice (auto)?.........Brick mode
?-q value (0.1)?.........Quality change threshold (%)
?-mode fast | highQ (fast)?.........Iteration mode
?-pad auto | parent | padpar | fullpadpar (auto)?.........Padding mode
?-varPsf off | auto | one | fewer | normal | more | manual (off)?.........PSFs per brick
Returns: see CMLE, GMLE and QMLE report format.
The original image and the PSF image are both mandatory arguments. If the PSF image is blank, a theoretical PSF will be calculated automatically based on the provided microscopic parameters. See Point Spread Function.
Good's roughness Maximum Likelihood Estimation
<original> gmle <PSF> -> destination?-sn channel-vector (20 20 20 20)?.........Signal/Noise per channel
?-it value (10)?.........Max. iterations
?-bgMode auto | manual | lowest | object | wf (auto)?.........Search for background:
?-bg channel-vector (0.0 0.0 0.0 0.0)?.........Backgr. per ch. (absolute or %)
?-blMode off | auto (auto)?.........Bleaching correction
?-brMode auto | one | few | normal | more | sliceBySlice (auto)?.........Brick mode
?-q value (0.001)?.........Quality change threshold (%)
?-mode fast | highQ (fast)?.........Iteration mode
?-pad auto | parent | padpar | fullpadpar (auto)?.........Padding mode
?-varPsf off | auto | one | fewer | normal | more | manual (auto)?.........PSFs per brick
Returns: see CMLE, GMLE and QMLE report format.
The original image and the PSF image are both mandatory arguments. If the PSF image is blank, a theoretical PSF will be calculated automatically based on the provided microscopic parameters. See Point Spread Function.
Multi-GPU Quick Maximum Likelihood Estimation
<original> qmleMultiGpu <PSF> -> destination?-sn low | fair | good | inf (fair)?.........Signal/Noise ratio
?-itMode auto | manual (auto)?.........Iteration mode
?-it value (10)?.........Max. iterations
?-bgMode auto | manual | lowest | object | wf (auto)?.........Search for background
?-bgRadius value (0.7)?.........Size of the Gaussian filter used in bgMode 'wf', 'lowest' and 'object'.
?-bg channel-vector (0.0 0.0 0.0 0.0)?.........Backgr. per ch. (absolute or %)
?-blMode off | auto (auto)?.........Bleaching correction
?-brMode auto | one | few | normal | more | sliceBySlice (auto)?.........Brick mode
?-pad auto | parent | padpar | fullpadpar (auto)?.........Padding mode
?-varPsf off | auto | one | fewer | normal | more | manual (off)?.........PSFs per brick
Returns: see CMLE, GMLE and QMLE report format.
The original image and the PSF image are both mandatory arguments. If the PSF image is blank, a theoretical PSF will be calculated automatically based on the provided microscopic parameters. See Point Spread Function.
Multi-GPU deconvolution will run on multiple GPU cards simulaneously if the image and the circumstances are favorable to do that (multiple GPU cards enabled, the image is not too small, the image has multiple channels or multiple frames, sufficient system RAM available).
Multi-Gpu Classic Maximum Likelihood Estimation
<original> cmleMultiGpu <PSF> -> destination?-sn channel-vector (20 20 20 20)?.........Signal/Noise per channel
?-it value (40)?.........Max. iterations
?-bgMode auto | manual | lowest | object | wf (auto)?.........Search for background:
?-bgRadius value (0.7)?.........Size of the Gaussian filter used in bgMode 'wf', 'lowest' and 'object'.
?-bg channel-vector (0.0 0.0 0.0 0.0)?.........Backgr. per ch. (absolute or %)
?-blMode off | auto (auto)?.........Bleaching correction
?-brMode auto | one | few | normal | more | sliceBySlice (auto)?.........Brick mode
?-q value (0.1)?.........Quality change threshold (%)
?-mode fast | highQ (fast)?.........Iteration mode
?-pad auto | parent | padpar | fullpadpar (auto)?.........Padding mode
?-varPsf off | auto | one | fewer | normal | more | manual (off)?.........PSFs per brick
Returns: see CMLE, GMLE and QMLE report format.
The original image and the PSF image are both mandatory arguments. If the PSF image is blank, a theoretical PSF will be calculated automatically based on the provided microscopic parameters. See Point Spread Function.
Multi-GPU deconvolution will run on multiple GPU cards simulaneously if the image and the circumstances are favorable to do that (multiple GPU cards enabled, the image is not too small, the image has multiple channels or multiple frames, sufficient system RAM available).
Multi-Gpu Good's roughness Maximum Likelihood Estimation
<original> gmleMultiGpu <PSF> -> destination?-sn channel-vector (20 20 20 20)?.........Signal/Noise per channel
?-it value (10)?.........Max. iterations
?-bgMode auto | manual | lowest | object | wf (auto)?.........Search for background:
?-bg channel-vector (0.0 0.0 0.0 0.0)?.........Backgr. per ch. (absolute or %)
?-blMode off | auto (auto)?.........Bleaching correction
?-brMode auto | one | few | normal | more | sliceBySlice (auto)?.........Brick mode
?-q value (0.001)?.........Quality change threshold (%)
?-mode fast | highQ (fast)?.........Iteration mode
?-pad auto | parent | padpar | fullpadpar (auto)?.........Padding mode
?-varPsf off | auto | one | fewer | normal | more | manual (auto)?.........PSFs per brick
Returns: see CMLE, GMLE and QMLE report format.
The original image and the PSF image are both mandatory arguments. If the PSF image is blank, a theoretical PSF will be calculated automatically based on the provided microscopic parameters. See Point Spread Function.
Multi-GPU deconvolution will run on multiple GPU cards simulaneously if the image and the circumstances are favorable to do that (multiple GPU cards enabled, the image is not too small, the image has multiple channels or multiple frames, sufficient system RAM available).
Maximum Likelihood Estimation based restoration
<original> mle <PSF> -> destination?-it value (40)?.........Max. iterations
?-sn value (20)?.........Signal/Noise ratio
?-bg value (0.5)?.........Estimated background
?-q value (0.1)?.........Quality change threshold (%)
?-mode fast | highQ (fast)?.........Iteration mode
?-pad auto | parent | padpar | fullpadpar (auto)?.........Padding mode
?-centerPsf?.........Center PSF
?-nv?.........Silent
Returns: void.
The MLE restoration method is an obsolete form of the CMLE method that is kept in the Huygens Software for backward compatibility.
See remarks on Iterative Constrained Tikhonov-Miller restoration.
Generate PSF (explicit image parameters)
parent genpsfExpl -> destination?-micr confocal | widefield | nipkow | 4Pi (confocal)?.........Microscope type
?-na value (1.3)?.........Numerical aperture
?-objQuality poor | mediocre | fair | normal | good | perfect | manual (perfect)?.........Quality of objective
?-reflCorr?.........Reflection correction
?-zDist value (0.0)?.........Distance from coverslip (micron)
?-imagingDir upward | downward (upward)?.........Imaging direction
?-ri value (1.44)?.........Specimen refractive index
?-ril value (1.515)?.........Lens medium refractive index
?-ex value (488)?.........Excitation wavel. (nm)
?-em value (520)?.........Emission wavel. (nm)
?-pcnt value (1)?.........Excitation photons
?-pr value (250)?.........Pinhole radius (nm)
?-ps value (2.53)?.........Pinhole spacing (micr)
?-excBeamFill value (2.0)?.........Excitation beam overfill factor
?-dims auto | parent | padpar | fullpadpar | ideal | manual (auto)?.........Dimensions
?-dim IndexVector (256 256 100 0 1)?.........dimensions (man. mode)
?-dx value (50)?.........x-y sampling (nm)
?-dz value (167)?.........axial sampling (nm)
?-stedLambda value (676)?.........STED inhibition wavelength (nm)
?-stedSatFact value (30)?.........STED saturation factor
?-stedImmunity value (10)?.........Percentage of dye not getting depleted (%)
?-v?.........Verbose
When a depth inside the sample is specified with -zPos and there is a refractive index mismatch, the PSF is calculated with a correction for spherical aberration. The depth inside the sample is defined as the distance to the coverslip, with the coverslip at the bottom (low Z index) of the image.
In the case of a confocal or two-photon system -excBeamFill sets the overfill factor of the excitation laser beam on the (rear) exit pupil of the objective. At an overfill factor of 1.0 the intensity of the beam at the pupil edge is (1/e2 = 0.13) of the center intensity. Typically in confocal microscopes overfill factors of 2 are used, resulting in a relative edge intensity of 0.61.
Returns: void
Generate a microscopic PSF
parent genpsf -> destination?-dims auto | parent | padpar | fullpadpar | ideal | manual (auto)?.........Dimensions
?-xyslices value (100)?.........Min. XY-slices (Manual)
?-zPos value (0.0)?.........Z position (micron)
Returns: void.
When a depth inside the sample is specified with -zPos and there is a refractive index mismatch, the PSF is calculated with a correction for spherical aberration. The depth inside the sample is defined as the distance to the coverslip, with the coverslip at the bottom (low Z index) of the image.
In the case of a confocal or two-photon system -excBeamFill sets the overfill factor of the excitation laser beam on the (rear) exit pupil of the objective. At an overfill factor of 1.0 the intensity of the beam at the pupil edge is (1/e2 = 0.13) of the center intensity. Typically in confocal microscopes overfill factors of 2 are used, resulting in a relative edge intensity of 0.61.
Reconstruct a PSF from an averaged bead image
parent recpsf model -> destination?-dims auto | good | ideal | manual (auto)?.........Dimensions
?-dim IndexVector (256 256 100 0 1)?.........dimensions (man. mode)
?-it value (50)?.........Max iterations
?-sn value (40)?.........Estimated Signal/Noise ratio
?-bg value (0.5)?.........Estimated background
?-q value (0.1)?.........Quality change threshold (%)
Returns: void.
Remarks:
This command needs the output of the avgspheres command as input.
Automatic PSF reconstruction from an averaged bead image
parent recpsfEasy -> destination?-r value (0.115)?.........Bead radius (microns)
?-sn value (40)?.........Estimated Signal/Noise ratio
?-dims auto | good | ideal | manual (auto)?.........Dimensions
?-xyslices value (100)?.........XY-slices (man. mode)
Returns: void.
Remarks:
This command needs the output of the avgspheres command as input.
Adjust baseline
parent adjbl -> destination?-mode auto | manual (auto)?.........Input method
?-bl vector (0 0 0 0)?.........Baselines when using the manual mode.
?-ni?.........Ignore zero's
Returns: void.
Gaussian filter
parent gauss -> destination?-sigma vector (1 1 1 1)?.........Sigma
?-units mus | si | s | ou (mus)?.........Unit system
Returns: void.
Full FFT based 4D Gaussian filter. The units of sigma can be set to be microns-seconds, SI units, optical units or samples. Samples are image units, which can be pixels, voxels, etc..
Small Sigma Gaussian filter
parent qgauss -> destination?-sigma vector (.2 .2 .5 1)?.........Sigma
?-units mus | si | s | ou (mus)?.........Unit system
?-edge trunc | wrap (trunc)?.........Edge handling
?-maxWidth value (25)?.........Max kernel width
?-acc value (0.1)?.........Truncation accuracy
Returns: void.
Gaussian filter implemented in the spatial domain. The units of sigma can be set to be microns-seconds, SI units, optical units or samples.
Laplacian filter
parent laplace -> destination?-dim IndexVector (1 1 1
0 0)?.........Dimension selector
?-weight IndexVector (1 1 1 1)?.........Weighting factors
?-shape cross| cube | cube22 | gauss (cross)?.........Shape
?-sigma value (0.7)?.........Reference sigma for Gauss mode
Returns: void.
3 x 3 x 3 x 3 Laplacian filter.
The 'Dimension selector' -dim option controls over which dimension the Laplacian is applied. For example, setting the selector to '0 0 0 1' causes the Laplacian to be applied only over the T-dimension (if any) of the image; '1 1 1 0' selects a 3D Laplacian over a possibly 4D image.
Kuwahara filter
parent kuwahara -> destination?-width IndexVector (3 3 3 3 0)?.........Width per dimension
Returns: void.
Maximum filter
parent maxFilter -> destination?-width IndexVector (3 3 3 0 0)?.........Filter width
?-edge trunc | wrap (trunc)?.........Edge handling
Returns: void.
Minimum filter
parent minFilter -> destination?-width IndexVector (3 3 3 0 0)?.........Filter width
?-edge trunc | wrap (trunc)?.........Edge handling
Returns: void.
Replace the voxel value by the minimum over a window of size 'width' around the voxel
Percentile filter
parent percFilter -> destination?-width IndexVector (3 3 3 0 0)?.........Filter width
?-perc value (50)?.........Percentile
Returns: void.
Replaces the voxel value by the percentile over a window of size 'width' around the voxel. A percentile of 50 is equal to the median filter.
Median filter
parent median -> destination?-width IndexVector (3 3 3 0 0)?.........Filter width
Returns: void.
Replaces the voxel value by the median over a window of size 'width' around the voxel. Note that this filter is the same as the percFilter with a percentile of 50.
Averaging uniform filter
parent avgFilter -> destination?-width IndexVector (3 3 3 0 0)?.........Filter width
?-edge trunc | wrap (trunc)?.........Edge handling
Returns: void.
Replace the voxel value by the unweighted average over a window of size 'width' around the voxel
Variance filter
parent varianceFilter -> destination?-width IndexVector (3 3 3 0 0)?.........Filter width
?-edge trunc | wrap (trunc)?.........Edge handling
Returns: void.
Replace the voxel value by the variance in a window of size 'width' around the voxel
Sum filter
parent sumFilter -> destination?-width IndexVector (3 3 3 0 0)?.........Filter width
?-edge trunc | wrap (trunc)?.........Edge handling
?-compress off | log (off)?.........Compress
Returns: void.
Replace the voxel value by the sum of the neighbouring voxels.
PPU filter
parent ppuFilter -> destination?-width IndexVector (3 3 3 0 0)?.........Filter width
?-edge trunc | wrap (trunc)?.........Edge handling
Returns: void.
Replace the voxel value by the estimated 'photons per unit' (PPU) value as computed from regions of size 'width' around the voxel
Generate a bandlimited sphere
parent gensphere -> destination?-r value (0.115)?.........Radius (microns)
?-gtype solid | hollow (solid)?.........Geometry
?-dr value (0.050)?.........Shell thickness (microns)
Returns: void.
This method generates a so called bandlimited sphere, i.e. a geometrical sphere with no spatial frequencies above half of the sampling rate that you intent to use. If a perfect sphere should be used an unlimited number of spatial frequencies is involved and aliasing artifacts are generated due to Nyquist sampling violation. The ringing is a result of the sphere being bandlimited, i.e. perfectly antialiased: due to the band limited character of the image small negative values might occur. These can be removed for example with a qgauss filter and a small sigma, or by clipping the image.
Average spheres
parent avgspheres -> destination?-r value (0.115)?.........Sphere radius (micron)
?-reduce value (1.0)?.........Reduce PSF size
?-reduceRange value (0.5)?.........Range of reduction
?-NAadjust auto | never (auto)?.........Adjust Numerical Aperture
?-ba?.........Final baseline adjust
?-compsizes?.........Compute sizes
?-tclReturnCM?.........Return CMs of used beads
?-nv?.........Silent
Returns: list of option-value pairs which allows for conversion into Tcl arrays; how to do this: see setp.
objCnt <object count, excluding the background>
foundCnt <number of spheres used in averaging>
garbageCnt <number of objects too small, dim or too bright>
edgeCnt <number of objects which were too close to the image edge>
tooCloseCnt <number of objects which are too close to each other>
maxLatDist <distance in pixels>
maxLatDist is the distance to the nearest neighbour or lateral edge. Each object has a nearest neighbouring object or image edge. Of all objects which are not considered garbage and which are not too close to an axial edge, the object is selected with the widest space around it.
latCriterionMin <distance in pixels>
latCriterionMax <distance in pixels>
Because the image containing the averaged bead is square, beads displaced diagonally must be further apart than beads displaced along the X or Y axis in order to prevent contributions into the border area of the averaged bead.
Note 1: This functions determines the microscopic and geometrical parameters it needs from the parent image.
Note 2: The -NAadjust, -compSizes and -tclReturnCM options are not available in the Operations Window.
Correct for motion in depth or over time
source stabilize -> ?-mode corr|model|cm|sted? (corr)?.........Correction mode
?-dim t|z (t)?.........Dimension choice
?-rot (true)?.........Correct for rotation
?-q high|standard|low (standard)?.........Quality
?-crop original|tight|full (original)?.........Cropping mode for result
Returns: void.
This command stabilizes an image either in the z-direction or through time. For time series there are four stabilization methods available:
- Cross correlation. This can be considered an 'all-round method'. It can correct for both x-y-z translation and axial rotation. Adjacent time frames are compared and the program tries to find the best alignment by maximizing structural overlap.
- Model-based correlation. When the geometry of the imaged object did not change much during the acquisition, then the time series can be stabilized using a model of the object.
- Multi object tracking. When your image contains well-defined objects, i.e. nuclei or small particles, then the image may be stabilized using the their average object movement.
- Center of mass alignment. This method works best if the image contains a single large object. No objects should cross the image borders, and the contrast between object and background should be high.
Fast Fourier transform
parent fft -> destination?-man?.........Manual mode
?-dir f | i (f)?.........Direction
?-complex?.........Complex mode
?-norm post | sym | none (post)?.........Normalization
Returns: void.
The option -man may be used to force the direction, for example:
- This lets the FFT algorithm choose the direction automatically (based on the input image):
parent fft -> destination - This is the same as case 1:
parent fft -> destination -dir f - This forces a forward FFT:
parent fft -> destination -man -dir f - This forces an inverse FFT:
parent fft -> destination -dir i - This is the same as case 4:
parent fft -> destination -man -dir i
To/From optical representation
parent optrep -> destination?-dir to | from (from)?.........Direction
Direction is necessary for images with (an) odd dimension-size(s). For these images the shift of the origin to the center is different then the shift of the center to the origin when shifting in the same direction. For that reason a direction is created to denote which kind of these shifts you would like to perform. from denotes the shift from center to origin of image (shifting from optical represention). to denotes the shift from origin to center of image (shifting to optical representation). For images with all even dimension-sizes the direction is not of interest, since both options then gives the same result.
Returns: void.
Equalize flux in image
source eqflux -> <dest>?-auto?.........Automatic bleaching correction
?-lampCorr?.........Correct lamp jitter
?-gain value (1.00)?.........Full range gain
?-tclReturn?.........Output to Tcl
Returns: void while running default.
A manual gain correction applies an exponential correction along the 3D stack in such a way that the proportion between the intensity increases of the first and last planes is that given value. The slice with Z=0 is considered to be the earliest acquired, and therefore the correction is higher with increasing Z.
An automatic correction also tries to correct for lamp jitters.
When the -tclReturn option is given the resulting gain values are reported in a identifier-value format which allows for conversion into Tcl arrays:
chanCnt
frameCnt
{frameGain {list of z-gains} zGain {list of frame gains}}
Example:
testWFTime eqflux -> foo -tclReturn
=>chanCnt 1 frameCnt 4 {chan 0} {frameGain
{1.0000 1.0416 1.0849 1.1301} zGain {1.0000 0.9601 0.9217 0.8849}}
The total gain on each 3D volume is the frame gain times the zGain.
Equalize sampling density to reference
image eqsampling reference?-q high | standard | low | trunc (high)?.........Quality
Returns: void.
Equalize sampling density to reference image. The quality factor is described in resample.
Noisify an image with Poisson noise
source pnoise -> destination
?-ppu value (1)?.........Photons per unit
Returns: void.
Adds Poisson noise considering that the number of photons per voxel is the voxel value times photons per unit.
Noisify an image with Gaussian noise
source gnoise -> destination
?-var value (10.0)?.........Variance
Returns: void.
CMLE, GMLE and QMLE report format
The CMLE, GMLE and QMLE operations share the same report format. The report is in Tcl option-value list format to allow easy conversion to a Tcl array. Since both tools handle multi channel time series, the report can be multi dimensional. The option-value pair are as follows:
chanCnt <number of channels> frameCnt <number of frames> criterions <idiv|mse> diff,ch<chan>,t<frame> <difference> bg,ch<chan>,t<frame> <background w.r.t. original> Z,blCorr,ch<chan>,t<frame> <bleaching correction factor for Z> T,blCorr,ch<chan>,t<frame> <bleaching correction factor for T> scale,<chan>,t<frame> <scaling>
The applied overall bleaching correction factor for a channel and frame is the multiplication of the Z and T factors.
Example for a 1-frame single channel image:
chanCnt 1 frameCnt 1 criterions idiv diff,ch0,t0 0.3998 bg,ch0,t0 0.0000 blCorr,ch0,t0 1.0000 scale,ch0,t0 1.0000
Example of usage:
array set myReport [a cmle psf -> c -tclReturn]
puts "Found I-divergence $MyReport(diff,ch0,t0)"
Point Spread Function
The Point Spread Function (PSF) is the main brick that builds up the whole acquired image: it is the image of a single point object. The degree of spreading (blurring) in the image of this point object is a measure for the quality of an optical system.
A PSF is always required to do image restoration with any of the algorithms availabe in Huygens. That is why it is a mandatory argument in all the deconvolution commands. When you do not provide an experimental PSF, simply use a blank dummy image as PSF for these commands. The program will notice that the image is empty and will automatically calculate a theoretical PSF based on the microscopic parameters as established for the original image.
That is why providing the right parameters to the original image is very important to guarantee quality results.
See http://www.svi.nl/TheoreticalPsf and links therein for more information.
Brick mode
Some of the restoration methods have a -brMode option to control the way the image is processed in bricks.
Situations occur (see http://www.svi.nl/NotEnoughMemoryAvailable) where your system's memory is not sufficiently large to allow an image to be deconvolved as a whole. In these cases the Huygens Software can split the image into bricks. The bricks are deconvolved one by one; the results seamlessly fitted together again. The brick splitting routine considers many variables to find the best compromise between available memory and deconvolution requirements. There is a limit for that, and if the bricks become so small that the deconvolution will be a disaster, it won't run.
Even when your system has a large amount of memory, the image is split in situations where spherical aberration is present, to adapt the point spread function to the depth inside the image.
To find out the best number of bricks, let the software run in automatic mode for splitting. It will consider many options and go for the best one.
For more information, see http://www.svi.nl/BrickSplitting.