detecting the object and moving the bounding box along the straight line
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Image Analyst
2017년 9월 7일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!