diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e83884eb49cafbfdf9d0e7a87092106328d11c7..0465031b94a154bd5ff823d4792f53ea838555b9 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 483ddb29cd3bc2641136db8fe1719ac37c6cba4c..57541bf422491bc65eabcc70708ca6942e6d37cb 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 | |-----------------|-----|-----|-----|-----|-----|-----|-----|-----|