Method for correcting yellow cast of red lamp of electronic police
A correction method and electronic police technology, applied in the field of image processing, can solve the problems of low efficiency, unnaturalness, obvious traces of modification, etc., and achieve obvious effects.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] like figure 1 As shown, the correction method for the yellowish red light of the electronic police is to correct the color cast of the video stream, which specifically includes the following steps:
[0087] (a1) For the actual electronic police intersection, set a red light ROI area;
[0088] (a2) process each frame image of the video stream, and convert all the pixels in the red light ROI area from the RGB color space to the HSV color space;
[0089] (a3) Red light area positioning in the red light ROI area: through time domain, frequency domain and space domain positioning, accurate red light pixel points are obtained;
[0090] (a4) Perform color cast correction on the red light ROI area: multiply the H value of the red light pixel by 0.3;
[0091] (a5) Transform the red light pixels in the red light ROI region from the HSV color space to the RGB color space.
Embodiment 2
[0093] like figure 2 As shown, the method for correcting the yellowish red light of the electronic police, and correcting the color cast of the illegal image, specifically includes the following steps:
[0094] (b1) For the illegal image captured by the electronic police, set the red light ROI area, because only the red light and green light are on in the illegal image, and the yellow light is not on, you can roughly set a rectangle including the entire signal light panel as the red light ROI area.
[0095] (b2) converting all pixels in the red light ROI region of the violation image from the RGB color space to the HSV color space;
[0096] (b3) Red light area positioning in the red light ROI area: through the comprehensive judgment and post-processing of the H, S and V values, accurate red light pixels are obtained;
[0097] (b4) Perform color cast correction on the red light ROI area: multiply the H value of the red light pixel by 0.3;
[0098] (b5) Transform the red ligh...
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