Image fusion method and device, electronic device and medium
An image fusion and image technology, applied in the field of image processing, can solve the problems of excessively unnatural edges and poor image quality in overexposed areas, and achieve the effect of reducing loss of details, improving quality effects, and improving image quality.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] This embodiment provides an image fusion method, please refer to figure 1 , figure 1 It is a flow chart of the image fusion method in the embodiment of the present invention, including:
[0051] Step S101, acquiring a color image and a black-and-white image, where the subject of the color image and the black-and-white image are the same;
[0052] Step S102, detecting an overexposed area on the black and white image to determine a target overexposed area;
[0053] Step S103, expanding the target overexposure area to determine the expanded overexposure area of the black and white image, and determining the corresponding expanded area of the color image according to the expanded overexposure area; wherein, in the color After the image is registered with the black-and-white image, the expanded overexposed area and the corresponding expanded area are matching areas;
[0054] Step S104, according to the weight value, fusing the image of the overexposure area after expa...
specific example
[0123] Assuming that the gamma curve weight parameter γ of the gamma curve graph is inversely proportional to the average brightness ratio, the smaller the γ is during fusion, the smaller the proportion of pixels on the black-and-white image is, so as to ensure that the larger the average brightness ratio is, the black-and-white The smaller the proportion of pixels in the overexposed area on the image.
[0124] For example, suppose Image 6 The gamma curve weight parameter γ of the gamma curve graph in the middle is inversely proportional to the average brightness ratio, then Image 6 The abscissa in is the brightness value of the pixel in the corresponding expanded region of the color image, and the ordinate is the proportion of the brightness value of the corresponding pixel during fusion. Depend on Image 6 It can be seen that the more serious the overexposure of the black and white image corresponds to the larger the average brightness ratio, then Image 6 The smaller t...
Embodiment 2
[0153] Such as image 3 As shown, an image fusion device is provided, comprising:
[0154] An acquisition module 301, configured to acquire a color image and a black-and-white image, where the subject of the color image and the black-and-white image are the same;
[0155] A detection module 302, configured to detect an overexposed area on the black and white image to determine a target overexposed area;
[0156] An expansion module 303, configured to expand the target overexposed area to determine the expanded overexposed area of the black and white image, and determine the corresponding expanded area of the color image according to the expanded overexposed area; wherein, in After the color image and the black-and-white image are image-registered, the expanded overexposed area and the corresponding expanded area are matching areas;
[0157] The fusion module 304 is configured to fuse the image of the dilated overexposed area and the image of the corresponding dilated area ...
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