Code covered by the BSD License  

Highlights from
Feature Detection

Be the first to rate this file! 47 Downloads (last 30 days) File Size: 2.25 KB File ID: #29703

Feature Detection

by GAGAN

 

14 Dec 2010 (Updated 22 Apr 2011)

This function can be used for corner and edge detection for any RGB or grayscale image.

| Watch this File

File Information
Description

Feature detection is an importatnt aspect of any image or video processing application. The given code can be used for detecting cornera and edges in a RGB or grayscale image.It is based upon the famous paper on the topic titled "A Combined Corner and Edge Detector" by Harris and stephens.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
22 Apr 2011 Tolga Birdal

Hey Gagan,

Good submission. Simple to read.

Here are my quick recommendations:

1) For color images, the tensor is specified in a different manner. Precisely as,

T=[

Rx.^2 + Gx.^2 + Bx.^2 RxRy + GxGy + BxBy
RxRy + GxGy + BxBy Ry.^2 + Gy.^2 + By.^2

]

(Of course don't forget the channels are gaussian smoothed).

Here are 2 references:
http://lear.inrialpes.fr/people/vandeweijer/papers/cic04.pdf

ftp://ftp.diku.dk/diku/image/publications/riber.000413/Gradient_norm_of_multichannel_images.html

2) For such a tensor, there is analytical solution to the eigenvalues and eigenvectors. Probably you could also make use of that (for speed and accuracy). The references above include that as well.

Congrats,
Bests,

23 Apr 2011 GAGAN

Thank you Tolga.

Please login to add a comment or rating.
Updates
14 Mar 2011

Added new tags.

22 Apr 2011

Added new tags.

Tag Activity for this File
Tag Applied By Date/Time
feature detction GAGAN 14 Dec 2010 08:45:32
edge detection GAGAN 14 Dec 2010 08:45:32
point detection GAGAN 14 Dec 2010 08:45:32
corner detection GAGAN 14 Dec 2010 08:45:32
edge GAGAN 14 Dec 2010 08:45:32
point GAGAN 14 Dec 2010 08:45:32
corner GAGAN 14 Dec 2010 08:45:32
detection GAGAN 14 Dec 2010 08:45:32
harris and stephens GAGAN 14 Dec 2010 08:45:32
feature detction matlab GAGAN 14 Dec 2010 08:45:32
corner matlab GAGAN 14 Dec 2010 08:45:32
point detection matlab GAGAN 14 Dec 2010 08:45:32
corner detection matlab GAGAN 14 Dec 2010 08:45:32
point matlab GAGAN 14 Dec 2010 08:45:32
edge detection matlab GAGAN 14 Dec 2010 08:45:32
edge matlab GAGAN 21 Dec 2010 11:51:47
matlab GAGAN 21 Dec 2010 11:51:47
detection matlab GAGAN 21 Dec 2010 11:51:47
psnr khamis 08 Jan 2011 11:06:14
edge ma GAGAN 14 Mar 2011 15:36:12

Contact us at files@mathworks.com