Requires descriptors computation
[descriptors, keylines] = obj.compute(img, keylines)
[descriptors, keylines] = obj.compute(imgs, keylines)
Input
- img Input image (first variant), 8-bit grayscale.
- imgs Image set (second variant), cell array of images.
- keylines Input collection of keylines containing lines for
which descriptors must be computed. In the first variant, this
is a struct-array of detected lines. In the second variant, it
is a cell-array, where
keylines{i}
is a set of lines
detected in imgs{i}
.
Output
- descriptors Computed descriptors. In the second variant of
the method
descriptors{i}
are descriptors computed for a
keylines{i}
. Row j
in descriptors
(or descriptors{i}
)
is the descriptor for j
-th keypoint.
- keylines Optional output with possibly updated keylines.
Options
- ReturnFloatDescr flag (when set to true, original
non-binary descriptors are returned). default false