CornerFilter

CornerFilter[image]
computes a measure for the presence of a corner for each pixel in image and returns the result as an intensity image.

CornerFilter[image, r]
detects corners at a pixel range r.

Details and OptionsDetails and Options

  • CornerFilter implements a variety of corner detection methods based on gradient computations.
  • CornerFilter works with arbitrary grayscale and color images.
  • When applied to multichannel images, CornerFilter finds corner signatures across channels.
  • CornerFilter[image] is equivalent to CornerFilter[image, 2].
  • CornerFilter[image, {r1, r2}] specifies different radii in vertical and horizontal directions.
  • CornerFilter takes a Method option that specifies how to compute the corner metric. The default setting is . Available methods include:
  • "HarmonicMean"harmonic mean of eigenvalues method
    "HarrisStephens"Harris-Stephens corner detection
    {"HarrisStephens",k}Harris-Stephens method with sensitivity parameter k
    "ShiTomasi"minimum eigenvalue method
  • By default, the Harris-Stephens method uses a sensitivity parameter k=0.05.
  • The parameters of the Gaussian derivatives to be computed can be specified by an option setting . The default setting is .

ExamplesExamplesopen allclose all

Basic Examples (4)Basic Examples (4)

Find small-scale corners in an image:

In[1]:=
Click for copyable input
Out[1]=

Large-scale corners:

In[1]:=
Click for copyable input
Out[1]=

Find corners in text:

In[1]:=
Click for copyable input
Out[1]=

Use a rectangular pixel range:

In[1]:=
Click for copyable input
Out[1]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »