detectAprilGridPoints
Syntax
Description
Single Image AprilGrid Detection
detects keypoints of an AprilGrid pattern in a 2-D truecolor or grayscale image
imagePoints
= detectAprilGridPoints(I
,patternDims
,tagFamily
)I
. patternDims
specifies the number of tags in
the pattern, and tagFamily
specifies the AprilTag family.
[
detects an AprilGrid pattern in the image files specified by name in
imagePoints
,imagesUsed
] = detectAprilGridPoints(imageFileNames
,___)imageFileNames
, and additionally returns the list of images in
which the pattern is detected imagesUsed
.
[___] = detectAprilGridPoints(
detects an AprilGrid in the specified images images
,___)images
.
Stereo Pair AprilGrid Detection
detects keypoints of an AprilGrid pattern in a 2-D truecolor or grayscale images
imagePoints
= detectAprilGridPoints(images1
,images2
,patternDims
,tagFamily
)images1
and images2
.
patternDims
specifies the number of tags in the pattern, and
tagFamily
specifies the AprilTag family.
[
detects an AprilGrid pattern in the stereo pairs of image files specified by the image
file names in imagePoints
,pairsUsed
] = detectAprilGridPoints(imageFileNames1
,imageFileNames2
,___)imageFileNames1
and
imageFileNames2
. The function additionally returns a list of the
pairs in which the pattern is detected pairsUsed
.
Optional Arguments
[___] = detectAprilGridPoints(___,
specifies options using one or more name-value arguments in addition to any combination of
arguments from previous syntaxes. For example, Name=Value
)NumBorderBits=1
sets the
number of tag border bits to generate an AprilTag to 1
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024b