KR101700661B1 - Apparatus and method of deciding diagram object color using web search and color detection - Google Patents
Apparatus and method of deciding diagram object color using web search and color detection Download PDFInfo
- Publication number
- KR101700661B1 KR101700661B1 KR1020160010009A KR20160010009A KR101700661B1 KR 101700661 B1 KR101700661 B1 KR 101700661B1 KR 1020160010009 A KR1020160010009 A KR 1020160010009A KR 20160010009 A KR20160010009 A KR 20160010009A KR 101700661 B1 KR101700661 B1 KR 101700661B1
- Authority
- KR
- South Korea
- Prior art keywords
- color
- item
- image
- module
- diagram
- Prior art date
Links
Images
Classifications
-
- G06F17/3089—
-
- G06F17/30864—
-
- G06F17/30994—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
본 발명은 도표 항목 색상 결정 장치 및 방법에 관한 것으로서, 구체적으로는 웹(web) 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for determining a color of a graphic item, and more particularly, to an apparatus and method for determining a color of a graphic item using web search and color detection.
다량의 데이터를 처리하거나 프로그래밍(programming)을 통해 가공된 정보를 표현하고자 할 때 보통 도표(graph or diagram)를 사용한다. 도표는 도표 아이템(항목)별로 각 도표 아이템의 수치를 비교하여 표시하는 데 유용하다. 막대 그래프, 꺽은선 그래프 등 다양하게 표시될 수 있다.When you want to process large amounts of data or express processed information through programming, you usually use graphs or diagrams. Charts are useful for comparing and displaying figures for each chart item by chart item (item). Bar graphs, and line graphs.
이러한 도표는 각각의 도표 아이템을 보다 보기 쉽고 이해하기 쉽도록 표현하는 것이 중요하며, 각각의 도표 아이템을 상징하는 색상을 표현하는 방식이 많이 사용되고 있다.It is important that these charts represent each chart item so that it is easier to see and understand, and a method of expressing colors representing each chart item is widely used.
예를 들어, 과일의 경우 사과는 빨간색, 바나나는 보란색으로 표시될 수 있다.For example, in the case of fruit, apples can be displayed in red, and bananas in bran.
이러한 도표를 보면 시각적으로 한 눈에 도표 아이템을 인지하기가 쉽다. 이러한 도표 아이템은 직접 도표를 생성하는 사용자가 일일이 색상을 지정하여야 하므로, 매우 번거로운 작업이 될 수 있다.These charts make it easy to visually recognize chart items at a glance. Such a graphic item can be a very cumbersome task since the user who generates the chart must designate the color every time.
또한, 과일과 같이 그 도표 아이템을 상징하는 색상이 있는 경우에는 큰 문제가 없지만, 자동차, 비행기 등과 같인 그 상징적인 색상을 규정하기 애매한 도표 아이템의 경우에는 그 색상을 지정하는 데에도 상당한 애로 사항이 생기게 된다.Also, if there is a color that symbolizes the graphic item like a fruit, it is not a big problem, but in the case of a graphic item that defines the symbolic color such as a car or an airplane, .
도표 아이템의 색상을 보다 합리적으로 인식할 수 있는 색상을 지정할 수 있는 방안이 요구되고 있다.There is a demand for a method of specifying a color that can more reasonably recognize the color of a graphic item.
본 발명의 목적은 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치를 제공하는 데 있다.An object of the present invention is to provide an apparatus for determining a color of a graphic item using web search and color detection.
본 발명의 다른 목적은 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 방법을 제공하는 데 있다.It is another object of the present invention to provide a method for determining a color of a graphic item using web search and color detection.
상술한 본 발명의 목적에 따른 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치는, 도표 및 도표의 도표 아이템(diagram item)을 입력받는 도표 아이템 입력 모듈; 도표 아이템 입력 모듈에서 입력받은 도표 아이템에 대한 도표 아이템 이미지를 웹(web) 상에서 검색하는 도표 아이템 이미지 검색 모듈; 상기 도표 아이템 이미지 검색 모듈에서 검색된 도표 아이템 이미지에서 전경(foreground) 이미지와 배경(background) 이미지로 분리하여 전경 이미지를 추출하는 전경 이미지 추출 모듈; 상기 전경 이미지 추출 모듈에서 추출된 전경 이미지의 RGB 색상을 추출하는 전경 이미지 색상 추출 모듈; 상기 전경 이미지 색상 추출 모듈에서 추출된 RGB 색상에 따라 상기 도표 아이템의 색상을 자동 결정하는 도표 아이템 색상 결정 모듈; 상기 도표 아이템 색상 결정 모듈에서 자동 결정된 도표 아이템의 색상에 따라 해당 도표의 도표 아이템의 색상을 지정하여 도표를 출력하는 도표 생성 모듈을 포함하도록 구성될 수 있다.According to an aspect of the present invention, there is provided an apparatus for determining a color of a graphic item using web search and color detection, comprising: a graphic item input module receiving a graphic item of a graphic and a chart; A graphic item image retrieval module for retrieving a graphic item image for a graphic item input from a graphic item input module on the web; A foreground image extraction module that extracts a foreground image by separating the foreground image and background image from the graphic item image retrieved from the graphic item image retrieval module; A foreground image color extraction module for extracting RGB colors of foreground images extracted by the foreground image extraction module; A graphic item color determination module that automatically determines the color of the graphic item according to the RGB color extracted by the foreground image color extraction module; And a chart generating module for specifying a color of the chart item of the chart according to the color of the chart item automatically determined by the chart item color determining module and outputting the chart.
여기서, 상기 도표 아이템 색상 결정 모듈은, 상기 도표 아이템 이미지 검색 모듈에서 검색된 소정 개수의 도표 아이템 이미지 중에서 상기 전경 이미지 색상 추출 모듈에서 가장 많이 추출된 전경 이미지의 RGB 색상의 상기 도표 아이템의 색상으로 결정하도록 구성될 수 있다.Here, the graphic item color determination module may determine the color of the graphic item of the RGB color of the foreground image most extracted in the foreground image color extraction module from the predetermined number of graphic item images retrieved from the graphic item image retrieval module Lt; / RTI >
상술한 본 발명의 다른 목적에 따른 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 방법은, 도표 아이템 입력 모듈이 도표 및 도표의 도표 아이템(diagram item)을 입력받는 단계; 도표 아이템 이미지 검색 모듈이 상기 도표 아이템 입력 모듈에서 입력받은 도표 아이템에 대한 도표 아이템 이미지를 웹(web) 상에서 검색하는 단계; 전경 이미지 추출 모듈이 상기 도표 아이템 이미지 검색 모듈에서 검색된 도표 아이템 이미지에서 전경(foreground) 이미지와 배경(background) 이미지로 분리하여 전경 이미지를 추출하는 단계; 전경 이미지 색상 추출 모듈이 상기 전경 이미지 추출 모듈에서 추출된 전경 이미지의 RGB 색상을 추출하는 단계; 도표 아이템 색상 결정 모듈이 상기 전경 이미지 색상 추출 모듈에서 추출된 RGB 색상에 따라 상기 도표 아이템의 색상을 자동 결정하는 단계; 도표 생성 모듈이 상기 도표 아이템 색상 결정 모듈에서 자동 결정된 도표 아이템의 색상에 따라 해당 도표의 도표 아이템의 색상을 지정하여 도표를 출력하는 단계를 포함하도록 구성될 수 있다.According to another aspect of the present invention, there is provided a method for determining a color of a graphic item using web search and color detection, the method comprising: receiving a diagram item of a graphic and a chart; Retrieving a graphic item image of a graphic item input by the graphic item image retrieval module from the graphic item input module on a web; Extracting a foreground image by separating a foreground image and a background image from a graphic item image retrieved from the graphic item image retrieving module; The foreground image color extraction module extracting RGB colors of the foreground image extracted from the foreground image extraction module; Automatically determining a color of the graphic item according to the RGB color extracted from the foreground image color extraction module; And outputting the graphic by designating the color of the graphic item of the graphic according to the color of the graphic item automatically determined in the graphic item color determination module.
여기서, 상기 도표 아이템 색상 결정 모듈이 상기 전경 이미지 색상 추출 모듈에서 추출된 RGB 색상에 따라 상기 도표 아이템의 색상을 자동 결정하는 단계는, 상기 도표 아이템 이미지 검색 모듈에서 검색된 소정 개수의 도표 아이템 이미지 중에서 상기 전경 이미지 색상 추출 모듈에서 가장 많이 추출된 전경 이미지의 RGB 색상의 상기 도표 아이템의 색상으로 결정하도록 구성될 수 있다.Here, the step of automatically determining the color of the graphic item according to the RGB color extracted from the foreground image color extraction module by the graphic item color determination module may include the step of, among the predetermined number of graphic item images retrieved from the graphic item image retrieval module, May be configured to determine the color of the graphic item of the RGB color of the foreground image extracted most often in the foreground image color extraction module.
상술한 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치 및 방법에 의하면, 도표 아이템의 대표 색상 또는 이를 연상할 수 있는 색상을 웹 상의 이미지 검색을 통해 자동으로 결정할 수 있도록 구성됨으로써, 도표 아이템의 색상 지정을 보다 편리하고 합리적으로 수행하고 도표의 인지력을 높이는 효과가 있다.According to the apparatus and method for determining a color of a graphic item using the web search and color detection described above, the representative color of the graphic item or the color that can be associated with it can be automatically determined through image search on the web, It has the effect of more convenient and rational designation and higher awareness of charts.
도 1은 본 발명의 일 실시예에 따른 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치의 블록 구성도이다.
도 2는 본 발명의 일 실시예에 따른 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 방법의 흐름도이다.1 is a block diagram of an apparatus for determining a color of a graphic item using web search and color detection according to an embodiment of the present invention.
2 is a flowchart of a method of determining a color of a graphic item using web search and color detection according to an embodiment of the present invention.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 발명을 실시하기 위한 구체적인 내용에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail to the concrete inventive concept. It is to be understood, however, that the invention is not to be limited to the specific embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. Like reference numerals are used for like elements in describing each drawing.
제1, 제2, A, B 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.The terms first, second, A, B, etc. may be used to describe various elements, but the elements should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.
본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.
다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as either ideal or overly formal in the sense of the present application Do not.
이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일 실시예에 따른 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치의 블록 구성도이다.1 is a block diagram of an apparatus for determining a color of a graphic item using web search and color detection according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 일 실시예에 따른 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치(100)는 도표 아이템 입력 모듈(110), 도표 아이템 이미지 검색 모듈(120), 전경 이미지 추출 모듈(130), 전경 이미지 색상 추출 모듈(140), 도표 아이템 색상 결정 모듈(150) 및 도표 생성 모듈(160)을 포함하도록 구성될 수 있다.Referring to FIG. 1, an
웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치(100)는 도표 아이템의 대표 색상 또는 이를 연상할 수 있는 색상을 사용자가 지정하지 않고 웹 상의 이미지를 통해 자동 결정하고 지정할 수 있도록 구성될 수 이다The
웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치(100)는 웹 상의 이미지에서 가장 많이 표현된 도표 아이템의 색상으로 자동 지정하여 누구든지 쉽게 그 색상을 통해 도표 아이템을 식별하고 상호 구별하기 쉽도록 구성될 수 있다.The
이하, 세부적인 구성에 대하여 설명한다.Hereinafter, the detailed configuration will be described.
도표 아이템 입력 모듈(110)은 도표 및 도표의 도표 아이템(diagram item)을 입력받도록 구성될 수 있다. 이러한 도표 아이템 입력 모듈(110)은 도표 생성 툴(tool) 예를 들어, 마이크로소프트 엑셀(Microsoft Excel)이나 기타 다른 프로그램과 결합되어 이용될 수 있다.The graphical
도표 아이템 입력 모듈(110)은 툴에서 생성되는 도표에 대해 그 도표 아이템을 자동 추출하도록 구성될 수 있다.The chart
도표 아이템 이미지 검색 모듈(120)은 도표 아이템 입력 모듈(110)에서 입력받은 도표 아이템에 대한 도표 아이템 이미지를 웹(web) 상에서 검색하도록 구성될 수 있다.The graphic item
도표 아이템 이미지 검색 모듈(120)은 도표 아이템이 사과나 바나나, 딸기로 검색된 경우에는, 사과나 바나나, 딸기의 이미지를 웹 상에서 검색하도록 구성될 수 있다.The chart item
여기서, 도표 아이템 이미지 검색 모듈(120)은 일반 문서 검색이 아닌 이미지 검색을 하도록 구성될 수 있으며, 구글(Google)의 이미지 검색을 활용할 수 있다.Here, the graphic item
이때, 도표 아이템 이미지 검색 모듈(120)은 미리 정해진 소정 개수의 도표 아이템 이미지를 검색할 수 있으며, 설정값에 따라서는 해당 검색 엔진에서 가장 많이 검색되는 상위 순위의 소정 개수의 도표 아이템 이미지를 검색할 수도 있다.At this time, the graphic item
도표 아이템 이미지 검색 모듈(120)은 표본 개수로서 100개의 이미지를 검색할 수도 있고, 구글에서 검색된 상위 10개의 이미지만 검색할 수도 있다.The graphic item
전경 이미지 추출 모듈(130)은 도표 아이템 이미지 검색 모듈(120)에서 검색된 도표 아이템 이미지에서 전경(foreground) 이미지와 배경(background) 이미지로 분리하여 전경 이미지를 추출하도록 구성될 수 있다.The foreground
바나나의 이미지를 검색한 경우 그 이미지에 바나나만 있는 것은 아니고 배경 이미지도 함께 존재하므로 그 이미지에서 바나나 형상의 전경 이미지만을 추출해 낸다.When searching an image of a banana, not only a banana is present in the image but also a background image exists, so that only the foreground image of the banana shape is extracted from the image.
전경 이미지 색상 추출 모듈(140)은 전경 이미지 추출 모듈(130)에서 추출된 전경 이미지의 RGB 색상을 추출하도록 구성될 수 있다.The foreground image
전경 이미지 색상 추출 모듈(140)은 전경 이미지의 파일에서 그 픽셀의 RGB 색상을 추출할 수 있다. 여기서, 바나나, 사과 등은 그 RGB 색상이 전체적으로 빨간색, 노란색과 같이 거의 일정하지만, 그렇지 않은 경우도 있다. 예를 들어, 딸기와 같은 경우에는 빨간색에 검은색 점의 무늬가 균일하게 표시되어 있고, 파란색의 잎이 표시될 것이다. 그리고 자동차나 비행기의 경우에는 매우 다양한 색상으로 표현될 것이다.The foreground image
도표 아이템 색상 결정 모듈(150)은 전경 이미지 색상 추출 모듈(140)에서 추출된 RGB 색상에 따라 도표 아이템의 색상을 자동 결정하도록 구성될 수 있다.The graphic item
여기서, 기본적으로 도표 아이템 색상 결정 모듈(150)은 도표 아이템 이미지 검색 모듈(120)에서 검색된 소정 개수의 도표 아이템 이미지 중에서 전경 이미지 색상 추출 모듈(130)에서 가장 많이 추출된 전경 이미지의 RGB 색상의 도표 아이템의 색상으로 결정하도록 구성될 수 있다. 예를 들어, 100개의 표본 이미지에서 하나의 색상이 56개의 전경 이미지에서 추출된 경우, 해당 색상을 도표 아이템의 색상으로 결정할 수 있다. 다른 방식으로는 도표 아이템 색상 결정 모듈(150)은 검색 엔진에서 검색된 상위 소정 개수의 이미지에서 가장 많이 검색된 색상을 도표 아이템 이미지의 색상으로 결정할 수 있다. 가장 많이 검색된 색상이 그만큼 대표성을 갖는 것으로 볼 수 있기 때문이다.In this case, the graphic item
한편, 하나의 도표 아이템에 대해서 전경 이미지의 색상이 여러 개가 추출된 경우, 예를 들어 딸기의 경우에는 그중 가장 많이 픽셀을 차지하는 빨간색을 대표 색상으로 규정하고 딸기의 도표 아이템 색상을 빨간색으로 결정하도록 구성될 수 있다.On the other hand, when a plurality of foreground image colors are extracted for one graphic item, for example, in the case of strawberry, the red color that occupies the most pixels is defined as the representative color, and the color of the graphic item of strawberry is determined to be red .
만약 사과라는 도표 아이템과 딸기라는 도표 아이템의 하나의 도표에 사용되어 빨간색이 겹치는 경우에는 겹치지 않도록 결정할 필요가 있으며, 딸기의 검은 점 무늬를 도표 아이템 이미지에 추가하여 검은 점이 군데군데 표시된 빨간색을 도표 아이템의 색상으로 결정할 수 있다.If it is used in a chart of an apple chart item and a chart item of strawberry chart, it is necessary to decide not to overlap when red overlaps. It is also possible to add a straw dot black dot pattern to a chart item image, As shown in FIG.
비행기나 자동차의 경우에는 가장 많이 검색된 색상을 표시할 수 있으며, 두 도표 아이템의 색상은 겹치지 않도록 구성하는 것이 바람직하다. 만약 은색으로 겹치게 검색되었다고 하면, 그 겹치는 색상이 더 많이 검색된 도표 아이템에 대해 그 색상을 지정하고 나머지 도표 아이템에 대해서는 두번째로 많이 검색된 색상을 그 도표 아이템의 색상으로 지정하도록 구성될 수 있다. 다른 방식으로는 전경 이미지 추출 모듈(130)에서 추출된 전경 이미지를 해당 도표 아이템에 추가할 수 있다. 비행기나 자동차가 각각 가장 많이 검색된 전경 이미지를 대표 이미지로 설정하여 도표 아이템에 추가하도록 구성될 수 있다. 이러한 형상이 명확한 도표 아이템에 대해서는 그 형상을 도표에 추가하여 식별력을 높일 수 있다.In the case of an airplane or a car, the most searched colors can be displayed, and the colors of the two graphic items are preferably not overlapped. If it is detected that the colors are overlapped with silver, the color may be designated for the graphic item in which the overlapping colors are searched for more, and the second most frequently searched color for the remaining graphic items may be designated as the color of the graphic item. Alternatively, the foreground image extracted by the foreground
한편, 도표 아이템이 한국 자동차, 독일 자동차, 일본 자동차 등으로 국가별로 다르게 있는 경우, 자동차라는 동일한 요소는 제외하고, 한국, 독일, 일본을 대상으로 각각의 색상을 지정하도록 구성될 수 있다. 필요에 따라서는 몇몇 도표 아이템에 대해서는 해당 국가의 국기를 바로 지정하도록 알고리즘이 구성될 수 있다.On the other hand, when the graphic items are different for each country such as Korean cars, German cars, Japanese cars, etc., the colors may be designated for Korea, Germany, and Japan, except for the same elements as automobiles. For some graphic items, the algorithm can be configured to directly specify the national flag of the corresponding country, if necessary.
이와 같이, 도표 아이템의 색상 결정은 필요에 따라 상황에 따라 다양한 알고리즘에 의해 가장 적합하고 가장 식별력을 높일 수 있도록 구성될 수 있다.As described above, the color determination of a graphic item can be configured so as to maximize the discrimination power according to necessity by various algorithms according to the situation.
도표 생성 모듈(160)은 도표 아이템 색상 결정 모듈(150)에서 자동 결정된 도표 아이템의 색상에 따라 해당 도표의 도표 아이템의 색상을 지정하여 도표를 출력하도록 구성될 수 있다.The
도 2는 본 발명의 일 실시예에 따른 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 방법의 흐름도이다.2 is a flowchart of a method of determining a color of a graphic item using web search and color detection according to an embodiment of the present invention.
도 2를 참조하면, 도표 아이템 입력 모듈(110)이 도표 및 도표의 도표 아이템(diagram item)을 입력받는다(S101).Referring to FIG. 2, a diagram
다음으로, 도표 아이템 이미지 검색 모듈(120)이 도표 아이템 입력 모듈(110)에서 입력받은 도표 아이템에 대한 도표 아이템 이미지를 웹(web) 상에서 검색한다(S102).Next, the graphic item
다음으로, 전경 이미지 추출 모듈(130)이 도표 아이템 이미지 검색 모듈(120)에서 검색된 도표 아이템 이미지에서 전경(foreground) 이미지와 배경(background) 이미지로 분리하여 전경 이미지를 추출한다(S103).Next, the foreground
다음으로, 전경 이미지 색상 추출 모듈(140)이 전경 이미지 추출 모듈(130)에서 추출된 전경 이미지의 RGB 색상을 추출한다(S104).Next, the foreground image
다음으로, 도표 아이템 색상 결정 모듈(150)이 전경 이미지 색상 추출 모듈(140)에서 추출된 RGB 색상에 따라 도표 아이템의 색상을 자동 결정한다(S105).Next, the graphic item
여기서, 도표 아이템 색상 결정 모듈(150)은 도표 아이템 이미지 검색 모듈(120)에서 검색된 소정 개수의 도표 아이템 이미지 중에서 전경 이미지 색상 추출 모듈(140)에서 가장 많이 추출된 전경 이미지의 RGB 색상의 도표 아이템의 색상으로 결정하도록 구성될 수 있다.Here, the graphic item
다음으로, 도표 생성 모듈(160)이 도표 아이템 색상 결정 모듈(150)에서 자동 결정된 도표 아이템의 색상에 따라 해당 도표의 도표 아이템의 색상을 지정하여 도표를 ??력한다(S106).Next, the
이상 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention as defined in the following claims. There will be.
110: 도표 아이템 입력 모듈
120: 도표 아이템 이미지 검색 모듈
130: 전경 이미지 추출 모듈
140: 전경 이미지 색상 추출 모듈
150: 도표 아이템 색상 결정 모듈
160: 도표 생성 모듈110: Chart Item Input Module
120: Chart Item Image Search Module
130: foreground image extraction module
140: foreground image color extraction module
150: Diagram item color determination module
160: Chart generation module
Claims (4)
도표 아이템 입력 모듈에서 입력받은 도표 아이템에 대한 도표 아이템 이미지를 웹(web) 상에서 검색하는 도표 아이템 이미지 검색 모듈;
상기 도표 아이템 이미지 검색 모듈에서 검색된 도표 아이템 이미지에서 전경(foreground) 이미지와 배경(background) 이미지로 분리하여 전경 이미지를 추출하는 전경 이미지 추출 모듈;
상기 전경 이미지 추출 모듈에서 추출된 전경 이미지의 RGB 색상을 추출하는 전경 이미지 색상 추출 모듈;
상기 전경 이미지 색상 추출 모듈에서 추출된 RGB 색상에 따라 상기 도표 아이템의 색상을 자동 결정하는 도표 아이템 색상 결정 모듈;
상기 도표 아이템 색상 결정 모듈에서 자동 결정된 도표 아이템의 색상에 따라 해당 도표의 도표 아이템의 색상을 지정하여 도표를 출력하는 도표 생성 모듈을 포함하는 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치.A chart item input module for receiving a chart item and a diagram item;
A graphic item image retrieval module for retrieving a graphic item image for a graphic item input from a graphic item input module on the web;
A foreground image extraction module that extracts a foreground image by separating the foreground image and background image from the graphic item image retrieved from the graphic item image retrieval module;
A foreground image color extraction module for extracting RGB colors of foreground images extracted by the foreground image extraction module;
A graphic item color determination module that automatically determines the color of the graphic item according to the RGB color extracted by the foreground image color extraction module;
And a chart generation module for designating a color of the chart item of the chart according to the color of the chart item automatically determined by the chart item color determination module and outputting the chart.
상기 도표 아이템 이미지 검색 모듈에서 검색된 소정 개수의 도표 아이템 이미지 중에서 상기 전경 이미지 색상 추출 모듈에서 가장 많이 추출된 전경 이미지의 RGB 색상의 상기 도표 아이템의 색상으로 결정하도록 구성되는 것을 특징으로 하는 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 장치.The method according to claim 1,
And a color of the graphic item of the RGB color of the foreground image most extracted in the foreground image color extraction module from a predetermined number of graphic item images retrieved from the graphic item image retrieval module. Apparatus for determining color of a graphic item using detection.
도표 아이템 이미지 검색 모듈이 상기 도표 아이템 입력 모듈에서 입력받은 도표 아이템에 대한 도표 아이템 이미지를 웹(web) 상에서 검색하는 단계;
전경 이미지 추출 모듈이 상기 도표 아이템 이미지 검색 모듈에서 검색된 도표 아이템 이미지에서 전경(foreground) 이미지와 배경(background) 이미지로 분리하여 전경 이미지를 추출하는 단계;
전경 이미지 색상 추출 모듈이 상기 전경 이미지 추출 모듈에서 추출된 전경 이미지의 RGB 색상을 추출하는 단계;
도표 아이템 색상 결정 모듈이 상기 전경 이미지 색상 추출 모듈에서 추출된 RGB 색상에 따라 상기 도표 아이템의 색상을 자동 결정하는 단계;
도표 생성 모듈이 상기 도표 아이템 색상 결정 모듈에서 자동 결정된 도표 아이템의 색상에 따라 해당 도표의 도표 아이템의 색상을 지정하여 도표를 출력하는 단계를 포함하는 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 방법.Receiving a diagram item from a diagram and a diagram;
Retrieving a graphic item image of a graphic item input by the graphic item image retrieval module from the graphic item input module on a web;
Extracting a foreground image by separating a foreground image and a background image from a graphic item image retrieved from the graphic item image retrieving module;
The foreground image color extraction module extracting RGB colors of the foreground image extracted from the foreground image extraction module;
Automatically determining a color of the graphic item according to the RGB color extracted from the foreground image color extraction module;
And the chart generating module designating the color of the chart item of the chart according to the color of the chart item automatically determined in the chart item color determining module and outputting the chart.
상기 도표 아이템 이미지 검색 모듈에서 검색된 소정 개수의 도표 아이템 이미지 중에서 상기 전경 이미지 색상 추출 모듈에서 가장 많이 추출된 전경 이미지의 RGB 색상의 상기 도표 아이템의 색상으로 결정하도록 구성되는 것을 특징으로 하는 웹 검색 및 색상 검출을 이용한 도표 항목 색상 결정 방법.4. The method of claim 3, wherein the automatic determination of the color of the graphic item according to the RGB color extracted from the foreground image color extraction module comprises:
And a color of the graphic item of the RGB color of the foreground image most extracted in the foreground image color extraction module from a predetermined number of graphic item images retrieved from the graphic item image retrieval module. Method of determining color of a graphic item using detection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160010009A KR101700661B1 (en) | 2016-01-27 | 2016-01-27 | Apparatus and method of deciding diagram object color using web search and color detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160010009A KR101700661B1 (en) | 2016-01-27 | 2016-01-27 | Apparatus and method of deciding diagram object color using web search and color detection |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101700661B1 true KR101700661B1 (en) | 2017-01-31 |
Family
ID=57990740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160010009A KR101700661B1 (en) | 2016-01-27 | 2016-01-27 | Apparatus and method of deciding diagram object color using web search and color detection |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101700661B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090037704A (en) * | 2007-10-12 | 2009-04-16 | 차병래 | Meta data generation method for intutive image search |
-
2016
- 2016-01-27 KR KR1020160010009A patent/KR101700661B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090037704A (en) * | 2007-10-12 | 2009-04-16 | 차병래 | Meta data generation method for intutive image search |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101558425B (en) | Image processing apparatus, image processing method | |
US8094935B2 (en) | Representative color extracting method and apparatus based on human color sense and data histogram distributions | |
US10341552B2 (en) | Infrared recording device and infrared recording method | |
CN101169787A (en) | Information processing apparatus and control method for the same | |
WO2015115274A1 (en) | Object assessment device, image sensor, and object assessment method | |
CN106155483A (en) | Display packing and terminal | |
US20170359528A1 (en) | Infrared Photographing Device and Infrared Photographing Method | |
US20230297609A1 (en) | Systems and methods for naming objects based on object content | |
CN111090368B (en) | Color matching method and device for determining page characters | |
CN106971004B (en) | Search result providing method and device | |
JP6880974B2 (en) | Information output program, information output method and information processing device | |
KR101700661B1 (en) | Apparatus and method of deciding diagram object color using web search and color detection | |
US11244185B2 (en) | Image search device, image search system, and image search method | |
CN103428436B (en) | Image recording apparatus and image recording method | |
KR20140134154A (en) | Method and Terminal for Extracting a Object from Image | |
US20150043812A1 (en) | Color evaluation apparatus, color evaluation method and computer program | |
KR20200085606A (en) | System and Method for Providing Hierarchical Information Search Graphic User Interface based on Word-Cloud | |
US11989227B2 (en) | Image search system, image search method, and program | |
JP4952079B2 (en) | Image processing apparatus, method, and program | |
US8363940B2 (en) | Image processing apparatus, image processing method, and storage medium | |
EP3312734A1 (en) | Method and apparatus for providing local search suggestion | |
CN103428433B (en) | Image processing device, image processing system and image processing method | |
JP2008071311A (en) | Image retrieval apparatus, image retrieval method, image retrieval program, and information storage medium | |
JP2006313497A (en) | Apparatus and method for retrieving image | |
US20090063514A1 (en) | System and method for generating files having categorization architectures for digital images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |