Object detection with blob analysis
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Richa Gupta
2015-7-16
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!