Image color enhancement method and device
A color enhancement and image technology, applied in the field of image processing, can solve problems such as improper gain, color shift of pure color gray scale, and image quality degradation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Embodiment 1 of the present invention provides a method for image color enhancement, and the steps are as follows figure 1 As shown, it specifically includes the following steps:
[0051] Step S1, collecting the color components of the image, and converting the color components from the RGB space to the HSV space, and obtaining the parameters of the HSV space as hue, saturation and brightness;
[0052] Step S2, by judging the saturation of the HSV space, selectively performing a gain operation on the saturation and brightness, wherein the value of the saturation ranges from 0 to 1;
[0053] Step S3, converting the obtained HSV space parameters back to RGB space.
[0054] The above method analyzes and judges the parameters in the converted HSV space, and properly performs gain operations on saturation (S) and brightness (V) under the premise that the hue (H) remains unchanged, so as to avoid color shift of the pure color gray scale , and the color image will affect the i...
Embodiment 2
[0083] Based on the above, Embodiment 2 of the present invention also provides an image color enhancement device, the composition diagram is as follows Figure 7 As shown, it specifically includes: a first conversion unit 71, a gain execution unit 72 and a second conversion unit 73,
[0084] The first conversion unit 71 includes an acquisition unit 711 and a conversion subunit 712, wherein the acquisition unit 711 is used to acquire the color components of the image, and the conversion subunit 712 is used to convert the color components from the RGB space to the HSV space to obtain the HSV space parameters respectively Hue, Saturation and Brightness;
[0085] The gain execution unit 72 is configured to selectively perform gain operations on saturation and brightness by judging the saturation of the HSV space;
[0086] The second conversion unit 73 is used to convert the obtained HSV space parameters back to RGB space.
[0087] Preferably, in this embodiment, the gain executi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com