[go: up one dir, main page]

CN116090163A - A method of color selection for mosaic tiles and related equipment - Google Patents

A method of color selection for mosaic tiles and related equipment Download PDF

Info

Publication number
CN116090163A
CN116090163A CN202211421694.7A CN202211421694A CN116090163A CN 116090163 A CN116090163 A CN 116090163A CN 202211421694 A CN202211421694 A CN 202211421694A CN 116090163 A CN116090163 A CN 116090163A
Authority
CN
China
Prior art keywords
color
color space
distribution image
space distribution
colors
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.)
Granted
Application number
CN202211421694.7A
Other languages
Chinese (zh)
Other versions
CN116090163B (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.)
Shenzhen University
Original Assignee
Shenzhen University
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 Shenzhen University filed Critical Shenzhen University
Priority to CN202211421694.7A priority Critical patent/CN116090163B/en
Publication of CN116090163A publication Critical patent/CN116090163A/en
Application granted granted Critical
Publication of CN116090163B publication Critical patent/CN116090163B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/762Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种马赛克瓷砖选色方法及相关设备,所述方法包括:建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间图像和第二色彩空间图像中的颜色构成集合,并保证所述第一和第二色彩空间图像中的颜色都被所述集合的至少任一子集覆盖;计算所述第一和第二色彩空间图像中的颜色与已有瓷砖颜色的平均距离,得到第一部分增加颜色;建立聚类分析模型,将第二色彩空间图像中的颜色划分成类,并计算第二色彩空间图像的隶属度矩阵和聚类中心;将第二色彩空间图像中与聚类中心之间欧氏距离最接近的颜色归于一类,每一类的中心点为新的聚类中心,得到第二部分增加颜色。本发明根据用户提供的原始图像得到了与厂家能够生产颜色中与之最为接近的瓷砖颜色。

Figure 202211421694

The invention discloses a mosaic tile color selection method and related equipment. The method includes: establishing a set coverage model, forming a set of colors of existing tiles and colors in a first color space image and a second color space image, and ensuring that the colors in the first and second color space images are covered by at least any subset of the set; calculating the average distance between the colors in the first and second color space images and existing tile colors, Get the first part to increase the color; establish a cluster analysis model, divide the colors in the second color space image into classes, and calculate the membership matrix and cluster center of the second color space image; combine the second color space image with the clustering The color with the closest Euclidean distance between the cluster centers is assigned to one category, and the center point of each category is a new cluster center, and the second part of the added color is obtained. According to the original image provided by the user, the present invention obtains the tile color closest to the color produced by the manufacturer.

Figure 202211421694

Description

一种马赛克瓷砖选色方法及相关设备Mosaic tile color selection method and related equipment

技术领域Technical Field

本发明涉及图像处理技术领域,尤其涉及一种马赛克瓷砖选色方法、系统、终端及计算机可读存储介质。The present invention relates to the technical field of image processing, and in particular to a mosaic tile color selection method, system, terminal and computer-readable storage medium.

背景技术Background Art

马赛克是已知的历史最悠久的装饰艺术之一,随着现代科技技术的发展,充分利用了计算机技术以及图像处理技术的马赛克瓷砖成为了家庭墙面、地面瓷砖铺设的火热选择之一。在外观上,马赛克瓷砖小巧玲珑,色彩丰富,种类繁多,可以随心所欲的搭配,组成无数种美丽的图案;在性能上,它的防水性能强,化学性质稳定,且耐高温、不吸热、防辐射,装饰效果好,也因此被广泛应用到科技馆、影院、俱乐部等场所。Mosaic is one of the oldest known decorative arts. With the development of modern science and technology, mosaic tiles that make full use of computer technology and image processing technology have become one of the hottest choices for laying home walls and floor tiles. In terms of appearance, mosaic tiles are small and exquisite, rich in color, and a wide variety of types. They can be matched at will to form countless beautiful patterns; in terms of performance, it has strong waterproof performance, stable chemical properties, high temperature resistance, no heat absorption, radiation protection, and good decorative effect. Therefore, it is widely used in science and technology museums, cinemas, clubs and other places.

但是马赛克瓷砖的颜色受到工艺和成本的制约,几乎无法做到与用户所给图片上的颜色完全一致,用户只能根据原图颜色选出在一定范围内与之颜色最相近的瓷砖进行拼接,这样一来大大增加了客户的工作量,时常会让客户陷入颜色选择的困难之中。However, the color of mosaic tiles is restricted by craftsmanship and cost, and it is almost impossible to make it completely consistent with the color in the picture provided by the user. The user can only select tiles with the closest color to the original picture within a certain range for splicing. This greatly increases the customer's workload and often makes it difficult for the customer to choose the color.

现有一马赛克瓷砖生产厂家,该厂能生产22种颜色的马赛克瓷砖,为减少顾客人工手动选色的工作量,需要研究一种马赛克瓷砖的选色方法,能根据原始图片颜色,并自动匹配在厂家能生产的颜色中与之最相近的瓷砖颜色。颜色是图像的一种重要视觉性质,对于图片颜色,色彩模式是现有通用的一种颜色标准,分别代表红色、绿色、蓝色,在格式中通过这三种颜色的搭配一共可以生成16777216种不同的颜色,而厂家所需要的方法是对于厂家生产的22种颜色中任意一种颜色都要能输出与之最接近的瓷砖颜色编号。There is a mosaic tile manufacturer that can produce 22 colors of mosaic tiles. In order to reduce the workload of customers' manual color selection, it is necessary to study a mosaic tile color selection method that can automatically match the tile color that is closest to the color that the manufacturer can produce based on the original image color. Color is an important visual property of an image. For image color, the color mode is an existing universal color standard, representing red, green, and blue respectively. In the format, a total of 16777216 different colors can be generated by matching these three colors. The method required by the manufacturer is to be able to output the tile color number that is closest to any of the 22 colors produced by the manufacturer.

因此,现有技术还有待于改进和发展。Therefore, the prior art still needs to be improved and developed.

发明内容Summary of the invention

本发明的主要目的在于提供一种马赛克瓷砖选色方法、系统、终端及计算机可读存储介质,旨在解决现有技术中无法根据原始图片颜色在厂家能生产的颜色中自动匹配与之最相近的瓷砖颜色的问题。The main purpose of the present invention is to provide a mosaic tile color selection method, system, terminal and computer-readable storage medium, aiming to solve the problem in the prior art that it is impossible to automatically match the tile color that is closest to the original picture color among the colors that can be produced by the manufacturer.

为实现上述目的,本发明提供一种马赛克瓷砖选色方法,所述马赛克瓷砖选色方法包括如下步骤:To achieve the above object, the present invention provides a mosaic tile color selection method, the mosaic tile color selection method comprising the following steps:

建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖;Establishing a set coverage model, forming a set with the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set;

在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色;In the set coverage model, the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors is calculated, and the colors of the first part of tiles to be added are obtained by sorting them according to the average distances;

建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心;Establishing a cluster analysis model, dividing the colors in the second color space distribution image into classes, calculating the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtaining cluster centers;

将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The colors in the second color space distribution image that are closest to the cluster center in Euclidean distance are classified into one category, and the center point of each category is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added.

可选地,所述的马赛克瓷砖选色方法,其中,建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖;Optionally, the mosaic tile color selection method, wherein a set coverage model is established, the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image form a set, and it is ensured that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set;

所述建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖,具体包括:The establishing of the set coverage model, forming a set with the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set, specifically includes:

将第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合T,集合T中共416种颜色,将已有瓷砖的颜色与集合T中的颜色共同构成集合C,引入决策变量:

Figure BDA0003941475750000031
其中xj为决策变量,Tj为集合T中的任一种颜色,Cn为集合C中的覆盖子集,otherwise代表不在集合C覆盖范围内;The colors in the first color space distribution image and the second color space distribution image form a set T, which has 416 colors in total. The colors of the existing tiles and the colors in set T form a set C, and the decision variables are introduced:
Figure BDA0003941475750000031
Where xj is a decision variable, Tj is any color in set T, Cn is a covering subset in set C, and otherwise represents a color not in the coverage of set C;

建立集合覆盖模型:

Figure BDA0003941475750000032
xj=0,j=1,2,...,416,其中约束条件用于确保集合T中的每一元素Tj都被集合C的至少任一子集Cn覆盖住。Build a collection coverage model:
Figure BDA0003941475750000032
x j =0, j=1, 2, . . . , 416, where the constraint is used to ensure that every element T j in the set T is covered by at least any subset C n of the set C.

所述建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖,之前还包括:The method of establishing a set coverage model, combining the colors of the existing tiles with the colors in the first color space distribution image and the second color space distribution image to form a set, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set, further includes:

将所述第一色彩空间分布图像和第二色彩空间分布图像中的颜色和已有瓷砖的颜色的RGB值转化为HSV值。The RGB values of the colors in the first color space distribution image and the second color space distribution image and the colors of the existing tiles are converted into HSV values.

可选地,所述的马赛克瓷砖选色方法,其中,在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色;Optionally, in the mosaic tile color selection method, in the set coverage model, the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors is calculated, and the colors are sorted according to the average distance to obtain the first part of tile colors that need to be added;

所述在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色,具体包括:In the set coverage model, the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors is calculated, and the colors of the first part of tiles to be added are obtained by sorting according to the average distance, specifically including:

计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离:

Figure BDA0003941475750000041
其中,djn表示第一色彩空间分布图像和第二色彩空间分布图像中每一种颜色与已有瓷砖颜色之间的欧氏距离;Calculate the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color:
Figure BDA0003941475750000041
Wherein, d jn represents the Euclidean distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color;

将多个所述平均距离从大到小排序,并根据多个所述平均距离在所述色彩空间中的位置获取对应的颜色,从中选择颜色来填补已有瓷砖颜色的空白,得到需要增加的第一部分瓷砖颜色。The multiple average distances are sorted from large to small, and corresponding colors are obtained according to the positions of the multiple average distances in the color space, and colors are selected therefrom to fill the blanks of the existing tile colors, so as to obtain the first part of tile colors that need to be added.

所述计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,具体包括:The step of calculating the average distance between each color in the first color space distribution image and the second color space distribution image and the color of the existing tiles specifically includes:

获取所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的欧氏距离:

Figure BDA0003941475750000051
其中,hj,sj,vj分别为HSV色彩空间中所述第一色彩空间分布图像和第二色彩空间分布图像中每一种颜色的坐标值,hn,sn,vn分别为HSV色彩空间中所述已有瓷砖颜色的坐标值;Get the Euclidean distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color:
Figure BDA0003941475750000051
Wherein, hj , sj , vj are respectively the coordinate values of each color in the first color space distribution image and the second color space distribution image in the HSV color space, and hn , sn , vn are respectively the coordinate values of the existing tile colors in the HSV color space;

获取所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离。The average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color is obtained.

可选地,建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心;Optionally, a cluster analysis model is established to divide the colors in the second color space distribution image into classes, and a membership matrix of the second color space distribution image is calculated by a fuzzy clustering method to obtain cluster centers;

所述建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心,具体包括:The step of establishing a cluster analysis model, dividing the colors in the second color space distribution image into classes, calculating the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtaining cluster centers specifically includes:

建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,得到模糊聚类的目标函数:

Figure BDA0003941475750000052
其中,目标函数J(U,C)表示所述第二色彩空间分布图像中的颜色所对应的坐标到每个聚类中心距离的加权平方和,隶属度矩阵U=[ujn]表示所述第二色彩空间分布图像中的颜色属于每个类的程度大小,M是所述第二色彩空间分布图像中的颜色的个数,N是聚类中心个数,f是加权指数,dist(cn,kj)是指所述第二色彩空间分布图像中的颜色与每个聚类中心的距离,cn是聚类中心对应的坐标,kj是所述第二色彩空间分布图像中的颜色对应的坐标;A cluster analysis model is established to divide the colors in the second color space distribution image into classes, and the objective function of fuzzy clustering is obtained:
Figure BDA0003941475750000052
Wherein, the objective function J(U, C) represents the weighted sum of squares of the distances from the coordinates corresponding to the colors in the second color space distribution image to each cluster center, the membership matrix U=[u jn ] represents the degree to which the colors in the second color space distribution image belong to each class, M is the number of colors in the second color space distribution image, N is the number of cluster centers, f is a weighted index, dist(c n , k j ) refers to the distances from the colors in the second color space distribution image to each cluster center, c n is the coordinates corresponding to the cluster center, and k j is the coordinates corresponding to the colors in the second color space distribution image;

得到模糊聚类的目标函数后,运用拉格朗日方法,得到隶属度矩阵ujn

Figure BDA0003941475750000061
其中,m是所述第二色彩空间分布图像中的颜色对应的个数,dist2 nj是指所述第二色彩空间分布图像中的颜色所对应的坐标与每个聚类中心的距离的平方;After obtaining the objective function of fuzzy clustering, the Lagrange method is used to obtain the membership matrix u jn ,
Figure BDA0003941475750000061
Wherein, m is the number of colors in the second color space distribution image, and dist 2 nj refers to the square of the distance between the coordinates corresponding to the colors in the second color space distribution image and each cluster center;

获得所述聚类中心En

Figure BDA0003941475750000062
其中,unj=1/ujn。Obtain the cluster center En :
Figure BDA0003941475750000062
Among them, u nj =1/u jn .

可选地,将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色;Optionally, the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance are classified into one category, and the center point of each category is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added;

所述将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色,具体包括:The step of classifying the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance into one category, and calculating the center point of each category to obtain a new cluster center, wherein the color corresponding to the new cluster center is the second part of tile colors that need to be added, specifically includes:

计算所述第二色彩空间分布图像中的颜色与所述聚类中心的欧氏距离,所述第二色彩空间分布图像中的每一个颜色都得到N个距离,将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类;Calculating the Euclidean distance between the colors in the second color space distribution image and the cluster center, obtaining N distances for each color in the second color space distribution image, and classifying the colors in the second color space distribution image that have the closest Euclidean distance to the cluster center into one category;

计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The center point of each class is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added.

此外,为实现上述目的,本发明还提供一种马赛克瓷砖选色的系统,其中,所述马赛克瓷砖选色的系统包括:In addition, to achieve the above-mentioned purpose, the present invention also provides a mosaic tile color selection system, wherein the mosaic tile color selection system comprises:

颜色集合模块,用于建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖;A color set module, used to establish a set coverage model, to form a set with the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image, and to ensure that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set;

第一颜色选择模块,用于在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色;A first color selection module is used to calculate the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors in the set coverage model, and sort them according to the average distance to obtain the first part of tile colors that need to be added;

聚类分析模块,用于将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心;A cluster analysis module, used to classify the colors in the second color space distribution image into classes, calculate the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtain cluster centers;

第二颜色选择模块,用于将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The second color selection module is used to classify the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance into one category, and calculate the center point of each category to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added.

此外,为实现上述目的,本发明还提供一种终端,其中,所述终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的马赛克瓷砖选色的程序,所述马赛克瓷砖选色的程序被所述处理器执行时实现如上所述的一种马赛克瓷砖选色方法的步骤。In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a mosaic tile color selection program stored in the memory and executable on the processor, wherein the mosaic tile color selection program, when executed by the processor, implements the steps of a mosaic tile color selection method as described above.

此外,为实现上述目的,本发明还提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储有马赛克瓷砖选色的程序,所述马赛克瓷砖选色的程序被处理器执行时实现如上所述的一种马赛克瓷砖选色方法的步骤。In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program for mosaic tile color selection, and when the program for mosaic tile color selection is executed by a processor, the steps of a mosaic tile color selection method as described above are implemented.

本发明中,建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖;在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色;建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心;将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。本发明通过将第一色彩空间图像和第二色彩空间图像以及已有瓷砖中颜色的RGB值转化为HSV值,一方面,通过计算第一色彩空间图像和第二色彩空间图像的颜色在色彩空间中对应的位置与已有瓷砖颜色在色彩空间中对应位置的距离,来获取与已有瓷砖颜色相近的颜色,另一方面,通过寻找第二色彩空间图像中聚类中心位置对应的颜色,增加了瓷砖颜色的多样性和拼接图像的表现力,同时也满足了客户对颜色的需求。In the present invention, a set coverage model is established, and the colors of existing tiles and the colors in the first color space distribution image and the second color space distribution image form a set, and it is ensured that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set; in the set coverage model, the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors is calculated, and the colors are sorted according to the average distance to obtain the first part of tile colors that need to be added; a cluster analysis model is established, and the colors in the second color space distribution image are divided into classes, and the membership matrix of the second color space distribution image is calculated by the fuzzy clustering method to obtain the cluster center; the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance are classified into one class, and the center point of each class is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the second part of tile colors that need to be added. The present invention converts the RGB values of the colors in the first color space image, the second color space image and the existing tiles into HSV values. On the one hand, by calculating the distance between the corresponding positions of the colors of the first color space image and the second color space image in the color space and the corresponding positions of the colors of the existing tiles in the color space, a color close to the existing tile color is obtained. On the other hand, by finding the color corresponding to the cluster center position in the second color space image, the diversity of tile colors and the expressiveness of the spliced image are increased, while also meeting the customer's demand for color.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明的马赛克瓷砖选色方法的较佳实施例的流程图;FIG1 is a flow chart of a preferred embodiment of a mosaic tile color selection method of the present invention;

图2是本发明的马赛克瓷砖选色方法的第一色彩空间分布图;FIG2 is a first color space distribution diagram of the mosaic tile color selection method of the present invention;

图3是本发明的马赛克瓷砖选色方法的第二色彩空间分布图;FIG3 is a second color space distribution diagram of the mosaic tile color selection method of the present invention;

图4是本发明的马赛克瓷砖选色方法的RGB调色原理图;FIG4 is a schematic diagram of the RGB color adjustment principle of the mosaic tile color selection method of the present invention;

图5是本发明马赛克瓷砖选色的系统的较佳实施例的原理示意图;FIG5 is a schematic diagram of the principle of a preferred embodiment of a system for selecting color of mosaic tiles of the present invention;

图6为本发明终端的较佳实施例的运行环境示意图。FIG. 6 is a schematic diagram of an operating environment of a preferred embodiment of a terminal of the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

本发明较佳实施例所述的一种马赛克瓷砖选色方法,如图1所示,所述马赛克瓷砖选色方法包括以下步骤:A mosaic tile color selection method according to a preferred embodiment of the present invention, as shown in FIG1 , comprises the following steps:

步骤S10、建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖。Step S10, establish a set coverage model, form a set with the colors of existing tiles and the colors in the first color space distribution image and the second color space distribution image, and ensure that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set.

其中,在图2和图3中分别给出了第一色彩空间分布图像和第二色彩空间分布图像对应的216种、200种颜色及RGB值,可以看出图2中的颜色分布比较均匀,由R、G、B分别取固定的6个值组合而成,是有规律的等间隔数据,其中,R分别取0,43,86,129,172,215这6个值;G分别取20,63,106,149,192,235这6个值;B分别取39,82,125,168,211,254这6个值。2 and 3 respectively give 216 and 200 colors and RGB values corresponding to the first color space distribution image and the second color space distribution image. It can be seen that the color distribution in FIG2 is relatively uniform, and is composed of a fixed combination of 6 values for R, G, and B, respectively. It is regular and equally spaced data, wherein R takes 6 values of 0, 43, 86, 129, 172, and 215; G takes 6 values of 20, 63, 106, 149, 192, and 235; and B takes 6 values of 39, 82, 125, 168, 211, and 254.

而图3中的颜色分布则相对更随机,整体沿着空间颜色系中坐标值的增大而产生对应的颜色变化,此时的R、G、B值没有固定,因此颜色的变化也相对图2更复杂,可以看出图像3所对应的颜色在部分段的颜色中出现频率较高,而在一部分段颜色中出现频率较低。The color distribution in Figure 3 is relatively more random, and the overall color changes as the coordinate value in the spatial color system increases. At this time, the R, G, and B values are not fixed, so the color changes are more complicated than in Figure 2. It can be seen that the color corresponding to image 3 appears more frequently in some segments of color, and less frequently in some segments of color.

将所述第一色彩空间分布图像和第二色彩空间分布图像中的颜色和已有瓷砖的颜色的RGB值转化为HSV值。The RGB values of the colors in the first color space distribution image and the second color space distribution image and the colors of the existing tiles are converted into HSV values.

其中,找出与已有厂家生产的22颜色最接近的瓷砖颜色,本质为计算两个颜色之间的相似度。Among them, finding the tile color that is closest to the 22 colors produced by existing manufacturers is essentially to calculate the similarity between two colors.

在RGB色彩空间中,R,G,B的取值范围是[0,255],在HSV色彩空间,H的取值范围是[0°,360°],S的取值范围是[0,1],V的取值范围是[0,255],其中H表示色相、S表示饱和度、V表示明度。In the RGB color space, the value range of R, G, and B is [0, 255]. In the HSV color space, the value range of H is [0°, 360°], the value range of S is [0, 1], and the value range of V is [0, 255], where H represents hue, S represents saturation, and V represents brightness.

之所以将颜色的RGB值转化为HSV值是因为在RGB格式中R、G、B三者之间的界限不太清晰,用RGB计算色差时,存在重叠问题,易受到光照等因素的影响,难以准确分割,而HSV则不会收到光照影响,通过调整色调H、饱和度S和明亮度V来描述颜色避免了这个问题,可以将HSV看成是一个三维空间坐标系,通过衡量不同颜色对应的坐标点在空间中的距离,计算欧氏距离来判断颜色种类。The reason why the RGB value of the color is converted into the HSV value is that the boundaries between R, G, and B in the RGB format are not very clear. When using RGB to calculate color difference, there is an overlap problem, which is easily affected by factors such as lighting and difficult to accurately segment. HSV, on the other hand, is not affected by lighting. This problem is avoided by adjusting the hue H, saturation S, and brightness V to describe the color. HSV can be regarded as a three-dimensional space coordinate system. The color type is determined by measuring the distance between the coordinate points corresponding to different colors in space and calculating the Euclidean distance.

具体地,将第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合T,集合T中共416种颜色,将已有瓷砖的颜色与集合T中的颜色共同构成集合C,引入决策变量:

Figure BDA0003941475750000111
其中xj为决策变量,Tj为集合T中的任一种颜色,Cn为集合C中的覆盖子集,otherwise代表不在集合C覆盖范围内,1代表“是”,0代表“不是”。Specifically, the colors in the first color space distribution image and the second color space distribution image form a set T, which has 416 colors in total. The colors of the existing tiles and the colors in set T form a set C, and the decision variables are introduced:
Figure BDA0003941475750000111
Where xj is the decision variable, Tj is any color in set T, Cn is the covering subset in set C, otherwise means it is not within the coverage of set C, 1 represents “yes” and 0 represents “no”.

建立集合覆盖模型:

Figure BDA0003941475750000112
xj=0,j=1,2,...,416,其中约束条件
Figure BDA0003941475750000113
用于确保集合T中的每一元素Tj都被集合C的至少任一子集Cn覆盖住。Build a collection coverage model:
Figure BDA0003941475750000112
x j = 0, j = 1, 2, ..., 416, where the constraints
Figure BDA0003941475750000113
Used to ensure that every element Tj in the set T is covered by at least any subset Cn of the set C.

其中,集合覆盖模型通过新增的瓷砖颜色和已有的瓷砖颜色,可以将第一色彩空间和第二色彩空间的颜色种类全部覆盖,建模的方法简单易懂,清晰明确。Among them, the set coverage model can cover all color types in the first color space and the second color space through the newly added tile colors and the existing tile colors. The modeling method is simple, easy to understand, and clear.

步骤S20、在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色。Step S20: In the set coverage model, calculate the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors, sort them according to the average distance, and obtain the first part of tile colors that need to be added.

具体地,获取所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的欧氏距离:

Figure BDA0003941475750000114
其中,hj,sj,vj分别为HSV色彩空间中所述第一色彩空间分布图像和第二色彩空间分布图像中每一种颜色的坐标值,hn,sn,vn分别为HSV色彩空间中所述已有瓷砖颜色的坐标值。Specifically, the Euclidean distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color is obtained:
Figure BDA0003941475750000114
Wherein, hj , sj , and vj are respectively the coordinate values of each color in the first color space distribution image and the second color space distribution image in the HSV color space, and hn , sn , and vn are respectively the coordinate values of the existing tile colors in the HSV color space.

其中,欧氏距离是一个通常采用的距离定义,它是在n维空间中两个点之间的真实距离。Among them, Euclidean distance is a commonly used distance definition, which is the true distance between two points in n-dimensional space.

计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离:

Figure BDA0003941475750000121
其中,djn表示第一色彩空间分布图像和第二色彩空间分布图像中每一种颜色与已有瓷砖颜色之间的欧氏距离。Calculate the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color:
Figure BDA0003941475750000121
Wherein, d jn represents the Euclidean distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color.

将多个所述平均距离从大到小排序,并根据多个所述平均距离在所述色彩空间中的位置获取对应的颜色,从中选择颜色来填补已有瓷砖颜色的空白,得到需要增加的第一部分瓷砖颜色。The multiple average distances are sorted from large to small, and corresponding colors are obtained according to the positions of the multiple average distances in the color space, and colors are selected therefrom to fill the blanks of the existing tile colors, so as to obtain the first part of tile colors that need to be added.

步骤S30、建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心。Step S30: Establish a cluster analysis model, divide the colors in the second color space distribution image into classes, calculate the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtain the cluster center.

其中,在建立聚类分析模型前,会先建立一个模糊集,由RGB调色原理,除了三原色红R、绿G、蓝B外,还有红色R和绿色G混合成的黄色Y,红色R和蓝色B混合成的品红色M,绿色G和蓝色B混合成的青色C,红色R绿色G蓝色B混成的白色W,以及三种基色光全无的黑色,如图4所示。Among them, before establishing the cluster analysis model, a fuzzy set will be established first. According to the RGB color matching principle, in addition to the three primary colors of red R, green G, and blue B, there are also yellow Y mixed from red R and green G, magenta M mixed from red R and blue B, cyan C mixed from green G and blue B, white W mixed from red R, green G, and blue B, and black without any of the three primary colors, as shown in Figure 4.

可以根据图4中的几种颜色种类建立模糊集,若对颜色论域Y中任一元素k,都有一个数U(k)∈[0,1]与之对应,则称U为Y上的模糊集,而Uk称为k对Y的隶属度。当k在Y中变动时,U(K)就是一个函数,称为U的隶属函数。隶属度U(K)越接近于1,表示k属于Y的程度越高;U(k)越接近于0,表示k属于Y的程度越低。Fuzzy sets can be established based on the several types of colors in Figure 4. If there is a number U(k)∈[0,1] corresponding to any element k in the color domain Y, then U is called a fuzzy set on Y, and U k is called the membership of k to Y. When k changes in Y, U(K) is a function, called the membership function of U. The closer the membership U(K) is to 1, the higher the degree to which k belongs to Y; the closer U(k) is to 0, the lower the degree to which k belongs to Y.

具体地,建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,得到模糊聚类的目标函数:

Figure BDA0003941475750000131
其中,目标函数J(U,C)表示所述第二色彩空间分布图像中的颜色所对应的坐标到每个聚类中心距离的加权平方和,隶属度矩阵U=[ujn]表示所述第二色彩空间分布图像中的颜色属于每个类的程度大小,M是所述第二色彩空间分布图像中的颜色的个数,N是聚类中心个数,f是加权指数,dist(cn,kj)是指所述第二色彩空间分布图像中的颜色与每个聚类中心的距离,cn是聚类中心对应的坐标,kj是所述第二色彩空间分布图像中的颜色对应的坐标。Specifically, a cluster analysis model is established to divide the colors in the second color space distribution image into classes, and the objective function of fuzzy clustering is obtained:
Figure BDA0003941475750000131
Among them, the objective function J(U, C) represents the weighted square sum of the distances from the coordinates corresponding to the colors in the second color space distribution image to each cluster center, the membership matrix U=[u jn ] represents the degree to which the colors in the second color space distribution image belong to each class, M is the number of colors in the second color space distribution image, N is the number of cluster centers, f is the weighted index, dist(c n , k j ) refers to the distance between the colors in the second color space distribution image and each cluster center, c n is the coordinate corresponding to the cluster center, and k j is the coordinate corresponding to the color in the second color space distribution image.

其中,聚类分析模型为FCM模型,FCM是一种优秀的聚类分析算法,是一种基于划分的聚类算法,其思想是使得被划分到同一簇的对象之间相似度最大,而不同簇之间的相似度最小。Among them, the clustering analysis model is the FCM model. FCM is an excellent clustering analysis algorithm and a partition-based clustering algorithm. Its idea is to maximize the similarity between objects divided into the same cluster and minimize the similarity between different clusters.

模糊聚类除了计算聚类中心之外,并不会直接将数据点归到某一类中,而是计算隶属度矩阵,

Figure BDA0003941475750000132
上述问题可转变为求
Figure BDA0003941475750000133
建立的FCM模型会计算每个点对所有类的隶属度,结果的可靠度较高。In addition to calculating the cluster center, fuzzy clustering does not directly classify data points into a certain category, but calculates the membership matrix.
Figure BDA0003941475750000132
The above question can be transformed into
Figure BDA0003941475750000133
The established FCM model calculates the membership of each point to all classes, and the reliability of the result is high.

之后运用拉格朗日方法,得到隶属度矩阵ujnThen, the Lagrange method is used to obtain the membership matrix u jn ,

Figure BDA0003941475750000141
其中,m是所述第二色彩空间分布图像中的颜色对应的个数,dist2 nj是指所述第二色彩空间分布图像中的颜色所对应的坐标与每个聚类中心的距离的平方。
Figure BDA0003941475750000141
Wherein, m is the number of colors in the second color space distribution image, and dist 2 nj refers to the square of the distance between the coordinates corresponding to the colors in the second color space distribution image and each cluster center.

获得所述聚类中心En

Figure BDA0003941475750000142
其中,unj=1/ujn。Obtain the cluster center En :
Figure BDA0003941475750000142
Among them, u nj =1/u jn .

其中,可以发现隶属度矩阵U与聚类中心C是相互关联,彼此包含的,U与C的不断迭代和更新,向着目标函数J(U,C)不断减小的方向走,最终达到一个稳定状态,这个状态下的U,C的值就是最终的隶属度矩阵和聚类中心。Among them, it can be found that the membership matrix U and the cluster center C are interrelated and contain each other. The continuous iteration and update of U and C move in the direction of continuously decreasing the objective function J(U, C), and finally reach a stable state. The values of U and C in this state are the final membership matrix and cluster center.

步骤S40、将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。Step S40, classify the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance into one category, and calculate the center point of each category to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added.

具体地,计算所述第二色彩空间分布图像中的颜色与所述聚类中心的欧氏距离,所述第二色彩空间分布图像中的每一个颜色都得到N个距离,将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类。Specifically, the Euclidean distance between the colors in the second color space distribution image and the cluster center is calculated, each color in the second color space distribution image obtains N distances, and the colors in the second color space distribution image with the closest Euclidean distance to the cluster center are classified into one category.

计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The center point of each class is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added.

第一部分瓷砖颜色与第二部分瓷砖颜色总共获得的颜色为本发明需要增加的颜色。The total color obtained by the first part of the tile color and the second part of the tile color is the color that needs to be added in the present invention.

另外,在本发明基础上可得知每种颜色都有一定的覆盖范围,只要原图的颜色在这个覆盖范围内都可以选择该颜色的瓷砖,且每增加一个颜色,颜色的覆盖率就越高,因此可以通过建立评价指标体系来评估哪些颜色的利用率较高,通过提高利用率来增强图像的表现效果。In addition, based on the present invention, it can be known that each color has a certain coverage range. As long as the color of the original image is within this coverage range, tiles of that color can be selected, and with each additional color, the color coverage rate is higher. Therefore, an evaluation index system can be established to evaluate which colors have a higher utilization rate, and the image performance effect can be enhanced by improving the utilization rate.

并且,本发明中的RGB色彩空间也可以转换成LAB色彩空间来计算两颜色点间的欧氏距离。Furthermore, the RGB color space in the present invention can also be converted into the LAB color space to calculate the Euclidean distance between two color points.

除此之外,对于本发明中用到的集合覆盖模型,不仅可以用于本发明求解,在物流配送、设施选址、道路定向等现实生产问题中也有很多应用;本发明中的一种模糊聚类算法,在数据分类处理、图像分割、模式识别和数据挖掘等领域也有广泛应用。In addition, the set covering model used in the present invention can not only be used to solve the present invention, but also has many applications in real production problems such as logistics distribution, facility site selection, road orientation, etc.; a fuzzy clustering algorithm in the present invention is also widely used in data classification processing, image segmentation, pattern recognition and data mining.

进一步地,如图5所示,基于上述一种马赛克瓷砖选色方法,本发明还相应提供了一种马赛克瓷砖选色的系统,其中,所述马赛克瓷砖选色的系统包括:Further, as shown in FIG5 , based on the above-mentioned mosaic tile color selection method, the present invention also provides a mosaic tile color selection system accordingly, wherein the mosaic tile color selection system comprises:

颜色集合模块51,用于建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖。The color set module 51 is used to establish a set coverage model, which forms a set with the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image, and ensures that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set.

第一颜色选择模块52,用于在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色。The first color selection module 52 is used to calculate the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors in the set coverage model, and sort them according to the average distance to obtain the first part of tile colors that need to be added.

聚类分析模块53,用于将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心。The cluster analysis module 53 is used to classify the colors in the second color space distribution image into classes, calculate the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtain cluster centers.

第二颜色选择模块54,用于将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The second color selection module 54 is used to classify the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance into one category, and calculate the center point of each category to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added.

进一步地,如图6所示,基于上述一种马赛克瓷砖选色方法和系统,本发明还相应提供了一种终端,所述终端包括处理器10、存储器20及显示器30。图6仅示出了终端的部分组件,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Further, as shown in Fig. 6, based on the above-mentioned mosaic tile color selection method and system, the present invention also provides a terminal, which includes a processor 10, a memory 20 and a display 30. Fig. 6 only shows some components of the terminal, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead.

所述存储器20在一些实施例中可以是所述终端的内部存储单元,例如终端的硬盘或内存。所述存储器20在另一些实施例中也可以是所述终端的外部存储设备,例如所述终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器20还可以既包括所述终端的内部存储单元也包括外部存储设备。所述存储器20用于存储安装于所述终端的应用软件及各类数据,例如所述安装终端的程序代码等。所述存储器20还可以用于暂时地存储已经输出或者将要输出的数据。在一实施例中,存储器20上存储有马赛克瓷砖选色的程序40,该马赛克瓷砖选色的程序40可被处理器10所执行,从而实现本发明中一种马赛克瓷砖选色方法。In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a mosaic tile color selection program 40 is stored on the memory 20, and the mosaic tile color selection program 40 can be executed by the processor 10, thereby realizing a mosaic tile color selection method in the present invention.

所述处理器10在一些实施例中可以是一中央处理器(Central Processing Unit,CPU),微处理器或其他数据处理芯片,用于运行所述存储器20中存储的程序代码或处理数据,例如执行所述一种马赛克瓷砖选色方法等。In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the mosaic tile color selection method.

所述显示器30在一些实施例中可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。所述显示器30用于显示在所述终端的信息以及用于显示可视化的用户界面。所述终端的部件10-30通过系统总线相互通信。In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.

在一实施例中,当处理器10执行所述存储器20中马赛克瓷砖选色的程序40时实现以下步骤:In one embodiment, when the processor 10 executes the mosaic tile color selection program 40 in the memory 20, the following steps are implemented:

建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖;Establishing a set coverage model, forming a set with the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set;

在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色;In the set coverage model, the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors is calculated, and the colors of the first part of tiles to be added are obtained by sorting them according to the average distances;

建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心;Establishing a cluster analysis model, dividing the colors in the second color space distribution image into classes, calculating the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtaining cluster centers;

将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The colors in the second color space distribution image that are closest to the cluster center in Euclidean distance are classified into one category, and the center point of each category is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added.

其中,所述建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖,具体包括:The establishing of the set coverage model comprises forming a set of the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set, specifically including:

将第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合T,集合T中共416种颜色,将已有瓷砖的颜色与集合T中的颜色共同构成集合C,引入决策变量:

Figure BDA0003941475750000181
其中xj为决策变量,Tj为集合T中的任一种颜色,Cn为集合C中的覆盖子集,otherwise代表不在集合C覆盖范围内;The colors in the first color space distribution image and the second color space distribution image form a set T, which has 416 colors in total. The colors of the existing tiles and the colors in set T form a set C, and the decision variables are introduced:
Figure BDA0003941475750000181
Where xj is a decision variable, Tj is any color in set T, Cn is a covering subset in set C, and otherwise represents a color not in the coverage of set C;

建立集合覆盖模型:

Figure BDA0003941475750000182
xj=0,j=1,2,...,416,其中约束条件
Figure BDA0003941475750000183
用于确保集合T中的每一元素Tj都被集合C的至少任一子集Cn覆盖住。Build a collection coverage model:
Figure BDA0003941475750000182
x j = 0, j = 1, 2, ..., 416, where the constraints
Figure BDA0003941475750000183
Used to ensure that every element Tj in the set T is covered by at least any subset Cn of the set C.

其中,所述在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色,具体包括:Wherein, in the set coverage model, the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors is calculated, and the colors of the first part of tiles to be added are obtained by sorting according to the average distance, specifically including:

计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离:

Figure BDA0003941475750000191
其中,djn表示第一色彩空间分布图像和第二色彩空间分布图像中每一种颜色与已有瓷砖颜色之间的欧氏距离;Calculate the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color:
Figure BDA0003941475750000191
Wherein, d jn represents the Euclidean distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color;

将多个所述平均距离从大到小排序,并根据多个所述平均距离在所述色彩空间中的位置获取对应的颜色,从中选择颜色来填补已有瓷砖颜色的空白,得到需要增加的第一部分瓷砖颜色。The multiple average distances are sorted from large to small, and corresponding colors are obtained according to the positions of the multiple average distances in the color space, and colors are selected therefrom to fill the blanks of the existing tile colors, so as to obtain the first part of tile colors that need to be added.

其中,所述计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,具体包括:The step of calculating the average distance between each color in the first color space distribution image and the second color space distribution image and the color of the existing tiles specifically includes:

获取所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的欧氏距离:

Figure BDA0003941475750000192
其中,hj,sj,vj分别为HSV色彩空间中所述第一色彩空间分布图像和第二色彩空间分布图像中每一种颜色的坐标值,hn,sn,vn分别为HSV色彩空间中所述已有瓷砖颜色的坐标值;Get the Euclidean distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color:
Figure BDA0003941475750000192
Wherein, hj , sj , vj are respectively the coordinate values of each color in the first color space distribution image and the second color space distribution image in the HSV color space, and hn , sn , vn are respectively the coordinate values of the existing tile colors in the HSV color space;

获取所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离。The average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color is obtained.

其中,所述建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心,具体包括:The step of establishing a cluster analysis model, dividing the colors in the second color space distribution image into classes, calculating the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtaining cluster centers specifically includes:

建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,得到模糊聚类的目标函数:

Figure BDA0003941475750000201
其中,目标函数J(U,C)表示所述第二色彩空间分布图像中的颜色所对应的坐标到每个聚类中心距离的加权平方和,隶属度矩阵U=[ujn]表示所述第二色彩空间分布图像中的颜色属于每个类的程度大小,M是所述第二色彩空间分布图像中的颜色的个数,N是聚类中心个数,f是加权指数,dist(cn,kj)是指所述第二色彩空间分布图像中的颜色与每个聚类中心的距离,cn是聚类中心对应的坐标,kj是所述第二色彩空间分布图像中的颜色对应的坐标;A cluster analysis model is established to divide the colors in the second color space distribution image into classes, and the objective function of fuzzy clustering is obtained:
Figure BDA0003941475750000201
Wherein, the objective function J(U, C) represents the weighted sum of squares of the distances from the coordinates corresponding to the colors in the second color space distribution image to each cluster center, the membership matrix U=[u jn ] represents the degree to which the colors in the second color space distribution image belong to each class, M is the number of colors in the second color space distribution image, N is the number of cluster centers, f is a weighted index, dist(c n , k j ) refers to the distances from the colors in the second color space distribution image to each cluster center, c n is the coordinates corresponding to the cluster center, and k j is the coordinates corresponding to the colors in the second color space distribution image;

得到模糊聚类的目标函数后,运用拉格朗日方法,得到隶属度矩阵ujn

Figure BDA0003941475750000202
其中,m是所述第二色彩空间分布图像中的颜色对应的个数,dist2 nj是指所述第二色彩空间分布图像中的颜色所对应的坐标与每个聚类中心的距离的平方;After obtaining the objective function of fuzzy clustering, the Lagrange method is used to obtain the membership matrix u jn ,
Figure BDA0003941475750000202
Wherein, m is the number of colors in the second color space distribution image, and dist 2 nj refers to the square of the distance between the coordinates corresponding to the colors in the second color space distribution image and each cluster center;

获得所述聚类中心En

Figure BDA0003941475750000203
其中,unj=1/ujn。Obtain the cluster center En :
Figure BDA0003941475750000203
Among them, u nj =1/u jn .

其中,所述将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色,具体包括:The method of classifying the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance into one category, and calculating the center point of each category to obtain a new cluster center, wherein the color corresponding to the new cluster center is the second part of tile colors that need to be added, specifically includes:

计算所述第二色彩空间分布图像中的颜色与所述聚类中心的欧氏距离,所述第二色彩空间分布图像中的每一个颜色都得到N个距离,将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类;Calculating the Euclidean distance between the colors in the second color space distribution image and the cluster center, obtaining N distances for each color in the second color space distribution image, and classifying the colors in the second color space distribution image that have the closest Euclidean distance to the cluster center into one category;

计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The center point of each class is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added.

其中,所述建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖,之前还包括:The method of establishing a set coverage model comprises forming a set of colors of existing tiles and colors in the first color space distribution image and the second color space distribution image, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set, and also comprises:

将所述第一色彩空间分布图像和第二色彩空间分布图像中的颜色和已有瓷砖的颜色的RGB值转化为HSV值。The RGB values of the colors in the first color space distribution image and the second color space distribution image and the colors of the existing tiles are converted into HSV values.

本发明还提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储有马赛克瓷砖选色的程序,所述马赛克瓷砖选色的程序被处理器执行时实现如上所述的一种马赛克瓷砖选色方法的步骤。The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program for selecting colors of mosaic tiles, and when the program for selecting colors of mosaic tiles is executed by a processor, the steps of the method for selecting colors of mosaic tiles as described above are implemented.

综上所述,本发明提供一种马赛克瓷砖选色方法及相关设备,所述方法包括:建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖;在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色;建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心;将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。本发明通过将第一色彩空间图像和第二色彩空间图像以及已有瓷砖中颜色的RGB值转化为HSV值,一方面,通过计算第一色彩空间图像和第二色彩空间图像的颜色在色彩空间中对应的位置与已有瓷砖颜色在色彩空间中对应位置的距离,来获取与已有瓷砖颜色相近的颜色,另一方面,通过寻找第二色彩空间图像中聚类中心位置对应的颜色,增加了瓷砖颜色的多样性和拼接图像的表现力,同时也满足了客户对颜色的需求。In summary, the present invention provides a mosaic tile color selection method and related equipment, the method comprising: establishing a set coverage model, forming a set of colors of existing tiles and colors in a first color space distribution image and a second color space distribution image, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set; in the set coverage model, calculating the average distance between each color in the first color space distribution image and the second color space distribution image and the color of the existing tiles, sorting according to the average distance, and obtaining the first part of tile colors that need to be added; establishing a cluster analysis model, dividing the colors in the second color space distribution image into classes, calculating the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtaining the cluster center; classifying the colors in the second color space distribution image that are closest to the cluster center in the Euclidean distance, and calculating the center point of each class to obtain a new cluster center, and the color corresponding to the new cluster center is the second part of tile colors that need to be added. The present invention converts the RGB values of the colors in the first color space image, the second color space image and the existing tiles into HSV values. On the one hand, by calculating the distance between the corresponding positions of the colors of the first color space image and the second color space image in the color space and the corresponding positions of the colors of the existing tiles in the color space, a color close to the existing tile color is obtained. On the other hand, by finding the color corresponding to the cluster center position in the second color space image, the diversity of tile colors and the expressiveness of the spliced image are increased, while also meeting the customer's demand for color.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者终端中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.

当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的计算机可读存储介质中,所述程序在执行时可包括如上述各方法实施例的流程。其中所述的计算机可读存储介质可为存储器、磁碟、光盘等。Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims (10)

1.一种马赛克瓷砖选色方法,其特征在于,所述马赛克瓷砖选色方法包括:1. A mosaic tile color selection method, characterized in that the mosaic tile color selection method comprises: 建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖;Establishing a set coverage model, forming a set with the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set; 在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色;In the set coverage model, the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors is calculated, and the colors of the first part of tiles to be added are obtained by sorting them according to the average distances; 建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心;Establishing a cluster analysis model, dividing the colors in the second color space distribution image into classes, calculating the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtaining cluster centers; 将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The colors in the second color space distribution image that are closest to the cluster center in Euclidean distance are classified into one category, and the center point of each category is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added. 2.根据权利要求1所述的马赛克瓷砖选色方法,其特征在于,所述建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖,具体包括:2. The mosaic tile color selection method according to claim 1 is characterized in that the establishment of the set coverage model, the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image constitute a set, and ensure that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set, specifically includes: 将第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合T,集合T中共416种颜色,将已有瓷砖的颜色与集合T中的颜色共同构成集合C,引入决策变量:
Figure FDA0003941475740000021
其中xj为决策变量,Tj为集合T中的任一种颜色,Cn为集合C中的覆盖子集,otherwise代表不在集合C覆盖范围内;
The colors in the first color space distribution image and the second color space distribution image form a set T, which has 416 colors in total. The colors of the existing tiles and the colors in set T form a set C, and the decision variables are introduced:
Figure FDA0003941475740000021
Where xj is a decision variable, Tj is any color in set T, Cn is a covering subset in set C, and otherwise represents a color not in the coverage of set C;
建立集合覆盖模型:
Figure FDA0003941475740000022
xj=0,j=1,2,...,416,其中约束条件
Figure FDA0003941475740000023
用于确保集合T中的每一元素Tj都被集合C的至少任一子集Cn覆盖住。
Build a collection coverage model:
Figure FDA0003941475740000022
x j = 0, j = 1, 2, ..., 416, where the constraints
Figure FDA0003941475740000023
Used to ensure that every element Tj in the set T is covered by at least any subset Cn of the set C.
3.根据权利要求1所述的马赛克瓷砖选色方法,其特征在于,所述在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色,具体包括:3. The mosaic tile color selection method according to claim 1, characterized in that, in the set coverage model, the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors is calculated, and the colors of the first part of tiles to be added are obtained by sorting according to the average distance, specifically comprising: 计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离:
Figure FDA0003941475740000024
其中,djn表示第一色彩空间分布图像和第二色彩空间分布图像中每一种颜色与已有瓷砖颜色之间的欧氏距离;
Calculate the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color:
Figure FDA0003941475740000024
Wherein, d jn represents the Euclidean distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color;
将多个所述平均距离从大到小排序,并根据多个所述平均距离在所述色彩空间中的位置获取对应的颜色,从中选择颜色来填补已有瓷砖颜色的空白,得到需要增加的第一部分瓷砖颜色。The multiple average distances are sorted from large to small, and corresponding colors are obtained according to the positions of the multiple average distances in the color space, and colors are selected therefrom to fill the blanks of the existing tile colors, so as to obtain the first part of tile colors that need to be added.
4.根据权利要求3所述的马赛克瓷砖选色方法,其特征在于,所述计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,具体包括:4. The mosaic tile color selection method according to claim 3, characterized in that the step of calculating the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color specifically comprises: 获取所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的欧氏距离:
Figure FDA0003941475740000031
其中,hj,sj,vj分别为HSV色彩空间中所述第一色彩空间分布图像和第二色彩空间分布图像中每一种颜色的坐标值,hn,sn,vn分别为HSV色彩空间中所述已有瓷砖颜色的坐标值;
Get the Euclidean distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color:
Figure FDA0003941475740000031
Wherein, hj , sj , vj are respectively the coordinate values of each color in the first color space distribution image and the second color space distribution image in the HSV color space, and hn , sn , vn are respectively the coordinate values of the existing tile colors in the HSV color space;
获取所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离。The average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile color is obtained.
5.根据权利要求1所述的马赛克瓷砖选色方法,其特征在于,所述建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心,具体包括:5. The mosaic tile color selection method according to claim 1, characterized in that the cluster analysis model is established, the colors in the second color space distribution image are divided into classes, the membership matrix of the second color space distribution image is calculated by a fuzzy clustering method, and the cluster center is obtained, which specifically includes: 建立聚类分析模型,将所述第二色彩空间分布图像中的颜色进行划分成类,得到模糊聚类的目标函数:
Figure FDA0003941475740000032
其中,目标函数J(U,C)表示所述第二色彩空间分布图像中的颜色所对应的坐标到每个聚类中心距离的加权平方和,隶属度矩阵U=[ujn]表示所述第二色彩空间分布图像中的颜色属于每个类的程度大小,M是所述第二色彩空间分布图像中的颜色的个数,N是聚类中心个数,f是加权指数,dist(cn,kj)是指所述第二色彩空间分布图像中的颜色与每个聚类中心的距离,cn是聚类中心对应的坐标,kj是所述第二色彩空间分布图像中的颜色对应的坐标;
A cluster analysis model is established to divide the colors in the second color space distribution image into classes, and the objective function of fuzzy clustering is obtained:
Figure FDA0003941475740000032
Wherein, the objective function J(U, C) represents the weighted sum of squares of the distances from the coordinates corresponding to the colors in the second color space distribution image to each cluster center, the membership matrix U=[u jn ] represents the degree to which the colors in the second color space distribution image belong to each class, M is the number of colors in the second color space distribution image, N is the number of cluster centers, f is a weighted index, dist(c n , k j ) refers to the distances from the colors in the second color space distribution image to each cluster center, c n is the coordinates corresponding to the cluster center, and k j is the coordinates corresponding to the colors in the second color space distribution image;
得到模糊聚类的目标函数后,运用拉格朗日方法,得到隶属度矩阵ujn
Figure FDA0003941475740000041
其中,m是所述第二色彩空间分布图像中的颜色对应的个数,dist2 nj是指所述第二色彩空间分布图像中的颜色所对应的坐标与每个聚类中心的距离的平方;
After obtaining the objective function of fuzzy clustering, the Lagrange method is used to obtain the membership matrix u jn ,
Figure FDA0003941475740000041
Wherein, m is the number of colors in the second color space distribution image, and dist 2 nj refers to the square of the distance between the coordinates corresponding to the colors in the second color space distribution image and each cluster center;
获得所述聚类中心En
Figure FDA0003941475740000042
其中,unj=1/ujn
Obtain the cluster center En :
Figure FDA0003941475740000042
Among them, u nj =1/u jn .
6.根据权利要求5所述的马赛克瓷砖选色方法,其特征在于,所述将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色,具体包括:6. The mosaic tile color selection method according to claim 5, characterized in that the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance are classified into one category, and the center point of each category is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the second part of tile colors that need to be added, specifically comprising: 计算所述第二色彩空间分布图像中的颜色与所述聚类中心的欧氏距离,所述第二色彩空间分布图像中的每一个颜色都得到N个距离,将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类;Calculating the Euclidean distance between the colors in the second color space distribution image and the cluster center, obtaining N distances for each color in the second color space distribution image, and classifying the colors in the second color space distribution image that have the closest Euclidean distance to the cluster center into one category; 计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The center point of each class is calculated to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added. 7.根据权利要求1所述的马赛克瓷砖选色方法,其特征在于,所述建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖,之前还包括:7. The mosaic tile color selection method according to claim 1, characterized in that the establishing of the set coverage model comprises forming a set of colors of existing tiles and colors in the first color space distribution image and the second color space distribution image, and ensuring that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set, and before that, it further comprises: 将所述第一色彩空间分布图像和第二色彩空间分布图像中的颜色和已有瓷砖的颜色的RGB值转化为HSV值。The RGB values of the colors in the first color space distribution image and the second color space distribution image and the colors of the existing tiles are converted into HSV values. 8.一种马赛克瓷砖选色系统,其特征在于,所述马赛克瓷砖选色的系统包括:8. A mosaic tile color selection system, characterized in that the mosaic tile color selection system comprises: 颜色集合模块,用于建立集合覆盖模型,将已有瓷砖的颜色与第一色彩空间分布图像和第二色彩空间分布图像中的颜色构成集合,并保证所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色都被所述集合的至少任一子集覆盖;A color set module, used to establish a set coverage model, to form a set with the colors of the existing tiles and the colors in the first color space distribution image and the second color space distribution image, and to ensure that each color in the first color space distribution image and the second color space distribution image is covered by at least any subset of the set; 第一颜色选择模块,用于在所述集合覆盖模型中,计算所述第一色彩空间分布图像和第二色彩空间分布图像中的每一种颜色与已有瓷砖颜色的平均距离,根据所述平均距离进行排序,得到需要增加的第一部分瓷砖颜色;A first color selection module is used to calculate the average distance between each color in the first color space distribution image and the second color space distribution image and the existing tile colors in the set coverage model, and sort them according to the average distance to obtain the first part of tile colors that need to be added; 聚类分析模块,用于将所述第二色彩空间分布图像中的颜色进行划分成类,通过模糊聚类的方法计算第二色彩空间分布图像的隶属度矩阵,并得到聚类中心;A cluster analysis module, used to classify the colors in the second color space distribution image into classes, calculate the membership matrix of the second color space distribution image by a fuzzy clustering method, and obtain cluster centers; 第二颜色选择模块,用于将所述第二色彩空间分布图像中与所述聚类中心之间欧氏距离最接近的颜色归于一类,并计算每一类的中心点,得到新的聚类中心,所述新的聚类中心对应的颜色为需要增加的第二部分瓷砖颜色。The second color selection module is used to classify the colors in the second color space distribution image that are closest to the cluster center in Euclidean distance into one category, and calculate the center point of each category to obtain a new cluster center, and the color corresponding to the new cluster center is the color of the second part of tiles that need to be added. 9.一种终端,其特征在于,所述终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的马赛克瓷砖选色的程序,所述马赛克瓷砖选色的程序被所述处理器执行时实现如权利要求1-7任一项所述的一种马赛克瓷砖选色方法的步骤。9. A terminal, characterized in that the terminal comprises: a memory, a processor, and a mosaic tile color selection program stored in the memory and executable on the processor, wherein the mosaic tile color selection program, when executed by the processor, implements the steps of a mosaic tile color selection method as described in any one of claims 1 to 7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有马赛克瓷砖选色的程序,所述马赛克瓷砖选色的程序被处理器执行时实现如权利要求1-7任一项所述的马赛克瓷砖选色方法的步骤。10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program for mosaic tile color selection, and when the program for mosaic tile color selection is executed by a processor, the steps of the mosaic tile color selection method according to any one of claims 1 to 7 are implemented.
CN202211421694.7A 2022-11-14 2022-11-14 Mosaic tile color selection method and related equipment Active CN116090163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211421694.7A CN116090163B (en) 2022-11-14 2022-11-14 Mosaic tile color selection method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211421694.7A CN116090163B (en) 2022-11-14 2022-11-14 Mosaic tile color selection method and related equipment

Publications (2)

Publication Number Publication Date
CN116090163A true CN116090163A (en) 2023-05-09
CN116090163B CN116090163B (en) 2023-09-22

Family

ID=86199885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211421694.7A Active CN116090163B (en) 2022-11-14 2022-11-14 Mosaic tile color selection method and related equipment

Country Status (1)

Country Link
CN (1) CN116090163B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7164499B1 (en) * 2002-06-27 2007-01-16 Ricoh Co. Ltd. Block quantization method for color halftoning
US20070242877A1 (en) * 2006-04-10 2007-10-18 Sean Peters Method for electronic color matching
US20080144946A1 (en) * 2006-12-19 2008-06-19 Stmicroelectronics S.R.L. Method of chromatic classification of pixels and method of adaptive enhancement of a color image
US20090097746A1 (en) * 2006-06-29 2009-04-16 Fujitsu Limited Color classification method, color recognition method, color classification apparatus, color recognition apparatus, color recognition system, computer program, and recording medium
CN105976379A (en) * 2016-05-11 2016-09-28 南京邮电大学 Fuzzy clustering color image segmentation method based on cuckoo optimization
US20160314567A1 (en) * 2015-03-26 2016-10-27 The Board Of Regents Of The University Of Texas System Systems and methods for image/video recoloring, color standardization, and multimedia analytics
CN106447676A (en) * 2016-10-12 2017-02-22 浙江工业大学 Image segmentation method based on rapid density clustering algorithm
US20180260974A1 (en) * 2017-03-09 2018-09-13 Hewlett Packard Enterprise Development Lp Color recognition through learned color clusters
CN109389608A (en) * 2018-10-19 2019-02-26 山东大学 There is the fuzzy clustering image partition method of noise immunity using plane as cluster centre
CN110020673A (en) * 2019-03-12 2019-07-16 深圳市象形字科技股份有限公司 A kind of method of HSV color space color identification and noise filtering
CN110163869A (en) * 2019-04-18 2019-08-23 深圳大学 A kind of image repeat element dividing method, smart machine and storage medium
CN111325810A (en) * 2020-02-20 2020-06-23 广东三维家信息科技有限公司 Color matching method and device and electronic equipment
CN113408573A (en) * 2021-05-11 2021-09-17 广东工业大学 Method and device for automatically classifying and classifying tile color numbers based on machine learning
CN113724339A (en) * 2021-05-10 2021-11-30 华南理工大学 Color separation method for few-sample ceramic tile based on color space characteristics

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7164499B1 (en) * 2002-06-27 2007-01-16 Ricoh Co. Ltd. Block quantization method for color halftoning
US20070242877A1 (en) * 2006-04-10 2007-10-18 Sean Peters Method for electronic color matching
US20090097746A1 (en) * 2006-06-29 2009-04-16 Fujitsu Limited Color classification method, color recognition method, color classification apparatus, color recognition apparatus, color recognition system, computer program, and recording medium
US20080144946A1 (en) * 2006-12-19 2008-06-19 Stmicroelectronics S.R.L. Method of chromatic classification of pixels and method of adaptive enhancement of a color image
US20160314567A1 (en) * 2015-03-26 2016-10-27 The Board Of Regents Of The University Of Texas System Systems and methods for image/video recoloring, color standardization, and multimedia analytics
CN105976379A (en) * 2016-05-11 2016-09-28 南京邮电大学 Fuzzy clustering color image segmentation method based on cuckoo optimization
CN106447676A (en) * 2016-10-12 2017-02-22 浙江工业大学 Image segmentation method based on rapid density clustering algorithm
US20180260974A1 (en) * 2017-03-09 2018-09-13 Hewlett Packard Enterprise Development Lp Color recognition through learned color clusters
CN109389608A (en) * 2018-10-19 2019-02-26 山东大学 There is the fuzzy clustering image partition method of noise immunity using plane as cluster centre
CN110020673A (en) * 2019-03-12 2019-07-16 深圳市象形字科技股份有限公司 A kind of method of HSV color space color identification and noise filtering
CN110163869A (en) * 2019-04-18 2019-08-23 深圳大学 A kind of image repeat element dividing method, smart machine and storage medium
CN111325810A (en) * 2020-02-20 2020-06-23 广东三维家信息科技有限公司 Color matching method and device and electronic equipment
CN113724339A (en) * 2021-05-10 2021-11-30 华南理工大学 Color separation method for few-sample ceramic tile based on color space characteristics
CN113408573A (en) * 2021-05-11 2021-09-17 广东工业大学 Method and device for automatically classifying and classifying tile color numbers based on machine learning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林森;: "彩色图像的聚类分析在地板砖质量检测中的应用", 微型电脑应用, no. 11 *

Also Published As

Publication number Publication date
CN116090163B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
AU2019201268B2 (en) Segmentation of an image based on color and color differences
US11417075B2 (en) Object detection techniques using colorspace conversions
US10867226B1 (en) Programmable logic array and colorspace conversions
CN102142084B (en) Method for gesture recognition
Woo et al. Improving color constancy in an ambient light environment using the phong reflection model
Yang et al. Automatic mood-transferring between color images
JP5181955B2 (en) Image classification device and image processing device
TWI525574B (en) Collaborative face annotation method and collaborative face annotation system
WO2020151148A1 (en) Neural network-based black-and-white photograph color restoration method, apparatus, and storage medium
CN109829425B (en) Farmland landscape small-scale ground feature classification method and system
Vidanapathirana et al. Plan2scene: Converting floorplans to 3d scenes
CN107871143B (en) Image-recognizing method and device, computer installation and computer readable storage medium
CN103544480A (en) Vehicle Color Recognition Method
CN117615490B (en) Control parameter adjustment method and system for master-controlled atmosphere light and slave-controlled atmosphere light
Lu et al. Color constancy using 3D scene geometry
US10223427B1 (en) Building a palette of colors based on human color preferences
CN115510519A (en) Lane lamp planning method, device, equipment and storage medium
Yang et al. Color models and weighted covariance estimation for person re-identification
RU2004121993A (en) SEGMENTATION OF IMAGES USING THE WATER DISTRIBUTION METHOD
CN116090163B (en) Mosaic tile color selection method and related equipment
Manduchi Learning outdoor color classification
CN115619802A (en) Fire image segmentation method for improving density peak value clustering
Kang et al. Spatial homogeneity-based fuzzy c-means algorithm for image segmentation
Liu et al. Vehicle precise retrieval via color image retrieval method based on improved fast-match
CN119136359B (en) Intelligent control system and method for LED light

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20230509

Assignee: Jinan Sihai Migu Network Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037683

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Foshan Sihai Migu Network Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037682

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Haikou Migu Network Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037681

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Haisi Enterprise Management Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037657

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: SHENZHEN MIGOU NETWORK TECHNOLOGY Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037655

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Bangqi Technology Innovation Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037649

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Tianqu XingKong Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980039401

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Manderson Investment Development Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980038695

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20230509

Assignee: Shenzhen Xiaochao Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040188

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Zhuoya Automation Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040186

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Qianhaiji Weiye Industrial Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040185

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Wan District Communication Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980039393

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Yimei Smart Technology (Shenzhen) Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980039386

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen kuaizun Design Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980039086

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Kuaizhun Education Consulting Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980039080

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Yijia Yizhuang Energy Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980038986

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Zhidian New Energy Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980038984

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Huashun Tiancheng Energy Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980038708

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Dexin Quan Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980038655

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Wengu Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980038618

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Daowei Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037692

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: SHENZHEN BOBEITE TECHNOLOGY DEVELOPMENT Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037689

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Touchu Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980037688

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20230509

Assignee: Shenzhen Huashun Yunqi Technology Service Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980041967

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241224

Application publication date: 20230509

Assignee: Shenzhen Yueya'er Network Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980041609

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241224

Application publication date: 20230509

Assignee: Zhiyun (Shenzhen) Industrial Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040607

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241224

Application publication date: 20230509

Assignee: Shenzhen Fengtang Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040519

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Xinhao Industrial Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040500

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Guanbiao Technical Service Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040467

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Rongshi Network Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040201

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Jingfeng Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040199

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Juwuyou Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040198

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen shichuangsheng Electronic Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040197

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Xuanyu Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040196

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Aokai Network Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040195

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241220

Application publication date: 20230509

Assignee: Shenzhen Yijia Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040194

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Fenglin Information Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040193

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241220

Application publication date: 20230509

Assignee: Shaanxi Juliusanluwu Information Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040191

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Bingchengtai Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040190

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241220

Application publication date: 20230509

Assignee: Chengdu Innovation Sanluwu Information Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040189

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Shenzhen Lvyang Environmental Protection Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040187

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

Application publication date: 20230509

Assignee: Jiajingjie Environmental Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040177

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen city wall Creative Technology Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040176

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Mingji Agricultural Development Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040174

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Ruofei Culture Communication Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040172

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen shengxin'an information consulting enterprise

Assignor: SHENZHEN University

Contract record no.: X2024980040171

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Wenchuang Intellectual Property Service Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040170

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Yingqi Consulting Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040168

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Shanyi Culture Media Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040167

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241224

Application publication date: 20230509

Assignee: Shenzhen yunduan smart IOT Culture Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040166

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: SHENZHEN SAIDIXING TECHNOLOGY Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040163

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Shenzhen Xinggongchang Technology Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980040158

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241223

Application publication date: 20230509

Assignee: Communication Infinite Software Technology (Shenzhen) Co.,Ltd.

Assignor: SHENZHEN University

Contract record no.: X2024980039405

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20241219

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20230509

Assignee: SHENZHEN SUPERWORKER TECHNOLOGY CO.,LTD.

Assignor: SHENZHEN University

Contract record no.: X2025980002233

Denomination of invention: A color selection method and related equipment for mosaic tiles

Granted publication date: 20230922

License type: Common License

Record date: 20250120

EE01 Entry into force of recordation of patent licensing contract