Code Generation Support, Usage Notes, and Limitations

Code Generation Support, Usage Notes, and Limitations for Functions, Classes, and System Objects

To generate code from MATLAB® code that contains Computer Vision Toolbox™ functions, classes, or System objects, you must have the MATLAB Coder™ software.

An asterisk (*) indicates that the reference page has usage notes and limitations for C/C++ code generation.

acfObjectDetector*

Detect objects using aggregate channel features

affine2d*

2-D affine geometric transformation

affine3d*

3-D affine geometric transformation

assignDetectionsToTracks

Assign detections to tracks for multiobject tracking

bbox2points

Convert rectangle to corner points list

bboxOverlapRatio

Compute bounding box overlap ratio

binaryFeatures

Object for storing binary feature vectors

BRISKPoints*

Object for storing BRISK interest points

cameraMatrix*

Camera projection matrix

cameraParameters*

Object for storing camera parameters

cameraPose*

Compute relative rotation and translation between camera poses

cameraPoseToExtrinsics

Convert camera pose to extrinsics

cornerPoints*

Object for storing corner points

detect*

Detect objects using ACF object detector

detectBRISKFeatures*

Detect BRISK features and return BRISKPoints object

detectCheckerboardPoints*

Detect checkerboard pattern in image

detectFASTFeatures*

Detect corners using FAST algorithm and return cornerPoints object

detectHarrisFeatures*

Detect corners using Harris–Stephens algorithm and return cornerPoints object

detectKAZEFeatures*

Detect KAZE features

detectMinEigenFeatures*

Detect corners using minimum eigenvalue algorithm and return cornerPoints object

detectMSERFeatures*

Detect MSER features and return MSERRegions object

detectORBFeatures

Detect and store ORB keypoints

detectSURFFeatures*

Detect SURF features and return SURFPoints object

disparity*

(Not recommended) Disparity map between stereo images

disparityBM

Compute disparity map using block matching

disparitySGM

Compute disparity map through semi-global matching

epipolarLine

Compute epipolar lines for stereo images

estimateEssentialMatrix*

Estimate essential matrix from corresponding points in a pair of images

estimateFlow

Estimate optical flow

estimateFundamentalMatrix*

Estimate fundamental matrix from corresponding points in stereo images

estimateGeometricTransform*

Estimate geometric transform from matching point pairs

estimateUncalibratedRectification

Uncalibrated stereo rectification

estimateWorldCameraPose*

Estimate camera pose from 3-D to 2-D point correspondences

extractFeatures*

Extract interest point descriptors

extractHOGFeatures

Extract histogram of oriented gradients (HOG) features

extractLBPFeatures*

Extract local binary pattern (LBP) features

extrinsics*

Compute location of calibrated camera

extrinsicsToCameraPose

Convert extrinsics to camera pose

findNearestNeighbors*

Find nearest neighbors of a point in point cloud

findNeighborsInRadius*

Find neighbors within a radius of a point in the point cloud

findPointsInROI

Find points within a region of interest in the point cloud

generateCheckerboardPoints

Generate checkerboard corner locations

imcrop*

Crop image

imresize*

Resize image

imwarp*

Apply geometric transformation to image

insertMarker*

Insert markers in image or video

insertObjectAnnotation*

Annotate truecolor or grayscale image or video stream

insertShape*

Insert shapes in image or video

insertText*

Insert text in image or video

isEpipoleInImage

Determine whether image contains epipole

KAZEPoints*

Object for storing KAZE interest points

lineToBorderPoints

Intersection points of lines in image and image border

matchFeatures*

Find matching features

MSERRegions*

Object for storing MSER regions

ocr*

Recognize text using optical character recognition

ocrText*

Object for storing OCR results

opticalFlow

Object for storing optical flow matrices

opticalFlowFarneback

Object for estimating optical flow using Farneback method

opticalFlowHS

Object for estimating optical flow using Horn-Schunck method

opticalFlowLK

Object for estimating optical flow using Lucas-Kanade method

opticalFlowLKDoG

Object for estimating optical flow using Lucas-Kanade derivative of Gaussian method

ORBPoints*

Object for storing ORB keypoints

pcdenoise*

Remove noise from 3-D point cloud

pcdownsample*

Downsample a 3-D point cloud

pcfitcylinder*

Fit cylinder to 3-D point cloud

pcfitplane*

Fit plane to 3-D point cloud

pcfitsphere*

Fit sphere to 3-D point cloud

pcmerge*

Merge two 3-D point clouds

pcnormals*

Estimate normals for point cloud

pcregistercpd*

Register two point clouds using CPD algorithm

pcregisterndt*

Register two point clouds using NDT algorithm

pcsegdist*

Segment point cloud into clusters based on Euclidean distance

pctransform*

Transform 3-D point cloud

pointCloud

Object for storing 3-D point cloud

projective2d*

2-D projective geometric transformation

reconstructScene*

Reconstruct 3-D scene from disparity map

rectifyStereoImages*

Rectify a pair of stereo images

relativeCameraPose*

Compute relative rotation and translation between camera poses

removeInvalidPoints

Remove invalid points from point cloud

reset

Reset the internal state of the optical flow estimation object

rotationMatrixToVector

Convert 3-D rotation matrix to rotation vector

rotationVectorToMatrix

Convert 3-D rotation vector to rotation matrix

segmentLidarData*

Segment organized 3-D range data into clusters

select

Select points in point cloud

selectStrongestBbox

Select strongest bounding boxes from overlapping clusters

selectStrongestBboxMulticlass*

Select strongest multiclass bounding boxes from overlapping clusters

stereoAnaglyph

Create red-cyan anaglyph from stereo pair of images

stereoParameters*

Object for storing stereo camera system parameters

SURFPoints*

Object for storing SURF interest points

triangulate*

3-D locations of undistorted matching points in stereo images

undistortImage*

Correct image for lens distortion

vision.AlphaBlender*

Combine images, overlay images, or highlight selected pixels

vision.BlobAnalysis*

Properties of connected regions

vision.CascadeObjectDetector*

Detect objects using the Viola-Jones algorithm

vision.ChromaResampler*

Downsample or upsample chrominance components of images

vision.Deinterlacer*

Remove motion artifacts by deinterlacing input video signal

vision.DeployableVideoPlayer*

Display video

vision.ForegroundDetector*

Foreground detection using Gaussian mixture models

vision.GammaCorrector*

Apply or remove gamma correction from images or video streams

vision.HistogramBasedTracker*

Histogram-based object tracking

vision.KalmanFilter*

Correction of measurement, state, and state estimation error covariance

vision.LocalMaximaFinder*

Find local maxima in matrices

vision.Maximum*

Find maximum values in input or sequence of inputs

vision.Mean*

Find mean values in input or sequence of inputs

vision.Median*

Find median values in input or sequence of inputs

vision.Minimum*

Find minimum values in input or sequence of inputs

vision.PeopleDetector*

Detect upright people using HOG features

vision.PointTracker*

Track points in video using Kanade-Lucas-Tomasi (KLT) algorithm

vision.StandardDeviation*

Find standard deviation values in input or sequence of inputs

vision.TemplateMatcher*

Locate template in image

vision.Variance*

Find variance values in input or sequence of inputs

vision.VideoFileReader*

Read video frames and audio samples from video file

vision.VideoFileWriter*

Write video frames and audio samples to video file