KR102036077B1 - Method for processing images into which visible watermark is embedded, and image processing apparatus thereof - Google Patents
Method for processing images into which visible watermark is embedded, and image processing apparatus thereof Download PDFInfo
- Publication number
- KR102036077B1 KR102036077B1 KR1020190104033A KR20190104033A KR102036077B1 KR 102036077 B1 KR102036077 B1 KR 102036077B1 KR 1020190104033 A KR1020190104033 A KR 1020190104033A KR 20190104033 A KR20190104033 A KR 20190104033A KR 102036077 B1 KR102036077 B1 KR 102036077B1
- Authority
- KR
- South Korea
- Prior art keywords
- value
- image
- values
- luminance values
- quantization
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
- G06T1/0028—Adaptive watermarking, e.g. Human Visual System [HVS]-based watermarking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record 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/06009—Record 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/06037—Record 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
- G06T1/005—Robust watermarking, e.g. average attack or collusion attack resistant
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20048—Transform domain processing
- G06T2207/20052—Discrete cosine transform [DCT]
Abstract
Description
본 발명은 비저블 워터마크(visible watermark)가 삽입되는 영상을 처리하는 방법 및 그 영상 처리 장치에 대한 것으로, 비저블 워터마크가 삽입되는 부분에 대한 영상을 효과적으로 처리하기 위한 비저블 워터마크가 삽입되는 영상을 처리하는 방법 및 그 영상 처리 장치에 대한 것이다.The present invention relates to a method of processing an image into which a visible watermark is inserted and an image processing apparatus thereof, and to an image into which a visible watermark is inserted for effectively processing an image of a portion into which a visible watermark is inserted. A method of processing and an image processing apparatus thereof.
최근 멀티미디어 데이터의 압축 기술의 발전으로 양질의 디지털 콘텐트가 빠르고 폭넓게 유통되고 있다. 디지털 콘텐트는 복사와 전송이 용이하여 무단으로 유출되는 경우 디지털 콘텐트의 저작권자에게 돌이킬 수 없는 손해를 입히게 된다.Recently, with the development of the compression technology of multimedia data, high-quality digital content is rapidly and widely distributed. Digital content is easy to copy and transfer, and if it is leaked without permission, it will cause irreparable damage to the copyright holder of the digital content.
디지털 콘텐트에 대한 저작권 침해를 방지하기 위하여 저작권 보호기법이 다양하게 연구되고 있다.In order to prevent copyright infringement on digital content, various copyright protection techniques have been studied.
디지털 콘텐트에 대한 저작권을 보호하기 위한 기술로는 DOI(digital object identifier), DRM(digital right management), 워터마킹(watermarking) 등이 알려져 있다. As a technique for protecting copyright of digital content, digital object identifier (DOI), digital right management (DRM), watermarking, and the like are known.
DOI 기술은 저작권 추적기술로서 디지털 콘텐트에 대한 고유한 번호를 부여하고 이를 URL(uniform resource locator)로 변환하여 인터넷상의 해당 위치에 접근이 용이하도록 한 표준 규격이다.DOI technology is a copyright tracking technology that assigns a unique number to digital content and converts it into a uniform resource locator (URL), thereby making it easy to access a corresponding location on the Internet.
DRM 기술은 디지털 콘텐트 제공자의 권리와 이익을 안전하게 보호하며 불법복제를 막기 위한 기술로, 사용료 부과와 결제대행 등 디지털 콘텐트의 생성에서 유통·관리까지를 일괄적으로 지원하는 기술이다.DRM technology protects the rights and interests of digital content providers and prevents illegal copying. It is a technology that supports the creation, distribution, and management of digital content such as charging royalties and settlement services.
워터마킹 기술은 디지털 컨텐트에 저작권 정보를 보이지 않게 삽입하거나 추출하는 기술이다. 일반적으로 워터마킹은 저작물의 종류, 인지 정도, 활용 용도에 따른 분류가 가능하다. 기본적으로 워터마크 기술은, 워터마크를 삽입했을 때 사람의 눈으로 인식하지 못하도록 하는 비가시성, 여러 가지 형태의 변형이나 공격에도 워터마크 추출이 가능한 강인성, 추출한 워터마크가 확실한 소유권을 주장할 수 있는 명확성 등이 요구된다.Watermarking technology is a technology of invisibly inserting or extracting copyright information into digital content. In general, watermarking can be classified according to the type of work, the degree of recognition, and the purpose of use. Basically, the watermark technology is invisible to the human eye when the watermark is inserted, robustness to extract the watermark even in various forms of deformation or attack, and the extracted watermark can make a clear claim. Clarity is required.
예를 들어, JPEG(joint photographic coding experts group) 영상 데이터에 워터마크를 삽입 및 추출하는 방법에 대하여 몇 가지 종래기술이 공지되어 있다.For example, several prior arts are known for a method of embedding and extracting watermarks in joint photographic coding experts group (JPEG) image data.
일 예로, 대한민국 등록특허공보 제10-0620537호(2006년09월13일)는 JPEG로 압축된 디지털 영상에 허프만 디코딩(Huffman decoding)에 의해 얻어진 양자화 값을 이용하여 워터마크를 삽입하거나 추출하는 방법이 개시된다.For example, Korean Patent Publication No. 10-0620537 (September 13, 2006) describes a method of inserting or extracting a watermark using quantization values obtained by Huffman decoding on a digital image compressed with JPEG. This is disclosed.
다른 예로, 대한민국 등록특허공보 제2013-0085264호(2013년09월23일)는 원본 영상에 대하여 DCT(discrete cosine transform: 이산 코사인 변환) 및 양자화 과정을 거쳐 양자화 DCT 계수를 추출하고, 추출된 양자화 DCT 계수를 이용하여 인증코드를 생성하며, 생성된 인증코드를 상기 손실 압축 과정에서 추출된 상기 양자화 DCT 계수에 삽입하여 워터마킹을 하는 방법이 개시된다. 일반적인 워터마킹 기술은 상술한 워터마킹 기술과 같이 비가시적인 성질을 가지나, 가시적 성질을 가지는 워터마킹 기술(비저블 워터마킹; visible watermarking)도 활용되고 있다.As another example, Korean Patent Publication No. 2013-0085264 (September 23, 2013) extracts a quantized DCT coefficient through a discrete cosine transform (DCT) and a quantization process on an original image, and extracts the extracted quantization. A method of generating an authentication code using a DCT coefficient and inserting the generated authentication code into the quantized DCT coefficient extracted in the lossy compression process is performed for watermarking. A general watermarking technique has invisible properties like the above-described watermarking technique, but a watermarking technique (visible watermarking) having visible properties is also used.
영상 콘텐트에 삽입된 비저블 워터마크는 영상 콘텐트의 저작권자를 가장 명확하게 전달할 수 있다. 하지만, 비저블 워터마크를 영상에서 제거하여 원본 영상을 복원하는 경우 제거된 비저블 워터마크로 인해 복원된 영상의 퀄러티가 저하되는 문제점이 있었다.The visible watermark embedded in the video content can most clearly convey the copyright holder of the video content. However, when restoring the original image by removing the visible watermark from the image, the quality of the restored image is deteriorated due to the removed visible watermark.
본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로, 본 발명에 따른 다양한 실시 예는 비저블 워터마크가 삽입된 영상을 효율적으로 복원하되, 복원된 영상의 퀄러티 저하를 최소화하는 방안을 제시한다.The present invention has been made to solve the above-described problem, various embodiments according to the present invention proposes a method for efficiently reconstructing the image embedded with a visible watermark, while minimizing the quality degradation of the reconstructed image.
본 발명의 다양한 실시 예에 따른 비저블 워터마크(visible watermark)가 삽입되는 영상을 처리하는 방법은 상기 영상 중 상기 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 저장하는 과정, 상기 영상의 단위 블록에 포함되는 복수의 화소 각각에 대응되는 복수의 변환 휘도 값을 획득하는 과정, 상기 복수의 변환 휘도 값을 양자화하여 상기 복수의 변환 휘도 값에 대응되는 복수의 양자화 값을 획득하는 과정을 포함할 수 있다. 여기서, 상기 복수의 양자화 값은 상기 기정의된 영역에 대한 상기 영상 데이터 중 일부를 포함할 수 있다.According to various embodiments of the present disclosure, a method of processing an image into which a visible watermark is inserted may include storing image data of a predetermined region of the image into which the visible watermark is inserted. Obtaining a plurality of conversion luminance values corresponding to each of the plurality of pixels included in the unit block, and obtaining a plurality of quantization values corresponding to the plurality of conversion luminance values by quantizing the plurality of conversion luminance values. can do. Here, the plurality of quantization values may include some of the image data for the predefined area.
본 발명의 다양한 실시 예에 따른 비저블 워터마크가 삽입되는 영상을 처리하는 영상 처리 장치는 저장부 및 상기 영상 중 상기 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 저장하도록 상기 저장부를 제어하고, 상기 영상의 단위 블록에 포함되는 복수의 화소 각각에 대응되는 복수의 변환 휘도 값을 획득하고, 상기 복수의 변환 휘도 값을 양자화하여 상기 복수의 변환 휘도 값에 대응되는 복수의 양자화 값을 획득하는 프로세서를 포함할 수 있다. 여기서, 상기 복수의 양자화 값은 상기 기정의된 영역에 대한 상기 영상 데이터 중 일부를 포함할 수 있다.According to various embodiments of the present disclosure, an image processing apparatus for processing an image into which a visible watermark is inserted may include a storage unit and the storage unit to store image data of a predetermined region in which the visible watermark is inserted. Obtain a plurality of converted luminance values corresponding to each of the plurality of pixels included in the unit block of the image, and obtain a plurality of quantized values corresponding to the plurality of converted luminance values by quantizing the plurality of converted luminance values. It may include a processor. Here, the plurality of quantization values may include some of the image data for the predefined area.
본 발명에 따른 다양한 실시 예에 따르면, 비저블 워터마크가 삽입된 영상을 효율적으로 복원하면서 복원된 영상의 퀄러티 저하를 최소화할 수 있다.According to various embodiments of the present disclosure, the quality degradation of the reconstructed image may be minimized while efficiently reconstructing the image into which the visible watermark is inserted.
도 1은 본 발명의 일 실시 예에 따른 비저블 워터마크를 삽입 및 복원하는 과정을 도시한다.
도 2는 본 발명의 일 실시 예에 따른 비저블 워터마크의 배치도이다.
도 3은 본 발명의 일 실시 예에 따른 워터마크의 삽입 프로세스를 도시한다.
도 4는 본 발명의 일 실시 예에 따른 원본 영상의 복원 프로세스를 도시한다.
도 5는 본 발명의 일 실시 예에 따른 로우 데이터(raw data)의 변환 프로세스를 도시한다.
도 6은 본 발명의 일 실시 예에 따른 JPEG 파일의 변환 프로세스를 도시한다.
도 7은 본 발명의 일 실시 예에 따른 영상 처리 장치의 블록도이다.
도 8은 본 발명의 일 실시 예에 따른 휘도 양자화 테이블을 도시한다.
도 9는 본 발명의 일 실시 예에 따른 복수의 변환 휘도 값을 도시한다.
도 10은 본 발명의 일 실시 예에 다른 양자화 값을 결정하는 방법을 도시한다.
도 11은 본 발명의 다른 실시 예에 따른 로우 데이터의 변환 프로세스를 도시한다.
도 12는 본 발명의 일 실시 예에 따른 영상 처리 장치의 세부 구성에 대한 블록도이다.
도 13은 본 발명의 일 실시 예에 따른 영상 처리 방법에 대한 흐름도이다.1 illustrates a process of inserting and restoring a visible watermark according to an embodiment of the present invention.
2 is a layout view of a visible watermark according to an embodiment of the present invention.
3 illustrates a process of embedding a watermark according to an embodiment of the present invention.
4 is a diagram illustrating a reconstruction process of an original image, according to an exemplary embodiment.
5 illustrates a process of converting raw data according to an embodiment of the present invention.
6 illustrates a conversion process of a JPEG file according to an embodiment of the present invention.
7 is a block diagram of an image processing apparatus according to an exemplary embodiment.
8 illustrates a luminance quantization table according to an embodiment of the present invention.
9 illustrates a plurality of converted luminance values according to an embodiment of the present invention.
10 illustrates a method of determining quantization values according to an embodiment of the present invention.
11 illustrates a process of converting row data according to another embodiment of the present invention.
12 is a block diagram of a detailed configuration of an image processing apparatus according to an exemplary embodiment.
13 is a flowchart illustrating an image processing method according to an exemplary embodiment.
이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대한 동작원리를 상세히 설명한다. 또한, 발명에 대한 실시 예를 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 개시의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 하기에서 사용되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로써, 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 사용된 용어들의 정의는 본 명세서 전반에 걸친 내용 및 이에 상응한 기능을 토대로 해석되어야 할 것이다.Hereinafter, the operation principle of the preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings. In addition, in describing the exemplary embodiment of the present invention, when it is determined that a detailed description of a related known function or configuration may obscure the subject matter of the present disclosure, the detailed description thereof will be omitted. The terms used below are terms defined in consideration of functions in the present invention, which may vary according to intentions or customs of users or operators. Therefore, the definitions of the terms used should be interpreted based on the contents throughout the present specification and the corresponding functions.
도 1은 본 발명의 일 실시 예에 따른 비저블 워터마크를 삽입 및 복원하는 과정을 도시한다.1 illustrates a process of inserting and restoring a visible watermark according to an embodiment of the present invention.
디지털 워터마크는 비저블 워터마크(visible watermark) 및 인비저블 워터마크(invisible watermark)를 포함할 수 있다. 디지털 워크마크는 디지털 콘텐트에 대한 저작권 정보를 식별할 수 있도록 디지털 콘텐트에 삽입된 비트 패턴으로 정의될 수 있다. 또한, 비저블 워터마크는 저작권 정보를 포함하나 사람의 눈으로 식별하기 어려운 워터마크로 정의될 수 있다. 인비저블 워터마크는 저작권 정보를 포함하나 눈으로 식별 가능한 워터마크로 정의할 수 있다. 비저블 워터마크 및 인비저블 워터마크는 저작권 관련 정보 외에 디지털 콘텐트와 관련된 다양한 정보(예를 들어, 디지털 콘텐트의 출처에 대한 URL(uniform resource locator) 정보)를 포함할 수 있다. 이하에서는, 다양한 도면을 참조하여 비저블 워터마크 및 인비저블 워터마크를 활용하여 디지털 콘텐트의 저작권을 보호하는 방법에 대해 상세하게 설명한다.The digital watermark may include a visible watermark and an invisible watermark. The digital workmark may be defined as a bit pattern inserted in the digital content so that copyright information on the digital content can be identified. In addition, the visible watermark may be defined as a watermark that includes copyright information but is difficult to identify with a human eye. The invisible watermark includes copyright information but may be defined as a watermark that can be visually identified. The visible watermark and the invisible watermark may include various information related to digital content (eg, uniform resource locator (URL) information about a source of digital content) in addition to copyright related information. Hereinafter, a method of protecting copyright of digital content using a visible watermark and an invisible watermark will be described in detail with reference to various drawings.
도 1을 참조하면, 원본 영상(11)이 유통되는 경우 원본 영상(11)에 대한 저작권을 보호하기 위해 비저블 워터마크(121)가 삽입될 수 있다. 일 예로, 비저블 워터마크(121)는 QR코드(quick response code)일 수 있다. 이에 제한되지 않으며, 저작권자에 대한 정보를 포함하는 다양한 로고는 비저블 워터마크(121)로 정의될 수 있음은 물론이다.Referring to FIG. 1, when the
비저블 워터마크(121)가 원본 영상(11)에 삽입되는 경우, 비저블 워터마크(121)가 배치된 원본 영상(11)의 기정의된 영역에 대한 영상 데이터를 보존(또는 저장)할 필요가 있다. 상기 원본 영상(11)의 기정의된 영역에 대한 영상 데이터 보존 방법은 상세히 후술한다.When the
비저블 워터마크(121)가 삽입된 영상(12)은 다양한 루트로 유통될 수 있다. 예를 들면, 비저블 워터마크(121)가 삽입된 영상(12)은 인터넷을 통해 유통되거나, 비휘발성 기록매체 예를 들어, USB, CD, 플로피디스크 등에 기록되어 유통될 수 있다.The
비저블 워터마크(121)가 삽입된 영상(12)은 유저(user)들에게 그대로 이용될 수도 있지만, 비저블 워터마크(121)로 인해 원본 영상(11)보다 사용자 만족도 QoE(Quality of Experience)가 저하될 수 있다.Although the
이 경우, 사용자는 비저블 워터마크(121) 예로 들어, QR 코드를 스캔하여 원본 영상(11)을 제공하는 서버로 접속하여 QR 코드가 제거된 영상 즉 복원된 영상(13)을 시청함으로써 높은 사용자 만족도를 획득할 수 있다. 또한, 저작권자는 저작권자의 서버 또는 서비스에 대한 트래픽(traffic)을 유도할 수 있고, 저작권에 따른 정당한 수익을 기대할 수 있다.In this case, the user can access the server providing the
도 2는 본 발명의 일 실시 예에 따른 비저블 워터마크의 배치도이다.2 is a layout view of a visible watermark according to an embodiment of the present invention.
도 2를 참조하면, 비저블 워터마크(22)는 영상(21)의 기정의된 영역에 배치 또는 삽입될 수 있다. Referring to FIG. 2, the
영상(21)의 크기는 폭(212) 및 높이(211)로 정의될 수 있다.The size of the
비저블 워터마크(22)의 위치는 기정의된 좌표(221)로 정의될 수 있다. 일 예로, 영상(21)에 포함되는 좌표는 가로축에 대응하는 좌표인 x 및 세로축에 대응되는 좌표인 y로 정의될 수 있다. 이 경우, 기정의된 좌표(221)는 (x, y)로 정의될 수 있다.The position of the
비저블 워터마크(22)의 크기는 폭(222) 및 높이(223)로 정의될 수 있다. 여기서, 비저블 워터마크(22)의 크기는 영상(21)의 저작권 정보가 삽입 가능하고, 영상(21)에 대한 QoE 저하를 유발할 수 있도록 결정될 수 있다. The size of the
비저블 워터마크(22)의 크기는 영상(21)의 크기에 비례하여 결정될 수 있다. 구체적으로, 비저블 워터마크(22)가 영상(21)에 삽입됨에 따라 비저블 워터마크(22)가 삽입되는 영역의 영상 데이터는 소실될 수 있다. 따라서, 비저블 워터마크(22)가 삽입되는 영역의 영상 데이터는 후술할 본 발명의 다양한 실시 예에 따라 영상(21) 데이터의 양자화 과정에서 양자화된 값에 삽입이 되고, 후에 삽입된 양자화된 값에 기초하여 복원될 수 있다. The size of the
여기서, 비저블 워터마크(22)가 삽입되는 영역의 영상 데이터는 영상(21)에 포함되는 데이터의 양자화 과정에서 양자화된 값에 모두 포함되어야 하기 때문에, 비저블 워터마크(22)의 크기는 영상(21)의 크기에 비례하여 결정될 수 있다.Here, since the image data of the region where the
이하, 도 3 및 도 4를 참조하여, 원본 영상에 워터마크를 삽입하는 과정 및 워터마크가 삽입된 영상에서 원본 영상을 복원하는 과정을 상세히 설명한다.3 and 4, a process of inserting a watermark into the original image and a process of reconstructing the original image from the watermarked image will be described in detail.
도 3은 본 발명의 일 실시 예에 따른 워터마크의 삽입 프로세스를 도시한다.3 illustrates a process of embedding a watermark according to an embodiment of the present invention.
도 3을 참조하면, 워터마크 삽입 프로세스(30)는 원본 영상(31)에 인비저블 워터마크를 삽입하여 원본 영상'(32)을 생성하는 과정, 원본 영상'(32)의 전체 영역에 비저블 워터마크가 배치되는 영역에 대한 영상 데이터를 삽입하여 원본 영상''(33)을 생성하는 과정 및 원본 영상''(33)의 기정의된 영역에 비저블 워터마크를 삽입한 영상(이하 '유통되는 영상')(34)을 생성하는 과정을 포함할 수 있다. 여기서, 유통되는 영상(34)은 다양한 유통 채널을 통하여 유통될 수 있다.Referring to FIG. 3, the watermark embedding process 30 inserts an invisible watermark into the
도 4는 본 발명의 일 실시 예에 따른 원본 영상의 복원 프로세스를 도시한다.4 is a diagram illustrating a reconstruction process of an original image, according to an exemplary embodiment.
도 4를 참조하면, 원본 영상의 복원 프로세스(40)는 비저블 워터마크 디텍터(41)를 이용하여 유통 영상(34)으로부터 비저블 워터마크가 제거된 원본영상''(42)을 획득하는 과정, 원본영상''(42)의 전체 영역에 삽입된 비저블 워터마크가 배치되는 영역에 대한 영상 데이터에 기초하여 원본 영상'(43)을 복원하는 과정, 인비저블 워터마크 디텍터(44)를 이용하여 원본 영상'(43)으로부터 인비저블 워터마크를 추출하여 저작권을 확인하고(46), 원본 영상(45)을 복원하는 과정을 포함할 수 있다.Referring to FIG. 4, the
이하, 도 5 및 도 6을 참조하여, 로우 데이터(raw data)를 JPEG 파일로 변환하는 과정에서 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 원본 영상에 삽입하는 방법, JPEG 파일을 JPEG 파일로 변환하는 과정에서 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 원본 영상에 삽입하는 방법을 상세히 설명한다.5 and 6, in the process of converting raw data into a JPEG file, a method of inserting image data of a predetermined area into which a visible watermark is inserted into an original image, a JPEG file A method of inserting image data of a predetermined area into which a visible watermark is inserted in a process of converting the JPEG file into an original image will be described in detail.
도 5는 본 발명의 일 실시 예에 따른 로우 데이터의 변환 프로세스를 도시한다. 5 illustrates a process of converting raw data according to an embodiment of the present invention.
로우 데이터(501)의 변환 프로세스(50)는 HVS(human visual system)에 기초한다. 또한, 원본 영상 즉 로우 데이터(501)가 RGB로 이루어진 것으로 가정한다.The
로우 데이터(501)는 컬러 컨버전(color conversion)(502)을 통해 휘도(Y, luminace) 값(503)(또는 신호, 또는 정보)과 색차(CbCr, crominance) 값(504, 505)으로 변환된다. 이러한 휘도 값은 명암을 나타내는 것으로 색차보다 명암을 더 잘 인지하는 인간의 시각적 특성을 이용하여 명암 신호보다 색차 신호를 더 압축하여 전체 파일 크기를 줄일 수 있다.The
다운 샘플링(down sampling)(506)은 휘도 값 및 색차 값을 다운 샘플링하여 압축을 수행하는 과정이다. 구체적으로, 다운 샘플링(506)은 로우 데이터(501)를 YCbCr 색상 영역으로 변환한 후 시각적으로 둔감한 Cb와 Cr 영역에 대해 다운 샘플링(506)을 수행한다. 일 예로, 다운 샘플링(506)은 Y:Cb:Cr을 4:4:4, 4:2:2, 4:1:1 등으로 수행할 수 있다. 예를 들면, Y:Cb:Cr이 4:1:1인 경우, 다운 샘플링(506)은 4개의 픽셀에 대한 YCbCr 값을 4개의 픽셀에 대응되는 Y 값 4개, Cb 값 1개, Cr 값 1개로 다운 샘플링(506)하는 것으로 정의될 수 있다.Down sampling 506 is a process of down-sampling a luminance value and a chrominance value to perform compression. In detail, the
이산 코사인 변환(DCT: discrete consine transform)(507)은 시간축의 영상 신호를 주파수축으로 변환하는 과정이다. 이산 코사인 변환(507)을 통해, DCT 계수 중 저주파수 대역은 색상의 변화가 작은 부분, 고주파수 대역은 색상의 변화가 큰 부분으로 나뉠 수 있다. 인간의 시각은 색상 변화가 큰 영역보다 색상 변화가 작은 영역에 대하여 더 민감하다. 이러한 특징에 따라 고주파수 대역에 대해 더 많은 손실 압축을 수행하게 되는데 여기서 이산 코사인 변환(507)이 이용될 수 있다.Discrete cosine transform (DCT) 507 is a process of transforming an image signal on a time axis into a frequency axis. Through the
양자화/영상 데이터 삽입(508)은 이산 코사인 변환(507)의 결과인 변환 휘도 값을 양자화하는 과정이다. 예를 들어, 양자화/영상 데이터 삽입(508)은 도 8에 도시된 휘도 양자화 테이블(luminance quantization table)에 기초하여 양자화를 수행하는 과정에서 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 삽입하는 과정이다. 양자화/영상 데이터 삽입(508)에 대하여는 도 7 내지 도 10에 기초하여 후술한다.Quantization /
엔트로피 인코딩(entropy encoding)(509)은 이산 코인 변환(507) 및 양자화/영상 데이터 삽입(508)을 거친 YCbCr 신호를 인코딩하는 과정이다.
구체적으로, 이산 코인 변환(507) 및 양자화/영상 데이터 삽입(508)을 거친 YCbCr 신호 성분은 DC 계수 부분 및 AC 계수 부분으로 나뉠 수 있다. 여기서, DC 계수 성분을 취합한 후 차이값을 이용하여 허프만 인코딩(Huffman encoding)이 수행되고, AC 계수 성분은 지그재그 방향의 차이값을 이용하여 허프만 인코딩을 수행한다. 이 경우, 허프만 테이블이 이용된다.Specifically, the YCbCr signal component that has undergone the
엔트로피 인코딩(509)이 수행되면 최종 파일은 JPEG 파일로 저장(510)되며, 허프만 테이블은 JPEG 파일 내에 저장될 수 있다.When
도 6은 본 발명의 일 실시 예에 따른 JPEG 파일의 변환 프로세스를 도시한다.6 illustrates a conversion process of a JPEG file according to an embodiment of the present invention.
상술한 도 5의 로우 데이터(501)의 변환 프로세스(50)는 로우 데이터(501)가 입력으로 주어진 경우이고, 도 6의 JPEG 파일(601)의 변환 프로세스(60)는 JPEG 파일(601)이 입력으로 주어진 경우이다. 이하에서는, 상술한 도 5의 로우 데이터(501)의 변환 프로세스(50)와 중복되는 과정에 대하여는 설명의 편의를 위해 상세한 설명을 생략한다.The
도 6을 참조하면, JPEG 파일(601)의 변환 프로세스(60)는, JPEG 파일(601)이 입력되면, 허프만 디코딩(602), 역-양자화(de-quantization)(603), 역-이산 코사인 변환(inverse-DCT)(604), 업샘플링(up-sampling)(605), YCbCr 값 획득 과정(606, 607, 608), 다운샘플링(609), 이산 코사인 변환(610), 양자화/영상 데이터 삽입(611), 엔트로피 인코딩(612) 및 JPEG 파일 저장(613)을 수행한다.Referring to FIG. 6, the
여기서, 허프만 디코딩(602)은 도 5의 엔트로피 인코딩(509)에 포함된 허프만 인코딩 과정의 역이다. 또한, 역-양자화(603)는 도 5의 양자화/영상 데이터 삽입(508)에 포함되는 양자화 과정의 역이다. 다만, 도 5의 양자화/영상 데이터 삽입(508)에 포함되는 영상 데이터 삽입 과정의 역은 수행되지 않을 수 있다. 또한, 역-이산 코사인 변환(604)은 도 5의 이산 코사인 변환(507)의 역이다. 또한, 업샘플링(up-sampling)(605)은 도 5의 다운 샘플링(506)의 역이다. 또한, YCbCr 값 획득 과정(606, 607, 608), 다운샘플링(609), 이산 코사인 변환(610), 양자화/영상 데이터 삽입(611), 엔트로피 인코딩(612) 및 JPEG 파일 저장(613)은 도 5의 YCbCr 값 획득 과정(503, 504, 505), 다운샘플링(506), 이산 코사인 변환(507), 양자화/영상 데이터 삽입(508), 엔트로피 인코딩(509) 및 JPEG 파일 저장(510)에 대응되는 과정이다. 따라서, JPEG 파일(601)의 변환 프로세스(60)의 각 과정은 도 5의 로우 데이터(501)의 변환 프로세스(50)의 각 과정을 참조하면 명확히 이해되어질 수 있으므로, 여기서는 중복된 설명을 생략한다.Here, Huffman decoding 602 is the inverse of the Huffman encoding process included in
이상에서, 도 5 및 도 6을 참조하여, 로우 데이터가 JPEG 파일로 변환되는 로우 데이터(501)의 변환 프로세스(50) 및 JPEG 파일이 JPEG 파일로 변환되는 JPEG 파일(601)의 변환 프로세스(60)를 상세히 설명하였다.In the above, with reference to FIGS. 5 and 6, the
원본 영상에서 상술한 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터는, 로우 데이터(501)의 변환 프로세스(50)의 양자화/영상 데이터 삽입(508)을 수행하는 과정 및 JPEG 파일(601)의 변환 프로세스(60)의 양자화/영상 데이터 삽입(611)을 수행하는 과정에서 원본 영상 전체에 삽입될 수 있다.The image data of the predefined area in which the above-described visible watermark is inserted in the original image is performed by performing the quantization /
이를 통해, 원본 영상 전체에 삽입된, 상술한 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터가 원본 영상을 복원하는 과정에서 이용됨으로써, 비저블 워터마크가 삽입되기 전의 원본 영상의 질과 동등한 수준으로 원본 영상이 복원될 수 있다.In this way, the image data of the predefined area in which the above-described visible watermark is inserted in the entire original image is used in the process of restoring the original image, thereby equaling the quality of the original image before the visible watermark is inserted. To the original level can be restored.
상술한 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터가 삽입되는 과정을 수행하는 영상 처리 장치에 대하여 이하 도 7 내지 도 10을 참조하여 상세히 설명한다.An image processing apparatus that performs the process of inserting the image data for the predefined area where the above-mentioned visible watermark is inserted will be described in detail with reference to FIGS. 7 to 10.
도 7은 본 발명의 일 실시 예에 따른 영상 처리 장치의 블록도이다.7 is a block diagram of an image processing apparatus according to an exemplary embodiment.
도 7을 참조하면 영상 처리 장치(700)는 저장부(710) 및 프로세서(720)를 포함할 수 있다.Referring to FIG. 7, the
저장부(710)는 데이터를 저장한다. 예를 들어, 저장부(710)는 영상에 대한 로우 데이터, JPEG 데이터 등을 저장할 수 있다.The
프로세서(720)는 영상 처리 장치(700)를 전반적으로 제어한다.The
특히, 프로세서(720)는 비저블 워터마크가 삽입되는 영상을 처리할 수 있다.In particular, the
구체적으로, 프로세서(720)는 영상(또는 원본 영상) 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 저장하도록 저장부(710)를 제어할 수 있다. 여기서, 저장된 상기 영상 데이터는 후술할 복수의 변환 휘도 값을 양자화하는 과정에 이용될 수 있다.In detail, the
프로세서(720)는 영상의 단위 블록에 포함되는 복수의 화소 각각에 대응되는 복수의 변환 휘도 값을 획득할 수 있다. 프로세서(720)의 본 동작은 상술한 도 5의 이산 코사인 변환(507)이나, 다운샘플링(506) 및 이산 코사인 변환(507)에서 수행될 수 있다. 또는, 프로세서(720)의 본 동작은 상술한 도 6의 이산 코사인 변환(610)이나, 다운샘플링(609) 및 이산 코사인 변환(610)에서 수행될 수 있다.The
여기서, 복수의 변환 휘도 값은 복수의 화소 각각에 대응되는 복수의 휘도 값이 이산 코사인 변환된 값으로 정의될 수 있다. 일 예로, 복수의 휘도 값은 상술한 도 5 및 도 6의 Y 값일 수 있다. Here, the plurality of converted luminance values may be defined as discrete cosine transformed values of the plurality of luminance values corresponding to each of the plurality of pixels. For example, the plurality of luminance values may be Y values of FIGS. 5 and 6 described above.
프로세서(720)는 복수의 변환 휘도 값을 양자화하여 복수의 변환 휘도 값에 대응되는 복수의 양자화 값을 획득할 수 있다. 프로세서(720)의 본 동작은 상술한 도 5의 양자화/영상 데이터 삽입(508)에서 수행될 수 있다. 또는, 프로세서(720)의 본 동작은 상술한 도 6의 양자화/영상 데이터 삽입(611)에서 수행될 수 있다.The
여기서, 복수의 양자화 값은 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터 중 일부를 포함할 수 있다. 일 예로, 복수의 양자화 값 각각은 기정의된 영역에 대한 영상 데이터 중 일부에 대응되는 비트 스트링(bit string)에 포함되는 단위 비트에 대한 정보를 포함할 수 있다. 예를 들면, 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터가 '1100101'의 비트 스트링을 포함하는 경우, 복수의 양자화 값 중 첫 번째 값에는 '1'이 삽입(embedded)되고, 복수의 양자화 값 중 두 번째 값에는 '1'이 삽입되고, 복수의 양자화 값 중 세 번째 값에는 '0'이 삽입되고, 복수의 양자화 값 중 네 번째 값에는 '0'이 삽입되고, 복수의 양자화 값 중 다섯 번째 값에는 '1'이 삽입되고, 복수의 양자화 값 중 여섯 번째 값에는 '0'이 삽입되고, 복수의 양자화 값 중 일곱 번째 값에는 '1'이 삽입될 수 있다.Here, the plurality of quantization values may include some of image data of a predefined area in which a visible watermark is inserted in the image. For example, each of the plurality of quantization values may include information about a unit bit included in a bit string corresponding to a part of image data for a predefined area. For example, when the image data of the predefined area in which the visible watermark is inserted in the image includes a bit string of '1100101', '1' is embedded in the first value of the plurality of quantization values. , '1' is inserted into the second value of the plurality of quantization values, '0' is inserted into the third value of the plurality of quantization values, '0' is inserted into the fourth value of the plurality of quantization values, and '1' is inserted into a fifth value of the quantization value of, '0' is inserted into a sixth value of the plurality of quantization values, and '1' is inserted into a seventh value of the plurality of quantization values.
상술한 복수의 양자화 값은 복수의 변환 휘도 값 각각에 대응되는 복수의 기정의된 스텝 사이즈(step size)에 기초하여 결정될 수 있다. 이하, 도 8 및 도 9를 참조하여, 복수의 양자화 값을 결정하는 방법을 상세히 설명한다.The plurality of quantization values described above may be determined based on a plurality of predefined step sizes corresponding to each of the plurality of conversion luminance values. Hereinafter, a method of determining a plurality of quantization values will be described in detail with reference to FIGS. 8 and 9.
도 8은 상술한 복수의 기정의된 스텝 사이즈를 포함하는 휘도 양자화 테이블(80)을 도시한다. 이산 코사인 변환은 화소를 기준으로 8X8 블록에 대하여 수행되므로, 휘도 양자화 테이블도 8X8 블록으로 구성될 수 있다. 여기서, 휘도 양자화 테이블(80)은 다양하게 기저장될 수 있다. 또한, 휘도 양자화 테이블(80)은 영상의 원본 영상 또는 비저블 워터마크와 관련되는 특성에 기초하여 선택적으로 이용될 수 있다. 예를 들어, 휘도 양자화 테이블(80)은 비저블 워터마크가 삽입되는 영역과 나머지 원본 영상 간의 휘도 특성, 비저블 워터마크가 삽입되는 영역의 크기 등의 특성에 따라 선택적으로 이용될 수 있다.8 illustrates a luminance quantization table 80 that includes a plurality of predefined step sizes described above. Since the discrete cosine transform is performed on an 8 × 8 block based on the pixel, the luminance quantization table may also be configured as an 8 × 8 block. Here, the luminance quantization table 80 may be stored in various ways. In addition, the luminance quantization table 80 may be selectively used based on characteristics associated with an original image or a visible watermark of the image. For example, the luminance quantization table 80 may be selectively used according to characteristics such as luminance characteristics between a region into which a visible watermark is inserted and the rest of the original image, a size of a region into which the visible watermark is inserted, and the like.
도 8을 참조하면, 휘도 양자화 테이블의 제1 스텝 사이즈(81)는 16, 제2 스텝 사이즈(82)는 6, 제3 스텝 사이즈(83)는 6으로 할당된다. 제4 스텝 사이즈(84) 이후로는 중복되는 내용이므로 설명을 생략한다. 여기서, 각 스텝 사이즈를 로드하는 순서는 참조번호 81, 참조번호 82, 참조번호 83, 참조번호 84와 같이 지그재그 순서로 설정될 수 있다.Referring to FIG. 8, the
일 예로, 도 8에서, 회색(gray)으로 표시된 영역의 스텝 사이즈들 적어도 일부가 휘도 양자화에 활용될 수 있다. 또한, 도 8에서, 회색으로 표시된 영역 외의 스텝 사이즈들은 휘도 양자화에 활용되지 않을 수 있다.For example, in FIG. 8, at least some of the step sizes of the area indicated by gray may be used for luminance quantization. In addition, in FIG. 8, step sizes other than the area indicated in gray may not be utilized for luminance quantization.
도 9는 본 발명의 일 실시 예에 따른 복수의 변환 휘도 값을 도시한다. 9 illustrates a plurality of converted luminance values according to an embodiment of the present invention.
도 9를 참조하면, 이산 코사인 변환 과정을 통해, 제1 변환 휘도 값(91)은 45, 제2 변환 휘도 값(92)은 99, 제3 변환 휘도 값(93)은 99, 제4 변환 휘도 값(94)는 99로 획득된다. 제4 변환 휘도 값(94) 이후로는 중복되는 내용이므로 설명을 생략한다. 여기서, 각 변환 휘도 값을 로드하는 순서는 참조번호 91, 참조번호 92, 참조번호 93, 참조번호 94와 같이 지그재그 순서로 설정될 수 있다.Referring to FIG. 9, through a discrete cosine transform process, the first
프로세서(720)는 복수의 기정의된 스텝 사이즈(80) 및 복수의 변환 휘도 값(90)에 기초하여 복수의 양자화 값을 결정할 수 있다.The
여기서, 복수의 변환 휘도 값(90) 중 첫 번째 값(91) 45는 휘도에서 중요한 값(DC)으로 취급되기 때문에, 복수의 변환 휘도 값(90) 중 첫 번째 값(91)에는 양자화를 수행하면서 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 삽입하지 않는 것이 바람직하다. 이하에서, 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터는 복수의 변환 휘도 값(90) 중 첫 번째 값(92)부터 삽입되는 것으로 설명한다.Since the
먼저, 복수의 변환 휘도 값(90) 중 첫 번째 값(91)을 양자화하는 방법을 상세히 설명한다.First, a method of quantizing the
프로세서(720)는 복수의 변환 휘도 값(90) 중 하나(91)인 45에 대응되는 기정의된 스텝 사이즈(81) 16의 배수 중에서, 45와의 차이가 가장 작은 제1 값을 복수의 양자화 값 중 하나로 결정할 수 있다.The
예를 들면, 프로세서(720)는 복수의 변환 휘도 값(90) 중 하나(91)인 45에 대응되는 기정의된 스텝 사이즈(81) 값 16의 배수(16, 32, 48, 64, …) 중에서, 복수의 변환 휘도 값(90) 중 하나(91)인 45와의 차이가 가장 작은 48을 양자화 값으로 결정할 수 있다.For example, the
이하에서, 복수의 변환 휘도 값(90)을 복수의 양자화 값으로 변환하면서, 상기 복수의 양자화 값에 비트 스트링 데이터를 삽입하는 방법을 구체적으로 설명한다. 이하에서, 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터의 일부인 비트 스트링은 '100'인 것으로 가정한다.Hereinafter, a method of inserting bit string data into the plurality of quantized values while converting the plurality of converted
먼저, 복수의 변환 휘도 값(90) 중 두 번째 값(92) 99를 양자화하면서, 양자화 값에 1자리의 단위 비트 '1'을 삽입하는 방법을 상세히 설명한다.First, a method of inserting one-bit unit bit '1' into the quantization value while quantizing the
프로세서(720)는 복수의 변환 휘도 값(90) 중 하나(92)에 대응되는 기정의된 스텝 사이즈(82)의 배수 중에서, 복수의 변환 휘도 값(90) 중 하나(92)와의 차이가 가장 작은 제1 값 및 복수의 변환 휘도 값 중 하나와 차이가 두 번째로 작은 제2 값 중 하나를 복수의 양자화 값 중 하나로 결정할 수 있다.The
예를 들면, 프로세서(720)는 복수의 변환 휘도 값(90) 중 하나(92)인 99에 대응되는 기정의된 스텝 사이즈(82) 6의 배수(6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96, 102, …) 중에서, 99와의 차이가 가장 작은 제1 값 102 및 99와의 차이가 두 번째로 작은 제2 값 96 중 하나를 99의 양자화 값 중 하나로 결정할 수 있다.For example, the
여기서, 프로세서(720)는 제1 값 또는 제2 값을 기정의된 스텝 사이즈로 나눈 결과의 몫이 홀수이면, 제1 값 또는 제2 값에 포함되는 단위 비트 정보는 '1'이고, 제1 값 또는 제2 값을 기정의된 스텝 사이즈로 나눈 결과의 몫이 짝수이면, 제1 값 또는 제2 값에 포함되는 단위 비트 정보는 '0'으로 결정할 수 있다.Here, if the quotient of the result of dividing the first value or the second value by the predetermined step size is odd, the
상술한 실시 예에 기초하여 설명하면, 제1 값 102를 기정의된 스텝 사이즈 6으로 나눈 결과의 몫 17이 홀수이기 때문에, 제1 값 48에 삽입되는 단위 비트 정보는 '1'이고, 제2 값 96을 기정의된 스텝 사이즈 6으로 나눈 결과의 몫 16이 짝수이기 때문에, 제2 값 96에 포함되는 단위 비트 정보는 '0'이다.Based on the above-described embodiment, since the quotient 17 of the result of dividing the first value 102 by the
복수의 변환 휘도 값(90) 중 하나(92)인 99에 대한 양자화 값은 단위 비트 '1'을 포함해야 하기 때문에, 프로세스(720)는 최종 양자화 값을 102로 결정할 수 있다.Since the quantization value for 99, one 92 of the plurality of
다음으로, 복수의 변환 휘도 값(90) 중 세 번째 값(93) 99를 양자화하면서, 양자화 값에 1자리의 단위 비트 '0'을 삽입하는 방법을 상세히 설명한다.Next, a method of inserting one-bit unit bit '0' into the quantization value while quantizing the third value 93 99 among the plurality of converted
프로세서(720)는 복수의 변환 휘도 값(90) 중 하나(93)에 대응되는 기정의된 스텝 사이즈(83)의 배수 중에서, 복수의 변환 휘도 값(90) 중 하나(93)와의 차이가 가장 작은 제1 값 및 복수의 변환 휘도 값 중 하나와 차이가 두 번째로 작은 제2 값 중 하나를 복수의 양자화 값 중 하나로 결정할 수 있다.The
예를 들면, 프로세서(720)는 복수의 변환 휘도 값(90) 중 하나(93)인 99에 대응되는 기정의된 스텝 사이즈(83) 6의 배수(6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96, 102, …) 중에서, 99와의 차이가 가장 작은 제1 값 102 및 99와의 차이가 두 번째로 작은 제2 값 96 중 하나를 99의 양자화 값 중 하나로 결정할 수 있다.For example,
여기서, 프로세서(720)는 제1 값 또는 제2 값을 기정의된 스텝 사이즈로 나눈 결과의 몫이 홀수이면, 제1 값 또는 제2 값에 포함되는 단위 비트 정보는 '1'이고, 제1 값 또는 제2 값을 기정의된 스텝 사이즈로 나눈 결과의 몫이 짝수이면, 제1 값 또는 제2 값에 포함되는 단위 비트 정보는 '0'으로 결정할 수 있다.Here, if the quotient of the result of dividing the first value or the second value by the predetermined step size is odd, the
상술한 실시 예에 기초하여 설명하면, 제1 값 102를 기정의된 스텝 사이즈 6으로 나눈 결과의 몫 17이 홀수이기 때문에, 제1 값 102에 삽입되는 단위 비트 정보는 '1'이고, 제2 값 96을 기정의된 스텝 사이즈 6으로 나눈 결과의 몫 16이 짝수이기 때문에, 제2 값 96에 포함되는 단위 비트 정보는 '0'이다.Based on the above-described embodiment, since the quotient 17 of the result of dividing the first value 102 by the
복수의 변환 휘도 값(90) 중 하나(93)인 99에 대한 양자화 값은 단위 비트 '0'을 포함해야 하기 때문에, 프로세스(720)는 최종 양자화 값을 96으로 결정할 수 있다.Since the quantization value for 99, one of the plurality of
다음으로, 복수의 변환 휘도 값(90) 중 네 번째 값(94) 99를 양자화하면서, 양자화 값에 1자리의 단위 비트 '0'을 삽입하는 방법을 상세히 설명한다.Next, a method of inserting one-bit unit bit '0' into the quantization value while quantizing the fourth value 94 99 of the plurality of converted
프로세서(720)는 복수의 변환 휘도 값(90) 중 하나(94)에 대응되는 기정의된 스텝 사이즈(84)의 배수 중에서, 복수의 변환 휘도 값(90) 중 하나(93)와의 차이가 가장 작은 제1 값 및 복수의 변환 휘도 값 중 하나와 차이가 두 번째로 작은 제2 값 중 하나를 복수의 양자화 값 중 하나로 결정할 수 있다.The
예를 들면, 프로세서(720)는 복수의 변환 휘도 값(90) 중 하나(94)인 99에 대응되는 기정의된 스텝 사이즈(84) 7의 배수(7, 14, 21, 28, 35, 42, 56, 63, 70, 77, 84, 91, 98, 105, …) 중에서, 99와의 차이가 가장 작은 제1 값 98 및 99와의 차이가 두 번째로 작은 제2 값 105 중 하나를 99의 양자화 값 중 하나로 결정할 수 있다.For example, the
여기서, 프로세서(720)는 제1 값 또는 제2 값을 기정의된 스텝 사이즈로 나눈 결과의 몫이 홀수이면, 제1 값 또는 제2 값에 포함되는 단위 비트 정보는 '1'이고, 제1 값 또는 제2 값을 기정의된 스텝 사이즈로 나눈 결과의 몫이 짝수이면, 제1 값 또는 제2 값에 포함되는 단위 비트 정보는 '0'으로 결정할 수 있다.Here, if the quotient of the result of dividing the first value or the second value by the predetermined step size is odd, the
상술한 실시 예에 기초하여 설명하면, 제1 값 98을 기정의된 스텝 사이즈 7로 나눈 결과의 몫 14가 짝수이기 때문에, 제1 값 98에 삽입되는 단위 비트 정보는 '0'이고, 제2 값 105을 기정의된 스텝 사이즈 7로 나눈 결과의 몫 15가 홀수이기 때문에, 제2 값 105에 포함되는 단위 비트 정보는 '1'이다.Based on the above-described embodiment, since the quotient 14 of the result of dividing the
복수의 변환 휘도 값(90) 중 하나(94)인 99에 대한 양자화 값은 단위 비트 '0'을 포함해야 하기 때문에, 프로세스(720)는 최종 양자화 값을 98로 결정할 수 있다.Since the quantization value for 99, one of the plurality of
상술한 본 발명의 실시 예에서, 상술한 도 9의 복수의 변환 휘도 값(90) 중, 도 8의 회색으로 표시된 영역의 스텝 사이즈에 대응되는 변환 휘도 값에 대하여 영상 데이터를 삽입하는 과정을 수행할 수 있다. 또한, 상술한 도 9의 복수의 변환 휘도 값(90)뿐만 아니라, CbCr과 같은 색차 값에 영상 데이터를 삽입할 수 있음은 물론이다.In the above-described exemplary embodiment of the present invention, the image data is inserted into the converted luminance value corresponding to the step size of the gray area shown in FIG. 8 among the plurality of converted
상술한 본 발명의 실시 예에서, 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터의 일부인 비트 스트링 '100'을 포함하는 최종 양자화 값 '102','96, '98'을 결정하는 과정을 상세히 설명하였다. 상술한 본 발명의 실시 예를 참조하면, 최종 양자화값을 획득하는 수신단에서도 양자화 값 '102','96, '98' 및 휘도 양자화 테이블(90)을 참조하여, 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터의 일부인 비트 스트링 '100'을 획득할 수 있다. 즉, 본 발명에 따른 다양한 실시 예에 따르면, 비저블 워터마크가 삽입된 영상의 데이터를 효과적으로 복원하여 복원된 영상의 높은 퀄러티를 실현할 수 있다.In the above-described embodiment of the present invention, the final quantization values '102', '96, '98' including the bit string '100' which is a part of the image data for the predefined area in which the visible watermark is inserted in the image are determined. The process of the described in detail. Referring to the above-described embodiment of the present invention, a visible watermark is inserted in the image by referring to the quantization values '102', '96, '98' and the luminance quantization table 90 in the receiving end obtaining the final quantization value. A bit string '100' which is a part of image data for a predefined area may be obtained. That is, according to various embodiments of the present disclosure, the high quality of the reconstructed image may be realized by effectively reconstructing the data of the image into which the visible watermark is inserted.
도 10은, 양자화 값을 결정하는 방법을 도시한다. 양자화 값에 '0' 또는 '1'을 삽입하기 위해서는, 스텝 사이즈의 배수 중 변환 휘도 값에서 가장 가까운 값과 두 번째로 가까운 값을 양자화 값으로 선택하되, 가장 가까운 값과 두 번째로 가까운 값 중 하나를 '0'을 포함하는 것으로 정의하고, 다른 하나를 '1'을 포함하는 것으로 정의한다.10 illustrates a method of determining quantization values. To insert '0' or '1' into the quantization value, select the second value closest to the transform luminance value among the multiples of the step size as the quantization value, but the second value closest to the nearest value. One is defined as containing '0' and the other is defined as containing '1'.
상술한 본 발명의 다양한 예에서, 설명의 편의를 위해 JPEG 압축방법에 기초하여 설명하지만, 이에 제한되지 않는다. 예를 들어, 본 발명의 다양한 실시 예는 MPEG(moving picture experts group)에 기초한 동영상 압축방법에 적용될 수 있다. In the various examples of the present invention described above, the description is based on the JPEG compression method for convenience of description, but the present invention is not limited thereto. For example, various embodiments of the present invention may be applied to a video compression method based on a moving picture experts group (MPEG).
이하에서, 도 11을 참조하여, 상술한 본 발명의 다양한 실시 예가 MPEG에 적용되는 예를 설명한다. 상술한 도 5의 실시 예와 중복되는 구성에 대하여는 상세한 설명을 생략한다.Hereinafter, an example in which various embodiments of the present invention described above are applied to MPEG will be described with reference to FIG. 11. Detailed descriptions of components overlapping with those of the exemplary embodiment of FIG. 5 will be omitted.
도 11은 본 발명의 다른 실시 예에 따른 로우 데이터의 변환 프로세스를 도시한다.11 illustrates a process of converting row data according to another embodiment of the present invention.
도 11을 참조하면, 동영상(1101)은 디먹서(DeMuxer)(1102)에 의해 영상(1103) 및 오디오(1104)로 분리될 수 있다.Referring to FIG. 11, a
MPEG-1/MPEG-2에서는 GOP(Group of Picture) 개념을 이용한다. GOP는 I 프레임(Intra frame), P 프레임(Predicted frame) 및 B 프레임(Bidirectional frame)의 프레임 타입으로 구성된다. I 프레임은 화질의 기준이 되는 가장 중요한 프레임이고, P 프레임은 이전의 I 프레임의 정보에 기초하여 구성된 프레임이고, B 프레임은 전 후의 I 프레임 또는 P 프레임의 정보를 바탕으로 구성된 프레임이다.MPEG-1 / MPEG-2 uses the concept of group of pictures (GOP). The GOP consists of a frame type of an I frame (Intra frame), a P frame (Predicted frame) and a B frame (Bidirectional frame). The I frame is the most important frame that is a standard of image quality, the P frame is a frame constructed based on the information of the previous I frame, and the B frame is a frame composed based on the information of the I or P frame before and after.
상술한 도 11의 원본 영상(1103)은 I 프레임, P 프레임 및 B 프레임으로 구성될 수 있다.The above-described
여기서, 상술한 도 5의 과정이 JPEG에 기반하여 수행되는 것으로 설명한 바 있으나, MPEG에서도 JPEG와 같이 8X8 블록의 크기로 처리되기 때문에, 상술한 도 5의 과정 502 내지 509에 대응되는 도 11의 과정 1105 내지 1112는 I 프레임(1113)에 대하여 수행될 수 있다.Here, although the above-described process of FIG. 5 has been described as being performed based on JPEG, the process of FIG. 11 corresponding to the above-described
도 4 및 도 11을 참조하면, 도 11의 과정 1105 내지 1112를 거쳐 생성된 I 프레임(1113)은 비저블 워터마크가 삽입된 원본 영상''(1114)으로 생성되며, 오디오(1115)와 함께 먹서(Muxer)(1116)에 입력되어 동영상'(1117)으로 재생될 수 있다.4 and 11, an
상술한 도 11의 실시 예에서 중요도가 높은 I 프레임에 대한 영상 처리 방법을 설명하였지만, 상술한 영상 처리 방법은 P 프레임 및 B 프레임에도 적절하게 적용될 수도 있을 것이다.Although the image processing method for the I frame having high importance has been described in the above-described embodiment of FIG. 11, the image processing method described above may be appropriately applied to the P frame and the B frame.
또한, 상술한 영상 처리 방법은 MPEG-1/MPEG-2에 적용되는 것으로 설명하였으나, 이에 제한되지 않고 동종의 기술자 수준에서 MPEG-4에서도 동일 또는 실질적으로 동일하게 적용될 수 있을 것이다.In addition, although the above-described image processing method has been described as being applied to MPEG-1 / MPEG-2, the present invention is not limited thereto, and the same may be applied to MPEG-4 at the same level of technology.
한편, 동영상(1101) 전체에서, 동영상(1101)에 포함되는 오브젝트의 움직임 변화량이 큰 경우, 동영상(1101) 내에서 I 프레임의 빈도는 높아진다. 이 경우, I 프레임의 빈도가 높아지기 때문에 비저블 워터마크 영역에 대응되는 원본 동영상에 대한 데이터를 I 프레임들에 충분히 삽입할 수 있다.On the other hand, in the
이와 달리, 동영상(1101)의 비저블 워터마크 영역에 포함되는 오브젝트의 움직임의 변화량이 기정의된 변화량 이상인 반면, 비저블 워터마크 외 영역에 포함되는 오브젝트의 움직임 변화량이 기정의된 변화량 이하로서 변화가 적은 경우 비저블 워터마크 영역에 대응되는 원본 동영상에 대한 데이터는 증가한다. 이 경우, 상기 증가한 원본 동영상에 대한 데이터를 저장하기 위해, 프로세서(720)는 동영상(1101)에 포함되는 I 프레임의 수(또는 비율)를 증가시킬 수 있다. 즉, 동영상(1101)에 포함되는 I 프레임의 수(또는 빈도)는 비저블 워터마크에 포함되는 오브젝트의 움직임 변화량에 비례할 수 있다. 여기서, 움직임 변화량은 모션 벡터(motion vector)의 변화량 또는 모션 추정(motion estimation)의 변화량으로 정의될 수도 있다.On the contrary, while the amount of change of the motion of the object included in the visible watermark area of the
도 12는 본 발명의 일 실시 예에 따른 영상 처리 장치의 세부 구성에 대한 블록도이다.12 is a block diagram of a detailed configuration of an image processing apparatus according to an exemplary embodiment.
도 12를 참조하면, 전자장치(1200)는 통신부(1210), 저장부(1220) 및 프로세서(1230)를 포함한다.Referring to FIG. 12, the
통신부(1210)는 통신을 수행한다. 통신부(1210)는 BT(BlueTooth), WI-FI(Wireless Fidelity), Zigbee, IR(Infrared), NFC(Near Field Communication) 등과 같은 다양한 통신 방식을 통해 외부 기기와 통신을 수행할 수 있다.The
저장부(1220)는 전자장치(1200)를 구동시키기 위한 O/S(Operating System) 소프트웨어 모듈, 디스플레이 영역에서 제공되는 다양한 UI 화면을 구성하기 위한 데이터 등을 저장할 수 있다. 또한, 저장부(1220)는 읽고 쓰기가 가능하다.The
프로세서(1230)는 저장부(1220)에 저장된 각종 프로그램을 이용하여 영상 처리 장치(1200)의 동작을 전반적으로 제어한다.The
구체적으로, 프로세서(1230)는 RAM(1231), ROM(1232), 메인 CPU(1233), 그래픽 처리부(1234), 제1 내지 n 인터페이스(1235-1 ~ 1235-n), 버스(1236)를 포함한다.In detail, the
RAM(1231), ROM(1232), 메인 CPU(1233), 그래픽 처리부(1234), 제1 내지 n 인터페이스(1235-1 ~ 1235-n) 등은 버스(1236)를 통해 서로 연결될 수 있다. The
제1 내지 n 인터페이스(1235-1 내지 1235-n)는 상술한 각종 구성요소들과 연결된다. 인터페이스들 중 하나는 네트워크를 통해 외부 장치와 연결되는 네트워크 인터페이스가 될 수도 있다.The first to n interfaces 1235-1 to 1235-n are connected to the various components described above. One of the interfaces may be a network interface connected to an external device via a network.
메인 CPU(1233)는 저장부(1220)에 액세스하여, 저장부(1220)에 저장된 O/S를 이용하여 부팅을 수행한다. 그리고, 저장부(1220)에 저장된 각종 프로그램, 컨텐트, 데이터 등을 이용하여 다양한 동작을 수행한다.The
ROM(1232)에는 시스템 부팅을 위한 명령어 세트 등이 저장된다. 턴온 명령이 입력되어 전원이 공급되면, 메인 CPU(1233)는 ROM(1232)에 저장된 명령어에 따라 저장부(1220)에 저장된 O/S를 RAM(1231)에 복사하고, O/S를 실행시켜 시스템을 부팅시킨다. 부팅이 완료되면, 메인 CPU(1233)는 저장된 각종 어플리케이션 프로그램을 RAM(1231)에 복사하고, RAM(1231)에 복사된 어플리케이션 프로그램을 실행시켜 각종 동작을 수행한다.The
그래픽 처리부(1234)는 연산부 및 렌더링부를 이용하여 아이콘, 이미지, 텍스트 등과 같은 다양한 객체를 포함하는 화면을 생성한다.The
도 13은 본 발명의 일 실시 예에 따른 영상 처리 방법에 대한 흐름도이다.13 is a flowchart illustrating an image processing method according to an exemplary embodiment.
도 13을 참조하면, 비저블 워터마크가 삽입되는 영상을 처리하는 방법은 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 저장하는 과정(1310), 영상의 단위 블록에 포함되는 복수의 화소 각각에 대응되는 복수의 변환 휘도 값을 획득하는 과정(1320) 및 복수의 변환 휘도 값을 양자화하여 복수의 변환 휘도 값에 대응되는 복수의 양자화 값을 획득하는 과정(1330)을 포함할 수 있다.Referring to FIG. 13, in the method of processing an image into which a visible watermark is inserted, a process of storing image data of a predefined area in which a visible watermark is inserted in
여기서, 복수의 양자화 값은 기정의된 영역에 대한 영상 데이터 중 일부를 포함할 수 있다.Here, the plurality of quantization values may include some of the image data for the predefined area.
상술한 복수의 양자화 값 각각은 기정의된 영역에 대한 영상 데이터 중 일부에 대응되는 비트 스트링(bit string)에 포함되는 단위 비트에 대한 정보를 포함할 수 있다.Each of the plurality of quantization values described above may include information about a unit bit included in a bit string corresponding to a part of the image data for the predefined area.
상술한 상기 복수의 변환 휘도 값은 복수의 화소 각각에 대응되는 복수의 휘도 값이 이산 코사인 변환(DCT: discrete cosine transform)된 값일 수 있다.The plurality of transform luminance values described above may be discrete cosine transform (DCT) of a plurality of luminance values corresponding to each of the plurality of pixels.
또한, 상술한 상기 복수의 양자화 값은 복수의 변환 휘도 값 각각에 대응되는 복수의 기정의된 스텝 사이즈(step size)에 기초하여 결정될 수 있다.In addition, the plurality of quantization values described above may be determined based on a plurality of predefined step sizes corresponding to each of the plurality of conversion luminance values.
여기서, 복수의 양자화 값 중 하나는 복수의 변환 휘도 값 중 하나에 대응되는 기정의된 스텝 사이즈의 배수 중에서, 복수의 변환 휘도 값 중 하나와의 차이가 가장 작은 제1 값 및 복수의 변환 휘도 값 중 하나와 차이가 두 번째로 작은 제2 값 중 하나일 수 있다.Here, one of the plurality of quantization values is a first value and a plurality of conversion luminance values having a smallest difference from one of the plurality of conversion luminance values among multiples of a predefined step size corresponding to one of the plurality of conversion luminance values. May be one of the second smaller second values.
또한, 상술한 제1 값 또는 상술한 제2 값은 제1 값 또는 제2 값을 기정의된 스텝 사이즈로 나눈 결과의 몫이 홀수이면, 제1 값 또는 제2 값에 포함되는 단위 비트 정보는 '1'이고, 제1 값 또는 제2 값을 기정의된 스텝 사이즈로 나눈 결과의 몫이 짝수이면, 제1 값 또는 제2 값에 포함되는 단위 비트 정보는 '0'일 수 있다.In addition, if the quotient of the result of dividing the first value or the second value by the predetermined step size is odd, the unit bit information included in the first value or the second value is If it is '1' and the quotient of the result of dividing the first value or the second value by the predefined step size is an even number, the unit bit information included in the first value or the second value may be '0'.
상술한 비저블 워터마크가 삽입되는 영상은 인비저블 디지털 워터마크(invisible digital watermark)가 기 삽입된 영상일 수 있다.The image into which the above-described visible watermark is inserted may be an image into which an invisible digital watermark is inserted.
한편, 상술한 본 개시의 다양한 실시 예들에 따른 영상 처리 방법은 컴퓨터로 실행 가능한 프로그램 코드로 구현되어 다양한 비 일시적 판독 가능 매체(non-transitory computer readable medium)에 저장된 상태로 프로세서에 의해 실행되도록 각 서버 또는 기기들에 제공될 수 있다. Meanwhile, the image processing method according to various exemplary embodiments of the present disclosure described above may be implemented as computer executable program code and executed by a processor in a state of being stored in various non-transitory computer readable mediums. Or in devices.
일 예로, 영상 중 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 저장하는 과정, 영상의 단위 블록에 포함되는 복수의 화소 각각에 대응되는 복수의 변환 휘도 값을 획득하는 과정 및 복수의 변환 휘도 값을 양자화하여 복수의 변환 휘도 값에 대응되는 복수의 양자화 값을 획득하는 과정을 수행하는 프로그램이 저장된 비일시적 판독 가능 매체(non-transitory computer readable medium)가 제공될 수 있다.For example, storing image data of a predetermined area in which a visible watermark is inserted in the image, acquiring a plurality of converted luminance values corresponding to each of the plurality of pixels included in the unit block of the image, and a plurality of A non-transitory computer readable medium may be provided in which a program for performing a process of obtaining a plurality of quantization values corresponding to the plurality of transform luminance values by quantizing the transform luminance values.
비 일시적 판독 가능 매체란 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상술한 다양한 어플리케이션 또는 프로그램들은 CD, DVD, 하드 디스크, 블루레이 디스크, USB, 메모리카드, ROM 등과 같은 비일시적 판독 가능 매체에 저장되어 제공될 수 있다. A non-transitory readable medium refers to a medium that stores data semi-permanently and is read by a device, not a medium that stores data for a short time such as a register, a cache, or a memory. Specifically, the various applications or programs described above may be stored and provided in a non-transitory readable medium such as a CD, a DVD, a hard disk, a Blu-ray disk, a USB, a memory card, a ROM, or the like.
또한, 이상에서는 본 개시의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 개시는 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 개시의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 개시의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In addition, while the above has been shown and described with respect to preferred embodiments of the present disclosure, the present disclosure is not limited to the specific embodiments described above, the technical field to which the present invention belongs without departing from the spirit of the present disclosure claimed in the claims. Of course, various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present disclosure.
영상 처리 장치: 700
통신부: 1110
저장부: 710, 1120
프로세서: 720, 1230Image Processing Unit: 700
Communications Department: 1110
Storage: 710, 1120
Processor: 720, 1230
Claims (18)
상기 영상 중 상기 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 저장하는 과정;
상기 영상의 단위 블록에 포함되는 복수의 화소 각각에 대응되는 복수의 변환 휘도 값을 획득하는 과정;
상기 복수의 변환 휘도 값을 양자화하여 상기 복수의 변환 휘도 값에 대응되는 복수의 양자화 값을 획득하는 과정;
상기 복수의 양자화 값은,
상기 기정의된 영역에 대한 상기 영상 데이터 중 일부를 포함하는, 영상 처리 방법.
In the method for processing an image in which a visible watermark is inserted,
Storing image data of a predetermined area of the image into which the visible watermark is inserted;
Obtaining a plurality of converted luminance values corresponding to each of the plurality of pixels included in the unit block of the image;
Quantizing the plurality of transform luminance values to obtain a plurality of quantized values corresponding to the plurality of transform luminance values;
The plurality of quantization values,
And a portion of the image data for the predefined area.
상기 복수의 양자화 값 각각은,
상기 기정의된 영역에 대한 상기 영상 데이터 중 상기 일부에 대응되는 비트 스트링(bit string)에 포함되는 단위 비트에 대한 정보를 포함하는, 영상 처리 방법.
The method of claim 1,
Each of the plurality of quantization values,
And information about a unit bit included in a bit string corresponding to the portion of the image data for the predefined area.
상기 복수의 변환 휘도 값은,
상기 복수의 화소 각각에 대응되는 복수의 휘도 값이 이산 코사인 변환(DCT: discrete cosine transform)된 값인, 영상 처리 방법.
The method of claim 1,
The plurality of converted luminance values are,
And a plurality of luminance values corresponding to each of the plurality of pixels are discrete cosine transform (DCT) values.
상기 복수의 양자화 값은,
상기 복수의 변환 휘도 값 각각에 대응되는 복수의 기정의된 스텝 사이즈(step size)에 기초하여 결정되는, 영상 처리 방법.
The method of claim 1,
The plurality of quantization values,
And determined based on a plurality of predefined step sizes corresponding to each of the plurality of converted luminance values.
상기 복수의 양자화 값 중 하나는,
상기 복수의 변환 휘도 값 중 하나에 대응되는 기정의된 스텝 사이즈의 배수 중에서, 상기 복수의 변환 휘도 값 중 하나와의 차이가 가장 작은 제1 값 및 상기 복수의 변환 휘도 값 중 하나와 차이가 두 번째로 작은 제2 값 중 하나인, 영상 처리 방법.
The method of claim 4, wherein
One of the plurality of quantization values,
A difference between the first value and the one of the plurality of converted luminance values having the smallest difference from one of the plurality of converted luminance values among multiples of a predefined step size corresponding to one of the plurality of converted luminance values And one of the second smallest second values.
상기 제1 값 또는 상기 제2 값은,
상기 제1 값 또는 상기 제2 값을 상기 기정의된 스텝 사이즈로 나눈 결과의 몫이 홀수이면, 상기 제1 값 또는 상기 제2 값에 포함되는 단위 비트 정보는 '1'이고,
상기 제1 값 또는 상기 제2 값을 상기 기정의된 스텝 사이즈로 나눈 결과의 몫이 짝수이면, 상기 제1 값 또는 상기 제2 값에 포함되는 단위 비트 정보는 '0'인, 영상 처리 방법.
The method of claim 5,
The first value or the second value is,
If the quotient of the result of dividing the first value or the second value by the predefined step size is odd, the unit bit information included in the first value or the second value is '1',
And if the quotient of the result of dividing the first value or the second value by the predefined step size is an even number, the unit bit information included in the first value or the second value is '0'.
상기 비저블 워터마크가 삽입되는 영상은, 인비저블 디지털 워터마크(invisible digital watermark)가 기 삽입된, 영상 처리 방법.
The method of claim 1,
And an invisible digital watermark is inserted in the image into which the visible watermark is inserted.
상기 비저블 워터마크는 QR코드(quick response code)인, 영상 처리 방법.
In claim 1,
The visible watermark is a QR code (quick response code), the image processing method.
상기 영상은,
JPEG(joint photographic coding experts group) 영상 또는 MPEG(moving picture experts group) 동영상의 I 프레임인, 영상 처리 방법.
The method of claim 1,
The video,
An image processing method, which is an I frame of a joint photographic coding experts group (JPEG) picture or a moving picture experts group (MPEG) picture.
저장부; 및
상기 영상 중 상기 비저블 워터마크가 삽입되는 기정의된 영역에 대한 영상 데이터를 저장하도록 상기 저장부를 제어하고,
상기 영상의 단위 블록에 포함되는 복수의 화소 각각에 대응되는 복수의 변환 휘도 값을 획득하고,
상기 복수의 변환 휘도 값을 양자화하여 상기 복수의 변환 휘도 값에 대응되는 복수의 양자화 값을 획득하는 프로세서;를 포함하고,
상기 복수의 양자화 값은,
상기 기정의된 영역에 대한 상기 영상 데이터 중 일부를 포함하는, 영상 처리 장치.
An image processing apparatus for processing an image into which a visible watermark is inserted, the image processing apparatus comprising:
Storage unit; And
Controlling the storage unit to store image data of a predetermined area of the image into which the visible watermark is inserted;
Acquire a plurality of converted luminance values corresponding to each of the plurality of pixels included in the unit block of the image,
And a processor configured to quantize the plurality of converted luminance values to obtain a plurality of quantized values corresponding to the plurality of converted luminance values.
The plurality of quantization values,
And a portion of the image data for the predefined area.
상기 복수의 양자화 값 각각은,
상기 기정의된 영역에 대한 상기 영상 데이터 중 상기 일부에 대응되는 비트 스트링(bit string)에 포함되는 단위 비트에 대한 정보를 포함하는, 영상 처리 장치.
The method of claim 10,
Each of the plurality of quantization values,
And information about a unit bit included in a bit string corresponding to the part of the image data for the predefined area.
상기 복수의 변환 휘도 값은,
상기 복수의 화소 각각에 대응되는 복수의 휘도 값이 이산 코사인 변환(DCT: discrete cosine transform)된 값인, 영상 처리 장치.
The method of claim 10,
The plurality of converted luminance values are,
And a plurality of luminance values corresponding to each of the plurality of pixels are discrete cosine transform (DCT) values.
상기 복수의 양자화 값은,
상기 복수의 변환 휘도 값 각각에 대응되는 복수의 기정의된 스텝 사이즈(step size)에 기초하여 결정되는, 영상 처리 장치.
The method of claim 10,
The plurality of quantization values,
And are determined based on a plurality of predefined step sizes corresponding to each of the plurality of converted luminance values.
상기 복수의 양자화 값 중 하나는,
상기 복수의 변환 휘도 값 중 하나에 대응되는 기정의된 스텝 사이즈의 배수 중에서, 상기 복수의 변환 휘도 값 중 하나와의 차이가 가장 작은 제1 값 및 상기 복수의 변환 휘도 값 중 하나와 차이가 두 번째로 작은 제2 값 중 하나인, 영상 처리 장치.
The method of claim 13,
One of the plurality of quantization values,
A difference between the first value and the one of the plurality of converted luminance values having the smallest difference from one of the plurality of converted luminance values among multiples of a predefined step size corresponding to one of the plurality of converted luminance values And one of the second smallest second values.
상기 제1 값 또는 상기 제2 값은,
상기 제1 값 또는 상기 제2 값을 상기 기정의된 스텝 사이즈로 나눈 결과의 몫이 홀수이면, 상기 제1 값 또는 상기 제2 값에 포함되는 단위 비트 정보는 '1'이고,
상기 제1 값 또는 상기 제2 값을 상기 기정의된 스텝 사이즈로 나눈 결과의 몫이 짝수이면, 상기 제1 값 또는 상기 제2 값에 포함되는 단위 비트 정보는 '0'인, 영상 처리 장치.
The method of claim 14,
The first value or the second value is,
If the quotient of the result of dividing the first value or the second value by the predefined step size is odd, the unit bit information included in the first value or the second value is '1',
And if the quotient of the result of dividing the first value or the second value by the predefined step size is an even number, the unit bit information included in the first value or the second value is '0'.
상기 비저블 워터마크가 삽입되는 영상은, 인비저블 디지털 워터마크(invisible digital watermark)가 기 삽입된, 영상 처리 장치.
The method of claim 10,
And an invisible digital watermark is inserted in the image into which the visible watermark is inserted.
상기 비저블 워터마크는 QR코드(quick response code)인, 영상 처리 장치.
In claim 10,
The visible watermark is a QR code (quick response code), the image processing device.
상기 영상은,
JPEG(joint photographic coding experts group) 영상 또는 MPEG(moving picture experts group) 동영상의 I 프레임인, 영상 처리 장치.The method of claim 10,
The video,
An image processing apparatus, which is an I frame of a joint photographic coding experts group (JPEG) picture or a moving picture experts group (MPEG) picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190104033A KR102036077B1 (en) | 2019-08-23 | 2019-08-23 | Method for processing images into which visible watermark is embedded, and image processing apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190104033A KR102036077B1 (en) | 2019-08-23 | 2019-08-23 | Method for processing images into which visible watermark is embedded, and image processing apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR102036077B1 true KR102036077B1 (en) | 2019-10-25 |
Family
ID=68420686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020190104033A KR102036077B1 (en) | 2019-08-23 | 2019-08-23 | Method for processing images into which visible watermark is embedded, and image processing apparatus thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102036077B1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR0176505B1 (en) * | 1995-02-23 | 1999-04-15 | 김광호 | Method and apparatus for encoding the image with a fixed amount of encoding |
US20050137876A1 (en) * | 2003-12-17 | 2005-06-23 | Kiryung Lee | Apparatus and method for digital watermarking using nonlinear quantization |
KR20100124964A (en) * | 2009-05-20 | 2010-11-30 | 부경대학교 산학협력단 | Watermark embedding method based in an object of video image, and recording medium storing watermark embedding program |
KR20100127975A (en) * | 2009-05-27 | 2010-12-07 | 부경대학교 산학협력단 | Method for hiding geographical information in image data, and computer readable recording medium storing geographical information hiding program |
KR20150136320A (en) * | 2014-05-27 | 2015-12-07 | 한밭대학교 산학협력단 | System and Method for Embedding and Extracting Digital Watermark Using QR Code |
KR101930676B1 (en) * | 2018-07-25 | 2018-12-18 | 박기선 | CCTV image encryption method |
-
2019
- 2019-08-23 KR KR1020190104033A patent/KR102036077B1/en active IP Right Grant
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR0176505B1 (en) * | 1995-02-23 | 1999-04-15 | 김광호 | Method and apparatus for encoding the image with a fixed amount of encoding |
US20050137876A1 (en) * | 2003-12-17 | 2005-06-23 | Kiryung Lee | Apparatus and method for digital watermarking using nonlinear quantization |
KR20100124964A (en) * | 2009-05-20 | 2010-11-30 | 부경대학교 산학협력단 | Watermark embedding method based in an object of video image, and recording medium storing watermark embedding program |
KR20100127975A (en) * | 2009-05-27 | 2010-12-07 | 부경대학교 산학협력단 | Method for hiding geographical information in image data, and computer readable recording medium storing geographical information hiding program |
KR20150136320A (en) * | 2014-05-27 | 2015-12-07 | 한밭대학교 산학협력단 | System and Method for Embedding and Extracting Digital Watermark Using QR Code |
KR101930676B1 (en) * | 2018-07-25 | 2018-12-18 | 박기선 | CCTV image encryption method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1170938B1 (en) | Digital watermark data embedding method and apparatus | |
US8355525B2 (en) | Parallel processing of digital watermarking operations | |
EP4221221A1 (en) | Use of transformed coefficients to provide embedded signalling for watermarking | |
US7630512B2 (en) | Method for performing recoverable video and image watermarking which survives block-based video and image compression | |
US6449378B1 (en) | Data processing apparatus and method and storage medium | |
JPH11284843A (en) | Method and device for incorporating watermark in bit stream representation of digital image sequence | |
Hzu et al. | Digital watermarking for video | |
CA2988565A1 (en) | System and method for digital watermarking | |
JP2009514305A (en) | How to embed data in an information signal | |
US7526099B2 (en) | Motion picture data processing device, method, and program | |
US20020097891A1 (en) | Electronic watermarking data insertion/detection device | |
JPH11355736A (en) | Picture processor, picture processing method and storage medium readable by computer | |
EP2011075B1 (en) | Digital watermarking method | |
JP4023324B2 (en) | Watermark embedding and image compression unit | |
JP2001111808A (en) | Electronic watermark data inserting system and device | |
CN103458320B (en) | Realize the method that video adds digital watermarking | |
KR101378437B1 (en) | Method and device for watermarking on stream | |
CN111065000B (en) | Video watermark processing method, device and storage medium | |
KR102036077B1 (en) | Method for processing images into which visible watermark is embedded, and image processing apparatus thereof | |
CN116095341A (en) | Watermark embedding method, device, equipment and storage medium | |
US7606426B1 (en) | Image processing apparatus and method and storage medium | |
JP2010109787A (en) | Electronic watermark embedding and detecting method utilizing degraded host signal | |
US20220360806A1 (en) | Use of transformed coefficients to provide embedded signalling for watermarking | |
Sandaruwan | Robust and adaptive watermarking technique for secure authorship of digital images | |
WO2002039235A2 (en) | Batch identifier registration and embedding in media signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A302 | Request for accelerated examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |