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 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