KR100539940B1 - Method for displaying an image of sketch effect in portable terminal - Google Patents

Method for displaying an image of sketch effect in portable terminal Download PDF

Info

Publication number
KR100539940B1
KR100539940B1 KR10-2003-0055865A KR20030055865A KR100539940B1 KR 100539940 B1 KR100539940 B1 KR 100539940B1 KR 20030055865 A KR20030055865 A KR 20030055865A KR 100539940 B1 KR100539940 B1 KR 100539940B1
Authority
KR
South Korea
Prior art keywords
image
value
color
edge extraction
black
Prior art date
Application number
KR10-2003-0055865A
Other languages
Korean (ko)
Other versions
KR20050017062A (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 KR10-2003-0055865A priority Critical patent/KR100539940B1/en
Publication of KR20050017062A publication Critical patent/KR20050017062A/en
Application granted granted Critical
Publication of KR100539940B1 publication Critical patent/KR100539940B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

본 발명은 휴대용 단말기에서 촬영된 영상을 스케치효과로 표시하는 방법에 있어서, 촬영된 영상에서 에지 추출하고, 상기 에지 추출한 결과값을 보완하고, 상기 에지 추출된 영상을 색 반전시키고, 상기 색 반전된 영상에 흑백효과를 적용하고, 상기 흑백효과가 적용된 영상을 저장 및 표시하는 과정을 포함한다. According to an aspect of the present invention, a method of displaying an image captured by a portable terminal with a sketch effect includes extracting an edge from a captured image, compensating the result of the edge extraction, color inverting the edge extracted image, And applying the black and white effect to the image, and storing and displaying the image to which the black and white effect is applied.

Description

휴대용 단말기에서 촬영된 영상을 스케치효과로 표시하는 방법{METHOD FOR DISPLAYING AN IMAGE OF SKETCH EFFECT IN PORTABLE TERMINAL} {METHOD FOR DISPLAYING AN IMAGE OF SKETCH EFFECT IN PORTABLE TERMINAL}

본 발명은 휴대용 단말기에 표시되는 영상에 대한 것으로서, 특히 스케치효과의 영상을 표시하는 방법에 관한 것이다.The present invention relates to an image displayed on a portable terminal, and more particularly, to a method for displaying an image of a sketch effect.

일반적으로 카메라를 가진 휴대용 단말기는 영상을 촬영할 수 있고, 촬영된 영상을 저장하거나 표시한다. 그러나 촬영된 영상을 다양하게 표시하지 못하고 있다. 따라서 본 발명은 촬영된 영상을 다양하게 표시할 수 있는 방법을 제안한다. In general, a portable terminal having a camera can capture an image, and store or display the captured image. However, the captured images cannot be displayed in various ways. Therefore, the present invention proposes a method for displaying a variety of captured images.

본 발명의 목적은 휴대용 단말기에서 촬영된 영상을 스케치효과로 표시할 수 있는 방법을 제공함에 있다.An object of the present invention is to provide a method for displaying the image taken by the portable terminal with a sketch effect.

상기한 목적을 달성하기 위한 본 발명은, 휴대용 단말기에서 촬영된 영상을 스케치효과로 표시하는 방법에 있어서, 촬영된 영상에서 에지 추출하는 과정과, 상기 에지 추출한 결과값을 보완하는 과정과, 상기 에지 추출된 영상을 색 반전시키는 과정과, 상기 색 반전된 영상에 흑백효과를 적용하는 과정과, 상기 흑백효과가 적용된 영상을 저장 및 표시하는 과정을 포함함을 특징으로 한다. According to an aspect of the present invention, a method of displaying an image photographed by a portable terminal with a sketch effect includes: extracting an edge from a photographed image, compensating the edge extraction result value, and the edge; And inverting the extracted image, applying a black and white effect to the color inverted image, and storing and displaying the image to which the black and white effect is applied.

이하, 본 발명에 따른 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명한다. 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 것이라는 것을 유의하여야 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that in the following description, only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts will be omitted so as not to distract from the gist of the present invention.

카메라는 영상을 촬영하며, 촬영된 영상을 전기적 신호로 변환하는 카메라 센서를 구비한다. 여기서 상기 카메라 센서는 CCD센서라 가정한다. 신호처리부는 상기 카메라로부터 입력되는 영상신호를 이미지신호로 변환한다. 여기서 상기 신호처리부는 DSP(Digital Signal Processor)로 구현할 수 있다. 영상처리부는 상기 신호처리부에서 출력되는 이미지신호를 휴대용 단말기의 표시부로 전송한다. 이때 상기 휴대용 단말기의 표시부는 상기 이미지신호를 표시한다.The camera captures an image and includes a camera sensor that converts the captured image into an electrical signal. It is assumed here that the camera sensor is a CCD sensor. The signal processor converts an image signal input from the camera into an image signal. The signal processor may be implemented by a digital signal processor (DSP). The image processor transmits the image signal output from the signal processor to the display unit of the portable terminal. At this time, the display unit of the portable terminal displays the image signal.

도 1은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 스케치효과의 영상을 표시하기 위한 흐름도이다. 도 2는 본 발명의 일 실시 예에 따른 휴대용 단말기에서 에지 추출을 설명하기 위한 도면이다. 도 3은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 에지 추출을 위한 마스크를 도시한 도면이다. 도 4는 본 발명의 일 실시 예에 따른 휴대용 단말기에서 에지 추출된 영상을 반전하기 위한 공식을 도시한 도면이다. 도 5는 본 발명의 일 실시 예에 따른 휴대용 단말기에서 흑백이미지를 표시하기 위한 공식을 도시한 도면이다. 상기 도 1 내지 상기 도 5를 참조하여, 촬영된 영상을 스케치효과로 표시하는 방법에 대해 설명하기로 한다.1 is a flowchart for displaying an image of a sketch effect in a portable terminal according to an embodiment of the present invention. 2 is a view for explaining edge extraction in a portable terminal according to an embodiment of the present invention. 3 is a diagram illustrating a mask for edge extraction in a portable terminal according to an embodiment of the present invention. 4 is a diagram illustrating a formula for inverting an edge extracted image in a portable terminal according to an embodiment of the present invention. 5 is a diagram illustrating a formula for displaying a black and white image in a portable terminal according to an embodiment of the present invention. 1 to 5, a method of displaying a captured image with a sketch effect will be described.

스케치 효과는 에지 추출(윤곽선 검출), 에지 결과값 보완, 반전효과, 흑백효과의 과정을 거치게 된다. 먼저 에지 추출하는 과정(101단계부터 107단계까지)에 대해 설명하기로 한다. 에지 추출하는 과정은 여러 가지 방법이 존재한다. 여기서 스케치 효과는 촬영된 영상을 영상처리하면서 종이에 색연필로 스케치한 형태의 영상을 나타나게 하는 효과이다. 또한 에지는 가장자리라는 의미로서, 본 발명에서 언급하고 있는 에지는 영상의 밝기가 낮은 값에서 높은 값으로 또는 높은 값에서 낮음 값으로 변하는 지점에 존재하는 부분을 가리킨다. 그러므로 상기 에지는 영상 안에 있는 객체의 경계(Boundary)를 가리키는 것으로서, 모양(shape), 방향성(direction) 탐지 등 여러 가지 중요한 정보가 들어 있다. 에지 추출은 미분 연산자에 의한 밝기 값의 변화를 이용하여 찾아내는 것이다. 하지만 프로그래밍을 하는데 있어서 직접 계산보다는 마스크를 이용하는 방법이 더욱 효과적이다. 따라서 본 발명은 마스크를 이용할 것이다.Sketch effects go through the process of edge extraction (contour detection), edge result complement, inversion effect and black and white effect. First, the process of edge extraction (from step 101 to step 107) will be described. There are various methods of edge extraction. Here, the sketch effect is an effect of displaying an image of a sketched form with colored pencils while processing the photographed image. In addition, an edge means an edge, and the edge referred to in the present invention refers to a portion existing at a point where the brightness of an image changes from a low value to a high value or from a high value to a low value. Therefore, the edge indicates the boundary of the object in the image, and contains various important information such as shape and direction detection. Edge extraction is found by using the change of the brightness value by the derivative operator. But in programming, using masks is more effective than direct computation. Therefore, the present invention will use a mask.

101단계에서, 휴대용 단말기의 제어부는 카메라로부터 촬영된 영상 또는 메모리에 저장된 영상에서 3*3 크기만큼의 픽셀값을 읽어온다. 즉, 상기 제어부는 입력된 영상에서 상기 도 2의 (a)와 같이 3*3 크기만큼의 픽셀값을 읽어온다. 103단계에서, 상기 제어부는 원영상에서 읽어온 3*3 크기만큼의 픽셀값에 가로축(이하 "x축"이라 칭함) 마스크를 곱하여 합산한다. 예를 들어 도 2를 참조하면, 입력된 영상에서 3*3 크기만큼의 픽셀값(a)에 x축 마스크(b) 값을 곱하여 합산한다. 여기서 상기 x축 마스크는 영상에서 좌우 경계를 기준으로 한다. 본 발명은 상기 x축 마스크로 상기 도 3의 (d)를 이용한다. 105단계에서, 상기 제어부는 원영상에서 읽어온 3*3 크기만큼의 픽셀값에 세로축(이하 "y축"이라 칭함) 마스크를 곱하여 합산한다. 예를 들어 도 2를 참조하면, 입력된 영상에서 3*3 크기만큼의 픽셀값(a)에 y축 마스크(b) 값을 곱하여 합산한다. 여기서 상기 y축 마스크는 영상에서 상하 경계를 기준으로 한다. 본 발명은 상기 y축 마스크로 상기 도 3의 (e)를 이용한다. 입력된 영상에서 상기 x축 마스크 및 상기 y축 마스크를 곱하는 이유는 선을 찾아야하기 때문이다. 즉, 영상의 밝기가 낮은 값에서 높은 값으로 또는 높은 값에서 낮은 값으로 변하는 경계값을 얻기 위함이다. 107단계에서, 상기 제어부는 상기 103단계에서 얻은 x축의 합산값과 상기 105단계에서 얻은 y축의 합산값을 더한 에지 추출 결과값(새로운 픽셀값)(c)을 얻는다. 이렇게 얻어진 상기 에지 추출 결과값(새로운 픽셀값)(c)은 상기 도 2와 같이 출력되는 3*3 크기만큼의 영상에서 중심 픽셀에 할당한다.In step 101, the controller of the portable terminal reads a pixel value of 3 * 3 size from an image captured by a camera or an image stored in a memory. That is, the controller reads pixel values of 3 * 3 size from the input image as shown in FIG. In step 103, the controller multiplies the pixel value of the 3 * 3 pixel value read from the original image by multiplying the horizontal axis (hereinafter referred to as "x-axis") mask. For example, referring to FIG. 2, a pixel value (a) of a size 3 * 3 is multiplied by an x-axis mask (b) and summed in an input image. The x-axis mask is based on the left and right boundaries in the image. The present invention uses FIG. 3 (d) as the x-axis mask. In step 105, the control unit multiplies the vertical axis (hereinafter referred to as the "y-axis") mask by 3 * 3 pixel values read from the original image and adds them. For example, referring to FIG. 2, a 3 * 3 pixel value a is multiplied by a y-axis mask b in the input image and summed. Here, the y-axis mask is based on the upper and lower boundaries in the image. The present invention uses FIG. 3E as the y-axis mask. The reason for multiplying the x-axis mask and the y-axis mask in the input image is to find a line. That is, to obtain a boundary value in which the brightness of the image changes from a low value to a high value or from a high value to a low value. In step 107, the controller obtains an edge extraction result (new pixel value) c obtained by adding the sum of the x-axis obtained in step 103 and the sum of the y-axis obtained in step 105. The edge extraction result value (new pixel value) c thus obtained is allocated to the center pixel in the 3 * 3 size image output as shown in FIG.

109단계에서, 상기 제어부는 상기 에지 추출 결과값을 보완한다. 보완하는 방법에 있어서, 상기 에지 추출 결과값이 기준의 38%보다 작으면 상기 에지 추출 결과값을 2배로 높여준다. 또한 상기 에지 추출 결과값이 기준의 68%보다 크면 상기 에지 추출 결과값을 68%로 조정한다. 예를 들면, 색을 구성하는 영상정보(Red Green Blue : 이하 "RGB"이라 칭함), RGB(적·녹·청)의 3원색을 각각 256가지의 단계를 두고 조합한 것이라고 가정하면, 상기에서 언급한 기준은 256일 것이다. 상기 RGB는 색 신호로서, 빛의 3원색인 적(Red), 녹(Green), 청(Blue)을 신호화하여 전송하고 휴대용 단말기의 표시부에서는 이 신호를 바탕으로 영상을 재현한다. 보완하는 방법에 있어서, 보완의 기준은 256의 38%인 97.28이고 256의 68%인 174.08일 것이다. 상기 에지 추출 결과값이 76이라고 가정하면, 보완 기준인 97.28보다 작기 때문에 2배인 152로 높여준다. 또한 상기 에지 추출 결과값이 180이라고 가정하면, 보완 기준인 174.08보다 크기 때문에 상기 에지 추출 결과값인 180을 기준의 68%인 174.08로 조정한다.In step 109, the controller compensates for the edge extraction result. In the complementary method, if the edge extraction result is less than 38% of the reference, the edge extraction result is doubled. If the edge extraction result is greater than 68% of the reference, the edge extraction result is adjusted to 68%. For example, suppose that the three primary colors of the image information (Red Green Blue: `` RGB '') and RGB (red, green, blue) constituting the color are combined in 256 steps. The criterion mentioned will be 256. The RGB is a color signal, which is transmitted by signaling red, green, and blue, which are three primary colors of light, and the display unit of the portable terminal reproduces an image based on the signal. In the method of complementation, the criterion of complement would be 97.28 which is 38% of 256 and 174.08 which is 68% of 256. Assuming that the edge extraction result value is 76, it is increased to 152, which is 2 times smaller than the complementary criterion 97.28. In addition, assuming that the edge extraction result value is 180, the edge extraction result value 180 is adjusted to 174.08, which is 68% of the reference value, because it is larger than the complementary reference value of 174.08.

111단계에서, 상기 제어부는 에지 추출된 영상을 색 반전시킨다. 영상을 반전하는 방법에 있어서, 상기 제어부는 상기 도 4와 같은 방법을 이용하여 영상을 반전한다. 상기 도 4를 참조하면, RGB 최대값에서 에지 추출한 결과값을 차감하여 영상을 반전한다는 것을 알 수 있다. 113단계에서, 상기 제어부는 상기 111단계에서 수행한 색 반전된 영상에 흑백효과를 적용한다. 상기 흑백효과를 적용하는 방법에 있어서, 본 발명은 RGB 컬러 영상에서 흑백 영상으로 변환하는 알고리즘은 상기 도 5와 같다. 즉, 상기 흑백효과는 HSI 컬러 모형을 이용하여, 영상의 명도에 대하여 연산을 수행한다. 115단계에서, 상기 제어부는 3*3의 중심 픽셀에 흑백효과까지 적용된 값을 저장한다. 또한 사용자의 선택에 따라 상기 제어부는 스케치효과의 영상을 표시할 수 있다.In step 111, the controller inverts the edge-extracted image. In the method of inverting the image, the controller inverts the image using the method as shown in FIG. 4. Referring to FIG. 4, it can be seen that the image is inverted by subtracting the result of edge extraction from the RGB maximum value. In step 113, the controller applies the black and white effect to the color inverted image performed in step 111. In the method of applying the black and white effect, the present invention is an algorithm for converting from an RGB color image to a black and white image as shown in FIG. In other words, the black and white effect is performed on the brightness of the image using the HSI color model. In step 115, the controller stores a value applied to the black and white effect in the center pixel of 3 * 3. In addition, according to a user's selection, the controller may display an image of a sketch effect.

도 6은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 스케치효과를 강하게 또는 약하게 표시하기 위한 흐름도이다. 도 7은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 스케치효과를 강하게 하는 마스크를 도시한 도면이다. 도 8은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 스케치효과를 약하게 하는 마스크를 도시한 도면이다. 상기 도 6과 상기 도 7과 상기 도 8을 참조하여, 스케치효과를 강하게 또는 약하게 나타내는 방법을 알아보기로 한다.6 is a flowchart for displaying a sketch effect strongly or weakly in a portable terminal according to an embodiment of the present invention. 7 is a view showing a mask to enhance the sketch effect in the portable terminal according to an embodiment of the present invention. 8 is a diagram illustrating a mask for weakening a sketch effect in a portable terminal according to an embodiment of the present invention. Referring to FIGS. 6, 7, and 8, a method of expressing a sketch effect strongly or weakly will be described.

601단계에서, 휴대용 단말기의 제어부는 카메라로부터 촬영된 영상 또는 메모리에 저장된 영상에서 3*3 크기만큼의 픽셀값을 읽어온다. 603단계에서, 상기 제어부는 원영상에서 읽어온 3*3 크기만큼의 픽셀값에 x축 마스크를 곱하여 합산한다. 여기서 상기 x축 마스크는 영상에서 좌우 경계를 기준으로 한 것이며, 스케치효과를 강하게 나타내기 위해서 본 발명은 상기 x축 마스크로 상기 도 7의 (f)를 이용한다. 또한 스케치효과를 약하게 나타내기 위해서 본 발명은 상기 x축 마스크로 상기 도 8의 (h)를 이용한다. 605단계에서, 상기 제어부는 원영상에서 읽어온 3*3 크기만큼의 픽셀값에 y축 마스크를 곱하여 합산한다. 여기서 상기 y축 마스크는 영상에서 상하 경계를 기준으로 한 것이며, 스케치효과를 강하게 나타내기 위해서 본 발명은 상기 y축 마스크로 상기 도 7의 (g)를 이용한다. 또한 스케치효과를 약하게 나타내기 위해서 본 발명은 상기 y축 마스크로 상기 도 8의 (i)를 이용한다. 입력된 영상에서 상기 x축 마스크 및 상기 y축 마스크를 곱하는 이유는 선을 찾아야하기 때문이다. 즉, 영상의 밝기가 낮은 값에서 높은 값으로 또는 높은 값에서 낮은 값으로 변하는 경계값을 얻기 위함이다. 607단계에서, 상기 제어부는 상기 603단계에서 얻은 x축의 합산값과 상기 605단계에서 얻은 y축의 합산값을 더한 에지 추출 결과값(새로운 픽셀값)을 얻는다. 이렇게 얻어진 상기 에지 추출 결과값(새로운 픽셀값)은 상기 출력되는 3*3 크기만큼의 영상에서 중심 픽셀에 할당한다. In step 601, the controller of the portable terminal reads a pixel value of 3 * 3 size from the image captured by the camera or the image stored in the memory. In step 603, the controller multiplies the x-axis mask by 3 * 3 pixel values read from the original image and sums them. Here, the x-axis mask is based on the left and right boundaries in the image, and the present invention uses FIG. 7 (f) as the x-axis mask in order to express the sketch effect strongly. In addition, in order to weaken the sketch effect, the present invention uses FIG. 8H as the x-axis mask. In step 605, the controller multiplies the y-axis mask by the 3 * 3 pixel value read from the original image and sums them. Here, the y-axis mask is based on the upper and lower boundaries in the image, and the present invention uses (g) of FIG. 7 as the y-axis mask in order to express the sketch effect strongly. In addition, the present invention uses (i) of FIG. 8 as the y-axis mask to weaken the sketch effect. The reason for multiplying the x-axis mask and the y-axis mask in the input image is to find a line. That is, to obtain a boundary value in which the brightness of the image changes from a low value to a high value or from a high value to a low value. In step 607, the control unit obtains an edge extraction result value (new pixel value) obtained by adding the sum of the x-axis obtained in step 603 and the sum of the y-axis obtained in step 605. The edge extraction result value (new pixel value) thus obtained is assigned to the center pixel in the output 3 * 3 size image.

609단계에서, 상기 제어부는 에지 추출된 영상을 색 반전시킨다. 영상을 반전하는 방법에 있어서, 상기 제어부는 상기 도 4와 같은 방법을 이용하여 영상을 반전한다. 상기 도 4를 참조하면, RGB 최대값에서 에지 추출한 결과값을 차감하여 영상을 반전한다는 것을 알 수 있다. 611단계에서, 상기 제어부는 상기 609단계에서 수행한 색 반전된 영상에 흑백효과를 적용한다. 상기 흑백효과를 적용하는 방법에 있어서, 본 발명은 RGB 컬러 영상에서 흑백 영상으로 변환하는 알고리즘은 상기 도 5와 같다. 즉, 상기 흑백효과는 HSI 컬러 모형을 이용하여, 영상의 명도에 대하여 연산을 수행한다. 613단계에서, 상기 제어부는 3*3의 중심 픽셀에 흑백효과까지 적용된 값을 저장한다. 또한 사용자의 선택에 따라 상기 제어부는 스케치효과의 영상을 표시할 수 있다.In step 609, the controller inverts the edge-extracted image. In the method of inverting the image, the controller inverts the image using the method as shown in FIG. 4. Referring to FIG. 4, it can be seen that the image is inverted by subtracting the result of edge extraction from the RGB maximum value. In step 611, the controller applies the black and white effect to the color inverted image performed in step 609. In the method of applying the black and white effect, the present invention is an algorithm for converting from an RGB color image to a black and white image as shown in FIG. In other words, the black and white effect is performed on the brightness of the image using the HSI color model. In step 613, the controller stores a value applied to the black and white effect in the center pixel of 3 * 3. In addition, according to a user's selection, the controller may display an image of a sketch effect.

도 9는 본 발명의 일 실시 예에 따른 휴대용 단말기의 표시에 표시되는 스케치효과의 영상을 도시한 도면이다.9 illustrates an image of a sketch effect displayed on a display of a portable terminal according to an embodiment of the present invention.

상기 도 9를 참조하면, (j)은 촬영된 영상이고, (k)는 강하게 나타낸 스케치효과이고, (l)는 보완된 스케치효과이고, (m)는 약하게 나타낸 스케치효과이다. 일반적으로 상기 촬영된 영상(j)이 상기 도 6과 같은 과정을 거치게 되면, 상기 (k) 또는 상기 (m)와 같은 스케치효과로 표시된다. 또한 상기 촬영된 영상(j)이 상기 도 1과 같은 과정을 거치게 되면, 상기 (l)와 같은 스케치효과로 표시된다. 상기 (l)의 영상을 표준으로 정한다면, 상기 (l)의 스케치효과가 나타나도록 x축 및 y축 마스크를 결정해야하고, 상기 도 1의 109단계에서 수행하는 에지 추출 결과값을 보완해야한다. 또한 스케치효과를 강하게 또는 약하게 나타내기 위해서는 x축 또는 y축 마스크를 다르게 해야한다.Referring to FIG. 9, (j) is a photographed image, (k) is a strongly sketched effect, (l) is a complementary sketch effect, and (m) is a weakly sketch effect. In general, when the photographed image j undergoes the process as shown in FIG. 6, the photographed image j is displayed as the sketch effect as shown in (k) or (m). In addition, when the photographed image j undergoes the process as shown in FIG. 1, the image j is displayed as a sketch effect as shown in (l). If the image of (l) is set as a standard, the x-axis and y-axis masks should be determined to show the sketch effect of (l), and the edge extraction result performed in step 109 of FIG. 1 should be supplemented. . Also, the x- or y-axis masks must be different to show the sketch effect strong or weak.

한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 안되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다. Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the scope of the following claims, but also by the equivalents of the claims.

상술한 바와 같은 본 발명은, 휴대용 단말기에서 촬영된 영상을 스케치효과로 표시함으로써, 사용자는 다양한 이미지를 만들면서 흥미를 느낄 수 있다는 이점이 있다.The present invention as described above, by displaying the image photographed in the portable terminal with a sketch effect, the user has an advantage that you can feel the interest while making a variety of images.

도 1은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 스케치효과의 영상을 표시하기 위한 흐름도.1 is a flow chart for displaying an image of the sketch effect in a portable terminal according to an embodiment of the present invention.

도 2는 본 발명의 일 실시 예에 따른 휴대용 단말기에서 에지 추출을 설명하기 위한 도면.2 is a view for explaining the edge extraction in the portable terminal according to an embodiment of the present invention.

도 3은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 에지 추출을 위한 마스크를 도시한 도면.3 is a diagram illustrating a mask for edge extraction in a portable terminal according to an embodiment of the present invention.

도 4는 본 발명의 일 실시 예에 따른 휴대용 단말기에서 에지 추출된 영상을 반전하기 위한 공식을 도시한 도면.4 is a diagram illustrating a formula for inverting an edge extracted image in a portable terminal according to an embodiment of the present invention.

도 5는 본 발명의 일 실시 예에 따른 휴대용 단말기에서 흑백이미지를 표시하기 위한 공식을 도시한 도면.5 is a diagram showing a formula for displaying a black and white image in a portable terminal according to an embodiment of the present invention.

도 6은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 스케치효과를 강하게 또는 약하게 표시하기 위한 흐름도.6 is a flowchart for displaying a sketch effect strongly or weakly in a portable terminal according to an embodiment of the present invention.

도 7은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 스케치효과를 강하게 하는 마스크를 도시한 도면. 7 is a view showing a mask to enhance the sketch effect in the portable terminal according to an embodiment of the present invention.

도 8은 본 발명의 일 실시 예에 따른 휴대용 단말기에서 스케치효과를 약하게 하는 마스크를 도시한 도면.8 is a view showing a mask for weakening the sketch effect in a portable terminal according to an embodiment of the present invention.

도 9는 본 발명의 일 실시 예에 따른 휴대용 단말기의 표시부에 표시되는 스케치효과의 영상을 도시한 도면. 9 is a view showing an image of the sketch effect displayed on the display unit of the portable terminal according to an embodiment of the present invention.

Claims (5)

휴대용 단말기에서 촬영된 영상을 스케치효과로 표시하는 방법에 있어서,In the method for displaying the image taken by the portable terminal with a sketch effect, 촬영된 영상에서 에지 추출하는 과정과,Extracting edges from the captured image, 상기 에지 추출한 결과값을 보완하는 과정과,Compensating for the edge extracted result; 상기 에지 추출된 영상을 색 반전시키는 과정과,Color inverting the edge extracted image; 상기 색 반전된 영상에 흑백효과를 적용하는 과정과,Applying a black and white effect to the color inverted image, 상기 흑백효과가 적용된 영상을 저장 및 표시하는 과정을 포함함을 특징으로 하는 상기 방법.And storing and displaying the image to which the black and white effect is applied. 제 1항에 있어서, 촬영된 영상에서 에지 추출하는 과정은;The method of claim 1, wherein the step of extracting the edges from the captured image comprises; 촬영된 영상에서 소정 크기의 픽셀값을 읽어들이는 과정과,Reading a pixel value of a predetermined size from the captured image, 가로축 마스크값을 곱하여 합산하고, 세로축 마스크값을 곱하여 합산하는 과정과,Multiplying by horizontal mask value, multiplying by vertical mask value, and 상기 가로축 합산값과 상기 세로축 합산값을 더하는 과정을 포함함을 특징으로 하는 상기 방법.And adding the horizontal axis sum value and the vertical axis sum value. 제 1항에 있어서, 상기 에지 추출한 결과값을 보완하는 과정은;The method of claim 1, wherein the compensating of the edge extraction result value comprises; 상기 에지 추출 결과값이 각 색상의 단계를 256 단계로 표현한 알지비(RGB) 값의 소정 기준보다 작으면 상기 에지 추출 결과값을 두배로 높여주는 과정과,Doubling the edge extraction result value if the edge extraction result value is smaller than a predetermined criterion of an RGB value representing each color step in 256 steps; 상기 에지 추출 결과값이 상기 알지비 값의 소정 기준보다 크면 상기 에지 추출 결과값을 상기 소정 기준으로 조정하는 과정을 포함함을 특징으로 하는 상기 방법.And adjusting the edge extraction result value to the predetermined criterion if the edge extraction result value is larger than a predetermined criterion of the algi ratio value. 제 1항에 있어서, 상기 에지 추출된 영상을 색 반전시키는 과정은;The method of claim 1, wherein the color inversion of the edge extracted image comprises :; 영상정보의 최대값에서 에지 추출 결과값을 차감하여 색 반전시키는 과정을 포함함을 특징으로 하는 상기 방법.And inverting the color by subtracting the edge extraction result from the maximum value of the image information. 제 1항에 있어서, 상기 색 반전된 영상에 흑백효과를 적용하는 과정은;The method of claim 1, wherein the applying of the black and white effect to the color inverted image comprises: 색상, 채도 및 명도의 특성들로 색(Color)을 설명하는 에이치 에스 아이(HSI) 컬러 모형을 통해 상기 색 반전된 영상의 명도를 조절하는 연산을 수행하여 상기 색 반전된 영상에 흑백효과를 적용함을 특징으로 하는 상기 방법.A black and white effect is applied to the color inverted image by performing an operation of adjusting the brightness of the color inverted image through an HSI color model that describes color using characteristics of hue, saturation, and brightness. The method characterized in that.
KR10-2003-0055865A 2003-08-12 2003-08-12 Method for displaying an image of sketch effect in portable terminal KR100539940B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0055865A KR100539940B1 (en) 2003-08-12 2003-08-12 Method for displaying an image of sketch effect in portable terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0055865A KR100539940B1 (en) 2003-08-12 2003-08-12 Method for displaying an image of sketch effect in portable terminal

Publications (2)

Publication Number Publication Date
KR20050017062A KR20050017062A (en) 2005-02-21
KR100539940B1 true KR100539940B1 (en) 2005-12-28

Family

ID=37226848

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0055865A KR100539940B1 (en) 2003-08-12 2003-08-12 Method for displaying an image of sketch effect in portable terminal

Country Status (1)

Country Link
KR (1) KR100539940B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103021002B (en) * 2011-09-27 2016-05-04 康佳集团股份有限公司 Colored sketch image generating method

Also Published As

Publication number Publication date
KR20050017062A (en) 2005-02-21

Similar Documents

Publication Publication Date Title
US8807762B2 (en) Projector
CN101753814B (en) Filming device, illumination processing device and illumination processing method
US8289342B2 (en) Image processing apparatus and storage medium having stored therein an image processing program
CN105049718A (en) Image processing method and terminal
RU2008143205A (en) EFFICIENT CODING OF MANY SPECIES
CN108230407B (en) Image processing method and device
JP2005128956A (en) Subject determining program and digital camera
US20120050309A1 (en) Display control apparatus and display control method
JP2000261650A (en) Image processing unit
CN109639959B (en) Image processing apparatus, image processing method, and recording medium
JP6859611B2 (en) Image processing equipment, image processing methods and programs
CN109949248B (en) Method, apparatus, device and medium for modifying color of vehicle in image
JP2006081151A (en) Graphical user interface for keyer
JP2006217277A (en) Imaging device
JP2010193037A (en) Apparatus and program for creating pseudo-color image
JP7114335B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD FOR IMAGE PROCESSING DEVICE, AND PROGRAM
JP3809818B2 (en) Image processing method, recording medium, and image processing apparatus
KR101958263B1 (en) The control method for VR contents and UI templates
KR100539940B1 (en) Method for displaying an image of sketch effect in portable terminal
JP2009171010A (en) Projector
JP2013141200A (en) Image processor, program, image processing method, and imaging apparatus
JP2009050035A (en) Image processing method, image processing system, and image processing program
JP4306687B2 (en) Image processing method, image processing program, and image processing apparatus
US11120579B2 (en) Image processing apparatus, image processing method, and storage medium
US7239351B2 (en) System matching finder view area and capture area in single-lens reflex image pickup apparatus, method thereof, and image pickup apparatus thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121129

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20131128

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee