This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Color Space Formatting and Conversions

Perform video format and data type conversion

You can apply common video processing algorithms to images or video, such as deinterlacing, chroma-resampling, and color space formatting and conversions. You can also use color space functionality from the Image Processing Toolbox™.

System Objects

vision.ChromaResamplerDownsample or upsample chrominance components of images
vision.DemosaicInterpolatorBayer-pattern image conversion to true color
vision.GammaCorrectorApply or remove gamma correction from images or video streams


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


Video and Image Formats

Video Formats

Video data is a series of images over time.

Image Formats

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

MATLAB Workflow

Face Detection and Tracking Using the KLT Algorithm

This example shows how to automatically detect and track a face using feature points.

Simulink Workflow

Resample Image Chroma

Use the Chroma Resampling block to downsample the chroma components of an image.

Convert Intensity Images to Binary Images

Learn how to convert an intensity image to a binary image.

Convert R'G'B' to Intensity Images

Learn how to convert color information between color spaces and to intensity values.

Process Multidimensional Color Video Signals

The Computer Vision System Toolbox software enables you to work with color images and video signals as multidimensional arrays.