[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN118505825B - Cashmere product color measurement method and device based on image recognition - Google Patents

Cashmere product color measurement method and device based on image recognition Download PDF

Info

Publication number
CN118505825B
CN118505825B CN202410954548.3A CN202410954548A CN118505825B CN 118505825 B CN118505825 B CN 118505825B CN 202410954548 A CN202410954548 A CN 202410954548A CN 118505825 B CN118505825 B CN 118505825B
Authority
CN
China
Prior art keywords
pixel
channel image
image
channel
super
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410954548.3A
Other languages
Chinese (zh)
Other versions
CN118505825A (en
Inventor
白家齐
王鸿儒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaanxi Tuocheng Rongye Technology Co ltd
Original Assignee
Shaanxi Tuocheng Rongye Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shaanxi Tuocheng Rongye Technology Co ltd filed Critical Shaanxi Tuocheng Rongye Technology Co ltd
Priority to CN202410954548.3A priority Critical patent/CN118505825B/en
Publication of CN118505825A publication Critical patent/CN118505825A/en
Application granted granted Critical
Publication of CN118505825B publication Critical patent/CN118505825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30124Fabrics; Textile; Paper

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to the technical field of image processing, in particular to a cashmere product color measurement method and device based on image identification, wherein the method comprises the following steps: acquiring surface images of cashmere products, and acquiring images of each channel; performing super-pixel segmentation on each channel image, obtaining a plurality of super-pixel blocks of each channel image, and obtaining an average gray index of each super-pixel block of each channel image and a gray sequence of each pixel point of each channel image; according to the gray level sequence of each pixel point of each channel image and the average gray level index of each super pixel block of each channel image, the illumination influence degree of each pixel point of each channel image is obtained, the weight correction coefficient of each pixel point of each channel image is further obtained, the Gaussian filter kernel of each pixel point of each channel image is obtained in a self-adaptive mode according to the weight correction coefficient, and the Gaussian filter is carried out on each channel image.

Description

基于图像识别的羊绒制品测色方法及装置Cashmere product color measurement method and device based on image recognition

技术领域Technical Field

本发明涉及图像处理技术领域。更具体地,本发明涉及基于图像识别的羊绒制品测色方法及装置。The present invention relates to the field of image processing technology, and more specifically, to a method and device for color measurement of cashmere products based on image recognition.

背景技术Background Art

羊绒制品测色是保证产品质量、控制生产成本、满足市场需求和遵守质量标准的重要手段,对于企业的生产和市场竞争具有重要意义,利用图像识别技术对羊绒制品的色彩进行测色,通过采集羊绒制品的图像数据,提取色彩特征并进行分析,实现对色彩的准确测量和评估。可以更加准确地进行羊绒制品的测色,节省人工成本。但是由于羊绒制品表面往往不够平整,受到光照影响时会使其表面灰度变化复杂,导致羊绒制品测色结果不准确,因此需要对羊绒制品表面图像进行滤波处理。Cashmere product color measurement is an important means to ensure product quality, control production costs, meet market demand and comply with quality standards. It is of great significance to the production and market competition of enterprises. The color of cashmere products is measured by image recognition technology. By collecting image data of cashmere products, color features are extracted and analyzed to achieve accurate measurement and evaluation of color. The color measurement of cashmere products can be performed more accurately, saving labor costs. However, since the surface of cashmere products is often not smooth enough, the grayscale of the surface will change complexly when affected by light, resulting in inaccurate color measurement results of cashmere products. Therefore, it is necessary to filter the surface image of cashmere products.

目前公开号为CN112651895A的专利申请文件公开了基于FPGA的图像高斯滤波方法,通过摄像头采集图像;对采集的图像进行灰度化预处理;利用高斯滤波算法对预处理后的图像进行处理;对处理好的图像进行缓存并通过显示器显示。The patent application document with the publication number CN112651895A discloses an FPGA-based image Gaussian filtering method, which collects images through a camera; performs grayscale preprocessing on the collected images; processes the preprocessed images using a Gaussian filtering algorithm; and caches the processed images and displays them on a display.

使用上述方法对羊绒制品表面图像进行滤波来消除光照影响的过程中,由于高斯滤波核对羊绒制品表面图像的每个像素点赋予的权值仅与像素点之间的欧氏距离有关,没有考虑到像素点受光照的影响,无法消除光照对于各像素点的影响,降低了对羊绒制品表面图像的滤波效果,因此无法直接使用上述方法对羊绒制品表面图像进行滤波。In the process of using the above method to filter the cashmere product surface image to eliminate the influence of light, since the weight assigned by the Gaussian filter kernel to each pixel point of the cashmere product surface image is only related to the Euclidean distance between the pixels, the influence of light on the pixels is not taken into account, and the influence of light on each pixel point cannot be eliminated, which reduces the filtering effect of the cashmere product surface image. Therefore, the above method cannot be used directly to filter the cashmere product surface image.

发明内容Summary of the invention

为解决高斯滤波算法中的高斯滤波核对羊绒制品表面图像的每个像素点赋予的权值仅与像素点之间的欧氏距离有关,没有考虑到像素点受光照的影响问题,导致降低了对羊绒制品表面图像的滤波效果的问题,本发明提出基于图像识别的羊绒制品测色方法及装置。In order to solve the problem that the weight assigned by the Gaussian filter kernel in the Gaussian filter algorithm to each pixel point of the cashmere product surface image is only related to the Euclidean distance between the pixel points, and the influence of light on the pixel points is not taken into account, resulting in a reduction in the filtering effect of the cashmere product surface image, the present invention proposes a cashmere product color measurement method and device based on image recognition.

第一方面,本发明提供基于图像识别的羊绒制品测色方法,采用如下技术方案:In the first aspect, the present invention provides a cashmere product color measurement method based on image recognition, which adopts the following technical scheme:

采集羊绒制品表面图像;根据羊绒制品表面图像,获取每个通道图像;Collecting a surface image of a cashmere product; acquiring an image of each channel according to the surface image of the cashmere product;

对各通道图像进行超像素分割,得到各通道图像的多个超像素块;根据各通道图像的各超像素块中像素点的平均灰度值与各通道图像的所有超像素块中像素点的平均灰度值的最大值的差值,获取各通道图像的各超像素块的平均灰度指标;获取各通道图像的各像素点的光照影响程度:Perform superpixel segmentation on each channel image to obtain multiple superpixel blocks of each channel image; obtain the average grayscale index of each superpixel block of each channel image according to the difference between the average grayscale value of the pixels in each superpixel block of each channel image and the maximum value of the average grayscale value of the pixels in all superpixel blocks of each channel image; obtain the degree of illumination influence of each pixel point in each channel image:

,其中,代表第n个通道图像的第j个像素点的光照影响程度,代表第n个通道图像的第j个像素点所在的第n个通道图像的超像素块的平均灰度指标;代表第n个通道图像的第j个像素点的局部窗口中的像素点数量;代表第n个通道图像的第j个像素点的灰度序列中第v个像素点的灰度值;代表第n个通道图像的第j个像素点的灰度序列中第v+1个像素点的灰度值; ,in, Represents the degree of illumination influence of the jth pixel of the nth channel image, Represents the average grayscale index of the superpixel block of the nth channel image where the jth pixel of the nth channel image is located; The number of pixels in the local window representing the jth pixel of the nth channel image; Represents the grayscale value of the vth pixel in the grayscale sequence of the jth pixel of the nth channel image; Represents the gray value of the v+1th pixel in the gray sequence of the jth pixel of the nth channel image;

获取各通道图像的各像素点的高斯滤波核,所述各通道图像的各像素点的高斯滤波核的各像素点的权值与各通道图像的各像素点的光照影响程度成正比;基于各通道图像的各像素点的高斯滤波核对各通道图像进行高斯滤波,得到各通道滤波结果图像。Obtain a Gaussian filter kernel for each pixel of each channel image, wherein the weight of each pixel of the Gaussian filter kernel for each pixel of each channel image is proportional to the degree of illumination influence of each pixel of each channel image; perform Gaussian filtering on each channel image based on the Gaussian filter kernel for each pixel of each channel image to obtain a filtering result image of each channel.

优选的,所述对各通道图像进行超像素分割,得到各通道图像的多个超像素块,包括:Preferably, the step of performing superpixel segmentation on each channel image to obtain a plurality of superpixel blocks of each channel image includes:

预设超像素块大小m,获取第n个通道图像的尺寸,记为MN,则第n个通道图像的超像素块个数,根据第n个通道图像的超像素块个数,使用超像素分割算法对第n个通道图像进行超像素分割,得到第n个通道图像的若干个超像素块;代表向上取整函数。Preset the superpixel block size m and obtain the size of the nth channel image, denoted as M N, then the number of superpixel blocks in the nth channel image , according to the number of super-pixel blocks of the n-th channel image, use the super-pixel segmentation algorithm to perform super-pixel segmentation on the n-th channel image to obtain several super-pixel blocks of the n-th channel image; Represents the ceiling function.

将各通道图像进行超像素分割,将灰度值相似的像素点划分到一个超像素块中,便于通过分析各超像素块的平均灰度指标,来衡量超像素块中的各像素点是否受光照影响。Each channel image is segmented into superpixels, and pixels with similar grayscale values are divided into a superpixel block. This makes it easier to measure whether each pixel in the superpixel block is affected by light by analyzing the average grayscale index of each superpixel block.

优选的,所述获取各通道图像的各超像素块的平均灰度指标,计算公式为:Preferably, the average grayscale index of each superpixel block of each channel image is obtained, and the calculation formula is:

;

式中,代表第n个通道图像的第i个超像素块的平均灰度指标;代表第n个通道图像的第i个超像素块中像素点的平均灰度值;代表第n个通道图像的所有超像素块中像素点的平均灰度值的最大值;exp()代表以自然常数为底数的指数函数。In the formula, Represents the average grayscale index of the i-th superpixel block of the n-th channel image; Represents the average gray value of the pixels in the i-th superpixel block of the n-th channel image; Represents the maximum value of the average grayscale value of pixels in all superpixel blocks of the nth channel image; exp() represents an exponential function with a natural constant as the base.

各通道图像的各超像素块的平均灰度指标的值越大,说明超像素块越有可能是受光照影响的阴影区域,便于后续基于该值,获取各通道图像的各像素点的光照影响程度。The larger the average grayscale index value of each superpixel block in each channel image is, the more likely the superpixel block is a shadow area affected by illumination, which facilitates the subsequent acquisition of the illumination influence degree of each pixel point in each channel image based on this value.

优选的,所述局部窗口的获取包括:Preferably, the acquisition of the local window includes:

预设局部窗口大小为,以各通道图像的各像素点为中心像素点构建大小为的局部窗口作为各通道图像的各像素点的局部窗口。The default local window size is , with each pixel of each channel image as the center pixel to construct a pixel with a size of The local window of is used as the local window of each pixel point of each channel image.

优选的,所述灰度序列的获取包括:Preferably, the grayscale sequence is obtained by:

将各通道图像的各像素点的局部窗口中所有像素点按照灰度值从小到大的顺序进行排序,得到各通道图像的各像素点的灰度序列。All the pixels in the local window of each pixel of each channel image are sorted in ascending order of grayscale value to obtain the grayscale sequence of each pixel of each channel image.

优选的,所述获取各通道图像的各像素点的高斯滤波核,包括:Preferably, the step of obtaining the Gaussian filter kernel of each pixel point of each channel image includes:

获取每个通道图像的每个像素点的权值修正系数;Get the weight correction coefficient of each pixel of each channel image;

预设高斯滤波窗口大小为,根据高斯函数获取第n个通道图像的每个像素点的高斯滤波核中的每个像素点的权值,并将第n个通道图像的每个像素点的高斯滤波核中的每个像素点的权值乘以第n个通道图像的每个像素点的权值修正系数,获取第n个通道图像的每个像素点的高斯滤波核中每个像素点的更新权值,得到第n个通道图像的每个像素点的高斯滤波核。The preset Gaussian filter window size is , obtain the weight of each pixel in the Gaussian filter kernel of each pixel of the n-th channel image according to the Gaussian function, and multiply the weight of each pixel in the Gaussian filter kernel of each pixel of the n-th channel image by the weight correction coefficient of each pixel of the n-th channel image, obtain the updated weight of each pixel in the Gaussian filter kernel of each pixel of the n-th channel image, and obtain the Gaussian filter kernel of each pixel of the n-th channel image.

根据各通道图像的各像素点的权值修正系数对各通道图像的各像素点的高斯滤波核中的各像素点的权值进行修正后,自适应各像素点的高斯滤波核,使得后续滤波结果更加准确。After the weight of each pixel in the Gaussian filter kernel of each pixel of each channel image is corrected according to the weight correction coefficient of each pixel of each channel image, the Gaussian filter kernel of each pixel is adaptively used to make the subsequent filtering result more accurate.

优选的,所述获取每个通道图像的每个像素点的权值修正系数,包括:Preferably, obtaining the weight correction coefficient of each pixel point of each channel image includes:

将各通道图像的每个像素点的光照影响程度进行线性归一化处理,得到各通道图像的每个像素点的权值修正系数。The illumination influence degree of each pixel point of each channel image is linearly normalized to obtain the weight correction coefficient of each pixel point of each channel image.

优选的,所述基于各通道图像的各像素点的高斯滤波核对各通道图像进行高斯滤波,得到各通道滤波结果图像,包括:Preferably, the Gaussian filtering of each channel image by using a Gaussian filter kernel based on each pixel point of each channel image to obtain a filtering result image of each channel includes:

预设滤波次数d,根据各通道图像的每个像素点的高斯滤波核,使用高斯滤波算法对各通道图像进行滤波,直至各通道图像的滤波次数达到d时停止,得到各通道滤波结果图像。The number of filtering times d is preset, and the images of each channel are filtered using the Gaussian filtering algorithm according to the Gaussian filtering kernel of each pixel point of each channel image until the number of filtering times of each channel image reaches d, thereby obtaining the filtering result images of each channel.

根据自适应的各通道图像的各像素点的高斯滤波核对通道图像进行滤波处理,消除光照的影响,使得图像的滤波结果更加准确。The channel images are filtered according to the Gaussian filter kernel of each pixel point of each channel image to eliminate the influence of illumination, so that the filtering result of the image is more accurate.

第二方面,本发明提供基于图像识别的羊绒制品测色装置,采用如下的技术方案:In a second aspect, the present invention provides a cashmere product color measurement device based on image recognition, which adopts the following technical solution:

基于图像识别的羊绒制品测色装置,包括:处理器和存储器,所述存储器存储有计算机程序指令,当所述计算机程序指令被所述处理器执行时实现上述基于图像识别的羊绒制品测色方法。The cashmere product color measurement device based on image recognition comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the cashmere product color measurement method based on image recognition is implemented.

通过采用上述技术方案,将上述的基于图像识别的羊绒制品测色方法生成计算机程序,并存储于存储器中,以被处理器加载并执行,从而根据存储器及处理器制作终端设备,方便使用。By adopting the above technical solution, the above-mentioned cashmere product color measurement method based on image recognition is generated into a computer program and stored in a memory so as to be loaded and executed by a processor, thereby making a terminal device based on the memory and the processor for easy use.

本发明具有以下有益效果:本发明的创新性在于获取各通道图像的各像素点的光照影响程度,对各通道图像的各像素点的高斯滤波核中的各像素点的权值进行修正,自适应获取各通道图像的各像素点的高斯滤波核对各通道图像进行滤波处理,消除光照的影响,使得图像的滤波结果更加准确,并且各通道图像的各像素点的光照影响程度与各像素点局部范围中的灰度分布复杂性以及各像素点所处的超像素块的平均灰度指标成正比,光照影响程度的值越大,说明像素点越可能受光照影响,对于各通道图像的各像素点的高斯滤波核中的各像素点的权值的修正程度较大,提高了滤波效果,最后各通道图像的各超像素块的平均灰度指标,其值越大越有可能是受光照影响的阴影区域,结合该值获取的各像素点的光照影响程度更加准确。The present invention has the following beneficial effects: the innovation of the present invention lies in obtaining the degree of illumination influence of each pixel point of each channel image, correcting the weight of each pixel point in the Gaussian filter kernel of each pixel point of each channel image, adaptively obtaining the Gaussian filter kernel of each pixel point of each channel image to filter each channel image, eliminating the influence of illumination, so that the filtering result of the image is more accurate, and the degree of illumination influence of each pixel point of each channel image is proportional to the complexity of grayscale distribution in the local range of each pixel point and the average grayscale index of the super pixel block where each pixel point is located. The larger the value of the illumination influence degree is, the more likely the pixel point is to be affected by illumination. The degree of correction of the weight of each pixel point in the Gaussian filter kernel of each pixel point of each channel image is greater, thereby improving the filtering effect. Finally, the average grayscale index of each super pixel block of each channel image, the larger its value is, the more likely it is a shadow area affected by illumination, and the illumination influence degree of each pixel point obtained in combination with this value is more accurate.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

通过参考附图阅读下文的详细描述,本发明示例性实施方式的上述以及其他目的、特征和优点将变得易于理解。在附图中,以示例性而非限制性的方式示出了本发明的若干实施方式,并且相同或对应的标号表示相同或对应的部分,其中:By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

图1是本发明实施例基于图像识别的羊绒制品测色方法的步骤流程图。FIG1 is a flowchart of the steps of a cashmere product color measurement method based on image recognition according to an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

应当理解,当本发明的权利要求、说明书及附图使用术语“第一”、“第二”等时,其仅是用于区别不同对象,而不是用于描述特定顺序。本发明的说明书和权利要求书中使用的术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and/or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and/or their collections.

请参阅图1,其示出了本发明一个实施例提供的基于图像识别的羊绒制品测色方法的步骤流程图,该方法包括以下步骤:Please refer to FIG1 , which shows a flowchart of a cashmere product color measurement method based on image recognition provided by an embodiment of the present invention. The method comprises the following steps:

S001.采集羊绒制品表面图像,根据羊绒制品表面图像,获取每个通道图像。S001. Collect the surface image of the cashmere product, and obtain each channel image according to the surface image of the cashmere product.

在本发明实施例中,使用相机拍摄羊绒制品表面图像,由于拍摄的羊绒制品图像需要用来测色,因此不能使用常规的方法对其进行灰度化处理,并且高斯滤波算法仅可以对二维图像进行滤波处理,采集的羊绒制品表面图像为RGB图像,故而高斯滤波无法对采集的羊绒制品表面图像进行滤波处理。In an embodiment of the present invention, a camera is used to capture the surface image of a cashmere product. Since the captured image of the cashmere product needs to be used for color measurement, the conventional method cannot be used to grayscale it, and the Gaussian filtering algorithm can only filter two-dimensional images. The captured surface image of the cashmere product is an RGB image, so the Gaussian filtering cannot filter the captured surface image of the cashmere product.

在本发明实施例中,将采集的羊绒制品表面图像的三通道进行分离,获取每个通道图像,即R通道图像、G通道图像以及B通道图像。In the embodiment of the present invention, the three channels of the collected cashmere product surface image are separated to obtain each channel image, namely, the R channel image, the G channel image and the B channel image.

S002.预设超像素块大小,对每个通道图像进行超像素分割,获取每个通道图像的若干个超像素块;获取每个通道图像的每个超像素块的平均灰度指标;获取每个通道图像的每个像素点的灰度序列;根据每个通道图像的每个像素点的灰度序列以及每个通道图像的每个超像素块的平均灰度指标,获取每个通道图像的每个像素点的光照影响程度,进而得到每个通道图像的每个像素点的权值修正系数。S002. Preset the superpixel block size, perform superpixel segmentation on each channel image, and obtain a number of superpixel blocks of each channel image; obtain the average grayscale index of each superpixel block of each channel image; obtain the grayscale sequence of each pixel point of each channel image; obtain the degree of illumination influence of each pixel point of each channel image according to the grayscale sequence of each pixel point of each channel image and the average grayscale index of each superpixel block of each channel image, and then obtain the weight correction coefficient of each pixel point of each channel image.

需要说明的是,已知羊绒制品表面往往由于平整度不足且受到光照影响,会使得羊绒制品表面图像存在灰度变化,而在使用高斯滤波算法对每个通道图像进行滤波来减小或消除光照影响的过程中,高斯滤波核对每个像素点赋予的权值仅与像素点之间的欧式距离有关,没有考虑到像素点受光照的影响程度,因此无法达到较好的去除光照影响的效果,因此首先需要获取每个通道图像的每个像素点的光照影响程度,进而自适应获取每个像素点的高斯滤波核来对每个通道图像进行高斯滤波。It should be noted that it is known that the surface of cashmere products is often not smooth enough and is affected by light, which causes grayscale changes in the surface image of cashmere products. In the process of using the Gaussian filter algorithm to filter each channel image to reduce or eliminate the influence of light, the weight assigned to each pixel by the Gaussian filter kernel is only related to the Euclidean distance between the pixels, and the degree to which the pixel is affected by light is not taken into account. Therefore, it is impossible to achieve a good effect of removing the influence of light. Therefore, it is necessary to first obtain the degree of light influence of each pixel in each channel image, and then adaptively obtain the Gaussian filter kernel of each pixel to perform Gaussian filtering on each channel image.

需要进一步说明的是,羊绒制品表面不同区域受光照的影响不同,因此需要对通道图像进行分割,获取每个通道图像的若干个超像素块进行分析。It should be further explained that different areas on the surface of cashmere products are affected differently by light, so it is necessary to segment the channel image and obtain several super-pixel blocks of each channel image for analysis.

在本发明实施例中,预设超像素块大小m=100,在其他实施例中,实施人员可根据具体实施情况预设超像素块大小m的值,获取第n个通道图像的尺寸,记为MN,此时第n个通道图像的超像素块个数,根据第n个通道图像的超像素块个数,使用超像素分割算法对第n个通道图像进行超像素分割,得到第n个通道图像的若干个超像素块;代表向上取整函数。In the embodiment of the present invention, the preset super pixel block size m=100. In other embodiments, the implementer may preset the value of the super pixel block size m according to the specific implementation situation, and obtain the size of the nth channel image, which is recorded as M. N, the number of superpixel blocks in the nth channel image at this time , according to the number of super pixel blocks of the n-th channel image, use the super pixel segmentation algorithm to perform super pixel segmentation on the n-th channel image to obtain several super pixel blocks of the n-th channel image; Represents the ceiling function.

需要说明的是,已知由于光照影响在通道图像中产生的阴影区域的像素点的灰度值往往较低,因此可以根据通道图像中每个超像素块的灰度值来获取通道图像的每个超像素块平均灰度指标,当通道图像中的任意一个超像素块的灰度值越小,说明其越可能是受光照影响的阴影区域。It should be noted that it is known that the grayscale values of pixels in the shadow area generated in the channel image due to the influence of light are often low. Therefore, the average grayscale index of each superpixel block in the channel image can be obtained according to the grayscale value of each superpixel block in the channel image. The smaller the grayscale value of any superpixel block in the channel image, the more likely it is to be a shadow area affected by light.

在本发明实施例中,获取第n个通道图像的第i个超像素块的平均灰度指标:In this embodiment of the present invention, the average grayscale index of the i-th super pixel block of the n-th channel image is obtained:

;

式中,代表第n个通道图像的第i个超像素块的平均灰度指标;代表第n个通道图像的第i个超像素块中像素点的平均灰度值;代表第n个通道图像的所有超像素块中像素点的平均灰度值的最大值;exp()代表以自然常数为底数的指数函数;的值越大,说明第n个通道图像的第i个超像素块中的像素点越有可能是受光照影响的阴影区域。In the formula, Represents the average grayscale index of the i-th superpixel block of the n-th channel image; Represents the average gray value of the pixels in the i-th superpixel block of the n-th channel image; Represents the maximum value of the average grayscale value of pixels in all superpixel blocks of the nth channel image; exp() represents an exponential function with a natural constant as the base; The larger the value of , the more likely the pixel in the i-th superpixel block of the n-th channel image is to be a shadow area affected by lighting.

需要说明的是,已知当通道图像中任意一个超像素块的平均灰度指标的值越大时,说明该超像素块越有可能是受光照影响的阴影区域,即该超像素块中的每个像素点越有可能是受光照影响的阴影区域,再者,对于通道图像中任意一个像素点来说,其局部窗口中像素点的灰度值分布的复杂性,能够反映该像素点是否是受到光照影响的阴影区域的像素点,因此首先获取每个通道图像的每个像素点的局部窗口,根据每个通道图像的每个像素点的局部窗口中的像素点灰度分布的复杂性以及每个像素点所在的超像素块的平均灰度指标,获取每个通道图像的每个像素点的光照影响程度。It should be noted that it is known that the larger the value of the average grayscale index of any superpixel block in the channel image, the more likely the superpixel block is to be a shadow area affected by illumination, that is, each pixel in the superpixel block is more likely to be a shadow area affected by illumination. Furthermore, for any pixel in the channel image, the complexity of the grayscale value distribution of the pixel in its local window can reflect whether the pixel is a pixel in the shadow area affected by illumination. Therefore, the local window of each pixel of each channel image is first obtained, and the degree of illumination influence of each pixel of each channel image is obtained according to the complexity of the grayscale distribution of the pixel in the local window of each pixel of each channel image and the average grayscale index of the superpixel block where each pixel is located.

在本发明实施例中,获取第n个通道图像的每个像素点的局部窗口:预设局部窗口大小为,以第n个通道图像的第j个像素点为中心像素点构建大小为的局部窗口作为第n个通道图像的第j个像素点的局部窗口;将第n个通道图像的第j个像素点的局部窗口中所有像素点按照灰度值从小到大的顺序进行排序,得到第n个通道图像的第j个像素点的灰度序列;在本发明实施例中,预设局部窗口大小,在其他实施例中,实施人员可根据具体实施情况预设局部窗口大小的值。In the embodiment of the present invention, a local window of each pixel point of the nth channel image is obtained: the local window size is preset to be , with the jth pixel of the nth channel image as the center pixel to construct a pixel with a size of As the local window of the jth pixel of the nth channel image; sort all the pixels in the local window of the jth pixel of the nth channel image in ascending order of grayscale value to obtain the grayscale sequence of the jth pixel of the nth channel image; in the embodiment of the present invention, the local window size is preset In other embodiments, the implementer may preset the local window size according to the specific implementation situation. The value of .

获取第n个通道图像的每个像素点的光照影响程度:Get the degree of illumination influence of each pixel in the nth channel image:

;

式中,代表第n个通道图像的第j个像素点的光照影响程度;代表第n个通道图像的第j个像素点,所在的第n个通道图像的超像素块的平均灰度指标;代表第n个通道图像的第j个像素点的局部窗口中的像素点数量;代表第n个通道图像的第j个像素点的灰度序列中第v个像素点的灰度值;代表第n个通道图像的第j个像素点的灰度序列中第v+1个像素点的灰度值;的值越大,说明第n个通道图像的第j个像素点,所在的第n个通道图像的超像素块内的灰度值越低,说明超像素块内灰度值受光照导致的阴影影响较大,即超像素块的平均灰度指标越高,其光照影响程度越高;代表第n个通道图像的第j个像素点的局部窗口中灰度分布的复杂性,其值越大,说明第n个通道图像的第j个像素点的局部窗口中的灰度分布越复杂,说明第n个通道图像的第j个像素点的光照影响程度越大。In the formula, Represents the degree of illumination influence of the j-th pixel of the n-th channel image; Represents the average grayscale index of the superpixel block of the n-th channel image where the j-th pixel of the n-th channel image is located; The number of pixels in the local window representing the jth pixel of the nth channel image; Represents the grayscale value of the vth pixel in the grayscale sequence of the jth pixel of the nth channel image; Represents the gray value of the v+1th pixel in the gray sequence of the jth pixel of the nth channel image; The larger the value of , the lower the gray value of the j-th pixel point in the n-th channel image in the superpixel block of the n-th channel image, which means that the gray value in the superpixel block is greatly affected by the shadow caused by illumination, that is, the higher the average gray index of the superpixel block, the higher the degree of illumination influence; Represents the complexity of the grayscale distribution in the local window of the j-th pixel of the n-th channel image. The larger the value, the more complex the grayscale distribution in the local window of the j-th pixel of the n-th channel image, and the greater the degree of illumination influence on the j-th pixel of the n-th channel image.

将第n个通道图像的每个像素点的光照影响程度进行线性归一化处理,得到第n个通道图像的每个像素点的权值修正系数。The illumination influence degree of each pixel point of the n-th channel image is linearly normalized to obtain the weight correction coefficient of each pixel point of the n-th channel image.

S003.根据每个通道图像的每个像素点的权值修正系数自适应获取每个通道图像的每个像素点的高斯滤波核对每个通道图像进行高斯滤波,得到每个通道滤波结果图像进行测色。S003. Adaptively obtain the Gaussian filter kernel of each pixel of each channel image according to the weight correction coefficient of each pixel of each channel image, perform Gaussian filtering on each channel image, and obtain each channel filtering result image for color measurement.

需要说明的是,通道图像的每个像素点的权值修正系数反映了每个像素点在进行高斯滤波的过程中的可信度,可信度越高的像素点越可能是曝光正常的像素点,根据可信度高的像素点进行滤波能够达到更好的滤波效果,以使后续测色结果更加准确,因此需要根据通道图像的每个像素点的权值修正系数对高斯滤波核中每个像素点的权值进行修正,自适应获取每个像素点的高斯滤波核对通道图像进行高斯滤波。It should be noted that the weight correction coefficient of each pixel of the channel image reflects the credibility of each pixel during the Gaussian filtering process. The more credible the pixel, the more likely it is to be a pixel with normal exposure. Filtering based on pixels with high credibility can achieve better filtering effects, so that subsequent color measurement results are more accurate. Therefore, it is necessary to correct the weight of each pixel in the Gaussian filter kernel according to the weight correction coefficient of each pixel of the channel image, and adaptively obtain the Gaussian filter kernel of each pixel to perform Gaussian filtering on the channel image.

需要进一步说明的是,在进行高斯滤波的过程中,主要考虑了每个像素点的光照影响程度,然而通过固定窗口大小进行滤波的过程中,在光照阴影较大的区域进行滤波时,会由于窗口内像素点均属于光照阴影区域没有曝光正常的像素点作为参考而使滤波结果仍然不够准确,故可通过加大滤波窗口和多次滤波的方法解决该问题。It should be further explained that in the process of Gaussian filtering, the degree of illumination influence of each pixel is mainly considered. However, in the process of filtering with a fixed window size, when filtering in an area with large illumination shadows, the filtering result will still not be accurate because all the pixels in the window belong to the illumination shadow area and there are no pixels with normal exposure as a reference. Therefore, this problem can be solved by increasing the filtering window and filtering multiple times.

在本发明实施例中,预设高斯滤波窗口大小为以及滤波次数d,根据高斯函数获取第n个通道图像的每个像素点的高斯滤波核中的每个像素点的权值,并将第n个通道图像的每个像素点的高斯滤波核中的每个像素点的权值乘以第n个通道图像的每个像素点的权值修正系数,获取第n个通道图像的每个像素点的高斯滤波核中每个像素点的更新权值,得到第n个通道图像的每个像素点的高斯滤波核,根据第n个通道图像的每个像素点的高斯滤波核,使用高斯滤波算法对第n个通道图像进行滤波,直至第n个通道图像的滤波次数达到d时停止,得到第n个通道滤波结果图像,在本发明实施例中,预设高斯滤波窗口大小,滤波次数d=10,在其他实施例中,实施人员可根据具体实施方式预设高斯滤波窗口大小以及滤波次数的值;同理,对每个通道图像进行滤波处理,得到每个通道滤波结果图像。In the embodiment of the present invention, the preset Gaussian filter window size is and filtering times d, obtaining the weight of each pixel in the Gaussian filter kernel of each pixel of the n-th channel image according to the Gaussian function, and multiplying the weight of each pixel in the Gaussian filter kernel of each pixel of the n-th channel image by the weight correction coefficient of each pixel of the n-th channel image, obtaining the updated weight of each pixel in the Gaussian filter kernel of each pixel of the n-th channel image, obtaining the Gaussian filter kernel of each pixel of the n-th channel image, filtering the n-th channel image using the Gaussian filter algorithm according to the Gaussian filter kernel of each pixel of the n-th channel image, stopping when the filtering times of the n-th channel image reaches d, and obtaining the n-th channel filtering result image, in an embodiment of the present invention, the Gaussian filter window size is preset , the number of filtering times d=10. In other embodiments, the implementer can preset the Gaussian filter window size and the number of filtering times according to the specific implementation method; similarly, each channel image is filtered to obtain a filtering result image of each channel.

使用多通道图像混合算法,将三个通道滤波结果图像融合为彩色图像,根据彩色图像进行测色,需要说明的是,多通道图像混合算法为现有技术,在本发明实施例中,不再对其进行过多赘述。A multi-channel image mixing algorithm is used to fuse the three channel filtering result images into a color image, and color measurement is performed based on the color image. It should be noted that the multi-channel image mixing algorithm is a prior art and will not be described in detail in the embodiments of the present invention.

本发明目的在于获取各通道图像的各像素点的光照影响程度,对各通道图像的各像素点的高斯滤波核中的各像素点的权值进行修正,自适应获取各通道图像的各像素点的高斯滤波核对各通道图像进行滤波处理,消除光照的影响,使得图像的滤波结果更加准确。The purpose of the present invention is to obtain the degree of illumination influence of each pixel point of each channel image, correct the weight of each pixel point in the Gaussian filter kernel of each pixel point of each channel image, adaptively obtain the Gaussian filter kernel of each pixel point of each channel image to filter each channel image, eliminate the influence of illumination, and make the filtering result of the image more accurate.

上述装置还包括通信总线和通信接口等本领域技术人员熟知的其他组件,其设置和功能为本领域中已知,因此在此不再赘述。The above-mentioned device also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, whose configuration and functions are known in the art and thus will not be described in detail here.

在本发明中,前述的存储器可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。例如,计算机可读存储介质可以是任何适当的磁存储介质或者磁光存储介质,比如,阻变式存储器、动态随机存取存储器、静态随机存取存储器、增强动态随机存取存储器、高带宽内存、混合存储立方等等,或者可以用于存储所需信息并且可以由应用程序、模块或两者访问的任何其他介质。任何这样的计算机存储介质可以是设备的一部分或可访问或可连接到设备。In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory, a dynamic random access memory, a static random access memory, an enhanced dynamic random access memory, a high bandwidth memory, a hybrid storage cube, etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of the device or accessible or connectable to the device.

虽然本说明书已经示出和描述了本发明的多个实施例,但对于本领域技术人员显而易见的是,这样的实施例只是以示例的方式提供的。本领域技术人员会在不偏离本发明思想和精神的情况下想到许多更改、改变和替代的方式。应当理解的是在实践本发明的过程中,可以采用对本文所描述的本发明实施例的各种替代方案。Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

以上均为本发明的较佳实施例,并非依此限制本发明的保护范围,故:凡依本发明的结构、形状、原理所做的等效变化,均应涵盖于本发明的保护范围之内。The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1.基于图像识别的羊绒制品测色方法,其特征在于,包括:1. A cashmere product color measurement method based on image recognition, characterized in that it comprises: 采集羊绒制品表面图像;根据羊绒制品表面图像,获取每个通道图像;Collecting a surface image of a cashmere product; acquiring an image of each channel according to the surface image of the cashmere product; 对各通道图像进行超像素分割,得到各通道图像的多个超像素块;获取各通道图像的各超像素块的平均灰度指标;式中,代表第n个通道图像的第i个超像素块的平均灰度指标;代表第n个通道图像的第i个超像素块中像素点的平均灰度值;代表第n个通道图像的所有超像素块中像素点的平均灰度值的最大值;exp()代表以自然常数为底数的指数函数;Perform superpixel segmentation on each channel image to obtain multiple superpixel blocks of each channel image; obtain the average grayscale index of each superpixel block of each channel image ; In the formula, Represents the average grayscale index of the i-th superpixel block of the n-th channel image; Represents the average gray value of the pixels in the i-th superpixel block of the n-th channel image; Represents the maximum value of the average grayscale value of pixels in all superpixel blocks of the nth channel image; exp() represents an exponential function with a natural constant as the base; 获取各通道图像的各像素点的光照影响程度:Get the degree of illumination influence of each pixel in each channel image: ,其中,代表第n个通道图像的第j个像素点的光照影响程度,代表第n个通道图像的第j个像素点所在的第n个通道图像的超像素块的平均灰度指标;代表第n个通道图像的第j个像素点的局部窗口中的像素点数量;代表第n个通道图像的第j个像素点的灰度序列中第v个像素点的灰度值;代表第n个通道图像的第j个像素点的灰度序列中第v+1个像素点的灰度值; ,in, Represents the degree of illumination influence of the jth pixel of the nth channel image, Represents the average grayscale index of the superpixel block of the nth channel image where the jth pixel of the nth channel image is located; The number of pixels in the local window representing the jth pixel of the nth channel image; Represents the grayscale value of the vth pixel in the grayscale sequence of the jth pixel of the nth channel image; Represents the gray value of the v+1th pixel in the gray sequence of the jth pixel of the nth channel image; 将各通道图像的每个像素点的光照影响程度进行线性归一化处理,得到各通道图像的每个像素点的权值修正系数;预设高斯滤波窗口大小为,根据高斯函数获取各通道图像的每个像素点的高斯滤波核中的每个像素点的权值,并将各通道图像的每个像素点的高斯滤波核中的每个像素点的权值乘以各通道图像的每个像素点的权值修正系数,获取各通道图像的每个像素点的高斯滤波核中每个像素点的更新权值,得到各通道图像的每个像素点的高斯滤波核;基于各通道图像的各像素点的高斯滤波核对各通道图像进行高斯滤波,得到各通道滤波结果图像。The illumination influence degree of each pixel point of each channel image is linearly normalized to obtain the weight correction coefficient of each pixel point of each channel image; the preset Gaussian filter window size is , according to the Gaussian function, the weight of each pixel in the Gaussian filter kernel of each pixel of each channel image is obtained, and the weight of each pixel in the Gaussian filter kernel of each pixel of each channel image is multiplied by the weight correction coefficient of each pixel of each channel image, and the updated weight of each pixel in the Gaussian filter kernel of each pixel of each channel image is obtained to obtain the Gaussian filter kernel of each pixel of each channel image; based on the Gaussian filter kernel of each pixel of each channel image, each channel image is Gaussian filtered to obtain the filtering result image of each channel. 2.根据权利要求1所述的基于图像识别的羊绒制品测色方法,其特征在于,所述对各通道图像进行超像素分割,得到各通道图像的多个超像素块,包括:2. The cashmere product color measurement method based on image recognition according to claim 1, characterized in that the super-pixel segmentation of each channel image to obtain a plurality of super-pixel blocks of each channel image comprises: 预设超像素块大小m,获取第n个通道图像的尺寸,记为MN,则第n个通道图像的超像素块个数,根据第n个通道图像的超像素块个数,使用超像素分割算法对第n个通道图像进行超像素分割,得到第n个通道图像的若干个超像素块;代表向上取整函数。Preset the superpixel block size m and obtain the size of the nth channel image, denoted as M N, then the number of superpixel blocks in the nth channel image , according to the number of super-pixel blocks of the n-th channel image, use the super-pixel segmentation algorithm to perform super-pixel segmentation on the n-th channel image to obtain several super-pixel blocks of the n-th channel image; Represents the ceiling function. 3.根据权利要求1所述的基于图像识别的羊绒制品测色方法,其特征在于,所述局部窗口的获取包括:3. The cashmere product color measurement method based on image recognition according to claim 1, characterized in that the acquisition of the local window comprises: 预设局部窗口大小为,以各通道图像的各像素点为中心像素点构建大小为的局部窗口作为各通道图像的各像素点的局部窗口。The default local window size is , with each pixel of each channel image as the center pixel to construct a pixel with a size of The local window of is used as the local window of each pixel point of each channel image. 4.根据权利要求1所述的基于图像识别的羊绒制品测色方法,其特征在于,所述灰度序列的获取包括:4. The cashmere product color measurement method based on image recognition according to claim 1, characterized in that the acquisition of the grayscale sequence comprises: 将各通道图像的各像素点的局部窗口中所有像素点按照灰度值从小到大的顺序进行排序,得到各通道图像的各像素点的灰度序列。All the pixels in the local window of each pixel of each channel image are sorted in ascending order of grayscale value to obtain the grayscale sequence of each pixel of each channel image. 5.根据权利要求1所述的基于图像识别的羊绒制品测色方法,其特征在于,所述基于各通道图像的各像素点的高斯滤波核对各通道图像进行高斯滤波,得到各通道滤波结果图像,包括:5. The cashmere product color measurement method based on image recognition according to claim 1, characterized in that the Gaussian filter kernel based on each pixel point of each channel image performs Gaussian filtering on each channel image to obtain each channel filtering result image, including: 预设滤波次数d,根据各通道图像的每个像素点的高斯滤波核,使用高斯滤波算法对各通道图像进行滤波,直至各通道图像的滤波次数达到d时停止,得到各通道滤波结果图像。The number of filtering times d is preset, and the images of each channel are filtered using the Gaussian filtering algorithm according to the Gaussian filtering kernel of each pixel point of each channel image until the number of filtering times of each channel image reaches d, thereby obtaining the filtering result images of each channel. 6.基于图像识别的羊绒制品测色装置,其特征在于,包括:处理器和存储器,所述存储器存储有计算机程序指令,当所述计算机程序指令被所述处理器执行时实现根据权利要求1-5任一项所述的基于图像识别的羊绒制品测色方法。6. A cashmere product color measurement device based on image recognition, characterized in that it includes: a processor and a memory, the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the cashmere product color measurement method based on image recognition according to any one of claims 1 to 5 is implemented.
CN202410954548.3A 2024-07-17 2024-07-17 Cashmere product color measurement method and device based on image recognition Active CN118505825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410954548.3A CN118505825B (en) 2024-07-17 2024-07-17 Cashmere product color measurement method and device based on image recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410954548.3A CN118505825B (en) 2024-07-17 2024-07-17 Cashmere product color measurement method and device based on image recognition

Publications (2)

Publication Number Publication Date
CN118505825A CN118505825A (en) 2024-08-16
CN118505825B true CN118505825B (en) 2024-09-10

Family

ID=92241318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410954548.3A Active CN118505825B (en) 2024-07-17 2024-07-17 Cashmere product color measurement method and device based on image recognition

Country Status (1)

Country Link
CN (1) CN118505825B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114565563A (en) * 2022-01-31 2022-05-31 扬州江净空调制造有限公司 Color steel plate surface abnormity detection method based on artificial intelligence
CN115035293A (en) * 2022-05-24 2022-09-09 国家海洋环境监测中心 An unsupervised deep learning intelligent extraction method for marine aquaculture from SAR images

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950508B (en) * 2021-03-12 2022-02-11 中国矿业大学(北京) Drainage pipeline video data restoration method based on computer vision
CN118052737B (en) * 2024-01-18 2024-12-24 北京交通大学 Unmanned aerial vehicle image defogging algorithm based on perception guidance of super-pixel scene priori

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114565563A (en) * 2022-01-31 2022-05-31 扬州江净空调制造有限公司 Color steel plate surface abnormity detection method based on artificial intelligence
CN115035293A (en) * 2022-05-24 2022-09-09 国家海洋环境监测中心 An unsupervised deep learning intelligent extraction method for marine aquaculture from SAR images

Also Published As

Publication number Publication date
CN118505825A (en) 2024-08-16

Similar Documents

Publication Publication Date Title
CN111612763B (en) Mobile phone screen defect detection method, device and system, computer equipment and medium
CN110060237B (en) Fault detection method, device, equipment and system
WO2021139258A1 (en) Image recognition based cell recognition and counting method and apparatus, and computer device
CN111814867A (en) Defect detection model training method, defect detection method and related device
CN111815564B (en) Method and device for detecting silk ingots and silk ingot sorting system
CN111915704A (en) Apple hierarchical identification method based on deep learning
CN112308854B (en) Automatic detection method and system for chip surface flaws and electronic equipment
CN111598869B (en) Method, equipment and storage medium for detecting Mura of display screen
JP2021531571A (en) Certificate image extraction method and terminal equipment
CN112184733B (en) Cervical abnormal cell detection device and method
CN110298829A (en) A kind of lingual diagnosis method, apparatus, system, computer equipment and storage medium
CN114298985B (en) Defect detection method, device, equipment and storage medium
CN116703932A (en) CBAM-HRNet model wheat spike grain segmentation and counting method based on convolution attention mechanism
CN117557565B (en) Detection method and device for lithium battery pole piece
WO2020087434A1 (en) Method and device for evaluating resolution of face image
CN118071719A (en) Defect detection method, defect detection device, computer equipment and computer readable storage medium
CN110909772B (en) High-precision real-time multi-scale dial pointer detection method and system
CN116152191A (en) Display screen crack defect detection method, device and equipment based on deep learning
CN114841992A (en) Defect detection method based on cyclic generation countermeasure network and structural similarity
CN118297837B (en) Infrared simulator virtual image enhancement system based on image processing
CN118505825B (en) Cashmere product color measurement method and device based on image recognition
CN110298347B (en) Method for identifying automobile exhaust analyzer screen based on GrayWorld and PCA-CNN
CN116109627A (en) Defect detection method, device and medium based on migration learning and small sample learning
CN118967690B (en) A defect detection method based on deep contrastive learning
CN116503404B (en) Plastic toy quality detection method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant