Image warning about downscaling for preview?
5 views (last 30 days)
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
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.
Walter Roberson on 28 Apr 2022
Edited: Walter Roberson on 28 Apr 2022
See https://www.mathworks.com/matlabcentral/answers/102829-why-do-i-receive-a-black-preview-window-with-videoinput-preview#answer_112174 for the imaqmex() call
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.