ESP-Image-Effects Component

[中文]

Note

This document is automatically translated using AI. Please excuse any detailed errors. The official English version is still in progress.

Overview

ESP-Image-Effects is an image processing engine developed by Espressif Systems, integrating basic functions such as rotation, color space conversion, scaling, and cropping. As one of the core components of the Espressif audio and video development platform, the ESP-Image-Effects module has deeply restructured the underlying algorithms, combined with efficient memory management and hardware acceleration, achieving high performance, low power consumption, and low memory occupancy. In addition, each image processing function adopts a consistent API architecture design, reducing the learning cost for users and facilitating rapid development. This engine is widely used in the Internet of Things, smart cameras, industrial vision, and other fields.

Features

Image Color Conversion

  • Supports any input resolution

  • Supports bypass mode with the same input/output format

  • Supports BT.601/BT.709/BT.2020 color space standards

  • Supports fast color conversion algorithms for format and resolution

  • Comprehensive format support matrix:

Color Conversion Format Support

Input Format

Supported Output Formats

RGB/BGR565_LE/BE RGB/BGR888

RGB565_LE/BGR/RGB565_LE/BE RGB/BGR888 YUV_PLANAR/PACKET YUYV/UYVY O_UYY_E_VYY/I420

ARGB/BGR888

RGB565_LE/BGR/RGB565_LE/BE RGB/BGR888 YUV_PLANAR O_UYY_E_VYY/I420

YUV_PACKET/UYVY/YUYV

RGB565_LE/BGR/RGB565_LE/BE RGB/BGR888 O_UYY_E_VYY/I420

O_UYY_E_VYY/I420

RGB565_LE/BGR/RGB565_LE/BE RGB/BGR888 O_UYY_E_VYY

Image Rotation

  • Supports bypass mode

  • Supports any input resolution

  • Supports clockwise rotation at any angle

  • Supports ESP_IMG_PIXEL_FMT_Y/RGB565/BGR565/RGB888/BGR888/YUV_PACKET formats

  • Supports fast clockwise rotation algorithms for specific angles, formats, and resolutions

Image Scaling

  • Supports bypass mode

  • Supports any input resolution

  • Supports up-sampling and down-sampling operations

  • Supports ESP_IMG_PIXEL_FMT_RGB565/BGR565/RGB888/BGR888/YUV_PACKET formats

  • Supports various filtering algorithms: optimized down-sampling and bilinear interpolation

Image Cropping

  • Supports bypass mode

  • Supports any input resolution

  • Supports up-sampling and down-sampling operations

  • Supports flexible area selection

  • Supports ESP_IMG_PIXEL_FMT_Y/RGB565/BGR565/RGB888/BGR888/YUV_PACKET formats

Performance

The ESP-Image-Effects component has completed performance testing under 1080P. For specific performance data, please refer to the ESP32-P4 Performance Document. This component adopts efficient memory management and hardware acceleration technologies to achieve high performance, low power consumption, and low memory occupancy.