Main Content

Video Formats and Interfaces

Convert between frame-based video and pixel streams

Hardware video processing algorithms operate on serial data. For information on the serial protocol used in Vision HDL Toolbox™, seeStreaming Pixel Interface.

You can simulate hardware-friendly streaming-pixel designs alongside frame-based designs. For instance, use frame-based algorithms, such as those designed using Computer Vision Toolbox™ or Image Processing Toolbox™, to verify a hardware-optimized design. Use the帧To PixelsandPixels To Frameblocks to convert video between frame-based and streaming-pixel formats.

Blocks

帧To Pixels Convert frame-based video to pixel stream
Pixels To Frame Convert pixel stream to frame-based video
Pixel Control Bus Creator Create control signal bus for use withVision HDL Toolboxblocks
像素控制总线选择器 Select signals from control signal bus used byVision HDL Toolboxblocks
Measure Timing Measure timing of pixel control bus input
HV Counter Count active dimensions of pixel stream
Pixel Stream Aligner Align two streams of pixel data
ROI Selector Select a region of interest (ROI) from pixel stream
Pixel Stream FIFO Buffer input stream to create image lines that have contiguous valid pixels

Objects

expand all

visionhdl.FrameToPixels Convert frame-based video to pixel stream
visionhdl.PixelsToFrame Convert pixel stream to frame-based video
visionhdl.MeasureTiming Measure timing of pixel control structure input
visionhdl.HVCounter Counts active pixel dimensions of streaming video
visionhdl.PixelStreamAligner Align two streams of pixel data
visionhdl.ROISelector Select region of interest (ROI) from pixel stream

Functions

expand all

pixelcontrolsignals Extract signals from pixel-streaming control signal structure
pixelcontrolstruct Create pixel-streaming control signal structure
pixelcontrolbus Create pixel-streaming control bus instance
getparamfromfrm2pix Get frame format parameters

Topics

流媒体视频

In Simulink

In MATLAB