How do I solve the issue of Simulink's prescan color display block with only black screen?

67 views (last 30 days)
I'm using Siemens Prescan and Simulink.
While using the Ground Truth sensor, there was a problem because only the black screen, not the camera image, appeared in the simulink color display block.
I checked the camera sensor data value with bus selector and display and it seems to measure the data value normally, but the color display only shows the black screen.
I would appreciate it if you could tell me how to solve it.
  5 Comments
준홍
준홍 on 31 Dec 2024 at 3:03
Thank you.
Data type is 'uint8' all rgb components.
and its range of value is the (min)-inf, (max)inf.
i think that's where the problem occurred.
Additionally, the scene you are looking at with the camera sensor is like the picture. Attached is the picture for smooth understanding.
All objects are just stationary.(not move)
Walter Roberson
Walter Roberson on 3 Jan 2025 at 18:15
uint8 is restricted to the range 0 to 255, so I do not understand how the -inf to +inf was found?

Sign in to comment.

Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!