In an upcoming project, we will be integrating a Dalsa Piranha4 RGB+NIR line scan camera. Since we do not yet have the camera available for testing, I was wondering about support for its non-standard pixel formats.
In particular, can we use NSetAsString/NSetAsInteger on the Std::PixelFormat node to set the pixel format to “RGB8+NIR8” or “RGB12+NIR12”?
We will be accessing the pixel data using GetLinearAccess in the native Raw color format. I understand from the Sapera manual that the pixel data for each scan line will be stored as RGBRGBRGB…NNN… (i.e., the first three quarters of the scan line is RGB data, the last quarter is NIR data).