Code covered by the BSD License  

Highlights from
Feature Detection

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

Feature Detection


GAGAN (view profile)


14 Dec 2010 (Updated )

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

| Watch this File

File Information

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   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
12 Dec 2012 ragy atef

how for video if u plz

Comment only
23 Apr 2011 GAGAN

GAGAN (view profile)

Thank you Tolga.

Comment only
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,


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:

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.


Comment only
14 Mar 2011

Added new tags.

22 Apr 2011

Added new tags.

Contact us