KR20170057202A - Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark - Google Patents

Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark Download PDF

Info

Publication number
KR20170057202A
KR20170057202A KR1020170059079A KR20170059079A KR20170057202A KR 20170057202 A KR20170057202 A KR 20170057202A KR 1020170059079 A KR1020170059079 A KR 1020170059079A KR 20170059079 A KR20170059079 A KR 20170059079A KR 20170057202 A KR20170057202 A KR 20170057202A
Authority
KR
South Korea
Prior art keywords
image
color component
mark
code
contrast
Prior art date
Application number
KR1020170059079A
Other languages
Korean (ko)
Other versions
KR101913035B1 (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 이문기
Publication of KR20170057202A publication Critical patent/KR20170057202A/en
Application granted granted Critical
Publication of KR101913035B1 publication Critical patent/KR101913035B1/en

Links

Images

Classifications

    • 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/06046Constructional details
    • G06K19/06103Constructional details the marking being embedded in a human recognizable image, e.g. a company logo with an embedded two-dimensional code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • 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/06037Record 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 multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/12Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using a selected wavelength, e.g. to sense red marks and ignore blue marks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/0028Adaptive watermarking, e.g. Human Visual System [HVS]-based watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/503Blending, e.g. for anti-aliasing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • G06V10/225Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on a marking or identifier characterising the area
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/273Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion removing elements interfering with the pattern to be recognised
    • 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
    • G06K2019/06215Aspects not covered by other subgroups
    • G06K2019/06225Aspects not covered by other subgroups using wavelength selection, e.g. colour code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20224Image subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/62Semi-transparency

Abstract

The present invention relates to a method for generating a semitransparent QR code by synthesizing a QR code image with an ordinary color background image, and a method for detecting a QR code by separating the QR code and an ordinary color image from an image obtained by capturing the semitransparent QR code. Accordingly, the present invention can use the QR code as a marketing means or a marker of augmented reality or virtual reality.

Description

반투명 마크, 반투명 마크 합성 및 검출 방법, 투명 마크 그리고 투명 마크 합성 및 검출 방법{SEMI TRANSPARENT MARK, A METHOD FOR COMPOSING AND DETECTING SEMI TRANSPARENT MARK,TRANSPARENT MARK AND A METHOD FOR COMPOSING AND DETECTING TRANSPARENT MARK}Technical Field [0001] The present invention relates to a translucent mark, a semi-transparent mark synthesis and detection method, a transparent mark, and a transparent mark synthesis and detection method. BACKGROUND ART < RTI ID = 0.0 >

본 발명은 칼라 배경 영상 위에 QR코드이미지를 반투명 또는 투명하게 합성하는 기술에 관한 것이다.The present invention relates to a technique for translucently or transparently synthesizing a QR code image on a color background image.

QR코드,스마트폰, 모바일 장치, 카메라, 영상처리, 착용형 컴퓨터,안경형 디스플레이,가상현실,증강현실,마크QR code, smart phone, mobile device, camera, image processing, wearable computer, eyeglass display, virtual reality, augmented reality, mark

본 발명은 QR코드와 같은 시각적 마크의 개선에 관한 것이다. QR코드는 2차원 바코드의 일종으로 예를 들면 잡지의 광고 사진 위에 관련된 URL을 QR코드로 인쇄한 것을 사용자가 스마트폰의 카메라로 촬영하고 인식하여 QR코드가 나타내는 URL에 스마트폰으로 접속할 수 있다. 그리고 이러한 QR코드는 카메라의 자세를 검출하여 증강현실 영상의 합성하는데 사용될 수 도 있다. 이러한 기존의 QR코드는 불투명하여 배경 영상을 가린다는 문제가 있다. 배경 영상을 가리는 것을 최소화 하기 위해서 종래의 QR 코드는 배경 영상의 일부분에 작게 인쇄되고 있어서 사용자는 이러한 QR코드를 카메라로 촬영하기 위해서 QR코드에 접근해야 하는 불편함이 있다. QR코드를 멀리서 촬영하기 위해서는 QR코드를 크게 디자인 하면 되지만 그렇게 하면 배경 영상을 많이 가린다는 문제가 있다.The present invention relates to the improvement of visual marks such as QR codes. A QR code is a kind of two-dimensional bar code, for example, a URL of a URL associated with an advertisement photograph of a magazine is printed by a QR code, and the user can take a picture with the camera of the smart phone and recognize the URL as a QR code. Such a QR code may be used for synthesizing an augmented reality image by detecting the attitude of the camera. Such existing QR codes are opaque, which hinders background images. In order to minimize the occlusion of the background image, the conventional QR code is printed small on a part of the background image, so that the user has to approach the QR code in order to photograph the QR code with the camera. In order to shoot a QR code from a distance, it is necessary to design a large QR code, but there is a problem that it hides the background image much.

본 발명은 배경 영상 위에 QR코드를 반투명 또는 투명하게 합성함으로써 QR코드를 크게 디자인 할 수 있고 배경 영상도 볼 수 있는 반투명 또는 투명한 QR코드와 이를 합성 및 검출 할 수 있는 영상처리 수단을 제공하는 것을 목적으로 한다. It is an object of the present invention to provide a semi-transparent or transparent QR code capable of designing a large QR code by composing a QR code in a translucent or transparent manner on a background image and also capable of viewing a background image and an image processing means .

상기 목적을 달성하기 위한 본 발명의 반투명 또는 투명 마크는 보통의 칼라 배경 영상의 밝기 또는 변화폭(contrast)을 조절한 후 그 위에 청색 QR코드를 합성하되 청색 QR코드 영상의 밝기 변화폭은 상기 배경 영상의 청색 성분 영상의 밝기 변화폭 보다 크게 조절한 것을 특징으로 한다. 그리고 이러한 반투명 또는 투명 QR 코드를 검출하는 방법은 이러한 반투명 또는 투명 QR코드를 촬영한 영상의 청색 성분 영상을 이치화하여 QR코드를 검출하는 것을 특징으로 한다. 또한 이러한 이치화를 안정적으로 수행하기 위하여 이치화 하기 전에 청색 성분 영상에서 적색과 녹색 성분 영상을 어둡게 조절한 영상을 차분한 후 이치화하여 QR코드를 검출하는 것을 특징으로 한다.In order to accomplish the above object, a translucent or transparent mark according to the present invention comprises a blue QR code synthesized on the basis of a brightness or a contrast of an ordinary color background image, And the brightness of the blue component image is adjusted to be larger than the brightness variation of the blue component image. A method of detecting such a semi-transparent or transparent QR code is characterized by detecting a QR code by binarizing a blue component image of an image obtained by capturing such a translucent or transparent QR code. Also, in order to stably perform such binarization, the image obtained by darkening the red and green component images in the blue component image is calibrated and binarized to detect the QR code before binarization.

본 발명에의한 반투명 또는 투명 마크를 사용하면 사용자 눈에 거슬리지 않게 QR코드를 주변 환경에 크게 부착하여 마케팅 수단으로 활용하거나 증강현실이나 가상현실의 마커로 사용할 수 있다.By using the translucent or transparent mark according to the present invention, the QR code can be greatly attached to the surrounding environment so that it can be used as a marketing means or as a marker for augmented reality or virtual reality.

도1은 두 영상을 합성하는 설명도
도2는 픽셀값 히스토그램의 변화를 나타낸 것
도3은 도2를 일반화한 것
1 is an explanatory diagram for synthesizing two images
Figure 2 shows the change in the pixel value histogram
Figure 3 is a generalized version of Figure 2

실시예1Example 1

본 발명은 기존의 qr코드가 불투명하여 배경 영상을 가린다는 문제를 해결하기 위하여 칼라 배경 영상 위에 흑백 QR코드를 반투명하게 합성한 반투명 qr코드를 제공하는 것을 목적으로 한다. 구체적으로 본 발명에의한 반투명 qr코드 영상을 생성하는 방법은 다음과 같다.The object of the present invention is to provide a translucent qr code in which a monochrome QR code is semi-transparently synthesized on a color background image in order to solve the problem that a conventional qr code is opaque and obscures a background image. Specifically, a method of generating a translucent qr code image according to the present invention is as follows.

(단계1-1)보통의 칼라 배경 영상을 삼원색 성분 영상으로 분해한다. 즉 칼라 영상으로부터 3개의 회색(gray)영상(빨강 성분 영상, 녹색 성분 영상, 파랑 성분 영상)을 생성한다. 회색 영상은 예를 들어서 가장 어두운 픽셀값은 0이고 가장 밝은 픽셀 값은 255인 256 단계의 영상일 수 있다.(Step 1-1) The ordinary color background image is decomposed into the three-color component image. That is, three gray images (red component image, green component image, and blue component image) are generated from the color image. For example, the gray image may be a 256-step image having the darkest pixel value of 0 and the brightest pixel value of 255. [

(단계1-2)흑백 이치(binary) qr코드 영상의 백색 픽셀값을 64로 바꾸고 검정 픽셀 값을 -64로 바꾼다. 이렇게 변환된 영상의 픽셀 범위는 -64~64가 된다. 이러한 픽셀값의 범위(밝기 차)를 본 발명에서는 콘트라스트(contrast)라한다. 즉 픽셀 분포 범위 크기가 128이 된다. 이러한 이치값(-64,64)은 절대값이 같고 부호는 다르게 하는 것이 바람직하다.(Step 1-2) Black and white binary qr Change the white pixel value of the code image to 64 and the black pixel value to -64. The pixel range of the converted image is -64 to 64. The range (brightness difference) of such pixel values is referred to as contrast in the present invention. That is, the size of the pixel distribution range is 128. It is preferable that the absolute value of the value (-64, 64) is the same and the sign is different.

(단계1-3) 단계1-1에서 구한 파랑 성분 회색 영상의 가장 어두운 픽셀 값과 가장 밝은 픽셀 값의 차이B(픽셀값의 분포 범위 크기,즉 콘트라스트)가 상기 단계1-2에서 구한 qr코드 영상의 픽셀 범위 크기Q(128)보다 충분히 작게 픽셀값을 변환하되 B + Q < 255 가 되게 조정한다. 즉 두 영상의 콘트라스트의 합은 영상의 최대 가능한 콘트라스트인 255보다 작아야 한다. 그래야만 합성된 영상을 디스플레이에 출력할 수 있거나 인쇄할 수 있다. 위 조건 B + Q < 255 의 의미는 보통 영상의 파랑 성분 회색 영상과 qr코드 영상을 합성한 영상의 픽셀 범위 크기가 255보다 작아야 한다는 뜻이다. 예를 들어서 파랑 성분 회색 영상의 가장 어두운 픽셀값이 0이고 가장 밝은 픽셀 값이 255라면 모든 픽셀 값에 60/255 를 곱한 새로운 픽셀 값을 어둡게 조정된 새로운 영상의 픽셀 값으로 한다. 이렇게 상수(60/255)를 모든 픽셀에 곱하면 이미지 전체가 어두워지므로 원본 칼라 영상이 어두워진다. 본 단계의 변환과정에서 원본 칼라 영상의 밝기를 최대한 유지하려면 파랑 성분 회색 영상의 평균 픽셀 값을 구해서 그보다 픽셀값이 큰(밝은)픽셀은 밝기를 줄이고 픽셀값이 평균 픽셀값보다 작은(어두운)픽셀은 픽셀 값을 증가시키는 것이 바람직하다. 도2는 이러한 변환 전후의 이미지의 픽셀값의 히스토그램을 나타낸 것이다. 도2에서 변환전의 파랑 성분 회색 영상의 픽셀 범위는 0~255이고 평균 픽셀값은 164이다. 이러한 영상이 본 단계1-3을 거치면 픽셀 범위가 164-30~164+30인 영상으로 변환된다. 도3은 도2를 일반화한 그림이다. 도3은 픽셀값 범위가 f1~t1 이고 평균 픽셀값이 a인 영상을 픽셀값 범위가 f2~t2인 영상으로 변화시킨 영상의 픽셀값의 히스토그램을 나타낸 것이다. 변환 전의 임의의 픽셀값p1,q1는 p2,q2로 각각 변환되고 그 구체적인 값은 다음과 같은 비례식으로부터 구할 수 있다. (비례식이 아닌 비선형 변환을 사용해도 무방하다. 여기서 비례식은 가능한 변환 중 하나의 예이다.)(Step 1-3) If the difference B (the distribution range size of the pixel value, that is, the contrast) between the darkest pixel value and the brightest pixel value of the blue component gray image obtained in Step 1-1 is smaller than the qr code Convert the pixel value to be smaller than the pixel range size Q (128) of the image but adjust it to B + Q <255. That is, the sum of the contrasts of the two images should be less than 255, which is the maximum possible contrast of the image. This way, the synthesized image can be output to the display or printed. The meaning of the above condition B + Q <255 means that the pixel range size of the composite image of the gray component image of the normal image and the qr code image should be smaller than 255. For example, if the darkest pixel value of the bluish gray image is 0 and the brightest pixel value is 255, the new pixel value multiplied by 60/255 is used as the pixel value of the darkened new image. Multiplying all the pixels by this constant (60/255) will darken the whole image and darken the original color image. In order to maintain the brightness of the original color image as much as possible during the conversion process of this step, the average pixel value of the blue component gray image is obtained, and a pixel having a larger pixel value is reduced in brightness and a pixel having a pixel value smaller It is desirable to increase the pixel value. Fig. 2 shows a histogram of the pixel values of the images before and after the conversion. In Fig. 2, the pixel range of the blue component gray image before conversion is 0 to 255 and the average pixel value is 164. When this image passes through steps 1-3, the image is converted into an image having a pixel range of 164-30 to 164 + 30. Fig. 3 is a generalized view of Fig. 3 shows a histogram of pixel values of an image in which an image having a pixel value range of f1 to t1 and an average pixel value of a is changed to an image having a pixel value range of f2 to t2. The arbitrary pixel value p1, q1 before conversion is converted into p2, q2, respectively, and the concrete value thereof can be obtained from the following proportional expression. (Non-proportional nonlinear transformations may be used, where the proportional equations are examples of possible transformations).

a - f1 : p1 - f1 = a - f2 : p2 - f2a - f1: p1 - f1 = a - f2: p2 - f2

t1 - a : q1 - a = t2- a : q2 - at1 - a: q1 - a = t2 - a: q2 - a

이렇게 배경 영상의 파랑 성분 영상의 픽셀값의 분포 범위(콘트라스트)를 qr코드 영상의 픽셀값의 분포 범위(콘트라스트)보다 작게 제한함으로써 합성된 영상을 카메라로 촬영한 영상을 이치화해서 qr코드 영상을 검출 할 수 있다.만약 배경 영상의 파랑 성분 영상의 픽셀값의 분포 범위(예를 들면 60)가 qr코드 영상의 픽셀값의 분포 범위(예를 들면 128)보다 작으면 본 단계1-3은 통과한다.In this way, by limiting the distribution range (contrast) of the pixel value of the blue component image of the background image to be smaller than the distribution range (contrast) of the pixel value of the qr code image, the image obtained by the camera is binarized to detect the qr code image If the distribution range (for example, 60) of the pixel value of the blue component image of the background image is smaller than the distribution range (for example, 128) of the pixel value of the qr code image, the step 1-3 is passed .

이러한 구체적인 숫자들(255,128,60)은 설명의 편의를 위한 값으로 실제 본 발명을 구현할 때는 그 값이 다를 수도 있다.These concrete numbers 255, 128, and 60 are values for convenience of explanation, and values may be different when actually implementing the present invention.

그리고 상기한 비례식 이외의 다른 알고리즘을 사용할 수 도 있다.Other algorithms other than the proportional equation described above may be used.

이와 같이 배경 영상의 콘트라스트를 줄이는 것을 배경 영상 전체에 대해 동일 비례식 또는 알고리즘을 사용해서 수행 할 수도 있지만 배경 영상의 각 픽셀에 대해 그 픽셀에 가장 적합한 비례식 또는 알고리즘을 사용해서 수행 할 수도 있다. 예를 들면 배경 영상의 파랑색 성분 영상과 qr코드 영상의 합성된 영상에서 qr코드의 셀(cell)의 경계선의 콘트라스트가 그 경계선 근방의 일정 영역 안의 배경 영상의 경계선의 콘트라스트보다 크게 되도록 배경 영상의 경계선의 콘트라스트를 줄일 수도 있다.In this way, it is possible to reduce the contrast of the background image by using the same proportional expression or algorithm for the entire background image, but it can also be performed using a proportional expression or algorithm that is most suitable for each pixel of the background image. For example, in a combined image of a blue component image of a background image and a qr code image, the contrast of the border of the cell of the qr code is made larger than the contrast of the border of the background image within a certain region near the borderline The contrast of the boundary line can be reduced.

여기서 qr코드의 셀(cell)은 qr코드의 정보를 표시하는 동일 픽셀값의 가장 작은 작은 단위 사각형 영역을 의미한다. 그리고 상기 근방의 일정 영역은 qr코드의 셀의 크기(셀의 사각형의 가로 또는 세로 변의 길이 중 작은 쪽)와 같거나 크도록 하는 것이 바람직하다. 이와 같이 콘트라스트를 조정하면 합성된 영상의 각 픽셀을 이치화할 때 그 픽셀 주변의 qr코드의 셀의 크기 정도의 영역 안의 픽셀들의 히스토그램을 조사해서 이치화를 쉽게 할 수 있다. Here, the cell of the qr code means the smallest unit rectangular area of the same pixel value indicating the information of the qr code. It is preferable that a certain area in the vicinity is equal to or larger than the size of the cell of the qr code (the smaller of the lengths of the lateral or longitudinal sides of the square of the cell). When the contrast is adjusted as described above, binarization can be facilitated by examining the histogram of the pixels in the region of the size of the cell of the qr code around the pixel when binarizing each pixel of the synthesized image.

(단계1-4)단계1-2에서 구한 qr코드 영상(픽셀 범위 크기가 128인 영상)과 단계1-3에서 구한 파랑 성분 영상(픽셀 범위 크기가 60인 영상)의 덧셈 영상을 구한다.(Step 1-4) Obtain an addition image of the qr code image (image having a pixel range size of 128) obtained in Step 1-2 and the wave component image (image having a pixel range size of 60) obtained in Step 1-3.

여기서 두 입력 영상의 덧셈 영상은 두 입력 영상의 대응되는 동일 위치(x,y)의 픽셀들의 픽셀 값을 더한 값이 덧셈 영상의 대응되는 동일 위치(x,y)의 픽셀 값인 영상을 의미한다.Here, the addition image of the two input images means an image in which the value obtained by adding the pixel values of the pixels at the same position (x, y) corresponding to the two input images is the pixel value of the corresponding identical position (x, y) of the addition image.

(단계1-5)상기 단계1-4에서 구한 덧셈 영상의 픽셀 값의 분포가 디스플레이에 출력 가능한 범위(예를 들면 0에서 255) 또는 인쇄 가능한 범위가 되도록 조정한다. (Step 1-5) The distribution of the pixel values of the addition image obtained in the above step 1-4 is adjusted so as to be within a printable range (for example, 0 to 255) or printable range on the display.

예를 들어서 단계1-3에서 구한 파랑 성분 영상의 픽셀 범위가 (255-60)~255 이고 qr코드 영상의 픽셀 범위가 -64~64이라면 두 영상을 픽셀별로 더해서 합성된 덧셈 영상의 픽셀 범위는 (255-60-64) ~ (255+64)이된다. 회색 영상의 최대 밝기는 255이고 합성된 픽셀 값 의 최대값(255+64)는 그 범위를 벗어나므로 적당한 상수를 합성된 덧셈 영상의 모든 픽셀에 더해 픽셀의 범위를 평행이동 시켜야 한다. 즉 255+64 가 255 보다 같거나 작게 되도록 덧셈 영상의 모든 픽셀에 -64를 더해주면 된다.For example, if the pixel range of the wave component image obtained in step 1-3 is (255-60) ~ 255 and the pixel range of the qr code image is -64 ~ 64, then the range of the synthesized additive image (255-60-64) to (255 + 64). Since the maximum brightness of the gray image is 255 and the maximum value of the synthesized pixel value (255 + 64) is out of the range, a proper constant must be added to all the pixels of the synthesized addition image to shift the range of the pixel. That is, add -64 to all pixels of the sum image so that 255 + 64 is equal to or smaller than 255.

마찬가지로 예를 들어서 단계1-3에서 구한 파랑 성분 영상의 픽셀 범위가 0~60 이고 qr코드 영상의 픽셀 범위가 -64~64이라면 두 영상을 더해서 합성된 영상의 픽셀 범위는 (0-64) ~ (60+64)이된다. 회색 영상의 최소 밝기는 0이고 합성된 픽셀 값의 최소값 (0-64)는 그 범위를 벗어나므로 적당한 상수를 덧셈 영상의 모든 픽셀에 더해 픽셀의 범위를 평행이동 시켜야 한다. 즉 0-64 가 0 보다 같거나 크게 되도록 모든 픽셀에 64를 더해주면 된다. For example, if the pixel range of the wave component image obtained in step 1-3 is 0 ~ 60 and the pixel range of the qr code image is -64 ~ 64, then the range of the synthesized image is 0-64 ~ (60 + 64). Since the minimum brightness of the gray image is 0 and the minimum value (0-64) of the synthesized pixel value is out of the range, a suitable constant must be added to all the pixels of the addition image to translate the pixel range. That is, add 64 to all pixels so that 0-64 is greater than or equal to zero.

(단계1-6)단계1-1에서 생성한 빨강 성분 영상과 녹색 성분 영상 그리고 단계1-4에서 합성한 새로운 파랑 성분 영상으로 구성된 새로운 칼라 영상을 생성한다. 그러면 그 새로운 칼라 영상이 본 발명에 의한 반투명 qr코드 영상이다.  (Step 1-6) A new color image composed of the red component image and the green component image generated in Step 1-1 and the new wave component image synthesized in Step 1-4 is generated. Then, the new color image is a translucent qr code image according to the present invention.

이 경우 만약 녹색 성분 영상 또는 빨강 성분 영상이 지나치게 밝거나 콘트라스트가 강하면 밝기 또는 콘트라스트를 줄인 후 합성하는 것이 합성된 영상에서 qr코드를 검출하는데 유리하다. 또한 상기 (단계1-1)에서 구한 파랑 성분 영상의 특정 부분에 콘트라스트가 지나치게 큰 경우(즉 너무 밝은 영역과 너무 어두운 영역이 접하는 경우)에는 그 영역만 콘트라스트를 더 많이 줄이는 것도 가능하다. 예를 들어서 그 부분만 히스토그램 평활화를 한 영상으로 대체할 수도 있다. 이 경우 히스토그램 평활화 알고리즘으로 콘트라스트가 제한된 적응적 히스토그램 평활화(contrast limited adaptive histogram equalization (CLAHE) , https://en.wikipedia.org/wiki/Adaptive_histogram_equalization)또는 그와 유사한 방법을 사용 할 수도 있다. 그리고 히스토그램 평활화 대신 가우시안 블러(gaussian blur)와 같은 다른 영상처리를 통해 영상의 콘트라스트를 변화시킬 수도 있다.In this case, if the green component image or the red component image is excessively bright or the contrast is strong, it is advantageous to detect the qr code in the synthesized image after reducing the brightness or contrast. Further, when the contrast is excessively large in a specific part of the blue component image obtained in step 1-1 (i.e., when a too bright area and a too dark area are in contact with each other), it is also possible to further reduce the contrast only in that area. For example, only that part can be replaced with a histogram smoothed image. In this case, the histogram smoothing algorithm may use contrast-limited adaptive histogram equalization (CLAHE), https://en.wikipedia.org/wiki/Adaptive_histogram_equalization , or a similar method. Instead of histogram smoothing, the contrast of the image may be changed through other image processing such as gaussian blur.

이러한 반투명 qr코드 영상은 종이에 칼라로 인쇄되거나 LCD또는 빔프로젝터와 같은 칼라 디스플레이에 출력될 수 있고 그 출력 영상을 스마트폰의 카메라로 촬영하고 그 촬영된 영상을 스마트폰의 영상처리 프로그램에서 분석하여 다음과 같이 qr코드 영상과 배경 영상을 검출 할 수 있다.This translucent qr code image can be printed on a paper in color or output to a color display such as an LCD or a beam projector, and the output image is photographed with a camera of a smartphone, and the photographed image is analyzed in a smartphone image processing program Qr code image and background image can be detected as follows.

(단계2-1)반투명 qr코드 칼라 영상을 칼라 카메라로 촬영한다.(Step 2-1) A semi-transparent qr code color image is photographed with a color camera.

(단계2-2)촬영된 칼라 영상을 삼원색 성분 영상 3개로 분해한다. 즉 촬영된 영상의 빨강 성분 영상, 녹색 성분 영상 그리고 파랑 성분 영상을 생성한다.(Step 2-2) The captured color image is decomposed into three primary color component images. That is, a red component image, a green component image, and a blue component image of the photographed image are generated.

(단계2-3)단계2-2에서 생성한 빨강 성분 영상과 녹색 성분 영상의 대응되는 픽셀값을 합성한 값(가중 평균한것)을 새로운 합성 영상의 픽셀값으로 하는 합성 영상을 생성한다. 예를 들어서 빨강 성분 영상에서 위치가(x,y)인 픽셀값을 R(x,y)라 하고 녹색 성분 영상에서 위치가(x,y)인 픽셀값을 G(x,y)라 하고 하면 합성된 영상에서 위치가 (x,y)인 지점의 픽셀값은 R(x,y)*w1 + G(x,y)*w2 이다. 여기서 w1,w2는 가중 평균 합성 계수로 0 <= w1+w2 <=1 이다. (*는 곱셈을 의미한다) 삼원색 중 녹색의 감도가 가장 크므로 녹색의 가중치를 더 크게 하는 것이 바람직하다. 즉, w1 < w2 로 하는 것이 바람직하다.(Step 2-3) A composite image is generated in which the value obtained by combining the pixel values of the red component image and the green component image generated in Step 2-2 (weighted average) is used as the pixel value of the new composite image. For example, if a pixel value whose position is (x, y) in the red component image is R (x, y) and a pixel value whose position is (x, y) in the green component image is G The pixel value at the position (x, y) in the synthesized image is R (x, y) * w1 + G (x, y) * w2. Where w1 and w2 are weighted average composite coefficients, 0 <= w1 + w2 <= 1. (* Means multiplication) It is preferable to make the weight of green larger because the sensitivity of green is the highest among the three primary colors. That is, it is preferable that w1 < w2.

구체적인 w1,w2 값은 여러 가지 w1,w2 값을 사용해서 본 단계들(단계2-1~ 단계2-6)을 거쳐서 qr코드를 검출해본 결과를 보고 검출이 가장 잘되는 w1,w2 값을 선택하는 것이 바람직하다.예를 들면 w1=1/6,w2=1/3 인 값을 사용할 수 있다.Concrete w1 and w2 values are obtained by detecting the qr code through these steps (steps 2-1 to 2-6) using various w1 and w2 values, and selecting the w1 and w2 values with the best detection For example, a value of w1 = 1/6 and w2 = 1/3 can be used.

(단계2-4)단계2-2에서 생성한 파랑 성분 영상에서 단계2-3에서 합성한 영상을 뺀 차분 영상을 구한다. 여기서 차분 영상은 대응되는 두 입력 영상의 픽셀 값을 뺀 값을 픽셀 값으로 하는 영상이다. 예를 들어서 두 입력 영상을 I1,I2라 하고 그 두 영상의 차분 영상을 D라 하면 위치(x,y)에서 차분 영상D의 픽셀 값D(x,y)은 위치(x,y)에서 I1의 픽셀값에서 위치(x,y)에서 I2의 픽셀값을 뺀 값I1(x,y)-I2(x,y)이 된다. 이렇게 차분을 해주는 이유는 이미지 센서의 파랑 칼라 필터가 파랑색 빛을 통과시킬 뿐만 아니라 약간의 빨강 빛과 약간의 녹색 빛도 통과시키기 때문에 촬영된 영상의 파랑 성분 영상에 희미하게 보이는 빨간 색 사물과 녹색 사물 영상(잡음)을 지우기 위함이다. 또는 카메라의 자동 백색 조정 기능(auto white balance) 때문에 원래 색이 다른 색으로 바뀌어 촬영될 수 도 있기 때문이다. 이와 같은 차분을 거치면 파랑 색 성분 영상에는 순수하게 파랑색 사물과 합성된 qr코드 영상만 남게 된다. (Step 2-4) A difference image obtained by subtracting the image synthesized in Step 2-3 from the wave component image generated in Step 2-2 is obtained. Here, the difference image is a pixel value obtained by subtracting the pixel value of the corresponding two input images. For example, if the two input images are denoted as I1 and I2 and the differential image of the two images is denoted as D, the pixel value D (x, y) of the differential image D at position (x, y) (X, y) -I2 (x, y) obtained by subtracting the pixel value of I2 from the position (x, y) The reason for this difference is that the blue color filter of the image sensor not only passes the blue light but also passes some red light and a little green light so that the red component of the captured image and the red This is to erase the object image (noise). Or because the camera's auto white balance function can cause the original color to change to a different color. Through such a difference, only the blue color image and the pure qr code image combined with the blue color image remain.

(단계2-5)상기 단계2-4에서 구한 차분 영상을 이치화해서 qr코드 영상을 생성한다. 상기 단계2-4에서 구한 차분 영상은 파란색 사물의 밝기 범위(60)는 상기 반투명 qr코드 생성 단계(1-1)~단계(1-6)에서 qr코드 영상의 밝기 범위(128)보다 크지 않도록 조정해서 합성한 것이므로 이러한 영상을 이치화 (binarize)하면 qr코드 영상을 쉽게 구할 수 있다. 이러한 밝기 범위값(60,128)은 설명의 편의를 위한 하나의 예일 뿐이므로 실제 구현할 때는 다른 값을 사용해도 무방하다.(Step 2-5) The difference image obtained in Step 2-4 is binarized to generate a qr code image. In the difference image obtained in the step 2-4, the brightness range 60 of the blue object is not larger than the brightness range 128 of the qr code image in the translucent qr code generation steps (1-1) to (1-6) And binarize these images so that a qr code image can be obtained easily. Since these brightness range values (60, 128) are only one example for convenience of explanation, other values may be used in actual implementation.

(단계2-6) 상기 단계2-4에서 구한 차분 영상에서 상기 단계2-5에서 구한 qr코드 영상에 적당한 가중치를 곱해 어둡게 조절한 후 뺀 차분 영상을 구하면 이는 qr코드가 제거된 배경 영상의 파란색 성분 영상이 된다. 이러한 파란색 성분 영상의 밝기를 적당히 증가시킨 것과 단계 2-2에서 구한 빨강과 녹색 성분 영상으로 된 칼라 영상을 합성하면 이는 qr코드가 제거된 배경 영상이 된다.(Step 2-6) In the difference image obtained in Step 2-4, the qr code image obtained in Step 2-5 is multiplied by an appropriate weight to obtain a subtracted difference image, which is obtained by subtracting the qr code from the blue Component image. When the color image of the blue component image is appropriately increased and the color image of the red and green component image obtained in the step 2-2 is synthesized, the background image is obtained by removing the qr code.

상기 단계(2-1)~(2-6)을 수행한 결과 qr코드 영상을 검출하지 못했다면 이는 (단계1-1)의 보통의 칼라 배경 영상의 밝기 변화가 심하기 때문이다.(즉 영상의 콘트라스트가 지나치게 강하기 때문이다) 이 경우는 배경 영상의 밝기 변화가 적도록 조정한 후 반투명 qr코드 영상을 합성하면 된다. 예를 들어서 (단계1-1)의 보통의 칼라 배경 영상의 빨강과 녹색 성분 영상을 상기 단계(1-3)과 같은 과정을 거쳐서 밝기 변화폭을 줄여서 반투명 qr코드 영상을 합성하는 것이 바람직하다.If the qr code image is not detected as a result of the steps (2-1) to (2-6), the change in brightness of the normal background image in step 1-1 is significant. In this case, it is necessary to adjust the brightness of the background image so that the brightness of the background image is small, and then combine the semi-transparent qr code image. For example, it is preferable that the translucent qr code image is synthesized by reducing the brightness variation width of the red and green component images of the normal color background image (step 1-1) through the same process as step (1-3).

상기한 설명에서 배경 영상의 파랑 성분 영상에 qr코드 영상을 합성한 이유는 파랑이 사람 눈에 가장 감도가 낮기 때문에 합성된 영상에서 qr코드가 가장 눈에 띄지 않기 때문이다. 즉 파랑 성분 영상에 qr코드를 합성하는 것이 합성된 영상을 사람이 눈으로 봤을 때 배경 영상은 가장 원본 영상과 유사하고 qr코드 영상은 가장 희미하기 때문이다. In the above description, the qr code image is synthesized with the blue component image of the background image because the blue is the least sensitive to the human eye, so that the qr code is not conspicuous in the synthesized image. That is, when the human eye sees the synthesized image of synthesizing the qr code with the blue component image, the background image is similar to the original image, and the qr code image is the faintest.

상기한 보통 배경 영상에 합성하는 qr코드 영상 대신 임의의 다른 마크 영상을 사용해도 무방하다. 예를 들어서 로고, 아이콘, 증강현실용 마커,바코드 또는 글자 등의 이미지를 qr코드 영상 대신 사용해서 합성해도 무방하다.An arbitrary other mark image may be used instead of the qr code image to be synthesized with the normal background image. For example, an image such as a logo, an icon, a marker for augmented reality, a barcode, or a letter may be synthesized by using it instead of a qr code image.

이러한 합성된 영상을 상기한 방법으로 분석하여 마커나 qr코드를 검출하여 카메라와 qr코드 또는 마커 사이의 3차원 상대위치와 방향을 계산해서 원근감 있게 가상 객체를 촬영된 영상에 합성하는 비디오 시 쓰루 (video see through) 방식의 증강 현실 시스템을 구성할 수 있다. 이때 촬영된 영상에서 qr코드나 마커를 지우고 가상 객체를 합성하는 것이 바람직하다. 사용자는 합성된 가상 객체의 영상의 배경에 qr코드나 마커가 지워져서 보이지 않으므로 더 자연스러운 가상 현실 영상을 볼 수 있다. 이러한 시스템은 스마트폰의 카메라를 사용하여 구성될 수도 있고 안경형 디스플레이에 부착된 카메라를 사용하여 구성될 수도 있다.The synthesized image is analyzed by the above method to detect a marker or a qr code, and a three-dimensional relative position and direction between the camera and the qr code or marker is calculated, and the video object video see through) augmented reality system. At this time, it is preferable to delete the qr code or marker from the photographed image and synthesize the virtual object. The user can see a more natural virtual reality image since the qr code or markers are not visible in the background of the synthesized virtual object image. Such a system may be configured using a camera of a smart phone or may be configured using a camera attached to a spectacular display.

이러한 청색의 qr코드 또는 마커를 광학적 시 쓰루 방식(optical see through)의 증강 현실 시스템(예를 들면 마이크로소프트사의 홀로렌즈 시스템이나 구글 글라스)에 사용하려면 시선 방향을 촬영하는 카메라가 포함된 안경형 디스플레이에 노랑색 필터(적색과 녹색을 통과시키고 청색을 차단하는 필터)를 부착하면 된다. 이때 카메라 앞에는 노랑색 필터를 부착하면 안된다. 즉 노랑색 필터는 안경형 디스플레이 착용자의 눈 앞에만 설치해야 한다. 노랑 필터는 청색 성분의 qr코드 영상을 차단하는 역할을 한다. 이때 완전한 노랑보다는 약간의 청색도 통과시키는 필터를 사용하면 좀더 자연스런 칼라를 볼 수 있어서 바람직하다. To use these blue qr codes or markers in an optical see through augmented reality system (such as Microsoft's holographic lens system or Google Glass), you can use a spectacular display You can attach a yellow filter (a filter that passes red and green and blocks blue). Do not attach a yellow filter in front of the camera. That is, the yellow filter should be installed only in front of the wearer of the eyeglass type display. The yellow filter serves to block the blue component of the qr code image. At this time, it is preferable to use a filter that passes a little blue color rather than full yellow color, so that a more natural color can be seen.

이러한 노랑색 필터 안경은 평소에는 투명 상태이고 카메라로 촬영한 영상에서 청색 qr코드가 검출된 경우에는 노랑으로 변색되는 가변 필터인 것이 바람직하다. 이러한 가변색 필터는 예를 들어서 LCD방식의 투명 디스플레이로 구현 할 수 있다. 또한 노랑색으로 변하는 부분은 착용자의 시야 중에서 qr코드가 차지하는 영역만 변하게 하는 것이 바람직하다. It is preferable that such a yellow filter eyeglass is a variable filter that is normally transparent and changes color to yellow when a blue qr code is detected in an image taken by a camera. Such a variable color filter can be implemented, for example, as an LCD-type transparent display. It is also preferable that the portion changing to yellow color changes only the area occupied by the qr code in the wearer's field of view.

이러한 청색 qr코드는 예를 들어서 방의 벽면, 천정과 바닥면에 촘촘히 다수 부착하고 안경형 디스플레이를 착용함으로써 방 안 전체에 증강 현실을 구현 할 수 있다. 또한 청소로봇과 같은 로봇의 카메라로 qr코드를 인식하여 자신의 위치를 인식하여 자율 주행을 할 수도 있다. 이러한 청색 qr코드는 기존의 검정 qr코드보다 사람 눈에 덜 띄므로 맨눈인 사람에게 시각적 불편함을 완화시킬 수 있다. 또한 보통의 사진이나 그림에 청색 qr코드를 반투명하게 합성하면 qr코드를 더 감출 수 있다.Such a blue qr code can be attached to a wall, a ceiling and a floor of the room, for example, and augmented reality can be implemented in the entire room by wearing a spectacular display. In addition, a robot camera such as a cleaning robot recognizes the qr code and recognizes its own position so that it can run autonomously. This blue qr code is less noticeable than the conventional black qr code, so it can alleviate visual discomfort to the naked eye. You can also hide the qr code by composing translucent blue qr code into a normal picture or picture.

실시예2Example 2

상기 실시예1에서 생성한 반투명 qr코드영상의 특정 칼라성분 영상(예를 들면 청색 성분 영상)은 qr코드 영상과 보통 영상의 청색 성분 영상의 합성 영상이다. 그리고 그러한 반투명 qr코드영상의 특정 칼라성분을 제외한 나머지 칼라 성분 영상(예를 들면 적색과 녹색 성분 영상)은 보통 영상이다. 이러한 반투명 qr코드영상(이를 본 실시예에서는 제2영상이라 한다.)에 사용된 qr코드 영상의 반전된 영상(흑백이 바뀐 영상,negative image)을 특정 칼라성분 영상(예를 들면 청색 성분 영상)으로 포함하는 영상(이를 본 실시예에서는 제1영상이라 한다.)을 생성할 수 있다. 이러한 제1영상의 특정 칼라성분 영상의 나머지 칼라 성분 영상(예를 들면 적색과 녹색 성분 영상)의 픽셀 값은 모두 0으로 한다. 즉 제1영상은 청색 영상이고 그 내용은 흑백 반전된 qr코드인 영상이다. 이러한 제1영상과 제2 영상을 번갈아 빠르게 디스플레이에 출력하면 사람은 qr코드 영상을 볼 수 없고 보통 영상만 볼 수 있다. 그러나 고속 카메라로 이러한 디스플레이를 촬영하면 qr코드 영상을 촬영할 수 있고 영상 처리 수단으로 qr코드를 검출 할 수 있다.The specific color component image (for example, blue component image) of the translucent qr code image generated in the first embodiment is a composite image of the qr code image and the blue component image of the normal image. And other color component images (for example, red and green component images) other than the specific color component of such translucent qr code image are normal images. (Inverted image, negative image) of the qr code image used in the translucent qr code image (which is referred to as a second image in this embodiment) is converted into a specific color component image (for example, a blue component image) (This is referred to as a first image in this embodiment). The pixel values of the remaining color component images (for example, red and green component images) of the specific color component image of the first image are all zero. That is, the first image is a blue image, and the content thereof is a qr code that is inverted in black and white. If the first image and the second image are alternately displayed on the display, a person can not see the qr code image and can only view the normal image. However, when such a display is photographed with a high-speed camera, the qr code image can be photographed and the qr code can be detected by the image processing means.

촬영된 영상에서 qr코드를 검출하는 것은 상기 실시예1에서 설명한 방법과 동일하다. 즉 촬영된 영상의 파랑 성분 영상을 이치화해서 qr코드 영상을 구할 수 있다. The method of detecting the qr code in the photographed image is the same as that described in the first embodiment. In other words, the qr code image can be obtained by binarizing the wave component image of the photographed image.

이러한 사람 눈에 안보이는 qr코드는 tv화면에 출력하여 사용자가 스마트폰으로 그 qr코드를 촬영하여 현재 방송중인 프로그램에 관련된 정보를 얻을 수도 있다. 예를 들어 현재 방송중인 화면에 보여지는 상품에 관련된 정보를 얻을 수 도 있다. tv화면에 출력될 원래의 동영상의 각 프레임 영상을 배경 영상으로 하여 qr코드와 매 순간 마다 합성하여 tv화면에 출력하면 동영상을 배경으로 증강 현실 영상을 합성 할 수 있다. 이는 기존의 증강현실 영상이 정지 영상을 배경으로하는 것보다 우수한 기능이다. 예를 들면 tv속 상어가 화면 밖으로 튀어나오는 영상을 증강 현실 영상으로 합성 할 수도 있다.The qr code, which is not visible to such a person, can be output to a TV screen so that the user can photograph the qr code on a smart phone to obtain information related to the program currently being broadcast. For example, you can get information related to the products that are displayed on the current screen. Each frame image of the original moving image to be outputted on the TV screen is combined with the qr code every moment as a background image, and output to the TV screen, so that the augmented reality image can be synthesized on the basis of the moving image. This is superior to the existing augmented reality image with still image as background. For example, an image in which a shark in a TV jumps out of the screen may be synthesized into an augmented reality image.

본 실시예는 본 발명의 발명인의 이전 특허인 대한민국 특허 등록번호 10-2012-0109581 호 '스테레오 영상기반 영상처리 시스템 '과 유사하지만 본 실시예의 마크는 사람 눈에 보이지 않는 장점이 있다. 이에 비해 상기 등록번호 10-2012-0109581 호의 기술은 마크 영상과 보통영상을 번갈아 출력하기 때문에 맨눈으로 화면을 보면 마크가 보통 영상을 가린다는 문제가 있다.This embodiment is similar to the 'Stereo image-based image processing system' of Korean Patent Registration No. 10-2012-0109581, which is a prior patent of the inventor of the present invention, but the mark of this embodiment has an advantage that it is invisible to the human eye. On the other hand, the technique of Registration No. 10-2012-0109581 has a problem in that the mark image normally covers the normal image because the mark image and the normal image are outputted alternately.

실시예3Example 3

상기 실시예2의 제1영상과 제2 영상을 편광 방식의 3차원 디스플레이에 각각 오른쪽 눈에 보여질 영상과 왼쪽 눈에 보여질 영상으로 출력할 수 있다. The first image and the second image of the second embodiment can be output to the right eye and the left eye, respectively, on the three-dimensional display of the polarization scheme.

편광 방식의 3차원 디스플레이는 디스플레이 화면을 다수의 가느다란 수평선 영역으로 나누고 짝수 번째 영역과 홀 수 번째 영역에 각각 서로 다른 편광 필터를 부착한 형태이다. 이러한 디스플레이에 짝수 번째 영역에는 오른쪽 눈에 보여질 영상을 출력하고 홀 수 번째 영역에는 왼쪽 눈에 보여질 영상을 출력하고 좌우측 눈에 각각 서로 다른 편광 필터의 안경을 착용하면 좌우측 눈에 서로 다른 영상을 볼 수 있다.The polarizing type three-dimensional display has a display screen divided into a plurality of slender horizon lines, and different polarizing filters are attached to the even-numbered areas and the odd-numbered areas, respectively. In this display, the image to be displayed in the right eye is output to the even-numbered region, the image to be displayed in the left eye is outputted in the hole-numbered region, and different polarizing filter glasses are attached to the left and right eyes, can see.

편광방식의 3d디스플레이의 다른 예로 3d 극장에 사용하는 빔프로젝터가 있다. 이러한 빔 프로젝터는 스테레오 영상의 좌우측 눈에 보여질 영상을 서로 다른 편광으로 번갈아 스크린에 투사하는 방식이다. 이러한 빔 프로젝터를 통해 상기 실시예2의 제1영상과 제2영상을 번갈아 서로 다른 편광으로 스크린에 투사할 수 있다. Another example of a polarized 3d display is a beam projector for use in 3d theaters. These beam projectors project images to be displayed on the left and right eyes of the stereo image alternately with different polarizations on the screen. The first image and the second image of the second embodiment can be alternately projected on the screen with different polarizations through the beam projector.

카메라 렌즈 앞에 제1영상의 편광만 통과시키는 편광 필터를 부착하여 이러한 편광 방식의 3d 화면을 촬영하면 제1영상의 qr코드를 쉽게 검출 할 수 있다. 편광 안경을 착용하지 않은 사람은 제1영상과 제2영상을 모두 보게 되므로 qr코드 영상을 볼 수 없다. 즉 편광 안경을 착용하지 않은 사람은 qr코드가 없는 원래의 보통 영상만 볼 수 있다.It is possible to easily detect the qr code of the first image by attaching a polarizing filter which passes only the polarized light of the first image in front of the camera lens and photographing the 3d screen of this polarization method. A person who does not wear polarized glasses can see both the first image and the second image and can not see the qr code image. That is, a person who does not wear polarized glasses can only see the original normal image without the qr code.

OI : 보통의 칼라 영상
QI :QR코드 영상
4Q :합성된 반투명 QR코드 영상
OI: Normal color image
QI: QR code image
4Q: Synthetic translucent QR code image

Claims (7)

마크 영상과 배경 영상을 포함하는 반투명 마크 영상 생성 장치에 있어서
마크 영상의 경계선의 콘트라스트가
배경 영상의 특정 칼라 성분 영상의 경계선의 콘트라스트보다 크도록 조절하는 콘트라스트 조절 수단;
상기 콘트라스트가 조절된
마크 영상과 배경 영상의 특정 칼라 성분 영상의 덧셈 영상을 생성하는 덧셈 영상 생성 수단;
상기 덧셈 영상과 배경 영상의 나머지 칼라 성분 영상을 칼라 성분 영상으로 하는
칼라 영상을 생성하는 칼라 영상 생성 수단을 포함하되 상기 배경 영상의 특정 칼라 성분 영상의 경계선은 상기 마크 영상의 경계선으로부터 임계 거리 이내에 분포하는 경계선이고
상기 임계 거리는 마크 영상의 경계선의 쎌의 가로 크기 또는 세로 크기 중 작은 것의 절반 이상인 것을 특징으로하는 반투명 마크 영상 생성 장치.
In a translucent mark image generation apparatus including a mark image and a background image
If the contrast of the border line of the mark image is
Contrast adjusting means for adjusting the contrast of the background image to be larger than the contrast of the boundary line of the specific color component image;
When the contrast is adjusted
An addition image generating means for generating an addition image of a specific color component image of a mark image and a background image;
The color component image of the addition image and the background image is converted into a color component image
And a color image generating means for generating a color image, wherein a boundary line of a specific color component image of the background image is a boundary line distributed within a critical distance from a boundary line of the mark image
Wherein the critical distance is at least half of a horizontal size or a vertical size of a cell at a border of a mark image, whichever is smaller.
제 1항에 있어서 상기 특정 칼라는 삼원색 중 하나인 것을 특징으로 하는 반투명 마크 영상 생성 장치.The apparatus of claim 1, wherein the specific color is one of three primary colors. 제 1항에 있어서
상기 반투명 마크 영상의 특정 칼라가 아닌 나머지 나머지 칼라 성분 영상이 포함하는 마크 영상의 콘트라스트는
상기 반투명 마크 영상의 특정 칼라가 아닌 나머지 나머지 칼라 성분 영상이 포함하는 보통 영상의 콘트라스트보다 작거나
상기 반투명 마크 영상의 특정 칼라가 아닌 나머지 나머지 칼라 성분 영상에는 마크 영상이 포함되지 않는
것을 특징으로하는 반투명 마크 영상 생성 장치.
The method of claim 1, wherein
The contrast of the mark image included in the remaining color component images other than the specific color of the translucent mark image is
The contrast of the normal image included in the remaining color component images other than the specific color of the translucent mark image
The remaining color component images other than the specific color of the semitransparent mark image do not include the mark image
Wherein the translucent mark image generating device comprises:
배경 영상의 특정 칼라 성분 영상의 콘트라스트가 마크 영상의 콘트라스트보다 크지 않도록 조절하는 단계;
상기 콘트라스트가 조절된 배경 영상의 특정 칼라 성분 영상과 마크 영상의 덧셈 영상을 생성하는 덧셈 영상 생성 단계;
상기 덧셈 영상의 밝기 또는 콘트라스트를 인쇄 가능 또는 디스플레이에 출력 가능한 범위로 조절하는 단계;
상기 단계의 밝기 또는 콘트라스트를 인쇄 가능 또는 디스플레이에 출력 가능한 범위로 조절한 영상과 배경 영상의 나머지 칼라 성분 영상을 칼라 성분영상으로하는 칼라 영상을
생성하는 칼라 영상 생성 단계;
를 포함하는 반투명 마크 영상 합성 방법.
Adjusting the contrast of the specific color component image of the background image to be not larger than the contrast of the mark image;
An additive image generation step of generating an additive image of a specific color component image and a mark image of the contrast-adjusted background image;
Adjusting the brightness or contrast of the addition image to a range that can be printed or displayed on a display;
A color image in which the brightness or contrast of the step is adjusted to a printable or displayable output range and the remaining color component images of the background image are color component images
Generating a color image;
And a translucent mark image.
제 4항에 있어서
상기 마크 영상의 픽셀값의 최대값과 최소값은 절대값이 같고 부호가 다른 값인 것을 특징으로하는
반투명 마크 영상 합성 방법.
The method of claim 4, wherein
Wherein a maximum value and a minimum value of pixel values of the mark image are equal in absolute value and different in sign,
Translucent mark image synthesis method.
마크 영상과 배경 영상을 포함하되 마크 영상은 특정 칼라성분 영상으로 포함하는 반투명 마크 영상의 특정 칼라 성분 영상을 추출하는 단계
상기 추출된 특정 칼라 성분 영상을 이치화하는 단계를 포함하는 것을 특징으로하는 반투명 마크 검출 방법.
Extracting a specific color component image of a translucent mark image including a mark image and a background image but including a mark image as a specific color component image
And binarizing the extracted specific color component image.
제 7항에 있어서
특정 칼라 성분 영상을 추출하는 단계는
특정 칼라 성분 영상에서 상기 특정 칼라 성분 영상을 제외한 칼라 성분 영상을 어둡게 조절한 영상을 뺀 영상을 구하는 것을 포함하는 것을
특징으로하는 반투명 마크 검출 방법.
The method of claim 7, wherein
The step of extracting the specific color component image
And obtaining an image obtained by subtracting an image obtained by darkening the color component image excluding the specific color component image from the specific color component image
Wherein the translucent mark detection method comprises:
KR1020170059079A 2014-10-27 2017-05-12 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark KR101913035B1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
KR20140146512 2014-10-27
KR1020140146512 2014-10-27
KR20140155756 2014-11-10
KR1020140155756 2014-11-10
KR1020140189216 2014-12-25
KR20140189216 2014-12-25

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020150148734A Division KR20160049494A (en) 2014-10-27 2015-10-26 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020180114544A Division KR20180109793A (en) 2014-10-27 2018-09-25 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark

Publications (2)

Publication Number Publication Date
KR20170057202A true KR20170057202A (en) 2017-05-24
KR101913035B1 KR101913035B1 (en) 2018-10-29

Family

ID=55857814

Family Applications (4)

Application Number Title Priority Date Filing Date
KR1020150148734A KR20160049494A (en) 2014-10-27 2015-10-26 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark
KR1020170034157A KR101770110B1 (en) 2014-10-27 2017-03-18 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark
KR1020170059079A KR101913035B1 (en) 2014-10-27 2017-05-12 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark
KR1020180114544A KR20180109793A (en) 2014-10-27 2018-09-25 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark

Family Applications Before (2)

Application Number Title Priority Date Filing Date
KR1020150148734A KR20160049494A (en) 2014-10-27 2015-10-26 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark
KR1020170034157A KR101770110B1 (en) 2014-10-27 2017-03-18 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark

Family Applications After (1)

Application Number Title Priority Date Filing Date
KR1020180114544A KR20180109793A (en) 2014-10-27 2018-09-25 Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark

Country Status (5)

Country Link
US (1) US10043120B2 (en)
JP (1) JP6704910B2 (en)
KR (4) KR20160049494A (en)
CN (1) CN107077630B (en)
WO (1) WO2016068560A1 (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016065661A1 (en) * 2014-10-30 2016-05-06 崔明 Four dimensional code, and four dimensional code-based image recognition system and method, and retrieval system and method
US20170061700A1 (en) * 2015-02-13 2017-03-02 Julian Michael Urbach Intercommunication between a head mounted display and a real world object
US10477036B2 (en) * 2016-04-14 2019-11-12 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
CN106057067B (en) * 2016-06-01 2019-04-09 浙江工业大学 A kind of translucent identification method for augmented reality
KR102131895B1 (en) * 2017-01-31 2020-07-08 리마 주식회사 Method and program for tracking replicated webtoon
CN106991462B (en) * 2017-03-13 2018-04-17 三维码(厦门)网络科技有限公司 Three-dimensional code generating method
KR20200124676A (en) 2018-01-26 2020-11-03 유니버시테이트 드 바르셀로나 Color correction
CN108596916B (en) * 2018-04-16 2021-02-26 深圳市联软科技股份有限公司 Watermark identification method, system, terminal and medium with similar colors
CN110633773B (en) * 2018-06-22 2022-04-12 北京京东尚科信息技术有限公司 Two-dimensional code generation method and device for terminal equipment
US10445899B1 (en) * 2018-11-26 2019-10-15 Capital One Services, Llc System and method for recalibrating an augmented reality experience using physical markers
US10496862B1 (en) 2019-03-18 2019-12-03 Capital One Services, Llc Detection of images in relation to targets based on colorspace transformation techniques and utilizing ultraviolet light
US10534948B1 (en) 2019-03-18 2020-01-14 Capital One Services, Llc Optimizing detection of images in relation to targets based on colorspace transformation techniques
US10509991B1 (en) 2019-03-18 2019-12-17 Capital One Services, Llc Detection of images in relation to targets based on colorspace transformation techniques and utilizing infrared light
US10496911B1 (en) * 2019-03-18 2019-12-03 Capital One Services, Llc Detection of images in relation to targets based on colorspace transformation techniques and utilizing ultraviolet and infrared light
US10523420B1 (en) 2019-04-18 2019-12-31 Capital One Services, Llc Transmitting encoded data along transmission mediums based on colorspace schemes
US10504013B1 (en) 2019-04-24 2019-12-10 Capital One Services, Llc Colorspace encoding multimedia data on a physical page
US10529300B1 (en) 2019-06-20 2020-01-07 Capital One Services, Llc Adaptive image display based on colorspace conversions
US10614635B1 (en) 2019-07-25 2020-04-07 Capital One Services, Llc Augmented reality system with color-based fiducial marker
CN110475079A (en) * 2019-09-10 2019-11-19 上海快仓智能科技有限公司 A kind of image exposure luminance regulating method, system and associated component
US10833852B1 (en) 2019-10-03 2020-11-10 Capital One Services, Llc Encoded data along tape based on colorspace schemes
US10715183B1 (en) 2019-10-25 2020-07-14 Capital One Services, Llc Data encoding with error-correcting code pursuant to colorspace schemes
US10867226B1 (en) 2019-11-04 2020-12-15 Capital One Services, Llc Programmable logic array and colorspace conversions
US10762371B1 (en) 2019-11-14 2020-09-01 Capital One Services, Llc Object detection techniques using colorspace conversions
US10878600B1 (en) 2019-12-10 2020-12-29 Capital One Services, Llc Augmented reality system with color-based fiducial marker utilizing local adaptive technology
CN113469200A (en) 2020-03-30 2021-10-01 阿里巴巴集团控股有限公司 Data processing method and system, storage medium and computing device
US11302036B2 (en) 2020-08-19 2022-04-12 Capital One Services, Llc Color conversion between color spaces using reduced dimension embeddings

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002240387A (en) 2000-12-12 2002-08-28 Ricoh Co Ltd Imaging method, imaging apparatus and image information management system
JP4014602B2 (en) * 2004-03-30 2007-11-28 下本 唱司 Image generation method and program including two-dimensional code
US20090057420A1 (en) * 2005-04-06 2009-03-05 Content Idea Of Asia Co., Ltd. Clear Two-Dimensional Code, Article Having Clear Two-Dimensional Code Attached Thereto, Method for Printing Two-Dimensional Code and Method For Displaying Two-Dimensional Code
JP4863346B2 (en) * 2005-06-01 2012-01-25 Kddi株式会社 Color image superimposed barcode generation method and apparatus
WO2010055774A1 (en) * 2008-11-17 2010-05-20 日本電気株式会社 Communication system and receiver
JP2010182336A (en) * 2010-05-10 2010-08-19 Digital Information Technologies Kk Code pattern image data generation device and medium with code pattern
KR101435594B1 (en) * 2010-05-31 2014-08-29 삼성전자주식회사 Display apparatus and display mehod thereof
US8727220B2 (en) 2011-08-08 2014-05-20 Spinlabel Technologies, Inc. Machine readable information interface for a container
US9152903B2 (en) * 2011-11-04 2015-10-06 Ebay Inc. Automated generation of QR codes with embedded images

Also Published As

Publication number Publication date
CN107077630A (en) 2017-08-18
US10043120B2 (en) 2018-08-07
US20170316297A1 (en) 2017-11-02
WO2016068560A1 (en) 2016-05-06
KR20170034834A (en) 2017-03-29
CN107077630B (en) 2020-06-23
JP2018500793A (en) 2018-01-11
KR20180109793A (en) 2018-10-08
KR101913035B1 (en) 2018-10-29
JP6704910B2 (en) 2020-06-03
KR101770110B1 (en) 2017-08-22
KR20160049494A (en) 2016-05-09

Similar Documents

Publication Publication Date Title
KR101913035B1 (en) Semi transparent mark, a method for composing and detecting semi transparent mark,transparent mark and a method for composing and detecting transparent mark
JP5500066B2 (en) Image processing method, image processing apparatus, and program
WO2012067028A1 (en) Image input device and image processing device
US9380284B2 (en) Image processing method, image processing device and recording medium
US10636125B2 (en) Image processing apparatus and method
JP6855313B2 (en) Image display system, image display device and image display method
TWI457853B (en) Image processing method for providing depth information and image processing system using the same
CN108377374A (en) Method and system for generating depth information related to an image
US9111377B2 (en) Apparatus and method for generating a multi-viewpoint image
CN105791793A (en) Image processing method and electronic device
JP2006325173A (en) Binocular type stereoscopic display device and program
CN104813341A (en) Image processing apparatus using differential camera
KR101731113B1 (en) 2d-3d image conversion method and stereoscopic image display using the same
CN116781881A (en) Real-time three-dimensional vision imaging system based on microscope
GB2585197A (en) Method and system for obtaining depth data
TWI504936B (en) Image processing device
JP2006267767A (en) Image display device
KR101639949B1 (en) Apparatus and method for stereoscopic image post-processing with reduced visual fatigue
US20240054619A1 (en) Differently correcting images for different eyes
Jo et al. Adaptive white point extraction based on dark channel prior for automatic white balance
JP5721210B2 (en) Image projection apparatus, image processing apparatus, image processing method, image processing program, and method of using image data
Patel et al. Developing an image strengthening method for improving the contrast and colours of underwater photographs focused on haze removal
KR101550554B1 (en) Apparatus and method for stereoscopic image post-processing with reduced visual fatigue
JP2012249257A (en) Video display device, photographing device, video system, display method, information reading method, and program
US20130076733A1 (en) Image processing apparatus, image processing method, and image processing program

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
AMND Amendment
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
A107 Divisional application of patent
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant