points = detectHarrisFeatures(I)
points = detectHarrisFeatures(I, Name, Value)
| Parameter | Description |
|---|---|
| I | Input grayscale or RGB image. |
| Parameter | Description |
|---|---|
| points | Structure with Location, Metric and Count fields. |
detectHarrisFeatures computes a Harris corner metric, keeps local maxima, sorts them by metric strength, and returns their image coordinates. Supported options are MinQuality, FilterSize, SensitivityFactor and ROI.
I=zeros(64,64); I(18:46,18:46)=1;
points=detectHarrisFeatures(I,'MinQuality',0.05);
figure; imagesc(I); axis image; hold on;
plot(points.Location(:,1),points.Location(:,2),'r+'); title('Harris points');
| Version | Description |
|---|---|
| 2.0.0 | initial version |