Computer Vision With Simulink

Simulink support for computer vision applications

Use Computer Vision Toolbox™ blocks to build models for computer vision applications. Perform feature detection, image statistics, FIR filtering, frequency and Hough transforms, morphology, contrast enhancement, and noise removal.

Local features and their descriptors are the building blocks of many computer vision algorithms. Their applications include image registration, object detection and classification, tracking, and motion estimation.

Motion estimation and tracking are key activities in many computer vision applications, including activity recognition, traffic monitoring, automotive safety, and surveillance.

Analysis and enhancement techniques enable you to increase signal-to-noise ratio and accentuate features

The showvipblockdatatypetable function provides details regarding block capabilities, limitations pertaining to code generation, variable-sizing, and supported data types for all Computer Vision Toolbox blocks.

Blocks

expand all

Corner DetectionCalculate corner metric matrix and find corners in images
Edge DetectionFind edges of objects in images using Sobel, Prewitt, Roberts, or Canny method
Trace BoundaryTrace object boundaries in binary images
Template MatchingLocate a template in an image
Estimate Geometric TransformationEstimate geometric transformation from matching point pairs
Find Local MaximaFind local maxima in matrices
Template MatchingLocate a template in an image
WarpApply projective or affine transformation to an image
ResizeEnlarge or shrink image sizes
RotateRotate image by specified angle
ShearShift rows or columns of image by linearly varying offset
TranslateTranslate image in 2-D plane using displacement vector
Block MatchingEstimate motion between images or video frames
Optical FlowEstimate object velocities
Template MatchingLocate a template in an image
2-D Autocorrelation 2-D autocorrelation of input matrix
2-D CorrelationCompute 2-D correlation of two input matrices
2-D HistogramGenerate histogram from input
2-D MaximumCompute maximum value of input or sequence of inputs
2-D MeanFind mean value of each input matrix
2-D Median 2-D Median values of input array
2-D MinimumFind minimum values in input or sequence of inputs
2-D Standard DeviationCompute standard deviation of input or sequence of inputs
2-D VarianceCompute variance of input or sequence of inputs
Blob AnalysisStatistics for labeled regions
Find Local MaximaFind local maxima in matrices
PSNRCompute peak signal-to-noise ratio (PSNR) between images
Bottom-hatPerform bottom-hat filtering on intensity or binary images
ClosingPerform morphological closing on binary or intensity images
DilationFind local maxima in binary or intensity image
ErosionFind local minima in binary or intensity images
LabelLabel connected components in binary images
OpeningPerform morphological opening on binary or intensity images
Top-hatPerform top-hat filtering on intensity or binary images
AutothresholdConvert intensity image to binary image
Chroma ResamplingDownsample or upsample chrominance components of images
Color Space ConversionConvert color information between color spaces
DemosaicDemosaic Bayer's format images
Gamma CorrectionApply or remove gamma correction from images or video streams
Image ComplementCompute complement of pixel values in binary or intensity images
Image Data Type ConversionConvert and scale input image to specified output data type
Image PadPad signal along its rows, columns, or both
2-D ConvolutionCompute 2-D discrete convolution of two input matrices
2-D FFTCompute two-dimensional fast Fourier transform of input
2-D IFFT2-D Inverse fast Fourier transform of input
2-D DCTCompute 2-D discrete cosine transform (DCT)
2-D IDCTCompute 2-D inverse discrete cosine transform (IDCT)
2-D FIR FilterPerform 2-D FIR filtering on input matrix
Block MatchingEstimate motion between images or video frames
Contrast AdjustmentAdjust image contrast by linearly scaling pixel values
DeinterlacingRemove interlacing effect
Edge DetectionFind edges of objects in images using Sobel, Prewitt, Roberts, or Canny method
Histogram EqualizationEnhance contrast of images using histogram equalization
Median FilterPerform 2-D median filtering
Hough TransformFind lines in images
Hough LinesFind Cartesian coordinates of lines described by rho and theta pairs
Gaussian PyramidPerform Gaussian pyramid decomposition
Write Binary FileWrite binary video data to file
Image From FileRead image from file location
Image From WorkspaceImport image from MATLAB workspace
Video ViewerDisplay binary, intensity, or RGB images or video streams
From Multimedia FileRead video frames and audio samples from compressed multimedia file
To Multimedia FileWrite video frames and audio samples to multimedia file
To Video DisplayDisplay video data
Frame Rate DisplayCalculate average update rate of input signal
Video To WorkspaceExport image or video to MATLAB workspace
Video From WorkspaceImport video from MATLAB workspace
Read Binary File Read video data from binary file
CompositingCombine pixel values of two images, overlay one image over another, or highlight selected pixels
Draw MarkersDraw markers by embedding predefined shapes on output image
Draw ShapesDraw rectangles, lines, polygons, or circles on images
Image PadPad signal along its rows, columns, or both
Insert TextDraw text on image or video stream.

Topics

Video Formats

Video data is a series of images over time.

Image Formats

In the Computer Vision Toolbox software, images are real-valued ordered sets of color or intensity data.

Nearest Neighbor, Bilinear, and Bicubic Interpolation Methods

Understand how geometric transformation blocks interpolate values

Fixed-Point Signal Processing

Discusses advantages of fixed-point development in general and of fixed-point support in System Toolbox software in particular, as well as lists common applications of fixed-point signal processing development.

Fixed-Point Concepts and Terminology

Defines fixed-point concepts and terminology that are helpful to know as you use DSP System Toolbox™ software.

Arithmetic Operations

Describes the arithmetic operations used by fixed-point DSP System Toolbox blocks, including operations and casts that might invoke rounding and overflow handling methods.

Fixed-Point Support for MATLAB System Objects

Fixed-Point support for Computer Vision Toolbox System Objects

Specify Fixed-Point Attributes for Blocks

Teaches you how to specify fixed-point attributes and parameters in software on both the block and system levels.

Featured Examples