Returns the median of image in and a set of polynomial coefficients by fitting a mathematical model on the source image.
Reference to the source image.
Reference to the mask image.
The mask image represents the background region on image src.
Cluster of options used to determine the surface fit to construct the flat field image.
Input that specifies the surface fitting model.
Name | Description |
---|---|
Polynomial | Uses a 2D polynomial mathematical model to determine the image. |
Cluster specifying the size of the grid the node uses when fitting the model.
The larger the grid size, the more accurate the fit will be. The time to estimate the flat field image will increase with a larger grid size.
Size of the window in the x-dimension.
Size of the window in the y-dimension.
Input that specifies the polynomial degree the algorithm uses to estimate the background of the image.
The time to estimate the flat field image increases with a higher degree.
Cluster of options used to estimate the background region of image src.
Input that enables background estimation algorithm when set to TRUE.
Input that selects the method the algorithm uses to estimate the background of the model image.
Name | Value | Description |
---|---|---|
polynomial | 0 |
Uses a polynomial algorithm with a specified polynomial degree to estimate the background. |
background correction | 1 |
Performs background correction to eliminate non-uniform lighting effects and then performs thresholding using the interclass variance thresholding algorithm. |
NiBlack | 2 |
Computes thresholds for each pixel based on its local statistics using the NiBlack local thresholding algorithm. |
Input that specifies the polynomial degree the algorithm uses to estimate the background of the image.
The time to estimate the flat field image increases with a higher degree.
Cluster specifying the size of the window the node uses when calculating a local threshold.
Size of the window in the x-dimension.
Size of the window in the y-dimension.
Input that specifies the k constant used in the Niblack local thresholding algorithm, which determines the weight applied to the variance calculation.
Valid k constants range from 0 to 1. The lower the deviation factor, the closer the pixel value must be to the mean value selected as part of a particle. Setting the Niblack deviation factor in to 0 increases the performance of the node, as the pixel variance is not calculated.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Reference to the image input.
Median intensity value of the reconstructed flat field image. Pass this parameter as an input to the Flat Field Correction node.
Cluster with normalized polynomial coefficients and image size.
Array of normalized polynomial coefficients to reconstruct the flat field image in FPGA.
Cluster that returns the image size of image in.
Width of the image, in pixels.
Height of the image, in pixels.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application