Microsemi UG0646 Image Enhancement IP User Guide

June 9, 2024
Microsemi

Microsemi UG0646 Image Enhancement IP

Microsemi-UG0646-Image-Enhancement-IP-PRODACT-IMG

Product Information

Image Enhancement IP

The Image Enhancement IP is a hardware implementation product that enables users to adjust the brightness, contrast, and color balance of a final video image according to their personal preferences. The calculations are done in the RGB domain, and the inputs to the Image Enhancement IP in terms of brightness and contrast are as follows:

  • Brightness: This refers to the overall lightness or darkness of the image. Increasing brightness will make the image look lighter, while decreasing it will make it look darker.
  • Contrast: This refers to the difference between the light and dark areas of the image. Increasing contrast will make the dark areas darker and the light areas lighter, while decreasing it will have the opposite effect.
  • Color Balance: This refers to the relative levels of red, green, and blue in the image. Adjusting the color balance can be useful in correcting color casts or creating a certain mood.

Hardware Implementation

The design description of the Image Enhancement IP is as follows:

Design Description

The Image Enhancement IP is designed to operate in the RGB domain, and it takes a final video image as input. The brightness, contrast, and color balance of the image are adjusted according to user preferences, and the resulting processed image is outputted.

Inputs and Outputs

The Image Enhancement IP has one input port for a final video image and one output port for the processed image. The input image is expected to be in RGB format.

Configuration Parameters

The configuration parameters for the Image Enhancement IP include:

  • Brightness: This parameter controls the overall lightness or darkness of the image.
  • Contrast: This parameter controls the difference between the light and dark areas of the image.
  • Color Balance: This parameter controls the relative levels of red, green, and blue in the image.

Timing Diagrams

The timing diagrams for the Image Enhancement IP show the input and output signals over time. These diagrams can be useful in understanding how the IP operates and in troubleshooting any issues that may arise.

Resource Utilization

The resource utilization reports for the Image Enhancement IP provide information on how much hardware resources are used by the IP. This information can be useful in determining if the IP can be implemented on a particular device or platform.

Product Usage Instructions: Image Enhancement IP

To use the Image Enhancement IP, follow these steps:

  1. Connect the input port of the IP to the final video image source.
  2. Adjust the configuration parameters for brightness, contrast, and color balance to achieve the desired image output.
  3. Connect the output port of the IP to the display or storage device.
  4. View or store the processed image.

Note: The Image Enhancement IP is designed to work with final video images in RGB format. Make sure that your input image is in this format before using the IP.

Microsemi makes no warranty, representation, or guarantee regarding the information contained herein or the suitability of its products and services for any particular purpose, nor does Microsemi assume any liability whatsoever arising out of the application or use of any product or circuit. The products sold hereunder and any other products sold by Microsemi have been subject to limited testing and should not be used in conjunction with mission-critical equipment or applications. Any performance specifications are believed to be reliable but are not verified, and Buyer must conduct and complete all performance and other testing of the products, alone and together with, or installed in, any end-products. Buyer shall not rely on any data and performance specifications or parameters provided by Microsemi. It is the Buyer’s responsibility to independently determine suitability of any products and to test and verify the same. The information provided by Microsemi hereunder is provided “as is, where is” and with all faults, and the entire risk associated with such information is entirely with the Buyer. Microsemi does not grant, explicitly or implicitly, to any party any patent rights, licenses, or any other IP rights, whether with regard to such information itself or anything described by such information. Information provided in this document is proprietary to Microsemi, and Microsemi reserves the right to make any changes to the information in this document or to any products and services at any time without notice.

About Microsemi

Microsemi, a wholly owned subsidiary of Microchip Technology Inc. (Nasdaq: MCHP), offers a comprehensive portfolio of semiconductor and system solutions for aerospace & defense, communications, data center and industrial markets. Products include high-performance and radiation-hardened analog mixed-signal integrated circuits, FPGAs, SoCs and ASICs; power management products; timing and synchronization devices and precise time solutions, setting the world’s standard for time; voice processing devices; RF solutions; discrete components; enterprise storage and communication solutions, security technologies and scalable anti-tamper products; Ethernet solutions; Power- over-Ethernet ICs and midspans; as well as custom design capabilities and services. Learn more at www.microsemi.com.

Microsemi Headquarters
One Enterprise, Aliso Viejo, CA 92656 USA Within the USA: +1 800-713-4113 Outside the USA: +1 949-380-6100 Sales: +1 949-380-6136 Fax: +1 949-215-4996 Email: [email protected] www.microsemi.com ©2019 Microsemi, a wholly owned subsidiary of Microchip Technology Inc. All rights reserved. Microsemi and the Microsemi logo are registered trademarks of Microsemi Corporation. All other trademarks and service marks are the property of their respective owners.

Revision History

  • The revision history describes the changes that were implemented in the document. The changes are listed by revision, starting with the most current publication.

Revision 3.0

  • The resource utilization reports were updated. For more information, see Resource Utilization, page 5.

Revision 2.0

  • The following is a summary of changes made in this revision.
  • Updated Figure 1, page 3 and Table 1, page 3. For more information, see Figure 1, page 3.

Revision 1.0

  • The first publication of this document.

Introduction

Image Enhancement IP enables you to adjust the brightness, contrast and color balance of a final video Image according to personal preferences. These calculations are done in the RGB domain. The inputs to Image Enhancement IP in terms of brightness and contrast are as follows:

  • R CONST I = (Rgain × contrast factor) ⁄ 10
  • G CONST I = (Ggain × contrast factor) ⁄ 10
  • B CONST I = (Bgain × contrast factor) ⁄ 10
  • COMMON CONST I = 128 × (brightness – ((128 × contrast factor) ⁄ 10 ))

where,

  • contrast factor 325 × (contrast + 128) (387 – contrast) × 32
  • Rgain, Ggain, and Bgain are the red, green, and blue gain values.

The output RGB values are calculated from the above inputs based on the following equations

  • Rout = COMMON CONST I + R CONST I × Rin
  • Gout = COMMON CONST I + G CONST I × Gin
  • Bout = COMMON CONST I + B CONST I × Bin

Where,

  • Rin, Gin, and Bin are the red, green and blue values of input data.
  • Rout, Gout, and Bout are the red, green and blue values of output data.

Hardware Implementation

This section describes the design description and inputs and outputs of the Image Enhancement IP

Design Description
The following figure shows the block diagram of the Image Enhancement IP.

Figure 1 • Block Diagram

Microsemi-UG0646-Image-Enhancement-IP-FIG-1

When the ENABLE_I and DATA_VALID_I signal goes high the R, G and B values of the output is computed from the inputs according to the formula given in introduction section. DATA_O is valid when DATA_VALID_O (which is equivalent to DATA_VALID_I with two clock cycle delay) goes high.

Inputs and Outputs

The following table lists the input and output ports of the Image Enhancement IP.

Table 1 • Inputs and Outputs

Microsemi-UG0646-Image-Enhancement-IP-FIG-2 Microsemi-UG0646-Image-Enhancement-IP-FIG-3

Configuration Parameters
The following table lists the configuration parameters used in the hardware implementation of the Image Enhancement. These parameters are generic and can be varied based on the application requirement.

Microsemi-UG0646-Image-Enhancement-IP-FIG-4

Timing Diagrams

The following figure shows the timing diagram of the Image Enhancement IP.

Figure 2 • Timing DiagramMicrosemi-UG0646-Image-Enhancement-IP-
FIG-5

Resource Utilization

The Image Enhancement IP is implemented on SmartFusion®2 system-on-chip (SoC) field programmable gate array (FPGA) device (M2S150T-1152 FC package) and PolarFire® FPGA (MPF300TS-1FCG1152E package).

Table 3 • Resource Utilization on PolarFire1

Table 4 • Resource Utilization on SmartFusion21

Microsemi Proprietary UG0646 User Guide Revision 3.0

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Microsemi User Manuals

Related Manuals