- Image Processing Onramp (free)
- Image Processing for Engineers and Scientists specialization on Coursera (3 courses, free to enroll)
- Computer Vision for Engineering and Science Specialization on Coursera (3 courses, free to enroll)
how to detect circle object on video
2 views (last 30 days)
Show older comments
hi every one , i'm newbi in this field and dont had exprince of working this field or give me good guideline that put me in way that help me achive my goal.... my teacher assing me task that find distance between central two object which are bright and move right of picture.
kindly help me
1 Comment
Cris LaPierre
on 26 Oct 2023
Here are some resources that can help you get started from MathWorks
Accepted Answer
Image Analyst
on 26 Oct 2023
It's a generic, general purpose demo of how to threshold an image to find bright blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.
props = regionprops(mask, 'Centroid');
xyCentroids = vertcat(props.Centroid);
Run this on each image to find the centroids in each image so you get xyCentroids1 and xyCentroids2. You can find the distances between the list of (x,y) centroids in each picture using pdist2 or just the sqrt function.
distances = pdist2(xyCentroids1, xyCentroids2)
0 Comments
More Answers (0)
See Also
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!