Contenu principal

HDL-Optimized Algorithm Design

R2026b
Select blocks or System objects for streaming video processing

The Vision HDL Toolbox™ blocks and System objects in this category implement hardware-friendly architectures and support HDL code generation when used with HDL Coder™.

Blocks

expand all

Birds-Eye View blockBirds-Eye ViewTransform front-facing camera image into top-down view
Chroma Resampler blockChroma ResamplerDownsample or upsample chrominance component
Color Space Converter blockColor Space ConverterConvert color information between color spaces
Demosaic Interpolator blockDemosaic InterpolatorConstruct RGB pixel data from Bayer pattern pixel stream
Gamma Corrector blockGamma CorrectorApply or remove gamma correction of pixel stream
Lookup Table blockLookup TableMap input pixel to output pixel using custom rule
Image Resizer blockImage ResizerChange dimensions of image in pixel stream (Since R2023a)
Bilateral Filter blockBilateral Filter2-D bilateral filtering
Edge Detector blockEdge DetectorFind edges of objects in grayscale pixel stream
Image Filter blockImage Filter2-D FIR filtering
Median Filter blockMedian Filter2-D median filtering
Corner Detector blockCorner DetectorFind corners using FAST or Harris algorithm
Closing blockClosingMorphological closing of binary pixel data
Dilation blockDilationMorphological dilation of binary pixel data
Erosion blockErosionMorphological erosion of binary pixel data
Opening blockOpeningMorphological opening of binary pixel data
Grayscale Closing blockGrayscale ClosingMorphological closing of grayscale pixel data
Grayscale Dilation blockGrayscale DilationMorphological dilation of grayscale pixel data
Grayscale Erosion blockGrayscale ErosionMorphological erosion of grayscale pixel data
Grayscale Opening blockGrayscale OpeningMorphological opening of grayscale pixel data
Histogram blockHistogramFrequency distribution of pixel values in video stream
Image Statistics blockImage StatisticsCalculate mean, variance, and standard deviation
Line Buffer blockLine BufferStore video lines and return neighborhood pixels
Pixel Stream Aligner blockPixel Stream AlignerAlign two streams of pixel data
ROI Selector blockROI SelectorSelect a region of interest (ROI) from pixel stream
HV Counter blockHV CounterCount active dimensions of pixel stream

Objects

expand all

visionhdl.BirdsEyeViewTransform front-facing camera image into top-down view
visionhdl.ChromaResamplerDownsample or upsample chrominance component
visionhdl.ColorSpaceConverterConvert color information between color spaces
visionhdl.CornerDetectorFinds corners using FAST or Harris algorithm
visionhdl.DemosaicInterpolatorConstruct full RGB pixel data from Bayer pattern pixel stream
visionhdl.GammaCorrectorApply or remove gamma correction
visionhdl.BilateralFilterPerform 2-D filtering of a pixel stream
visionhdl.EdgeDetectorFind edges of objects
visionhdl.ImageFilter2-D FIR filtering
visionhdl.MedianFilter2-D median filtering
visionhdl.HistogramFrequency distribution
visionhdl.ImageStatisticsMean, variance, and standard deviation
visionhdl.ClosingMorphologically closes binary pixel stream
visionhdl.DilationMorphologically dilate binary pixel stream
visionhdl.ErosionMorphologically erode binary pixel stream
visionhdl.OpeningMorphologically open binary pixel stream
visionhdl.GrayscaleClosingMorphologically close grayscale pixel stream
visionhdl.GrayscaleDilationMorphologically dilate grayscale pixel stream
visionhdl.GrayscaleErosionMorphologically erode grayscale pixel stream
visionhdl.GrayscaleOpeningMorphologically open grayscale pixel stream
visionhdl.HVCounterCounts active pixel dimensions of streaming video
visionhdl.ImageResizerChange dimensions of image in a pixel stream (Since R2023a)
visionhdl.LineBufferStore video lines and return neighborhood pixels
visionhdl.LookupTableMap input pixel to output pixel using custom rule
visionhdl.PixelStreamAlignerAlign two streams of pixel data
visionhdl.ROISelectorSelect region of interest (ROI) from pixel stream

Functions

visionhdlframetoregionsConvert video frame dimensions into tiled regions of interest

Topics

Enhancement

Detection and Analysis

  • Blob Analysis
    This example shows how to implement a single-pass 8-way connected- component labeling algorithm and perform blob analysis.
  • Pothole Detection
    This example extends the Generate Cartoon Images Using Bilateral Filtering example to include calculating a centroid and overlaying a centroid marker and text label on detected potholes.
  • FAST Corner Detection
    This example shows how to perform corner detection using the features-from-accelerated-segment test (FAST) algorithm.
  • Harris Corner Detection
    This example shows how to use edge detection as the first step in corner detection.
  • Generate Cartoon Images Using Bilateral Filtering
    This example shows how to generate cartoon lines and overlay them onto an image.

Video Modeling

In MATLAB

Featured Examples