필터 지우기
필터 지우기

how to identify the change in frames?

조회 수: 3 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013년 2월 27일
consider there are 12 frames. first 5 frames indicates same operation and remaining 7 frames indicates different operation. i have to form 2 groups. how to achieve this?

채택된 답변

Youssef  Khmou
Youssef Khmou 2013년 2월 27일
hi,
you can use the gradient operator to identify the movement , but if the frames are very static then you can use elementary operations to identify the changing, but that also depends on the situation, is it offline operations or real time :
You can construct a loop through which you compute the Norm of the differences between each two consecutive frames :
tolerance =rand(1) ; % to identify from Tunning measurments
for iter=1:N-1
Diff=norm2(Frame(i+1)-Frame(i));....
Or simply you can compute the absolute differences without a loop and sort the vector result then compute its First derivative , and take the Max index of the derivative ; that index is the separating point between the two groups .
Without mentioning that there are sophisticated ways to do the task like the " Support Vector Machine " .
  댓글 수: 1
Youssef  Khmou
Youssef Khmou 2013년 2월 27일
편집: Youssef Khmou 2013년 2월 27일
try using norm or norm2 , look at the description of them both,

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

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by