필터 지우기
필터 지우기

Draw a box around moving object

조회 수: 1 (최근 30일)
Nataliya
Nataliya 2015년 6월 17일
댓글: Image Analyst 2015년 6월 17일
Hello, I am detecting the moving area of an object (e.g. moving pendulum of the clock) by subtracting one frame of the video to other. Now I want to draw a box around moving object and find the coordinates so that I can separate the moving part from the frame. Can anyone help me, How can I do this. Thanks in advance.

채택된 답변

Image Analyst
Image Analyst 2015년 6월 17일
It's very similar to my color tracking application. I just put a cross on the region with plot(x,y,'+') whereas you'd put up a box with the rectangle() function. See attached demo.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by