how to detect rectangles in image

2 views (last 30 days)
harrah
harrah on 4 Feb 2013
Given a image with a rectangular flash light, I want to be able to detect the flash light
I'm trying to find a way to detect rectangle, but I'm lost.
If somebody can give me brief step-by-step pointers or advice as to how to approach this problem, it's be appreciated.
Thx in advance!
  1 Comment
Muzafar Pandit
Muzafar Pandit on 4 Feb 2013
I think you can use Hough transform for the said purpose

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 4 Feb 2013
Perhaps corner(), hough(), houghlines(), or else do a web search for "CBIR".

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!