Image processing method and image processing device
An image processing and image technology, applied in the field of image processing, can solve problems such as glare, achieve the effect of uniform background, reduce the incidence of traffic accidents, and improve quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] An embodiment of the present invention provides an image processing method, see figure 1 , the method includes:
[0043] Step 101: Acquire an original image f, and perform median filtering and denoising processing on the original image f.
[0044] It is worth noting that the above original image f is a grayscale image; when processing a color image, it is necessary to first convert the color image into a grayscale image, and then use the method provided in this embodiment for processing.
[0045] Step 102: Using multiple circular structural elements with different sizes, respectively perform an opening operation on the original image f after the median filtering process, to obtain multiple first illumination estimation images of different scales.
[0046] Specifically, open the operation: g i =fοs i ,i=1,2,...n. Among them, s i is a circular structural element, g i Estimate the image for the first illumination.
[0047] Step 103: Perform weighted average on multi...
Embodiment 2
[0053] An embodiment of the present invention provides an image processing method, see figure 2 , the method includes:
[0054] Step 201: Acquire an original image f, and perform n×n median filtering and denoising processing on the original image f. Wherein, performing n×n median filtering and denoising processing on the original image f refers to setting the gray value of each pixel in the original image f to be the gray value of all pixels in the n×n neighborhood of the point Median.
[0055] Among them, n can be an odd number such as 3, 5, 7, etc., such as performing 3×3 median filtering and denoising processing on f.
[0056]Because the overall illumination in the night vision environment is poor, there is obvious noise in the original image, so the original image is denoised by median filtering first.
[0057] It is worth noting that the above original image f is a grayscale image; when processing a color image, it is necessary to first convert the color image into a ...
Embodiment 3
[0079] An embodiment of the present invention provides an image processing device, see image 3 , the device consists of:
[0080] The median filtering module 301 is configured to acquire an original image f, and perform median filtering and denoising processing on the original image f.
[0081] It is worth noting that the above original image f is a grayscale image; when processing a color image, it is necessary to first convert the color image into a grayscale image, and then use the device provided in this embodiment for processing.
[0082] The opening operation module 302 is configured to use a plurality of circular structural elements of different sizes to respectively perform an opening operation on the original image f after the median filtering process, so as to obtain a plurality of first illumination estimation images of different scales.
[0083] Specifically, open the operation: g i =fοs i ,i=1,2,...n. Among them, s i is a circular structural element, g i Es...
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