detecting the object and moving the bounding box along the straight line
1 view (last 30 days)
Show older comments
I have the set of OCT image and I have found the tip of the needle. While moving through the slices I can locate the tip and draw a bounding around it. However, when my needle tip get mixed with surrounding data (image59.jpg), it is hard to recognize it. I want to make something that during the initial image, I draw a bounding box of some height and width and then move it slightly down through the images so it can enclose my needle tip.
I already have needle tip segmented in the first image(image53.jpg) and bounding box ready for it. I need a way to move my bounding box down as needle tip is moving down along the straight line
P.S - it will be helpful if I can use RANSAC to move my bounding box down in a straight line.
0 Comments
Answers (1)
Image Analyst
on 7 Sep 2017
Use
hRect = rectangle('Position', [x, y, width, height]);
to place the box, then when it comes time to delete the box so you can place the next one, delete the handle
delete(hRect);
hRect = rectangle('Position', [x, y, width, height]);
0 Comments
See Also
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!