Color cast detection and correction method and device based on HSV (Hue, Saturation, Value) color space
A technology of color space and correction method, applied in the field of color cast detection and correction algorithm, which can solve the problems of poor performance of perfect reflection algorithm, lack of versatility of white point, and failure of white balance algorithm.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Embodiment 1 of the present invention provides a color cast detection and correction method based on HSV color space, such as figure 1 As shown, the method includes:
[0032] 101. Input the image to be detected in the RGB color space
[0033] Color Space (Color Space), also known as the color coordinate system, is a method of abstractly representing and describing colors. The RGB color space is one of the most commonly used color models, and images output by digital imaging devices are often in RGB format.
[0034] 102. Calculate the S channel in the HSV color space
[0035] The current color cast detection algorithm often converts the RGB color space to the HSV color space first, and then extracts the S channel for color cast detection, while the H channel and V channel do not participate in the subsequent processing. The present invention adopts the method of directly calculating the S channel, which greatly reduces the amount of calculation and the time and space ...
Embodiment 2
[0068] Embodiment 2 of the present invention provides a color cast detection and correction device based on HSV color space, such as image 3 As shown, the method includes: a calculation unit 11 , a preprocessing unit 12 , a judgment unit 13 , a determination unit 14 , and a correction unit 15 .
[0069] in,
[0070] Calculation unit 11, for calculating the value of the S channel in the HSV color space, and counting the histogram vector h of the S channel;
[0071] Preprocessing unit 12, used for quantizing and filtering the histogram vector;
[0072] Judging unit 13, used to judge whether the image is color cast;
[0073] A determination unit 14, configured to determine a color cast channel;
[0074] The correction unit 15 is used to correct the color cast channel of the image, and returns to the statistics unit.
[0075] Further, as Figure 4 As shown, the calculation unit 11 includes: a calculation module 111, a statistics module 112; Figure 4 As shown, the preproces...
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