KR102555534B1 - Method and apparatus for detecting wartermark for spherical panoramic image - Google Patents

Method and apparatus for detecting wartermark for spherical panoramic image Download PDF

Info

Publication number
KR102555534B1
KR102555534B1 KR1020210084189A KR20210084189A KR102555534B1 KR 102555534 B1 KR102555534 B1 KR 102555534B1 KR 1020210084189 A KR1020210084189 A KR 1020210084189A KR 20210084189 A KR20210084189 A KR 20210084189A KR 102555534 B1 KR102555534 B1 KR 102555534B1
Authority
KR
South Korea
Prior art keywords
image
target
watermark
panoramic
blocks
Prior art date
Application number
KR1020210084189A
Other languages
Korean (ko)
Other versions
KR20230001392A (en
Inventor
이흥규
강지현
지상근
Original Assignee
한국과학기술원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국과학기술원 filed Critical 한국과학기술원
Priority to KR1020210084189A priority Critical patent/KR102555534B1/en
Publication of KR20230001392A publication Critical patent/KR20230001392A/en
Application granted granted Critical
Publication of KR102555534B1 publication Critical patent/KR102555534B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/005Robust watermarking, e.g. average attack or collusion attack resistant
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/816Monomedia components thereof involving special video data, e.g 3D video
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0052Embedding of the watermark in the frequency domain

Abstract

본 발명의 일 실시예에 따른 워터마크 검출 방법은, 학습 영상 및 학습 파노라마 영상에 대한 상기 학습 영상의 시점 정보를 학습하여 생성된 시점 정보 도출 모델에 타겟 영상을 입력하여 워터마크가 삽입된 360° 파노라마 영상에 대한 상기 타겟 영상의 시점 정보를 획득하는 단계; 상기 시점 정보를 기초로 상기 타겟 영상을 역렌더링하여 상기 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성하는 단계; 및 상기 타겟 원본 영상에 포함된 워터 마크 패턴과 상기 360° 파노라마 영상에 포함된 워터마크 패턴을 비교하여 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계를 포함한다.In the watermark detection method according to an embodiment of the present invention, a target image is input to a viewpoint information derivation model generated by learning viewpoint information of a learning image and a learning panoramic image, and a 360° watermark-embedded image is obtained. obtaining viewpoint information of the target image for the panoramic image; generating a target original image corresponding to the target image by inversely rendering the target image based on the viewpoint information; and comparing a watermark pattern included in the target original image with a watermark pattern included in the 360° panoramic image to determine whether the target image corresponds to a part of the 360° panoramic image.

Figure 112021074496782-pat00003
Figure 112021074496782-pat00003

Description

구형 파노라마 영상에 대한 워터마크 검출 방법 및 장치{METHOD AND APPARATUS FOR DETECTING WARTERMARK FOR SPHERICAL PANORAMIC IMAGE} Watermark detection method and apparatus for spherical panoramic image

본 발명은 워터마크 검출 방법 및 장치에 관한 것으로서, 타겟 영상이 파노라마 영상으로부터 기인한 것인지 확인하고 저작권 정보를 추출하기 위해 타겟 영상으로부터 워터마크를 검출하는 워터마크 검출 방법 및 장치에 관한 것이다.The present invention relates to a watermark detection method and apparatus, and more particularly, to a watermark detection method and apparatus for detecting a watermark from a target image in order to determine whether a target image originates from a panoramic image and extract copyright information.

파노라마 영상은 360° 전경 시야를 확보할 수 있는 영상으로서 사용자로 하여금 영상 내에서 자유롭게 시점을 선택할 수 있도록 하여 사용자가 가상 공간에 위치하여 직접 보고 있는 것과 같은 느낌을 제공한다.A panoramic image is an image capable of securing a 360° foreground view, and allows the user to freely select a viewpoint within the image, providing a feeling as if the user is located in a virtual space and is directly viewing the image.

최근 파노라마 영상에 대한 관심이 증가하면서 파노라마 영상에 대한 저작권 보호가 중요해지고 있다. 하지만 급격히 발달하는 파노라마 영상 산업에 비해서 저작권을 보호할 수 있는 기술은 아직 제대로 구축되어 있지 않은 상황이다.As interest in panoramic images has recently increased, copyright protection for panoramic images has become important. However, compared to the rapidly developing panoramic video industry, the technology to protect copyrights is not yet properly established.

기존 미디어 컨텐츠의 불법 복제와 불법 유통 문제로부터 저작권을 보호하기 위한 기술로 디지털 워터마킹(Digital watermarking)이 있고, 현재 2D, Streoscopic 3D, 3D mesh 등의 컨텐츠를 위한 디지털 워터마킹 기술은 지속적으로 연구가 되고 있으나, 파노라마 영상을 보호하기 위한 워터마킹 기술은 현재 전무한 실정이다.There is digital watermarking as a technology to protect copyrights from illegal copying and illegal distribution of existing media contents. Currently, digital watermarking technology for contents such as 2D, stereoscopic 3D, and 3D mesh is continuously researched. However, there is currently no watermarking technology for protecting panoramic images.

특히 파노라마 영상의 특성상 파노라마 영상의 전체가 유출되기 보다는 파노라마 영상의 시점(perspective) 영상 이 유출되어 저작권 침해가 발생할 수 있다. 예를 들어, 콘서트 장을 파노라마 영상으로 만든 경우 무대 방향의 시점 영상은 전체 파노라마 영상이 아니어도 컨텐츠적 가치가 있으며 또한 여러 각도의 시점 영상을 모아서 다시 파노라마 컨텐츠로 재생성할 수 있기 때문에 파노라마 영상의 시점 영상에서도 워터마크를 검출할 수 있는 기술의 필요성이 요구된다.In particular, due to the nature of the panoramic image, the perspective of the panoramic image is leaked rather than the entire panoramic image being leaked, and copyright infringement may occur. For example, when a concert venue is made into a panoramic video, the viewpoint video in the direction of the stage has content value even if it is not a full panoramic video, and it is possible to collect and regenerate the video from various angles and recreate it as panoramic content. There is a need for a technology capable of detecting a watermark in an image.

한국공개특허공보, 제 10-2003-0010220호Korean Patent Publication, No. 10-2003-0010220

본 발명의 실시예에서 해결하고자 하는 과제는 파노라마 영상의 시점 영상으로부터 워터마크 검출이 가능한 기술을 제공하는 것이다.An object to be solved by an embodiment of the present invention is to provide a technology capable of detecting a watermark from a viewpoint image of a panoramic image.

다만, 본 발명의 실시예가 이루고자 하는 기술적 과제는 이상에서 언급한 과제로 제한되지 않으며, 이하에서 설명할 내용으로부터 통상의 기술자에게 자명한 범위 내에서 다양한 기술적 과제가 도출될 수 있다.However, the technical problems to be achieved by the embodiments of the present invention are not limited to the above-mentioned problems, and various technical problems may be derived from the contents to be described below within a range apparent to those skilled in the art.

본 발명의 일 실시예에 따른 워터마크 검출 방법은, 학습 영상 및 학습 파노라마 영상에 대한 상기 학습 영상의 시점 정보를 학습하여 생성된 시점 정보 도출 모델에 타겟 영상을 입력하여 워터마크가 삽입된 360° 파노라마 영상에 대한 상기 타겟 영상의 시점 정보를 획득하는 단계; 상기 시점 정보를 기초로 상기 타겟 영상을 역렌더링하여 상기 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성하는 단계; 및 상기 타겟 원본 영상에 포함된 워터 마크 패턴과 상기 360° 파노라마 영상에 포함된 워터마크 패턴을 비교하여 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계를 포함한다.In the watermark detection method according to an embodiment of the present invention, a target image is input to a viewpoint information derivation model generated by learning viewpoint information of a learning image and a learning panoramic image, and a 360° watermark-embedded image is obtained. obtaining viewpoint information of the target image for the panoramic image; generating a target original image corresponding to the target image by inversely rendering the target image based on the viewpoint information; and comparing a watermark pattern included in the target original image with a watermark pattern included in the 360° panoramic image to determine whether the target image corresponds to a part of the 360° panoramic image.

또한, 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계는, 상기 복수의 블럭의 위치와 대응하도록 상기 타겟 원본 영상을 복수의 블럭으로 나누는 단계; 상기 타겟 원본 영상의 상기 복수의 블럭 중 상기 복수의 블럭 내에 포함된 픽셀이 제1 임계치 이상 복원되어 있는 블럭을 선별하는 단계; 상기 선별된 블럭의 각각에 대하여, 상기 각각의 선별된 블럭 내의 영상의 공간 영역을 주파수 계수로 변환하는 단계; 상기 각각의 선별된 블럭 내의 상기 주파수 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상관 계수(correlation)를 계산하는 단계; 및 상기 각각의 선별된 블럭으로부터 계산된 상기 상관 계수의 평균이 제2 임계치 이상인 경우 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분인 것으로 판정하는 단계를 포함할 수 있다.The determining whether the target image corresponds to a part of the 360° panoramic image may include dividing the target original image into a plurality of blocks to correspond to the positions of the plurality of blocks; selecting a block from among the plurality of blocks of the target original image in which pixels included in the plurality of blocks are reconstructed by a first threshold value or higher; For each of the selected blocks, converting a spatial domain of an image in each selected block into a frequency coefficient; calculating a correlation between the frequency coefficient in each selected block and a watermark pattern included in the 360° panoramic image; and determining that the target image is a part of the 360° panoramic image when an average of the correlation coefficients calculated from each of the selected blocks is greater than or equal to a second threshold.

또한, 상기 주파수 계수로 변환하는 단계는, 이산 푸리에 변환(discrete fourier transform)을 통해 상기 공간 영역을 상기 주파수 계수로 변환하는 단계를 포함할 수 있다.Also, the transforming into the frequency coefficient may include transforming the spatial domain into the frequency coefficient through a discrete Fourier transform.

또한, 상기 워터마크 패턴의 상관 계수를 계산하는 단계는, 상기 각각의 선별된 블럭 내의 상기 주파수 계수 중 크기 계수(magnitude coefficient)와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상관 계수(correlation)를 계산할 수 있다.In addition, calculating the correlation coefficient of the watermark pattern may include a correlation coefficient between a magnitude coefficient among the frequency coefficients in each selected block and a watermark pattern included in the 360° panoramic image can be calculated.

또한, 상기 시점 정보 도출 모델은, 마지막 레이어 유형(Layer Type)에서만 풀링(Pooling)을 수행하는 SRNet 모델로 구현될 수 있다.In addition, the viewpoint information derivation model may be implemented as an SRNet model that performs pooling only in the last layer type.

또한, 상기 타겟 원본 영상은, 등장방형 영상, 원뿔형 영상, 원통형 영상, 유사 원통형 영상, 원통형 영상, 피시아이형(fisheye) 영상, 메르카토르형(Mercator) 영상, 정현곡선형(sinusoidal) 영상 중 적어도 하나를 포함할 수 있다.In addition, the target original image may include at least one of an equirectangular image, a conical image, a cylindrical image, a pseudo-cylindrical image, a cylindrical image, a fisheye image, a Mercator image, and a sinusoidal image. can include

본 발명의 일 실시예에 따른 워터마크 검출 장치는, 학습 영상 및 학습 파노라마 영상에 대한 상기 학습 영상의 시점 정보를 학습하여 생성된 시점 정보 도출 모델에 타겟 영상을 입력하여 워터마크가 삽입된 360° 파노라마 영상에 대한 상기 타겟 영상의 시점 정보를 획득하는 시점 정보 도출부; 상기 시점 정보를 기초로 상기 타겟 영상을 역렌더링하여 상기 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성하는 역랜더링부; 및 상기 타겟 원본 영상에 포함된 워터 마크 패턴과 상기 360° 파노라마 영상에 포함된 워터마크 패턴을 비교하여 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 워터마크 검출부를 포함한다.A watermark detection apparatus according to an embodiment of the present invention inputs a target image to a viewpoint information derivation model generated by learning viewpoint information of a learning image and a learning panoramic image to obtain a 360° watermark-embedded image. a viewpoint information derivation unit for obtaining viewpoint information of the target image for the panoramic image; a reverse rendering unit generating a target original image corresponding to the target image by reverse-rendering the target image based on the viewpoint information; and a watermark detection unit comparing a watermark pattern included in the target original image and a watermark pattern included in the 360° panoramic image to determine whether the target image corresponds to a part of the 360° panoramic image.

또한, 상기 워터마크 검출부는, 상기 복수의 블럭의 위치와 대응하도록 상기 타겟 원본 영상을 복수의 블럭으로 나누고, 상기 타겟 원본 영상의 상기 복수의 블럭 중 상기 복수의 블럭 내에 포함된 픽셀이 제1 임계치 이상 복원되어 있는 블럭을 선별하고, 상기 선별된 블럭의 각각에 대하여, 상기 각각의 선별된 블럭 내의 영상의 공간 영역을 주파수 계수로 변환하고, 상기 각각의 선별된 블럭 내의 상기 주파수 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상관 계수(correlation)를 계산하고, 상기 각각의 선별된 블럭으로부터 계산된 상기 상관 계수의 평균이 제2 임계치 이상인 경우 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분인 것으로 판정할 수 있다.The watermark detector divides the target original image into a plurality of blocks to correspond to the positions of the plurality of blocks, and a pixel included in the plurality of blocks among the plurality of blocks of the target original image has a first threshold value. A block that has been restored above is selected, and for each of the selected blocks, a spatial domain of an image in each selected block is converted into a frequency coefficient, and the frequency coefficient in each selected block and the 360° A correlation coefficient of a watermark pattern included in a panoramic image is calculated, and when an average of the correlation coefficients calculated from each of the selected blocks is greater than or equal to a second threshold value, the target image is a part of the 360° panoramic image. can be determined as

또한, 상기 워터마크 검출부는, 이산 푸리에 변환(discrete fourier transform)을 통해 상기 공간 영역을 상기 주파수 계수로 변환할 수 있다.Also, the watermark detector may transform the spatial domain into the frequency coefficient through a discrete Fourier transform.

또한, 상기 워터마크 검출부는, 상기 각각의 선별된 블럭 내의 상기 주파수 계수 중 크기 계수(magnitude coefficient)와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상관 계수(correlation)를 계산할 수 있다.Also, the watermark detection unit may calculate a correlation between a magnitude coefficient among the frequency coefficients in each selected block and a watermark pattern included in the 360° panoramic image.

또한, 상기 시점 정보 도출 모델은, 마지막 레이어 유형(Layer Type)에서만 풀링(Pooling)을 수행하는 SRNet 모델로 구현될 수 있다.In addition, the viewpoint information derivation model may be implemented as an SRNet model that performs pooling only in the last layer type.

또한, 상기 타겟 원본 영상은, 등장방형 영상, 원뿔형 영상, 원통형 영상, 유사 원통형 영상, 원통형 영상, 피시아이형(fisheye) 영상, 메르카토르형(Mercator) 영상, 정현곡선형(sinusoidal) 영상 중 적어도 하나를 포함할 수 있다.In addition, the target original image may include at least one of an equirectangular image, a conical image, a cylindrical image, a pseudo-cylindrical image, a cylindrical image, a fisheye image, a Mercator image, and a sinusoidal image. can include

본 발명의 실시예에 따르면, 파노라마 영상 전체뿐만 아니라 파노라마 영상의 특정 시점에 해당하는 시점 영상에서도 워터마크 검출하여 파노라마 영상에 대한 저작권 침해 문제를 방지할 수 있다.According to an embodiment of the present invention, it is possible to prevent copyright infringement of a panoramic image by detecting a watermark not only in the entire panoramic image but also in a viewpoint image corresponding to a specific viewpoint of the panoramic image.

도 1은 본 발명의 일 실시예에 따른 워터마크 삽입 장치의 기능 블럭도이다.
도 2는 본 발명의 일 실시예에 따른 워터마크 삽입 방법의 프로세스를 도시하는 흐름도이다.
도 3은 본 발명의 일 실시예에 따른 워터마크 검출 장치의 기능 블럭도이다.
도 4는 본 발명의 일 실시예에 따른 워터마크 검출 방법의 프로세스를 도시하는 흐름도이다.
도 5는 파노라마 영상에서 타겟 영상이 위치하는 시점 정보를 설명하기 위한 예시도이다.
도 6은 본 발명의 일 실시예에 따른 시점 정보 도출 모델의 구조를 예시한 도면이다.
도 7은 본 발명의 일 실시예에 따라 영상 보간법을 통해 홀의 픽셀을 복원하는 것을 설명하기 위한 예시도이다.
1 is a functional block diagram of a watermark embedding device according to an embodiment of the present invention.
2 is a flow chart showing the process of a watermark embedding method according to an embodiment of the present invention.
3 is a functional block diagram of a watermark detection apparatus according to an embodiment of the present invention.
4 is a flow chart showing the process of a watermark detection method according to an embodiment of the present invention.
5 is an exemplary view for explaining viewpoint information at which a target image is located in a panoramic image.
6 is a diagram illustrating the structure of a viewpoint information derivation model according to an embodiment of the present invention.
7 is an exemplary view for explaining restoring a pixel of a hole through image interpolation according to an embodiment of the present invention.

본 발명의 목적과 기술적 구성 및 그에 따른 작용 효과에 관한 자세한 사항은 본 발명의 명세서에 첨부된 도면에 의거한 이하의 상세한 설명에 의해 보다 명확하게 이해될 것이다. 첨부된 도면을 참조하여 본 발명에 따른 실시예를 상세하게 설명한다.Objects and technical configurations of the present invention and details of the operational effects thereof will be more clearly understood by the following detailed description based on the accompanying drawings in the specification of the present invention. An embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

본 명세서에서 개시되는 실시예들은 본 발명의 범위를 한정하는 것으로 해석되거나 이용되지 않아야 할 것이다. 이 분야의 통상의 기술자에게 본 명세서의 실시예를 포함한 설명은 다양한 응용을 갖는다는 것이 당연하다. 따라서, 본 발명의 상세한 설명에 기재된 임의의 실시예들은 본 발명을 보다 잘 설명하기 위한 예시적인 것이며 본 발명의 범위가 실시예들로 한정되는 것을 의도하지 않는다.The embodiments disclosed herein should not be construed or used as limiting the scope of the present invention. It goes without saying that the description, including the embodiments herein, has a variety of applications for those skilled in the art. Therefore, any embodiments described in the detailed description of the present invention are illustrative for better explaining the present invention, and the scope of the present invention is not intended to be limited to the examples.

도면에 표시되고 아래에 설명되는 기능 블록들은 가능한 구현의 예들일 뿐이다. 다른 구현들에서는 상세한 설명의 사상 및 범위를 벗어나지 않는 범위에서 다른 기능 블록들이 사용될 수 있다. 또한, 본 발명의 하나 이상의 기능 블록이 개별 블록들로 표시되지만, 본 발명의 기능 블록들 중 하나 이상은 동일 기능을 실행하는 다양한 하드웨어 및 소프트웨어 구성들의 조합일 수 있다.The functional blocks shown in the drawings and described below are only examples of possible implementations. Other functional blocks may be used in other implementations without departing from the spirit and scope of the detailed description. Also, while one or more functional blocks of the present invention are represented as separate blocks, one or more of the functional blocks of the present invention may be a combination of various hardware and software configurations that perform the same function.

또한, 어떤 구성 요소들을 포함한다는 표현은 개방형의 표현으로서 해당 구성 요소들이 존재하는 것을 단순히 지칭할 뿐이며, 추가적인 구성 요소들을 배제하는 것으로 이해되어서는 안 된다.In addition, the expression that certain components are included simply indicates that the corresponding components exist as an open expression, and should not be understood as excluding additional components.

나아가 어떤 구성 요소가 다른 구성 요소에 연결되어 있다거나 접속되어 있다고 언급될 때에는, 그 다른 구성 요소에 직접적으로 연결 또는 접속되어 있을 수도 있지만, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 한다.Furthermore, it should be understood that when a component is referred to as being connected or connected to another component, it may be directly connected or connected to the other component, but other components may exist in the middle.

또한 '제1, 제2' 등과 같은 표현은 복수의 구성들을 구분하기 위한 용도로만 사용된 표현으로써, 구성들 사이의 순서나 기타 특징들을 한정하지 않는다.In addition, expressions such as 'first and second' are expressions used only to classify a plurality of components, and do not limit the order or other characteristics between the components.

이하에서는 도면들을 참조하여 본 발명의 실시예들에 대해 설명하도록 한다.Hereinafter, embodiments of the present invention will be described with reference to the drawings.

도 1은 본 발명의 일 실시예에 따른 워터마크 삽입 장치(100)의 기능 블럭도이다.1 is a functional block diagram of a watermark embedding device 100 according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 워터마크 삽입 장치(100)는 블럭 할당부(110), 변환부(120), 삽입부(130), 복원부(140) 및 파노라마 영상 생성부(150)를 포함한다.As shown in FIG. 1, the watermark embedding apparatus 100 according to an embodiment of the present invention includes a block allocation unit 110, a conversion unit 120, an embedding unit 130, a restoration unit 140, and a panorama unit. It includes an image generator 150.

블럭 할당부(110)는 파노라마 영상으로 렌더링될 원본 영상을 복수의 블럭으로 나눈다. 이때 '블럭'은 특정 이미지의 소정 부분을 의미하는 패치 이미지라는 용어에서의 '패치'와 같은 의미로서 사용한다. 한편, 파노라마 영상으로 렌더링할 수 있는 포맷의 원본 영상은 등장방형 영상, 원뿔형 영상, 원통형 영상, 유사 원통형 영상, 원통형 영상, 피시아이형(fisheye) 영상, 메르카토르형(Mercator) 영상, 정현곡선형(sinusoidal) 영상 등을 포함한다.The block allocator 110 divides the original image to be rendered as a panoramic image into a plurality of blocks. At this time, 'block' is used as the same meaning as 'patch' in the term patch image meaning a predetermined part of a specific image. On the other hand, the original image of the format that can be rendered as a panoramic image is an equirectangular image, a conical image, a cylindrical image, a pseudo-cylindrical image, a cylindrical image, a fisheye image, a Mercator image, a sinusoidal curve ( sinusoidal) images, etc.

변환부(120)는 각각의 블럭에 포함된 영상의 공간 영역을 주파수 계수로 변환한다. 예를 들면, 이산 푸리에 변환(discrete fourier transform)을 통해 각각의 블럭을 공간 영역에서 주파수 계수로 변환한다.The transform unit 120 transforms the spatial domain of an image included in each block into a frequency coefficient. For example, each block is transformed into a frequency coefficient in the spatial domain through a discrete Fourier transform.

삽입부(130)는 각각의 블럭의 주파수 계수에 워터마크 패턴을 삽입할 수 있다. 만약 이산 푸리에 변환에 의하는 경우, 삽입부(130)는 변환된 주파수 계수 중 크기 계수(magnitude coefficient)에 워터마크 패턴을 삽입할 수 있다.The inserter 130 may insert a watermark pattern into frequency coefficients of each block. If discrete Fourier transform is used, the inserter 130 may insert a watermark pattern into a magnitude coefficient among transformed frequency coefficients.

복원부(140)는 각각의 블럭에 대해 워터마크 패턴이 삽입된 주파수 계수를 공간 영역으로 복원하여, 파노라마 영상 생성부(150)는 각각의 블럭 내의 주파수 계수에 워터마크 패턴이 삽입된 원본 영상을 렌더링하여 파노라마 영상을 생성한다.The restoration unit 140 restores the frequency coefficients to which the watermark pattern is inserted for each block in the spatial domain, and the panoramic image generator 150 restores the original image in which the watermark pattern is inserted to the frequency coefficients in each block. Render to create a panoramic image.

이때 워터마크 삽입 장치(100)의 각 구성이 동작하는 구체적인 과정을 도 2와 함께 설명하기로 한다.At this time, a detailed process in which each component of the watermark embedding apparatus 100 operates will be described together with FIG. 2 .

한편 상술한 실시예가 포함하는 블럭 할당부(110), 변환부(120), 삽입부(130), 복원부(140) 및 파노라마 영상 생성부(150)는 이들의 기능을 수행하도록 프로그램된 명령어를 포함하는 메모리와 이들 명령어를 수행하는 마이크로프로세서를 포함하는 연산 장치에 의해 구현될 수 있다.Meanwhile, the block allocation unit 110, the conversion unit 120, the insertion unit 130, the restoration unit 140, and the panoramic image generation unit 150 included in the above-described embodiment use commands programmed to perform their functions. It may be implemented by a computing device including a memory including and a microprocessor that executes these instructions.

도 2는 본 발명의 일 실시예에 따른 워터마크 삽입 방법의 프로세스를 도시하는 흐름도이다. 도 2에 따른 워터마크 삽입 방법의 각 단계는 도 1을 통해 설명된 워터마크 삽입 장치(100)에 의해 수행될 수 있다.2 is a flow chart showing the process of a watermark embedding method according to an embodiment of the present invention. Each step of the watermark embedding method according to FIG. 2 may be performed by the watermark embedding apparatus 100 described with reference to FIG. 1 .

각 단계를 설명하기에 앞서, 파노라마 영상은 카메라를 이용해 실제 존재하는 공간을 촬영한 후 이를 렌더링함으로써 360°x 180°(수평각도 x 수직각도)의 시점으로 볼 수 있는 형태로 제작된다. 이때 파노라마 영상을 생성할 수 있는 포맷의 원본 영상은 구(Sphere)를 2차원 평면에 투영한 등장방형 영상, 원뿔형 영상, 원통형 영상, 유사 원통형 영상, 원통형 영상, 피시아이형(fisheye) 영상, 메르카토르형(Mercator) 영상, 정현곡선형(sinusoidal) 영상 등을 포함한다.Prior to explaining each step, a panoramic image is produced in a form that can be seen from a viewpoint of 360 ° x 180 ° (horizontal angle x vertical angle) by taking a picture of an actual space using a camera and then rendering it. At this time, the original image of the format capable of generating a panoramic image is an equirectangular image obtained by projecting a sphere onto a two-dimensional plane, a conical image, a cylindrical image, a pseudo-cylindrical image, a cylindrical image, a fisheye image, and a Mercator image. This includes Mercator images, sinusoidal images, and the like.

특히, 파노라마 영상을 다룰 때 가장 널리 사용되는 포맷은 등장방형 영상이다. 등장방형 영상은 원통형 투영법 중 하나로서 등장방형 영상의 너비가 높이의 2배인데, 이는 영상의 너비가 구에서 경도 방향의 한바퀴인 360°를 의미하고 영상의 높이가 구의 천장과 바닥간의 각도인 180°를 의미하기 때문이다. 본 명세서의 도면에서는 등장방형 영상을 원본 영상으로 도시하고 있지만, 이는 예시일 뿐 등장방형 영상이 아닌 다른 포맷의 원본 영상을 사용하여 본 발명의 실시예를 적용할 수 있다. 이에 각 단계를 설명하기로 한다.In particular, the most widely used format when dealing with panoramic images is an equirectangular image. An equirectangular image is one of the cylindrical projection methods. The width of an equirectangular image is twice the height, which means that the width of the image is 360°, one turn in the longitudinal direction from the sphere, and the height of the image is 180 degrees, the angle between the ceiling and the floor of the sphere. Because it means °. Although an equirectangular image is shown as an original image in the drawings of this specification, this is only an example, and an embodiment of the present invention can be applied using an original image of a format other than the equirectangular image. Here, each step will be explained.

우선, 블럭 할당부(110)는 파노라마 영상으로 렌더링될 원본 영상을 복수의 블럭으로 나눈다(S210). 복수의 블럭은 워터마크가 삽입되는 위치로서, 복수의 블럭 단위로 워터마크가 삽입되는 경우 파노라마 영상의 임의의 영역에서 워터마크를 검출할 수 있으며, 절단(cropping) 공격으로부터 워터마크를 효율적으로 보호할 수 있다.First, the block allocation unit 110 divides an original image to be rendered as a panoramic image into a plurality of blocks (S210). A plurality of blocks is a position where a watermark is inserted, and when a watermark is inserted in units of a plurality of blocks, the watermark can be detected in an arbitrary area of the panoramic image, and the watermark is efficiently protected from cropping attacks. can do.

이때 블럭 할당부(110)는 복수의 블럭을 서로 겹치지 않는 격자 형식으로 할당할 수 있다. 복수의 블럭을 격자 형식으로 나누면 원본 영상에서 빠트리는 부분 없이 모든 영역에 워터마크를 삽입할 수 있기 때문에 모든 각도에서의 시점(perspective) 영상 에서 워터마크를 추출할 수 있다.At this time, the block allocator 110 may allocate a plurality of blocks in a grid format that does not overlap each other. If a plurality of blocks are divided into a lattice form, watermarks can be inserted in all areas without missing parts from the original image, so watermarks can be extracted from images from all perspectives.

또한 파노라마 영상의 시점 영상을 역렌더링할 경우, 시점 영상의 수직 각도에 따라서 복원되는 영상의 면적과 품질이 달라진다. 파노라마 영상의 수직 각도의 범위를 -90도에서 +90도라고 하였을 때, 수직 각도가 -90도와 +90도에 가까운 시점 영상은 역렌더링 시 넓은 면적으로 복원되지만 품질이 낮고, 수직 각도가 0도에 가까운 시점 영상은 역렌더링 시 복원되는 면적의 넓이는 적지만 품질은 높다. 즉, 역렌더링 시에 복원되는 영상의 품질과 면적은 반비례한다. 이때 복수의 블럭을 격자 형식으로 할당하여 각 블럭에 워터마크를 삽입하면 복원되는 품질이 낮더라도 넓은 면적이 복원되므로 추출할 수 있는 워터마크의 개수가 많아진다. 따라서 격자 형식으로 분할된 각 블럭에 워터마크를 삽입하는 경우 낮은 품질로 복원되는 수직 각도에서 더 많은 블럭으로부터 워터마크를 검출할 수 있게 되어 워터마크 검출의 강인성을 높일 수 있다.In addition, when a viewpoint image of a panoramic image is reverse-rendered, the area and quality of the restored image vary according to the vertical angle of the viewpoint image. When the range of vertical angles of a panoramic image is -90 degrees to +90 degrees, viewpoint images with vertical angles close to -90 degrees and +90 degrees are restored to a large area during inverse rendering, but the quality is low, and the vertical angle is 0 degrees. The near-view image has a small area restored during inverse rendering, but high quality. That is, the quality and area of an image restored during inverse rendering are inversely proportional. At this time, if a plurality of blocks are allocated in a grid form and a watermark is inserted into each block, the number of watermarks that can be extracted increases because a large area is restored even if the restored quality is low. Therefore, when a watermark is inserted into each block divided in a grid form, it is possible to detect a watermark from more blocks at a vertical angle restored with low quality, thereby increasing the robustness of watermark detection.

다음으로, 변환부(120)는 각각의 블럭에 포함된 영상의 공간 영역을 주파수 계수로 변환한다(S220). 예를 들면, 이산 푸리에 변환(discrete fourier transform)을 통해 공간 영역을 주파수 계수로 변환할 수 있다. Next, the transform unit 120 transforms the spatial domain of the image included in each block into a frequency coefficient (S220). For example, a spatial domain may be transformed into a frequency coefficient through a discrete Fourier transform.

삽입부(130)는 레퍼런스 패턴 생성기를 통해 비밀키로부터 워터마크 패턴을 생성하고(S225), 각 블럭 내에서 변환된 주파수 계수에 워터마크 패턴을 삽입할 수 있다(S230). 구체적으로, 삽입부(130)는 주파수 계수 중 크기 계수에 워터마크 패턴을 삽입할 수 있다.The inserter 130 may generate a watermark pattern from the secret key through the reference pattern generator (S225), and insert the watermark pattern into the frequency coefficients converted within each block (S230). Specifically, the inserter 130 may insert a watermark pattern into a magnitude coefficient among frequency coefficients.

이때 저주파 대역에 워터마크를 삽입하는 경우 워터마크의 비가시성을 저하시킬 수 있고, 고주파 대역에 워터마크를 삽입하는 경우 워터마크는 압축 등의 공격에 취약하므로, 삽입부(130)는 워터마크 검출의 강인성을 높이기 위해 지그재그 스캔 방식을 통해 중간 주파수 대역의 주파수 계수에 워터마크 패턴을 삽입할 수 있다. (Barni, Mauro, et al. "A DCT-domain system for robust image watermarking." Signal processing 66.3 (1998): 357-372.)At this time, if a watermark is inserted in a low-frequency band, the invisibility of the watermark may be reduced, and if a watermark is inserted in a high-frequency band, the watermark is vulnerable to attacks such as compression, so the insertion unit 130 detects the watermark. In order to increase the robustness of , a watermark pattern may be inserted into frequency coefficients of an intermediate frequency band through a zigzag scan method. (Barni, Mauro, et al. "A DCT-domain system for robust image watermarking." Signal processing 66.3 (1998): 357-372.)

복원부(140)는 각각의 블럭 내에서 워터마크 패턴이 삽입된 주파수 계수를 공간 영역으로 복원한다(S240). 예를 들면, 역 이산 푸리에 변환(inverse discrete fourier transform)을 통해 워터마크 패턴이 삽입된 주파수 계수를 공간 영역으로 복원할 수 있다.The restoration unit 140 restores the frequency coefficients into the spatial domain in each block to which the watermark pattern is inserted (S240). For example, a frequency coefficient into which a watermark pattern is inserted may be restored to a spatial domain through an inverse discrete Fourier transform.

이후, 파노라마 영상 생성부(150)는 복원부(140)를 통해 복원된 각각의 블럭의 영상을 결합하고(S245), 각각의 블럭 내의 주파수 계수에 워터마크 패턴이 삽입된 원본 영상을 렌더링하여 파노라마 영상을 생성할 수 있다(S250).Thereafter, the panoramic image generation unit 150 combines the images of each block restored through the restoration unit 140 (S245), and renders an original image in which a watermark pattern is inserted into frequency coefficients in each block to create a panorama. An image may be generated (S250).

본 발명의 일 실시예에 따른 워터마크 검출 장치(300)는 타겟 영상이 도 1 및 도 2의 실시예에 따라 생성된 파노라마 영상의 일부분에 해당하는지 워터마크 검출을 통해 확인한다. 도 3은 본 발명의 일 실시예에 따른 워터마크 검출 장치(300)의 기능 블럭도이다.The watermark detection apparatus 300 according to an embodiment of the present invention checks whether the target image corresponds to a part of the panoramic image generated according to the embodiment of FIGS. 1 and 2 through watermark detection. 3 is a functional block diagram of a watermark detection apparatus 300 according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 본 발명의 일 실시예에 따른 워터마크 검출 장치(300)는 저장부(310), 시점 정보 도출 모델 생성부(320), 시점 정보 도출부(330), 역렌더링부(340) 및 워터마크 검출부(350)를 포함한다.As shown in FIG. 3, the watermark detection apparatus 300 according to an embodiment of the present invention includes a storage unit 310, a view information derivation model generator 320, a view information derivation unit 330, and a reverse rendering It includes a unit 340 and a watermark detection unit 350.

저장부(310)는 파노라마 영상에서 타겟 영상이 위치하는 시점 정보를 도출하는 시점 정보 도출 모델을 저장한다. 이 때, 저장부(310)에 의해 저장되는 시점 정보 도출 모델은 시점 정보 도출 모델 생성부(320)가 학습 파노라마 영상에 대한 학습 영상을 학습함으로써 생성되거나, 외부의 장치로부터 수신되어 저장되는 것일 수 있다.The storage unit 310 stores a view information derivation model for deriving view information on a location of a target image in a panoramic image. At this time, the view information derivation model stored by the storage unit 310 may be generated by the view information derivation model generator 320 learning a learning image for the learning panoramic image, or may be received from an external device and stored. there is.

시점 정보 도출부(330)는 파노라마 영상에서 타겟 영상이 위치하는 시점 정보를 도출하고, 역렌더링부(340)는 시점 정보 도출부(330)가 도출한 시점 정보를 기초로 타겟 영상을 역렌더링하여 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성한다.The viewpoint information deriving unit 330 derives viewpoint information where the target image is located in the panoramic image, and the inverse rendering unit 340 reverse-renders the target image based on the viewpoint information derived by the viewpoint information deriving unit 330. A target original image corresponding to the target image is generated.

워터마크 검출부(350)는 역렌더링부(340)가 생성한 타겟 원본 영상에 포함된 워터마크 패턴과 파노라마 영상에 포함된 워터마크 패턴을 비교하여 타겟 영상이 파노라마 영상의 일부분에 해당하는지 판정한다.The watermark detection unit 350 compares the watermark pattern included in the target original image generated by the inverse rendering unit 340 with the watermark pattern included in the panoramic image, and determines whether the target image corresponds to a part of the panoramic image.

이때 워터마크 검출 장치(300)의 각 구성이 동작하는 구체적인 과정을 도 4와 함께 설명하기로 한다.At this time, a detailed process in which each component of the watermark detection apparatus 300 operates will be described together with FIG. 4 .

한편 상술한 실시예가 포함하는 시점 정보 도출부(330), 역렌더링부(340) 및 워터마크 검출부(350)는 이들의 기능을 수행하도록 프로그램된 명령어를 포함하는 메모리와 이들 명령어를 수행하는 마이크로프로세서를 포함하는 연산 장치에 의해 구현될 수 있다.Meanwhile, the view information deriving unit 330, the inverse rendering unit 340, and the watermark detection unit 350 included in the above-described embodiment include a memory including instructions programmed to perform their functions and a microprocessor executing these instructions. It may be implemented by an arithmetic device including a.

도 4는 본 발명의 일 실시예에 따른 워터마크 검출 방법의 프로세스를 도시하는 흐름도이다. 도 4에 따른 워터마크 검출 방법의 각 단계는 도 3을 통해 설명된 워터마크 검출 장치(300)에 의해 수행될 수 있다.4 is a flow chart showing the process of a watermark detection method according to an embodiment of the present invention. Each step of the watermark detection method according to FIG. 4 may be performed by the watermark detection apparatus 300 described with reference to FIG. 3 .

우선, 도 1 및 도 2의 실시예에 따라 파노라마 영상에 삽입된 워터마크는 파노라마 영상을 역렌더링한 원본 영상으로부터 검출할 수 있기 때문에, 유출되었다고 가정하는 타겟 영상으로부터 워터마크를 검출하기 위해서는 타겟 영상을 역렌더링하여 타겟 원본 영상으로부터 워터마크를 검출해야 한다.First of all, since a watermark inserted into a panoramic image according to the embodiments of FIGS. 1 and 2 can be detected from an original image obtained by reverse-rendering the panoramic image, in order to detect the watermark from a target image assumed to have been leaked, the target image The watermark must be detected from the target original image by inverse rendering.

이때 타겟 원본 영상, 가령 등장방형 영상과 동일하게 복원하기 위해서는 어느 정도의 수치를 가지고 역렌더링하여야 하는지 역렌더링 설정값이 필요하기 때문에 타겟 영상이 파노라마 영상의 어떠한 부분에 해당하는지 나타내는 시점 정보가 반드시 필요하다. 도 5는 파노라마 영상에서 타겟 영상이 위치하는 시점 정보를 설명하기 위한 예시도이다. 도 5에 도시된 바와 같이 파노라마 영상이 구형(Spherical)의 모습이라고 하였을 때, 시점 정보는 구의 중앙에서부터 타겟 영상일 것이라고 판단되는 영역의 중앙 지점을 잇는 선분이 기준 축으로부터 가지는 수직 각도 v 및 수평 각도 h를 의미한다.At this time, in order to restore the same as the target original image, for example, an equirectangular image, inverse rendering setting values are required to determine the number of values to be inversely rendered, so viewpoint information indicating which part of the panoramic image the target image corresponds to is essential. do. 5 is an exemplary view for explaining viewpoint information at which a target image is located in a panoramic image. As shown in FIG. 5, when it is assumed that the panoramic image has a spherical shape, the viewpoint information is the vertical angle v and the horizontal angle of the line segment connecting the center of the sphere to the center point of the area determined to be the target image from the reference axis. means h.

이어서, 타겟 영상의 시점 정보를 기초로 타겟 영상을 역렌더링한 타겟 원본 영상으로부터 워터마크를 검출하여 타겟 영상이 파노라마 영상의 일부분에 해당하는지 확인할 수 있다. 이에 각 단계를 설명하기로 한다.Subsequently, it is possible to determine whether the target image corresponds to a part of the panoramic image by detecting a watermark from the target original image obtained by reverse-rendering the target image based on viewpoint information of the target image. Here, each step will be explained.

저장부(310)는 파노라마 영상에서 타겟 영상이 위치하는 시점 정보를 출력하는 시점 정보 도출 모델을 저장(S420)한다. 이를 위해, 저장부(310)는 외부의 장치로부터 시점 정보 도출 모델을 수신하여 저장하거나, 시점 정보 도출 모델 생성부(320)에 의해 생성된 것을 저장할 수 있다. 이하에서는 후자의 실시예를 전제로 설명한다.The storage unit 310 stores a view information derivation model for outputting view information on a target image location in the panoramic image (S420). To this end, the storage unit 310 may receive and store a viewpoint information derivation model from an external device or may store one generated by the viewpoint information derivation model generator 320 . Hereinafter, the latter embodiment will be described as a premise.

시점 정보 도출 모델 생성부(320)는 학습 파노라마 영상으로부터 도출된 학습 영상을 학습하여 시점 정보 도출 모델을 생성(S430)한다. 일 실시예에 따른 시점 정보 도출 모델 생성부(320)는 딥러닝과 같은 기계학습을 통해 학습 영상으로부터 학습 파노라마 영상에 대한 시점 정보를 학습할 수 있다. 예를 들어, 시점 정보 도출 모델 생성부(320)는 지도 학습(supervised learning)을 통해 시점 정보 도출 모델을 생성할 수 있다. 지도 학습이란 입력과 이에 대응되는 레이블로 구성되는 학습 데이터를 학습하는 기계 학습 방법을 의미하며, 레이블(label)은 학습 데이터 중 입력에 대한 정답, 즉 시점 정보를 의미할 수 있다. 여기서, 시점 정보는 수평 시점 정보 및 수직 시점 정보 중 적어도 하나를 포함할 수 있다.The viewpoint information derivation model generation unit 320 learns the learning image derived from the learning panoramic image and generates a viewpoint information derivation model (S430). The view information derivation model generation unit 320 according to an embodiment may learn view information on a learning panoramic image from a learning image through machine learning such as deep learning. For example, the viewpoint information derivation model generator 320 may generate a viewpoint information derivation model through supervised learning. Supervised learning refers to a machine learning method for learning learning data composed of an input and a corresponding label, and a label may mean a correct answer to an input among learning data, that is, information at a point in time. Here, the viewpoint information may include at least one of horizontal viewpoint information and vertical viewpoint information.

지도 학습 방법을 따르는 시점 정보 도출 모델 생성부(320)는 학습 파노라마 영상으로부터 분할된 직접 영상과 이로부터 시점 정보가 변경된 간접 영상 중 적어도 하나를 포함하는 학습 영상을 입력으로 하고, 해당 학습 영상의 학습 파노라마 영상에 대한 시점을 레이블로 대응시킨 학습 데이터를 학습할 수 있다. 구체적으로, 시점 정보 도출 모델 생성부(320)는 입력인 학습 영상과 정답인 시점 정보 사이의 관계를 학습하고, 그 학습의 결과로서 시점 정보 도출 모델을 생성할 수 있다.The viewpoint information derivation model generation unit 320 following the supervised learning method receives as input a learning image including at least one of a direct image divided from a learning panoramic image and an indirect image in which viewpoint information is changed therefrom, and learning of the corresponding learning image It is possible to learn learning data in which viewpoints of panoramic images are mapped to labels. Specifically, the viewpoint information derivation model generator 320 may learn a relationship between an input learning image and correct viewpoint information, and generate a viewpoint information derivation model as a result of the learning.

이와는 달리, 시점 정보 도출 모델 생성부(320)는 학습 영상에 시점 정보가 레이블 된 일부 학습 데이터와 레이블 되지 않은 학습 영상으로 이루어진 나머지 학습 데이터를 함께 이용하여 학습하는 반지도 학습(semisupervised learning)을 수행하여, 시점 정보 도출 모델을 생성할 수 있다. 또는, 시점 정보 도출 모델 생성부(320)는 학습에 따라 생성된 시점 정보 도출 모델의 시점 정보를 평가한 결과가 올바른지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 시점 정보 도출 모델을 생성할 수 있다.In contrast, the view information derivation model generator 320 performs semisupervised learning in which learning is performed by using some training data labeled with view information in training images and remaining training data consisting of unlabeled training images. Thus, a viewpoint information derivation model can be created. Alternatively, the view information derivation model generator 320 generates a view information derivation model through reinforcement learning using feedback about whether the result of evaluating the view information of the view information derivation model generated through learning is correct. can do.

시점 정보 도출 모델 생성부(320)에 의해 생성되는 시점 정보 도출 모델은, 영상 보안 모델의 적용 분야, 학습의 목적 또는 장치의 컴퓨터 성능 등을 고려하여 구축될 수 있다. 일 실시예에 따른 시점 정보 도출 모델은 신경망(neural network)을 기반으로 하는 모델일 수 있다. 예를 들어, 시점 정보 도출 모델은 CNN(convolution neural network), DNN(deep neural network), RNN(recurrent neural network), BRDNN(bidirectional recurrent deep neural network)과 같은 모델로 구현될 수 있으나, 이에 한정되지는 않는다.The view information derivation model generated by the view information derivation model generation unit 320 may be constructed in consideration of the field of application of the video security model, the purpose of learning, or the computer performance of the device. A viewpoint information derivation model according to an embodiment may be a model based on a neural network. For example, the viewpoint information derivation model may be implemented as a model such as a convolution neural network (CNN), a deep neural network (DNN), a recurrent neural network (RNN), or a bidirectional recurrent deep neural network (BRDNN), but is not limited thereto. does not

도 6은 본 발명의 일 실시예에 따른 시점 정보 도출 모델의 구조를 예시한 도면이다. 여기서, LT는 레이어 유형을 의미하고, SC는 스킵 연결을 의미하며, 괄호 안의 숫자는 커널 번호를 의미한다.6 is a diagram illustrating the structure of a viewpoint information derivation model according to an embodiment of the present invention. Here, LT means a layer type, SC means a skip connection, and numbers in parentheses mean a kernel number.

일 실시예에 따른 시점 정보 도출 모델은 CNN 중 SRNet 모델로 구현될 수 있다. 하이레벨 특징을 감지하는데 좋은 성능을 나타내는 ResNet 모델과 비교할 때, SRNet 모델은 노이즈 위주로 감지하는데 유리하다. 따라서, SRNet 모델로 구현되는 시점 정보 도출 모델은 랜더링에 의한 왜곡을 검출하여 시점 정보를 출력하는데 적합하다.A viewpoint information derivation model according to an embodiment may be implemented as an SRNet model among CNNs. Compared to the ResNet model, which shows good performance in detecting high-level features, the SRNet model is advantageous in detecting noise. Therefore, the view information derivation model implemented as the SRNet model is suitable for outputting view information by detecting distortion caused by rendering.

도 6을 참조하면, SRNet 모델로 구현되는 시점 정보 도출 모델은 세 종류의 레이어 유형으로 구성된다. 첫번째 레이어 유형과 두번째 레이어 유형은 풀링 레이어(pooling Layer)가 존재하지 않고, 세번째 레이어 유형에서만 풀링 레이어가 존재한다. 네트워크 시작 부분에서 풀링을 진행할 경우 미세한 노이즈를 감지하기 어렵기 때문에, 랜더링에 의한 왜곡을 검출하여 시점 정보를 출력하기 위해 시점 정보 도출 모델은 세번째 레이어 유형에서만 풀링을 수행한다.Referring to FIG. 6, the view information derivation model implemented as the SRNet model is composed of three types of layers. The first layer type and the second layer type do not have a pooling layer, and only the third layer type has a pooling layer. Since it is difficult to detect fine noise when pooling is performed at the beginning of the network, the view information derivation model performs pooling only in the third layer type to output view information by detecting distortion caused by rendering.

역렌더링부(340)는 시점 정보 도출부(330)가 도출한 시점 정보를 기초로 타겟 영상을 역렌더링하여 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성한다(S440). 이때 타겟 원본 영상은 등장방형 영상, 원뿔형 영상, 원통형 영상, 유사 원통형 영상, 원통형 영상, 피시아이형(fisheye) 영상, 메르카토르형(Mercator) 영상, 정현곡선형(sinusoidal) 영상을 포함한다. 역렌더링부(340)는 시점 정보를 통해 타겟 영상이 파노라마 영상의 어느 부분에 위치하고 있는 지 정확히 알 수 있으므로, 시점 정보를 반영하여 역렌더링을 통해 타겟 원본 영상을 생성할 수 있다.The inverse rendering unit 340 reverse-renders the target image based on the viewpoint information derived by the viewpoint information deriving unit 330 to generate a target original image corresponding to the target image (S440). At this time, the target original image includes an equirectangular image, a conical image, a cylindrical image, a pseudo-cylindrical image, a cylindrical image, a fisheye image, a Mercator image, and a sinusoidal image. Since the inverse rendering unit 340 can accurately know in which part of the panoramic image the target image is located through viewpoint information, it can generate a target original image through inverse rendering by reflecting the viewpoint information.

한편, 타겟 영상이 포함하고 있는 픽셀 정보만 역렌더링이 가능하므로 도 7에 도시된 바와 같이 타겟 원본 영상은 파노라마 영상의 기초가 되는 원본 영상의 일부 영역만 복원된다. 또한 역렌더링 시에 왜곡이 발생하기 때문에 타겟 원본 영상에는 복원된 부분에 해당하는 영역에서도 홀(hole)이 발생한다. 홀은 워터마크 검출 시 픽셀 정보가 없으므로 워터마크 검출의 강인성을 낮출 수 있다.Meanwhile, since only pixel information included in the target image can be inversely rendered, as shown in FIG. 7 , only a partial region of the original image, which is the basis of the panoramic image, is reconstructed. In addition, since distortion occurs during inverse rendering, a hole is also generated in a region corresponding to the restored part in the original target image. Since the hole does not have pixel information when watermark is detected, robustness of watermark detection may be lowered.

이를 방지하기 위해, 역렌더링부(340)는 영상 보간법(interpolation)을 통해 홀의 픽셀을 복원할 수 있다(S445). 도 7은 본 발명의 일 실시예에 따라 영상 보간법을 통해 홀의 픽셀을 복원하는 것을 설명하기 위한 예시도이다. 도 7을 참조하면, 역렌더링부(340)는 영상 보간법을 통해 보간하려는 픽셀 주변의 픽셀 중 홀이 아닌 픽셀 정보의 평균값으로 홀 픽셀을 보간할 수 있다.To prevent this, the inverse rendering unit 340 may restore the pixel of the hole through image interpolation (S445). 7 is an exemplary view for explaining restoring a pixel of a hole through image interpolation according to an embodiment of the present invention. Referring to FIG. 7 , the inverse rendering unit 340 may interpolate a hole pixel with an average value of information on non-hole pixels among pixels around a pixel to be interpolated through image interpolation.

이후, 워터마크 검출부(350)는 역렌더링부(340)가 생성한 타겟 원본 영상에 포함된 워터마크 패턴과 파노라마 영상에 포함된 워터마크 패턴을 비교하여 타겟 영상이 파노라마 영상의 일부분에 해당하는지 판정한다(S450).Thereafter, the watermark detection unit 350 compares the watermark pattern included in the target original image generated by the inverse rendering unit 340 with the watermark pattern included in the panoramic image to determine whether the target image corresponds to a part of the panoramic image. Do (S450).

보다 자세하게 S450 단계에서는, 원본 영상에 할당된 복수의 블럭의 위치와 대응하도록 타겟 원본 영상을 복수의 블럭으로 나누고, 타겟 원본 영상의 복수의 블럭 중 블럭 내에 포함된 픽셀이 소정의 임계치 이상 복원되어 있는 블럭을 선별할 수 있다(S451). In more detail, in step S450, the target original image is divided into a plurality of blocks to correspond to the positions of the plurality of blocks allocated to the original image, and pixels included in blocks among the plurality of blocks of the target original image are reconstructed above a predetermined threshold. Blocks can be selected (S451).

이후, 선별된 각 블럭 내의 영상의 공간 영역을 주파수 계수로 변환할 수 있다(S452). 예를 들어, 워터마크 검출부(350)는 이산 푸리에 변환을 통해 공간 영역을 주파수 계수로 변환한다.Thereafter, the spatial domain of the image in each selected block may be converted into a frequency coefficient (S452). For example, the watermark detector 350 transforms a spatial domain into a frequency coefficient through discrete Fourier transform.

또한 변환된 주파수 계수를 파노라마 영상에 포함된 워터마크 패턴과 비교하기 위해, 레퍼런스 패턴 생성기를 통해 파노라마 영상에 사용된 비밀키로부터 워터마크 패턴을 생성하고(S453), S452 단계에서 변환된 각 블럭 내의 주파수 계수 중 크기 계수를 S453 단계에서 생성된 워터마크 패턴과 비교하여 상관 계수(correlation)를 계산할 수 있다(S454). 만약 이산 푸리에 변환에 의하는 경우, 워터마크 검출부(350)는 변환된 주파수 계수 중 크기 계수를 파노라마 영상의 워터마크 패턴과 비교할 수 있다In addition, in order to compare the converted frequency coefficient with the watermark pattern included in the panoramic image, a watermark pattern is generated from the secret key used in the panoramic image through the reference pattern generator (S453), and within each block converted in step S452. A correlation coefficient may be calculated by comparing the magnitude coefficient among the frequency coefficients with the watermark pattern generated in step S453 (S454). If discrete Fourier transform is used, the watermark detection unit 350 may compare the magnitude coefficient among the transformed frequency coefficients with the watermark pattern of the panoramic image.

이때 아웃라이어를 제거하기 위해 상관 계수가 가장 높은 블럭의 일부와 가장 낮은 블럭의 일부를 제외한 후, 남은 상관 계수의 평균을 구하여 상관 계수의 평균이 소정의 임계치 이상인 경우 타겟 영상이 파노라마 영상의 일부분인 것으로 판단할 수 있다.At this time, in order to remove outliers, after excluding some of the blocks with the highest correlation coefficient and some of the blocks with the lowest correlation coefficient, the average of the remaining correlation coefficients is calculated. can be judged to be

상술한 실시예에 따르면, 파노라마 영상 전체뿐만 아니라 파노라마 영상의 특정 시점에 해당하는 시점 영상에서도 워터마크 검출하여 파노라마 영상에 대한 저작권 침해 문제를 방지할 수 있다.According to the above-described embodiment, it is possible to prevent copyright infringement of a panoramic image by detecting a watermark not only in the entire panoramic image but also in a viewpoint image corresponding to a specific viewpoint of the panoramic image.

특히, 원본 영상을 렌더링하여 파노라마 영상을 생성 시 수직적(vertical) 왜곡만 존재하고 이 또한 오차가 존재하는데, 본 발명에 따른 워터마크 검출 방법 및 장치는 Shift-Invariant(이미지 수평 이동에 강인)한 특성을 가진 이산 푸리에 변환의 크기 계수를 이용함으로써 이러한 문제를 해결할 수 있다. In particular, when a panoramic image is generated by rendering an original image, only vertical distortion exists and there is also an error. The watermark detection method and apparatus according to the present invention have shift-invariant characteristics This problem can be solved by using the magnitude coefficient of the discrete Fourier transform with .

또한, 딥러닝과 같은 기계학습을 사용할 경우 수직 시점 정보가 약 5° 이내로 99% 이상의 정확도를 가지므로, 이산 푸리에 변환의 크기 계수로부터 수직 시점 정보 5° 이내에서 워터마크 검출이 가능하다.In addition, when machine learning such as deep learning is used, since the vertical viewpoint information has an accuracy of 99% or more within about 5 °, it is possible to detect a watermark within 5 ° of the vertical viewpoint information from the magnitude coefficient of the discrete Fourier transform.

상술한 본 발명의 실시예들은 다양한 수단을 통해 구현될 수 있다. 예를 들어, 본 발명의 실시예들은 하드웨어, 펌웨어(firmware), 소프트웨어 또는 그것들의 결합 등에 의해 구현될 수 있다.The above-described embodiments of the present invention may be implemented through various means. For example, embodiments of the present invention may be implemented by hardware, firmware, software, or a combination thereof.

본 발명의 일 실시예에 따르면, 상술한 워터마크 검출 방법 및 장치는 댁내 또는 산업 현장 등 다양한 분야에서 이용될 수 있으므로 산업상 이용 가능성이 있다.According to an embodiment of the present invention, the above-described watermark detection method and apparatus have industrial applicability because they can be used in various fields such as at home or at industrial sites.

100: 워터마크 삽입 장치
110: 블럭 할당부
120: 변환부
130: 삽입부
140: 복원부
150: 파노라마 영상 생성부
300: 워터마크 검출 장치
310: 저장부
320: 시점 정보 도출 모델 생성부
330: 시점 정보 도출부
340: 역렌더링부
350: 워터마크 검출부
100: watermark insertion device
110: block allocation unit
120: conversion unit
130: insertion part
140: restoration unit
150: panoramic image generator
300: watermark detection device
310: storage unit
320: viewpoint information derivation model generation unit
330: viewpoint information extraction unit
340: reverse rendering unit
350: watermark detection unit

Claims (14)

학습 영상 및 학습 파노라마 영상에 대한 상기 학습 영상의 시점 정보를 학습하여 생성된 시점 정보 도출 모델에 타겟 영상을 입력하여 워터마크가 삽입된 360° 파노라마 영상에 대한 상기 타겟 영상의 시점 정보를 획득하는 단계;
상기 시점 정보를 기초로 상기 타겟 영상을 역렌더링하여 상기 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성하는 단계; 및
상기 타겟 원본 영상에 포함된 워터 마크 패턴과 상기 360° 파노라마 영상에 포함된 워터마크 패턴을 비교하여 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계;를 포함하되,
상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계는,
상기 타겟 원본 영상을 복수의 블럭으로 나누는 단계;
상기 타겟 원본 영상의 상기 복수의 블럭 중 상기 복수의 블럭 내에 포함된 픽셀이 제1 임계치 이상 복원되어 있는 블럭을 선별하는 단계;
상기 선별된 블럭의 각각에 대하여, 상기 각각의 선별된 블럭 내의 영상의 공간 영역을 주파수 계수로 변환하는 단계; 및
상기 각각의 선별된 블럭 내의 상기 주파수 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상관 계수(correlation)를 계산하는 단계;를 포함하고,
상기 워터마크 패턴의 상관 계수를 계산하는 단계는,
상기 각각의 선별된 블럭 내의 상기 주파수 계수 중 크기 계수(magnitude coefficient)와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상기 상관 계수를 계산하는 단계;를 포함하는
워터마크 검출 방법.
Acquiring viewpoint information of the target image for a 360° panoramic image with a watermark inserted therein by inputting a target image to a viewpoint information derivation model generated by learning viewpoint information of the learning image and the learning panoramic image. ;
generating a target original image corresponding to the target image by inversely rendering the target image based on the viewpoint information; and
Comparing a watermark pattern included in the target original image and a watermark pattern included in the 360° panoramic image to determine whether the target image corresponds to a part of the 360° panoramic image; Including,
Determining whether the target image corresponds to a part of the 360 ° panoramic image,
Dividing the target original image into a plurality of blocks;
selecting a block from among the plurality of blocks of the target original image in which pixels included in the plurality of blocks are reconstructed by a first threshold value or higher;
For each of the selected blocks, converting a spatial domain of an image in each selected block into a frequency coefficient; and
Calculating a correlation between the frequency coefficient in each selected block and a watermark pattern included in the 360° panoramic image;
Calculating the correlation coefficient of the watermark pattern,
Calculating a magnitude coefficient among the frequency coefficients in each selected block and the correlation coefficient of a watermark pattern included in the 360° panoramic image;
Watermark detection method.
제 1 항에 있어서,
상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계는,
상기 각각의 선별된 블럭으로부터 계산된 상기 상관 계수의 평균이 제2 임계치 이상인 경우 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분인 것으로 판정하는 단계를 더 포함하는
워터마크 검출 방법.
According to claim 1,
Determining whether the target image corresponds to a part of the 360 ° panoramic image,
Determining that the target image is a part of the 360 ° panoramic image when the average of the correlation coefficients calculated from each of the selected blocks is greater than or equal to a second threshold
Watermark detection method.
제 2 항에 있어서,
상기 주파수 계수로 변환하는 단계는,
이산 푸리에 변환(discrete fourier transform)을 통해 상기 공간 영역을 상기 주파수 계수로 변환하는 단계를 포함하는
워터마크 검출 방법.
According to claim 2,
The step of converting to the frequency coefficient,
Transforming the spatial domain into the frequency coefficient through a discrete Fourier transform.
Watermark detection method.
삭제delete 제 1 항에 있어서,
상기 시점 정보 도출 모델은,
마지막 레이어 유형(Layer Type)에서만 풀링(Pooling)을 수행하는 SRNet 모델로 구현되는
워터마크 검출 방법.
According to claim 1,
The viewpoint information derivation model,
Implemented as an SRNet model that performs pooling only on the last layer type.
Watermark detection method.
제 1 항에 있어서,
상기 타겟 원본 영상은,
등장방형 영상, 원뿔형 영상, 원통형 영상, 유사 원통형 영상, 원통형 영상, 피시아이형(fisheye) 영상, 메르카토르형(Mercator) 영상, 정현곡선형(sinusoidal) 영상 중 적어도 하나를 포함하는
워터마크 검출 방법.
According to claim 1,
The target original image,
At least one of an equirectangular image, a conical image, a cylindrical image, a pseudo-cylindrical image, a cylindrical image, a fisheye image, a Mercator image, and a sinusoidal image
Watermark detection method.
학습 영상 및 학습 파노라마 영상에 대한 상기 학습 영상의 시점 정보를 학습하여 생성된 시점 정보 도출 모델에 타겟 영상을 입력하여 워터마크가 삽입된 360° 파노라마 영상에 대한 상기 타겟 영상의 시점 정보를 획득하는 시점 정보 도출부;
상기 시점 정보를 기초로 상기 타겟 영상을 역렌더링하여 상기 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성하는 역랜더링부; 및
상기 타겟 원본 영상에 포함된 워터 마크 패턴과 상기 360° 파노라마 영상에 포함된 워터마크 패턴을 비교하여 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 워터마크 검출부;를 포함하되,
상기 워터마크 검출부는,
상기 타겟 원본 영상을 복수의 블럭으로 나누고, 상기 타겟 원본 영상의 상기 복수의 블럭 중 상기 복수의 블럭 내에 포함된 픽셀이 제1 임계치 이상 복원되어 있는 블럭을 선별하고, 상기 선별된 블럭의 각각에 대하여, 상기 각각의 선별된 블럭 내의 영상의 공간 영역을 주파수 계수로 변환하고, 상기 각각의 선별된 블럭 내의 상기 주파수 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상관 계수를 계산하되, 상기 각각의 선별된 블럭 내의 상기 주파수 계수 중 크기 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상기 상관 계수를 계산하는
워터마크 검출 장치.
A point in time to acquire the viewpoint information of the target image for the 360° panoramic image in which the watermark is inserted by inputting the target image to the viewpoint information derivation model generated by learning the viewpoint information of the learning image and the learning panoramic image. information extraction unit;
a reverse rendering unit generating a target original image corresponding to the target image by reverse-rendering the target image based on the viewpoint information; and
A watermark detection unit that compares a watermark pattern included in the target original image and a watermark pattern included in the 360° panoramic image to determine whether the target image corresponds to a part of the 360° panoramic image,
The watermark detection unit,
The target original image is divided into a plurality of blocks, blocks in which pixels included in the plurality of blocks are reconstructed above a first threshold value are selected among the plurality of blocks of the target original image, and for each of the selected blocks , Converting the spatial domain of the image in each selected block into a frequency coefficient, and calculating a correlation coefficient between the frequency coefficient in each selected block and a watermark pattern included in the 360° panoramic image, Calculating the magnitude coefficient among the frequency coefficients in the selected block of and the correlation coefficient of the watermark pattern included in the 360 ° panoramic image
Watermark detection device.
제 7 항에 있어서,
상기 워터마크 검출부는,
상기 각각의 선별된 블럭으로부터 계산된 상기 상관 계수의 평균이 제2 임계치 이상인 경우 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분인 것으로 판정하는
워터마크 검출 장치.
According to claim 7,
The watermark detection unit,
Determining that the target image is a part of the 360 ° panoramic image when the average of the correlation coefficients calculated from each of the selected blocks is greater than or equal to a second threshold
Watermark detection device.
제 8 항에 있어서,
상기 워터마크 검출부는,
이산 푸리에 변환(discrete fourier transform)을 통해 상기 공간 영역을 상기 주파수 계수로 변환하는
워터마크 검출 장치.
According to claim 8,
The watermark detection unit,
Converting the spatial domain into the frequency coefficient through a discrete Fourier transform
Watermark detection device.
삭제delete 제 7 항에 있어서,
상기 시점 정보 도출 모델은,
마지막 레이어 유형(Layer Type)에서만 풀링(Pooling)을 수행하는 SRNet 모델로 구현되는
워터마크 검출 장치.
According to claim 7,
The viewpoint information derivation model,
Implemented as an SRNet model that performs pooling only on the last layer type.
Watermark detection device.
제 7 항에 있어서,
상기 타겟 원본 영상은,
등장방형 영상, 원뿔형 영상, 원통형 영상, 유사 원통형 영상, 원통형 영상, 피시아이형(fisheye) 영상, 메르카토르형(Mercator) 영상, 정현곡선형(sinusoidal) 영상 중 적어도 하나를 포함하는
워터마크 검출 장치.
According to claim 7,
The target original image,
At least one of an equirectangular image, a conical image, a cylindrical image, a pseudo-cylindrical image, a cylindrical image, a fisheye image, a Mercator image, and a sinusoidal image
Watermark detection device.
컴퓨터 판독 가능한 기록매체에 저장되어 있는 컴퓨터 프로그램으로서,
학습 영상 및 학습 파노라마 영상에 대한 상기 학습 영상의 시점 정보를 학습하여 생성된 시점 정보 도출 모델에 타겟 영상을 입력하여 워터마크가 삽입된 360° 파노라마 영상에 대한 상기 타겟 영상의 시점 정보를 획득하는 단계;
상기 시점 정보를 기초로 상기 타겟 영상을 역렌더링하여 상기 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성하는 단계; 및
상기 타겟 원본 영상에 포함된 워터 마크 패턴과 상기 360° 파노라마 영상에 포함된 워터마크 패턴을 비교하여 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계;를 포함하되,
상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계는,
상기 타겟 원본 영상을 복수의 블럭으로 나누는 단계;
상기 타겟 원본 영상의 상기 복수의 블럭 중 상기 복수의 블럭 내에 포함된 픽셀이 제1 임계치 이상 복원되어 있는 블럭을 선별하는 단계;
상기 선별된 블럭의 각각에 대하여, 상기 각각의 선별된 블럭 내의 영상의 공간 영역을 주파수 계수로 변환하는 단계; 및
상기 각각의 선별된 블럭 내의 상기 주파수 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상관 계수를 계산하는 단계;를 포함하고,
상기 워터마크 패턴의 상관 계수를 계산하는 단계는,
상기 각각의 선별된 블럭 내의 상기 주파수 계수 중 크기 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상기 상관 계수를 계산하는 단계;를 포함하는 워터마크 검출 방법을 프로세서가 수행하도록 하기 위한 명령어를 포함하는
컴퓨터 프로그램.
As a computer program stored on a computer-readable recording medium,
Acquiring viewpoint information of the target image for a 360° panoramic image with a watermark inserted therein by inputting a target image to a viewpoint information derivation model generated by learning viewpoint information of the learning image and the learning panoramic image. ;
generating a target original image corresponding to the target image by inversely rendering the target image based on the viewpoint information; and
Comparing a watermark pattern included in the target original image and a watermark pattern included in the 360° panoramic image to determine whether the target image corresponds to a part of the 360° panoramic image; Including,
Determining whether the target image corresponds to a part of the 360 ° panoramic image,
Dividing the target original image into a plurality of blocks;
selecting a block from among the plurality of blocks of the target original image in which pixels included in the plurality of blocks are reconstructed by a first threshold value or higher;
For each of the selected blocks, converting a spatial domain of an image in each selected block into a frequency coefficient; and
Calculating a correlation coefficient between the frequency coefficient in each selected block and a watermark pattern included in the 360° panoramic image;
Calculating the correlation coefficient of the watermark pattern,
Calculating the correlation coefficient of the magnitude coefficient among the frequency coefficients in each selected block and the watermark pattern included in the 360° panoramic image; instructions for causing a processor to perform a watermark detection method including including
computer program.
컴퓨터 프로그램을 저장하고 있는 컴퓨터 판독 가능 기록매체로서,
학습 영상 및 학습 파노라마 영상에 대한 상기 학습 영상의 시점 정보를 학습하여 생성된 시점 정보 도출 모델에 타겟 영상을 입력하여 워터마크가 삽입된 360° 파노라마 영상에 대한 상기 타겟 영상의 시점 정보를 획득하는 단계;
상기 시점 정보를 기초로 상기 타겟 영상을 역렌더링하여 상기 타겟 영상에 대응하는 영상인 타겟 원본 영상을 생성하는 단계; 및
상기 타겟 원본 영상에 포함된 워터 마크 패턴과 상기 360° 파노라마 영상에 포함된 워터마크 패턴을 비교하여 상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계;를 포함하되,
상기 타겟 영상이 상기 360° 파노라마 영상의 일부분에 해당하는지 판정하는 단계는,
상기 타겟 원본 영상을 복수의 블럭으로 나누는 단계;
상기 타겟 원본 영상의 상기 복수의 블럭 중 상기 복수의 블럭 내에 포함된 픽셀이 제1 임계치 이상 복원되어 있는 블럭을 선별하는 단계;
상기 선별된 블럭의 각각에 대하여, 상기 각각의 선별된 블럭 내의 영상의 공간 영역을 주파수 계수로 변환하는 단계; 및
상기 각각의 선별된 블럭 내의 상기 주파수 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상관 계수를 계산하는 단계;를 포함하고,
상기 워터마크 패턴의 상관 계수를 계산하는 단계는,
상기 각각의 선별된 블럭 내의 상기 주파수 계수 중 크기 계수와 상기 360° 파노라마 영상에 포함된 워터마크 패턴의 상기 상관 계수를 계산하는 단계;를 포함하는 워터마크 검출 방법을 프로세서가 수행하도록 하기 위한 명령어를 포함하는
컴퓨터 판독 가능한 기록매체.
A computer-readable recording medium storing a computer program,
Acquiring viewpoint information of the target image for a 360° panoramic image with a watermark inserted therein by inputting a target image to a viewpoint information derivation model generated by learning viewpoint information of the learning image and the learning panoramic image. ;
generating a target original image corresponding to the target image by inversely rendering the target image based on the viewpoint information; and
Comparing a watermark pattern included in the target original image and a watermark pattern included in the 360° panoramic image to determine whether the target image corresponds to a part of the 360° panoramic image; Including,
Determining whether the target image corresponds to a part of the 360 ° panoramic image,
Dividing the target original image into a plurality of blocks;
selecting a block from among the plurality of blocks of the target original image in which pixels included in the plurality of blocks are reconstructed by a first threshold value or higher;
For each of the selected blocks, converting a spatial domain of an image in each selected block into a frequency coefficient; and
Calculating a correlation coefficient between the frequency coefficient in each selected block and a watermark pattern included in the 360° panoramic image;
Calculating the correlation coefficient of the watermark pattern,
Calculating the correlation coefficient of the magnitude coefficient among the frequency coefficients in each selected block and the watermark pattern included in the 360° panoramic image; instructions for causing a processor to perform a watermark detection method comprising: including
A computer-readable recording medium.
KR1020210084189A 2021-06-28 2021-06-28 Method and apparatus for detecting wartermark for spherical panoramic image KR102555534B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210084189A KR102555534B1 (en) 2021-06-28 2021-06-28 Method and apparatus for detecting wartermark for spherical panoramic image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210084189A KR102555534B1 (en) 2021-06-28 2021-06-28 Method and apparatus for detecting wartermark for spherical panoramic image

Publications (2)

Publication Number Publication Date
KR20230001392A KR20230001392A (en) 2023-01-04
KR102555534B1 true KR102555534B1 (en) 2023-07-17

Family

ID=84925116

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210084189A KR102555534B1 (en) 2021-06-28 2021-06-28 Method and apparatus for detecting wartermark for spherical panoramic image

Country Status (1)

Country Link
KR (1) KR102555534B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100426690B1 (en) 2001-07-26 2004-04-17 주식회사 마크애니 Method of inserting and extracting digital watermarks by division of screen and apparatus for using thereof
FR2998126B1 (en) * 2012-11-15 2014-12-26 Giroptic METHOD AND DEVICE FOR CAPTURING AND CONSTRUCTING A FLOW OF PANORAMIC OR STEREOSCOPIC IMAGES
KR101925011B1 (en) * 2017-03-14 2019-02-27 한국과학기술원 Method and apparatus for inserting and detecting wartermark
KR102017487B1 (en) * 2018-02-01 2019-09-04 광운대학교 산학협력단 A Blind Digital Watermarking Method for Omni-directional Images using Feature Points

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
한서우, 딥 러닝 기반 360도 파노라마 이미지 인페이팅 방법에 대한 연구, 경희대학교 대학원 전자공학과 석사학위논문, 2020.08*

Also Published As

Publication number Publication date
KR20230001392A (en) 2023-01-04

Similar Documents

Publication Publication Date Title
EP3308371B1 (en) System and method for digital watermarking
JP3431593B2 (en) Content generation device, digital watermark detection device, content generation method, digital watermark detection method, and recording medium
JP5341095B2 (en) Media fingerprint for reliable handling of media content
US6757405B1 (en) Digital watermark embedding device, digital watermark detection device and recording medium recording computer readable program for realizing functions of two devices
JP2005510921A (en) Watermark detection method and detection apparatus having resistance against arbitrary distortion
US20080226125A1 (en) Method of Embedding Data in an Information Signal
US7564973B2 (en) Digital watermark embedding device and digital watermark embedding method
JP2005529526A (en) WATERMARK DETECTION METHOD AND DETECTION DEVICE HAVING RESISTANCE TO SIZE CHANGE, ROTATION AND MOVEMENT
US6996250B2 (en) Digital watermark embedding processor, digital watermark detecting processor, digital watermark embedding-processing method, digital watermark detecting-processing method, and program storage medium and program used therewith
Su et al. A practical design of digital watermarking for video streaming services
KR101135472B1 (en) Reversible watermark inserting, extracting and original contents restoring methods using difference histogram
KR101925011B1 (en) Method and apparatus for inserting and detecting wartermark
Niu et al. Video watermarking resistance to rotation, scaling, and translation
Keyvanpour et al. A secure method in digital video watermarking with transform domain algorithms
KR102555534B1 (en) Method and apparatus for detecting wartermark for spherical panoramic image
WO2004102477A1 (en) Watermarking
Kim et al. Robust motion watermarking based on multiresolution analysis
CN113763224A (en) Image processing method and device
US20140093121A1 (en) Image processing apparatus and method
US7317811B2 (en) Method to decode temporal watermarks in compressed video
Akhlaghian et al. A new robust video watermarking algorithm against cropping and rotating attacks
Delannay et al. Relevant modeling and comparison of geometric distortions in watermarking systems
Berchtold et al. Maximal stable extremal regions for robust video watermarking
CN113497981B (en) Data processing method, device and equipment
JP2002369161A (en) Apparatus for electronic watermark embedding process, method for embedding electronic watermark, and program

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant