M-File Help: ScalePointFeature | View code for ScalePointFeature |
ScalePointCorner feature object
A subclass of PointFeature for features with scale.
plot | Plot feature position |
plot_scale | Plot feature scale |
distance | Descriptor distance |
ncc | Descriptor similarity |
uv | Return feature coordinate |
display | Display value |
char | Convert value to string |
u | horizontal coordinate |
v | vertical coordinate |
strength | feature strength |
scale | feature scale |
descriptor | feature descriptor (vector) |
Properties of a vector of ScalePointFeature objects are returned as a vector. If F is a vector (Nx1) of ScalePointFeature objects then F.u is a 2xN matrix with each column the corresponding point coordinate.
PointFeature, SurfPointFeature, SiftPointFeature
Create a scale point feature object
f = ScalePointFeature() is a point feature object with null parameters.
f = ScalePointFeature(u, v) is a point feature object with specified coordinates.
f = ScalePointFeature(u, v, strength) as above but with specified strength.
f = ScalePointFeature(u, v, strength, scale) as above but with specified feature scale.
Plot feature scale
F.plot_scale(options) overlay a marker at the feature position.
F.plot_scale(options, ls) as above but the optional line style arguments ls are passed to plot.
If F is a vector then each element is plotted.
'circle' | Indicate scale by a circle (default) |
'disk' | Indicate scale by a translucent disk |
'color', C | Color of circle or disk (default green) |
'alpha', A | Transparency of disk, 1=opaque, 0=transparent (default 0.2) |
© 1990-2012 Peter Corke.