US12573240B2ActiveUtilityPatentIndex 47
Light source spectrum and multispectral reflectivity image acquisition methods and apparatuses, and electronic device
Est. expiryMay 26, 2041(~14.9 yrs left)· nominal 20-yr term from priority
G06V 10/507G06V 10/60G06V 10/25G01J 3/28G01J 2003/425G01J 3/2803G01J 2003/2826G06T 5/92G06T 7/136G01N 21/84G06V 40/45G01J 1/4204G01N 21/25
47
PatentIndex Score
0
Cited by
14
References
18
Claims
Abstract
A light source spectrum acquisition method includes: acquiring a multispectral image, and determining a multispectral response value of each pixel in the multispectral image; reconstructing an RGB image according to the multispectral image; converting the RGB image into a grayscale image; and determining a target region in the grayscale image, wherein in the target region a grayscale value is less than or equal to a threshold, and calculating a light source spectrum response value according to multispectral response values of pixels of the multispectral image corresponding to the target region.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A light source spectrum acquisition method, comprising:
acquiring a multispectral image, and determining a multispectral response value of each pixel in the multispectral image; reconstructing an RGB image according to the multispectral image; converting the RGB image into a grayscale image; and determining a target region in the grayscale image, wherein in the target region a grayscale value is less than or equal to a threshold, and calculating a light source spectrum response value according to multispectral response values of pixels of the multispectral image corresponding to the target region.
2 . The method according to claim 1 , wherein a grayscale value corresponding to a pixel in the grayscale image is calculated according to three-channel values of a pixel in the RGB image.
3 . The method according to claim 1 , wherein after the converting the RGB image into the grayscale image, the method further comprises:
performing histogram statistics on the grayscale image to obtain a histogram statistical result, and determining the threshold according to interval parameters of a minimum value interval in the histogram statistical result.
4 . The method according to claim 3 , wherein the determining the threshold according to interval parameters of the minimum value interval in the histogram statistical result comprises:
determining the threshold according to an interval boundary value and a pixel proportion of the minimum value interval in the histogram statistical result.
5 . The method according to claim 1 , wherein the calculating the light source spectrum response value according to the multispectral response values of pixels of the multispectral image corresponding to the target region comprises:
calculating an average value of the multispectral response values of the pixels of the multispectral image corresponding to the target region to acquire the light source spectrum response value.
6 . A non-transitory computer-readable storage medium storing a computer program, where the computer program, when executed by a processor, causes the processor to perform the method of claim 1 .
7 . The non-transitory computer-readable storage medium according to claim 6 , wherein the method further comprises acquiring a multispectral reflectance image according to the multispectral response value of each pixel in the multispectral image and the light source spectrum response value.
8 . A multispectral reflectance image acquisition method, comprising:
acquiring a multispectral image, and determining a multispectral response value of each pixel in the multispectral image; reconstructing an RGB image according to the multispectral image; converting the RGB image into a grayscale image; and determining a target region in the grayscale image, wherein in the target region a grayscale value is less than or equal to a threshold, and calculating a light source spectrum response value according to multispectral response values of pixels of the multispectral image corresponding to the target region; and acquiring a multispectral reflectance image according to the multispectral response value of each pixel in the multispectral image and the light source spectrum response value.
9 . The method according to claim 8 , wherein a grayscale value corresponding to a pixel in the grayscale image is calculated according to three-channel values of a pixel in the RGB image.
10 . The method according to claim 8 , wherein after the converting the RGB image into the grayscale image, the method further comprises:
performing histogram statistics on the grayscale image to obtain a histogram statistical result, and determining the threshold according to interval parameters of a minimum value interval in the histogram statistical result.
11 . The method according to claim 10 , wherein the determining the threshold according to interval parameters of the minimum value interval in the histogram statistical result comprises:
determining the threshold according to an interval boundary value and a pixel proportion of the minimum value interval in the histogram statistical result.
12 . The method according to claim 8 , wherein the calculating the light source spectrum response value according to the multispectral response values of pixels of the multispectral image corresponding to the target region comprises:
calculating an average value of the multispectral response values of the pixels of the multispectral image corresponding to the target region to acquire the light source spectrum response value.
13 . An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, is configured to perform operations comprising:
acquiring a multispectral image, and determining a multispectral response value of each pixel in the multispectral image; reconstructing an RGB image according to the multispectral image; converting the RGB image into a grayscale image; and determining a target region in the grayscale image, wherein in the target region a grayscale value is less than or equal to a threshold, and calculating a light source spectrum response value according to multispectral response values of pixels of the multispectral image corresponding to the target region.
14 . The electronic device according to claim 13 , wherein a grayscale value corresponding to a pixel in the grayscale image is calculated according to three-channel values of a pixel in the RGB image.
15 . The electronic device according to claim 13 , wherein after the converting the RGB image into the grayscale image, the operations further comprise:
performing histogram statistics on the grayscale image to obtain a histogram statistical result, and determining the threshold according to interval parameters of a minimum value interval in the histogram statistical result.
16 . The electronic device according to claim 15 , wherein the determining the threshold according to interval parameters of the minimum value interval in the histogram statistical result comprises:
determining the threshold according to an interval boundary value and a pixel proportion of the minimum value interval in the histogram statistical result.
17 . The electronic device according to claim 13 , wherein the calculating the light source spectrum response value according to the multispectral response values of pixels of the multispectral image corresponding to the target region comprises:
calculating an average value of the multispectral response values of the pixels of the multispectral image corresponding to the target region to acquire the light source spectrum response value.
18 . The electronic device according to claim 13 , wherein the operations further comprise acquiring a multispectral reflectance image according to the multispectral response value of each pixel in the multispectral image and the light source spectrum response value.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.