From c74dededfbbfe6db2015b1c8a261b3c5adaa6fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Podgain=C3=B5i?= Date: Thu, 20 Jun 2024 12:07:52 +0200 Subject: [PATCH] Extend documentation to include float conversion --- CHANGELOG.md | 1 + doc/functionality.md | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e83884eb..0465031b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ This changelog aims to follow the guiding principles of - MinMax enabled in OpenCV HAL, float version added. - Resize 4x4 for float. - Resize 0.5x0.5 for uint8_t. +- Conversion from float to (u)int8_t and vice versa. ### Fixed diff --git a/doc/functionality.md b/doc/functionality.md index 483ddb29c..57541bf42 100644 --- a/doc/functionality.md +++ b/doc/functionality.md @@ -49,6 +49,13 @@ See `doc/opencv.md` for details of the functionality available in OpenCV. | BGR-YUV | x | | BGRA-YUV | x | +## Data type conversions +| | u8 | s8 | f32 | +|------------|-----|-----|-----| +| To float32 | x | x | | +| To uint8 | | | x | +| To int8 | | | x | + ## Aggregate operations | | s8 | u8 | s16 | u16 | s32 | u32 | s64 | f32 | |-----------------|-----|-----|-----|-----|-----|-----|-----|-----| -- GitLab