detectBRISKFeatures

Detect BRISK features and return BRISKPoints object

Syntax

  • points = detectBRISKFeatures(I)
  • points = detectBRISKFeatures(I,Name,Value)

Description

points = detectBRISKFeatures(I) returns a BRISKPoints object, points. The object contains information about BRISK features detected in a 2-D grayscale input image, I. The detectBRISKFeatures function uses a Binary Robust Invariant Scalable Keypoints (BRISK) algorithm to detect multiscale corner features.

points = detectBRISKFeatures(I,Name,Value) uses additional options specified by one or more Name,Value pair arguments.

Code Generation Support:
Supports MATLAB Function block: No
Generated code for this function uses a precompiled platform-specific shared library.
Code Generation Support, Usage Notes, and Limitations

Examples

expand all

Detect BRISK Points in an Image and Mark Their Locations

Read the image.

  I = imread('cameraman.tif');

Find the BRISK points.

  points = detectBRISKFeatures(I);

Display the results.

  imshow(I); hold on;
  plot(points.selectStrongest(20));

Input Arguments

expand all

I — Input imageM-by-N 2-D grayscale image

Input image, specified in 2-D grayscale. The input image must be real and nonsparse.

Example:

Data Types: single | double | int16 | uint8 | uint16 | logical

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'MinQuality',0.1,'ROI', [50,150,100,200] specifies that the detector must use a 10% minimum accepted quality of corners within the designated region of interest. This region of interest is located at x=50, y=150. The ROI has a width of 100 pixels and a height of 200 pixels.

'MinContrast' — Minimum intensity difference0.2 (default) | scalar

Minimum intensity difference between a corner and its surrounding region, specified as the comma-separated pair consisting of 'MinContrast' and a scalar in the range (0 1). The minimum contrast value represents a fraction of the maximum value of the image class. Increase this value to reduce the number of detected corners.

'MinQuality' — Minimum accepted quality of corners0.1 (default) | scalar

Minimum accepted quality of corners, specified as the comma-separated pair consisting of 'MinQuality' and a scalar value in the range [0,1]. The minimum accepted quality of corners represents a fraction of the maximum corner metric value in the image. Increase this value to remove erroneous corners.

'NumOctaves' — Number of octaves4 (default) | scalar

Number of octaves to implement, specified as a comma-separated pair consisting of 'NumOctaves' and an integer scalar, greater than or equal to 0. Increase this value to detect larger blobs. Recommended values are between 1 and 4. When you set NumOctaves to 0, the function disables multiscale detection. It performs the detection at the scale of the input image, I.

'ROI' — Rectangular region[1 1 size(I,2) size(I,1)] (default) | vector

Rectangular region for corner detection, specified as a comma-separated pair consisting of 'ROI' and a vector of the format [x y width height]. The first two integer values [x y] represent the location of the upper-left corner of the region of interest. The last two integer values represent the width and height.

Output Arguments

expand all

points — Brisk pointsBRISKPoints object

Brisk points, returned as a BRISKPoints object. The object contains information about the feature points detected in the 2-D grayscale input image.

References

[1] Leutenegger, S., M. Chli and R. Siegwart. "BRISK: Binary Robust Invariant Scalable Keypoints", Proceedings of the IEEE International Conference, ICCV, 2011.

Was this topic helpful?