Help me display my images? Simulink's Video Viewer block shows a black Image when using default settings and Matlab examples

5 ビュー (過去 30 日間)
I am currently trying to run the example for Correct Nonuniform Illumination in Simulink. I obtained the following images after running the example in the link below. Do you have an idea what's wrong?
  3 件のコメント
Noma
Noma 2016 年 8 月 9 日
Yes this is ex_vision_correct_uniform run on MAtlab 2016a.
I checked some Simulink examples that use the Video Viewer from the Computer Vision toolbox and they seem to work. Maybe I have a parameter wrong.
Noma
Noma 2016 年 8 月 9 日
This is the warning it is giving:
Wrap on overflow detected at time 0 in 'ex_vision_correct_uniform/Sum1'. Suppressing additional wrap on overflow warnings and continuing simulation. You can suppress this message by setting 'Configuration Parameters > Diagnostics > Data Validity > Wrap on overflow' parameter to 'none'.

サインインしてコメントする。

採用された回答

Swarooph
Swarooph 2016 年 8 月 9 日
You say 'Maybe I have a parameter wrong.' Did you change anything in the model before running it?
FWIW, I see the same behavior in MATLAB R2016a with respect to the black windows but NOT the overflow errors. However changing the sample time of the Image From File block from Inf to something discrete like 0.1 gives the expected result.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by