Fit Gaussian 2D

Gaussian spot fitting.

Description

Gaussian spot fitting. Can take objects as estimated locations. ***Only works in 2D*** ***Only works for refinement of existing spots***

Parameters

ParameterDescription
Input imageImage from the workspace to which the 2D Gaussian profiles will be fit.
Input objectsObjects for which 2D Gaussians will be fit. A single Gaussian will be calculated for each object, with the centroid of the input object used as the starting estimate for the Gaussian centroid. Fit parameters will be stored as measurements associated with the relevant input objects.
Method to estimate sigmaControls how the initial estimate of Gaussian sigma will be calculated. Note: The initial radius value can also influence the range of accepted sigma values (see "Limit sigma range" parameter).
  • "Fixed value" The same initial sigma value is applied to the fitting of all objects. This value is provided by the "Sigma" parameter.
  • "Measurement" A different sigma value is applied to the fitting of each object. This value is provided by the measurement (specified by "Sigma measurement") associated with the object being fit.
SigmaIf "Method to estimate sigma" is set to "Fixed value", this is the initial sigma value that will be used in the fitting of all objects.
Sigma measurementIf "Method to estimate sigma" is set to "Measurement", this is the measurement that will provide the intial sigma value used in the fitting of each object.
Measurement multiplierIf using object-associated measurements as the intial estimate of sigma, these measurements can be systematically increased or decreased with this multiplier. Values less than 1 will reduce the sigma estimate, while values greater than 1 will increase it. To use the default sigma value, set this to 1.
Limit sigma rangeWhen selected, the final sigma value must lie within a specific range. This range is controlled by the "Minimum sigma (multiplier)" and "Maximum sigma (multiplier)" parameters.
Minimum sigma (multiplier)If limiting the final sigma range ("Limit sigma range" parameter selected), this value controls the minimum allowed sigma value. The minimum range is specified as a multiplier of the input sigma estimate. For example, an estimate sigma value of 4 with a "Minimum sigma (multiplier)" multiplier of 0.5 forces the predicted sigma to have a value of at least 2. Variable sigma ranges allow measurement-based sigma estimates to have appropriate limits.
Maximum sigma (multiplier)If limiting the final sigma range ("Limit sigma range" parameter selected), this value controls the maximum allowed sigma value. The maximum range is specified as a multiplier of the input sigma estimate. For example, an estimate sigma value of 4 with a "Maximum sigma (multiplier)" multiplier of 3 forces the predicted sigma to have a value of at most 12. Variable sigma ranges allow measurement-based sigma estimates to have appropriate limits.
Fixed fitting windowWhen selected, the size of the cropped image region, to which the 2D Gaussian is fit, is controlled by the "Window size" parameter. Otherwise, the window size is automatically selected as 4 times the initial estimate of sigma, plus 1.
Window sizeIf using a fixed fitting window ("Fixed fitting window" parameter selected), this is the size of the image crop (centered on the object being fit) that will be used.
Maximum number of evaluationsThe maximum number of iterations the fitting algorithm can use.
Remove objects with failed fittingIf selected, any objects for which fits can't be determined (fitter runs out of evaluations before completing) will be removed from the input object set.
Apply volumeIf selected, the coordinates of the input objects will be updated to be circles. The output circles will be centred on the best-fit location and have radii equal to the x-axis sigma value.
Create Gaussian imageIf selected, an image containing all calculated Gaussian fits will be added to the workspace.
Gaussian image nameIf "Create Gaussian image" is selected, this is the name of the output Gaussian profile image that will be added to the workspace.