TW201545119A - Data clustering method applicable to color images - Google Patents

Data clustering method applicable to color images Download PDF

Info

Publication number
TW201545119A
TW201545119A TW103117917A TW103117917A TW201545119A TW 201545119 A TW201545119 A TW 201545119A TW 103117917 A TW103117917 A TW 103117917A TW 103117917 A TW103117917 A TW 103117917A TW 201545119 A TW201545119 A TW 201545119A
Authority
TW
Taiwan
Prior art keywords
color
dimensional
image
grouping method
color space
Prior art date
Application number
TW103117917A
Other languages
Chinese (zh)
Other versions
TWI518632B (en
Inventor
Wei-Yen Hsu
Hsiang-Yen Lin
Shu-Duan Fan
Original Assignee
Nat Univ Chung Cheng
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 Nat Univ Chung Cheng filed Critical Nat Univ Chung Cheng
Priority to TW103117917A priority Critical patent/TWI518632B/en
Publication of TW201545119A publication Critical patent/TW201545119A/en
Application granted granted Critical
Publication of TWI518632B publication Critical patent/TWI518632B/en

Links

Landscapes

  • Image Analysis (AREA)

Abstract

A data clustering method applicable to color images is provided. The data clustering method applicable to color images includes: a color image is provided, and each pixel of the color image is corresponded to a color intensity value; a three-dimensional color space is constructed by color intensity value of the color image; the color space is divided into a plurality color blocks, wherein each color block is formed by selecting pixels with similar color intensity values; k color blocks are selected as an initial value of a k-means clustering, wherein k is defined as the most frequent value in the color space; splitting the color image by the initial-valued k-means clustering.

Description

應用於彩色影像的資料分群法 Data grouping method applied to color images

一種彩色影像的資料分群法,特別是指一種應用起始值固定的k-means分群法對影像分割的方法。 A data grouping method for color images, in particular, a method for segmenting images by a k-means grouping method with a fixed starting value.

在一數量龐大的資料中,如何尋得真正可被使用的資料極為重要。因此,各式對資料進行分類的方法已被提出。在這些方法中,k-means分群法(k-means clustering)為一種相當重要且普遍的方法。 In a huge amount of information, how to find the information that can be used is extremely important. Therefore, various methods for classifying data have been proposed. Among these methods, k-means clustering is a fairly important and common method.

k-means分群法的基本思維,係在一龐大數量的資料集合中,先隨機選取k組資料(即k個分群中心),此k組資料中,各組中所含資料點皆具有高相似性。接著,找到各組資料的平均值或中心。然後,計算各資料點與中心的平方誤差函數。如何使平方誤差函數最小,即為k-means分群法的重要目的。為使平方誤差函數最小,各k組資料中的資料點將一再被重複分群,並重分配至其他相似度更高的組別。 The basic thinking of the k-means grouping method is to select a group of k data (ie, k cluster centers) in a large number of data sets. In the k group data, the data points in each group have high similarity. Sex. Next, find the average or center of each group of data. Then, calculate the squared error function of each data point and center. How to minimize the squared error function is an important purpose of the k-means grouping method. In order to minimize the squared error function, the data points in each k group of data will be repeatedly grouped repeatedly and redistributed to other groups with higher similarity.

上述之k-means分群法主要特點在於演算簡易、效 率高,因此廣泛用於數據挖掘、決策分析、機器學習及影像分割等各領域。然而,習知k-means分群法中仍存在有若干待解決問題。其一,於分群時起始值為一隨機值,使得影像分割後產生不一致的結果,而使分群後之影像難以控制。其二、只有在樣本為標準高斯分佈或類高斯分佈時才能得到較好的效果,無法廣泛適用於其他狀況。 The main feature of the k-means grouping method mentioned above is that the calculation is simple and effective. The rate is high, so it is widely used in data mining, decision analysis, machine learning and image segmentation. However, there are still some problems to be solved in the conventional k-means grouping method. First, the initial value of the grouping is a random value, which results in inconsistent results after image segmentation, and makes the image after grouping difficult to control. Second, it can only get better results when the sample is a standard Gaussian distribution or a Gaussian-like distribution, and it cannot be widely applied to other conditions.

緣此,為增加習知k-means分群法之應用範圍及分群之準確性,對原有之k-means進行改良實為必要。 Therefore, in order to increase the application range and accuracy of the conventional k-means grouping method, it is necessary to improve the original k-means.

本發明提供一種應用於彩色影像的資料分群法。利用將彩色影像之像素點所對應之色彩強度值所構成之三維色彩空間區塊化後,並以區塊化後出現次數為前k大的色彩區塊為一k-means分群法的固定起始值。藉此,解決習知k-means分群法因起始值不固定而使分群後影像不一致的問題,並可提高分群之運算效率。 The present invention provides a data grouping method applied to color images. The three-dimensional color space formed by the color intensity values corresponding to the pixels of the color image is segmented, and the color block with the number of occurrences before the block is the k-means grouping method. Starting value. Therefore, the problem that the conventional k-means grouping method is inconsistent after grouping due to the initial value is not fixed, and the operation efficiency of the grouping can be improved.

本發明之一目的在提供一種應用於彩色影像的資料分群法,包含:提供一彩色影像,其內各像素對應一色彩強度值;建構一三維色彩空間(color space),三維色彩空間係以彩色影像之各色彩強度值構成;選取各像素對應之各色彩強度值鄰近之若干像素而形成數個不同之色彩區塊以對三維色彩空間進行區塊化;於區塊化後之三維色彩空間中搜尋次數最多的前k個值;以及以k值為一k-means分群法之固定起始值,並以k-means分群法對彩色影像進 行影像分割。 An object of the present invention is to provide a data grouping method for color images, comprising: providing a color image, wherein each pixel corresponds to a color intensity value; constructing a three-dimensional color space, and the three-dimensional color space is colored Each color intensity value of the image is formed; selecting a plurality of pixels adjacent to each color intensity value of each pixel to form a plurality of different color blocks to block the three-dimensional color space; in the three-dimensional color space after the block The top k values with the most searches; and the fixed starting value of k-means grouping method with k value, and the color image by k-means grouping method Line image segmentation.

上述之應用於彩色影像的資料分群法中,區塊化係為在三維色彩空間中,將m個相鄰色彩強度值組合成一個體積為m3立方單位的色彩區塊,而令三維色彩空間內形成(256/m)3個區塊。另外,三維色彩空間可為一RGB三維色彩空間。 In the data grouping method applied to color images, the block is to combine m adjacent color intensity values into a color block of volume m 3 cubic units in a three-dimensional color space, and to make a three-dimensional color space. Three blocks (256/m) are formed inside. In addition, the three-dimensional color space can be an RGB three-dimensional color space.

上述之應用於彩色影像的資料分群法中,更包含將彩色影像之各像素所對應之R、G及B之色彩強度值映射至RGB三維色彩空間中,其係由R、G、B來代表X、Y、Z三軸而形成一立體座標系,其中於立體座標系上每個座標點係表示在一特定之RGB色彩強度中,其對應顏色所出現的次數。 The above-mentioned data grouping method applied to color images further includes mapping color intensity values of R, G, and B corresponding to respective pixels of the color image into an RGB three-dimensional color space, which is represented by R, G, and B. The X, Y, and Z axes form a three-dimensional coordinate system, wherein each coordinate point on the three-dimensional coordinate system represents the number of times the corresponding color appears in a particular RGB color intensity.

S101~S105‧‧‧步驟 S101~S105‧‧‧Steps

2a‧‧‧原始影像 2a‧‧‧ original image

2b‧‧‧原始影像2a灰階化之影像 2b‧‧‧Image of original image 2a grayscale

2c~2e‧‧‧以習知k-means分群法對原始影像2a進行影像分割後之影像 2c~2e‧‧‧Image segmentation of the original image 2a by the conventional k-means grouping method

R‧‧‧紅色 R‧‧‧Red

4a‧‧‧原始影像 4a‧‧‧ original image

4b‧‧‧原始影像4a灰階化之影像 4b‧‧‧Image of the original image 4a grayscale

4c~4h‧‧‧以習知起始值不固定的k-means分群法對原始影像4a進行影像分割後之影像 4c~4h‧‧·Image of image segmentation of original image 4a by k-means grouping method with unknown initial value

4i‧‧‧以本發明之應用於彩色 影像的資料分群法對原始影像4a進行影像分割後之影像 4i‧‧‧ Applying the invention to color Image segmentation method for image segmentation of original image 4a

G‧‧‧綠色 G‧‧‧Green

B‧‧‧藍色 B‧‧‧Blue

第1圖繪示依據本發明一實施例之應用於彩色影像的資料分群法步驟圖。 FIG. 1 is a diagram showing the steps of a data grouping method applied to a color image according to an embodiment of the invention.

第2圖繪示習知k-means分群法應用於影像分割示意圖。 Figure 2 is a schematic diagram showing the application of the conventional k-means grouping method to image segmentation.

第3圖繪示於第1圖之應用於彩色影像的資料分群法中,對三維色彩空間進行區塊化之示意圖。 FIG. 3 is a schematic diagram showing the tiling of a three-dimensional color space in the data grouping method applied to color images in FIG. 1.

第4圖繪示本依據本發明之應用於彩色影像的資料分群法與習知k-means分群法於影像分割後之比較圖。 FIG. 4 is a comparison diagram of the data grouping method applied to color images and the conventional k-means grouping method according to the present invention after image segmentation.

以下將以圖式揭露本發明之複數個實施例的運作方式,為明確說明起見,許多實務上的細節將在敘述中一併說明。然而,應瞭解到,這些實務上的細節不應用以限制本發明。也就是說,在本發明部分實施例中,這些實務上的細節是非必要的。此外,為簡化圖式起見,一些習知慣用的結構與元件在圖式中將以簡單示意的方式繪示之。 The operation of the various embodiments of the present invention will be described in the following. For the sake of clarity, a number of practical details will be described in the description. However, it should be understood that these practical details are not intended to limit the invention. That is, in some embodiments of the invention, these practical details are not necessary. In addition, some of the conventional structures and elements are shown in the drawings in a simplified schematic manner in order to simplify the drawings.

請參照第1圖,第1圖繪示依據本發明一實施例的應用於彩色影像的資料分群法步驟圖。在一實施例中,本發明的應用於彩色影像的資料分群法包含下列步驟: Please refer to FIG. 1 . FIG. 1 is a schematic diagram of a data grouping method applied to a color image according to an embodiment of the invention. In an embodiment, the data grouping method applied to color images of the present invention comprises the following steps:

步驟S101,提供一彩色影像。 In step S101, a color image is provided.

步驟S102,建構一三維色彩空間,三維色彩空間係以彩色影像之各像素所對應之各色彩強度值構成。 Step S102, constructing a three-dimensional color space, wherein the three-dimensional color space is formed by each color intensity value corresponding to each pixel of the color image.

步驟S103,選取各像素對應之各色彩強度值鄰近之若干色彩而形成數個不同之色彩區塊以對三維色彩空間進行區塊化。 Step S103, selecting a plurality of colors adjacent to each color intensity value corresponding to each pixel to form a plurality of different color blocks to block the three-dimensional color space.

步驟S104,於區塊化後之三維色彩空間中搜尋次數最多的前k個值為一起始值。 In step S104, the first k values of the most searched in the three-dimensional color space after the block are a starting value.

步驟S105,以上述k值為一k-means分群法之固定起始值,並利用k-means分群法對彩色影像進行影像分割。 In step S105, the k value is a fixed starting value of a k-means grouping method, and the color image is segmented by the k-means grouping method.

為能了解上述各步驟之實施細節,請一併參照第2圖至第4圖。第2圖繪示習知k-means分群法應用於影像分割示意圖。第3圖繪示於第1圖之應用於彩色影像的資料分群法中,對三維色彩空間進行區塊化之示意圖。第4 圖繪示本依據本發明之應用於彩色影像的資料分群法與習知k-means分群法於影像分割後之比較圖。 In order to understand the implementation details of the above steps, please refer to Figure 2 to Figure 4. Figure 2 is a schematic diagram showing the application of the conventional k-means grouping method to image segmentation. FIG. 3 is a schematic diagram showing the tiling of a three-dimensional color space in the data grouping method applied to color images in FIG. 1. 4th The figure shows a comparison chart of the data grouping method applied to color images and the conventional k-means grouping method according to the present invention after image segmentation.

上述步驟102中,將彩色影像裡的每個像素點依其R、G與B的色彩強度值映射到一RGB的三維色彩空間中。更細言之,是轉換到一個由R、G、B來代表X、Y、Z三軸的立體座標系中。在立體座標系中,對應至RGB三維色彩空間,X、Y、Z三軸分別代表R(紅色)、G(綠色)、B(藍色)三原色,其大小表示為從0到255的色彩強度值。座標上每個座標點,表示為在特定的RGB色彩強度值中,其對應之色彩所出現的次數。 In the above step 102, each pixel in the color image is mapped to an RGB three-dimensional color space according to the color intensity values of R, G, and B. More specifically, it is converted into a three-dimensional coordinate system in which R, G, and B represent the three axes of X, Y, and Z. In the stereo coordinate system, corresponding to the RGB three-dimensional color space, the three axes of X, Y, and Z represent R (red), G (green), and B (blue), respectively, and their sizes are expressed as color intensities from 0 to 255. value. Each coordinate point on the coordinates is expressed as the number of times the corresponding color appears in a particular RGB color intensity value.

步驟102中,三維色彩空間(color space)的形式並無限制。在本實施例中,係以一般所熟知的光之三原色紅色(R)、綠色(G)與藍色(B)所構成之三維色彩空間為說明。其他色彩空間系統如HSV、CIELab、YCrCb及CIELuv等具有三域(Domain)的色彩空間系統亦可應用於本發明所揭示之應用於彩色影像之資料分群法。 In step 102, the form of the three-dimensional color space is not limited. In the present embodiment, a three-dimensional color space composed of three primary colors of light (R), green (G), and blue (B), which are generally known, is described. Other color space systems such as HSV, CIELab, YCrCb, and CIELuv have a three-domain color space system that can also be applied to the data grouping method applied to color images disclosed in the present invention.

k-means分群法係以不斷重複迭代方式對一群資料進行數次的分群以得到最終需要之資料,而每次迭代皆需選取一起始值為分群中心,並進行資料重分群。習知k-means分群法中,每次迭代之起始值皆隨機產生,例如欲採利用k-means分群法對一影像進行影像分割時,會先將影像表示成由多數資料點所構成(例如像素點),再以隨機的方式初始化k個起始值(假設要分k群),亦即起始值為不固定。而此種每次分群之起始值皆為隨機選取的方式,將導 致每次影像分割的結果有極大的差異。請參照第2圖,第2圖繪示以習知k-means分群法應用於影像分割示意圖。第2圖中,2a為一欲進行影像分割的原始影像,2b為原始影像2a之灰階化影像,2c~2e分別為影像2a以習知k-means分群法經過數次分群後的影像分割結果。由第2圖即可得知,2c~2e的差異極大,造成每次分群後的影像不一致,此將增加資料分群誤差,大範圍地限制了習知k-means分群法的應用。 The k-means grouping method performs grouping of a group of data several times in a repeated iterative manner to obtain the final required data, and each iteration needs to select a starting value as a clustering center and perform data regrouping. In the conventional k-means grouping method, the initial values of each iteration are randomly generated. For example, when k-means grouping method is used to segment an image, the image is first represented by a plurality of data points ( For example, a pixel point), and then initialize k initial values in a random manner (assuming that k groups are to be divided), that is, the starting value is not fixed. And the starting value of each such grouping is a random selection method, which will lead The result of each image segmentation is greatly different. Please refer to FIG. 2, which shows a schematic diagram of applying the k-means grouping method to image segmentation. In Fig. 2, 2a is the original image to be image segmented, 2b is the grayscale image of the original image 2a, and 2c~2e is the image segmentation after the image 2a is divided into several groups by the conventional k-means grouping method. result. It can be seen from Fig. 2 that the difference between 2c and 2e is extremely large, resulting in inconsistent images after each grouping, which will increase the data grouping error and limit the application of the conventional k-means grouping method to a large extent.

本發明之一目的為解決習知k-means分群法起始值不固定的問題,於上述步驟102所建構成的RGB三維色彩空間中,應用將此RGB三維色彩空間區塊化的方法以及在區塊化後的色彩區塊中選擇前k多次數的色彩區塊(k≧2)當成k-means分群法起始值的概念,用以一致並最佳化最後的影像分割結果。k值(分群數或分群中心)可以由使用者自由選取。 An object of the present invention is to solve the problem that the starting value of the conventional k-means grouping method is not fixed. In the RGB three-dimensional color space constructed in the above step 102, the method of tiling the RGB three-dimensional color space is applied and In the block color block, the color block (k≧2) of the first k times is selected as the concept of the k-means grouping start value to unify and optimize the final image segmentation result. The k value (the number of clusters or the center of the cluster) can be freely selected by the user.

步驟103中,為了降低資料分群運算時間與去除不必要的細微色彩的影響,對RGB三維色彩空間進行區塊化的動作。在以XYZ三軸所形成之立體座標系中,將m個相鄰色彩強度值組合成一個體積為m3立方單位的色彩區塊(正方體)。如此一來,於整體三維立體座標系所建構成的RGB三維色彩空間中,即形成了(256/m)3個色彩區塊。例如,在座標軸XYZ中(R,G及B)皆以32個相鄰色彩強度值組成一個色彩區塊,亦即每個為323立方單位的色彩區塊;而此RGB三維色彩空間即有(256/32)3=512個色彩區塊,如 第3圖所繪示。 In step 103, in order to reduce the effect of data grouping operation time and removing unnecessary subtle colors, the RGB three-dimensional color space is lumped. In a three-dimensional coordinate system formed by three axes of XYZ, m adjacent color intensity values are combined into one color block (quadratic) having a volume of m 3 cubic units. Thus, the RGB three-dimensional color space to the overall three-dimensional coordinate system built configuration, i.e. the formation of (256 / m) 3 th color blocks. For example, in the coordinate axis XYZ (R, G, and B), a color block is formed by 32 adjacent color intensity values, that is, each color block of 32 3 cubic units; and the RGB three-dimensional color space has (256/32) 3 = 512 color blocks, as shown in Figure 3.

步驟S104中,於區塊化後之三維色彩空間中搜尋次數最多的前k個值為一起始值。詳而言之,對已區塊化後的RGB三維色彩空間,選擇前k多次數的區塊(由m3個相鄰色彩強度值加總)當成這k類分群的起始值,用以一致並最佳化最後的影像分割結果。也就是,在三維色彩空間中,找尋次數最多的前k個值。在一例中,在(256/m)3個區塊中,選擇前k大(或多)的值作為起始值。由於我們對三維色彩空間已先做區塊化的處理,所以此k個所選的起始值即使是座落於相鄰的色彩區塊,仍應予以考慮。 In step S104, the first k values of the most frequently searched in the three-dimensional color space after the block are a starting value. In detail, for the RGB three-dimensional color space after the block, select the block of the previous k times (added by m 3 adjacent color intensity values) as the starting value of the k-type group, Consistently and optimize the final image segmentation results. That is, in the three-dimensional color space, the top k values are searched for the most. In one example, among the (256/m) 3 blocks, the value of the previous k large (or more) is selected as the starting value. Since we have previously diced the three-dimensional color space, the k selected starting values should be considered even if they are located in adjacent color blocks.

請參照第4圖,第4圖繪示本依據本發明之應用於彩色影像的資料分群法與習知k-means分群法於影像分割後之比較圖。如第4圖所繪示,假設欲對一原始影像4a進行影像分割,原始影像4a灰階化之影像為4b。於初始時,根據原始影像4a的特性,可自由選擇符合原始影像4a的分群數k(k類),架設此時選取k=3(即分成紅色主體、綠葉背景及其餘天空背景三類),則於已區塊化的三維色彩空間中的512個區塊中(請參照第3圖),選取次數為前三大的色彩區塊作為k-means分群法之固定起始值,此時即使前三大的顏色區塊彼此相鄰,仍應選取之。接著,再以k-means分群法對原始影像4a進行影像分割,並於每次重分群時皆以次數為前三大的色彩區塊(k=3)為起始值。以此種起始值固定的方式進行數次分群,皆得到如影像4I的結果,相較於以習知起始值不固定的k-mean分群法進行數次分群後的 影像4c~4h,可知4c~4h皆呈現不一致的結果。 Referring to FIG. 4, FIG. 4 is a comparison diagram of the data grouping method applied to color images and the conventional k-means grouping method according to the present invention after image segmentation. As shown in FIG. 4, it is assumed that the image of the original image 4a is to be image-divided, and the image of the original image 4a is grayed out as 4b. At the beginning, according to the characteristics of the original image 4a, the number of clusters k (k type) conforming to the original image 4a can be freely selected, and at this time, k=3 (that is, divided into a red body, a green leaf background, and the rest of the sky background) is selected. Then, in the 512 blocks in the block-shaped three-dimensional color space (refer to FIG. 3), the first three color blocks are selected as the fixed starting value of the k-means grouping method, even if The first three color blocks are adjacent to each other and should still be selected. Then, the original image 4a is image-divided by the k-means grouping method, and each time the group is re-grouped, the first three color blocks (k=3) are used as the starting value. Performing several times of grouping in such a fixed initial value, the results obtained as image 4I are compared to those of the k-mean grouping method in which the conventional starting value is not fixed. Image 4c~4h, it can be seen that 4c~4h all show inconsistent results.

綜合以上,本發明揭示一種應用於彩色影像的資料分群法。其主要利用將彩色影像之像素點所對應之色彩強度值所構成之三維色彩空間區塊化後,並以區塊化後出現次數為前k大的色彩區塊為k-means分群法的固定起始值,藉以使每次以k-means分群法對影像進行分割後之影像呈現一致性。本發明之彩色影像的資料分群法適用於各式具有三域的色彩空間,具有運算效率高,運算結果準確的優點。 In summary, the present invention discloses a data grouping method applied to color images. The main purpose is to block the three-dimensional color space formed by the color intensity values corresponding to the pixel points of the color image, and to fix the color block with the number of times before the block is k-means grouping method. The starting value, so that the image is segmented after each image segmentation by k-means grouping. The data grouping method of the color image of the invention is applicable to various color spaces having three domains, and has the advantages of high computational efficiency and accurate calculation result.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

S101~S105‧‧‧步驟 S101~S105‧‧‧Steps

Claims (4)

一種應用於彩色影像的資料分群法,包含:提供一彩色影像,其內各像素對應一色彩強度值;建構一三維色彩空間(color space),該三維色彩空間係以該彩色影像之各色彩強度值構成;選取各該像素對應之各該色彩強度值鄰近之若干像素而形成數個不同之色彩區塊以對該三維色彩空間進行區塊化;於區塊化後之該三維色彩空間中搜尋次數最多的前k個值;以及以該k值為一k-means分群法之固定起始值,並以該k-means分群法對該彩色影像進行影像分割。 A data grouping method for color images, comprising: providing a color image, each pixel corresponding to a color intensity value; constructing a three-dimensional color space, wherein the three-dimensional color space is a color intensity of the color image Value composition; selecting a plurality of pixels adjacent to each color intensity value corresponding to the pixel to form a plurality of different color blocks to block the three-dimensional color space; searching in the three-dimensional color space after the block The top k values with the highest number of times; and the fixed starting value of the k-means grouping method, and the image segmentation of the color image by the k-means grouping method. 如請求項1所述之應用於彩色影像的資料分群法,其中該區塊化係在該三維色彩空間中,將m個相鄰色彩強度值組合成一個體積為m3立方單位的色彩區塊。而令該三維色彩空間內形成(256/m)3個色彩區塊。 The data grouping method applied to a color image according to claim 1, wherein the block system combines m adjacent color intensity values into a color block having a volume of m 3 cubic units in the three-dimensional color space. . While the order is in the three-dimensional color space is formed (256 / m) 3 th color blocks. 如請求項1所述之應用於彩色影像的資料分群法,其中該三維色彩空間為一RGB三維色彩空間。 The data grouping method applied to a color image according to claim 1, wherein the three-dimensional color space is an RGB three-dimensional color space. 如請求項3所述之應用於彩色影像的資料分群法,更包含:將該彩色影像之各像素所對應之R、G及B之色彩強度 值映射至該RGB三維色彩空間中,其係由R、G及B色彩強度值對應X、Y及Z三軸而形成一立體座標系,其中於該立體座標系上每個座標點係表示在一特定之RGB色彩強度值中,其對應色彩所出現的次數。 The data grouping method applied to the color image according to claim 3, further comprising: the color intensity of R, G, and B corresponding to each pixel of the color image. The values are mapped into the RGB three-dimensional color space, and the R, G, and B color intensity values correspond to the three axes of X, Y, and Z to form a three-dimensional coordinate system, wherein each coordinate point on the three-dimensional coordinate system is represented by Of a particular RGB color intensity value, the number of times that the corresponding color appears.
TW103117917A 2014-05-22 2014-05-22 Data clustering method applicable to color images TWI518632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103117917A TWI518632B (en) 2014-05-22 2014-05-22 Data clustering method applicable to color images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103117917A TWI518632B (en) 2014-05-22 2014-05-22 Data clustering method applicable to color images

Publications (2)

Publication Number Publication Date
TW201545119A true TW201545119A (en) 2015-12-01
TWI518632B TWI518632B (en) 2016-01-21

Family

ID=55407150

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103117917A TWI518632B (en) 2014-05-22 2014-05-22 Data clustering method applicable to color images

Country Status (1)

Country Link
TW (1) TWI518632B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI596572B (en) * 2016-07-06 2017-08-21 Method of automatically coloring image blocks
CN110443858A (en) * 2018-05-04 2019-11-12 财团法人石材暨资源产业研究发展中心 Color quantization method for the analysis of stone material pigment figure
TWI695345B (en) * 2018-04-13 2020-06-01 財團法人石材暨資源產業研究發展中心 Color quantization method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI596572B (en) * 2016-07-06 2017-08-21 Method of automatically coloring image blocks
TWI695345B (en) * 2018-04-13 2020-06-01 財團法人石材暨資源產業研究發展中心 Color quantization method
CN110443858A (en) * 2018-05-04 2019-11-12 财团法人石材暨资源产业研究发展中心 Color quantization method for the analysis of stone material pigment figure

Also Published As

Publication number Publication date
TWI518632B (en) 2016-01-21

Similar Documents

Publication Publication Date Title
US9405993B2 (en) Method and system for near-duplicate image searching
Rathore et al. Colour based image segmentation using L* a* b* colour space based on genetic algorithm
Sathya et al. Classification and segmentation in satellite imagery using back propagation algorithm of ann and k-means algorithm
CN108230340B (en) Method for determining SLIC superpixel extraction weight based on MMTD and superpixel extraction method
TWI518632B (en) Data clustering method applicable to color images
CN111127360B (en) Gray image transfer learning method based on automatic encoder
CN106709872B (en) A kind of rapid image ultra-resolution ratio reconstructing method
CN105335469A (en) Method and device for image matching and retrieving
US11593975B2 (en) Systems and methods of generating color palettes with a generative adversarial network
CN111310768B (en) Saliency target detection method based on robustness background prior and global information
Kleefeld et al. Adaptive filters for color images: median filtering and its extensions
Flachot et al. Deep neural models for color classification and color constancy
CN107533760A (en) A kind of image partition method and device
US7397945B2 (en) Method and system of image segmentation using regression clustering
CN111161282B (en) Target scale selection method for image multi-level segmentation based on depth seeds
Mathur et al. Performance analysis of color image segmentation using K-means clustering algorithm in different color spaces
Abter et al. An efficient color quantization using color histogram
Ledoux et al. Texture classification with fuzzy color co-occurrence matrices
CN103646393B (en) Oil painting base colors of pigment Forecast of Spectra method
CN113204607B (en) Vector polygon rasterization method for balancing area, topology and shape characteristics
CN108961357B (en) Method and device for strengthening over-explosion image of traffic signal lamp
JP2013196681A (en) Method and device for extracting color feature
CN113379785B (en) Saliency target detection method integrating boundary priori and frequency domain information
KR101611466B1 (en) Subsampling-based Clustering Method for fast superpixel segmentation
Sidqi et al. Image classification using K–mean algorithm