Image warning about downscaling for preview?

7 ビュー (過去 30 日間)
Happy PhD
Happy PhD 2022 年 4 月 28 日
編集済み: Walter Roberson 2022 年 4 月 28 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 4 月 28 日
編集済み: Walter Roberson 2022 年 4 月 28 日
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.

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by