Contenu principal

Cette page s'applique à la version précédente. La page correspondante en anglais a été supprimée de la version actuelle.

Computer Vision avec Simulink

R2024a
Support Simulink® pour les applications de Computer Vision

Utilisez les blocs de Computer Vision Toolbox™ pour créer des modèles destinés aux applications de Computer Vision. Exécutez des opérations de détection des caractéristiques, d’analyse d’images, de filtrage FIR, de transformation de fréquence et de transformée de Hough, de morphologie, d’amélioration du contraste et de suppression du bruit.

Les caractéristiques locales et leurs descripteurs sont les blocs de base d’un grand nombre d’algorithmes de Computer Vision. Leurs applications comprennent le recalage d’images, la détection et la classification d’objets, le pistage et l’estimation du mouvement.

L’estimation du mouvement et le pistage sont des opérations essentielles dans des applications comme la reconnaissance d’activité, le contrôle du trafic, la sécurité automobile et la surveillance.

Certaines techniques d’analyse et d’amélioration vous permettent d’augmenter le rapport signal à bruit et d’accentuer les caractéristiques.

La fonction showvipblockdatatypetable donne des détails sur les fonctionnalités des blocs, les limitations relatives à la génération de code, le dimensionnement des variables et les types de données supportés pour tous les blocs Computer Vision Toolbox.

Blocs

développer tout

Corner Detection blockCorner DetectionCalculate corner metric matrix and find corners in images
Edge Detection blockEdge DetectionFind edges of objects in images using Sobel, Prewitt, Roberts, or Canny method
Trace Boundary blockTrace BoundaryTrace object boundaries in binary images
Template Matching blockTemplate MatchingLocate a template in an image
Estimate Geometric Transformation blockEstimate Geometric TransformationEstimate geometric transformation from matching point pairs
Find Local Maxima blockFind Local MaximaFind local maxima in matrices
Template Matching blockTemplate MatchingLocate a template in an image
Warp blockWarpApply projective or affine transformation
Resize blockResizeEnlarge or shrink entire image or region of interest within image
Rotate blockRotateRotate image by specified angle
Shear blockShearShift rows or columns of an image or a video frame by linearly varying offset
Translate blockTranslateTranslate image or video frame
Deep Learning Object Detector blockDeep Learning Object DetectorDetect objects using trained deep learning object detector
Block Matching blockBlock MatchingEstimate motion between images or video frames
Optical Flow blockOptical FlowEstimate object velocities
Template Matching blockTemplate MatchingLocate a template in an image
2-D Autocorrelation block2-D Autocorrelation 2-D autocorrelation of input matrix
2-D Correlation block2-D CorrelationCompute 2-D correlation of two input matrices
2-D Histogram block2-D HistogramGenerate histogram from input
2-D Maximum block2-D MaximumCompute maximum value of input or sequence of inputs
2-D Mean block2-D MeanFind 2-D mean of input array
2-D Median block2-D Median 2-D Median values of input array
2-D Minimum2-D MinimumFind minimum values in input or sequence of inputs
2-D Standard Deviation block2-D Standard DeviationCompute standard deviation of input or sequence of inputs
2-D Variance block2-D VarianceCompute variance of input or sequence of inputs
Blob Analysis blockBlob AnalysisStatistics for labeled regions
Find Local Maxima blockFind Local MaximaFind local maxima in matrices
PSNR blockPSNRCompute peak signal-to-noise ratio (PSNR) between images
Bottom-hat BlockBottom-hatPerform morphological bottom-hat filtering on intensity or binary images
Closing BlockClosingPerform morphological closing on binary or intensity images
Dilation BlockDilationDilate binary or intensity image by finding local maxima
Erosion blockErosionFind local minima in binary or intensity image
Label blockLabelLabel connected components in binary image
Opening BlockOpeningPerform morphological opening on binary or intensity images
Top-hat BlockTop-hatPerform morphological top-hat filtering on intensity or binary images
Autothreshold blockAutothresholdConvert intensity image to binary image
Chroma Resampling blockChroma ResamplingDownsample or upsample chrominance components of images
Color Space Conversion blockColor Space ConversionConvert color space of image
Demosaic blockDemosaicDemosaic Bayer format images
Gamma Correction blockGamma CorrectionApply or remove gamma correction to or from image or video stream
Image Complement BlockImage ComplementCompute the complement of pixel values in binary or intensity images
Image Data Type Conversion blockImage Data Type ConversionConvert and scale input image to specified output data type
Image Pad blockImage PadPad image by adding rows, columns, or both
To Simulink ImagePack numeric matrix into a Simulink image (depuis R2022a)
From Simulink ImageUnpack numeric matrix from Simulink image (depuis R2022a)
Image Attributes blockImage AttributesOutput attributes of Simulink image signal (depuis R2022b)
2-D Convolution block2-D ConvolutionCompute 2-D discrete convolution of two input matrices
2-D FFT block2-D FFTCompute 2-D fast Fourier transform (FFT)
2-D IFFT block2-D IFFTCompute 2-D inverse fast Fourier transform (IFFT)
2-D DCT block2-D DCTCompute 2-D discrete cosine transform (DCT)
2-D IDCT block2-D IDCTCompute 2-D inverse discrete cosine transform (IDCT)
2-D FIR Filter block2-D FIR Filter2-D FIR filter on input matrix
Block Matching blockBlock MatchingEstimate motion between images or video frames
Block Processing blockBlock ProcessingRepeat user-specified operation on blocks of input matrix
Contrast Adjustment blockContrast AdjustmentAdjust image contrast using linear scaling
Deinterlacing blockDeinterlacingRemove interlacing effect
Edge Detection blockEdge DetectionFind edges of objects in images using Sobel, Prewitt, Roberts, or Canny method
Histogram Equalization blockHistogram EqualizationEnhance contrast of images using histogram equalization
Median Filter blockMedian FilterPerform 2-D median filtering
Hough TransformHough TransformFind lines in images
Hough Lines blockHough LinesFind Cartesian coordinates of lines described by rho and theta pairs
Gaussian Pyramid blockGaussian PyramidPerform Gaussian pyramid decomposition
Write Binary File blockWrite Binary FileWrite binary video data to file
Image From File blockImage From FileRead image from file location
Image From Workspace blockImage From WorkspaceImport image from MATLAB workspace
Video Viewer blockVideo ViewerDisplay images or video frames
From Multimedia File blockFrom Multimedia FileRead video frames and audio samples from multimedia file
To Multimedia File blockTo Multimedia FileWrite video frames and audio samples to multimedia file
To Video Display blockTo Video DisplayDisplay images or video frames
Frame Rate Display blockFrame Rate DisplayCalculate and display video frame rate
Video To WorkspaceVideo To WorkspaceExport image or video to MATLAB workspace
Video From WorkspaceVideo From WorkspaceImport video from MATLAB workspace
Read Binary File blockRead Binary File Read video data from binary file
Compositing blockCompositingCombine two images or apply mask to image
Draw Markers blockDraw MarkersDraw markers on image
Draw Shapes blockDraw ShapesDraw rectangles, lines, polygons, or circles on images
Image Pad blockImage PadPad image by adding rows, columns, or both
Insert Text blockInsert TextDraw text on images or video frames
Point Cloud Viewer

Objets

Simulink.ImageTypeSpecify image data type

Rubriques

  • 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.

  • 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

    Enable fixed-point support for Computer Vision Toolbox system objects.

  • Specify Fixed-Point Attributes for Blocks (DSP System Toolbox)

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


Sélection d՚exemples