필터 지우기
필터 지우기

writing/playing images/frames back to video.

조회 수: 2 (최근 30일)
pranith kumar
pranith kumar 2016년 5월 2일
댓글: pranith kumar 2016년 5월 3일
My code has something like shown below.
hold on
for
indices=1:length(tracking)
box=tracking(indices).BoundingBox;
plot(tracking(indices).Centroid(1),tracking(indices).Centroid(2),'y*');
text(v3(:,1)+20,v3(:,2)-20,num2str(r),'Color','white');
rectangle('position',box,'Edgecolor','red','LineWidth',2);
end
hold off
this hold on-hold off method wont let my video play at normal frame rate.
Please provide me a way to save these images back into another video ALONG WITH the plots,text on it. (hoping to use getframe somehow.)
Thanks in advance.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 5월 2일
  댓글 수: 1
pranith kumar
pranith kumar 2016년 5월 3일
These give me images after inserting shapes i mention.I want to save the images which I already have plotted . And also how do I write all these images together as a one video file.
Thankyou.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by