IMAQ Flat Field Parameters VI
- Updated2023-02-21
- 9 minute(s) read
Requires: NI Vision Development Module
Returns the median of the supplied image or images. Pass the resulting median image to the IMAQ FPGA Flat Field Correction VI.
IMAQ Flat Field Parameters - Flat Field Image Streaming
Returns the Median of the supplied image or images. If the Flat Field Image and Dark Field Image are connected, this VI returns the median of the Dark Field Image subtracted from the Flat Field Image. If only the Flat Field Image is connected, this VI returns the median of the Flat Field Image.

![]() |
Flat Field Image is a flat field image. |
||||||
![]() |
Dark Field Image is a dark field image. |
||||||
![]() |
error in (no error) describes the error status before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
|
||||||
![]() |
Median is the median intensity value of the reconstructed flat field image. Pass this parameter as an input to the IMAQ FPGA Flat Field Correction VI. |
||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
|
IMAQ Flat Field Parameters - Flat Field Image Estimation
Returns the Median of the Image Src and a set of polynomial Coefficients by fitting a mathematical model on the source image.

![]() |
Image Src is a reference to the source image. |
||||||||||||||||||||
![]() |
Mask Image is the reference to the mask image. The mask image represents the background region on Image Src. |
||||||||||||||||||||
![]() |
Surface Fit Options is a cluster of options used to determine the surface fit to construct the flat field image.
|
||||||||||||||||||||
![]() |
error in (no error) describes the error status before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
|
||||||||||||||||||||
![]() |
Background Estimation Options is a cluster of options used to estimate the background region of Image Src.
|
||||||||||||||||||||
![]() |
Median is the median intensity value of the reconstructed flat field image. Pass this parameter as an input to the IMAQ FPGA Flat Field Correction VI. |
||||||||||||||||||||
![]() |
Coefficients is a cluster with normalized Polynomial Coefficients and Image Size. Pass this parameter as an input to the IMAQ FPGA Generate Flat Field Image VI.
|
||||||||||||||||||||
![]() |
Image (duplicate) is a reference to the source image. |
||||||||||||||||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
|
Examples
Refer to the following for an example that uses this VI.
- LabVIEW\examples\Vision FPGA\Flat Field Correction

















