KR20080060689A - Method and device for providing color selection interface - Google Patents

Method and device for providing color selection interface Download PDF

Info

Publication number
KR20080060689A
KR20080060689A KR1020060135090A KR20060135090A KR20080060689A KR 20080060689 A KR20080060689 A KR 20080060689A KR 1020060135090 A KR1020060135090 A KR 1020060135090A KR 20060135090 A KR20060135090 A KR 20060135090A KR 20080060689 A KR20080060689 A KR 20080060689A
Authority
KR
South Korea
Prior art keywords
color
component
window
cursor
brightness
Prior art date
Application number
KR1020060135090A
Other languages
Korean (ko)
Other versions
KR100936145B1 (en
Inventor
김태곤
Original Assignee
엔에이치엔(주)
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 엔에이치엔(주) filed Critical 엔에이치엔(주)
Priority to KR1020060135090A priority Critical patent/KR100936145B1/en
Publication of KR20080060689A publication Critical patent/KR20080060689A/en
Application granted granted Critical
Publication of KR100936145B1 publication Critical patent/KR100936145B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and a device for providing a color selection interface are provided to enable a user to select various kinds of colors needed for web design, quickly detect/output the color selected by the user based on location information of a cursor, and enable the user to resize the color selection interface freely by providing the color selection interface based on painting. An interface screen display unit(202) paints a color selection interface, which includes a selection bar for selecting a color component among color, brightness, and saturation, and a window for selecting the remaining brightness and saturation components, to a web browser. The color component is continuously painted in the selection bar, and the brightness and saturation components are continuously painted in the window based on color component selection information. A color component detector(204) detects a value of the color component selected through the selection bar by recognizing location information of a cursor. A brightness/saturation component detector(206) detects the value of the brightness and saturation components selected through the window by recognizing the location information of the cursor.

Description

색 선택 인터페이스 제공 방법 및 장치{Method and Device for Providing Color Selection Interface}Method and device for providing a color selection interface {Method and Device for Providing Color Selection Interface}

도 1은 본 발명의 바람직한 일 실시예에 따른 색 선택 인터페이스의 일례를 도시한 도면.1 illustrates an example of a color selection interface in accordance with a preferred embodiment of the present invention.

도 2는 본 발명의 바람직한 일 실시예에 따른 색 선택 장치의 구성을 도시한 블록도.2 is a block diagram showing a configuration of a color selection device according to an embodiment of the present invention.

도 3은 본 발명의 바람직한 일 실시예에 따른 커서의 위치에 따라 색상을 감지하기 위한 디스플레이 화면을 도시한 도면.3 is a view showing a display screen for detecting color according to the position of the cursor according to an embodiment of the present invention.

도 4는 본 발명의 바람직한 일 실시예에 따른 커서의 위치에 따라 명도 및 채도를 감지하기 위한 디스플레이 화면을 도시한 도면.4 is a diagram illustrating a display screen for detecting brightness and saturation according to a position of a cursor according to an exemplary embodiment of the present invention.

도 5는 본 발명의 바람직한 일 실시예에 따른 색 선택 방법의 전체적인 흐름을 도시한 순서도.5 is a flow chart showing the overall flow of the color selection method according to an embodiment of the present invention.

도 6은 HSV의 색상 체계의 일례를 나타낸 도면.6 shows an example of a color scheme of HSV.

도 7은 HSV를 RGB로 변환하기 위해 비주얼 베이직으로 구현한 프로그램 코드의 일례를 도시한 도면. 7 is a diagram showing an example of program code implemented in Visual Basic for converting HSV to RGB.

본 발명은 색 선택 인터페이스 제공 방법 및 장치에 관한 것으로서, 더욱 상세하게는 웹페이지 디자인 시 사용자가 색을 선택하도록 하기 위한 색 인터페이스 제공 방법 및 장치에 관한 것이다. The present invention relates to a method and apparatus for providing a color selection interface, and more particularly, to a method and apparatus for providing a color interface for allowing a user to select a color when designing a web page.

종래의 웹서비스는 일방적으로 정보를 제공하는 형태였으나, 근래에 들어 사용자들의 참여와 개방성이 점점 중요시되는 추세이며, 특히, 블로그와 개인 홈페이지에서 이러한 변화가 일어나고 있다. Conventional web services have been a form of providing information unilaterally, but in recent years, the participation and openness of users is becoming more and more important. In particular, such changes are occurring in blogs and personal homepages.

이러한 문화는 소위 웹2.0 이라고 불리며, 서비스 프로바이더에 의해 제작된 컨텐츠보다는 사용자에 의해 제작된 컨텐츠(User Created Contents: UCC)가 오히려 웹상에서 주요한 컨텐츠로 작용하고 있다. This culture is called Web 2.0, and User Created Contents (UCC) are the main content on the web rather than content produced by service providers.

이에 따라, 사용자들의 다양한 요구를 반영될 수 있는 컨텐츠 제작 툴이 요구되고 있으며, 사용자들의 개성이 드러날 수 있으며 참여를 끌어낼 수 있는 다양한 기술들이 연구되고 있다. Accordingly, there is a demand for a content production tool that can reflect various needs of users, and various technologies that can reveal the personality of users and attract participation are being studied.

특히, 색은 사용자들이 블로그나 개인 홈페이지를 디자인 할 때 웹페이지의 분위기에 상당한 영향을 미치는 요소이며, 사용자들은 다양한 종류의 색을 자신의 개성에 맞게 사용할 수 있는 수단을 요구하고 있다. In particular, color is a factor that significantly affects the mood of web pages when users design blogs or personal homepages, and users demand a means of using various kinds of colors according to their personalities.

종래의 경우, 블로그나 개인 홈페이지의 배경 화면 색, 글자 색 등을 사용자가 설정할 수 있도록 하고 있기는 하나, 제한된 종류의 색상을 사용자에게 제공하 고 그중 일부를 선택하도록 하고 있는 바, 다양한 색을 요구하는 사용자들의 요구를 충족시키지는 못하였다. Conventionally, although the user can set the background color and the text color of the blog or the personal homepage, the user is provided with a limited kind of color and a part of the user is selected. Did not meet the needs of users.

이러한 문제점을 해결하기 위해, 다양한 종류의 색상이 표현된 이미지 파일을 제공하고, 해당 이미지에서 선택된 색을 제공하는 기술이 사용되기도 하였으나, 이미지로 색상이 제공될 경우 이미지의 확대나 축소가 불가능하며, 선택된 색을 로드하는데 상당한 시간이 소요되는 문제점이 있었다. In order to solve this problem, a technique of providing an image file expressing various kinds of colors and providing a selected color in the image has been used, but when a color is provided as an image, it is impossible to enlarge or reduce the image. There was a problem that it took a considerable time to load the selected color.

상기한 바와 같은 종래의 문제점을 해결하기 위해, 본 발명에서는 사용자의 요구하는 다양한 종류의 색을 선택할 수 있는 웹페이지에서 색 선택 인터페이스 제공 방법 및 장치를 제안하고자 한다. In order to solve the conventional problems as described above, the present invention proposes a method and apparatus for providing a color selection interface in a web page that can select a variety of colors required by the user.

본 발명의 다른 목적은 커서의 위치 정보를 기반으로 하여 사용자가 선택한 색상 등을 빠르게 감지하여 출력할 수 있는 웹페이지에서 색 선택 인터페이스 제공 방법 및 장치를 제안하는 것이다. Another object of the present invention is to provide a method and apparatus for providing a color selection interface in a web page that can quickly detect and output a color selected by a user based on position information of a cursor.

본 발명의 또 다른 목적은 이미지의 형태가 아닌 페인팅에 의해 색 선택 인터페이스를 제공함으로써 사용자가 자유롭게 확대 및 축소가 가능한 웹페이지에서 색 선택 인터페이스 제공 방법 및 장치를 제안하는 것이다.It is still another object of the present invention to provide a method and apparatus for providing a color selection interface in a web page that a user can freely enlarge and reduce by providing a color selection interface by painting rather than in the form of an image.

본 발명의 또 다른 목적은 웹브라우저의 종류에 관계 없이 크로스 브라우징이 가능한 웹페이지에서 색 선택 인터페이스 제공 방법 및 장치를 제안하는 것이다. Another object of the present invention is to propose a method and apparatus for providing a color selection interface in a web page capable of cross-browsing regardless of the type of web browser.

본 발명의 또 다른 목적들은 이하의 실시예에 대한 설명을 통해 쉽게 이해될 수 있을 것이다.Still other objects of the present invention will be readily understood through the following description of the embodiments.

상기한 바와 같은 목적을 달성하기 위해, 본 발명의 일 측면에 따르면, 색상, 명도 및 채도 중 임의의 제1 성분을 선택하기 위한 선택 바 및 나머지 제2 및 제3 성분을 선택하기 위한 윈도우를 포함하는 색 선택 인터페이스를 웹브라우저에 페인팅하는 단계(a); 상기 제1 성분을 연속적으로 상기 선택 바에 페인팅하고, 커서 위치 정보를 인식하여 상기 제1 성분의 값을 감지하는 단계(b); 상기 감지된 제1 성분에 기초하여 상기 제2 성분 및 제3 성분을 연속적으로 상기 윈도우에 페인팅하는 단계(c); 커서 위치 정보를 인식하여 상기 제2 성분 및 제3 성분의 값을 감지하는 단계(d)를 포함하는 웹페이지에서 선택 인터페이스 제공 방법이 제공된다. In order to achieve the above object, according to an aspect of the present invention, there is provided a selection bar for selecting any first component of hue, lightness and saturation and a window for selecting the remaining second and third components. (A) painting a color selection interface to the web browser; (B) sequentially painting the first component on the selection bar and recognizing cursor position information to sense a value of the first component; (C) continuously painting the second and third components on the window based on the sensed first components; A method of providing a selection interface in a web page is provided, the method comprising: (d) recognizing cursor position information to sense values of the second component and the third component.

상술한 방법은, 상기 감지된 색상, 명도 및 채도 값을 RGB 값으로 변환하는 단계를 더 포함할 수 있다. The above method may further include converting the sensed hue, brightness and saturation values into RGB values.

상술한 방법은, 웹브라우저의 종류를 판단하는 단계를 더 포함하며, 상기 단계 (a)는 웹브라우저의 종류에 따라 캔버스 또는 그래디언트 필터를 이용하여 상기 색 선택 인터페이스를 페인팅한다. The method may further include determining a type of a web browser, and the step (a) paints the color selection interface using a canvas or a gradient filter according to the type of the web browser.

상기 단계 (b)는 상기 색 선택 인터페이스가 디스플레이된 화면에서 커서의 세로 좌표, 상기 디스플레이 화면에서 선택 바가 시작되는 지점의 세로 좌표 및 상기 선택바의 길이 정보를 이용하여 상기 선택 바상에서 상기 커서의 정규화된 상대 적인 위치를 산출함으로써 제1 성분의 값을 산출한다. Step (b) is normalization of the cursor on the selection bar using the vertical coordinates of the cursor on the screen on which the color selection interface is displayed, the vertical coordinates of the starting point of the selection bar on the display screen, and length information of the selection bar. The value of the first component is calculated by calculating the relative position.

상기 단계(c)는, 상기 디스플레이 화면에서 커서의 가로 좌표, 상기 디스플레이 화면에서 윈도우의 최소 가로 좌표 및 상기 윈도우의 가로 길이 정보를 이용하여 상기 윈도우에서 상기 커서의 정규화된 상대적인 가로 위치를 산출함으로써 상기 제 2성분을 산출하고, 상기 디스플레이 화면에서 커서의 세로 좌표, 상기 디스플레이화면에서 윈도우의 최소 세로 좌표 및 상기 윈도우의 세로 길이 정보를 이용하여 상기 윈도우에서 상기 커서의 정규화된 상대적인 세로 위치를 산출함으로써 상기 제3 성분의 값을 산출한다. The step (c) may be performed by calculating a normalized relative horizontal position of the cursor in the window by using the horizontal coordinate of the cursor on the display screen, the minimum horizontal coordinate of the window on the display screen, and the horizontal length information of the window. Calculating a second component and calculating a normalized relative vertical position of the cursor in the window by using the vertical coordinate of the cursor on the display screen, the minimum vertical coordinate of the window on the display screen, and the vertical length information of the window; The value of the third component is calculated.

본 발명의 다른 측면에 따르면, 상술한 방법을 수행하기 위한 명령어들의 조합이 유형적으로 구현되어 있으며, 디지털 데이터 처리 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체가 제공된다. According to another aspect of the present invention, there is provided a recording medium in which a combination of instructions for performing the above-described method is tangibly implemented, and in which a program can be read by a digital data processing apparatus.

본 발명의 또 다른 측면에 따르면, 색상, 명도 및 채도 중 임의의 제1 성분을 선택하기 위한 선택 바 및 나머지 제2 및 제3 성분을 선택하기 위한 윈도우를 포함하는 색 선택 인터페이스를 웹브라우저에 페인팅하는 인터페이스 표시부-상기 선택바에는 제1 성분이 연속적으로 페인팅되고, 상기 윈도우에는 제1 성분 선택 정보에 기초하여 제2 성분 및 제3 성분이 함께 연속적으로 페인팅됨-; 커서 위치 정보를 인식하여 상기 선택바를 통해 선택된 제1 성분의 값을 감지하는 제1 성분 감지부; 및 커서 위치 정보를 인식하여 상기 윈도우를 통해 선택된 상기 제2 성분 및 제3 성분의 값을 감지하는 제2 및 제3 성분 감지부를 포함하는 제2 및 제3 성분 감지부를 포함하는 것을 특징으로 하는 웹페이지에서 색 선택 인터페이스 제공 장치가 제 공된다. According to another aspect of the invention, painting a color selection interface on a web browser comprising a selection bar for selecting any first component of hue, brightness and saturation and a window for selecting the remaining second and third components. An interface display unit, in which the first component is continuously painted on the selection bar, and the second and third components are continuously painted together on the window based on the first component selection information; A first component detecting unit recognizing cursor position information and sensing a value of the first component selected through the selection bar; And a second and third component detector including second and third component detectors for recognizing cursor position information and sensing values of the second and third components selected through the window. An apparatus for providing a color selection interface is provided on a page.

이하에서, 첨부된 도면을 참조하여 본 발명에 따른 색 선택 인터페이스 제공 방법 및 장치의 바람직한 실시예를 상세히 설명한다. Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the method and apparatus for providing a color selection interface according to the present invention.

본 발명은 블로그, 개인 홈페이지와 같은 웹페이지의 디자인 시 사용자의 색 선택 및 적용을 위한 인터페이스 툴을 제안한다. The present invention proposes an interface tool for user's color selection and application in designing web pages such as blogs and personal homepages.

본 발명을 설명하기에 앞서 색의 표현 방법에 대해 살펴보기로 한다. 웹에서 일반적으로 통용되는 색 표현 방법은 체계는 R.G.B(Red, Green, Blue) 체계를 이용하는 것이다. R.G.B 체계는 빛의 3원색 원리를 이용하여 수많은 컬러를 표현하는 방법이다. 모니터는 3가지 색을 내는 발광 물질이 도포되어 있고 3가지 색의 빛의 세기를 자유롭게 배합할 수 있도록 되어 있고, 그래픽 카드는 3가지 색의 각각의 세기를 비디오 메모리에 보관하고 있다. 이러한 세가지 색의 빛을 조합하면 다양한 형태의 색을 만들어낼 수 있다.Before describing the present invention, a method of expressing color will be described. A common way of expressing color on the web is to use the R.G.B (Red, Green, Blue) system. The R.G.B system is a way of expressing a lot of colors using the principle of the three primary colors of light. The monitor is coated with a luminous material that emits three colors and is free to mix the light intensity of the three colors, and the graphics card stores each of the three colors in video memory. Combining these three colors of light can produce a variety of colors.

또 다른 색 표현 방법으로 색상(Hue), 채도(Saturation), 명도(Value)를 이용한 HSV 방법이 있다. 여기서, 색상은 색의 종류를 빨,주,노,초,파,남,보의 순서로 늘어놓았을 때 어떤 색을 나타내는지를 의미하고, 채도는 색의 맑고 탁한 정도를 나타내며, 명도는 밝고 어두운 정도를 나타낸다.Another color expression method is the HSV method using hue, saturation, and brightness. Here, the color means what color the color represents when it is arranged in the order of red, week, oar, second, wave, south, and beam, and the saturation indicates the degree of clarity and turbidity of the color, and the brightness is bright and dark. Indicate the degree.

도 6은 HSV의 색상 체계의 일례를 나타낸 도면이다. HSV 색상 체계는 도 6과 같이 원뿔 좌표계로 표현되며, 빨간색부터 보라색까지 무지개 색 순서대로 원 위에 배열해놓은 것을 색상환이라고 한다. 색상환에서 색의 위치를 각도로 표현한 것이 색상이다. 6 is a diagram illustrating an example of a color system of HSV. The HSV color system is represented by a conical coordinate system as shown in FIG. 6, and arranged on a circle in a rainbow color order from red to purple is called a color wheel. The color represents the position of the color in degrees on the color wheel.

원의 중심에서 밖으로 갈수록 색의 채도가 높아지고 중심으로 갈수록 채도가 약해지며, 채도가 0이면 흰색이 된다. 또한, 도 6에서, 원뿔의 넓은 면으로 갈수록 명도가 높아지고 뾰족한 쪽으로 갈수록 명도가 낮아진다. The color saturation increases as you go out of the center of the circle, and the saturation becomes weaker as you go out to the center. In addition, in Fig. 6, the brightness is increased toward the broad side of the cone, and the brightness decreases toward the pointed side.

본 발명의 바람직한 실시예에 따르면, HSV 색상 체계를 이용하여 사용자가 색을 선택할 수 있도록 하며, 선택된 HSV 값을 모니터상에 표현하기 위해 RGB 값으로 변환한다. According to a preferred embodiment of the present invention, the HSV color system allows a user to select a color and converts the selected HSV value into an RGB value for presentation on a monitor.

도 1은 본 발명의 바람직한 일 실시예에 따른 색 선택 인터페이스의 일례를 도시한 도면이다. 1 illustrates an example of a color selection interface according to an exemplary embodiment of the present invention.

도 1을 참조하면, HSV 색상 체계를 이용한 색 선택 인터페이스가 제공되며, 색 선택 인터페이스는 색상 선택 바(100), 명도/채도 윈도우(102) 및 적용 색 표시 윈도우(104)를 포함할 수 있다. Referring to FIG. 1, a color selection interface using an HSV color system is provided, and the color selection interface may include a color selection bar 100, a brightness / saturation window 102, and an applied color display window 104.

색상 선택 바(100)는 빨간색부터 보라색까지의 색상을 연속적으로 표시한다. 사용자는 색상 선택 바(100)에 표시되는 색상 중 원하는 색상을 마우스 등의 사용자 인터페이스 장치를 이용하여 선택한다. The color selection bar 100 continuously displays colors from red to purple. The user selects a desired color among the colors displayed on the color selection bar 100 using a user interface device such as a mouse.

사용자가 색상 선택 바(100)를 통해 특정 색상을 선택하면, 선택된 색상에 상응하는 명도/채도 윈도우(102)가 활성화된다. 명도/채도 윈도우(102)에서 세로축은 채도를 나타내며, 가로축은 명도를 나타낸다. When the user selects a specific color through the color selection bar 100, the brightness / saturation window 102 corresponding to the selected color is activated. In the lightness / saturation window 102, the vertical axis represents saturation and the horizontal axis represents lightness.

도 1에는 사용자가 노란색 계통의 색상을 선택하였을 경우에 명도/채도 윈도우(102)가 활성화된 상태가 도시되어 있다. 1 illustrates a state in which the brightness / saturation window 102 is activated when the user selects a color of a yellow color scheme.

사용자는 커서를 이동시켜 명도/채도 윈도우를 통해 선택된 색상에 대한 명도 및 채도를 동시에 선택할 수 있으며, 사용자가 커서를 움직임에 따라 커서의 위치에 상응하는 색이 적용 색 표시 윈도우(104)에 포함된다. The user can move the cursor and select brightness and saturation for the selected color simultaneously through the brightness / saturation window, and the color corresponding to the position of the cursor is included in the applied color display window 104 as the user moves the cursor. .

도 1에는 색상을 1차원의 바를 통해 선택하고, 명도 및 채도를 2차원의 윈도우를 이용하여 동시에 선택하는 인터페이스가 도시되어 있으나, 명도나 채도 중 어느 하나를 먼저 바를 통해 선택하고, 윈도우를 통해 나머지 두개를 선택하도록 인터페이스가 제공될 수 있다는 점은 당업자에게 있어 자명할 것이다. 1 illustrates an interface for selecting a color through a bar in one dimension and simultaneously selecting brightness and saturation using a two-dimensional window, but selecting either brightness or saturation through a bar first, and then resting the window through the window. It will be apparent to those skilled in the art that an interface may be provided to select two.

예를 들어, 명도를 바를 통해 먼저 선택하도록 하고, 색상 및 채도가 한번에 표시되는 윈도우가 제공될 수도 있으며, 채도를 바를 통해 먼저 선택하도록 하고 명도 및 색상이 한번에 표시되는 윈도우가 제공될 수도 있을 것이다. For example, a window may be provided in which a brightness is selected first through a bar and a color and saturation are displayed at once, and a window may be provided in which a brightness and a color are displayed at a time and a saturation is selected first through a bar.

도 1에 도시된 바와 같이, 색상, 명도, 채도 중 어느 하나를 연속으로 표시하는 바에 의해 선택하도록 하고, 다른 2가지를 연속적으로 표시하는 윈도우에 선택하도록 함으로써 보다 광범위한 종류의 색을 사용자가 선택할 수 있으며, 색 선택 과정도 비교적 간단히 진행될 수 있다. 특히, 제한된 몇가지의 색을 제공하고 이중 하나를 선택하도록 하는 종래의 방식과 비교할 때 색 선택 자유도가 현저히 상승된다. As shown in Fig. 1, a user can select a wider variety of colors by selecting one of hue, lightness, and saturation continuously by selecting one of the bars, and by selecting the other two consecutively in a window displaying consecutively. In addition, the color selection process can be relatively simple. In particular, the degree of freedom of color selection is significantly increased when compared to the conventional way of providing a limited number of colors and allowing one to be selected.

도 2는 본 발명의 바람직한 일 실시예에 따른 색 선택 장치의 구성을 도시한 블록도이다. 2 is a block diagram showing the configuration of a color selection device according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 일 실시예에 따른 색 선택 장치는 브라우저 종류 판단부(200), 인터페이스 화면 표시부(202), 색상 감지부(204), 명도/채도 감지부(206) 및 HSV/RGB 변환부(208)를 포함할 수 있다. 2, a color selection device according to an embodiment of the present invention includes a browser type determiner 200, an interface screen display 202, a color detector 204, a brightness / saturation detector 206, and an HSV. It may include a / RGB converter 208.

브라우저 종류 판단부(200)는 색 선택 인터페이스가 표시될 브라우저 종류를 판단하는 기능을 한다. 현재, 인터넷 익스플로러, 넷츠케이프 네비게이터, 파이어 폭스, 오페라 등 다양한 웹브라우저들이 사용되고 있으며, 브라우저 종류 판단부(200)는 사용자가 사용하는 웹브라우저가 어떠한 웹브라우저인지를 판단하는 기능을 한다. The browser type determination unit 200 determines a browser type on which the color selection interface is to be displayed. Currently, various web browsers such as Internet Explorer, Netsscape Navigator, Firefox, Opera, etc. are used, and the browser type determining unit 200 determines which web browser the user uses.

본 발명의 일 실시예에 따르면, 도 1과 같은 색 선택 인터페이스를 이미지의 형태로 제공하지 않고 동적으로 페인팅한다. 이 경우, 색 선택 인터페이스를 페인팅하는 명령어는 브라우저 종류에 따라 다르게 설정될 수 있다. 예를 들어, 브라우저가 캔버스(canvas)를 지원하는 경우, 캔버스를 이용하여 색 선택 인터페이스를 페인팅하도록 명령어를 편집할 수 있다. 만일, 브라우저가 캔버스를 지원하지 않는 경우, 그래디언트 필터 등을 이용하여 색 선택 인터페이스를 페인팅하도록 명령어를 편집할 수 있다. According to an embodiment of the present invention, the color selection interface as shown in FIG. 1 is dynamically painted without providing an image in the form of an image. In this case, the command for painting the color selection interface may be set differently depending on the browser type. For example, if your browser supports canvas, you can edit the command to paint the color selection interface using the canvas. If your browser does not support canvas, you can edit the command to paint the color selection interface using a gradient filter or the like.

즉, 브라우저 종류 판단은 어떠한 툴을 이용하여 색 선택 인터페이스를 페인팅할지 여부를 선택하기 위한 것이다. 이와 같이, 동적으로 페인팅되는 색 선택 인터페이스는 기존의 이미지로 제공되는 경우에 비해 사이즈의 조절이 가능한 바, 이미지로 인터페이스가 제공되는 경우에 비해 사용자의 편의도가 향상된다. That is, the browser type determination is for selecting which tool to paint the color selection interface. As such, the color selection interface that is dynamically painted can be adjusted in size as compared with the existing image, and the user's convenience is improved as compared with the case where the interface is provided with the image.

인터페이스 화면 표시부(202)는 브라우저 종류에 상응하여 도 1과 같은 색 선택 인터페이스를 사용자 디스플레이 장치에 페인팅한다. 인터페이스 화면 표시부(202)는 현재 활성화된 브라우저 창에 색 선택 인터페이스를 표시할 수도 있으며, 별도의 팝업 창을 통해 색 선택 인터페이스를 표시할 수도 있다. The interface screen display unit 202 paints the color selection interface shown in FIG. 1 on the user display device according to the browser type. The interface screen display unit 202 may display the color selection interface in the currently activated browser window or may display the color selection interface through a separate pop-up window.

색상 감지부(204)는 색상 선택 바를 이용하여 사용자가 선택하는 색상을 감지하는 기능을 한다. 도 6에 도시된 바와 같이, 색상은 360도의 색상환으로 표시되는 바, 1 내지 360의 값을 가지고 있으며, 색상 감지부(204)는 사용자가 선택한 색상이 이들 값중 어떠한 값에 해당되는지를 판단한다. The color detector 204 detects a color selected by a user using a color selection bar. As shown in FIG. 6, the color is represented by a color wheel of 360 degrees, and has a value of 1 to 360, and the color detector 204 determines which of these values corresponds to the color selected by the user.

본 발명의 바람직한 실시예에 따르면, 커서의 위치 정보를 이용하여 사용자가 선택한 색상을 감지한다. 종래의 색 선택 방법의 경우, 색 선택 인터페이스는 이미지로 제공되었으며, 이미지의 픽셀별로 색 정보가 연관되어 제공되었다. According to a preferred embodiment of the present invention, the color selected by the user is detected by using the position information of the cursor. In the conventional color selection method, the color selection interface is provided as an image, and color information is provided in association with each pixel of the image.

즉, 종래의 경우 사용자가 색 선택 인터페이스 이미지의에서 특정 색을 선택하면, 해당 색 정보(HSV 값 또는 RGB)가 추출되는 방식으로 색상, 명도 등을 감지하였다. That is, in the conventional case, when a user selects a specific color from the color selection interface image, color, brightness, etc. are sensed by extracting corresponding color information (HSV value or RGB).

그러나, 이와 같이 색 정보가 이미지로부터 직접 추출될 경우 상당한 연산을 필요로하며, 이미지의 픽셀별로 색 정보를 연관시키는 작업 역시 상당한 시간이 소요되는 문제점이 있었다. However, when color information is directly extracted from an image as described above, a considerable operation is required, and a task of associating color information for each pixel of the image also takes a considerable time.

특히, 사용자는 색 선택 시 커서를 빠르게 움직이면서 어떠한 색을 선택할지 결정하는 것이 일반적인데, 종래의 방법에 의하면 사용자의 이러한 빠른 커서 움직임에 상응하여 색 선택 정보를 제공하지 못하는 문제점이 있었다. In particular, it is common for a user to determine which color to select while moving the cursor quickly when selecting a color. According to the conventional method, there is a problem in that the user cannot provide color selection information corresponding to the fast cursor movement of the user.

따라서, 본 발명의 바람직한 실시예에 따르면, 디스플레이 화면상에서 마우스의 위치 정보를 감지하고, 마우스의 위치 정보를 변수로 하는 간단한 연산만으로 색상값을 추출하는 방법을 제안한다. 마우스의 위치 정보만으로 색상 값을 추출하는 상세한 방법은 도 3을 참조하여 상세히 설명하기로 한다. Therefore, according to a preferred embodiment of the present invention, a method for detecting the position information of the mouse on the display screen, and extracting the color value only by a simple operation that uses the position information of the mouse as a variable. A detailed method of extracting color values using only the location information of the mouse will be described in detail with reference to FIG. 3.

명도/채도 감지부(206)는 사용자가 색상을 선택한 후 명도/채도 윈도우(102)를 통해 선택하는 명도 및 채도를 감지하는 기능을 한다. 색상 선택의 경우와 마찬가지로, 명도/채도 감지부(206)는 디스플레이 화면상의 마우스의 위치 정보를 이용하여 명도 및 채도 값을 산출하며, 명도 및 채도를 산출하는 방법은 도 4를 참조하여 상세히 설명한다. The brightness / saturation detector 206 detects brightness and saturation selected by the user through the brightness / saturation window 102 after selecting a color. As in the case of color selection, the brightness / saturation detection unit 206 calculates brightness and saturation values using the position information of the mouse on the display screen, and a method of calculating brightness and saturation will be described in detail with reference to FIG. 4. .

HSV/RGB 변환부(208)는 감지된 색상, 명도, 채도를 웹에서 통용되는 색 체계인 RGB 체계의 값으로 변환하는 기능을 한다. HSV 값을 RGB 값으로 변환하는 방법은 후에 설명하기로 한다. The HSV / RGB converter 208 converts the detected color, brightness, and saturation into values of an RGB system, which is a color system commonly used on the web. The method of converting HSV values to RGB values will be described later.

도 2에서는 색상을 먼저 감지하고, 명도 및 채도를 감지하는 경우가 도시되어 있으나, 전술한 바와 같이, 색 선택 인터페이스의 형태에 따라 명도 및 채도 중 하나를 먼저 감지하고 나머지 두 성분을 감지하도록 할 수 있다는 점은 당업자에게 있어 자명할 것이다. In FIG. 2, a color is first detected, and brightness and saturation are shown. However, as described above, one of brightness and saturation may be first detected and the other two components may be detected according to the shape of the color selection interface. It will be apparent to those skilled in the art.

최종 출력되는 RGB 값은 최종적으로 웹페이지에 적용된다. 예를 들어, 개인 웹페이지의 배경 화면 색으로 적용될 수도 있으며, 특정 텍스트의 색으로 적용될 수도 있다. The final output RGB value is finally applied to the web page. For example, it may be applied as the background color of a personal web page or may be applied as the color of a specific text.

도 3은 본 발명의 바람직한 일 실시예에 따른 커서의 위치에 따라 색상을 감지하기 위한 디스플레이 화면을 도시한 도면이다. 3 is a diagram illustrating a display screen for detecting a color according to a position of a cursor according to an exemplary embodiment of the present invention.

도 3을 참조하면, 모니터와 같은 디스플레이 화면(300)에 색상 선택 바(302)가 도시되어 있다. Referring to FIG. 3, a color selection bar 302 is shown on a display screen 300 such as a monitor.

색상 선택바(302)는 1차원적으로 색상을 표시하는 바, 높이 정보만을 이용하 여 색상을 감지한다. The color selection bar 302 displays a color in one dimension and detects a color using only height information.

도 3에서, cursor로 표시된 부분은 디스플레이 화면에서 커서의 세로 좌표 정보를 의미하고, Huebar.bottom으로 표시된 부분은 디스플레이 화면에서 색상 선택바의 바닥 부분의 세로 좌표 정보를 의미하며, Huebar.height는 색상 선택바의 총 길이 정보를 의미한다. In FIG. 3, the portion indicated by cursor means vertical coordinate information of the cursor on the display screen, and the portion indicated by Huebar.bottom means vertical coordinate information of the bottom portion of the color selection bar on the display screen, and Huebar.height is the color. The total length information of the selection bar.

색상 감지부는 사용자가 마우스 등을 이용하여 커서를 움직일 경우, 커서의 디스플레이 화면에서의 세로 좌표 정보를 감지하고 이를 이용하여 다음의 수학식 1과 같이 커서의 위치에 상응하는 색상값을 출력한다. When the user moves the cursor using a mouse or the like, the color detector detects vertical coordinate information on the display screen of the cursor and outputs a color value corresponding to the position of the cursor as shown in Equation 1 below.

Figure 112006097057042-PAT00001
Figure 112006097057042-PAT00001

위의 수학식 1에서, 커서의 세로 좌표에서 색상 선택바의 바닥의 세로 좌표를 뺄 경우, 커서의 색상 선택바상에서의 높이 정보가 계산된다. 또한, 커서의 색상 선택바상에서의 높이를 색상 선택바의 총 길이로 나눌 경우, 0 ~ 1 사이의 값을 가지는 정규화된 커서의 색상 선택 바상에서의 상대적인 위치 정보가 계산된다. In Equation 1 above, when the vertical coordinate of the bottom of the color selection bar is subtracted from the vertical coordinate of the cursor, height information on the color selection bar of the cursor is calculated. In addition, when the height on the color selection bar of the cursor is divided by the total length of the color selection bar, relative position information on the color selection bar of the normalized cursor having a value between 0 and 1 is calculated.

앞서 살펴본 바와 같이, 색상은 1 ~ 360 사이의 값을 가지므로, 상기 정규화된 값에 360을 곱하면 색상값이 출력된다. As described above, since the color has a value between 1 and 360, the color value is output when the normalized value is multiplied by 360.

즉, 본 발명은 마우스의 위치 정보를 이용하여 수학식 1과 같은 간단한 계산에 의해 색상 값을 출력하도록 하는 바, 사용자가 색상 선택 시 빠르게 커서를 움직이더라도 커서에 움직임에 상응하는 색상값의 출력이 가능하다. That is, the present invention outputs the color value by a simple calculation as shown in Equation 1 by using the position information of the mouse. It is possible.

도 4는 본 발명의 바람직한 일 실시예에 따른 커서의 위치에 따라 명도 및 채도를 감지하기 위한 디스플레이 화면을 도시한 도면이다.4 is a diagram illustrating a display screen for detecting brightness and saturation according to a position of a cursor according to an exemplary embodiment of the present invention.

도 4를 참조하면, 모니터와 같은 디스플레이 화면(400)에 명도/채도 윈도우(402)가 도시되어 있다. Referring to FIG. 4, a brightness / saturation window 402 is shown on a display screen 400 such as a monitor.

명도를 감지하기 위해, 커서의 세로 좌표 값이 이용된다. 도 4에서, v.cursor는 커서의 세로 좌표 정보를 의미하고, v.bottom으로 표시된 부분은 디스플레이 화면에서 명도/채도 윈도우의 바닥 부분의 세로 좌표 정보를 의미하며, v.height는 명도/채도 윈도우의 세로 높이 정보를 의미한다. To detect brightness, the ordinate value of the cursor is used. In FIG. 4, v.cursor means vertical coordinate information of a cursor, and a part indicated by v.bottom means vertical coordinate information of a bottom portion of a brightness / saturation window on a display screen, and v.height is a brightness / saturation window. Means vertical height information.

명도를 감지하는 방법은 색상 바를 감지하는 방법과 동일하다. 명도의 감지는 다음의 수학식 2를 통해 수행될 수 있다. The method of detecting brightness is the same as the method of detecting color bars. The detection of brightness may be performed through the following equation (2).

Figure 112006097057042-PAT00002
Figure 112006097057042-PAT00002

채도를 감지하기 위해서는 커서의 가로 좌표 값이 이용된다. 도 4에서, s.cursur는 커서의 가로 좌표 정보를 의미하고, s.bottom은 명도/채도 윈도우의 최좌측의 가로 좌표 정보를 의미하며, s.height는 명도/채도 윈도우의 가로 넓이 정보를 의미한다. The cursor's abscissa value is used to detect saturation. In FIG. 4, s.cursur means horizontal coordinate information of the cursor, s.bottom means horizontal coordinate information of the leftmost side of the brightness / saturation window, and s.height means horizontal width information of the brightness / saturation window. do.

채도 역시 세로 좌표 정보가 가로 좌표 정보로 치환된 것일 뿐 다음의 수학식 3과 같이 색상 및 명도를 감지하는 경우와 동일하다. Saturation is also the same as the case of detecting the color and brightness as shown in Equation 3 below, only the vertical coordinate information is replaced with the horizontal coordinate information.

Figure 112006097057042-PAT00003
Figure 112006097057042-PAT00003

도 5는 본 발명의 바람직한 일 실시예에 따른 색 선택 방법의 전체적인 흐름을 도시한 순서도이다. 5 is a flow chart showing the overall flow of the color selection method according to an embodiment of the present invention.

도 5에 도시된 방법은 사용자에게 제공되는 웹페이지의 스크립트를 통해 실행될 수도 있으며, 사용자 클라이언트에 설치되는 액티브엑스 컨트롤 형태의 어플리케이션을 통해 실행될 수도 있다. The method illustrated in FIG. 5 may be executed through a script of a web page provided to a user, or may be executed through an application of an ActiveX control type installed in a user client.

도 5를 참조하면, 우선 사용자 클라이언트에 설치된 브라우저의 종류를 판단한다(S500). 브라우저의 페인팅이 그래디언트 필터를 통해 이루어질 수 있는 브라우저인지 또는 캔버스를 통해 페인팅이 이루어질 수 있는 브라우저인지 여부가 판단된다. Referring to FIG. 5, first, a type of a browser installed in a user client is determined (S500). It is determined whether the painting in the browser can be done through the gradient filter or the browser can be painted through the canvas.

예를 들어, 마이크로소프트사의 인터넷 익스플로서의 경우, 그래디언트 필터에 의해 페인팅이 가능하며, 파이어 폭스, 오페라와 같은 브라우저의 경우 캔버스를 통해 페인팅이 가능하다. For example, with Microsoft's Internet Explorer, you can paint with gradient filters, and with browsers like Firefox and Opera, you can paint with canvas.

캔버스에 의해 페인팅이 가능한 브라우저일 경우, 캔버스를 이용하여 도 1과 같은 색 선택 인터페이스를 페인팅하며(S502), 그래디언트 필터에 의해 페인팅이 가능한 브라우저일 경우, 그래디언트 필터를 이용하여 도 1과 같은 색 선택 인터페이스를 페인팅한다(S504). In the case of a browser capable of painting by canvas, painting the color selection interface as shown in FIG. 1 using the canvas (S502). In the case of a browser capable of painting by the gradient filter, selecting a color as shown in FIG. 1 using the gradient filter. Painting the interface (S504).

이와 같이, 브라우저 종류를 판단하여 인터페이스를 페인팅을 함으로써 사용자가 어떠한 브라우저를 사용하건 색 선택 인터페이스를 제공할 수 있는 크로스 브라우징이 가능하다. As described above, by painting the interface by determining the type of browser, cross-browsing that enables a user to provide a color selection interface in any browser is possible.

색 선택 인터페이스가 페인팅되면, 사용자는 색 선택 인터페이스의 색상 선택 바 및 명도/채도 윈도우를 이용하여 색상, 명도 및 채도를 선택하고, 우선 사용자의 색상 선택바에서의 커서 위치 정보를 이용하여 색상 값을 감지하며(S506), 이때 수학식 1과 같은 색상 감지 알고리즘이 이용된다. When the color selection interface is painted, the user selects color, brightness, and saturation using the color selection bar and the brightness / saturation window of the color selection interface, and first uses the cursor position information in the user's color selection bar to select the color value. In operation S506, a color detection algorithm such as Equation 1 is used.

사용자가 특정 색상을 선택하면, 선택한 색상에 상응하여 명도 및 채도를 선택할 수 있는 명도/채도 윈도우가 활성화된다(S508). When the user selects a specific color, a brightness / saturation window for selecting brightness and saturation corresponding to the selected color is activated (S508).

명도/채도 윈도우가 활성화되고, 사용자가 마우스를 이용하여 커서를 명도/채도 윈도우의 특정 위치에 위치시킬 경우, 커서 위치 정보에 상응하여 명도 및 채도를 감지하며(S510), 이때 수학식 2 및 수학식 3과 같은 명도/채도 감지 알고리즘이 이용된다. When the brightness / saturation window is activated and the user places the cursor at a specific position of the brightness / saturation window by using a mouse, the brightness and saturation are detected according to the cursor position information (S510). A lightness / saturation detection algorithm like Eq. 3 is used.

색상, 명도 및 채도 값이 각각 감지되면, HSV 값을 웹에서 통용될 수 있는 RGB 값으로 변환한다. When the hue, brightness, and saturation values are respectively detected, the HSV values are converted to RGB values that are available on the web.

HSV를 RGB로 변환할 때, 채도가 0인 무채색의 경우 R,G,B 모두 같은 세기를 가지며, 그 값은 명도로 나타내어진다. 따라서, R, G, B 모두 명도와 같은 값을 가지게 된다.When converting HSV to RGB, in the case of achromatic color with zero saturation, R, G, and B all have the same intensity, and the value is expressed in brightness. Therefore, R, G, and B all have the same value as brightness.

채도가 0이 아닌 유채색의 경우, 색상환의 6가지 중 어디에 해당되는지 여부를 먼저 판단한다. R이 가장 세고, B가 가장 약한 경우는 색상이 색상환에서 0도 내지 60도 사이에 있는 경우이며, 이때 R이 가장 센 값을 가지므로 명도 V는 R과 같은 값을 가진다. 채도 S는 가장 밝은 색과 어두운 색의 차를 가장 밝은 색으로 정규화한 것으로 다음의 수학식 4와 같은 관계를 가진다. In the case of the non-saturated saturation color, it is first determined whether one of the six colors of the color wheel corresponds. When R is the strongest and B is the weakest, the color is between 0 and 60 degrees in the color wheel, and since R has the strongest value, the brightness V has the same value as R. Saturation S is a normalization of the difference between the lightest and darkest colors to the brightest color and has a relationship as in Equation 4 below.

Figure 112006097057042-PAT00004
Figure 112006097057042-PAT00004

한편, 색상환에서 R,G,B를 중심으로 상대적 위치 H는 두번째로 어두운 색과 가장 어두운 색의 차이를 가장 밝은 색과 가장 어두운 색으로 나눈 것이며, 다음의 수학식 5와 같은 관계를 가진다. On the other hand, in the color wheel, the relative position H centered around R, G, and B is the second difference between the darkest color and the darkest color divided into the brightest and the darkest color, and has the relationship as shown in Equation 5 below.

Figure 112006097057042-PAT00005
Figure 112006097057042-PAT00005

위 수학식 4 및 수학식 5와 같은 관계를 이용하여 HSV를 RGB로 변환하게 되며, 도 7은 HSV를 RGB로 변환하기 위해 비주얼 베이직으로 구현한 프로그램 코드의 일례를 도시한 것이다. The HSV is converted to RGB by using the relationship as shown in Equations 4 and 5, and FIG. 7 shows an example of program code implemented in Visual Basic to convert HSV to RGB.

상기한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대해 통상의 지식을 가진 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for purposes of illustration, and those skilled in the art will be able to make various modifications, changes, and additions within the spirit and scope of the present invention. Additions should be considered to be within the scope of the following claims.

이상에서 설명한 바와 같이, 본 발명의 바람직한 실시예에 따르면, 사용자가 요구하는 다양한 종류의 색을 선택할 수 있으며, 커서의 위치 정보를 기반으로 하여 사용자가 선택한 색상 등을 빠르게 감지하여 출력할 수 있는 장점이 있다.As described above, according to a preferred embodiment of the present invention, it is possible to select various types of colors required by the user, and to quickly detect and output a color selected by the user based on the location information of the cursor. There is this.

또한, 본 발명의 바람직한 실시예에 따르면, 이미지의 형태가 아닌 페인팅에 의해 색 선택 인터페이스를 제공함으로써 사용자가 자유롭게 확대 및 축소가 가능하며, 웹브라우저의 종류에 관계 없이 크로스 브라우징이 가능한 장점이 있다. In addition, according to a preferred embodiment of the present invention, by providing a color selection interface by painting rather than in the form of an image, the user can freely enlarge and reduce, and there is an advantage that can be cross-browsed regardless of the type of web browser.

Claims (10)

색상, 명도 및 채도 중 임의의 제1 성분을 선택하기 위한 선택 바 및 나머지 제2 및 제3 성분을 선택하기 위한 윈도우를 포함하는 색 선택 인터페이스를 웹브라우저에 페인팅하는 단계(a);(A) painting a color selection interface in a web browser comprising a selection bar for selecting any first component of hue, brightness and saturation and a window for selecting the remaining second and third components; 상기 제1 성분을 연속적으로 상기 선택 바에 페인팅하고, 커서 위치 정보를 인식하여 상기 제1 성분의 값을 감지하는 단계(b);(B) sequentially painting the first component on the selection bar and recognizing cursor position information to sense a value of the first component; 상기 감지된 제1 성분에 기초하여 상기 제2 성분 및 제3 성분을 연속적으로 상기 윈도우에 페인팅하는 단계(c);(C) continuously painting the second and third components on the window based on the sensed first components; 커서 위치 정보를 인식하여 상기 제2 성분 및 제3 성분의 값을 감지하는 단계(d)를 포함하는 것을 특징으로 하는 웹페이지에서 선택 인터페이스 제공 방법. And detecting (d) values of the second component and the third component by recognizing cursor position information. 제1항에 있어서,The method of claim 1, 상기 감지된 색상, 명도 및 채도 값을 RGB 값으로 변환하는 단계를 더 포함하는 것을 특징으로 하는 웹페이지에서 색 선택 인터페이스 제공 방법. And converting the sensed hue, brightness, and saturation values into RGB values. 제1항에 있어서,The method of claim 1, 웹브라우저의 종류를 판단하는 단계를 더 포함하며, 상기 단계 (a)는 웹브라 우저의 종류에 따라 캔버스 또는 그래디언트 필터를 이용하여 상기 색 선택 인터페이스를 페인팅하는 것을 특징으로 하는 웹페이지에서 색 선택 인터페이스 제공 방법. The method may further include determining a type of the web browser, and the step (a) may include painting the color selection interface using a canvas or a gradient filter according to the type of the web browser. How to Provide. 제1항에 있어서,The method of claim 1, 상기 단계 (b)는 상기 색 선택 인터페이스가 디스플레이된 화면에서 커서의 세로 좌표, 상기 디스플레이 화면에서 선택 바가 시작되는 지점의 세로 좌표 및 상기 선택바의 길이 정보를 이용하여 상기 선택 바상에서 상기 커서의 정규화된 상대적인 위치를 산출함으로써 제1 성분의 값을 산출하는 것을 특징으로 하는 색 선택 인터페이스 제공 방법. Step (b) is normalization of the cursor on the selection bar using the vertical coordinates of the cursor on the screen on which the color selection interface is displayed, the vertical coordinates of the starting point of the selection bar on the display screen, and length information of the selection bar. And calculating a value of the first component by calculating the relative position. 제4항에 있어서,The method of claim 4, wherein 상기 단계(c)는,Step (c) is, 상기 디스플레이 화면에서 커서의 가로 좌표, 상기 디스플레이 화면에서 윈도우의 최소 가로 좌표 및 상기 윈도우의 가로 길이 정보를 이용하여 상기 윈도우에서 상기 커서의 정규화된 상대적인 가로 위치를 산출함으로써 상기 제 2성분을 산출하고, 상기 디스플레이 화면에서 커서의 세로 좌표, 상기 디스플레이화면에서 윈도우의 최소 세로 좌표 및 상기 윈도우의 세로 길이 정보를 이용하여 상기 윈도우 에서 상기 커서의 정규화된 상대적인 세로 위치를 산출함으로써 상기 제3 성분의 값을 산출하는 것을 특징으로 하는 웹페이지에서 색 선택 인터페이스 제공 방법. Calculating the second component by calculating a normalized relative horizontal position of the cursor in the window by using the horizontal coordinate of the cursor on the display screen, the minimum horizontal coordinate of the window on the display screen, and the horizontal length information of the window; Calculate the value of the third component by calculating the normalized relative vertical position of the cursor in the window using the vertical coordinate of the cursor on the display screen, the minimum vertical coordinate of the window on the display screen, and the vertical length information of the window. Method for providing a color selection interface in a web page, characterized in that. 제1항 내지 제5항의 방법을 수행하기 위한 명령어들의 조합이 유형적으로 구현되어 있으며, 디지털 데이터 처리 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체. A recording medium in which a combination of instructions for performing the method of claims 1 to 5 is tangibly embodied and in which a program can be read by a digital data processing apparatus. 색상, 명도 및 채도 중 임의의 제1 성분을 선택하기 위한 선택 바 및 나머지 제2 및 제3 성분을 선택하기 위한 윈도우를 포함하는 색 선택 인터페이스를 웹브라우저에 페인팅하는 인터페이스 표시부-상기 선택바에는 제1 성분이 연속적으로 페인팅되고, 상기 윈도우에는 제1 성분 선택 정보에 기초하여 제2 성분 및 제3 성분이 함께 연속적으로 페인팅됨-;An interface display for painting in a web browser a color selection interface comprising a selection bar for selecting any first component of hue, lightness, and saturation and a window for selecting the remaining second and third components; One component is continuously painted and the window is continuously painted with a second component and a third component based on first component selection information; 커서 위치 정보를 인식하여 상기 선택바를 통해 선택된 제1 성분의 값을 감지하는 제1 성분 감지부; 및A first component detecting unit recognizing cursor position information and sensing a value of the first component selected through the selection bar; And 커서 위치 정보를 인식하여 상기 윈도우를 통해 선택된 상기 제2 성분 및 제3 성분의 값을 감지하는 제2 및 제3 성분 감지부를 포함하는 제2 및 제3 성분 감지부를 포함하는 것을 특징으로 하는 웹페이지에서 색 선택 인터페이스 제공 장치And a second and third component detector including second and third component detectors for recognizing cursor position information and detecting values of the second and third components selected through the window. Device for color selection interface 제7항에 있어서,The method of claim 7, wherein 상기 감지된 색상, 명도 및 채도 값을 RGB 값으로 변환하는 HSV/RGB 변환부를 더 포함하는 것을 특징으로 하는 웹페이지에서 색 선택 인터페이스 제공 장치. And a HSV / RGB converter for converting the sensed hue, brightness, and saturation values into RGB values. 제7항에 있어서,The method of claim 7, wherein 상기 제1 성분 감지부는 상기 색 선택 인터페이스가 디스플레이된 화면에서 커서의 세로 좌표, 상기 디스플레이 화면에서 선택 바가 시작되는 지점의 세로 좌표 및 상기 선택바의 길이 정보를 이용하여 상기 선택 바상에서 상기 커서의 정규화된 상대적인 위치를 산출함으로써 제1 성분의 값을 산출하는 것을 특징으로 하는 색 선택 인터페이스 제공 장치. The first component detecting unit normalizes the cursor on the selection bar by using the vertical coordinate of the cursor on the screen on which the color selection interface is displayed, the vertical coordinate of the starting point of the selection bar on the display screen, and length information of the selection bar. And calculating a value of the first component by calculating the calculated relative position. 제9항에 있어서,The method of claim 9, 상기 제2 및 제3 성분 감지부는,The second and third component detectors, 상기 디스플레이 화면에서 커서의 가로 좌표, 상기 디스플레이 화면에서 윈도우의 최소 가로 좌표 및 상기 윈도우의 가로 길이 정보를 이용하여 상기 윈도우에서 상기 커서의 정규화된 상대적인 가로 위치를 산출함으로써 상기 제 2성분을 산출하고, 상기 디스플레이 화면에서 커서의 세로 좌표, 상기 디스플레이화면에서 윈 도우의 최소 세로 좌표 및 상기 윈도우의 세로 길이 정보를 이용하여 상기 윈도우에서 상기 커서의 정규화된 상대적인 세로 위치를 산출함으로써 상기 제3 성분의 값을 산출하는 것을 특징으로 하는 웹페이지에서 색 선택 인터페이스 제공 장치. Calculating the second component by calculating a normalized relative horizontal position of the cursor in the window by using the horizontal coordinate of the cursor on the display screen, the minimum horizontal coordinate of the window on the display screen, and the horizontal length information of the window; The value of the third component is calculated by calculating a normalized relative vertical position of the cursor in the window using the vertical coordinate of the cursor on the display screen, the minimum vertical coordinate of the window on the display screen, and the vertical length information of the window. Apparatus for providing a color selection interface in the web page, characterized in that the calculation.
KR1020060135090A 2006-12-27 2006-12-27 Method and Device for Providing Color Selection Interface KR100936145B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060135090A KR100936145B1 (en) 2006-12-27 2006-12-27 Method and Device for Providing Color Selection Interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060135090A KR100936145B1 (en) 2006-12-27 2006-12-27 Method and Device for Providing Color Selection Interface

Publications (2)

Publication Number Publication Date
KR20080060689A true KR20080060689A (en) 2008-07-02
KR100936145B1 KR100936145B1 (en) 2010-01-12

Family

ID=39813185

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060135090A KR100936145B1 (en) 2006-12-27 2006-12-27 Method and Device for Providing Color Selection Interface

Country Status (1)

Country Link
KR (1) KR100936145B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986176A (en) * 2021-10-29 2022-01-28 北京光启元数字科技有限公司 Color display method and device, electronic equipment and readable medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615320A (en) * 1994-04-25 1997-03-25 Canon Information Systems, Inc. Computer-aided color selection and colorizing system using objective-based coloring criteria
KR20000009575A (en) * 1998-07-27 2000-02-15 윤종용 Method for selecting a plural of color based on user interface
US20030184557A1 (en) * 2002-03-26 2003-10-02 Senfar Wen Interactive method and apparatus for managing color gamut mapping
JP4403397B2 (en) * 2004-07-21 2010-01-27 ソニー株式会社 User interface providing device
JP4684595B2 (en) * 2004-08-05 2011-05-18 ソニー株式会社 Image display device
KR100719291B1 (en) * 2004-08-24 2007-05-17 (주)니즈라인 Pop advertising creat system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986176A (en) * 2021-10-29 2022-01-28 北京光启元数字科技有限公司 Color display method and device, electronic equipment and readable medium

Also Published As

Publication number Publication date
KR100936145B1 (en) 2010-01-12

Similar Documents

Publication Publication Date Title
US8971617B2 (en) Method and interface for converting images to grayscale
US20050270302A1 (en) Method and apparatus for modifying graphics content prior to display for color blind use
JP2005527880A5 (en)
US20090135266A1 (en) System for scribing a visible label
US11734805B2 (en) Utilizing context-aware sensors and multi-dimensional gesture inputs to efficiently generate enhanced digital images
KR20090076388A (en) Method and apparatus for controlling video display in mobile terminal
US20150170606A1 (en) Dynamic Transparency Adjustment of User Interface Element
KR101539781B1 (en) Method for visualizing a change caused by scrolling in a scrolling direction of a section of a text and/or graphic displayed on an optical display means
US20190096096A1 (en) Digital Paint Generation Feedback
US20210026508A1 (en) Method, device and computer program for overlaying a graphical image
AU2024202563A1 (en) Systems and methods for applying effects to design elements
KR100936145B1 (en) Method and Device for Providing Color Selection Interface
JP2011013334A (en) Image display device
JPWO2010116467A1 (en) Image display device and image processing method
WO2019063495A2 (en) Method, device and computer program for overlaying a graphical image
US11978139B2 (en) Systems and methods for assessing text legibility in electronic documents
JP6154545B2 (en) Information processing device
KR20130136939A (en) Method for display and apparatus for the same
JP2018063588A (en) Color determination device, control method, and program
CN101276457B (en) Verification pattern algorithm and system and method for realizing RTL
JP7027288B2 (en) Decision device, decision method and decision program
Montag The use of color in multidimensional graphical information display
US11127177B2 (en) Technology for generating product designs using multiple canvases
CN111966933A (en) Color data recommendation method and device
WO2023208750A1 (en) Method and apparatus for assigning at least one human-perceived attribute to a sample coating

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
E801 Decision on dismissal of amendment
B601 Maintenance of original decision after re-examination before a trial
S901 Examination by remand of revocation
GRNO Decision to grant (after opposition)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130102

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20131231

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20151223

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20170102

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20180102

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20190102

Year of fee payment: 10