Is it possible to get GRAY8 image frames from Infrared Stream?


In SimpleStreamViewer sample in order to get IR images, ASTRA_PIXEL_FORMAT_GRAY16 is used. Is it possible to get GRAY8 from the InfraredStream?

There is only astra::InfraredFrame16 class, so I created my own InfraredFrame8 class and tried to use frame.get(), and I received invalid frames. Is there any other InfraredFrame with Gray8 format, and if not, why there is ASTRA_PIXEL_FORMAT_GRAY8? How can I use it?