Trouble using the Video and Image Processing Block Set

조회 수: 1 (최근 30일)
Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011년 3월 2일
댓글: Ahmed Kamel 2023년 1월 12일
I have an infrared video of the sky which is .asf format and I have been trying to find the directional vectors of the birds in the sky!!!
Previously when I have posted the same question I have been told by a user to use the Optical Flow Block in the Video and Image Processing Block Set...
I have followed the following steps. a. Loaded the video into the Simulink using "From Multimedia File" block. b. Connected this block to the "Optical Flow" block c. To view the output video I have connected the "Optical Flow" block with "To Video Display" block.
On running I got this error message!!!
Cannot propagate 3-D signal from output port 1 of block 'test2/Optical Flow/In1' to input port 1 of block 'test2/Optical Flow/Optical Flow Estimation'. The latter block does not accept signals with greater than 2 dimensions (either entirely or in its current configuration
Can some one let me know what should I do now ??? Does that mean I shouldn't be using the Optical Flow block for a video ??
  댓글 수: 1
Shahana
Shahana 2011년 10월 7일
you need to change image color space from RGB to intensity, which can be found in source block parameters..

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

채택된 답변

Walter Roberson
Walter Roberson 2011년 3월 3일
I suspect it means that you need to interpose an RGB to Gray conversion step.

추가 답변 (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