Skip to main content

Overview

Description

The DRP library is a set of configured firmware ‘tiles’ with various functions. By loading the firmware into the DRP, these functions can be processed in hardware.

Features

  • The DRP library can enable functions to be processed many times faster than can be achieved by traditional CPU processing. Therefore, it can speed up a whole system.
  • Firmware can be dynamically loaded into the DRP. It is possible to exchange each function in hardware during system operation. Loading takes a few hundred microseconds.
  • Renesas provides a DRP driver that can easily control loading and execution using the firmware. This driver makes it easy to use the DRP library in your solution.

Target Devices

Support

Support Communities

Support Communities

Get quick technical support online from Renesas Engineering Community technical staff.
Browse Articles

Knowledge Base

Browse our knowledge base for helpful articles, FAQs, and other useful resources.
Submit a Ticket

Submit a Ticket

Need to ask a technical question or share confidential information?

Additional Details

What is Dynamically Reconfigurable Process (DRP) Library?

  • The DRP library is a set of configured firmware 'tiles' with various functions.
    By loading the firmware into the DRP, these functions can be processed in hardware.

Advantages of the DRP Library

  • The DRP library can enable functions to be processed many times faster than can be achieved by traditional CPU processing. Therefore, it can speed up a whole system.
  • Firmware can be dynamically loaded into the DRP. It is possible to exchange each function in hardware during system operation. Loading takes a few hundred microseconds.
  • Renesas provides a DRP driver that can easily control loading and execution using the firmware. This driver makes it easy to use the DRP library in your solution.

DRP Basic Sample Programs

RZ/A2M FreeRTOSTM Software Package, RZ/A2M Simple Applications Package contains the following sample programs using the DRP library.

  • DRP Basic Operation Sample Program
    Converts the input image from MIPI camera to grayscale image using DRP Library and outputs to display.
  • DRP Parallel Operation Sample Program
    Converts the input image from MIPI camera to grayscale image at high speed using parallel operation function of DRP Library and outputs to display.
  • DRP Dynamic Loading Sample Program 1
    Detects the edges of the input image from MIPI camera by Canny method using DRP Library and outputs to display.
  • DRP Dynamic Loading Sample Program 2
    Detects the corners of the input image from MIPI camera by the Harris corner detector using DRP Library and outputs to display.
  • DRP Dynamic Loading Sample Program 3
    After detecting the edges of the input image from MIPI camera by Canny method using DRP Library, performs contour detection using findcontours application.
    The results output to display.
    (Application Note: RZ/A2M Group Object Detection Sample Program Application Note (PDF | English, 日本語))
  • DRP Simple ISP Sample Program 1
    Correct the color and noise of the input image from MIPI camera using DRP Library, and the image with high color reproducibility is output to the Display.
    (Application Note: RZ/A2M Group Color and Image Quality Correction Sample Program Application Note (PDF | English, 日本語))

Function List of the DRP Library

The DRP library supports following functions. The function names in bold are added in the RZ/A2M Software Package V8.00.

CategoryFunction NameOutlineVersion
Image processingSimple ISPImplements simple image signal processor (ISP) functionality using pipeline processing1.02
Simple ISP with object detection by color (HSV)Simple ISP that implements object detection using color components of the target object1.00
Simple ISP with background subtractionSimple ISP that extracts a moving object by using the background subtraction1.00
Simple ISP with object detection using sobelSimple ISP that extracts an object having complex contours from multiple objects1.00
Simple ISP with distortion correctionSimple ISP that performs barrel distortion correction1.00
Simple ISP with scaling and normalization(32bit)Simple ISP that implements pre-processing (floating-point conversion, normalization, and resizing) for AI inference1.00
Simple ISP with color calibration and 3DNRSimple ISP that specializes in the output of images having high color-reproducibility through color-matrix correction and 3D noise reduction1.00
Image transformationBayer2GrayscaleConverts from RAW data acquired from CMOS to grayscale1.00
Bayer2RgbConverts from RAW data acquired from CMOS to RGB1.00
Bayer2RgbColorCorrectionConverts from RAW data acquired from CMOS camera to RGB (With color correction)1.01
Argb2GrayscaleConverts from ARGB to grayscale1.00
BinarizationFixedConverts the image to a binary image with a fixed threshold
(fixed threshold)
1.00
BinarizationAdaptiveConverts the image to a binary image with a dynamic threshold matching the surrounding image
(adaptive threshold)
1.00
BinarizationAdaptiveBitConverts the image to a binary image with a dynamic threshold matching the surrounding image
(adaptive threshold) (bit output)
1.00
GammaCorrectionCorrects the image with gamma value1.01
CroppingCrops a part of the image1.00
CroppingRgbCrops a part of the image (RGB)1.01
ResizeBilinearFixedResizes the image (bilinear interpolation, scale factor: 2n)1.00
ResizeBilinearFixedRgbResizes the image (bilinear interpolation, scale factor: 2n) (RGB)1.01
ResizeBilinearResizes the image (bilinear interpolation, scale factor: any)1.00
ResizeNearestResizes the image
(nearest neighbor interpolation, scale factor: any)
1.00
ImageRotateRotates the image1.00
AffinePerforms parallel translation and linear transformation on the image1.00
RemapPerforms the image conversion using the X- and Y-coordinate map data1.00
Image filterMedianBlurReduces the noise contained in the image1.00
GaussianBlurThe image smoothing1.00
UnsharpMaskingThe image sharpening1.00
SobelCreates the edge of the image using Sobel filter1.00
PrewittCreates the edge of the image using Prewitt filter1.00
LaplacianCreates the edge of the image using Laplacian filter1.00
DilateDilation of white part in the image1.00
ErodeErosion of white part in the image1.00
Opening *1Removes noise from black portions by shrinkage (erosion) followed by expansion (dilation)1.00
Closing *1Removes noise from white portions by expansion (dilation) followed by shrinkage (erosion)1.00
Feature detectionCannyCalculateDetects the edge of the image using the Canny method
(performed by continuous processing of 2 functions)
1.00
CannyHysterisis 1.00
CornerHarrisDetects the corner contained in the image using the method devised by Chris Harris1.00
MinutiaeExtractExtracts minutiae points of fingerprint ridge lines used in fingerprint recognition1.00
MinutiaeDeleteDeletes minutiae points of fingerprint ridge lines used in fingerprint recognition1.00
CircleFittingDetects circle from the input image1.00
FindContoursDetects contours in the image and calculates its bounding rectangle1.01
HistogramsHistogramGenerates a histogram from the input image1.00
HistogramNormalizationNormalizes the histogram of the image1.01
HistogramNormalizationRgbNormalizes the histogram of the image (RGB)1.01
OtherReedSolomonPerforms error correction using Reed-Solomon codes
(fixed primitive polynomial)
1.00
ReedSolomonGf8Performs error correction using GF(28) Reed-Solomon codes1.00
ThinningOutputs an image on which thinning has been performed1.00
ImageMergingMerges two grayscale-images separately captured over different ranges1.00

(*1) This function can be executed by a combination of Dilate and Erode?

If you require functions not in the present DRP library for RZ/A2M, you can contact Renesas Support to discuss possible solutions.

For details on the DRP library/DRP driver, refer to the user's manual included in the software package.

Users manual:

Software package:

(Remark) FreeRTOSTM is a trademark of Amazon Web Services, Inc.