Image warning about downscaling for preview?

3 views (last 30 days)
Happy PhD
Happy PhD on 28 Apr 2022
Edited: Walter Roberson on 28 Apr 2022
Hi, I am using the Image Acquisition app and sometimes I use the preview with gigecam and I am getting the follwing error:
Warning: Images from this device are being downscaled from their full bit depth to 8-bit images. To
preview images in full bit depth, set the values of the 'PreviewFullBitDepth' property to 'on'.
Warning: The videoinput object is not configured for hardware trigger, therefore TriggerMode is being set
to 'Off'.
Any ideas what this is about and how can I remove this warning or avoid downscaling and set the videooutput to 12 bit?
I am not sure how to "set the values of the 'PreviewFullBitDepth' property to 'on'. "? There does not seem to be any explination of how to set it in the documentation.

Answers (1)

Walter Roberson
Walter Roberson on 28 Apr 2022
Edited: Walter Roberson on 28 Apr 2022
The way the documentation is written, I see a hint that maybe it would instead be possible to
himage = preview(OBJ);
setappdata(himage, 'PreviewFullBitDepth', 'on');
but that is not at all certain at the moment.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!