Filters And Conversion

This palette contains functions for smoothing filters, threshold, lookup table and color space conversion.

Note: A vi icon with yellow background means they work on color images. With gray background means they only work on single channel image. With half yellow and half gray background means they work on both color and single channel image. Others vi icon background are for either examples or high level vis. For controls descriptions, you need to go to the vi in LabVIEW, use help (ctrl+H) and move mouse over the controls to see them.


IVision_BilateralFilter.vi

Perform bilateral filtering.

Connector Pane

IVision_BilateralFilter.vi


IVision_GaussianBlur.vi

Smooth the image with Gaussian blur method.

Connector Pane

IVision_GaussianBlur.vi


IVision_MedianFilter.vi

Perform median filter smoothing.

Connector Pane

IVision_MedianFilter.vi


IVision_SmoothImage.vi

Low level vi for smooth filtering.

Connector Pane

IVision_SmoothImage.vi


IVision_AdaptThreshold_Gray.vi

Applies adaptive threshold to image. Work for single channel image.

Connector Pane

IVision_AdaptThreshold_Gray.vi


IVision_Threshold_Gray.vi

The function applies fixed-level thresholding to single-channel image. The function is typically used to get bi-level (binary) image out of grayscale image or for removing a noise, i.e. filtering out pixels with too small or too large values. There are several types of thresholding the function supports that are determined by thresholdType.

thresholdType=CV_THRESH_BINARY:

dst(x,y) = maxValue, if src(x,y)>threshold

0, otherwise

thresholdType=CV_THRESH_BINARY_INV:

dst(x,y) = 0, if src(x,y)>threshold

maxValue, otherwise

thresholdType=CV_THRESH_TRUNC:

dst(x,y) = threshold, if src(x,y)>threshold

src(x,y), otherwise

thresholdType=CV_THRESH_TOZERO:

dst(x,y) = src(x,y), if (x,y)>threshold

0, otherwise

thresholdType=CV_THRESH_TOZERO_INV:

dst(x,y) = 0, if src(x,y)>threshold

src(x,y), otherwise

Connector Pane

IVision_Threshold_Gray.vi


IVision_ConvertColor.vi

Converts image from one color space to another. BGR<->gray, BGR->HSV and lot more...

Connector Pane

IVision_ConvertColor.vi


IVision_LookUpTable.vi

The function fills the destination image with values of look-up table entries. Indices of the entries are taken from the source image. That is, the function processes each pixel as follows:

B(x,y)=lut[A(x,y)+delta]

where delta is 0 for 8-bit unsigned source image type and 128 for 8-bit signed source image type.

Connector Pane

IVision_LookUpTable.vi