Image warning about downscaling for preview?
4 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Walter Roberson
2022-4-28
编辑:Walter Roberson
2022-4-28
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!