Light source determination method and device, electronic equipment and storage medium

The invention relates to an image processing technology, and provides a light source determination method and device, electronic equipment and a storage medium. The method comprises the steps that a plurality of gray level images of an object carrying a target defect are obtained, and different gray...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: OH JONG-WOO, GUO JINBIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to an image processing technology, and provides a light source determination method and device, electronic equipment and a storage medium. The method comprises the steps that a plurality of gray level images of an object carrying a target defect are obtained, and different gray level images correspond to different light sources; generating a pseudo hyperspectral image cube according to the plurality of grayscale images; determining defect information and spectral wavelength corresponding to the target defect from the pseudo hyperspectral image cube; generating a spectral characteristic curve according to the defect information and the spectral wavelength; and determining a target light source from the spectral characteristic curve according to a hyperspectral image analysis algorithm. The light source selection efficiency can be improved. 本申请涉及图像处理技术,本申请提供一种光源确定方法、装置、电子设备以及存储介质。所述方法包括:获取携带有目标缺陷的物体的多个灰度图像,其中,不同的所述灰度图像对应的光源不同;根据所述多个灰度图像,生成伪高光谱图像立方体;从所述伪高光谱图像立方体,确定所述目标缺陷对应的缺陷信息以及光谱波长;根据所述缺陷