# how to detect corner in a digital image using MATLAB? [closed]

I am designing an algorithm for image processing. I am using MATLAB for the processing of the images(video). How I can detect the position of the corners in the image?

• You realize that the first result google finds for "matlab corner detection" is a command called corner? – Niki Estner Oct 10 '14 at 22:41

In the case of video, the best approach to use is the ShiTomasi Corner Detector. (detectMinEigenFeatures). Now, if you want to detect corners that contains some invariant featrues, you should use SURF, BRISK, ORG, AKAZE, FREAK, etc...
im = rgb2gray(imread('image.jpg'));

There is a function corner in the Image Processing Toolbox. There are several functions for detecting different types of corners in the Computer Vision System Toolbox: detectHarrisFeatures, detectMinEigenFeatures, and detectFASTFeatures.