MATLAB Answers

Object detection with blob analysis

14 views (last 30 days)
Summit
Summit on 10 Jul 2015
Commented: Selva Karna on 13 Sep 2017
Hi,
Is it possible to detect a moving object with the stable rectangular shape? I have a RC car running on running machine, and I have a camera mounted on top of the RC car so it can monitor the car as Bird's point of view. I've tried to detect with blob analysis but when car moves(changing rail left to right or vice versa), it seems that the shape of rectangular gets disturbed; it is not stable and there are some noises Is there any way that I can detect an object in this project by defining a certain area of object so it remains the same shape?
Thanks in advance.
Regard,

  0 Comments

Sign in to comment.

Answers (1)

Richa Gupta
Richa Gupta on 16 Jul 2015
Hi Summit,
It is possible to detect a moving object with a stable rectangular shape. You can achieve this using morphological operations and Hough Transform.
Morphology is a broad set of image processing operations that process images based on shapes. Here is a link for more information on these operations:
You can use some of these functions to remove noise from the image, for example, " imerode ", " imdilate ", and ' regionprops '. By choosing the size and shape of the neighborhood, you can construct a morphological operation that is sensitive to specific shapes in the input image.
MATLAB also provides “ hough ” function that implements the Standard Hough Transform (SHT). This function can detect shapes which can be represented using parametric equations.
In the cases where the shape cannot be represented parametrically (using an analytical function), you can use Generalized Hough Transform (GHT). An implementation of GHT can be found on MATLAB File Exchange. Here is the link to the submission:
Hope this helps.
Richa

  1 Comment

Selva Karna
Selva Karna on 13 Sep 2017
Hi Richa Gupta, possible to remove selected moving object , from video ?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!