KR102137229B1 - Electronic device for extracting fingerprinting signal from image and operating method thereof - Google Patents
Electronic device for extracting fingerprinting signal from image and operating method thereof Download PDFInfo
- Publication number
- KR102137229B1 KR102137229B1 KR1020180134582A KR20180134582A KR102137229B1 KR 102137229 B1 KR102137229 B1 KR 102137229B1 KR 1020180134582 A KR1020180134582 A KR 1020180134582A KR 20180134582 A KR20180134582 A KR 20180134582A KR 102137229 B1 KR102137229 B1 KR 102137229B1
- Authority
- KR
- South Korea
- Prior art keywords
- image data
- size
- image
- data
- rectangle
- Prior art date
Links
- 238000011017 operating method Methods 0.000 title 1
- 238000000034 method Methods 0.000 claims abstract description 41
- 238000012937 correction Methods 0.000 claims abstract description 32
- 238000004891 communication Methods 0.000 claims abstract description 23
- 230000004044 response Effects 0.000 claims abstract description 21
- 230000003287 optical effect Effects 0.000 claims abstract description 20
- 239000000284 extract Substances 0.000 claims abstract description 17
- 238000004590 computer program Methods 0.000 claims description 4
- 238000003708 edge detection Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000005192 partition Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000013075 data extraction Methods 0.000 description 2
- 230000003628 erosive effect Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000005226 mechanical processes and functions Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/16—Program or content traceability, e.g. by watermarking
-
- G06K9/00013—
-
- G06T5/002—
-
- G06T5/006—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/80—Geometric correction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/95—Pattern authentication; Markers therefor; Forgery detection
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
본 발명은 이미지에서 핑거프린트 신호를 추출하는 전자 장치 및 그의 동작 방법에 대한 것이다. 본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치는, 촬영을 위한 신호가 수신되는 것에 응답하여, 이미지 센서를 통해 외부 객체에 대한 이미지 데이터를 획득하는 광학부, 상기 이미지 데이터에서 상기 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 않을 경우, 상기 제 1 사각형이 상기 제 2 사각형과 대응되도록 상기 이미지 데이터의 원근감을 조정하는 원근 보정부, 적어도 하나의 필터를 이용하여 상기 이미지 데이터에서 노이즈 데이터를 추출하는 워터마크 신호 예측부, 상기 이미지 데이터에 대한 자기 상관(auto-correlation) 연산을 수행한 후 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔함에 있어, 상기 마스크 윈도우와 대응되는 영역들마다 상기 자기 상관 연산의 결과값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출하는 피크 검출부, 상기 검출된 피크 픽셀들 각각에 대응되는 지점들을 직선 연결하여 하나 이상의 도형들을 획득하고, 상기 획득된 도형들로부터 식별된 기울기 정보, 크기 정보 및 위치 정보에 기초하여 상기 외부 객체와 대응되는 원본 이미지 데이터 및 상기 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산하고, 상기 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 기하 변형 보정부, 상기 기울기, 크기 및 위치가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득하고, 원본 메시지를 추출하는 원본 메시지 추출부, 및 기 지정된 서버로 상기 추출된 원본 메시지를 송신하고, 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버로부터 수신하는 통신부를 포함할 수 있다.The present invention relates to an electronic device for extracting a fingerprint signal from an image and a method for operating the same. An electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document includes: an optical unit that acquires image data for an external object through an image sensor in response to a signal for photographing being received, the image In the data, if the shape and size of the first rectangle approximating the border of the external object does not correspond to the shape and size of the preset second rectangle, the perspective of the image data is such that the first rectangle corresponds to the second rectangle Perspective correction unit that adjusts, a watermark signal prediction unit that extracts noise data from the image data using at least one filter, and performs auto-correlation on the image data, and In scanning a plurality of pixels in the image data using a mask window, the pixels having the largest result value of the autocorrelation operation for each region corresponding to the mask window are peak pixels for each of the regions. A peak detector that detects as, linearly connects points corresponding to each of the detected peak pixels to obtain one or more figures, and based on the gradient information, size information, and location information identified from the obtained figures, the external object Compute the gradient difference, size difference, and position difference between the original image data corresponding to and the image data, and correct the slope, size, and position of the image data so that the calculated gradient difference, size difference, and position difference are below a threshold A geometric deformation correction unit to obtain a pre-inserted fingerprint signal from the image data whose tilt, size and position are corrected, and an original message extraction unit to extract the original message, and to transmit the extracted original message to a predetermined server And, it may include a communication unit for receiving the data corresponding to the extracted original message from the server.
Description
본 발명은 이미지에서 핑거프린트 신호를 추출하는 전자 장치 및 그의 동작 방법에 대한 것이다.The present invention relates to an electronic device for extracting a fingerprint signal from an image and a method for operating the same.
이미지, 오디오 및 비디오 등과 같은 디지털 콘텐트는 복제 및 보급이 용이하여 여러 사용자들이 공유하고 이용하기가 편리하다는 장점이 있는 반면 저작권 등 이들과 관련된 지식재산권을 보호하기가 어렵다는 단점을 가지고 있다.Digital content, such as images, audio and video, has the advantage of being easy to copy and distribute, so it is convenient for multiple users to share and use, but it has the disadvantage that it is difficult to protect intellectual property rights related to them, such as copyright.
이에 따라, 디지털 콘텐트와 관련된 지식재산권을 보호하기 위한 다양한 연구들이 진행된 바 있으며, 최근에는 디지털 콘텐트에 워터마크 기술을 적용하여 디지털 콘텐트의 지식재산권을 보호하는 것이 보편화되고 있다. 워터마크 기술은 디지털 콘텐트의 저작권 정보 등을 식별할 수 있도록 디지털 콘텐트 내 적어도 일부의 비트를 수정하여 의도된 비트 패턴을 해당 디지털 콘텐트에 삽입하는 기술을 의미한다. 디지털 콘텐트에 삽입된 비트 패턴 등 워터마크 데이터는 원 디지털 콘텐트를 훼손하지 않으면서 사용자가 시각적으로 식별할 수 있을 정도로 흐릿하게 삽입되기도 하지만, 경우에 따라 사용자가 시각적으로 식별할 수 없도록 삽입되기도 한다. 전자의 경우를 인지할 수 있는 워터마킹(perceptible watermarking), 후자의 경우를 과 인지할 수 없는 워터마킹(imperceptible watermarking)으로 분류한다. Accordingly, various studies have been conducted to protect intellectual property rights related to digital content, and recently, it has become common to protect intellectual property rights of digital content by applying watermark technology to digital content. Watermark technology refers to a technique of modifying at least a part of bits in digital content so as to identify copyright information of digital content and inserting an intended bit pattern into the digital content. Watermark data such as bit patterns embedded in digital content may be inserted blurring enough to be visually discernible to the user without compromising the original digital content, but in some cases may be inserted so that the user cannot visually discriminate. The former case is classified into perceptible watermarking, and the latter case is classified into imperceptible watermarking.
한편, 워터마크 기술은 용도에 따라 강성 워터마킹 기술, 연성 워터마킹 기술 및 핑거프린팅 기술로 구분될 수 있다. 강성 워터마킹 기술은 특정인이 콘텐츠를 불법으로 이용할 목적으로 워터마크를 고의로 훼손하거나 변형하려는 시도를 막는 데 사용되는 기술이며, 이를 위해서 원본 워터마킹을 변조하려는 외부의 시도가 있을 때 데이터의 품질이 심각하게 훼손되기 전에는 워터마크가 깨지지 않도록 설계한 워터마킹 기술이다. 연성 워터마킹 기술은 병원의 임상 사진 이미지나 관공서의 문서, 군사 기밀 문서 등의 원본 텍스트와 같이 파일의 외부 유출을 막아야 하는 경우에 사용된다. 즉 데이터에 변형을 가하면 쉽게 워터마크가 깨지면서 원본 콘텐츠도 동시에 훼손되도록 설계한 워터마킹으로, 변형여부를 검사하여 인증과 무결성을 제공하기 위한 방법으로 사용된다. 핑거프린팅 기술은 현재 사용되고 있는 '바코드'와 유사한 개념으로, 고유번호나 식별자를 콘텐츠에 삽입하는 것이다. 핑거프린팅 기술을 적용하면 누구에게 배포되었는지 알 수 있으므로 물류 사업에서 제품을 분류하는 데 활용되거나 유통 경로를 확인하는데 이용될 수 있다.Meanwhile, the watermark technology may be divided into a rigid watermarking technology, a soft watermarking technology, and a fingerprinting technology depending on the application. Rigid watermarking technology is a technology used to prevent attempts by a specific person to intentionally damage or modify a watermark for the purpose of illegally using the content. To this end, the quality of data is severe when there is an external attempt to tamper with the original watermarking. It is a watermarking technology designed to not break the watermark before it is damaged. Soft watermarking technology is used in cases where the external leakage of files should be prevented, such as the original photographic text of a hospital's clinical photographic images, government documents, or military classified documents. That is, it is a watermarking designed to damage the original content at the same time as the watermark is easily broken when the data is modified. It is used as a method to provide authentication and integrity by inspecting whether the data is modified. Fingerprinting technology is a concept similar to the currently used'bar code', and inserts a unique number or identifier into the content. By applying fingerprinting technology, it is possible to know to whom it is distributed, so it can be used to classify products in the logistics business or to check distribution channels.
본 문서에 개시된 다양한 실시 예들은 사용자가 눈으로 인지할 수 없는 핑거프린팅 기술을 이용하여 사진 또는 라벨 상에 정품인증이나 유통/물류 추적의 목적으로 데이터를 추가하는 기술과 관련되어 있다. 이와 같은 기술은 사진 또는 라벨의 적어도 일부분에 QR코드 또는 바코드를 심어 사용자에게 의도된 정보를 제공하는 방식에서 발전된 것으로 볼 수 있다. 예컨대, 종래에 많이 이용되었던 QR코드 또는 바코드는 정보를 전달하기 용이하나 위조나 복사가 쉬워 보안에 취약하다는 단점이 있었다. 본 발명은 보안성을 가진 비가시적 핑거프린팅 기법과 카메라를 통해 인식된 이미지를 이용하여 정보 전달을 할 수 있는 QR코드 기법을 융합함으로써, 안전하고 쉽게 정보를 전달하는 방법을 제안한다. Various embodiments disclosed in this document are related to a technique of adding data for the purpose of activation or distribution/logistics tracking on a photo or label using a fingerprinting technique that the user cannot recognize. Such a technique can be regarded as developed in a manner of providing a user with intended information by planting a QR code or barcode on at least a part of a photo or label. For example, QR codes or barcodes, which have been widely used in the past, are easy to transmit information, but have a disadvantage of being vulnerable to security due to easy forgery or copying. The present invention proposes a method for safely and easily transmitting information by integrating a security-invisible fingerprinting technique and a QR code technique capable of transmitting information using an image recognized through a camera.
본 문서에 개시된 다양한 실시 예들은 이미지에 삽입된 핑거프린트 신호를 효과적으로 추출하는 방법을 제안한다. 특히, 본 문서에 개시된 다양한 실시 예들은 핑거프린트 신호가 삽입된 이미지가 프린터를 통해 출력되어 종이나 라벨지 등 물리적 객체 상에 전사되었을 때, 상기 물리적 객체 상에 전사된 이미지로부터 핑거프린트 신호를 삽입/추출하는 방법에 대해 기술하고 있다.Various embodiments disclosed in this document propose a method of effectively extracting a fingerprint signal embedded in an image. In particular, in various embodiments disclosed in this document, when an image in which a fingerprint signal is inserted is output through a printer and transferred onto a physical object such as paper or label paper, the fingerprint signal is inserted from the image transferred onto the physical object/ It describes how to extract.
예컨대, 본 발명의 일 실시 예에 따른 전자 장치는 구비된 광학부를 통해 물리적 객체 상에 전사된 이미지와 대응되는 이미지 데이터를 획득할 수 있으며, 획득된 이미지 데이터로부터 상기 이미지에 삽입된 핑거프린트 신호를 추출할 수 있다. 한편, 본 발명의 일 실시 예에 따른 전자 장치는 물리적 객체 상에 전사된 이미지와 대응되는 이미지 데이터를 획득함에 있어, 여러 가지 변수들로 인해 기하학적으로 변형된 이미지에 대한 보정을 진행할 수 있고, 이를 통해 상기 이미지에 삽입된 핑거프린트 신호를 정확하고 신속하게 추출할 수 있다.For example, the electronic device according to an embodiment of the present invention may acquire image data corresponding to an image transferred on a physical object through an equipped optical unit, and receive a fingerprint signal embedded in the image from the acquired image data. Can be extracted. Meanwhile, in acquiring image data corresponding to an image transferred on a physical object, the electronic device according to an embodiment of the present invention may perform correction on a geometrically deformed image due to various variables. Through this, the fingerprint signal embedded in the image can be accurately and quickly extracted.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치는, 촬영을 위한 신호가 수신되는 것에 응답하여, 이미지 센서를 통해 외부 객체에 대한 이미지 데이터를 획득하는 광학부, 상기 이미지 데이터에서 상기 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 않을 경우, 상기 제 1 사각형이 상기 제 2 사각형과 대응되도록 상기 이미지 데이터의 원근감을 조정하는 원근 보정부, 적어도 하나의 필터를 이용하여 상기 이미지 데이터에서 노이즈 데이터를 추출하는 워터마크 신호 예측부, 상기 이미지 데이터에 대한 자기 상관(auto-correlation) 연산을 수행한 후 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔함에 있어, 상기 마스크 윈도우와 대응되는 영역들마다 상기 자기 상관 연산의 결과값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출하는 피크 검출부, 상기 검출된 피크 픽셀들 각각에 대응되는 지점들을 직선 연결하여 하나 이상의 도형들을 획득하고, 상기 획득된 도형들로부터 식별된 기울기 정보, 크기 정보 및 위치 정보에 기초하여 상기 외부 객체와 대응되는 원본 이미지 데이터 및 상기 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산하고, 상기 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 기하 변형 보정부, 상기 기울기, 크기 및 위치가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득하고, 원본 메시지를 추출하는 원본 메시지 추출부, 및 기 지정된 서버로 상기 추출된 원본 메시지를 송신하고, 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버로부터 수신하는 통신부를 포함할 수 있다.An electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document includes: an optical unit that acquires image data for an external object through an image sensor in response to a signal for photographing being received, the image In the data, if the shape and size of the first rectangle approximating the border of the external object does not correspond to the shape and size of the preset second rectangle, the perspective of the image data is such that the first rectangle corresponds to the second rectangle Perspective correction unit that adjusts, a watermark signal prediction unit that extracts noise data from the image data using at least one filter, and performs auto-correlation on the image data, and In scanning a plurality of pixels in the image data using a mask window, the pixels having the largest result value of the autocorrelation operation for each region corresponding to the mask window are peak pixels for each of the regions. A peak detector that detects as, linearly connects points corresponding to each of the detected peak pixels to obtain one or more figures, and based on the gradient information, size information, and location information identified from the obtained figures, the external object Compute the gradient difference, size difference, and position difference between the original image data corresponding to and the image data, and correct the slope, size, and position of the image data so that the calculated gradient difference, size difference, and position difference are below a threshold A geometric deformation correction unit to obtain a pre-inserted fingerprint signal from the image data whose tilt, size and position are corrected, and an original message extraction unit to extract the original message, and to transmit the extracted original message to a predetermined server And, it may include a communication unit for receiving the data corresponding to the extracted original message from the server.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치의 동작 방법은, 촬영을 위한 신호가 수신되는 것에 응답하여, 이미지 센서를 통해 외부 객체에 대한 이미지 데이터를 획득하는 단계, 상기 이미지 데이터에서 상기 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 않을 경우, 상기 제 1 사각형이 상기 제 2 사각형과 대응되도록 상기 이미지 데이터의 원근감을 조정하는 단계, 적어도 하나의 필터를 이용하여 상기 이미지 데이터에서 노이즈 데이터를 추출하는 단계, 상기 이미지 데이터에 대한 자기 상관(auto-correlation) 연산을 수행한 후 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔함에 있어, 상기 마스크 윈도우와 대응되는 영역들마다 상기 자기 상관 연산의 결과값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출하는 단계, 상기 검출된 피크 픽셀들 각각에 대응되는 지점들을 직선 연결하여 하나 이상의 도형들을 획득하고, 상기 획득된 도형들로부터 식별된 기울기 정보, 크기 정보 및 위치 정보에 기초하여 상기 외부 객체와 대응되는 원본 이미지 데이터 및 상기 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산하고, 상기 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 단계, 상기 기울기, 크기 및 위치가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득하고, 원본 메시지를 추출하는 단계, 및 기 지정된 서버로 상기 추출된 원본 메시지를 송신하고, 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버로부터 수신하는 단계를 포함할 수 있다.According to various embodiments disclosed in the present disclosure, an operation method of an electronic device for extracting watermark data from an image may include acquiring image data for an external object through an image sensor in response to a signal for photographing being received, In the image data, if the shape and size of the first rectangle approximating the border of the external object does not correspond to the shape and size of the preset second rectangle, the image data such that the first rectangle corresponds to the second rectangle Adjusting the perspective of the image, extracting noise data from the image data using at least one filter, and performing an auto-correlation operation on the image data, and then using a mask window of a preset size In the scanning of a plurality of pixels in the image data, detecting a pixel having the largest result value of the autocorrelation operation for each region corresponding to the mask window as peak pixels for each of the regions. , Acquiring one or more figures by linearly connecting points corresponding to each of the detected peak pixels, and an original image corresponding to the external object based on the gradient information, size information, and location information identified from the obtained figures Calculating gradient difference, size difference, and position difference between data and the image data, and correcting the slope, size, and position of the image data so that the calculated gradient difference, size difference, and position difference is less than or equal to a threshold, and the gradient , Acquiring a pre-inserted fingerprint signal from the image data whose size and position are corrected, extracting an original message, and transmitting the extracted original message to a predetermined server, and data corresponding to the extracted original message It may include the step of receiving from the server.
본 문서에 개시된 다양한 실시 예들에 따르면, 이미지에 직접 삽입되어 상기 이미지의 디자인에 영향을 미쳤던 종래의 QR코드 등과 달리, 비가시적인 특징에 따라 상기 이미지의 디자인을 훼손하지 않으면서도 보안성을 높인 워터마킹 기법이 제시됨에 따라, 이미지의 본래 디자인을 훼손하지 않으면서도 데이터의 임의 추출 또는 불법 복제를 통한 위조 및 변조를 방지할 수 있다.According to various embodiments disclosed in this document, unlike conventional QR codes that are directly inserted into an image and affect the design of the image, watermarking that increases security without compromising the design of the image according to invisible features As the technique is proposed, it is possible to prevent forgery and tampering through random extraction or illegal copying of data without compromising the original design of the image.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 강인성 및 보안성이 뛰어나고 비가시적 특징을 지닌 핑거프린트 신호를 정확하고 신속하게 추출할 수 있게 됨에 따라, URL 등 단편적인 정보밖에 포함할 수 없고 가시적 특징으로 인해 적용에 제한이 많았던 2차원 코드(예: QR코드, 바코드)의 한계를 뛰어넘을 수 있으며, 이를 통해 사용자들에게 다양한 사용자 경험과 편의성을 제공할 수 있다. As the electronic device according to various embodiments disclosed in the present document is capable of accurately and quickly extracting a fingerprint signal having superior robustness and security and invisible characteristics, it can include only fragmentary information such as URLs and visible characteristics. As a result, it is possible to overcome the limitations of two-dimensional codes (eg, QR codes, barcodes) that have been limited in application, and through this, various user experiences and conveniences can be provided to users.
본 문서에 개시된 다양한 실시 예들은 카메라를 통해 획득된 이미지를 이용하여 정보를 전달할 수 있다는 편의성과 비가시적인 특징에 따른 보안성의 결합을 고려한 것으로서, 본 발명을 통해 사용자는 정보 제공자가 이미지에 삽입한 핑거프린트 신호를 손쉽게 추출할 수 있고 이를 통해 관련 정보를 안전하게 제공 받을 수 있다.Various embodiments disclosed in this document consider the combination of convenience and security according to invisible features that information can be transmitted using an image acquired through a camera, and through the present invention, a user inserts a finger inserted into an image by an information provider. Print signals can be easily extracted and related information can be safely provided.
도 1은 본 발명의 일 실시 예에 따른 서버 및 전자 장치의 구성을 도시한 도면이다.
도 2는 본 발명의 일 실시 예에 따른 서버 및 전자 장치에서 원본 이미지에 핑거프린트 신호를 삽입하고, 삽입된 핑거프린트 신호를 다시 추출하는 과정을 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시 예에 따른 전자 장치에서 이미지 데이터의 기울기, 크기 및 위치를 보정하고 원본 메시지를 추출하는 동작들을 나타낸 순서도이다.
도 4는 본 발명의 일 실시 예에 따른 전자 장치에서 이미지 데이터에 대한 원근 보정을 수행하는 과정을 설명하기 위한 순서도이다.
도 5는 본 발명의 일 실시 예에 따른 전자 장치에서 핑거프린트 신호 및 원본 메시지를 추출하는 과정을 설명하기 위한 순서도이다. 1 is a diagram illustrating the configuration of a server and an electronic device according to an embodiment of the present invention.
2 is a diagram illustrating a process of inserting a fingerprint signal into an original image and extracting the inserted fingerprint signal again from a server and an electronic device according to an embodiment of the present invention.
3 is a flowchart illustrating operations for correcting a slope, size, and position of image data and extracting an original message in an electronic device according to an embodiment of the present invention.
4 is a flowchart illustrating a process of performing perspective correction on image data in an electronic device according to an embodiment of the present invention.
5 is a flowchart illustrating a process of extracting a fingerprint signal and an original message from an electronic device according to an embodiment of the present invention.
본 문서에 개시된 다양한 실시 예들은 본 발명을 특정한 실시 형태로 한정하기 위해 제시된 것이 아니며, 다양한 실시 예들을 통해 소개된 구성요소들은 본 발명의 사상 및 기술 범위에 포함되는 모든 변경 가능한 균등물 내지 대체물을 포함하는 의미로서 제시된 것임을 당업자는 용이하게 이해할 것이다. 또한, 각 도면을 설명함에 있어, 다르게 정의되지 않는 한 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있는 것으로 해석될 수 있다. 또한, 본 발명의 목적 및 효과, 그리고 그것들을 달성하기 위한 기술적 구성들은 첨부되는 도면과 함께 상세하게 설명되는 실시 예들을 통해 명확해질 것이다. 본 발명을 설명함에 있어 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우, 그와 관련된 상세한 설명은 생략될 수 있으며, 뒤에 설명되는 용어들은 본 발명에서의 구조, 역할 및 기능 등을 고려하여 정의된 용어들로서 이는 사용자 및 운용자의 의도 또는 관례 등에 따라 기존에 사용되던 의미와 달리 해석될 수 있다.The various embodiments disclosed in this document are not intended to limit the present invention to specific embodiments, and components introduced through various embodiments may include all changeable equivalents or substitutes included in the spirit and scope of the present invention. Those skilled in the art will readily understand that the present invention is provided as an inclusive meaning. In addition, in describing each drawing, unless defined otherwise, all terms used in this specification, including technical or scientific terms, are those that are generally understood by those skilled in the art to which the present invention pertains. It can be interpreted as having the same meaning. In addition, the objects and effects of the present invention, and technical configurations for achieving them will be clarified through embodiments described in detail with reference to the accompanying drawings. In the description of the present invention, when it is determined that a detailed description of known functions or configurations may unnecessarily obscure the subject matter of the present invention, detailed descriptions related thereto may be omitted, and the terms described later are structures in the present invention. , Terms defined in consideration of roles and functions, etc., which may be interpreted differently from the meanings previously used according to the intention or customs of users and operators.
본 발명은 이하에서 개시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있음을 밝혀둔다. 본 문서에 개시된 다양한 실시 예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 오로지 특허청구범위에 기재된 청구항의 범주에 의하여 정의될 뿐이다. It is noted that the present invention is not limited to the embodiments disclosed below, but can be implemented in various different forms. Various embodiments disclosed in this document are provided to make the disclosure of the present invention complete, and to fully inform the person of ordinary skill in the art to which the present invention pertains, the scope of the present invention, and the present invention is solely claimed. It is only defined by the scope of the claims recited in the scope.
본 문서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 본 발명의 다양한 실시 예들에 있어서, 각 구성요소들, 기능 블록들 또는 수단들은 하나 또는 그 이상의 하부 구성요소로 구성될 수 있고, 각 구성요소들이 수행하는 전기, 전자, 기계적 기능들은 전자회로, 집적회로, ASIC(application specific integrated circuit) 등 공지된 다양한 소자들 또는 기계적 요소들로 구현될 수 있으며, 각각 별개로 구현되거나 2 이상이 하나로 통합되어 구현될 수도 있다. In this document, when it is said that a part "includes" a component, this means that other components may be further included rather than excluding other components, unless specifically stated to the contrary. In addition, in various embodiments of the present invention, each component, functional blocks, or means may be composed of one or more sub-components, and the electrical, electronic, and mechanical functions performed by each component are electronic circuits. , May be implemented with various known devices or mechanical elements, such as an integrated circuit, an application specific integrated circuit (ASIC), or may be implemented separately or in combination of two or more.
한편, 첨부된 블록도의 블록들이나 흐름도의 단계들은 범용 컴퓨터, 특수용 컴퓨터, 휴대용 노트북 컴퓨터, 네트워크 컴퓨터 등 데이터 프로세싱이 가능한 장비의 프로세서나 메모리에 탑재되어 지정된 기능들을 수행하는 컴퓨터 프로그램 인스트럭션들을 의미하는 것으로 해석될 수 있다. 이들 컴퓨터 프로그램 인스트럭션들은 컴퓨터 장치에 구비된 메모리 또는 컴퓨터에서 판독 가능한 메모리에 저장될 수 있기 때문에, 블록도의 블록들 또는 흐름도의 단계들에서 설명된 기능들은 이를 수행하는 인스트럭션 수단을 내포하는 제조물로 생산될 수도 있다. 아울러, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 가능한 실시 예들에서는 블록들 또는 단계들에서 언급된 기능들이 정해진 순서와 달리 실행되는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 실질적으로 동시에 수행되거나, 역순으로 수행될 수 있으며, 경우에 따라 일부 블록들 또는 단계들이 생략된 채로 수행될 수도 있다.On the other hand, the steps of the block diagrams or flowcharts of the accompanying block diagrams refer to computer program instructions mounted on a processor or memory of data processing equipment such as a general purpose computer, a special purpose computer, a portable notebook computer, and a network computer to perform designated functions. Can be interpreted. Since these computer program instructions can be stored in a memory provided in a computer device or in a computer readable memory, the functions described in the steps of the blocks or flowcharts of the block diagram are produced as an article containing instruction means for performing this. It may be. In addition, each block or step may represent a module, segment, or portion of code that includes one or more executable instructions for executing the specified logical function(s). It should also be noted that in some alternative embodiments, the functions mentioned in blocks or steps may be executed in a different order. For example, two blocks or steps shown in succession may be performed substantially simultaneously, or may be performed in reverse order, and in some cases, some blocks or steps may be omitted.
이하에서는 첨부된 도면을 참고하여 본 발명의 다양한 실시 예들에 따른 전자 장치에서 사용자 인터페이스의 상태를 변경하는 방법에 대하여 설명하기로 한다.Hereinafter, a method of changing a state of a user interface in an electronic device according to various embodiments of the present invention will be described with reference to the accompanying drawings.
도 1은 본 발명의 일 실시 예에 따른 서버 및 전자 장치의 구성을 도시한 도면이다. 다양한 실시 예들에 따르면, 서버(10)는 원본 메시지 생성부(11), 키 생성부(12), 핑거프린트 신호 생성부(13), 통신부(14), 핑거프린트 신호 관리부(15) 및 데이터베이스(16) 중 적어도 하나를 포함할 수 있다. 또한, 전자 장치(100)는 광학부(110), 원근 보정부(120), 워터마크 신호 예측부(130), 피크 검출부(140), 기하 변형 보정부(150), 원본 메시지 추출부(160) 및 통신부(170) 중 적어도 하나를 포함할 수 있다. 여기서, 서버(10)의 원본 메시지 생성부(11), 키 생성부(12), 핑거프린트 신호 생성부(13) 및 핑거프린트 신호 관리부(15)와 전자 장치(100)의 원근 보정부(120), 워터마크 신호 예측부(130), 피크 검출부(140), 기하 변형 보정부(150) 및 원본 메시지 추출부(160)는 특정 인스트럭션을 수행하는 모듈을 의미하기 위해 사용되었으며, 상기 모듈들을 통해 수행되는 인스트럭션들은 서버(10) 및 전자 장치(100)에 구비되는 프로세서(미도시)에 의해 수행되는 것으로 이해될 수 있음을 밝혀둔다. 1 is a diagram illustrating the configuration of a server and an electronic device according to an embodiment of the present invention. According to various embodiments, the
일 실시 예에 따르면, 서버(10)의 원본 메시지 생성부(11)는 전자 장치(100)의 사용자 등 임의의 소비자들에게 전달하고자 하는 정보를 디지털 데이터의 형태로 생성할 수 있다. 예컨대, 원본 메시지 생성부(11)는 ASCII(american standard code for information interchange) 코드 기반의 영문 대소문자 및 숫자의 조합에 따른 사용자 정보 또는 상품 정보 등을 원본 메시지로서 생성할 수 있다. According to one embodiment, the
서버(10)의 키 생성부(12)는 원본 메시지 생성부(11)에서 생성된 원본 메시지를 암호화할 수 있는 비밀키를 생성할 수 있다. 일 실시 예에 따르면, 원본 메시지 생성부(11)에서 생성된 원본 메시지가 핑거프린트 신호 등에 포함되어 제공될 때, 인가 받지 않은 사용자에 의한 임의 추출 시도로부터 보호될 수 있도록 하기 위하여 원본 메시지에 키 생성부(12)에서 생성된 비밀키가 부가될 수 있다. The
서버(10)의 핑거프린트 신호 생성부(13)는 원본 메시지와 비밀키를 이용하여 핑거프린트 신호를 생성할 수 있다. 일 실시 예에 따르면, 핑거프린트 신호 생성부(13)는 원본 메시지를 변조하기 위해 496개(예: (26*2+10)*8=496)의 무작위 순열들을 생성한 후, 생성된 무작위 순열들과 비밀키를 이용하여 496개의 서브키를 추가로 생성할 수 있다. 이어서, 핑거프린트 신호 생성부(13)는 추가로 생성된 서브키로부터 기 설정된 단위 블록과 대응되는 크기의 길이를 갖는 핑거프린트 신호를 생성할 수 있다. The fingerprint
일 실시 예에 따르면, 핑거프린트 신호 생성부(13)는 생성된 핑거프린트 신호를 지정된 원본 이미지 상에 다양한 형태의 패턴이나 노이즈 형태로 부가하기 위하여, 워터마크 신호를 생성할 수 있다. 워터마크 신호는 지정된 원본 이미지에 비가시적인 형태로 삽입될 수 있다. 한편, 원본 이미지 상에 워터마크 신호를 삽입함에 있어, 상기 워터마크 신호를 비가시성을 유지하면서도 최대한 강인하게 삽입하기 위해 HVS(human visual system) 기술이 이용될 수 있다.According to an embodiment, the
서버(10)의 통신부(14)는 서버(10)와 외부 전자 장치, 예컨대, 전자 장치(100) 간의 직접(예: 유선) 통신 채널(30) 또는 무선 통신 채널(20)의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신부(14)는 무선 통신 모듈(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. The
서버(10)의 핑거프린트 신호 관리부(15)는 원본 메시지 생성부(11)에서 생성된 원본 메시지와 대응되는 요청이 외부 전자 장치로부터 수신되는 것에 응답하여, 상기 수신된 요청과 대응되는 정보를 서버(10)의 데이터베이스(16)에서 검색할 수 있다. 또한, 핑거프린트 신호 관리부(15)는 통신부(14)를 통해 상기 요청을 송신한 외부 전자 장치로 검색된 정보가 전달되도록 설정될 수 있다. The fingerprint
서버(10)의 데이터베이스(16)는 서버(10) 내 적어도 하나의 구성 요소에서 생성된 데이터나 정보를 저장할 수 있다. 예컨대, 데이터베이스(16)는 원본 메시지 생성부(11)에서 생성된 원본 메시지 및 상기 원본 메시지와 연관된 정보를 저장할 수 있다.The
일 실시 예에 따르면, 전자 장치(100)의 광학부(110)는 촬영을 위한 신호가 수신되는 것에 응답하여, 이미지 센서를 통해 외부 객체에 대한 이미지 데이터를 획득할 수 있다. 광학부(110)는 정지 영상 및 동영상을 촬영할 수 있고, 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.According to an embodiment, the
전자 장치(100)의 원근 보정부(120)는 광학부(110)를 통해 획득된 이미지 데이터에서, 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 여부를 판단할 수 있다. 만약, 제 1 사각형의 모양 및 크기 중 적어도 하나가 제 2 사각형의 모양 및 크기 중 적어도 하나와 대응되지 않을 경우, 원근 보정부(120)는 제 1 사각형의 모양 및 크기가 상기 제 2 사각형의 모양 및 크기와 대응되도록 이미지 데이터의 원근감을 조정할 수 있다. 예컨대, 원근 보정부(120)는 외부 객체의 테두리를 근사화한 제 1 사각형이 미리 설정된 정사각형과 대응될 수 있도록, 상기 획득된 이미지 데이터의 원근감을 조정할 수 있다.The
전자 장치(100)의 워터마크 신호 예측부(130)는 적어도 하나의 필터를 이용하여 상기 획득된 이미지 데이터에서 노이즈 데이터를 추출할 수 있다. 여기서, 적어도 하나의 필터는 위너 필터(wiener filter) 및 모폴로지 필터(morphology filter)를 포함할 수 있다. 참고로, 위너 필터는 입력을 원하는 출력과 가능한 한 매우 근사하게 변환시켜주는 필터로서, '가능한 한 매우 근사하게'의 의미는 필터 출력과 원하는 결과의 차의 제곱의 합이 최소가 된다는 것을 의미할 수 있다. 또한, 모폴로지 필터는 이미지 내에 존재하는 특정 객체의 형태를 변형시키는 용도로 사용되는 필터로서, 침식 연산을 통해 필터의 크기 및 사용 횟수에 따라 작은 덩어리의 객체들을 사라지게 하거나, 팽창 연산을 통해 필터의 크기 및 사용 횟수에 따라 객체 내부에 있는 작은 노이즈들을 사라지게 할 수 있다. 일 실시 예에 따르면, 워터마크 신호 예측부(130)는 침식 연산 및 팽창 연산을 통해 이미지 데이터에서 노이즈 데이터가 몰려있는 영역을 검색할 수 있다. 이 때, 검색된 영역은 핑거프린트 신호를 추출하기 위한 관심 영역으로 분류될 수 있다. 한편, 노이즈 데이터가 많이 몰려 있을수록 핑거프린트 신호가 삽입되어 있을 확률이 높은 것으로 이해될 수 있다.The watermark
일 실시 예에 따르면, 워터마크 신호 예측부(130)는 광학부(110)를 통해 획득된 이미지 데이터 또는 원근 보정부(120)를 통해 원근감이 조정된 이미지 데이터로부터 노이즈 데이터와 같은 형태를 갖는 워터마크 신호를 분리할 수 있다. 이 때, 워터마크 신호 예측부(130)는 원본 이미지 데이터 없이 워터마크 신호를 검출하기 위하여 노이즈 데이터 추출 필터나 고주파 통과(high-pass) 필터를 이용할 수 있다. 한편, 노이즈 데이터 추출 필터에 의해 필터링 된 노이즈 데이터에는 기 삽입된 워터마크 신호가 포함되어 있을 수 있다.According to an embodiment, the watermark
일 실시 예들에 따르면, 워터마크 신호 예측부(130)는 획득된 이미지 데이터로부터 외부 객체와 대응되는 원본 이미지의 예측 데이터 및 상기 예측 데이터에서 식별된 워터마크 신호를 획득할 수 있다. 이 때, 워터마크 신호 예측부(130)는 출력값 및 미리 설정된 출력 설정값 간의 오차가 미리 설정된 임계치 이하가 되도록 설정된 위너 필터를 이용하여 예측 데이터 및 워터마크 신호를 획득할 수 있다.According to one embodiment, the watermark
전자 장치(100)의 피크 검출부(140)는 필터링 과정을 통해 이미지 데이터에서 노이즈 데이터가 추출된 후, 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔할 수 있다. 예컨대, 피크 검출부(140)는 좌에서 우 방향으로 스캔 동작을 시작할 수 있다. 이 때, 피크 검출부(140)는 마스크 윈도우와 대응되는 영역들마다 자기 상관도(auto-correlation) 값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출할 수 있다. 일 실시 예에 따르면, 피크 검출부(140)는 검출된 피크 픽셀들의 값들을 유지하고, 상기 피크 픽셀들 이외의 픽셀들의 값은 0(제로) 또는 -1로 변경할 수 있다. 한편, 마스크 윈도우가 픽셀 단위가 아닌 상기 영역 단위로 이동됨에 따라, 이미지 데이터의 전체 크기가 상기 마스크 윈도우 크기의 배수가 되지 않을 경우에는 상기 스캔 동작을 우에서 좌 방향, 상에서 하 방향 및 하에서 상 방향으로도 반복 수행할 수 있다.After the noise data is extracted from the image data through the filtering process, the
전자 장치(100)의 기하 변형 보정부(150)는 피크 검출부(140)를 통해 검출된 피크 픽셀들 각각에 대응되는 지점들을 연결하여 하나 이상의 도형들을 획득할 수 있다. 이어서, 기하 변형 보정부(150)는 획득된 도형들로부터 기울기 정보, 크기 정보 및 위치 정보를 획득할 수 있고, 획득된 정보를 이용하여 외부 객체와 대응되는 원본 이미지 데이터와 광학부(110)를 통해 획득된 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산할 수 있다. 기하 변형 보정부(150)는 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 획득된 이미지 데이터의 기울기, 크기 및 위치를 조정할 수 있다. 예컨대, 임계치는 0에 가까운 값으로 설정될 수 있으며, 이 경우 기울기 차이, 크기 차이 및 위치 차이가 거의 없도록 상기 획득된 이미지 데이터의 기울기, 크기 및 위치가 조정될 수 있다. 일 실시 예에 따르면, 기하 변형 보정부(150)는 이미지에 삽입된 동기신호와 원본 동기신호(sync pattern)의 교차 상관(cross-correlation)을 수행하고, 그 결과 값에 기초하여 상기 이미지 데이터의 위치를 이동(translation)시키는, 즉, 위치를 조정하는 동작을 수행할 수 있다.The geometrical distortion correction unit 150 of the
일 실시 예에 따르면, 기하 변형 보정부(150)는 기울기 및 크기가 보정된 이미지 데이터를 적어도 두 개 이상의 블록들로 분할한 후, 상기 분할된 블록들을 하나의 블록으로 병합할 수 있다. 또한, 기하 변형 보정부(150)는 이미지 데이터에 삽입된 동기신호와 원본 동기신호(sync pattern) 간의 교차상관(cross-correlation) 연산을 통해 상기 이미지 데이터의 위치를 보정할 수 있다. 이를 통해, 광학부(110)를 통해 획득된 이미지 데이터에 대한 RST(rotation, scaling, translation) 보정이 이루어 질 수 있다.According to an embodiment, the geometric deformation correcting unit 150 may divide the image data whose slope and size are corrected into at least two or more blocks, and then merge the divided blocks into one block. In addition, the geometric deformation correction unit 150 may correct the position of the image data through a cross-correlation operation between a synchronization signal inserted in the image data and an original synchronization pattern. Through this, RST (rotation, scaling, translation) correction may be performed on the image data acquired through the
전자 장치(100)의 원본 메시지 추출부(160)는 기울기, 크기 및 위치 중 적어도 하나가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득할 수 있으며, 상기 획득된 핑거프린트 신호로부터 원본 메시지를 추출할 수 있다. The original
전자 장치(100)의 통신부(170)는 원본 메시지 추출부(160)를 통해 추출된 원본 메시지를 기 지정된 서버(예: 서버(10))로 송신할 수 있다. 또한, 통신부(170)는 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버(예: 서버(10))로부터 수신할 수 있다. 예컨대, 전자 장치(100)는 통신부(170)를 통해 상기 원본 메시지를 생성한 서버(10)로 상기 원본 메시지와 대응되는 정보를 요청할 수 있으며, 서버(10)로부터 송신된 정보를 통신부(170)를 통해 수신할 수 있다. 다양한 실시 예들에 따르면, 서버(10)로 전송되는 데이터는 핑거프린트 신호 자체이거나, 핑거프린트 신호에서 추출된 원본 메시지일 수 있다.The
일 실시 예에 따르면, 서버(10)에서 생성되는 원본 메시지에는 문자 또는 숫자 데이터가 포함될 수 있다. 핑거프린트 신호는 현재 흔히 사용되고 있는 '2차원 바코드'와 유사한 개념으로 볼 수 있지만, 이미지나 사진 상에 비가시적으로 삽입되어 정보를 전달할 수 있다는 점에서 단순한 도형들의 집합에 불과한 '2차원 바코드'와는 분명한 차이가 있다. 고유번호나 식별자 등을 포함하도록 구성된 핑거프린트 신호는 디지털 콘텐트의 원 형상이나 색상을 훼손하지 않으면서도, 디지털 콘텐트에 삽입될 수 있다. 이처럼 디지털 콘텐트에 삽입된 핑거프린트 신호를 통해 누가 배포하였는지, 그리고 누구에게 배포되었는지 알 수 있으므로 물류 사업에서 제품을 분류하는 데 활용되거나 유통 경로를 확인하는데 이용될 수 있다. 한편, 핑거프린트 신호에 포함된 원본 메시지 또는 시리얼 번호는 서버(10) 또는 전자 장치(100)에 구비된 데이터베이스를 조회하여 획득될 수 있을 뿐이며, 육안으로 확인되지 않아 QR코드 또는 바코드와 같이 그림 형태로 추측되지 않아 보안성이 뛰어나다.According to one embodiment, the original message generated by the
도 2는 본 발명의 일 실시 예에 따른 서버 및 전자 장치에서 원본 이미지에 핑거프린트 신호를 삽입하고, 삽입된 핑거프린트 신호를 다시 추출하는 과정을 설명하기 위한 도면이다.2 is a diagram illustrating a process of inserting a fingerprint signal into an original image and extracting the inserted fingerprint signal again from a server and an electronic device according to an embodiment of the present invention.
일 실시 예에 따르면, 단계 210부터 단계 215까지는 서버(10)에서 수행될 수 있고, 단계 220부터 단계 224까지는 전자 장치(100)에서 수행될 수 있다. According to an embodiment, steps 210 to 215 may be performed by the
우선, 단계 210에서, 서버(10)는 원본 메시지를 생성할 수 있다. 이 때 생성되는 원본 메시지는 핑거프린트 신호로 변환된 후, 핑거프린트 신호를 포함하는 워터마크 신호의 형태로 원본 이미지 데이터(200)에 삽입되어 임의의 사용자들에게 전달될 수 있다. First, in
단계 211에서, 서버(10)는 원본 메시지를 포함하는 핑거프린트 신호를 생성할 수 있다. 서버(10)는 생성된 핑거프린트 신호를 지정된 원본 이미지 상에 다양한 형태의 패턴이나 노이즈 형태로 부가하기 위하여, 워터마크 신호를 생성할 수 있다.In
단계 212에서, 서버(10)는 원본 이미지 데이터(200) 내에서 워터마크 신호가 삽입될 영역을 검색하고 결정할 수 있다. 예컨대, 서버(10)는 이미지 데이터의 변화에 대해 인간의 시각이 상대적으로 덜 민감한 것으로 알려진 고주파 대역과 대각선 영역, 고주파가 집중되어 있는 텍스처(texture) 영역, 주변에 비해 임계치 이상으로 어두운 영역 및 밝은 영역에 가중치를 부여하여 상기 워터마크 신호가 삽입될 영역을 검색할 수 있다. 한편, 원본 이미지 데이터(200)에서 워터마크 신호가 삽입될 영역이 결정되는 경우, 서버(10)는 워터마크 신호를 원본 이미지에 수회 반복 삽입할 수 있다.In
단계 213에서, 서버(10)는 워터마크 신호를 원본 이미지 데이터(200)에 삽입함에 있어, 2단계의 이산 웨이블릿 변환(discrete wavelet transform)을 이용할 수 있다. 여기서, 2단계의 이산 웨이블릿 변환은 원본 이미지를 2단계에 걸쳐서 공간 영역과 주파수 영역으로 분리/복원하는 기술을 의미할 수 있다. 일 실시 예에 따르면, 서버(10)는 원본 이미지 데이터(200)를 2단계 웨이블릿 변환한 후, 원본 이미지 데이터(200) 내 적어도 일부 영역에 워터마크 신호를 반복적으로 삽입할 수 있다. 또한, 원본 이미지 데이터(200) 내에서 워터마크 신호가 삽입되지 않은 영역에는 고정된 키에 의해 생성되고 단위 블록 크기로 구성된 동기화 신호가 반복적으로 삽입될 수 있다. 한편, 서버(10)는 원본 이미지 또는 원본 이미지와 대응되는 이미지 데이터가 기하학적으로 변형될 경우 이를 보정하기 위하여, 단위 블록의 크기로 변조된 워터마크 신호 또는 동기화 신호를 원본 이미지에 반복적으로 삽입할 수 있다. 이를 통해, 서버(10)는 워터마크 신호가 삽입된 이미지 데이터(201)를 생성할 수 있다. In
다양한 실시 예들에 따르면, 서버(10)는 이미지 데이터(201)를 물리적인 객체 상에 출력할 수 있다. 예컨대, 서버(10)는 프린트 장치 등을 이용하여 종이 또는 라벨지 상에 이미지 데이터(201)를 전사시킬 수 있다. 전자 장치(100)는 구비된 광학부(110)를 이용하여, 종이 또는 라벨지 상에 전사된 이미지를 촬영할 수 있으며, 촬영된 이미지와 대응되는 이미지 데이터를 획득할 수 있다. 일 실시 예에 따르면, 광학부(110)를 통해 획득된 이미지 데이터는 워터마크 신호가 삽입된 이미지 데이터(201)와 본질적으로 동일한 이미지 데이터일 수 있다. 다만, 전자 장치(100)의 기울기나 종이 또는 라벨지와 전자 장치(100) 간의 거리는 종이 또는 라벨지 상에 전사된 이미지를 촬영할 때마다 달라질 수 있기 때문에, 광학부(110)를 통해 획득된 이미지 데이터의 기울기, 크기 및 위치는 워터마크 신호가 삽입된 이미지 데이터(201)의 기울기, 크기 및 위치와 상이할 수 있다. 이에 따라, 전자 장치(100)에서는 광학부(110)를 통해 획득된 이미지 데이터에 대해 기울기, 크기 및 위치를 보정하는 동작을 수행하여야 한다.According to various embodiments, the
일 실시 예에 따르면, 단계 220에서, 전자 장치(100)는 광학부(110)를 통해 획득된 이미지 데이터에서 워터마크 신호를 예측해낼 수 있다. 예컨대, 전자 장치(100)는 적어도 하나의 필터를 이용하여, 광학부(110)를 통해 획득된 이미지 데이터에서 노이즈 데이터 및 관심 영역을 추출하고, 이미지 데이터를 보정할 수 있다. 또한, 전자 장치(100)는 추출된 이미지 데이터로부터, 핑거프린트 신호(및 원본 메시지)를 포함하는 워터마크 신호와 대응되는 것으로 예측되는 데이터(202)를 식별해낼 수 있다. 한편, 워터마크 신호와 대응되는 것으로 예측되는 데이터(202)를 식별해내는 과정에는 위너 필터가 이용될 수 있다. According to an embodiment, in
단계 221에서, 전자 장치(100)는 데이터(202)로부터 하나 이상의 피크 픽셀들을 검출할 수 있다. 일 실시 예에 따르면, 데이터(202)에는 이산 웨이블릿 변환에 따라 서버(10)에서 반복적으로 삽입된 워터마크 신호들이 포함되어 있을 수 있다. 전자 장치(100)는 이산 웨이블릿 변환에 따라 원본 이미지에 반복 삽입된 워터마크 신호들을 공간 영역에서 피크 픽셀로서 검출할 수 있다. 이 때, 피크 픽셀들은 데이터(202)에서 주기적으로 반복되어 나타나는 특징을 가질 수 있다. 예를 들면, 데이터(202)에서 검출된 피크 픽셀들은 데이터(203)에서 확인되는 바와 같이 9개의 점들로 식별될 수 있다.In
단계 222에서, 전자 장치(100)는 식별된 피크 픽셀들을 통해 확인되는 기본 블록들의 주기성을 이용하여, 데이터(203)에서 확인되는 기울기, 크기 및 위치 등 기하학적 변형을 보정할 수 있다. 이를 통해, 전자 장치(100)는 기하학적 변형이 보정된 데이터(204)를 획득할 수 있다.In operation 222, the
단계 223에서, 전자 장치(100)는 데이터(204)로부터 핑거프린트 신호를 추출할 수 있다. 또한, 전자 장치(100)는 추출된 핑거프린트 신호를 이용하여 원본 메시지를 추출할 수 있다.In
도 3은 본 발명의 일 실시 예에 따른 전자 장치에서 이미지 데이터의 기울기, 크기 및 위치를 보정하고 원본 메시지를 추출하는 동작들을 나타낸 순서도이다.3 is a flowchart illustrating operations for correcting a slope, size, and position of image data and extracting an original message in an electronic device according to an embodiment of the present invention.
단계 300에서는, 외부 객체에 대한 이미지 데이터를 획득할 수 있다. 일 실시 예에 따르면, 외부 객체에 대한 이미지 데이터는 전자 장치에 구비된 이미지 센서 등 광학부를 통해 획득될 수 있다.In
단계 310에서는, 이미지 데이터에 대한 원근 보정을 수행할 수 있다. 여기서, 원근 보정이란, 획득된 이미지 데이터에 포함된 적어도 하나의 객체(또는 도형)를 식별하고, 상기 식별된 적어도 하나의 객체를 미리 설정된 직사각형 또는 정사각형과 대응되는 형태로 수정하면서 상기 이미지 데이터에 포함된 픽셀들의 크기 및 위치를 보정하는 것을 의미할 수 있다.In
단계 320에서는, 이미지 데이터에 포함된 적어도 하나의 객체가 사각형 형태를 갖는지 여부를 판단할 수 있다. 단계 310을 통해 적어도 하나의 객체가 미리 설정된 직사각형 또는 정사각형과 대응되는 형태로 수정되거나 이미지 데이터에 사각형 형태를 갖는 적어도 하나의 객체가 포함된 경우, 단계 330이 수행될 수 있다. 반면에 이미지 데이터에서 사각형 형태를 갖는 객체가 식별되지 않은 경우, 단계 300을 재 수행하여 이미지 데이터를 새롭게 획득하도록 유도할 수 있다.In
단계 330에서는, 이미지 데이터에 대한 기울기 및 크기를 보정할 수 있다. 이 때, 이미지 데이터에 대한 자기 상관(auto-correlation) 연산이 수행되어 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔할 수 있다. 이와 더불어, 상기 마스크 윈도우와 대응되는 영역들마다 상기 자기 상관 연산의 결과값이 가장 큰 픽셀이 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출될 수 있다.In
이어서, 단계 340에서는, 기울기 및 크기가 보정된 이미지 데이터의 동기신호 및 원본 동기신호 간의 교차상관(cross-correlation) 연산을 수행할 수 있으며, 이를 통해, 이미지 데이터 내 피크 픽셀들을 식별할 수 있다. Subsequently, in
단계 350에서는, 식별된 피크 픽셀들 각각의 피크 값들이 적정한 지 여부를 판단할 수 있다. 만약, 상기 각각의 피크 값들이 미리 설정된 임계치 이상인 것으로 확인되어 적정한 것으로 판단되면, 단계 360을 수행할 수 있다. 반면에 상기 각각의 피크 값들이 미리 설정된 임계치 미만인 것으로 확인되어 적정하지 않은 것으로 판단되면, 단계 300을 재 수행하여 이미지 데이터를 새롭게 획득하도록 유도할 수 있다.In
단계 360에서는, 이미지 데이터에 대한 위치를 보정할 수 있다. 이어서, 단계 370에서는, 위치가 보정된 이미지 데이터를 적어도 두 개 이상의 블록들로 분할하고, 상기 분할된 블록들을 하나의 블록으로 병합할 수 있다. 또한, 이미지 데이터에 삽입된 동기신호와 원본 동기신호 간의 교차 상관도(cross-correlation)를 계산하여 이미지 데이터의 이동된 위치의 정확도를 식별할 수 있다.In
단계 380에서는, 식별된 정확도가 임계치 이상인지 여부를 판단할 수 있다. 만약, 식별된 정확도가 임계치 이상인 것으로 판단되면, 단계 390을 수행할 수 있다. 반면에 식별된 정확도가 임계치 미만인 것으로 판단되면, 단계 300을 재 수행하여 이미지 데이터를 새롭게 획득하도록 유도할 수 있다.In
단계 390에서는, 이미지 데이터로부터 원본 메시지를 추출할 수 있다. 즉, 일 실시 예에 따른 전자 장치는 기울기, 크기 및 위치 등 기하학적 변형이 보정된 이미지 데이터로부터 원본 이미지 데이터에 삽입된 것과 유사한 핑거프린트 신호를 추출할 수 있으며, 추출된 핑거프린트 신호에서 원본 메시지를 추출할 수 있다.In
도 4는 본 발명의 일 실시 예에 따른 전자 장치에서 이미지 데이터에 대한 원근 보정을 수행하는 과정을 설명하기 위한 순서도이다. 일 실시 예에 따른 전자 장치는, 도 3의 단계 310에서 이미지 데이터에 대한 원근 보정을 수행함에 있어, 미리 설정된 조건들에 따라 서로 다른 보정 동작을 수행할 수 있다. 4 is a flowchart illustrating a process of performing perspective correction on image data in an electronic device according to an embodiment of the present invention. The electronic device according to an embodiment may perform different correction operations according to preset conditions in performing perspective correction on image data in
단계 400에서, 전자 장치는 이미지 데이터에 대한 원근 보정 요청이 수신되는 경우, 단계 405에 따른 판단을 우선적으로 수행할 수 있다. 즉, 단계 405에서, 전자 장치는 이미지 데이터에서 적어도 하나의 사각형이 검출되는지 여부를 판단할 수 있다. 여기서, 적어도 하나의 사각형은 미리 설정된 임계 각도 이내의 각들로 구성된 사각형으로서, 바람직하게는 직사각형 또는 정사각형을 의미할 수 있다. In
만약, 적어도 하나의 사각형이 검출되는 경우, 전자 장치는 단계 410을 수행할 수 있다. 반면에 어떤 사각형도 검출되지 않는 경우, 전자 장치는 단계 425에 따른 판단을 수행할 수 있다. If at least one rectangle is detected, the electronic device may perform
단계 410에서, 전자 장치는 검출된 적어도 하나의 사각형을 구성하는 네 개의 변들을 식별할 수 있다. 이어서, 단계 415에서, 전자 장치는 식별된 네 개의 변들의 길이를 미리 설정된 정사각형의 변의 길이와 대응되도록 조정할 수 있다. 이를 통해, 단계 420에서, 전자 장치는 검출된 적어도 하나의 사각형을 미리 설정된 정사각형과 대응되도록 보정할 수 있다.In
단계 425에서, 전자 장치는 원본 이미지 데이터를 획득할 수 있는지 여부를 판단할 수 있다. 만약, 원본 이미지 데이터를 획득할 수 있는 것으로 판단되면, 전자 장치는 단계 430을 수행할 수 있고, 그 반대라면 단계 445를 수행할 수 있다.In
단계 430에서, 전자 장치는 원본 이미지 데이터를 기반으로 앞서 획득된 이미지 데이터에 대한 탐색을 진행할 수 있다. 이를 바탕으로, 단계 435에서, 전자 장치는 탐지된 이미지 데이터의 크기 및 위치가 원본 이미지 데이터의 크기 및 위치와 대응되도록 조정할 수 있다. 다양한 실시 예들에 따르면, 단계 430 내지 단계 435에 따른 동작들이 수행되는 경우, 단계 440에서, 전자 장치는 이미지 데이터 내에서 적어도 하나의 사각형이 검출되는지 여부와 관계없이 이미지 데이터에 대한 기울기 및 크기 보정을 수행할 수 있다. In
단계 445에서, 전자 장치는 위너 필터를 통해 이미지 데이터에서 노이즈 데이터를 추출할 수 있다. 또한, 단계 450에서, 전자 장치는 모폴로지 필터를 이용하여, 추출된 노이즈 데이터에 대한 구획화를 진행할 수 있다. 이어지는 단계 455에서, 전자 장치는 획득된 이미지 데이터 내 하나 이상의 객체들에 대한 테두리를 추출할 수 있으며, 단계 460에서는 추출된 테두리에 대한 도형 근사화를 통해 적어도 하나의 사각형을 식별할 수 있다. 마지막으로, 단계 465에서, 전자 장치는 적어도 하나의 사각형을 미리 설정된 정사각형과 대응되도록 보정할 수 있다. In
도 5는 본 발명의 일 실시 예에 따른 전자 장치에서 핑거프린트 신호 및 원본 메시지를 추출하는 과정을 설명하기 위한 순서도이다.5 is a flowchart illustrating a process of extracting a fingerprint signal and an original message from an electronic device according to an embodiment of the present invention.
단계 500에서, 촬영을 위한 신호가 수신되는 것에 응답하여, 이미지 센서를 통해 외부 객체에 대한 이미지 데이터를 획득할 수 있다. In
단계 510에서, 이미지 데이터 내 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 않을 경우, 제 1 사각형이 제 2 사각형과 대응되도록 이미지 데이터의 원근감을 조정할 수 있다.In
단계 520에서, 적어도 하나의 필터를 이용하여 상기 획득된 이미지 데이터에서 노이즈 데이터를 추출할 수 있다. In
단계 530에서, 이미지 데이터에 대한 자기 상관(auto-correlation) 연산을 수행한 후 미리 설정된 크기의 마스크 윈도우를 이용하여 이미지 데이터 내 복수의 픽셀들을 스캔함에 있어, 마스크 윈도우와 대응되는 영역들마다 자기 상관 연산의 결과값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출할 수 있다. In
단계 540에서, 상기 검출된 피크 픽셀들 각각에 대응되는 지점들을 직선 연결하여 하나 이상의 도형들을 획득할 수 있다. In
단계 550에서, 상기 획득된 도형들로부터 식별된 기울기 정보, 크기 정보 및 위치 정보에 기초하여 상기 외부 객체와 대응되는 원본 이미지 데이터 및 상기 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산할 수 있다. In
단계 560에서, 상기 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 이미지 데이터의 기울기, 크기 및 위치를 보정할 수 있다. In
단계 570에서, 상기 기울기, 크기 및 위치가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득할 수 있다. In
단계 580에서, 원본 메시지를 추출할 수 있다. In
단계 590에서, 기 지정된 서버로 상기 추출된 원본 메시지를 송신하고, 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버로부터 수신할 수 있다. In
다양한 실시 예들에 따르면, 도 3, 도 4 및 도 5에 개시된 동작들 중 일부는 생략되거나 복수 회 반복될 수 있다. 또한, 도 3, 도 4 및 도 5에 개시된 동작들 각각은 일 실시 예로 보는 것이 타당하며, 어느 하나의 동작이 다른 하나의 동작에 종속되는 것으로 제한 해석될 수 없다.According to various embodiments, some of the operations disclosed in FIGS. 3, 4, and 5 may be omitted or repeated multiple times. In addition, each of the operations disclosed in FIGS. 3, 4, and 5 is appropriately viewed as an embodiment, and cannot be interpreted as being limited to one operation being dependent on the other.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치는, 촬영을 위한 신호가 수신되는 것에 응답하여, 이미지 센서를 통해 외부 객체에 대한 이미지 데이터를 획득하는 광학부, 상기 이미지 데이터에서 상기 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 않을 경우, 상기 제 1 사각형이 상기 제 2 사각형과 대응되도록 상기 이미지 데이터의 원근감을 조정하는 원근 보정부, 적어도 하나의 필터를 이용하여 상기 이미지 데이터에서 노이즈 데이터를 추출하는 워터마크 신호 예측부, 상기 이미지 데이터에 대한 자기 상관(auto-correlation) 연산을 수행한 후 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔함에 있어, 상기 마스크 윈도우와 대응되는 영역들마다 상기 자기 상관 연산의 결과값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출하는 피크 검출부, 상기 검출된 피크 픽셀들 각각에 대응되는 지점들을 직선 연결하여 하나 이상의 도형들을 획득하고, 상기 획득된 도형들로부터 식별된 기울기 정보, 크기 정보 및 위치 정보에 기초하여 상기 외부 객체와 대응되는 원본 이미지 데이터 및 상기 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산하고, 상기 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 기하 변형 보정부, 상기 기울기, 크기 및 위치가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득하고, 복호화 키를 이용하여 상기 핑거프린트 신호로부터 원본 메시지를 추출하는 원본 메시지 추출부, 및 기 지정된 서버로 상기 추출된 원본 메시지를 송신하고, 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버로부터 수신하는 통신부를 포함할 수 있다.An electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document includes: an optical unit that acquires image data for an external object through an image sensor in response to a signal for photographing being received, the image In the data, if the shape and size of the first rectangle approximating the border of the external object does not correspond to the shape and size of the preset second rectangle, the perspective of the image data is such that the first rectangle corresponds to the second rectangle Perspective correction unit that adjusts, a watermark signal prediction unit that extracts noise data from the image data using at least one filter, and performs auto-correlation on the image data, and In scanning a plurality of pixels in the image data using a mask window, the pixels having the largest result value of the autocorrelation operation for each region corresponding to the mask window are peak pixels for each of the regions. A peak detector that detects as, linearly connects points corresponding to each of the detected peak pixels to obtain one or more figures, and based on the gradient information, size information, and location information identified from the obtained figures, the external object Compute the gradient difference, size difference, and position difference between the original image data corresponding to and the image data, and correct the slope, size, and position of the image data so that the calculated gradient difference, size difference, and position difference are below a threshold A geometric deformation correction unit, an original message extraction unit for obtaining a pre-inserted fingerprint signal from the image data whose slope, size and position are corrected, and extracting an original message from the fingerprint signal using a decryption key, and And a communication unit that transmits the extracted original message to a designated server and receives data corresponding to the extracted original message from the server.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치에 있어서, 상기 워터마크 신호 예측부는, 상기 이미지 데이터로부터 상기 외부 객체와 대응되는 원본 이미지의 예측 데이터 및 상기 예측 데이터에서 식별된 워터마크 신호를 획득하는 것을 특징으로 할 수 있다.In the electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, the watermark signal prediction unit identifies from the prediction data and the prediction data of the original image corresponding to the external object from the image data It may be characterized in that the acquired watermark signal.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치에 있어서, 상기 워터마크 신호 예측부는, 상기 적어도 하나의 필터에 대한 출력값 및 미리 설정된 출력 설정값 간의 오차가 미리 설정된 임계치 이하가 되도록 설정된 상기 적어도 하나의 필터를 포함하는 것을 특징으로 할 수 있다.In an electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, the watermark signal prediction unit may include an error between an output value for the at least one filter and a preset output setting value below a preset threshold. It may be characterized in that it comprises at least one filter set to be.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치에 있어서, 상기 적어도 하나의 필터는 위너 필터(wiener filter) 및 모폴로지 필터(morphology filter)를 포함하는 것을 특징으로 할 수 있다.In an electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, the at least one filter may include a Wiener filter and a morphology filter. .
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치에 있어서, 상기 기하 변형 보정부는, 상기 기울기 및 크기가 보정된 이미지 데이터를 적어도 두 개 이상의 블록들로 분할한 후, 상기 분할된 블록들을 하나의 블록으로 병합하고, 상기 이미지 데이터에 삽입된 동기신호와 원본 동기신호(sync pattern) 간의 교차상관(cross-correlation) 연산을 통해 상기 이미지 데이터의 위치를 보정하는 것을 특징으로 할 수 있다.In the electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, the geometrical distortion correction unit divides the image data whose slope and size are corrected into at least two or more blocks, and then the It is characterized in that the divided blocks are merged into one block, and the position of the image data is corrected through a cross-correlation operation between a synchronization signal inserted in the image data and an original synchronization pattern. Can.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치에 있어서, 상기 원근 보정부는, 제 1 모드에 따라, 상기 이미지 데이터 내 하나 이상의 객체들에 대한 테두리 검출(edge detection)을 수행하여 임계 각도 이내의 각들로 구성된 적어도 하나의 사각형이 검출되는 것에 응답하여, 상기 검출된 적어도 하나의 사각형을 구성하는 네 개의 변들을 식별하고, 상기 식별된 네 개의 변들의 길이를 미리 설정된 크기의 정사각형을 구성하는 변의 길이와 대응되도록 조정하여 상기 검출된 적어도 하나의 사각형을 상기 미리 설정된 크기의 정사각형으로 보정하고, 제 2 모드에 따라, 상기 원본 이미지 데이터가 획득되는 것에 응답하여, 상기 이미지 데이터의 크기 및 위치를 상기 원본 이미지 데이터의 크기 및 위치와 대응되도록 보정하고, 제 3 모드에 따라, 위너 필터(wiener filter)를 통해 노이즈 데이터가 추출되는 것에 응답하여, 모폴로지 필터(morphology filter)를 이용하여 상기 추출된 노이즈 데이터에 대한 구획화를 진행하여 상기 이미지 데이터 내 하나 이상의 객체들에 대한 테두리를 추출하고, 상기 추출된 테두리에 대한 도형 근사화를 통해 적어도 하나의 사각형을 식별하고, 상기 식별된 적어도 하나의 사각형을 상기 미리 설정된 크기의 정사각형으로 보정하는 것을 특징으로 할 수 있다.In the electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, the perspective correction unit, according to a first mode, performs edge detection for one or more objects in the image data. In response to detecting at least one rectangle consisting of angles within a threshold angle, identifying four sides constituting the detected at least one rectangle, and determining the lengths of the identified four sides of a predetermined size. In response to acquiring the original image data according to the second mode, the at least one square detected is corrected to a square having the preset size by adjusting to correspond to the length of the side constituting the square, and according to the second mode, The size and position are corrected to correspond to the size and position of the original image data, and according to the third mode, in response to noise data being extracted through a wiener filter, a morphology filter is used. The segmentation of the extracted noise data is performed to extract a border for one or more objects in the image data, identify at least one rectangle through shape approximation to the extracted border, and identify the identified at least one It may be characterized in that the square is corrected to a square of the preset size.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치의 동작 방법은, 촬영을 위한 신호가 수신되는 것에 응답하여, 이미지 센서를 통해 외부 객체에 대한 이미지 데이터를 획득하는 단계, 상기 이미지 데이터에서 상기 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 않을 경우, 상기 제 1 사각형이 상기 제 2 사각형과 대응되도록 상기 이미지 데이터의 원근감을 조정하는 단계, 적어도 하나의 필터를 이용하여 상기 이미지 데이터에서 노이즈 데이터를 추출하는 단계, 상기 이미지 데이터에 대한 자기 상관(auto-correlation) 연산을 수행한 후 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔함에 있어, 상기 마스크 윈도우와 대응되는 영역들마다 상기 자기 상관 연산의 결과값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출하는 단계, 상기 검출된 피크 픽셀들 각각에 대응되는 지점들을 직선 연결하여 하나 이상의 도형들을 획득하고, 상기 획득된 도형들로부터 식별된 기울기 정보, 크기 정보 및 위치 정보에 기초하여 상기 외부 객체와 대응되는 원본 이미지 데이터 및 상기 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산하고, 상기 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 단계, 상기 기울기, 크기 및 위치가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득하고, 원본 메시지를 추출하는 단계, 및 기 지정된 서버로 상기 추출된 원본 메시지를 송신하고, 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버로부터 수신하는 단계를 포함할 수 있다.According to various embodiments disclosed in the present disclosure, an operation method of an electronic device for extracting watermark data from an image may include acquiring image data for an external object through an image sensor in response to a signal for photographing being received, In the image data, if the shape and size of the first rectangle approximating the border of the external object does not correspond to the shape and size of the preset second rectangle, the image data such that the first rectangle corresponds to the second rectangle Adjusting the perspective of the image, extracting noise data from the image data using at least one filter, and performing an auto-correlation operation on the image data, and then using a mask window of a preset size In the scanning of a plurality of pixels in the image data, detecting a pixel having the largest result value of the autocorrelation operation for each region corresponding to the mask window as peak pixels for each of the regions. , Acquiring one or more figures by linearly connecting points corresponding to each of the detected peak pixels, and an original image corresponding to the external object based on the gradient information, size information, and location information identified from the obtained figures Calculating gradient difference, size difference, and position difference between data and the image data, and correcting the slope, size, and position of the image data so that the calculated gradient difference, size difference, and position difference is less than or equal to a threshold, and the gradient , Acquiring a pre-inserted fingerprint signal from the image data whose size and position are corrected, extracting an original message, and transmitting the extracted original message to a predetermined server, and data corresponding to the extracted original message It may include the step of receiving from the server.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치의 동작 방법에 있어서, 상기 이미지 데이터에서 노이즈 데이터를 추출하는 단계는, 상기 이미지 데이터로부터 상기 외부 객체와 대응되는 원본 이미지의 예측 데이터 및 상기 예측 데이터에서 식별된 워터마크 신호를 획득하는 단계를 더 포함하는 것을 특징으로 할 수 있다.In an operation method of an electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, the step of extracting noise data from the image data includes: extracting noise data from the image data of the original image corresponding to the external object. The method may further include obtaining prediction data and a watermark signal identified from the prediction data.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치의 동작 방법에 있어서, 상기 이미지 데이터에서 노이즈 데이터를 추출하는 단계는, 상기 적어도 하나의 필터에 대한 출력값 및 미리 설정된 출력 설정값 간의 오차가 미리 설정된 임계치 이하가 되도록 설정된 상기 적어도 하나의 필터를 이용하여 상기 노이즈 데이터를 제거하는 단계를 더 포함하는 것을 특징으로 할 수 있다.In an operation method of an electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, extracting noise data from the image data includes setting an output value and a preset output value for the at least one filter. It may be characterized in that it further comprises the step of removing the noise data using the at least one filter set so that the error between values is below a preset threshold.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치의 동작 방법에 있어서, 상기 적어도 하나의 필터는 위너 필터(wiener filter) 및 모폴로지 필터(morphology filter)를 포함하는 것을 특징으로 할 수 있다.In an operation method of an electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, the at least one filter includes a Wiener filter and a morphology filter can do.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치의 동작 방법에 있어서, 상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 단계는, 상기 기울기 및 크기가 보정된 이미지 데이터를 적어도 두 개 이상의 블록들로 분할한 후, 상기 분할된 블록들을 하나의 블록으로 병합하는 단계, 상기 이미지 데이터에 삽입된 동기신호와 원본 동기신호 간의 교차상관 연산을 통해 상기 이미지 데이터의 위치를 보정하는 단계를 더 포함하는 것을 특징으로 할 수 있다.In an operation method of an electronic device for extracting watermark data from an image according to various embodiments disclosed in the present document, the step of correcting the slope, size, and position of the image data may include correcting the slope and size corrected image data. After dividing into at least two or more blocks, merging the divided blocks into one block, and correcting the position of the image data through a cross-correlation operation between a synchronization signal inserted in the image data and an original synchronization signal It may be characterized in that it further comprises a step.
본 문서에 개시된 다양한 실시 예들에 따라 이미지에서 워터마크 데이터를 추출하는 전자 장치의 동작 방법에 있어서, 상기 이미지 데이터의 원근감을 조정하는 단계는, 제 1 모드에 따라, 상기 이미지 데이터 내 하나 이상의 객체들에 대한 테두리 검출(edge detection)을 수행하여 임계 각도 이내의 각들로 구성된 적어도 하나의 사각형이 검출되는 것에 응답하여, 상기 검출된 적어도 하나의 사각형을 구성하는 네 개의 변들을 식별하고, 상기 식별된 네 개의 변들의 길이를 미리 설정된 크기의 정사각형을 구성하는 변의 길이와 대응되도록 조정하여 상기 검출된 적어도 하나의 사각형을 상기 미리 설정된 크기의 정사각형으로 보정하는 단계, 제 2 모드에 따라, 상기 원본 이미지 데이터가 획득되는 것에 응답하여, 상기 이미지 데이터의 크기 및 위치를 상기 원본 이미지 데이터의 크기 및 위치와 대응되도록 보정하는 단계, 제 3 모드에 따라, 위너 필터(wiener filter)를 통해 노이즈 데이터가 추출되는 것에 응답하여, 모폴로지 필터(morphology filter)를 이용하여 상기 추출된 노이즈 데이터에 대한 구획화를 진행하여 상기 이미지 데이터 내 하나 이상의 객체들에 대한 테두리를 추출하고, 상기 추출된 테두리에 대한 도형 근사화를 통해 적어도 하나의 사각형을 식별하고, 상기 식별된 적어도 하나의 사각형을 상기 미리 설정된 크기의 정사각형으로 보정하는 단계를 더 포함하는 것을 특징으로 할 수 있다.In an operation method of an electronic device for extracting watermark data from an image according to various embodiments disclosed in the present disclosure, adjusting the perspective of the image data may include one or more objects in the image data according to a first mode. In response to detection of at least one rectangle composed of angles within a threshold angle by performing edge detection for, four sides constituting the detected at least one rectangle are identified, and the identified four Compensating the detected at least one rectangle to a square of the preset size by adjusting the length of the sides to correspond to the length of the sides constituting the square of the preset size, according to the second mode, the original image data In response to being acquired, correcting the size and position of the image data to correspond to the size and position of the original image data, in response to noise data being extracted through a Wiener filter according to a third mode Then, a morphology filter is used to partition the extracted noise data to extract a border for one or more objects in the image data, and at least one of shapes is approximated to the extracted border. It may be characterized in that it further comprises the step of identifying a rectangle, and correcting the identified at least one rectangle to a square of the preset size.
본 발명의 일 실시 예에 따른 이미지에서 핑거프린트 신호를 추출하는 전자 장치를 제어하는 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.A method of controlling an electronic device that extracts a fingerprint signal from an image according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution through combination with a computer.
또한, 본 발명의 일 실시 예에 따른 이미지에서 핑거프린트 신호를 추출하는 전자 장치를 제어하는 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. In addition, a method of controlling an electronic device that extracts a fingerprint signal from an image according to an embodiment of the present invention may be implemented in a form of program instructions that can be executed through various computer means and recorded on a computer readable medium. The computer-readable medium may include program instructions, data files, data structures, or the like alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention or may be known and usable by those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs, DVDs, and magnetic media such as floptical disks. -Hardware devices specifically configured to store and execute program instructions such as magneto-optical media, and ROM, RAM, flash memory, and the like. Examples of program instructions include high-level language code that can be executed by a computer using an interpreter, etc., as well as machine language codes produced by a compiler.
이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시 예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시 예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, in the present invention, specific matters such as specific components and the like have been described by limited embodiments and drawings, but they are provided only to help a more comprehensive understanding of the present invention, and the present invention is not limited to the above embodiments , Anyone having ordinary knowledge in the field to which the present invention pertains can make various modifications and variations from these descriptions.
따라서, 본 발명의 사상은 설명된 실시 예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be limited to the described embodiments, and should not be determined, and all claims that are equivalent or equivalent to the scope of the claims as well as the claims to be described later belong to the scope of the spirit of the invention. .
Claims (14)
상기 이미지 데이터에서 상기 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 않을 경우, 상기 제 1 사각형이 상기 제 2 사각형과 대응되도록 상기 이미지 데이터의 원근감을 조정하는 원근 보정부:
적어도 하나의 필터를 이용하여 상기 이미지 데이터에서 노이즈 데이터를 추출하는 워터마크 신호 예측부;
상기 이미지 데이터에 대한 자기 상관(auto-correlation) 연산을 수행한 후 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔함에 있어, 상기 마스크 윈도우와 대응되는 영역들마다 상기 자기 상관 연산의 결과값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출하는 피크 검출부;
상기 검출된 피크 픽셀들 각각에 대응되는 지점들을 직선 연결하여 하나 이상의 도형들을 획득하고, 상기 획득된 도형들로부터 식별된 기울기 정보, 크기 정보 및 위치 정보에 기초하여 상기 외부 객체와 대응되는 원본 이미지 데이터 및 상기 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산하고, 상기 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 기하 변형 보정부;
상기 기울기, 크기 및 위치가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득하고, 원본 메시지를 추출하는 원본 메시지 추출부; 및
기 지정된 서버로 상기 추출된 원본 메시지를 송신하고, 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버로부터 수신하는 통신부를 포함하고,
상기 워터마크 신호 예측부는,
상기 이미지 데이터로부터 상기 외부 객체와 대응되는 원본 이미지의 예측 데이터 및 상기 예측 데이터에서 식별된 워터마크 신호를 획득하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치.
An optical unit that acquires image data for an external object through an image sensor in response to receiving a signal for shooting;
In the image data, if the shape and size of the first rectangle approximating the border of the external object does not correspond to the shape and size of the preset second rectangle, the image data such that the first rectangle corresponds to the second rectangle Perspective correction unit to adjust the perspective of the:
A watermark signal prediction unit extracting noise data from the image data using at least one filter;
In performing a self-correlation operation on the image data, and scanning a plurality of pixels in the image data using a mask window having a preset size, the autocorrelation for each region corresponding to the mask window A peak detector configured to detect pixels having the largest result of the calculation as peak pixels for each of the regions;
Original image data corresponding to the external object is obtained by linearly connecting points corresponding to each of the detected peak pixels to obtain one or more figures, and based on the gradient information, size information, and location information identified from the obtained figures. And a geometric deformation correcting unit that calculates a gradient difference, a size difference, and a position difference between the image data, and corrects the slope, size, and position of the image data so that the calculated gradient difference, a size difference, and a position difference fall below a threshold value;
An original message extracting unit that acquires a pre-inserted fingerprint signal from the tilted, sized, and corrected image data, and extracts the original message; And
And a communication unit that transmits the extracted original message to a predetermined server, and receives data corresponding to the extracted original message from the server,
The watermark signal prediction unit,
An electronic device for extracting a fingerprint signal from an image, characterized in that the prediction data of the original image corresponding to the external object and the watermark signal identified in the prediction data are obtained from the image data.
상기 워터마크 신호 예측부는,
상기 적어도 하나의 필터에 대한 출력값 및 미리 설정된 출력 설정값 간의 오차가 미리 설정된 임계치 이하가 되도록 설정된 상기 적어도 하나의 필터를 포함하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치.
According to claim 1,
The watermark signal prediction unit,
And the at least one filter set so that an error between an output value for the at least one filter and a preset output setting value is equal to or less than a preset threshold, an electronic device for extracting a fingerprint signal from an image.
상기 적어도 하나의 필터는 위너 필터(wiener filter) 및 모폴로지 필터(morphology filter)를 포함하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치.
The method of claim 3,
The at least one filter comprises a Wiener filter (wiener filter) and a morphology filter, characterized in that the electronic device for extracting a fingerprint signal from the image.
상기 기하 변형 보정부는,
상기 기울기 및 크기가 보정된 이미지 데이터를 적어도 두 개 이상의 블록들로 분할한 후, 상기 분할된 블록들을 하나의 블록으로 병합하고, 상기 이미지 데이터에 삽입된 동기신호와 원본 동기신호(sync pattern) 간의 교차상관(cross-correlation) 연산을 통해 상기 이미지 데이터의 위치를 보정하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치.
According to claim 1,
The geometrical distortion correction unit,
After dividing the image data whose slope and size are corrected into at least two or more blocks, the divided blocks are merged into one block, and between the synchronization signal inserted in the image data and the original sync pattern. An electronic device for extracting a fingerprint signal from an image, characterized in that the position of the image data is corrected through a cross-correlation operation.
상기 원근 보정부는,
제 1 모드에 따라, 상기 이미지 데이터 내 하나 이상의 객체들에 대한 테두리 검출(edge detection)을 수행하여 임계 각도 이내의 각들로 구성된 적어도 하나의 사각형이 검출되는 것에 응답하여, 상기 검출된 적어도 하나의 사각형을 구성하는 네 개의 변들을 식별하고, 상기 식별된 네 개의 변들의 길이를 미리 설정된 크기의 정사각형을 구성하는 변의 길이와 대응되도록 조정하여 상기 검출된 적어도 하나의 사각형을 상기 미리 설정된 크기의 정사각형으로 보정하고,
제 2 모드에 따라, 상기 원본 이미지 데이터가 획득되는 것에 응답하여, 상기 이미지 데이터의 크기 및 위치를 상기 원본 이미지 데이터의 크기 및 위치와 대응되도록 보정하고,
제 3 모드에 따라, 위너 필터(wiener filter)를 통해 노이즈 데이터가 추출되는 것에 응답하여, 모폴로지 필터(morphology filter)를 이용하여 상기 추출된 노이즈 데이터에 대한 구획화를 진행하여 상기 이미지 데이터 내 하나 이상의 객체들에 대한 테두리를 추출하고, 상기 추출된 테두리에 대한 도형 근사화를 통해 적어도 하나의 사각형을 식별하고, 상기 식별된 적어도 하나의 사각형을 상기 미리 설정된 크기의 정사각형으로 보정하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치.
According to claim 1,
The perspective correction unit,
According to the first mode, in response to detecting at least one rectangle consisting of angles within a threshold angle by performing edge detection on one or more objects in the image data, the detected at least one rectangle Identifying the four sides constituting the, and adjusting the length of the identified four sides to correspond to the length of the sides constituting a square of a predetermined size to correct the detected at least one rectangle to a square of the preset size and,
According to the second mode, in response to the original image data being obtained, the size and position of the image data is corrected to correspond to the size and position of the original image data,
According to the third mode, in response to the noise data being extracted through the Wiener filter, the morphology filter is used to partition the extracted noise data to perform one or more objects in the image data In the image, characterized by extracting a border for a field, identifying at least one rectangle through shape approximation to the extracted border, and correcting the identified at least one rectangle to a square of the preset size. An electronic device that extracts a fingerprint signal.
상기 이미지 데이터에서 상기 외부 객체의 테두리를 근사화한 제 1 사각형의 모양 및 크기가 미리 설정된 제 2 사각형의 모양 및 크기와 대응되지 않을 경우, 상기 제 1 사각형이 상기 제 2 사각형과 대응되도록 상기 이미지 데이터의 원근감을 조정하는 단계:
적어도 하나의 필터를 이용하여 상기 이미지 데이터에서 노이즈 데이터를 추출하는 단계;
상기 이미지 데이터에 대한 자기 상관(auto-correlation) 연산을 수행한 후 미리 설정된 크기의 마스크 윈도우를 이용하여 상기 이미지 데이터 내 복수의 픽셀들을 스캔함에 있어, 상기 마스크 윈도우와 대응되는 영역들마다 상기 자기 상관 연산의 결과값이 가장 큰 픽셀을 상기 영역들 각각에 대한 피크(peak) 픽셀들로 검출하는 단계;
상기 검출된 피크 픽셀들 각각에 대응되는 지점들을 직선 연결하여 하나 이상의 도형들을 획득하고, 상기 획득된 도형들로부터 식별된 기울기 정보, 크기 정보 및 위치 정보에 기초하여 상기 외부 객체와 대응되는 원본 이미지 데이터 및 상기 이미지 데이터 간의 기울기 차이, 크기 차이 및 위치 차이를 계산하고, 상기 계산된 기울기 차이, 크기 차이 및 위치 차이가 임계치 이하가 되도록 상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 단계;
상기 기울기, 크기 및 위치가 보정된 이미지 데이터로부터 기 삽입된 핑거프린트 신호를 획득하고, 원본 메시지를 추출하는 단계; 및
기 지정된 서버로 상기 추출된 원본 메시지를 송신하고, 상기 추출된 원본 메시지와 대응되는 데이터를 상기 서버로부터 수신하는 단계를 포함하고,
상기 이미지 데이터에서 노이즈 데이터를 추출하는 단계는,
상기 이미지 데이터로부터 상기 외부 객체와 대응되는 원본 이미지의 예측 데이터 및 상기 예측 데이터에서 식별된 워터마크 신호를 획득하는 단계를 더 포함하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치의 동작 방법.
In response to receiving a signal for shooting, obtaining image data for an external object through an image sensor;
In the image data, if the shape and size of the first rectangle approximating the border of the external object does not correspond to the shape and size of the preset second rectangle, the image data such that the first rectangle corresponds to the second rectangle Steps to adjust the perspective of:
Extracting noise data from the image data using at least one filter;
In performing a self-correlation operation on the image data, and scanning a plurality of pixels in the image data using a mask window having a preset size, the autocorrelation for each region corresponding to the mask window Detecting a pixel having the largest result of the calculation as peak pixels for each of the regions;
Original image data corresponding to the external object is obtained by linearly connecting points corresponding to each of the detected peak pixels to obtain one or more figures, and based on the gradient information, size information, and location information identified from the obtained figures. And calculating a gradient difference, a size difference, and a position difference between the image data, and correcting the slope, size, and position of the image data so that the calculated gradient difference, a size difference, and a position difference are below a threshold value;
Obtaining a pre-inserted fingerprint signal from the tilt, size and position corrected image data and extracting an original message; And
And sending the extracted original message to a pre-specified server, and receiving data corresponding to the extracted original message from the server.
The step of extracting noise data from the image data,
And obtaining the prediction data of the original image corresponding to the external object from the image data and the watermark signal identified in the prediction data, the operation of the electronic device extracting the fingerprint signal from the image. Way.
상기 이미지 데이터에서 노이즈 데이터를 추출하는 단계는,
상기 적어도 하나의 필터에 대한 출력값 및 미리 설정된 출력 설정값 간의 오차가 미리 설정된 임계치 이하가 되도록 설정된 상기 적어도 하나의 필터를 이용하여 상기 노이즈 데이터를 제거하는 단계를 더 포함하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치의 동작 방법.
The method of claim 7,
The step of extracting noise data from the image data,
In the image, characterized in that it further comprises the step of removing the noise data using the at least one filter set so that the error between the output value for the at least one filter and a preset output setting value is below a preset threshold. Method of operation of an electronic device for extracting a fingerprint signal.
상기 적어도 하나의 필터는 위너 필터(wiener filter) 및 모폴로지 필터(morphology filter)를 포함하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치의 동작 방법.
The method of claim 9,
The at least one filter comprises a Wiener filter (wiener filter) and a morphology filter (morphology filter), the operation method of the electronic device for extracting a fingerprint signal from the image.
상기 이미지 데이터의 기울기, 크기 및 위치를 보정하는 단계는,
상기 기울기 및 크기가 보정된 이미지 데이터를 적어도 두 개 이상의 블록들로 분할한 후, 상기 분할된 블록들을 하나의 블록으로 병합하는 단계;
상기 이미지 데이터에 삽입된 동기신호와 원본 동기신호 간의 교차상관 연산을 통해 상기 이미지 데이터의 위치를 보정하는 단계를 더 포함하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치의 동작 방법.
The method of claim 7,
Compensating the slope, size and position of the image data,
Dividing the image data whose slope and size are corrected into at least two or more blocks, and then merging the divided blocks into one block;
And correcting the position of the image data through a cross-correlation operation between a synchronization signal inserted in the image data and an original synchronization signal, wherein the electronic device extracts a fingerprint signal from the image.
상기 이미지 데이터의 원근감을 조정하는 단계는,
제 1 모드에 따라, 상기 이미지 데이터 내 하나 이상의 객체들에 대한 테두리 검출(edge detection)을 수행하여 임계 각도 이내의 각들로 구성된 적어도 하나의 사각형이 검출되는 것에 응답하여, 상기 검출된 적어도 하나의 사각형을 구성하는 네 개의 변들을 식별하고, 상기 식별된 네 개의 변들의 길이를 미리 설정된 크기의 정사각형을 구성하는 변의 길이와 대응되도록 조정하여 상기 검출된 적어도 하나의 사각형을 상기 미리 설정된 크기의 정사각형으로 보정하는 단계;
제 2 모드에 따라, 상기 원본 이미지 데이터가 획득되는 것에 응답하여, 상기 이미지 데이터의 크기 및 위치를 상기 원본 이미지 데이터의 크기 및 위치와 대응되도록 보정하는 단계;
제 3 모드에 따라, 위너 필터(wiener filter)를 통해 노이즈 데이터가 추출되는 것에 응답하여, 모폴로지 필터(morphology filter)를 이용하여 상기 추출된 노이즈 데이터에 대한 구획화를 진행하여 상기 이미지 데이터 내 하나 이상의 객체들에 대한 테두리를 추출하고, 상기 추출된 테두리에 대한 도형 근사화를 통해 적어도 하나의 사각형을 식별하고, 상기 식별된 적어도 하나의 사각형을 상기 미리 설정된 크기의 정사각형으로 보정하는 단계를 더 포함하는 것을 특징으로 하는, 이미지에서 핑거프린트 신호를 추출하는 전자 장치의 동작 방법.
The method of claim 7,
Adjusting the perspective of the image data,
According to the first mode, in response to detecting at least one rectangle consisting of angles within a threshold angle by performing edge detection on one or more objects in the image data, the detected at least one rectangle Identifying the four sides constituting the, and adjusting the length of the identified four sides to correspond to the length of the sides constituting a square of a predetermined size to correct the detected at least one square to a square of the preset size To do;
According to a second mode, in response to obtaining the original image data, correcting the size and position of the image data to correspond to the size and position of the original image data;
According to the third mode, in response to the noise data being extracted through the Wiener filter, the morphology filter is used to partition the extracted noise data to perform one or more objects in the image data And extracting a border for the fields, identifying at least one square through shape approximation to the extracted border, and correcting the identified at least one square to a square having the preset size. A method of operating an electronic device that extracts a fingerprint signal from an image.
A computer-readable recording medium recording a program that causes a computer to perform the method of any one of claims 7, 9, 10, 11 or 12.
A computer program stored in a storage medium for executing the method of any one of claims 7, 9, 10, 11 or 12 through a combination with a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180134582A KR102137229B1 (en) | 2018-11-05 | 2018-11-05 | Electronic device for extracting fingerprinting signal from image and operating method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180134582A KR102137229B1 (en) | 2018-11-05 | 2018-11-05 | Electronic device for extracting fingerprinting signal from image and operating method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20200051338A KR20200051338A (en) | 2020-05-13 |
KR102137229B1 true KR102137229B1 (en) | 2020-07-23 |
Family
ID=70729645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180134582A KR102137229B1 (en) | 2018-11-05 | 2018-11-05 | Electronic device for extracting fingerprinting signal from image and operating method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102137229B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102579261B1 (en) * | 2021-01-06 | 2023-09-15 | 스냅태그 주식회사 | Method for embedding and extraction of watermarking data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100693371B1 (en) | 2005-11-15 | 2007-03-09 | 한국전자통신연구원 | Method for inserting and extracting multi-bit fingerprint based on wavelet |
KR101717613B1 (en) | 2016-12-27 | 2017-03-17 | 주식회사한맥아이피에스 | The moving vehicle detection system using an object tracking algorithm based on edge information, and method thereof |
KR101877372B1 (en) * | 2017-05-19 | 2018-07-13 | 주식회사 하루컴퍼니 | Method for embedding and extraction of watermarking data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101339683B1 (en) * | 2012-01-17 | 2013-12-10 | 서강대학교산학협력단 | Adaptive dynamic quadrature demodulation apparatus for ultrasound harmonic imaging and demodulation method thereof |
-
2018
- 2018-11-05 KR KR1020180134582A patent/KR102137229B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100693371B1 (en) | 2005-11-15 | 2007-03-09 | 한국전자통신연구원 | Method for inserting and extracting multi-bit fingerprint based on wavelet |
KR101717613B1 (en) | 2016-12-27 | 2017-03-17 | 주식회사한맥아이피에스 | The moving vehicle detection system using an object tracking algorithm based on edge information, and method thereof |
KR101877372B1 (en) * | 2017-05-19 | 2018-07-13 | 주식회사 하루컴퍼니 | Method for embedding and extraction of watermarking data |
Also Published As
Publication number | Publication date |
---|---|
KR20200051338A (en) | 2020-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11238556B2 (en) | Embedding signals in a raster image processor | |
US7630511B2 (en) | Apparatus and methods for improving detection of watermarks in content that has undergone a lossy transformation | |
Fridrich | Image watermarking for tamper detection | |
EP1202552B1 (en) | Method for generating and detecting watermarks | |
US6011857A (en) | Detecting copy restrictive documents | |
EP1953752B1 (en) | Embedding and detecting hidden information | |
Fang et al. | A camera shooting resilient watermarking scheme for underpainting documents | |
Su et al. | Geometrically resilient digital image watermarking by using interest point extraction and extended pilot signals | |
US20080056529A1 (en) | Systems and Methods for Image Watermarking | |
KR102137229B1 (en) | Electronic device for extracting fingerprinting signal from image and operating method thereof | |
Steinebach et al. | Cell phone camera ballistics: attacks and countermeasures | |
Liu et al. | Toward a two-dimensional barcode with visual information using perceptual shaping watermarking in mobile applications | |
US7266216B2 (en) | Inserting and detecting watermarks in images derived from a source image | |
Queluz | Spatial watermark for image content authentication | |
Tefas et al. | Image watermarking: Techniques and applications | |
Keskinarkaus et al. | Image watermarking with a directed periodic pattern to embed multibit messages resilient to print-scan and compound attacks | |
JP6937007B2 (en) | Digital watermarking device and method | |
Thongkor et al. | Robust image watermarking for camera-captured image using image registration technique | |
Thongkor et al. | Digital image watermarking for printed and scanned documents | |
KR20150136320A (en) | System and Method for Embedding and Extracting Digital Watermark Using QR Code | |
JP2008048400A (en) | Method for detecting miniature security marks | |
Rawat et al. | Review of methodologies and techniques for digital watermarking | |
Pramila | Reading watermarks with a camera phone from printed images | |
Al-Kadei et al. | Improve a secure blind watermarking technique for digital video | |
CN112767227B (en) | Image watermarking method capable of resisting screen shooting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right |