Object detection with blob analysis
7 visualizaciones (últimos 30 días)
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.
Richa Gupta el 16 de Jul. de 2015
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.