Shenzhen Chenkun Vision Technology Co.,Ltd.

Rockchip ISP Tuning Guide: RKISP, RK3588, RV1126 and Image Quality Workflow

Table of Content [Hide]

    Integrating a camera sensor with a Rockchip processor involves more than making the sensor stream RAW data. Even after the sensor driver, MIPI CSI interface and media pipeline are working, the initial image may appear dark, green, noisy, oversharpened or unstable under changing lighting.

    These problems are normally addressed through Rockchip ISP tuning. The process calibrates and adjusts the image signal processor for the exact combination of sensor, lens, IR filter, PCB, enclosure and target application.

    A tuning file created for one camera module should not automatically be reused on another module, even when both products use the same sensor. Changes in the lens, color filter, mechanical structure, illumination or sensor batch can affect black level, lens shading, white balance, color accuracy and noise performance.

    This guide explains how RKISP and RkAiq work, how platforms such as RK3588 and RV1126 differ, and how engineers can move from sensor bring-up to a production-ready image-quality configuration.

    What Is Rockchip ISP?

    RKISP is the image signal processing subsystem used in Rockchip camera platforms. It receives image data from a camera sensor and converts the RAW Bayer data into a usable image or video stream.

    The Linux Kernel’s RKISP1 documentation describes an ISP media pipeline containing image-capture paths, resizers, statistics output and parameter-input nodes. Although newer Rockchip vendor SDKs use later ISP generations and different software components, the basic processing concept remains similar.

    A typical Rockchip camera pipeline can include:

    • Camera image sensor;

    • MIPI CSI-2 or parallel camera interface;

    • Rockchip CIF or camera-interface block;

    • RKISP image-processing hardware;

    • RkAiq 3A and image-quality algorithms;

    • IQ configuration file;

    • V4L2 or Android Camera HAL output;

    • Video encoder, display, AI or application pipeline.

    RKISP hardware performs image-processing operations, while RkAiq and userspace algorithms use image statistics to adjust exposure, white balance, focus and other parameters dynamically.

    How the RKISP Image Pipeline Works

    A simplified Rockchip imaging workflow is:

    1. The image sensor captures RAW Bayer data.    The sensor converts light into digital pixel values and sends the stream through MIPI CSI or another supported interface.

    2. The camera interface receives the stream.    The Rockchip camera-input block checks the lane configuration, frame timing, data type and image dimensions.

    3. RKISP processes the RAW image.    The ISP applies black-level correction, lens-shading correction, demosaicing, noise reduction, color processing, gamma, sharpening and other modules.

    4. Statistics are collected.    Exposure, white-balance, focus and histogram statistics are sent to userspace algorithms.

    5. RkAiq updates the parameters.    The algorithms calculate new sensor and ISP settings according to the scene.

    6. The processed frame is delivered.    The final image can be sent to display, encoding, recording, AI inference or an application.

    The ISP statistics and parameter-control loop is important. Capturing frames without the correct 3A service or IQ parameters can produce an image that is technically visible but unsuitable for the final product.

    What Is RkAiq?

    RkAiq is Rockchip’s automatic image-quality framework used with vendor camera SDKs. It coordinates automatic algorithms and ISP parameters according to statistics collected from the camera pipeline.

    Depending on the platform and SDK version, RkAiq may control or assist with:

    • AE: automatic exposure;

    • AWB: automatic white balance;

    • AF: automatic focus;

    • Black-level correction;

    • Lens-shading correction;

    • Color correction;

    • Gamma and tone mapping;

    • Bayer and YUV noise reduction;

    • Sharpness and edge processing;

    • HDR or multi-exposure processing;

    • Dehaze and contrast adjustment;

    • Distortion and geometric correction.

    RkAiq is not a replacement for the sensor driver. The sensor driver must first configure the hardware, output a valid RAW stream and provide the required exposure and gain controls.

    RKISP, RKISP Tuner and RKISP Tuner Tool: What Is the Difference?

    TermMeaningMain Function
    RKISPRockchip image signal processing hardware and driver pipelineProcesses RAW sensor data and outputs usable images
    RkAiqRockchip automatic image-quality frameworkRuns 3A and image-quality control algorithms
    RKISP TunerPC-based calibration and tuning toolCaptures RAW images, calculates calibration data and adjusts ISP parameters
    IQ filePlatform- and module-specific image-quality configurationStores calibrated and tuned ISP parameters
    Tool serverSoftware running on the Rockchip target deviceConnects the device to RKISP Tuner for capture and online tuning

    Someone searching for an “RKISP tuner” may be looking for the PC tuning software, the RkAiq runtime, the IQ configuration file or an engineering service that completes the entire calibration process.

    Rockchip ISP Versions and Platform Differences

    Rockchip uses different ISP generations and camera SDK branches across its processors. The exact software stack must be checked against the official BSP supplied for the target chip and operating system.

    PlatformTypical Camera DirectionImportant Integration Consideration
    RK3588 / RK3588SMulti-camera, high-resolution, AI and edge-computing systemsCommonly associated with ISP30 in current vendor tooling; confirm SDK and camera topology
    RK3566 / RK3568Embedded terminals, industrial devices and general AIoT camerasCommonly associated with ISP21; confirm Linux or Android BSP version
    RV1126 / RV1109AI security, smart vision and low-power camera productsUse the vendor SDK and RkAiq branch supplied for the specific BSP
    RK3399 / RK3399ProEarlier embedded Linux and Android vision systemsMainline and vendor camera stacks can differ significantly
    RK3288Legacy embedded imaging platformsOften associated with the earlier RKISP1 architecture

    Do not select an IQ file based only on the processor name. Confirm the following before beginning:

    • Rockchip SoC model;

    • ISP hardware generation;

    • Linux or Android version;

    • Kernel version;

    • Rockchip SDK release;

    • RkAiq version;

    • RKISP Tuner version;

    • Sensor model and operating mode;

    • Lens and camera-module information.

    RK3588 ISP Tuning Considerations

    RK3588 is commonly used in high-performance AI, robotics, video analytics and multi-camera systems. Its camera architecture can be more complex than that of a single-sensor embedded product.

    An RK3588 project may involve:

    • Several MIPI CSI camera inputs;

    • Different image sensors or resolutions;

    • Multiple ISP or virtual-camera paths;

    • Concurrent recording and AI inference;

    • HDR and low-light requirements;

    • High-resolution scaling and cropping;

    • Linux, Android or customized operating systems.

    Before tuning image quality, verify the complete media topology and confirm that each sensor is connected to the intended CSI, CIF and ISP path. A device-tree or media-link error can look like an ISP problem even though the image-quality parameters are not the root cause.

    For an RK3588 project, provide the media-controller topology, sensor driver, device tree, resolution, lane configuration and Rockchip SDK version before requesting Rockchip ISP tuning service.

    RV1126 and RV1109 ISP Tuning Considerations

    RV1126 and RV1109 are commonly used in embedded AI-vision products such as security cameras, smart access devices, monitoring equipment and edge-analysis terminals.

    These projects often place greater emphasis on:

    • Day and night image consistency;

    • Low-light noise control;

    • IR-cut filter switching;

    • Infrared illumination;

    • Wide dynamic range;

    • Face and object-recognition input quality;

    • Power and thermal limitations;

    • Stable 24-hour operation.

    For AI applications, an image that looks visually attractive is not always the image that gives the highest recognition accuracy. Excessive noise reduction may remove texture, while excessive sharpening may introduce false edges.

    The ISP should therefore be tuned together with the intended AI model and operating environment. Day scenes, night scenes, IR illumination, moving people and backlit entrances should all be included in the validation dataset.

    Complete Rockchip ISP Tuning Workflow

    Step 1: Confirm Sensor Driver and Hardware Bring-Up

    ISP tuning should not begin until the camera hardware and sensor driver are stable. The RAW stream must have the correct resolution, Bayer order, bit depth, frame rate and exposure control.

    Check:

    • Sensor ID detection;

    • I2C communication;

    • Clock frequency;

    • Power and reset sequence;

    • MIPI lane count and link frequency;

    • RAW data type and Bayer pattern;

    • Exposure and gain ranges;

    • Frame timing;

    • Temperature and power stability.

    If the camera cannot stream, drops frames or produces corrupted RAW data, use camera sensor driver support before starting image-quality calibration.

    Step 2: Lock the Camera Module Configuration

    The sensor, lens, IR filter, aperture and enclosure window should be fixed before formal calibration. Changing the lens after lens-shading or color calibration can invalidate the result.

    Record:

    • Sensor model and lot;

    • Lens model;

    • F-number;

    • Focal length and FOV;

    • IR-cut filter specification;

    • Module orientation;

    • Enclosure window material;

    • Expected production tolerances.

    Step 3: Build the Tuning Environment

    A repeatable tuning environment normally requires more than a camera and a monitor.

    EquipmentTypical Purpose
    Calibrated light boxAWB, color, noise and exposure testing under multiple illuminants
    24-patch color chartWhite-balance and color-correction calibration
    Uniform diffuser or integrating surfaceLens-shading calibration
    Dark enclosure or lens capBlack-level and dark-noise capture
    Resolution chartSharpness, MTF and edge evaluation
    Gray-scale chartTone response, gamma and noise calibration
    Checkerboard or geometric chartDistortion, FEC or LDCH calibration
    Lux meter and color meterRecord illumination and color-temperature conditions

    The RKISP2.x tuning deployment guide also describes RAW capture, calibration tools, IQ files and common chart requirements for Rockchip tuning workflows.

    Step 4: Generate or Load the Base IQ File

    The IQ file stores the calibrated and tuned parameters for the sensor and module. Its format and naming can depend on the Rockchip platform, SDK and RkAiq version.

    Confirm that the device loads the intended IQ file. On some Rockchip systems, the IQ file name is derived from the sensor name, camera-module name and lens name defined in the device tree.

    A common failure is tuning one file while the runtime loads another file. Always confirm the active file through logs before judging the image.

    Step 5: Capture RAW Calibration Images

    RAW captures should be taken under controlled and recorded conditions. Depending on the module, captures may include:

    • Dark frames across multiple gain levels;

    • Uniform images for lens-shading calibration;

    • Color-chart images under several color temperatures;

    • Gray charts at different exposure levels;

    • Noise charts across the ISO or gain range;

    • HDR scenes with bright and dark regions;

    • Focus charts at defined working distances.

    Each RAW file should be labeled with sensor mode, gain, exposure time, color temperature, lux level, lens and module ID.

    Step 6: Complete Basic Calibration

    Calibration should normally begin with modules that affect later processing stages.

    A practical sequence may include:

    1. Black-level correction;

    2. Defective-pixel correction;

    3. Lens-shading correction;

    4. White-balance calibration;

    5. Color-correction matrix calibration;

    6. Noise profiling;

    7. Geometric or lens-distortion calibration;

    8. Autofocus calibration where applicable.

    Incorrect black-level data can affect color, noise and tone calculations, so later modules should not be finalized until the basic RAW calibration is stable.

    Step 7: Tune Automatic Algorithms

    After the static calibration data is established, tune AE, AWB and AF across the required scene range.

    Test transitions, not only stable scenes. A camera may look correct after several seconds but still produce visible brightness jumps, color oscillation or repeated focus hunting when the environment changes.

    Step 8: Tune Image Quality

    Adjust noise reduction, sharpness, contrast, gamma, tone mapping, saturation and other subjective modules according to the application.

    The best-looking image on a computer monitor may not be the best image for:

    • Face recognition;

    • License-plate recognition;

    • Barcode detection;

    • Defect inspection;

    • Night surveillance;

    • Video compression;

    • Automotive viewing.

    Step 9: Validate the Final Product

    Validation should be completed on multiple camera modules and final devices, not only on the engineering sample used during tuning.

    Test:

    • Different sensor and lens samples;

    • Temperature variation;

    • Daylight and artificial lighting;

    • Low light and IR mode;

    • Backlight and HDR scenes;

    • Moving objects;

    • Long-term streaming;

    • Power cycling;

    • Production firmware and final enclosure.

    Black-Level Correction

    Image sensors can produce a nonzero output even when no light reaches the pixels. Black-level correction estimates and subtracts this offset before later image-processing stages.

    The black level may vary with:

    • Analog gain;

    • Sensor temperature;

    • Exposure mode;

    • Sensor operating mode;

    • Power noise.

    Symptoms of incorrect black-level calibration include:

    • Crushed shadow detail;

    • Raised gray blacks;

    • Color casts in dark scenes;

    • Incorrect noise profiles;

    • Unstable low-light color.

    Lens-Shading Correction

    Lens shading causes brightness and color variation between the image center and corners. The effect depends on the sensor, lens, chief-ray angle, IR filter and module construction.

    Lens-shading calibration usually uses a uniform illuminated surface. The correction should be verified at relevant color temperatures and focus positions.

    Overcorrection can create bright corners, color rings or visible noise amplification. Under-correction leaves dark or color-shifted corners.

    Automatic Exposure Tuning

    AE determines exposure time, analog gain and sometimes digital gain according to scene brightness and the product’s target response.

    AE tuning should define:

    • Target brightness;

    • Exposure and gain limits;

    • Flicker avoidance for 50Hz and 60Hz lighting;

    • Highlight protection;

    • Face or region weighting;

    • Day-to-night transition behavior;

    • Convergence speed;

    • Anti-oscillation logic.

    A security camera may prioritize visible faces in a backlit entrance, while an industrial camera may prioritize short exposure to prevent motion blur.

    Automatic White Balance and Color Tuning

    AWB estimates the color of the light source and adjusts channel gains to make neutral objects appear neutral.

    AWB must be tested under multiple illuminants, including daylight, warm indoor light, fluorescent light and mixed lighting. A camera calibrated only under one lamp may show color casts in real environments.

    Color tuning also includes the color-correction matrix, saturation, hue and skin-tone behavior. The desired result depends on the application:

    • Consumer products may prefer visually pleasing color;

    • Industrial systems may prioritize repeatability;

    • Retail imaging may require accurate packaging color;

    • AI systems may need consistent rather than highly saturated images;

    • Medical prototypes may require controlled, application-specific validation.

    Autofocus Tuning

    AF tuning involves the lens actuator, focus metric, search strategy, working distance and scene content.

    Typical AF problems include:

    • Slow focus convergence;

    • Repeated focus hunting;

    • Failure in low light;

    • Focusing on the background instead of the target;

    • Unstable focus during zoom or movement;

    • Incorrect lens-position limits.

    Fixed-focus camera modules do not require continuous AF algorithms, but their lens position and depth of field still need mechanical and optical validation.

    Noise Reduction and Sharpness Tuning

    Low-light tuning requires a balance between noise removal and detail retention.

    Excessive noise reduction can:

    • Remove hair and skin texture;

    • Blur text and labels;

    • Reduce AI recognition features;

    • Create motion trails or ghosting;

    • Produce a plastic-looking image.

    Insufficient noise reduction can:

    • Increase grain and chroma noise;

    • Reduce compression efficiency;

    • Create false AI features;

    • Make dark areas unstable.

    Sharpness should be tuned after the noise profile is stable. Excessive edge enhancement can create halos, double edges and false texture.

    HDR and Tone-Mapping Tuning

    HDR tuning aims to preserve detail in bright and dark areas of the same scene. The final performance depends on sensor capability, exposure ratio, motion, ISP hardware and algorithm implementation.

    Evaluate:

    • Highlight clipping;

    • Shadow noise;

    • Motion ghosting;

    • Exposure transitions;

    • Local contrast;

    • Color consistency between exposures;

    • LED flicker;

    • Face visibility in backlight.

    Do not describe a product as HDR-ready based only on the processor. The sensor mode, driver, IQ configuration and actual scene testing must all support the required result.

    Common Rockchip ISP Tuning Problems

    Image ProblemPossible CauseRecommended Check
    Green or purple imageWrong Bayer order, AWB, CCM or RAW formatConfirm sensor format, media links and IQ file
    Image is very dark3A service not running, incorrect exposure range or wrong IQ fileCheck RkAiq logs, exposure controls and active configuration
    Brightness oscillatesAE convergence or flicker-control issueReview target brightness, weighting and anti-flicker settings
    Color changes repeatedlyAWB instability or mixed-light detection problemTest AWB regions, thresholds and transition logic
    Dark cornersMissing or incorrect lens-shading calibrationRecalibrate with the final lens and IR filter
    Low-light image is smearedExcessive 3D noise reduction or long exposureBalance exposure, lighting and temporal NR
    Strong sharpening halosExcessive edge enhancementReduce sharpening after NR is finalized
    Tuner changes do not affect imageWrong IQ file, failed tool-server connection or runtime overrideConfirm logs, tool connection and active sensor profile
    Camera streams without ISP but fails through ISPMedia topology, format or ISP input mismatchInspect media graph, Bayer format, resolution and crop settings

    If the RAW stream itself is abnormal, additional camera sensor debugging may be required before changing ISP parameters.

    What Information Is Required for a Rockchip ISP Tuning Project?

    Provide the following information before starting:

    • Rockchip processor model;

    • Linux or Android operating system;

    • Kernel and SDK version;

    • RkAiq and RKISP Tuner versions;

    • Camera sensor model;

    • Sensor driver source code;

    • Device-tree files;

    • Camera schematic;

    • Lens and IR-filter specifications;

    • Resolution, frame rate and HDR mode;

    • Target application;

    • Target scenes and lighting conditions;

    • Current IQ file;

    • RAW sample images;

    • Description of current image problems.

    Projects that have not yet selected a sensor or module can also evaluate a MIPI camera module according to the Rockchip platform, resolution, lens, interface and enclosure requirements.

    Rockchip ISP Tuning Deliverables

    A complete project may include:

    • Calibrated IQ configuration file;

    • Sensor- and lens-specific calibration data;

    • AE, AWB and AF parameter optimization;

    • Noise-reduction and sharpness profiles;

    • HDR or low-light configuration where supported;

    • Before-and-after image samples;

    • Test-scene records;

    • Image-quality evaluation report;

    • Integration notes;

    • Production verification support.

    The exact output format may be XML, JSON, binary profiles or other files depending on the Rockchip SDK and RkAiq version.

    Frequently Asked Questions

    What is RKISP Tuner?

    RKISP Tuner is a Rockchip image-quality calibration and tuning tool. It can connect to a supported Rockchip device, capture RAW images, calculate calibration parameters and adjust ISP modules. The exact version must match the target ISP generation and SDK.

    What is the difference between RKISP and RkAiq?

    RKISP refers to the image-processing hardware and driver pipeline. RkAiq is the userspace image-quality framework that uses ISP statistics to control exposure, white balance, focus and other parameters.

    Does RK3588 use the same IQ file as RV1126?

    No. Different processors can use different ISP generations, SDKs, RkAiq versions and IQ-file formats. A configuration should be created and validated for the exact processor, sensor, lens and software branch.

    Can one IQ file be used for every module with the same sensor?

    It is not recommended. Lens shading, color response, focus, IR filtering and production variation can change between modules. At minimum, the file should be validated with the final lens, sensor mode and mechanical design.

    Why does the camera look green before tuning?

    A green image can result from incorrect Bayer order, missing white balance, an incorrect color matrix or processing RAW data without the intended 3A and ISP parameters. The sensor format and active IQ file should be checked first.

    Should ISP tuning start before the sensor driver is complete?

    No. The driver should provide a stable RAW stream with correct exposure, gain, Bayer format, resolution and frame timing. Driver or hardware faults cannot be reliably corrected through ISP tuning.

    What equipment is required for ISP tuning?

    A professional setup commonly includes a controlled light box, color chart, uniform light source, gray chart, resolution chart, dark enclosure, lux meter and geometric calibration chart. The exact equipment depends on the required ISP modules.

    How do I choose between RK3588 and RV1126 for a camera project?

    Selection depends on camera count, resolution, AI performance, power, video encoding, cost and software requirements. ISP tuning is required after the processor and camera architecture are selected; it does not replace platform selection.

    Can ISP tuning improve AI recognition?

    It can improve the consistency and usability of the image input by controlling exposure, noise, color, contrast and sharpness. However, the final recognition performance should be verified with the actual AI model and dataset.

    Can Rockchip ISP tuning fix a broken MIPI stream?

    No. Frame corruption, lane errors, missing data or sensor detection failures are normally hardware, driver, clock, power or MIPI configuration issues. These problems should be resolved before image-quality tuning.

    Conclusion

    Rockchip ISP tuning is a structured engineering process rather than a simple adjustment of brightness, contrast and saturation. A production-ready result requires stable sensor bring-up, controlled RAW capture, calibration, 3A tuning, noise and color optimization, and validation on the final product.

    RK3588, RK356x, RV1126, RV1109 and earlier Rockchip processors can use different ISP generations and software branches. The tuning tool, RkAiq runtime and IQ configuration must match the actual Rockchip SDK.

    For a Rockchip camera evaluation, provide CK Vision with the processor, operating system, SDK, sensor, driver, device tree, lens, target scenes and current RAW samples. The engineering team can then determine whether the project requires sensor-driver adaptation, camera debugging, ISP calibration, image-quality tuning or a complete camera-development workflow.

    References
    PREV: No information