# color measurement and validation on the IMX412 module

Source: https://forum.modalai.com/topic/4721/color-measurement-and-validation-on-the-imx412-module
Category: ESCs, Sensors and Accessories (https://forum.modalai.com/category/15/escs-sensors-and-accessories)
Tags: image-sensor
Posted: 2025-09-01 22:17:26 UTC by Moderator (ModalAI staff)
Replies: 2 · Views: 1186

## Moderator (ModalAI staff) · 2025-09-01 22:17:26 UTC

For color measurement and validation on the IMX412 module we require either: 
1. Direct RAW image output, or

2. An ISP fixed configuration (with all automatic/adaptive functions disabled).

Could you please confirm whether RAW output is available?

## Reply by Moderator (ModalAI staff) · 2025-09-01 22:18:25 UTC

Yes, when MISP is enabled, voxl-camera-server will output a pipe with the suffix _bayer

For IMX412, there should be a pipe named "hires_bayer". That pipe is outputying raw bayer data directly from the sensor

## Reply by Alex Kushleyev (ModalAI staff) · 2025-09-05 03:22:28 UTC (in reply to Moderator)

Please keep in mind that the bayer image may have padding at the end of each row in order to align the line start with 16 or 32 byte boundary. This padding is done by the ISP when it receives the image from the camera.

For example, a number of common raw resolutions have the line stride listed in the `FindFrameSize` function in `voxl-camera-server` source code:

https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/blob/dev/src/hal3_camera_mgr.cpp?ref_type=heads#L4636
