# US 2022/0292658 A1 · Image fusion method and apparatus, storage medium, and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292658 A1
- Document ID: US20220292658A1
- Status: Published application
- Kind: A1
- Application number: 17/770,605
- Filed: 2020-04-27
- Published: 2022-09-15
- Earliest claimed: 2019-10-21
- Assignees: Zhejiang Uniview Technologies Co., Ltd.
- Applicants: Zhejiang Uniview Technologies Co., Ltd.
- Inventors: Yanan ZHANG
- Web page: https://patentgrep.com/patent/US20220292658A1

## CPC

- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/70: Denoising; Smoothing
- G06T 5/94: based on local image properties, e.g. for local contrast enhancement
- G06T 7/74: {involving reference images or patches}
- H04N 9/78: for separating the brightness signal or the chrominance signal from the colour television signal, e.g. using comb filter
- G06T 2207/10024: Color image
- G06T 2207/10048: Infrared image
- G06T 2207/20016: Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform
- G06T 2207/20032: Median filtering
- G06T 2207/20064: Wavelet transform [DWT]
- G06T 2207/20192: Edge enhancement; Edge preservation
- G06T 2207/20221: Image fusion; Image merging
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Provided are an image fusion method, a storage medium and an electronic device are to-be-fused are acquired. Luminance and chrominance separation is performed on the visible light image to extract a luminance component and a chrominance component. Luminance fusion is performed on the luminance component of the visible light image and the infrared image to obtain a luminance fusion result. Image reconstruction is performed according to the luminance fusion result and the chrominance component of the visible light image to obtain a fused image.

## Claims

### Claim 1

An image fusion method, comprising:
acquiring a visible light image and an infrared image which are to-be-fused;
performing luminance and chrominance separation on the visible light image to extract a luminance component of the visible light image and a chrominance component of the visible light image;
performing luminance fusion on the luminance component of the visible light image and the infrared image to obtain a luminance fusion result; and
performing image reconstruction according to the luminance fusion result and the chrominance component of the visible light image to obtain a fused image.

### Claim 2 (depends on 1)

The method according to claim 1, wherein performing the luminance fusion on the luminance component of the visible light image and the infrared image to obtain the luminance fusion result comprises:
correcting the infrared image according to the luminance component of the visible light image to obtain a corrected infrared image;
performing image layer decomposition on the luminance component of the visible light image and the corrected infrared image, respectively, and performing corresponding fusion on a plurality of layers of the luminance component of the visible light image obtained after the image layer decomposition and a plurality of layers of the corrected infrared image obtained after the image layer decomposition; and
superimposing results of performing corresponding fusion on the plurality of layers of the luminance component of the visible light image obtained after the image layer decomposition and the plurality of layers of the corrected infrared image obtained after the image layer decomposition to obtain the luminance fusion result.

### Claim 3 (depends on 2)

The method according to claim 2, wherein correcting the infrared image according to the luminance component of the visible light image to obtain the corrected infrared image comprises:
determining a position of a reference pixel in the luminance component of the visible light image according to a position of each pixel in the infrared image; and
determining a luminance correction result of the each pixel according to a preset-range neighborhood block with the position of the reference pixel as a center and a preset-range neighborhood block with the position of the each pixel as a center to obtain the corrected infrared image.

### Claim 4 (depends on 3)

The method according to claim 3, wherein determining the luminance correction result of the each pixel according to the preset-range neighborhood block with the position of the reference pixel as the center and the preset-range neighborhood block with the position of the each pixel as the center comprises:
determining the luminance correction result of the each pixel by adopting the following formula:
Yir′=Yvis(i)αi(1)+α2(2);
wherein Yir′(i) represents the luminance correction result of the each pixel, Yvis(i) represents a luminance value of the reference pixel, and αi(1) and αi(2) represent a first numerical value of a matrix αi and a second numerical value of the matrix αi;
wherein αi=(QiTWiQi+λI)−1(QiTWipi+λαi0), αiϵR2×1;
wherein λ represents a preset regularization parameter, Wi represents a preset weight matrix, and Qi represents a matrix formed by luminance values of a plurality of pixels within the preset-range neighborhood block with the position of the each pixel as the center and a numerical value 1; QiT represents a transposed matrix of Qi; pi represents a matrix formed by luminance values of pixels within the preset-range neighborhood block with the position of the reference pixel as the center; I represents an identity matrix; αi0 represents a local contrast factor formed by a ratio of a luminance value of the each pixel to an average value of the luminance values of the plurality of pixels within the preset-range neighborhood block with the position of the each pixel as the center; and R2×1 represents a linear space formed by all 2×1 matrices over a real number field R.

### Claim 5 (depends on 2)

The method according to claim 2, wherein performing the image layer decomposition on the luminance component of the visible light image and the corrected infrared image, respectively, and performing the corresponding fusion on the plurality of layers of the luminance component of the visible light image obtained after the image layer decomposition and on the plurality of layers of the corrected infrared image obtained after the image layer decomposition comprises:
performing decomposition to the luminance component of the visible light image into a visible light luminance base layer and a visible light luminance detail layer, and performing decomposition to the corrected infrared image into an infrared image base layer and an infrared image detail layer; and
fusing the visible light luminance base layer and the infrared image base layer, and fusing the visible light luminance detail layer and the infrared image detail layer.

### Claim 6 (depends on 5)

The method according to claim 5, wherein fusing the visible light luminance base layer and the infrared image base layer comprises:
determining a region saliency matrix of the visible light luminance base layer and a region saliency matrix of the infrared image base layer through high-pass filtering, and determining a first weight Bvis1 of the visible light luminance base layer and a first weight Bir1 of the infrared image base layer according to the region saliency matrix of the visible light luminance base layer and the region saliency matrix of the infrared image base layer;
determining a second weight Bvis2 of the visible light luminance base layer and a second weight Bir2 of the infrared image base layer according to a preset optimal luminance value;
determining a fusion weight of the visible light luminance base layer according to the first weight Bvis1 of the visible light luminance base layer and the second weight Bvis2 of the visible light luminance base layer; and determining a fusion weight of the infrared image base layer according to the first weight Bir1 of the infrared image base layer and the second weight Bir2 of the infrared image base layer; and
fusing the visible light luminance base layer and the infrared image base layer according to the fusion weight of the visible light luminance base layer and the fusion weight of the infrared image base layer.

### Claim 7 (depends on 5)

The method according to claim 5, wherein fusing the visible light luminance detail layer and the infrared image detail layer comprises:
calculating an edge strength matrix of the visible light luminance detail layer and an edge strength matrix of the infrared image detail layer, and determining a first weight Dvis1 of the visible light luminance detail layer and a first weight Dir1 of the infrared image detail layer based on an edge strength matrix of the visible light luminance detail layer and an edge strength matrix of the infrared image detail layer;
determining a second weight Dvis2 of the visible light luminance detail layer and a second weight Dir2 of the infrared image detail layer according to a preset optimal edge strength value;
determining a fusion weight of the visible light luminance detail layer according to the first weight Dvis1 of the visible light luminance detail layer and the second weight Dvis2 of the visible light luminance detail layer; and determining a fusion weight of the infrared image detail layer according to the first weight Dir1 of the infrared image detail layer and the second weight Dir2 of the infrared image detail layer; and
fusing the visible light luminance detail layer and the infrared image detail layer according to the fusion weight of the visible light luminance detail layer and the fusion weight of the infrared image detail layer.

### Claim 8

(canceled)

### Claim 9

A non-transitory computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements:
acquiring a visible light image and an infrared image which are to-be-fused;
performing luminance and chrominance separation on the visible light image to extract a luminance component of the visible light image and a chrominance component of the visible light image;
performing luminance fusion on the luminance component of the visible light image and the infrared image to obtain a luminance fusion result; and
performing image reconstruction according to the luminance fusion result and the chrominance component of the visible light image to obtain a fused image.

### Claim 10

An electronic device, comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor, when executing the computer program, implements:
acquiring a visible light image and an infrared image which are to-be-fused;
performing luminance and chrominance separation on the visible light image to extract a luminance component of the visible light image and a chrominance component of the visible light image;
performing luminance fusion on the luminance component of the visible light image and the infrared image to obtain a luminance fusion result; and
performing image reconstruction according to the luminance fusion result and the chrominance component of the visible light image to obtain a fused image.

### Claim 11 (depends on 10)

The electronic device according to claim 10, wherein the processor, when executing the computer program, implements:
correcting the infrared image according to the luminance component of the visible light image to obtain a corrected infrared image;
performing image layer decomposition on the luminance component of the visible light image and the corrected infrared image, respectively, and performing corresponding fusion on a plurality of layers of the luminance component of the visible light image obtained after the image layer decomposition and a plurality of layers of the corrected infrared image obtained after the image layer decomposition; and
superimposing results of performing corresponding fusion on the plurality of layers of the luminance component of the visible light image obtained after the image layer decomposition and the plurality of layers of the corrected infrared image obtained after the image layer decomposition to obtain the luminance fusion result.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein the processor, when executing the computer program, implements:
determining a position of a reference pixel in the luminance component of the visible light image according to a position of each pixel in the infrared image; and
determining a luminance correction result of the each pixel according to a preset-range neighborhood block with the position of the reference pixel as a center and a preset-range neighborhood block with the position of the each pixel as a center to obtain the corrected infrared image.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein the processor, when executing the computer program, implements:
determining the luminance correction result of the each pixel by adopting the following formula:
Yir′(i)=Yvis(i)αi(1)+αi(2);
wherein Yir′(i) represents the luminance correction result of the each pixel, Yvis(i) represents a luminance value of the reference pixel, and αi(1) and αi(2) represent a first numerical value of a matrix αi and a second numerical value of the matrix αi;
wherein αi=(QiTWiQi+λI)−1(QiTWipi+λαi0), αiϵR2×1;
wherein λ represents a preset regularization parameter, Wi represents a preset weight matrix, and Qi represents a matrix formed by luminance values of a plurality of pixels within the preset-range neighborhood block with the position of the each pixel as the center and a numerical value 1; QiT represents a transposed matrix of Qi; pi represents a matrix formed by luminance values of pixels within the preset-range neighborhood block with the position of the reference pixel as the center; I represents an identity matrix; αi0 represents a local contrast factor formed by a ratio of a luminance value of the each pixel to an average value of the luminance values of the plurality of pixels within the preset-range neighborhood block with the position of the each pixel as the center; and R2×1 represents a linear space formed by all 2×1 matrices over a real number field R.

### Claim 14 (depends on 11)

The electronic device according to claim 11, wherein the processor, when executing the computer program, implements:
performing decomposition to the luminance component of the visible light image into a visible light luminance base layer and a visible light luminance detail layer, and performing decomposition to the corrected infrared image into an infrared image base layer and an infrared image detail layer; and
fusing the visible light luminance base layer and the infrared image base layer, and fusing the visible light luminance detail layer and the infrared image detail layer.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein the processor, when executing the computer program, implements:
determining a region saliency matrix of the visible light luminance base layer and a region saliency matrix of the infrared image base layer through high-pass filtering, and determining a first weight Bvis1 of the visible light luminance base layer and a first weight Bir1 of the infrared image base layer according to the region saliency matrix of the visible light luminance base layer and the region saliency matrix of the infrared image base layer;
determining a second weight βvis2 of the visible light luminance base layer and a second weight βir2 of the infrared image base layer according to a preset optimal luminance value;
determining a fusion weight of the visible light luminance base layer according to the first weight Bvis1 of the visible light luminance base layer and the second weight Bvis2 of the visible light luminance base layer; and determining a fusion weight of the infrared image base layer according to the first weight Bir1 of the infrared image base layer and the second weight Bir2 of the infrared image base layer; and
fusing the visible light luminance base layer and the infrared image base layer according to the fusion weight of the visible light luminance base layer and the fusion weight of the infrared image base layer.

### Claim 16 (depends on 14)

The electronic device according to claim 14, wherein the processor, when executing the computer program, implements:
calculating an edge strength matrix of the visible light luminance detail layer and an edge strength matrix of the infrared image detail layer, and determining a first weight Dvis1 of the visible light luminance detail layer and a first weight Dir1 of the infrared image detail layer based on an edge strength matrix of the visible light luminance detail layer and an edge strength matrix of the infrared image detail layer;
determining a second weight Dvis2 of the visible light luminance detail layer and a second weight Dir2 of the infrared image detail layer according to a preset optimal edge strength value;
determining a fusion weight of the visible light luminance detail layer according to the first weight Dvis1 of the visible light luminance detail layer and the second weight Dvis2 of the visible light luminance detail layer; and determining a fusion weight of the infrared image detail layer according to the first weight Dir1 of the infrared image detail layer and the second weight Dir2 of the infrared image detail layer; and
fusing the visible light luminance detail layer and the infrared image detail layer according to the fusion weight of the visible light luminance detail layer and the fusion weight of the infrared image detail layer.

### Claim 17 (depends on 9)

The non-transitory computer-readable storage medium according to claim 9, wherein the computer program, when executed by a processor, implements:
correcting the infrared image according to the luminance component of the visible light image to obtain a corrected infrared image;
performing image layer decomposition on the luminance component of the visible light image and the corrected infrared image, respectively, and performing corresponding fusion on a plurality of layers of the luminance component of the visible light image obtained after the image layer decomposition and a plurality of layers of the corrected infrared image obtained after the image layer decomposition; and
superimposing results of performing corresponding fusion on the plurality of layers of the luminance component of the visible light image obtained after the image layer decomposition and the plurality of layers of the corrected infrared image obtained after the image layer decomposition to obtain the luminance fusion result.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein the computer program, when executed by a processor, implements:
determining a position of a reference pixel in the luminance component of the visible light image according to a position of each pixel in the infrared image; and
determining a luminance correction result of the each pixel according to a preset-range neighborhood block with the position of the reference pixel as a center and a preset-range neighborhood block with the position of the each pixel as a center to obtain the corrected infrared image.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium according to claim 18, wherein the computer program, when executed by a processor, implements:
determining the luminance correction result of the each pixel by adopting the following formula:
Yir′(i)=Yvis(i)αi(1)+αi(2);
wherein Yir′(i) represents the luminance correction result of the each pixel, Yvis(i) represents a luminance value of the reference pixel, and αi(1) and αi(2) represent a first numerical value of a matrix αi and a second numerical value of the matrix αi;
wherein αi=(QiTWiQi+λI)−1(QiTWipi+λαi0), αiϵR2×1;
wherein λ represents a preset regularization parameter, Wi represents a preset weight matrix, and Qi represents a matrix formed by luminance values of a plurality of pixels within the preset-range neighborhood block with the position of the each pixel as the center and a numerical value 1; QiT represents a transposed matrix of Qi; pi represents a matrix formed by luminance values of pixels within the preset-range neighborhood block with the position of the reference pixel as the center; I represents an identity matrix; αi0 represents a local contrast factor formed by a ratio of a luminance value of the each pixel to an average value of the luminance values of the plurality of pixels within the preset-range neighborhood block with the position of the each pixel as the center; and R2×1 represents a linear space formed by all 2×1 matrices over a real number field R.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein the computer program, when executed by a processor, implements:
performing decomposition to the luminance component of the visible light image into a visible light luminance base layer and a visible light luminance detail layer, and performing decomposition to the corrected infrared image into an infrared image base layer and an infrared image detail layer; and
fusing the visible light luminance base layer and the infrared image base layer, and fusing the visible light luminance detail layer and the infrared image detail layer.

### Claim 21 (depends on 20)

The non-transitory computer-readable storage medium according to claim 20, wherein the computer program, when executed by a processor, implements:
determining a region saliency matrix of the visible light luminance base layer and a region saliency matrix of the infrared image base layer through high-pass filtering, and determining a first weight Bvis1 of the visible light luminance base layer and a first weight Bir1 of the infrared image base layer according to the region saliency matrix of the visible light luminance base layer and the region saliency matrix of the infrared image base layer;
determining a second weight Bvis2 of the visible light luminance base layer and a second weight Bir2 of the infrared image base layer according to a preset optimal luminance value;
determining a fusion weight of the visible light luminance base layer according to the first weight Bvis1 of the visible light luminance base layer and the second weight Bvis2 of the visible light luminance base layer; and determining a fusion weight of the infrared image base layer according to the first weight Bir1 of the infrared image base layer and the second weight Bir2 of the infrared image base layer; and
fusing the visible light luminance base layer and the infrared image base layer according to the fusion weight of the visible light luminance base layer and the fusion weight of the infrared image base layer.
