HDL-Optimized Algorithm Design

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 ViewTransform front-facing camera image into top-down view
Chroma ResamplerDownsample or upsample chrominance component
Color Space ConverterConvert color information between color spaces
Demosaic InterpolatorConstruct RGB pixel data from Bayer pattern pixels
Gamma CorrectorApply or remove gamma correction of pixel stream
Lookup TableMap input pixel to output pixel using custom rule
Bilateral Filter2-D bilateral filtering
Edge DetectorFind edges of objects in grayscale pixel stream
Image Filter2-D FIR filtering
Median Filter2-D median filtering
Corner DetectorFind corners using FAST or Harris algorithm
ClosingMorphological closing of binary pixel data
DilationMorphological dilation of binary pixel data
ErosionMorphological erosion of binary pixel data
OpeningMorphological opening of binary pixel data
Grayscale ClosingMorphological closing of grayscale pixel data
Grayscale DilationMorphological dilation of grayscale pixel data
Grayscale ErosionMorphological erosion of grayscale pixel data
Grayscale OpeningMorphological opening of grayscale pixel data
HistogramFrequency distribution of pixel values in video stream
Image StatisticsCalculate mean, variance, and standard deviation
Line BufferStore video lines and return neighborhood pixels
Pixel Stream AlignerAlign two streams of pixel data
ROI SelectorSelect a region of interest (ROI) from pixel stream
HV 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 pixels
visionhdl.GammaCorrectorApply or remove gamma correction
visionhdl.EdgeDetectorFind edges of objects
visionhdl.BilateralFilterPerform 2-D filtering of a pixel stream
visionhdl.ImageFilter2-D FIR filtering
visionhdl.MedianFilter2-D median filtering
visionhdl.ClosingMorphological closing of binary pixel data
visionhdl.DilationMorphological dilation of binary pixel data
visionhdl.ErosionMorphological erosion of binary pixel data
visionhdl.OpeningMorphological opening of binary pixel data
visionhdl.GrayscaleClosingMorphological closing of grayscale pixel data
visionhdl.GrayscaleDilationMorphological dilation of grayscale pixel data
visionhdl.GrayscaleErosionMorphological erosion of grayscale pixel data
visionhdl.GrayscaleOpeningMorphological opening of grayscale pixel data
visionhdl.HistogramFrequency distribution
visionhdl.ImageStatisticsMean, variance, and standard deviation
visionhdl.LookupTableMap input pixel to output pixel using custom rule
visionhdl.LineBufferStore video lines and return neighborhood pixels
visionhdl.ROISelectorSelect region of interest (ROI) from pixel stream
visionhdl.PixelStreamAlignerAlign two streams of pixel data
visionhdl.HVCounterCounts active pixel dimensions of streaming video

Functions

visionhdlframetoregionsConvert video frame dimensions into tiled regions of interest

Topics

Video Modeling

Edge Padding

Padding algorithms used to filter edge pixels of a frame.

Increase Throughput with Padding None

This example shows how to reduce latency and save hardware resources by not adding padding pixels at the edge of each frame.

Configure the Simulink Environment for HDL Video Processing

Set up a Simulink® model for HDL image and video processing.

Modeling External Memory

You can model external memory using features from Computer Vision Toolbox™ Support Package for Xilinx® Zynq®-Based Hardware or SoC Blockset™.

In MATLAB

Accelerate a MATLAB Design With MATLAB Coder

Compile MATLAB® designs to C code for faster simulation.

Pixel-Streaming Design in MATLAB

This example shows how to design pixel-stream video processing algorithms using Vision HDL Toolbox™ objects in the MATLAB® environment and generate HDL code from the design.

Enhanced Edge Detection from Noisy Color Video

This example shows how to develop a complex pixel-stream video processing algorithm, accelerate its simulation using MATLAB Coder™, and generate HDL code from the design.

Featured Examples