toc
Input, Output, and Conversions
File Opening, Loading and Saving
Import from Video Files
Setting Block Parameters for this Example
Configuration Parameters
Export to Video Files
Setting Block Parameters for this Example
Configuration Parameters
Batch Process Image Files
Configuration Parameters
Display a Sequence of Images
Pre-loading Code
Configuration Parameters
Partition Video Frames to Multiple Image Files
Setting Block Parameters for this Example
Using the Enabled Subsystem Block
Configuration Parameters
Combine Video and Audio Streams into a Single Video File
Setting Up the Video Input Block
Setting Up the Audio Input Block
Setting Up the Output Block
Configuration Parameters
Import MATLAB Workspace Variables
Send or Receive Audio and Video Content Over a Network
Import a Live Video Stream
Colorspace Formatting and Conversions
Resample Image Chroma
Setting Block Parameters for This Example
Configuration Parameters
Convert Intensity to Binary Images
Thresholding Intensity Images Using Relational Operators
Thresholding Intensity Images Using the Autothreshold Block
Convert R'G'B' to Intensity Images
Process Multidimensional Color Video Signals
Data Formats
Video Formats
Defining Intensity and Color
Video Data Stored in Column-Major Format
Image Formats
Binary Images
Intensity Images
RGB Images
Display and Graphics
Display
View Streaming Video in MATLAB using Video Player and Deployable
Video Player System Object
Deployable Video Player System Object
Preview Video in MATLAB using MPlay Function
View Video in Simulink using the Video Viewer and To Video Displ
Video Viewer Block
To Video Display Block
View Video in Simulink using MPlay Function as a Floating Scope
MPlay
Toolbar Buttons
Playback Toolbar — Workspace and File Sources
Playback Toolbar — Simulink Sources
Configuration
Configuration Core Pane
Using the Keyboard commands respect playback modes
Configuration Sources Pane
Configuration Visuals Pane
Configuration Tools Pane
Video Information
Color Map for Intensity Video
Frame Rate
Saving the Settings of Multiple MPlay GUIs
Message Log
Status Bar
Graphics
Abandoned Object Detection
Initialize Required Variables and System Objects
Video Processing Loop
Annotate Video Files with Frame Numbers
Color Formatting
Inserting Text
Configuration Parameters
Registration and Stereo Vision
Feature Detection, Extraction, and Matching
Detect Edges in Images
Open the Simulink model
Setting block parameters
Setting configuration parameters
View edge detection results
Running the model faster
Close the model
Detect Lines in Images
Setting Block Parameters
Configuration Parameters
Detect Corner Features in an Image
Find Possible Point Matches Between Two Images
Measure an Angle Between Lines
Image Registration
Automatically Determine Geometric Transform for Image Registrati
Transform Images and Display Registration Results
Remove the Effect of Camera Motion from a Video Stream.
Stereo Vision
Compute Disparity Depth Map
Find Fundamental Matrix Describing Epipolar Geometry
Rectify Stereo Images
Motion Estimation and Tracking
Detect and Track Moving Objects Using Gaussian Mixture Models
Video Mosaicking
Track an Object Using Correlation
Create a Panoramic Scene
Geometric Transformations
Rotate an Image
Resize an Image
Crop an Image
Interpolation Methods
Nearest Neighbor Interpolation
Bilinear Interpolation
Bicubic Interpolation
Automatically Determine Geometric Transform for Image Registrati
Filters, Transforms, and Enhancements
Adjust the Contrast of Intensity Images
Adjust the Contrast of Color Images
Remove Periodic Noise from a Video
Remove Salt and Pepper Noise from Images
Sharpen an Image
Statistics and Morphological Operations
Find the Histogram of an Image
Correct Nonuniform Illumination
Count Objects in an Image
Fixed-Point Design
Fixed-Point Signal Processing
Fixed-Point Features
Benefits of Fixed-Point Hardware
Benefits of Fixed-Point Design with System Toolboxes Software
Fixed-Point Concepts and Terminology
Fixed-Point Data Types
Scaling
Precision and Range
Range
Precision
Arithmetic Operations
Modulo Arithmetic
Two's Complement
Addition and Subtraction
Multiplication
Multiplication Data Types
Casts
Casts to the Accumulator Data Type
Casts to the Intermediate Product or Product Output Data Type
Casts to the Output Data Type
Casting Examples
Cast from a Shorter Data Type to a Longer Data Type. Consider t
Cast from a Longer Data Type to a Shorter Data Type. Consider t
Fixed-Point Support for MATLAB System Objects
Getting Information About Fixed-Point System Objects
Fixed-Point Data Processing Support
Displaying Fixed-Point Properties
Setting System Object Fixed-Point Properties
Specify Fixed-Point Attributes for Blocks
Fixed-Point Block Parameters
Using the Data Type Assistant
Checking Signal Ranges
Specify System-Level Settings
Logging
Autoscaling
Data type override
Inherit via Internal Rule
Internal Rule for Accumulator Data Types
Internal Rule for Product Data Types
Internal Rule for Output Data Types
The Effect of the Hardware Implementation Pane on the Internal R
Internal Rule Examples
Select and Specify Data Types for Fixed-Point Blocks
Prepare the Model
Use Data Type Override to Find a Floating-Point Benchmark
Use the Fixed-Point Tool to Propose Fraction Lengths
Examine the Results and Accept the Proposed Scaling
Code Generation
Code Generation with System Objects
Functions that Generate Code
Shared Library Dependencies
Accelerating Simulink Models
Define New System Objects
Define Basic System Objects
Create the Class Definition File
Complete Class Definition File for Basic System Object
Change Number of Step Method Inputs or Outputs
Update the Algorithm for Multiple Inputs and Outputs
Update the Associated Methods
Complete Class Definition File with Multiple Inputs and Outputs
Validate Property and Input Values
Validate Properties
Validate Inputs
Complete Class Definition File with Property and Input Validatio
Initialize Properties and Setup One-Time Calculations
Define Properties to Initialize
Define Setup
Complete Class Definition File with Initialization and Setup
Set Property Values at Construction from Name-Value Pairs
Set Properties to Use Name-Value Pair Input
Complete Class Definition File with Constructor Setup
Reset Algorithm State
Reset Counter to Zero
Complete Class Definition File with State Reset
Define Property Attributes
Specify Property as Nontunable
Specify Property as Logical
Specify Property as Positive Integer
Specify Property as DiscreteState
Complete Class Definition File with Property Attributes
Hide Inactive Properties
Hide an inactive property
Complete Class Definition File with Hidden Inactive Property
Limit Property Values to a Finite Set of Strings
Specify a Set of Valid String Values
Complete Class Definition File with String Set
String Set System Object Example
Process Tuned Properties
Control When a Lookup Table Is Generated
Complete Class Definition File with Tuned Property Processing
Release System Object Resources
Release Memory by Clearing the Object
Complete Class Definition File with Released Resources
Define Composite System Objects
Store System Objects in Properties
Complete Class Definition File of Composite System Object
Class Definition File for FIR Component of Filter
Class Definition File for IIR Component of Filter
Define Finite Source Objects
Use the FiniteSource Class and Specify End of the Source
Complete Class Definition File with Finite Source
Methods Timing
Setup Method Call Sequence
Step Method Call Sequence
Reset Method Call Sequence
Release Method Call Sequence
Index
tables
Supported Computer Vision System Toolbox System Objects