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

5 visualizzazioni (ultimi 30 giorni)
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 Commenti
Noma
Noma il 9 Ago 2016
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 il 9 Ago 2016
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'.

Accedi per commentare.

Risposta accettata

Swarooph
Swarooph il 9 Ago 2016
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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by