Replies: 1 comment
-
Naushir at the RP camera forum answered basically my question: The Bayer compression/decompression algorithm on Pi 5 hardware is visually lossless, i.e. it would be extremely difficult to pick out visual degradation when in use. This is on by default as it saves a large chunk of memory bandwidth and framebuffer allocation. However, it's easy enough to disable this compression entirely and generate the actual Bayer data coming from the camera, shifted left to make a 16-bit sample. This can be done by requesting an "unpacked" pixel format from rpicam-apps or picamera2. The decompression algorithm itself can be found here: So, including some own research: the RP5 uses by default the "compressed" format. This speeds up creating an output image via the
will switch on the normal uncompressed raw format in case of the RP5. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The picamera2 manual has the following section:
So packed RAW formats are described as "visually lossless", and unpacked formats as "bit-exact". Does that mean that packed RAW formats are not bit-exact? That would be an important information for some uses of the picamera2 lib/Pi 5 hardware...
Beta Was this translation helpful? Give feedback.
All reactions