KR101495077B1 - Apparatus and method for digital picturing image - Google Patents

Apparatus and method for digital picturing image Download PDF

Info

Publication number
KR101495077B1
KR101495077B1 KR20070129006A KR20070129006A KR101495077B1 KR 101495077 B1 KR101495077 B1 KR 101495077B1 KR 20070129006 A KR20070129006 A KR 20070129006A KR 20070129006 A KR20070129006 A KR 20070129006A KR 101495077 B1 KR101495077 B1 KR 101495077B1
Authority
KR
South Korea
Prior art keywords
image
barcode
photographed
processing apparatus
trimming
Prior art date
Application number
KR20070129006A
Other languages
Korean (ko)
Other versions
KR20090061966A (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 KR20070129006A priority Critical patent/KR101495077B1/en
Publication of KR20090061966A publication Critical patent/KR20090061966A/en
Application granted granted Critical
Publication of KR101495077B1 publication Critical patent/KR101495077B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06018Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding
    • G06K19/06028Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components

Abstract

본 발명은 디지털 영상 처리 장치 및 그 제어 방법에 관한 것으로, 상세하게는 상품에 기재되어 있는 바코드(bar code) 촬영 시, 이를 회전 또는 트리밍(trimming)하여, 디지털 영상 처리 장치의 디스플레이 화면에 맞는 사진 파일로 재생성하는 디지털 영상 처리 장치 및 그 제어 방법에 관한 것이다.

본 발명은, 디지털 영상 처리 장치로서, 촬영된 바코드 영상을 회전 또는 트리밍하여 바코드 영상 파일을 생성하는 디지털 신호 처리부를 포함하는 디지털 영상 처리 장치를 제공한다.

Figure R1020070129006

The present invention relates to a digital image processing apparatus and a control method thereof. More particularly, the present invention relates to a digital image processing apparatus and method for controlling a digital image processing apparatus and a control method thereof, A digital image processing apparatus and a control method thereof.

The present invention provides a digital image processing apparatus comprising a digital signal processing unit for generating a barcode image file by rotating or trimming a photographed barcode image.

Figure R1020070129006

Description

디지털 영상 처리 장치 및 그 제어 방법{Apparatus and method for digital picturing image}[0001] The present invention relates to a digital image processing apparatus and a control method thereof,

본 발명은 디지털 영상 처리 장치 및 그 제어 방법에 관한 것으로, 상세하게는 상품에 기재되어 있는 바코드(bar code) 촬영 시, 이를 회전 또는 트리밍(trimming)하여, 디지털 영상 처리 장치의 디스플레이 화면에 맞는 사진 파일로 재생성하는 디지털 영상 처리 장치 및 그 제어 방법에 관한 것이다. The present invention relates to a digital image processing apparatus and a control method thereof. More particularly, the present invention relates to a digital image processing apparatus and method for controlling a digital image processing apparatus and a control method thereof, A digital image processing apparatus and a control method thereof.

통상적으로 디지털 영상 처리 장치란, 디지털 카메라, PDA(personal digital assistant), 폰 카메라, PC 카메라 등의 영상을 처리하거나 동작 인식 센서를 사용하는 모든 장치를 포함한다. 이러한 디지털 영상 처리 장치는 원하는 영상을 촬상 소자를 통하여 입력받고, 입력된 영상을 영상 표시소자에 표시하여 보여주고, 사용자의 촬영 선택에 의하여 영상을 이미지 파일로 저장하고, 저장된 이미지 파일을 프린트한다. Typically, the digital image processing apparatus includes all devices that process images of a digital camera, a PDA (personal digital assistant), a phone camera, a PC camera, or the like, or use motion recognition sensors. Such a digital image processing apparatus receives a desired image through an image pickup device, displays the input image on an image display device, displays the image on an image display device, stores the image as an image file by user's selection, and prints the stored image file.

한편, 종래에는 디지털 영상 처리 장치로 제품이나 광고의 일부분을 촬영하여 사용자에게 할인 혜택이나 경품을 주는 영상 쿠폰이 활용되었다. 다시 말하면, 사용자가 제품의 특정 부분이나, 그 제품의 광고의 특정 부분을 촬영하여 상점으로 가져가면, 상점에서는 상기 촬영된 영상을 확인하고, 이를 촬영해온 사람에게 그 영상에 해당하는 할인 혜택을 부여하거나 경품을 제공하는 방식을 사용하였다.On the other hand, conventionally, image coupons for taking a part of a product or advertisement with a digital image processing device and giving a discount or a prize to the user have been utilized. In other words, when the user takes a specific part of the product or a specific part of the advertisement of the product and takes it to the shop, the shop confirms the photographed image and gives a discounted benefit to the person who has photographed it Or give a prize.

그런데, 이와 같은 종래의 영상 쿠폰의 경우 다음과 같은 문제점이 존재하였다. 즉, 종래의 영상 쿠폰의 경우, 상점의 종업원이 사용자가 촬영해온 영상을 일일이 확인하고, 이에 해당하는 혜택을 부여한다. 따라서, 모든 상점의 모든 종업원들이 특정 영상 쿠폰의 혜택이 어떤 것인지를 숙지하고 있어야 하며, 이를 숙지하고 있지 않을 경우, 사용자가 영상 쿠폰을 가져올 때마다 종업원들은 영상 쿠폰 리스트를 검색하여 이에 해당하는 혜택을 찾아서 이를 제공해야 한다는 문제점이 존재하였다. However, the conventional video coupon has the following problems. That is, in the case of the conventional image coupon, the employee of the shop confirms the image taken by the user and gives the corresponding benefit. Therefore, all the employees of all shops should be aware of the benefits of the specific video coupon. If they do not know it, whenever the user gets the video coupon, the employee searches the video coupon list and obtains the corresponding benefits There is a problem that it must be found and provided.

본 발명은 상품에 기재되어 있는 바코드(bar code) 촬영 시, 이를 회전 또는 트리밍(trimming)하여, 디지털 영상 처리 장치의 디스플레이 화면에 맞는 사진 파일로 재생성하는 디지털 영상 처리 장치 및 그 제어 방법을 제공하는 것을 목적으로 한다. The present invention provides a digital image processing apparatus and a control method thereof for rotating or trimming a bar code described in a product to regenerate the image file as a photo file suitable for a display screen of the digital image processing apparatus .

본 발명은, 디지털 영상 처리 장치로서, 촬영된 바코드 영상을 회전 또는 트리밍하여 바코드 영상 파일을 생성하는 디지털 신호 처리부를 포함하는 디지털 영상 처리 장치를 제공한다. The present invention provides a digital image processing apparatus comprising a digital signal processing unit for generating a barcode image file by rotating or trimming a photographed barcode image.

본 발명에 있어서, 상기 디지털 신호 처리부는, 상기 디지털 영상 처리 장치의 디스플레이 화면에 맞는 풀 사이즈(full-size)의 바코드 영상 파일을 생성할 수 있다. In the present invention, the digital signal processing unit may generate a full-size barcode image file suitable for a display screen of the digital image processing apparatus.

본 발명에 있어서, 상기 생성된 바코드 영상 파일은 바코드 판독기에 의하여 독출 가능할 수 있다. In the present invention, the generated barcode image file may be readable by a barcode reader.

본 발명에 있어서, 상기 디지털 신호 처리부는, 상기 디지털 영상 처리 장치에 대한 상기 촬영된 바코드 영상의 회전각을 검출하여, 상기 회전각만큼 상기 바코드 영상을 회전시키는 회전부를 포함할 수 있다. In the present invention, the digital signal processing unit may include a rotation unit that detects the rotation angle of the photographed barcode image with respect to the digital image processing apparatus and rotates the barcode image by the rotation angle.

본 발명에 있어서, 상기 디지털 신호 처리부는, 상기 촬영된 영상의 바코드 영역을 트리밍하는 트리밍부를 포함할 수 있다. In the present invention, the digital signal processing unit may include a trimming unit for trimming a barcode area of the photographed image.

본 발명에 있어서, 상기 트리밍과 상기 회전이 동시에 수행될 수 있다. In the present invention, the trimming and the rotation can be performed simultaneously.

본 발명에 있어서, 상기 디지털 신호 처리부는, 상기 촬영된 영상이 바코드인지 여부를 판단하는 바코드 인식부를 더 포함할 수 있다. In the present invention, the digital signal processing unit may further include a barcode recognition unit for determining whether the photographed image is a barcode.

본 발명에 있어서, 상기 바코드 인식부는, 상기 촬영된 영상의 에지 검출을 통하여 바코드 영역을 인식할 수 있다. In the present invention, the barcode recognition unit may recognize a barcode area through edge detection of the photographed image.

다른 측면에 관한 본 발명은, 디지털 영상 처리 장치의 제어 방법에 있어서, 셔터-릴리즈 신호가 입력되는 단계; 촬영된 영상이 바코드인지 여부를 판단하는 단계; 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 단계; 및 상기 회전 또는 트리밍(trimming)된 바코드 영상 파일을 생성 및 저장하는 단계를 포함하는 디지털 영상 처리 장치의 제어 방법을 제공한다. According to another aspect of the present invention, there is provided a control method of a digital image processing apparatus, comprising: inputting a shutter-release signal; Determining whether the photographed image is a barcode; Rotating or trimming the photographed barcode image; And generating and storing the rotated or trimmed bar code image file.

본 발명에 있어서, 상기 촬영된 영상이 바코드인지 여부를 판단하는 단계는, 에지 검출에 의하여 수행될 수 있다. In the present invention, the step of determining whether the photographed image is a bar code may be performed by edge detection.

본 발명에 있어서, 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 단계는, 상기 디지털 영상 처리 장치의 디스플레이 화면에 맞는 풀 사이즈(full-size)의 바코드 영상 파일을 생성하도록, 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)할 수 있다. In the present invention, the step of rotating or trimming the photographed barcode image may include the steps of: generating a full-size barcode image file corresponding to a display screen of the digital image processing apparatus, The image can be rotated or trimmed.

본 발명에 있어서, 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 단계는, 상기 디지털 영상 처리 장치에 대한 상기 촬영된 바코드 영상의 회전각을 검출하여, 상기 회전각만큼 상기 바코드 영상을 회전시키는 단계를 포함할 수 있다. The step of rotating or trimming the photographed barcode image may include detecting a rotation angle of the photographed barcode image with respect to the digital image processing apparatus and rotating the barcode image by the rotation angle Step < / RTI >

본 발명에 있어서, 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 단계는, 상기 촬영된 영상의 바코드 영역을 트리밍하는 단계를 포함할 수 있다. In the present invention, the step of rotating or trimming the photographed barcode image may include trimming the barcode area of the photographed image.

이와 같은 본 발명에 의해서, 상품에 기재되어 있는 바코드(bar code) 촬영 시, 이를 회전 또는 트리밍(trimming)하여, 디지털 영상 처리 장치의 디스플레이 화면에 맞는 사진 파일로 재생성하는 효과를 얻을 수 있다. According to the present invention as described above, it is possible to obtain the effect of rotating or trimming the bar code when photographing the bar code described in the product, and regenerating the image file as a photo file suitable for the display screen of the digital image processing apparatus.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 관한 디지털 영상 처리 장치의 앞쪽 및 위쪽 외형을 보여주는 사시도 이다.1 is a perspective view showing the front and top contours of the digital image processing apparatus according to the present invention.

셔터-릴리즈 버튼(101)은 정해진 시간 동안 CCD나 필름을 빛에 노출시키기 위해 열리고 닫히며, 조리개(미도시)와 연동하여 피사체를 적정하게 노출시켜 CCD에 영상을 기록한다. The shutter-release button 101 is opened and closed to expose the CCD or film to light for a predetermined period of time, interlocked with an iris (not shown), and appropriately exposes the subject to record an image on the CCD.

셔터-릴리즈 버튼(101)은 촬영자 입력에 의해 제1 및 제2 영상 촬영 신호를 생성한다. 반셔터 신호로서의 제1 셔터-릴리즈 신호가 입력되면, 디지털 영상 처리 장치는 초점을 잡고 빛의 양을 조절하며, 이때 초점이 맞은 경우 디스플레이부(113)에 녹색 불이 켜지게 된다. 제1 셔터-릴리즈 신호의 입력으로 초점이 잡히고 빛의 양이 조절되면, 비로소 완전셔터 신호로서의 제2 셔터-릴리즈 신호를 입력하여 영상을 촬영한다.The shutter-release button 101 generates the first and second image pickup signals by the photographer input. When the first shutter-release signal as the half-shutter signal is input, the digital image processing apparatus focuses and adjusts the amount of light. At this time, the display unit 113 is turned on green. When the first shutter-release signal is focused and the amount of light is adjusted, a second shutter-release signal as a full shutter signal is input to capture an image.

전원 버튼(103)은 디지털 영상 처리 장치에 전원을 공급하여 동작시키기 위해 입력된다.The power button 103 is input for supplying power to the digital image processing apparatus and operating it.

플래시(105)는 어두운 곳에서 촬영할 경우 밝은 빛을 순간적으로 비추어 밝게 해주는 것으로 플래시 모드에는 자동플래시, 강제발광, 발광금지, 적목감소, 슬로우 싱크로 등이 있다. The flash 105 illuminates bright light instantly when shooting in a dark place. The flash mode includes automatic flash, forced flash, prohibited flash, red-eye reduction, and slow synchro flash.

보조광(107)은 광량이 부족하거나 야간 촬영 시에 디지털 영상 처리 장치가 자동으로 초점을 빠르고 정확하게 잡을 수 있도록 피사체에 광을 공급한다.The auxiliary light 107 supplies light to the subject so that the digital image processing apparatus can automatically and quickly catch the focus when the light amount is insufficient or at night.

렌즈부(109)는 외부 광원으로부터 빛을 받아 영상을 처리한다. The lens unit 109 receives light from an external light source and processes the image.

도 2는 도 1에 도시된 디지털 영상 처리 장치의 뒤쪽 외형을 보여주는 배면도로서, 광각-줌 버튼(111w), 망원-줌 버튼(111t), 디스플레이부(113) 및 터치센서 또는 접점식 스위치가 구비된 입력 버튼들(B1~B14)(이하 버튼들(B1~B14)이라 표기함)을 구비한다.FIG. 2 is a rear view showing the rear external appearance of the digital image processing apparatus shown in FIG. 1. The wide angle-zoom button 111w, the telephoto-zoom button 111t, the display unit 113, Input buttons B1 to B14 (hereinafter referred to as buttons B1 to B14).

광각-줌 버튼(111w) 또는 망원-줌 버튼(111t)은 입력에 따라 화각이 넓어지거나, 화각이 좁아지는데, 특히, 선택된 노출영역의 크기를 변경시키고자 할 때 입력한다. 광각-줌 버튼(111w)이 입력되면, 선택된 노출영역의 크기가 작아지고, 망원-줌 버튼(111t)이 입력되면, 선택된 노출영역의 크기가 커진다. The wide-angle zoom button 111w or the tele-zoom button 111t widens the angle of view or narrows the angle of view depending on the input, in particular, when changing the size of the selected exposure area. When the wide angle-zoom button 111w is input, the size of the selected exposure area is reduced, and when the telephoto-zoom button 111t is input, the size of the selected exposure area is increased.

버튼들(B1~B14)은 디스플레이부(113)의 가로 열 및 세로 열에 구비된다. 디스플레이부(113)의 가로 열 및 세로 열에 구비된 버튼들(B1~B14)은 터치 센서(도시되지 않음) 또는 접점식 스위치(도시되지 않음)가 구비되어 있다.The buttons B1 to B14 are provided in the rows and columns of the display unit 113. [ The buttons B1 to B14 provided in the row and column of the display unit 113 are provided with a touch sensor (not shown) or a contact type switch (not shown).

즉, 버튼들(B1~B14)에는 터치 센서가 구비되어 가로 열의 버튼들(B1~B7) 또 는 세로 열의 버튼들(B8~B14)을 터치한 상태에서 상/하/좌/우로 이동하여 주메뉴 항목 중 임의의 값(예를 들어, 컬러 또는 밝기)을 선택하거나, 주메뉴 아이콘에 포함된 하위메뉴 아이콘을 활성화시킬 수 있다.That is, the touch sensors are provided on the buttons B1 to B14 to move up / down / left / right while touching the buttons B1 to B7 of the row or the buttons B8 to B14 of the column, It is possible to select any value (e.g., color or brightness) of the menu items, or to activate the submenu icon included in the main menu icon.

또한 버튼틀(B1~B14)에는 접점식 스위치가 구비되어 있어, 주메뉴 아이콘 및 하위메뉴 아이콘을 직접 선택하여 해당 기능을 실행시킬 수 있다. 터치 센서는 접점식 스위치 입력에 비해 상대적으로 약한 터치만을 요구하지만, 접점식 스위치 입력은 터치 센서 입력에 비해 상대적으로 강한 터치를 요구한다. In addition, the button frames (B1 to B14) are provided with contact switches so that the main menu icon and the sub menu icon can be directly selected to execute the corresponding function. The touch sensor requires a relatively weak touch compared to the contact switch input, but the contact switch input requires a relatively strong touch compared to the touch sensor input.

도 3은 도 1 및 도 2에 도시된 디지털 영상 처리 장치의 구성을 보이는 블록도로서, 디스플레이부(113), 사용자 입력부(121), 촬상부(123), 영상 처리부(125), 저장부(127) 및 디지털 신호 처리부(129)를 포함한다.FIG. 3 is a block diagram showing the configuration of the digital image processing apparatus shown in FIGS. 1 and 2. The display unit 113, the user input unit 121, the image pickup unit 123, the image processing unit 125, 127 and a digital signal processing unit 129. [

사용자 입력부(121)는 정해진 시간 동안 CCD나 필름을 빛에 노출시키기 위해 열리고 닫히는 셔터-릴리즈 버튼(101), 전원을 공급하기 위해 입력하는 전원 버튼(103), 입력에 따라 화각을 넓어지게 하거나, 화각을 좁아지게 하는 광각-줌 버튼(111w) 및 망원-줌 버튼(111t)과, 문자 또는 메뉴 설정을 위해 디스플레이부(113) 주변의 가로 및 세로열에 구비된 터치센서 또는 접점식 스위치가 구비된 버튼들 버튼틀(B1~B14)이 있다.The user input unit 121 includes a shutter-release button 101 that is opened and closed to expose a CCD or a film to light for a predetermined period of time, a power button 103 that inputs power to supply power, A wide angle-zoom button 111w and a telephoto-zoom button 111t for narrowing the angle of view and a touch sensor or a contact switch provided in the horizontal and vertical columns around the display unit 113 for setting characters or menus Buttons There are button frames (B1 to B14).

촬상부(123)는 도면에 도시되지 않은 셔터, 렌즈부, 조리개, CCD(Charge Coupled Device) 및 ADC(analog-to-digital converter)를 포함한다. 셔터는 조리개와 함께 노광하는 빛의 양을 조절하는 기구이다. 렌즈부는 외부 광원으로부터 빛을 받아 영상을 처리한다. 이때, 조리개는 개폐 정도에 따라 입사되는 빛의 양(광량) 을 조절한다. 조리개의 개폐 정도는 디지털 신호 처리부(129)에 의해 제어된다.The image pickup section 123 includes a shutter, a lens section, a diaphragm, a charge coupled device (CCD), and an analog-to-digital converter (ADC), not shown. The shutter is a mechanism that adjusts the amount of light that is exposed with the iris. The lens unit receives light from an external light source and processes the image. At this time, the diaphragm adjusts the amount (amount of light) of the incident light according to the degree of opening and closing. The opening / closing degree of the diaphragm is controlled by the digital signal processor 129.

CCD는 렌즈부를 통하여 입력되는 광량을 축적하고 그 축적된 광량에 따라 렌즈부에서 촬상된 영상을 수직 동기신호에 맞추어 출력한다. 디지털 영상 처리 장치의 영상 획득은 피사체로부터 반사되어 나오는 빛을 전기적인 신호로 변환시켜 주는 CCD에 의해 이루어진다. CCD를 이용하여 컬러 영상을 얻기 위해서는 컬러 필터를 필요로 하며, 대부분 CFA(Color filter array) 라는 필터(미도시)를 채용하고 있다. CFA는 한 픽셀마다 한 가지 컬러를 나타내는 빛만을 통과시키며 규칙적으로 배열된 구조를 가지고 있으며, 배열 구조에 따라 여러 가지 형태를 가지고 있다. ADC는 CCD로부터 출력되는 아날로그 영상신호를 디지털 신호로 변환한다.The CCD accumulates the amount of light input through the lens unit and outputs the image captured by the lens unit according to the accumulated light amount in accordance with the vertical synchronization signal. Image acquisition of a digital image processing apparatus is performed by a CCD which converts light reflected from a subject into an electrical signal. In order to obtain a color image using a CCD, a color filter is required, and a filter (not shown) called a color filter array (CFA) is employed in most cases. CFA has a regularly arranged structure that passes only light that represents one color per pixel, and it has various forms according to the arrangement structure. The ADC converts the analog video signal output from the CCD into a digital signal.

영상 처리부(125)는 디지털 변환된 영상신호를 디스플레이 가능하도록 신호처리 한다. CCD 및 CFA 필터에 사용되는 소자는 온도의 변화에 민감하여 그 변화되는 온도에 따라 암 전류를 발생하며, 이는 영상신호에 원하지 않는 블랙레벨(Black level)이 포함된다. 영상 처리부(125)는 이와 같이 암 전류에 의해 발생된 블랙레벨을 제거한다.The image processing unit 125 processes the digitally converted image signal so that it can be displayed. The devices used in the CCD and CFA filters are sensitive to temperature changes and generate dark currents depending on the temperature changes, which include undesired black levels in the video signal. The image processor 125 removes the black level generated by the dark current as described above.

영상 처리부(125)는 또한 감마 보정을 수행한다. 인간의 시각은 베버의 법칙(Weber's law)에 따라 밝기에 대해 비선형적으로 반응하기 때문에, 한정된 비트 심도(Bit depth)가 주어졌을 때, 선형적으로 빛의 밝기를 기록하면 포스터리제이션(Posterization)이 발생한다. 따라서, 주어진 비트 심도 하에서 최대한의 화질을 보여주기 위해서는 비선형 함수를 사용하여 부호화해야 한다. 이와 같이, 인간 시각의 비선형성에 맞추어 정보를 부호화하는 것을 감마 보정이라고 한다. 영상 처리 부(125)의 감마 보정은 감마커브에 의해 입력되는 영상신호를 감마 보정 하여 출력하는데, 예를 들어, 12 비트 영상신호의 입력 휘도 레벨을 8비트 휘도 레벨로 보정 하여 출력한다. The image processing unit 125 also performs gamma correction. Because human vision responds nonlinearly to brightness in accordance with Weber's law, when the bit depth is limited, the brightness of the light is recorded linearly, Lt; / RTI > Therefore, in order to show the maximum picture quality at a given bit depth, it is necessary to encode using a non-linear function. As described above, encoding information in accordance with nonlinearity of human vision is referred to as gamma correction. The gamma correction of the image processing unit 125 performs gamma correction on the image signal input by the gamma curve. For example, the input brightness level of the 12-bit image signal is corrected to an 8-bit brightness level and output.

영상 처리부(125)는 감마 보정된 소정 데이터의 RGRG라인 및 GBGB 라인으로 구현된 베이어 패턴을 RGB 라인으로 보간하는 CFA 보간을 수행한다. 영상 처리부(125)의 CFA 보간은 R 또는 B 채널 값만 존재하는 화소들에서 G 채널을 먼저 복원한 후, B 채널, R 채널 순서로 또는 R 채널, B 채널 순서로 비어있는 값들을 채워 R, G, B 세 개의 채널을 복원한다.The image processing unit 125 performs CFA interpolation for interpolating a Bayer pattern embodied with RGAG lines and GBGB lines of gamma-corrected predetermined data into RGB lines. The CFA interpolation of the image processing unit 125 first reconstructs the G channel in the pixels having only the R or B channel values, then fills empty values in the order of the B channel, the R channel, or the R channel and the B channel, , B Restores three channels.

영상 처리부(125)는 보간된 RGB 신호를 YUV 신호로 변환하고, 고 대역 필터에 의해 Y 신호를 필터링 하여 영상을 뚜렷하게 처리하는 에지 보상과, 표준 컬러 좌표계를 이용하여 U, V 신호의 컬러 값을 정정하는 컬러 정정을 수행하며, 이들의 노이즈를 제거한다.The image processing unit 125 converts the interpolated RGB signals into YUV signals, edge-compensates the Y signals by filtering the Y signals by a high-pass filter, and calculates the color values of the U and V signals using a standard color coordinate system Corrects the color correction, and removes these noises.

영상 처리부(125)는 노이즈가 제거된 Y, U, V 신호를 압축 및 신호 처리하여 Exif 파일을 생성하고, 생성된 Exif 파일은 디스플레이부(113)에 디스플레이되고, 저장부(127)에 저장된다. 이와 같은 영상 처리부(125)의 모든 동작은 디지털 신호 처리부(129)의 제어 하에 동작한다.The image processing unit 125 compresses and processes the Y, U, and V signals from which noise has been removed to generate an Exif file, and the generated Exif file is displayed on the display unit 113 and stored in the storage unit 127 . All the operations of the image processing unit 125 operate under the control of the digital signal processing unit 129. [

디지털 신호 처리부(129)는 제품에 부착되어 있는 바코드를 촬영할 경우, 상기 촬영된 이미지를 가공하여 바코드 영상을 생성한다. When a barcode attached to a product is photographed, the digital signal processor 129 processes the photographed image to generate a barcode image.

종래에는 디지털 영상 처리 장치로 제품이나 광고의 일부분을 촬영하여 사용자에게 할인 혜택이나 경품을 주는 영상 쿠폰이 활용되었다. 다시 말하면, 사용자 가 제품의 특정 부분이나, 그 제품의 광고의 특정 부분을 촬영하여 상점으로 가져가면, 상점에서는 상기 촬영된 영상을 확인하고, 이를 촬영해온 사람에게 그 영상에 해당하는 할인 혜택을 부여하거나 경품을 제공하는 방식을 사용하였다. 그런데, 이와 같은 종래의 영상 쿠폰의 경우, 상점의 종업원이 사용자가 촬영해온 영상을 일일이 확인하고, 이에 해당하는 혜택을 부여한다. 따라서, 모든 상점의 모든 종업원들이 특정 영상 쿠폰의 혜택이 어떤 것인지를 숙지하고 있어야 하며, 이를 숙지하고 있지 않을 경우, 사용자가 영상 쿠폰을 가져올 때마다 종업원들은 영상 쿠폰 리스트를 검색하여 이에 해당하는 혜택을 찾아서 이를 제공해야 한다는 문제점이 존재하였다. In the past, image coupons were used to capture a part of a product or an advertisement with a digital image processing device and give a discount or a prize to the user. In other words, when the user takes a specific part of the product or a specific part of the advertisement of the product and takes it to the shop, the shop confirms the photographed image and gives a discounted benefit to the person who has photographed it Or give a prize. However, in the case of such a conventional image coupon, the employee of the shop individually confirms the image taken by the user and gives the corresponding benefit. Therefore, all the employees of all shops should be aware of the benefits of the specific video coupon. If they do not know it, whenever the user gets the video coupon, the employee searches the video coupon list and obtains the corresponding benefits There is a problem that it must be found and provided.

따라서, 본 발명에서는 제품이나 광고에 바코드(bar code) 형태의 영상 쿠폰을 제공하고, 사용자가 이 바코드(bar code) 형태의 영상 쿠폰을 촬영할 경우, 디지털 영상 처리 장치는 이를 회전 또는 트리밍(trimming)하여, 디지털 영상 처리 장치의 디스플레이 화면에 맞는 풀 사이즈(full-size)의 사진 파일로 재생성하는 하는 것을 일 특징으로 한다. 따라서, 상점의 종업원들이 모든 영상 쿠폰의 내용을 숙지할 필요가 없고, 사용자가 촬영한 바코드 형태의 영상 쿠폰을 바코드 판독기를 통하여 판독하면, 상기 영상 쿠폰에 해당하는 혜택이 검색될 수 있다. 따라서, 영상 쿠폰의 사용이 활성화되고, 영상 쿠폰의 내용을 숙지하기 위한 시간과 비용이 절감되는 효과를 얻을 수 있다. Accordingly, in the present invention, when a user provides an image coupon in the form of a bar code to a product or an advertisement, and the user takes a picture coupon in the form of a bar code, the digital image processing device rotates or trims the product coupon, And regenerating the image file as a full-size photo file suitable for the display screen of the digital image processing apparatus. Accordingly, it is not necessary for the employees of the shop to know the contents of all the image coupons, and if the image coupon of the barcode type taken by the user is read through the barcode reader, the benefit corresponding to the image coupon can be searched. Therefore, the use of the image coupon is activated, and the time and cost for knowing the contents of the image coupon can be reduced.

이와 같이 바코드 영상의 인식 및 생성을 제어하는 디지털 신호 처리부(129)는 바코드 인식부(129-1), 바코드 영상 생성부(129-2) 및 제어부(129-3)를 포함한 다. 그리고, 바코드 영상 생성부(129-2)는 회전부(129-2a)와 트리밍부(129-2b)를 포함한다. The digital signal processing unit 129 for controlling the recognition and generation of the barcode image includes a barcode recognition unit 129-1, a barcode image generation unit 129-2, and a control unit 129-3. The barcode image generation unit 129-2 includes a rotation unit 129-2a and a trimming unit 129-2b.

바코드 인식부(129-1)는 촬영된 영상이 바코드인지 여부를 판단한다. The barcode recognition unit 129-1 determines whether the photographed image is a barcode.

바코드(bar code)란, 컴퓨터가 읽고 입력하기 쉬운 형태로 만들기 위하여, 문자나 숫자를 흑과 백의 막대 기호와 조합한 코드를 말한다. 광학식 마크판독장치로 자동 판독되며, 상품의 종류, 도서 분류, 신분증명서 등에 사용된다. A bar code is a code that combines letters and numbers with black and white bar symbols to make it easy for the computer to read and input. It is automatically read by the optical mark reading device and used for the kind of the product, the book classification, the identification certificate.

상세히, 바코드(bar code)란 문자나 숫자를 흑과 백의 막대모양 기호로 조합한 것으로, 컴퓨터가 판독하기 쉽고 데이터를 빠르게 입력하기 위하여 쓰인다. 이것은 광학식 마크판독장치로 자동 판독되어 입력된다. 세계상품코드 (UPC : universal product code)를 따르는 상품의 종류를 나타내거나, 슈퍼마켓 등에서 매출정보의 관리(POS : point of sales system) 등에 이용된다. 가격은 별도로 표시되며 도서분류, 신분증명서 등에도 이용된다.  In detail, a bar code is a combination of letters and numbers in black and white bar symbols, which are used by computers for easy reading and data entry. This is automatically read and input by the optical mark reader. It represents the type of product that conforms to the universal product code (UPC), or is used in the point of sale system (POS) in supermarkets and the like. Prices are displayed separately and are also used for book classification, identification documents, and so on.

코드화 방법은 세계상품코드(UPC:universal product code), CODABAR, MSI, 코드39, 한국공통상품코드(KAN), 일본공통상품코드(JAN) 등 몇 가지가 있다. 일반적으로 사용되는 바코드는 가로 3.73cm, 세로 2.7cm 크기를 표준으로 0.8~2배까지 축소, 확대할 수 있다. There are several coding methods such as universal product code (UPC), CODABAR, MSI, code 39, Korean common product code (KAN) and Japanese common product code (JAN). Generally used barcodes can be reduced and enlarged to 0.8 ~ 2 times the standard size of 3.73cm width and 2.7cm length.

도 4에는 한국공통상품코드(KAN)를 적용한 바코드의 일 예가 도시되어 있다. FIG. 4 shows an example of a bar code to which the Korean common product code (KAN) is applied.

도 4에 도시된 바와 같이, 바코드(200)는 상측의 왼쪽 가드바(202), 2진 코드바(204), 체크 디지트바(206), 오른쪽 가드바(208), 중간 부분의 막대 기호(210) 및 하측의 13자리의 숫자들(국가코드(212), 제조회사코드(214), 상품코드(216) 및 검증코드(218)) 로 이루어져 있다. 상술한 구성 요소들이 모두 갖추어져 있어야만 완벽한 하나의 바코드를 이룰 수 있다. 4, the bar code 200 includes an upper left guard bar 202, a binary code bar 204, a check digit bar 206, a right guard bar 208, 210 and the lower 13 digits (country code 212, manufacturer code 214, product code 216 and verification code 218). All of the above-mentioned components must be equipped to achieve a perfect one barcode.

따라서, 바코드 인식부(129-1)는 영상이 촬영되었을 경우, 컬러 기반 또는 에지 기반 등의 방법으로 상기 촬영된 영상이 바코드인지 여부를 판단한다. 바코드 검출에 대한 내용은 바코드 판독기 등에서 기 공지된 내용이므로, 본 발명에서는 그 상세한 설명은 생략하도록 한다. Accordingly, when the image is captured, the barcode recognition unit 129-1 determines whether the captured image is a barcode by a color-based or edge-based method. The contents of the barcode detection are well known in bar code readers and the like, and therefore, a detailed description thereof will be omitted in the present invention.

바코드 영상 생성부(129-2)는 회전부(129-2a)와 트리밍부(129-2b)를 포함한다.The barcode image generation unit 129-2 includes a rotation unit 129-2a and a trimming unit 129-2b.

회전부(129-2a)는 디지털 영상 처리 장치(100)에 대한 바코드 영상의 회전각을 검출하고, 상기 회전각만큼 바코드 영상을 회전 보정하여, 새로운 바코드 영상 파일을 생성한다. The rotation unit 129-2a detects the rotation angle of the barcode image with respect to the digital image processing apparatus 100 and rotates the barcode image by the rotation angle to generate a new barcode image file.

도 5는 바코드 영상의 회전각(θ)을 보이는 도면으로, 도 5a는 바코드 영상이 디지털 영상 처리 장치에 대하여 θ°만큼 기울어져 있음을 보여주고, 도 5b는 회전부(129-2a)에 의하여 상기 바코드 영상이 θ°만큼 회전 보정되어 생성된 새로운 바코드 영상 파일을 보여준다. 5A shows that the barcode image is inclined by the angle? With respect to the digital image processing apparatus. FIG. 5B shows the barcode image rotated by the rotation unit 129-2a by the rotation unit 129-2a. A new barcode image file generated by rotating and correcting the barcode image by &thetas; degrees is displayed.

즉, 회전부(129-2a)는 촬영된 바코드 영상이 디지털 영상 처리 장치에 대하여 소정 각도 이상으로 회전되었는지를 검출하고, 촬영된 바코드 영상이 소정 각도 이상 회전되었을 경우, 회전이 보정된 새로운 바코드 영상 파일을 생성한다. 여기서, 촬영된 바코드 영상이 디지털 영상 처리 장치에 대하여 소정 각도 이상으로 회전되었는지 여부는, 예를 들어 바코드를 구성하는 다수 개의 막대가 디지털 영상 처리 장치의 높이 방향(도 5의 y방향)과 평행인지 여부를 검출하는 방법 등으로 판단할 수 있다. 이때, 촬영된 바코드 영상이 디지털 영상 처리 장치에 대하여 예를 들어 8°만큼 회전되어 있을 경우, 회전부(129-2a)는 기울어진 8°영상을 0°영상으로 소정의 방향(도 5에서 보았을 때 시계 방향)으로 회전시키도록 제어하여, 영상이 회전된 파일을 저장한다.That is, the rotation unit 129-2a detects whether the photographed barcode image is rotated at a predetermined angle or more with respect to the digital image processing apparatus, and when the photographed barcode image is rotated by a predetermined angle or more, . Here, whether or not the photographed barcode image is rotated at a predetermined angle or more with respect to the digital image processing apparatus can be determined, for example, whether or not the bars constituting the barcode are parallel to the height direction (y direction in FIG. 5) And a method of detecting whether or not the signal is detected. At this time, when the photographed barcode image is rotated by 8 degrees, for example, with respect to the digital image processing apparatus, the rotation unit 129-2a converts the tilted 8 ° image into a 0 ° image in a predetermined direction Clockwise direction) so as to store the rotated file.

트리밍부(129-2b)는 촬영된 영상에서 바코드 영역만을 추출하고 이를 트리밍(trimming)하여, 새로운 바코드 영상 파일을 생성한다. The trimming unit 129-2b extracts only the barcode area from the photographed image and trimming it to generate a new barcode image file.

상세히, 트리밍(trimming) 기능은 영상의 일부를 다른 하나의 영상 파일로 저장 가능한 기능을 제공함으로써, 영상의 일부만 필요한 경우 또는 영상의 일부를 확대하여 따로 저장하는 경우에 주로 사용된다.In detail, the trimming function is mainly used when only a part of the image is necessary or when a part of the image is enlarged and stored separately by providing a function of storing a part of the image as another image file.

도 6은 프레임으로 표시된 바코드 영상을 트리밍한 도면으로, 도 6a 촬영된 영상 내에서 바코드 영역 부분이 프레임으로 표시되어 있는 도면이고, 도 6b는 도 6a에서 프레임으로 표시된 바코드 영상을 트리밍한 도면이다. FIG. 6 is a diagram of a barcode image trimmed with a frame. FIG. 6A is a view showing a barcode area portion as a frame in a photographed image, and FIG. 6B is a diagram of a barcode image trimmed with a frame in FIG. 6A.

즉, 트리밍부(129-2b)는 에지 검출 등을 통하여 바코드 영역을 검출하고, 상기 검출된 바코드 영역을 트리밍하여, 디지털 영상 처리 장치(100)의 디스플레이부(113)에 꽉 찬 풀 사이즈(full-size) 바코드 영상 파일을 생성한다. That is, the trimming unit 129-2b detects the barcode area through edge detection or the like, and trims the detected barcode area to display a full size full image on the display unit 113 of the digital image processing apparatus 100 -size) Generate a barcode image file.

한편, 도 7에 도시된 바와 같이, 상기 회전과 트리밍은 동시에 수행될 수 있다. 디지털 영상 처리 장치에 대하여 θ°만큼 기울어져 있는 바코드 영상이 θ°만큼 회전 보정되는 동시에, 바코드 영역 부분이 트리밍되어, 디지털 영상 처리 장치(100)의 디스플레이부(113)에 꽉 찬 풀 사이즈(full-size) 바코드 영상 파일을 생성하는 것도 가능하다 할 것이다. On the other hand, as shown in FIG. 7, the rotation and the trimming can be performed simultaneously. The barcode area is trimmed by the angle of? Degrees with respect to the digital image processing apparatus and the barcode area is trimmed so that the full size (full size) of the display unit 113 of the digital image processing apparatus 100 -size) It is also possible to generate a barcode image file.

이와 같은 본 발명에 의해서, 상품에 기재되어 있는 바코드(bar code) 촬영 시, 이를 회전 또는 트리밍(trimming)하여, 디지털 영상 처리 장치의 디스플레이 화면에 맞는 사진 파일로 재생성하는 효과를 얻을 수 있다. According to the present invention as described above, it is possible to obtain the effect of rotating or trimming the bar code when photographing the bar code described in the product, and regenerating the image file as a photo file suitable for the display screen of the digital image processing apparatus.

이어서, 도 8을 참조하여 본 발명에 따른 디지털 영상 처리 방법을 상세히 설명한다. 본 발명에 따른 영상 처리 방법은 도 2에 도시된 바와 같은 영상 처리장치의 내부에서 수행될 수 있는데, 실시 예에 따라 동작 방법의 주 알고리즘은 장치 내의 주변 구성 요소들의 도움을 받아 디지털 신호 처리부(129) 내부에서 수행될 수 있다.Next, a digital image processing method according to the present invention will be described in detail with reference to FIG. The image processing method according to the present invention can be performed in the image processing apparatus as shown in FIG. 2. According to the embodiment, the main algorithm of the operation method is a digital signal processing unit 129 ). ≪ / RTI >

도 8을 참조하면, 본 발명에 관한 디지털 영상 처리 장치의 제어 방법은, 사용자로부터 셔터-릴리즈 신호가 입력되는 단계(S110 단계), 촬영된 영상이 바코드인지 여부를 판단하는 단계(S120 단계), 상기 촬영된 바코드 영상을 회전 및/또는 트리밍(trimming)하는 단계(S130 단계) 및 상기 회전 및/또는 트리밍(trimming)된 바코드 영상 파일을 생성 및 저장하는 단계(S140 단계)를 포함한다. 8, a control method of a digital image processing apparatus according to the present invention includes steps of inputting a shutter-release signal from a user (step S110), determining whether the photographed image is a bar code (step S120) (S130) of rotating and / or trimming the photographed barcode image (S130) and generating and storing the rotated and / or trimmed barcode image file (S140).

먼저, 사용자로부터 셔터-릴리즈 신호가 입력(S110 단계)되면, 바코드 인식부(129-1)는 촬영된 영상이 바코드인지 여부를 판단(S120 단계)한다. 상세히, 바코드(bar code)란 문자나 숫자를 흑과 백의 막대모양 기호로 조합한 것으로, 컴퓨터가 판독하기 쉽고 데이터를 빠르게 입력하기 위하여 쓰인다. 이것은 광학식 마크판독장치로 자동 판독되어 입력된다. 세계상품코드 (UPC : universal product code) 를 따르는 상품의 종류를 나타내거나, 슈퍼마켓 등에서 매출정보의 관리(POS : point of sales system) 등에 이용된다. 가격은 별도로 표시되며 도서분류, 신분증명서 등에도 이용된다. 따라서, 바코드 인식부(129-1)는 영상이 촬영되었을 경우, 컬러 기반 또는 에지 기반 등의 방법으로 상기 촬영된 영상이 바코드인지 여부를 판단한다. 바코드 검출에 대한 내용은 바코드 판독기 등에서 기 공지된 내용이므로, 본 발명에서는 그 상세한 설명은 생략하도록 한다. First, when a shutter release signal is input from the user (step S110), the barcode recognition unit 129-1 determines whether the photographed image is a barcode (step S120). In detail, a bar code is a combination of letters and numbers in black and white bar symbols, which are used by computers for easy reading and data entry. This is automatically read and input by the optical mark reader. It represents the type of product that conforms to the universal product code (UPC), or is used in the point of sale system (POS) in supermarkets and the like. Prices are displayed separately and are also used for book classification, identification documents, and so on. Accordingly, when the image is captured, the barcode recognition unit 129-1 determines whether the captured image is a barcode by a color-based or edge-based method. The contents of the barcode detection are well known in bar code readers and the like, and therefore, a detailed description thereof will be omitted in the present invention.

여기서, 상기 디지털 촬영 장치(100)가 바코드 촬영 모드를 설정할 수 있는 경우, 바코드 촬영 모드가 설정된 상태에서 영상을 촬영하면, 촬영된 영상이 바코드인지 여부를 별도로 판단하지 아니할 수도 있다. Here, when the digital photographing apparatus 100 can set the bar code photographing mode, it may not separately judge whether the photographed image is a bar code when the bar code photographing mode is set.

또한, 바코드 인식부(129-1)가 촬영된 영상이 바코드인지 여부를 판단한 결과, 촬영된 영상이 바코드가 아니라면, 디지털 신호 처리부(129)는 영상 처리부(125)를 제어하여 상기에서 촬영된 일반 영상을 JPEG 영상파일로 생성하여 디스플레이부(113)에 디스플레이하고 저장부(127)에 저장(S150 단계)한다.If the captured image is not a bar code, the digital signal processing unit 129 controls the image processing unit 125 so that the captured image is a barcode, The image is generated as a JPEG image file and displayed on the display unit 113 and stored in the storage unit 127 (step S150).

다음으로, 바코드 영상 생성부(129-2)는 상기 촬영된 바코드 영상을 회전 및/또는 트리밍(trimming)(S130 단계)한다. Next, the barcode image generation unit 129-2 rotates and / or trims the photographed barcode image (step S130).

상세히, 회전부(129-2a)는 디지털 영상 처리 장치(100)에 대한 바코드 영상의 회전각을 검출하고, 상기 회전각만큼 바코드 영상을 회전 보정하여, 새로운 바코드 영상 파일을 생성한다. 즉, 회전부(129-2a)는 촬영된 바코드 영상이 디지털 영상 처리 장치에 대하여 소정 각도 이상으로 회전되었는지를 검출하고, 촬영된 바코드 영상이 소정 각도 이상 회전되었을 경우, 회전이 보정된 새로운 바코드 영상 파일을 생성한다. 여기서, 촬영된 바코드 영상이 디지털 영상 처리 장치에 대하여 소정 각도 이상으로 회전되었는지 여부는, 예를 들어 바코드를 구성하는 다수 개의 막대가 디지털 영상 처리 장치의 높이 방향과 평행인지 여부를 검출하는 방법 등으로 판단할 수 있다. 이때, 촬영된 바코드 영상이 디지털 영상 처리 장치에 대하여 예를 들어 8°만큼 회전되어 있을 경우, 회전부(129-2a)는 기울어진 8°영상을 0°영상으로 소정의 방향으로 회전시키도록 제어하여, 영상이 회전된 파일을 저장한다.In detail, the rotation unit 129-2a detects the rotation angle of the barcode image with respect to the digital image processing apparatus 100, rotates the barcode image by the rotation angle, and generates a new barcode image file. That is, the rotation unit 129-2a detects whether the photographed barcode image is rotated at a predetermined angle or more with respect to the digital image processing apparatus, and when the photographed barcode image is rotated by a predetermined angle or more, . Here, whether or not the photographed barcode image is rotated at a predetermined angle or more with respect to the digital image processing apparatus may be determined by, for example, a method of detecting whether or not a plurality of bars constituting the barcode are parallel to the height direction of the digital image processing apparatus It can be judged. At this time, if the photographed barcode image is rotated by 8 degrees, for example, with respect to the digital image processing apparatus, the rotation unit 129-2a controls the inclined 8 ° image to rotate in a predetermined direction to 0 ° image , And stores the rotated file.

또한, 트리밍부(129-2b)는 촬영된 영상에서 바코드 영역만을 추출하고 이를 트리밍(trimming)하여, 새로운 바코드 영상 파일을 생성한다. 트리밍(trimming) 기능은 영상의 일부를 다른 하나의 영상 파일로 저장 가능한 기능을 제공함으로써, 영상의 일부만 필요한 경우 또는 영상의 일부를 확대하여 따로 저장하는 경우에 주로 사용된다. 즉, 트리밍부(129-2b)는 에지 검출 등을 통하여 바코드 영역을 검출하고, 상기 검출된 바코드 영역을 트리밍하여, 디지털 영상 처리 장치(100)의 디스플레이부(113)에 꽉 찬 풀 사이즈(full-size) 바코드 영상 파일을 생성한다. Also, the trimming unit 129-2b extracts only the barcode area from the photographed image and trimming it to generate a new barcode image file. The trimming function is mainly used when a part of the image is required or a part of the image is enlarged and stored separately by providing a function of storing part of the image as another image file. That is, the trimming unit 129-2b detects the barcode area through edge detection or the like, and trims the detected barcode area to display a full size full image on the display unit 113 of the digital image processing apparatus 100 -size) Generate a barcode image file.

또한, 상기 회전과 트리밍은 동시에 수행될 수 있다. 즉, 디지털 영상 처리 장치에 대하여 θ°만큼 기울어져 있는 바코드 영상이 θ°만큼 회전 보정되는 동시에, 바코드 영역 부분이 트리밍되어, 디지털 영상 처리 장치(100)의 디스플레이부(113)에 꽉 찬 풀 사이즈(full-size) 바코드 영상 파일을 생성하는 것도 가능하다 할 것이다. Further, the rotation and the trimming can be performed simultaneously. That is, the barcode image that is inclined by &thetas; degrees with respect to the digital image processing apparatus is rotationally corrected by the angle &thetas; while the barcode area portion is trimmed so that the full size it is also possible to generate a full-size barcode image file.

마지막으로 디지털 신호 처리부(129)는 영상 처리부(125)를 제어하여 상기 에서 촬영된 바코드 영상을 JPEG 영상파일로 생성하여 디스플레이부(113)에 디스플레이하고 저장부(127)에 저장(S140 단계)한다.  Finally, the digital signal processing unit 129 controls the image processing unit 125 to generate a JPEG image file of the barcode image photographed in the above manner, displays it on the display unit 113, and stores it in the storage unit 127 (step S140) .

이와 같은 본 발명에 의해서, 상품에 기재되어 있는 바코드(bar code) 촬영 시, 이를 회전 또는 트리밍(trimming)하여, 디지털 영상 처리 장치의 디스플레이 화면에 맞는 사진 파일로 재생성하는 효과를 얻을 수 있다. According to the present invention as described above, it is possible to obtain the effect of rotating or trimming the bar code when photographing the bar code described in the product, and regenerating the image file as a photo file suitable for the display screen of the digital image processing apparatus.

이제까지 본 발명에 대하여 그 바람직한 실시 예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.The present invention has been described with reference to the preferred embodiments. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.

도 1은 본 발명에 관한 디지털 영상 처리 장치의 앞쪽 및 위쪽 외형을 보여주는 사시도이다.1 is a perspective view showing the front and top contours of the digital image processing apparatus according to the present invention.

도 2는 도 1에 도시된 디지털 영상 처리 장치의 뒤쪽 외형을 보여주는 배면도이다.FIG. 2 is a rear view showing the rear external appearance of the digital image processing apparatus shown in FIG. 1. FIG.

도 3은 도 1 및 도 2에 도시된 디지털 영상 처리 장치의 구성을 보이는 블록도이다.FIG. 3 is a block diagram showing a configuration of the digital image processing apparatus shown in FIG. 1 and FIG. 2. FIG.

도 4는 한국공통상품코드(KAN)를 적용한 바코드의 일 예를 도시한 도면이다. 4 is a diagram illustrating an example of a bar code to which the Korean common product code (KAN) is applied.

도 5는 바코드 영상의 회전각(θ)을 보이는 도면이다. 5 is a view showing the rotation angle [theta] of the barcode image.

도 6은 프레임으로 표시된 바코드 영상을 트리밍한 도면이다. Fig. 6 is a diagram of a barcode image displayed in a frame.

도 7은 바코드 영상의 회전과 트리밍이 동시에 수행되는 것을 나타내는 도면이다. Fig. 7 is a diagram showing that rotation and trimming of the barcode image are performed simultaneously.

도 8은 본 발명에 관한 디지털 영상 처리 장치의 제어 방법을 보여주는 흐름도이다. 8 is a flowchart showing a control method of the digital image processing apparatus according to the present invention.

<도면의 주요 부분에 대한 부호의 설명>Description of the Related Art

100: 디지털 영상 처리 장치 121: 사용자 입력부100: digital image processing apparatus 121: user input unit

123: 촬상부 125: 영상 처리부123: image pickup unit 125: image processing unit

127: 저장부 129: 디지털 신호 처리부127: storage unit 129: digital signal processor

129-1: 바코드 인식부 129-2: 바코드 영상 생성부129-1: Barcode recognition unit 129-2: Barcode image generation unit

129-2a: 회전부 129-2b: 트리밍부129-2a: rotating part 129-2b: trimming part

Claims (13)

디지털 영상 처리 장치로서, A digital image processing apparatus comprising: 촬영된 바코드 영상을 회전 또는 트리밍하여 바코드 영상 파일을 생성하는 디지털 신호 처리부를 포함하고,And a digital signal processor for generating a barcode image file by rotating or trimming the photographed barcode image, 상기 디지털 신호 처리부는, Wherein the digital signal processor comprises: 상기 디지털 영상 처리 장치에 대한 상기 촬영된 바코드 영상의 회전각을 검출하여, 상기 회전각만큼 상기 바코드 영상을 회전시키는 회전부를 포함하는 것을 특징으로 하고,And a rotation unit for detecting a rotation angle of the photographed barcode image with respect to the digital image processing apparatus and rotating the barcode image by the rotation angle, 상기 생성된 바코드 영상 파일은 바코드 판독기에 의하여 독출 가능한 것을 특징으로 하는 디지털 영상 처리 장치. Wherein the barcode image file is readable by a barcode reader. 제 1 항에 있어서, The method according to claim 1, 상기 디지털 신호 처리부는, 상기 디지털 영상 처리 장치의 디스플레이 화면에 맞는 풀 사이즈(full-size)의 바코드 영상 파일을 생성하는 것을 특징으로 하는 디지털 영상 처리 장치. Wherein the digital signal processing unit generates a full-size barcode image file corresponding to a display screen of the digital image processing apparatus. 삭제delete 삭제delete 제 1 항에 있어서, The method according to claim 1, 상기 디지털 신호 처리부는, Wherein the digital signal processor comprises: 상기 촬영된 영상의 바코드 영역을 트리밍하는 트리밍부를 포함하는 디지털 영상 처리 장치. And a trimming unit for trimming the barcode area of the photographed image. 제 1 항에 있어서, The method according to claim 1, 상기 트리밍과 상기 회전이 동시에 수행되는 것을 특징으로 하는 디지털 영상 처리 장치. Wherein the trimming and the rotation are simultaneously performed. 제 1 항에 있어서, The method according to claim 1, 상기 디지털 신호 처리부는, Wherein the digital signal processor comprises: 상기 촬영된 영상이 바코드인지 여부를 판단하는 바코드 인식부를 더 포함하는 디지털 영상 처리 장치. And a barcode recognition unit for determining whether the photographed image is a barcode. 제 7 항에 있어서, 8. The method of claim 7, 상기 바코드 인식부는,The barcode recognizing unit, 상기 촬영된 영상의 에지 검출을 통하여 바코드 영역을 인식하는 것을 특징으로 하는 디지털 영상 처리 장치.And recognizes the barcode area through edge detection of the photographed image. 디지털 영상 처리 장치의 제어 방법에 있어서, A control method of a digital image processing apparatus, 셔터-릴리즈 신호가 입력되는 단계;A step of inputting a shutter-release signal; 촬영된 영상이 바코드인지 여부를 판단하는 단계;Determining whether the photographed image is a barcode; 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 단계; 및Rotating or trimming the photographed barcode image; And 상기 회전 또는 트리밍(trimming)된 바코드 영상 파일을 생성 및 저장하는 단계를 포함하고,Generating and storing the rotated or trimmed barcode image file, 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 단계는, The step of rotating or trimming the photographed barcode image comprises: 상기 디지털 영상 처리 장치에 대한 상기 촬영된 바코드 영상의 회전각을 검출하여, 상기 회전각만큼 상기 바코드 영상을 회전시키는 단계를 포함하는 것을 특징으로 하고,Detecting a rotation angle of the photographed barcode image with respect to the digital image processing apparatus and rotating the barcode image by the rotation angle, 상기 생성된 바코드 영상 파일은 바코드 판독기에 의하여 독출 가능한 것을 특징으로 하는 디지털 영상 처리 장치의 제어 방법.Wherein the generated barcode image file is readable by a barcode reader. 제 9 항에 있어서, 10. The method of claim 9, 상기 촬영된 영상이 바코드인지 여부를 판단하는 단계는, Wherein the step of determining whether the photographed image is a bar code comprises: 에지 검출에 의하여 수행되는 것을 특징으로 하는 디지털 영상 처리 장치의 제어 방법. Wherein the edge detection is performed by the edge detection. 제 9 항에 있어서, 10. The method of claim 9, 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 단계는, The step of rotating or trimming the photographed barcode image comprises: 상기 디지털 영상 처리 장치의 디스플레이 화면에 맞는 풀 사이즈(full-size)의 바코드 영상 파일을 생성하도록, 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 것을 특징으로 하는 디지털 영상 처리 장치의 제어 방법. And rotating or trimming the photographed barcode image to generate a full-size barcode image file corresponding to a display screen of the digital image processing apparatus. 삭제delete 제 9 항에 있어서, 10. The method of claim 9, 상기 촬영된 바코드 영상을 회전 또는 트리밍(trimming)하는 단계는, The step of rotating or trimming the photographed barcode image comprises: 상기 촬영된 영상의 바코드 영역을 트리밍하는 단계를 포함하는 디지털 영상 처리 장치의 제어 방법. And trimming the barcode area of the photographed image.
KR20070129006A 2007-12-12 2007-12-12 Apparatus and method for digital picturing image KR101495077B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20070129006A KR101495077B1 (en) 2007-12-12 2007-12-12 Apparatus and method for digital picturing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20070129006A KR101495077B1 (en) 2007-12-12 2007-12-12 Apparatus and method for digital picturing image

Publications (2)

Publication Number Publication Date
KR20090061966A KR20090061966A (en) 2009-06-17
KR101495077B1 true KR101495077B1 (en) 2015-02-24

Family

ID=40991280

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20070129006A KR101495077B1 (en) 2007-12-12 2007-12-12 Apparatus and method for digital picturing image

Country Status (1)

Country Link
KR (1) KR101495077B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040107119A (en) * 2003-06-12 2004-12-20 엘지전자 주식회사 Method for editing picture in mobile terminal
KR20050040310A (en) * 2003-10-28 2005-05-03 주식회사 팬택 Apparatus of transceiving data between the mobile communication terminals
JP2006148344A (en) * 2004-11-17 2006-06-08 Fuji Photo Film Co Ltd Edit condition setting apparatus and edit condition setting program for photo movie
JP2007318775A (en) * 2007-06-25 2007-12-06 Sharp Corp Portable telephone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040107119A (en) * 2003-06-12 2004-12-20 엘지전자 주식회사 Method for editing picture in mobile terminal
KR20050040310A (en) * 2003-10-28 2005-05-03 주식회사 팬택 Apparatus of transceiving data between the mobile communication terminals
JP2006148344A (en) * 2004-11-17 2006-06-08 Fuji Photo Film Co Ltd Edit condition setting apparatus and edit condition setting program for photo movie
JP2007318775A (en) * 2007-06-25 2007-12-06 Sharp Corp Portable telephone

Also Published As

Publication number Publication date
KR20090061966A (en) 2009-06-17

Similar Documents

Publication Publication Date Title
US8786760B2 (en) Digital photographing apparatus and method using face recognition function
US8520116B2 (en) Photographing apparatus and method
JP4457358B2 (en) Display method of face detection frame, display method of character information, and imaging apparatus
US8194177B2 (en) Digital image processing apparatus and method to photograph an image with subject eyes open
CN101465972B (en) Apparatus and method for blurring image background in digital image processing device
JP2010045770A (en) Image processor and image processing method
KR101475684B1 (en) Apparatus and method for improving face image in digital image processing device
JP5604285B2 (en) Imaging device
JP4894708B2 (en) Imaging device
KR20100003918A (en) Apparatus and method for photographing digital image capable of recognizing user
KR101495077B1 (en) Apparatus and method for digital picturing image
JP4306399B2 (en) Digital camera
KR20090125602A (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
KR101421939B1 (en) Apparatus and method for processing digital image using face detection function
KR101442600B1 (en) Apparatus and method for digital picturing image
JP4793459B2 (en) Symbol reader and program
JP4305119B2 (en) Digital camera
KR101445610B1 (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
JP2000029988A (en) Electronic camera and its operation control method
KR101427661B1 (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
KR101467870B1 (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
KR101436833B1 (en) Apparatus and method for digital picturing image
EP3614298B1 (en) Portable terminal apparatus, information recording method and storage medium
KR101417811B1 (en) Apparatus and method for zoom-in detected face through face detection in digital image processing device
KR20090113075A (en) Apparatus and method for digital picturing image

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee