KR102095968B1 - Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof - Google Patents

Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof Download PDF

Info

Publication number
KR102095968B1
KR102095968B1 KR1020180076829A KR20180076829A KR102095968B1 KR 102095968 B1 KR102095968 B1 KR 102095968B1 KR 1020180076829 A KR1020180076829 A KR 1020180076829A KR 20180076829 A KR20180076829 A KR 20180076829A KR 102095968 B1 KR102095968 B1 KR 102095968B1
Authority
KR
South Korea
Prior art keywords
image
hash data
frame
blocks
privacy
Prior art date
Application number
KR1020180076829A
Other languages
Korean (ko)
Other versions
KR20200003971A (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 KR1020180076829A priority Critical patent/KR102095968B1/en
Publication of KR20200003971A publication Critical patent/KR20200003971A/en
Application granted granted Critical
Publication of KR102095968B1 publication Critical patent/KR102095968B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

본 개시는 원본 영상을 이루는 프레임들 각각에 대하여 전체 영역을 픽셀화한 제1 영상으로부터 제1 해시 데이터를 추출하고, 프라이버시 보호 대상인 객체가 포함된 중요 블록에 대하여만 픽셀화한 제2 영상 및 중요 블록의 위치를 나타내는 인덱스를 생성하고, 제2 영상에서 비중요 블록에 대해서 픽셀화한 제3 영상을 생성하고, 제3 영상에서 추출된 제2 해시 데이터를 제1 해시 데이터와 비교함으로써, 프라이버시가 보호된 제2 영상을 제공하고, 제2 영상의 무결성을 검증할 수 있는 영상 처리 장치, 영상 검증 장치 및 그 방법을 제공한다. 본 개시에 의하면 효율적으로 영상 내 프라이버시의 보호 및 영상의 변조 여부의 검증을 수행할 수 있다. In the present disclosure, the first hash data is extracted from the first image in which the entire area is pixelated for each of the frames constituting the original image, and the second image and the important pixelized only for the important block including the object to be protected by privacy By creating an index indicating the position of the block, generating a third image pixelated for a non-critical block from the second image, and comparing the second hash data extracted from the third image with the first hash data, privacy is achieved. Provided is an image processing apparatus, an image verification apparatus, and a method for providing a protected second image and verifying the integrity of the second image. According to the present disclosure, it is possible to efficiently protect privacy in an image and verify whether the image is tampered with.

Description

영상의 프라이버시 보호 및 변조 방지를 위한 영상 처리 장치, 영상 검증 장치 및 그 방법 {Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof}Image processing apparatus, image verification apparatus, and method for preventing privacy and tampering of images {Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof}

본 개시는 영상에 포함된 프라이버시를 보호하고, 영상의 변조 여부를 검증하기 위하여 영상을 처리하는 장치 및 방법에 관한 것이다.The present disclosure relates to an apparatus and method for processing an image in order to protect the privacy included in the image and verify whether the image is falsified.

최근, 영상 기술 및 네트워크 기술의 발전에 따라, 네트워크가 지원되는 다양하고 저비용의 IoT(Internet of Things) 카메라들이 넓게 보급되고 있다. 이러한 카메라들을 통해 촬영된 다양한 영상들은 네트워크를 통하여 공유되고 있다.In recent years, with the development of image technology and network technology, various and low-cost Internet of Things (IoT) cameras supporting a network are widely spread. Various images captured through these cameras are shared through the network.

이처럼 공유된 영상들은 각종 사건에 대한 영상 증거 등으로 사용되어 대중에게 이익으로 작용할 수 있다. 그러나, 영상에 있는 개인의 얼굴, 차량 번호판 또는 주소 표지판과 같은 프라이버시 정보가 대중에 노출될 수 있는 위험이 공존하므로, 이에 대한 보호 방법이 필요하게 된다.These shared videos can be used as video evidence for various events, which can benefit the public. However, since there is a risk that privacy information such as an individual's face in a video, a vehicle license plate, or an address sign may be exposed to the public, a protection method is required.

또한, 다양한 영상 처리 애플리케이션들이 보급되어, 복사-이동(Copy-move), 스플라이싱(Splicing), 수정(Retouching), 지우기(Erasing), 조명(Lighting) 조건 변경, 프레임 삽입(Frame insertion), 프레임 삭제(Frame deletion) 및 프레임 전환(Frame switch ) 등과 같은, 영상에 대한 변조가 쉬워지면서, 공유되는 영상에 대한 시간 정보 및 무결성에 대한 보장 방법이 필요하게 된다.In addition, various image processing applications have been spread, such as copy-move, splicing, retouching, erasing, changing lighting conditions, frame insertion, As it becomes easy to modulate an image, such as frame deletion and frame switch, a method for guaranteeing time information and integrity for a shared image is needed.

이러한 필요에 따라, 종래에도 영상의 촬영 시 프라이버시에 해당하는 영역을 식별하고, 식별된 영역에 대한 블러링(bluring) 등의 처리를 통하여 프라이버시를 보호하는 방법 등이 제공되고 있으나, 저성능의 카메라에서는 제한된 처리 능력으로 인하여 화질이 떨어지게 되는 등의 문제가 있다. 또한, 이러한 블러링은 타임 스탬핑(time stamping)을 통해 인증된 해시를 무효화하게 되는 문제가 있을 수 있다.According to this need, a method for identifying a region corresponding to privacy when photographing an image, and protecting privacy through blurring or the like on the identified region has been provided. There are problems such as deterioration of image quality due to limited processing power. In addition, such blurring may have a problem of invalidating the authenticated hash through time stamping.

따라서, 효율적으로 영상 내의 프라이버시를 보호하고, 영상의 무결성을 검증하기 위한 방법에 대한 연구의 필요성이 증대되고 있는 실정이다. Accordingly, there is an increasing need for research on a method for effectively protecting privacy in an image and verifying the integrity of the image.

전술한 배경에서 본 개시는 원본 영상의 촬영 시에는 프레임들 각각의 전체 영역을 픽셀화한 영상으로부터 해시 데이터를 추출하고, 영상의 요청이 경우에 프라이버시 보호 대상인 객체를 검출하여 픽셀화한 프라이버시 보호 영상을 생성함으로써, 장치의 성능에 관계없이 효율적으로 프라이버시 보호 영상을 생성할 수 있는 영상 처리 장치 및 방법을 제안하고자 한다.In the above-described background, the present disclosure extracts hash data from an image in which the entire area of each frame is pixelated when photographing an original image, and detects an object that is a privacy-protected object when an image is requested. By creating, to propose an image processing apparatus and method capable of efficiently generating a privacy-protected image regardless of the performance of the apparatus.

또한, 본 개시는 프라이버시 보호 영상에서 프라이버시 보호 대상인 객체가 포함되지 않은 영역에 대하여 픽셀화를 수행한 영상에서 해시 데이터를 추출하여 프라이버시 보호 영상의 무결성을 판단함으로써, 신뢰성 높게 프라이버시 보호 영상의 무결성을 검증할 수 있는 영상 검증 장치 및 방법을 제안하고자 한다.In addition, the present disclosure extracts hash data from an image obtained by performing pixelation on an area that does not include an object to be protected in a privacy-protected image to determine the integrity of the privacy-protected image, thereby verifying the integrity of the privacy-protected image with high reliability. We would like to propose an image verification device and method that can be done.

전술한 과제를 해결하기 위해서 안출된 본 개시는 메모리, 영상 촬영부, 영상 촬영부에서 촬영된 원본 영상을 메모리에 저장하고, 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록(block)들로 구분하고, 소정 개수의 블록들 전부에 대하여 각각 픽셀화(pixelation)를 수행하여 제1 영상을 생성하고, 제1 영상으로부터 제1 해시 데이터(hash data)를 추출하여 저장하는 영상 처리부 및 저장된 원본 영상에 포함된 프레임들에서 프라이버시 보호 대상인 객체를 각각 검출하고, 저장된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고, 소정 개수의 블록들 중 객체가 포함된 중요 블록(critical block)에 대하여 픽셀화를 수행하여 제2 영상을 생성하고, 중요 블록의 위치를 나타내는 인덱스(index)와 제2 영상을 메모리에 저장하는 프라이버시 보호 영상 생성부를 포함하는 영상 처리 장치를 제공한다. The present disclosure, devised to solve the above-described problems, stores a memory, an image capturing unit, and an original image captured by the image capturing unit in a memory, and blocks each of the frames included in the captured original image by a predetermined number of blocks. The image processing unit for storing the first hash data extracted from the first image and storing the first hash data from the first image by dividing them into pixels and performing pixelation on all of the predetermined number of blocks, respectively, and stored An object that is a privacy-protected object is detected from frames included in the original image, each of the frames included in the stored original image is divided into a predetermined number of blocks, and an important block including an object among the predetermined number of blocks (critical) A blocker that performs pixelation on a block to generate a second image, and stores an index indicating the location of the important block and a second image in memory. It provides an image processing apparatus comprising image generation unit protection.

또한, 본 개시는 통신부, 통신부를 통하여 영상 처리 장치로부터 제1 해시 데이터, 제2 영상 및 인덱스를 수신하고, 제2 영상에 포함된 프레임들 각각을 제1 해시 데이터가 추출된 제1 영상을 구분한 소정 개수의 블록들과 동일하게 구분하고, 인덱스를 이용하여 제2 영상의 각 프레임 중 프라이버시 보호 대상인 객체가 포함되어 픽셀화 처리된 중요 블록을 제외한 나머지 블록들에 대하여 픽셀화를 수행하여 제3 영상을 생성하고, 제3 영상으로부터 추출한 제2 해시 데이터를 제1 해시 데이터와 비교하여 제2 영상의 무결성(integrity)을 판단하는 제어부를 포함하는 영상 검증 장치를 제공한다.In addition, the present disclosure receives the first hash data, the second image and the index from the image processing apparatus through the communication unit, the communication unit, and distinguishes the first image from which the first hash data is extracted from each of the frames included in the second image. It is divided into the same as one predetermined number of blocks, and the third block is obtained by performing pixelation on the remaining blocks except for the important block that is the pixel-protected object among the frames of the second image using the index. Provided is an image verification apparatus including a control unit that generates an image and compares the second hash data extracted from the third image with the first hash data to determine the integrity of the second image.

또한, 본 개시는 영상 촬영부에서 촬영된 원본 영상을 저장하는 단계, 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고, 소정 개수의 블록들 전부에 대하여 각각 픽셀화를 수행하여 제1 영상을 생성하는 단계, 제1 영상으로부터 제1 해시 데이터를 추출하여 저장하는 단계, 저장된 원본 영상에 포함된 프레임들에서 프라이버시 보호 대상인 객체를 각각 검출하는 단계, 저장된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고, 소정 개수의 블록들 중 객체가 포함된 중요 블록에 대하여 픽셀화를 수행하여 제2 영상을 생성하는 단계 및 중요 블록의 위치를 나타내는 인덱스와 상기 제2 영상을 저장하는 단계를 포함하는 영상 처리 및 검증 방법을 제공한다. In addition, the present disclosure is a step of storing the original image photographed by the image capturing unit, each of the frames included in the photographed original image is divided into a predetermined number of blocks, and pixelation is performed for all of the predetermined number of blocks. Performing, generating a first image, extracting and storing first hash data from the first image, detecting each object that is a privacy object in frames included in the stored original image, included in the stored original image The step of generating a second image by dividing each of the frames into a predetermined number of blocks and performing pixelation on the important block including the object among the predetermined number of blocks, and the index and the index indicating the location of the important block It provides an image processing and verification method comprising the step of storing 2 images.

본 개시에 따르면, 원본 영상의 촬영 시에는 프레임들 각각의 전체 영역을 픽셀화한 영상으로부터 해시 데이터를 추출하고, 영상의 요청이 경우에 프라이버시 보호 대상인 객체를 검출하여 픽셀화한 프라이버시 보호 영상을 생성함으로써, 장치의 성능에 관계없이 효율적으로 프라이버시 보호 영상을 생성하도록 할 수 있는 효과가 있다. According to the present disclosure, when photographing an original image, hash data is extracted from a pixelated image of the entire area of each frame, and when an image is requested, an object to be protected is detected to generate a pixelated privacy-protected image. By doing so, it is possible to efficiently create a privacy-protected image regardless of the performance of the device.

또한, 본 개시에 따르면, 프라이버시 보호 영상에서 프라이버시 보호 대상인 객체가 포함되지 않은 영역에 대하여 픽셀화를 수행한 영상에서 해시 데이터를 추출하여 프라이버시 보호 영상의 무결성을 판단함으로써, 신뢰성 높게 프라이버시 보호 영상의 무결성을 검증하도록 할 수 있는 효과가 있다.In addition, according to the present disclosure, by extracting hash data from an image in which pixelation is performed on an area that does not include an object to be protected in a privacy-protected image, the integrity of the privacy-protected image is determined with high reliability. There is an effect that can be verified.

도 1은 본 개시의 일 실시예에 따른 영상 처리 및 검증 시스템의 블록도이다.
도 2는 본 개시의 일 실시예에 따른 영상 처리 장치의 블록도이다.
도 3은 본 개시의 일 실시예에 따른 영상 처리 장치에 포함된 영상 처리부의 블록도이다.
도 4 내지 도 6은 본 개시의 일 실시예에 따른 영상 처리부의 동작을 설명하기 위한 도면이다.
도 7은 본 개시의 일 실시예에 따른 영상 처리 장치에 포함된 프라이버시 보호 영상 생성부의 블록도이다.
도 8 및 도 9는 본 개시의 일 실시예에 따른 프라이버시 보호 영상 생성부의 동작을 설명하기 위한 도면이다.
도 10은 본 개시의 일 실시예에 따른 영상 검증 장치의 블록도이다.
도 11은 본 개시의 일 실시예에 따른 영상 검증 장치의 동작을 설명하기 위한 도면이다.
도 12는 본 개시의 일 실시예에 따른 영상 처리 및 검증 방법에 대한 흐름도이다.
도 13은 본 개시의 일 실시예에 따른 제2 영상의 생성 시작 시기를 설명하기 위한 흐름도이다.
도 14는 본 개시의 일 실시예에 따른 영상 처리 및 검증 방법에 대한 흐름도이다.
도 15는 본 개시의 일 실시예에 따른 영상 처리 및 검증 시스템의 동작을 설명하기 위한 흐름도이다.
1 is a block diagram of an image processing and verification system according to an embodiment of the present disclosure.
2 is a block diagram of an image processing apparatus according to an embodiment of the present disclosure.
3 is a block diagram of an image processing unit included in an image processing apparatus according to an embodiment of the present disclosure.
4 to 6 are views for explaining the operation of the image processing unit according to an embodiment of the present disclosure.
7 is a block diagram of a privacy-protected image generator included in an image processing apparatus according to an embodiment of the present disclosure.
8 and 9 are views for explaining the operation of the privacy-protected image generating unit according to an embodiment of the present disclosure.
10 is a block diagram of an image verification apparatus according to an embodiment of the present disclosure.
11 is a view for explaining the operation of the image verification apparatus according to an embodiment of the present disclosure.
12 is a flowchart of an image processing and verification method according to an embodiment of the present disclosure.
13 is a flowchart illustrating a start timing of generation of a second image according to an embodiment of the present disclosure.
14 is a flowchart of an image processing and verification method according to an embodiment of the present disclosure.
15 is a flowchart illustrating an operation of an image processing and verification system according to an embodiment of the present disclosure.

이하, 본 개시의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 개시를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 개시의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present disclosure will be described in detail through exemplary drawings. It should be noted that in adding reference numerals to the components of each drawing, the same components have the same reference numerals as possible even though they are displayed on different drawings. In addition, in describing the present disclosure, when it is determined that detailed descriptions of related known configurations or functions may obscure the subject matter of the present disclosure, detailed descriptions thereof will be omitted.

또한, 본 개시의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 또는 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In addition, in describing the components of the present disclosure, terms such as first, second, A, B, (a), and (b) may be used. These terms are only for distinguishing the component from other components, and the nature, order, or order of the component is not limited by the term. When a component is described as being "connected", "coupled" or "connected" to another component, that component may be directly connected to or connected to the other component, but another component between each component It should be understood that elements may be "connected", "coupled" or "connected".

본 개시에 있어서, "원본 영상"은 영상 처리 장치에서 촬영된 영상으로서, 블러링(bluring) 등의 프라이버시 보호를 위한 처리가 되기 전의 영상을 의미한다. 또한, "블록(block)"은 영상을 구성하는 프레임의 전체 영역을 구분하는 격자 모양 등의 영역을 의미한다. 또한, "픽셀화(pixelate)"는 각 블록에 대하여 블러링 처리나 모자이크 처리와 같이 해당 블록 내의 영상을 식별하기 어렵게 하는 처리를 총칭한다. 또한, "중요 블록(critical block)"은 블록 중에서 프라이버시가 문제될 수 있는 객체가 포함된 블록을 의미한다. 또한, "인덱스(index)"는 프레임을 구분하는 블록들 중에서 중요 블록의 위치를 나타내는 정보를 의미한다.In the present disclosure, the “original image” refers to an image captured by an image processing apparatus, and refers to an image before processing for privacy protection such as blurring. In addition, "block (block)" refers to an area such as a grid shape that divides the entire area of a frame constituting an image. Further, "pixelate" refers to a process that makes it difficult to identify an image in a corresponding block, such as blurring or mosaic processing, for each block. In addition, "critical block (critical block)" means a block containing an object that may be a privacy problem among the blocks. In addition, "index (index)" means information indicating the location of the important block among the blocks that separate the frame.

이하에서는, 관련 도면을 참조하여 본 개시의 실시예들에 따른 영상 처리 장치, 영상 검증 장치 및 그 방법에 대하여 설명하기로 한다.Hereinafter, an image processing apparatus, an image verification apparatus, and a method according to embodiments of the present disclosure will be described with reference to related drawings.

도 1은 본 개시의 일 실시예에 따른 영상 처리 및 검증 시스템의 블록도이다.1 is a block diagram of an image processing and verification system according to an embodiment of the present disclosure.

도 1을 참조하면, 영상 처리 및 검증 시스템(10)은 영상 처리 장치(100), 영상 검증 장치(200) 및 타임 스탬프 서버(300)를 포함한다.Referring to FIG. 1, the image processing and verification system 10 includes an image processing apparatus 100, an image verification apparatus 200, and a time stamp server 300.

영상 처리 장치(100)는 영상을 촬영하고, 촬영된 영상이 요청되면 이를 전송할 수 있는 장치를 포함할 수 있다. 영상 처리 장치(100)는 영상을 촬영할 수 있고, 본 개시에 따른 영상 처리 방법을 수행할 수 있다면, 특정 종류에 한정되지 않는다. 예를 들어, 영상 처리 장치(100)는 보안 카메라, 차량에 설치되는 블랙박스 카메라 또는 드론에 구비된 카메라 등 다양한 분야의 전자 기기를 포함할 수 있다.The image processing apparatus 100 may include an apparatus that photographs an image and transmits the photographed image when requested. The image processing apparatus 100 is not limited to a specific type, as long as it can take an image and perform the image processing method according to the present disclosure. For example, the image processing apparatus 100 may include electronic devices in various fields, such as a security camera, a black box camera installed in a vehicle, or a camera provided in a drone.

특히, 본 개시에 따르면, 저성능의 장치에서도 우수한 프라이버시 보호 효과 및 영상의 신뢰성이 보장될 수 있고, 좋은 영상 품질을 갖는 영상이 생성될 수 있다. 따라서, 본 개시의 일 실시예에 따른 영상 처리 장치(100)는 낮은 사양의 프로세서(700 MHz - 1.2 GHz CPU)를 포함하고, IoT 연결을 위한 무선 네트워크 인터페이스가 내장된 저렴한 카메라로 구현될 수 있다. 다만, 이는 일 예로서, 이에 한정되는 것은 아니며, 다양한 성능의 장치로 구현될 수 있음은 당연할 것이다.In particular, according to the present disclosure, an excellent privacy protection effect and reliability of an image can be ensured even in a low performance device, and an image with good image quality can be generated. Accordingly, the image processing apparatus 100 according to an embodiment of the present disclosure may include a low specification processor (700 MHz-1.2 GHz CPU), and may be implemented as an inexpensive camera with a wireless network interface for IoT connection. . However, this is not limited to this as an example, and it will be understood that it may be implemented with various performance devices.

영상 처리 장치(100)는 촬영된 영상에서 프라이버시가 문제될 수 있는 객체를 검출할 수 있다. 예를 들어, 상기 프라이버시가 문제될 수 있는 객체는 사람의 얼굴, 자동차의 번호판 또는 집 주소 표지판 등 개인적인 정보를 포함하는 객체를 의미할 수 있다. 영상 처리 장치(100)는 프라이버시가 문제될 수 있는 객체가 인식될 수 없도록 처리하여, 프라이버시 보호 영상을 생성할 수 있다.The image processing apparatus 100 may detect an object in which privacy may be a problem in the captured image. For example, the object in which the privacy may be a problem may mean an object including personal information such as a human face, a license plate of a car, or a home address sign. The image processing apparatus 100 may generate a privacy-protected image by processing an object in which privacy may be a problem so that it cannot be recognized.

프라이버시 보호 영상의 생성과 관련하여, 종래의 블러링(bluring) 절차는 카메라 모듈로부터 실시간 프레임을 획득하고, 검출된 영역을 블러 처리하고, 얼굴/번호판 등이 블러된 프레임을 비디오 파일로 리코딩을 수행한다. 실시간 프레임의 획득 및 리코딩 동작에 걸리는 I/O 시간, 얼굴 등의 검출 동작에 걸리는 검출(detect) 시간, 블러 처리 동작에 걸리는 픽셀화(pixelate) 시간 중에서, 프라이버시 보호 영상의 생성 과정에서 가장 시간이 많이 소모되는 동작은 검출 시간이다. 아래의 표 1은, 라즈베리 파이(Raspberry Pi) 단일 보드 컴퓨터를 이용하여 영상의 실시간 블러 처리를 수행할 때의 소비되는 시간의 일 예이다. 표 1을 참조하면, 얼굴/번호판을 검출할 때 시간이 가장 많이 소비되는 것이 나타나 있다.In relation to the generation of the privacy-protected image, the conventional blurring procedure acquires a real-time frame from the camera module, blurs the detected area, and records the frame with the face / number plate blurred as a video file. do. Of the I / O time for acquiring and recording a real-time frame, detection time for a detection operation such as a face, and pixelate time for a blur processing operation, the most time in the process of generating a privacy-protected image The time consuming operation is detection time. Table 1 below is an example of time spent when performing real-time blur processing of an image using a Raspberry Pi single board computer. Referring to Table 1, it is shown that the most time is consumed when detecting the face / number plate.

Processing time taken per frameProcessing time taken per frame Object blurringObject blurring Resulting frame rateResulting frame rate Detect Detect Pixelate Pixelate I/OI / O Human faceHuman face 2.3 fps2.3 fps 431.5 ms (89.7%) 431.5 ms (89.7%) 0.05 ms (0.01%)0.05 ms (0.01%) 47.4 ms (10.2%)47.4 ms (10.2%) Car plateCar plate 5.1 fps5.1 fps 146.2 ms (75.5%)146.2 ms (75.5%) 0.05 ms (0.02%) 0.05 ms (0.02%) 47.1 ms (24.4%)47.1 ms (24.4%)

이러한 특성을 이용하여, 본 개시의 일 실시예에 따른 영상 처리 장치(100)는 가장 시간이 많이 걸리는 객체의 검출을 영상의 촬영과 함께 실시간으로 수행하지 않고, 우선적으로 원본 영상을 저장할 수 있다. 또한, 영상의 무결성 검증을 위한 조치로, 영상 처리 장치(100)는 원본 영상의 각 프레임들을 실시간으로 전부 픽셀화하고 해시 데이터를 추출할 수 있다. 또한, 영상의 리코딩 시간에 대한 검증을 위하여, 영상 처리 장치(100)는 네트워크 상의 타임 스탬프 서버(300, time stamp server)로 해시 데이터를 전송하여 타임 스탬프된(time stamped) 해시 데이터를 수신할 수 있다. 타임 스탬프 서버를 통한 데이터의 신뢰성 확보는 공지의 방법을 따르며, 더 이상 구체적인 설명은 생략하기로 한다.By using these characteristics, the image processing apparatus 100 according to an embodiment of the present disclosure may preferentially store an original image without performing real-time detection of an object that takes the most time along with image capture. In addition, as a measure for verifying the integrity of the image, the image processing apparatus 100 may pixelate each frame of the original image in real time and extract hash data. In addition, in order to verify the recording time of the image, the image processing apparatus 100 may receive the time stamped hash data by transmitting hash data to a time stamp server 300 on the network. have. Securing the reliability of data through the time stamp server follows a known method, and a detailed description will be omitted.

이후, 영상 검증 장치(200)로부터 영상 전송 요청이 수신되면, 영상 처리 장치(100)는 저장된 원본 영상에 대한 객체의 검출을 수행할 수 있다. 해당 단계에서의 객체의 검출은 영상의 촬영과 함께 실시간으로 진행될 필요가 없으므로, 보다 낮은 사양의 CPU로도 효율적으로 수행될 수 있다. 영상 처리 장치(100)는 검출된 객체에 대한 픽셀화 처리를 수행하여 프라이버시 보호 영상을 생성하고, 픽셀화 처리된 영역을 나타내는 인덱스 정보를 저장할 수 있다. 영상 처리 장치(100)는 프라이버시 보호 영상과 인덱스 정보를 영상 검증 장치(200)로 전송할 수 있다.Thereafter, when an image transmission request is received from the image verification apparatus 200, the image processing apparatus 100 may detect an object for the stored original image. Since the detection of the object in the corresponding step does not need to be performed in real time along with the imaging of the image, it can be efficiently performed even with a lower specification CPU. The image processing apparatus 100 may generate a privacy-protected image by performing pixelation processing on the detected object, and may store index information indicating the pixelated region. The image processing apparatus 100 may transmit the privacy-protected image and index information to the image verification apparatus 200.

영상 검증 장치(200)는 영상 처리 장치(100)에서 촬영된 영상을 요청하는 사람이나 기관이 이용하는 이동 단말기나 컴퓨터 등의 장치일 수 있다. 영상 검증 장치(200)는 영상 처리 장치(100)로 영상의 전송을 요청할 수 있고, 본 개시에 따른 영상 검증 방법을 수행할 수 있다면, 특정 종류에 한정되지 않는다.The image verification device 200 may be a device such as a mobile terminal or a computer used by a person or institution requesting an image captured by the image processing device 100. The image verification apparatus 200 may request transmission of an image to the image processing apparatus 100, and is not limited to a specific type if it is possible to perform the image verification method according to the present disclosure.

영상 검증 장치(200)는 영상 처리 장치(100)로부터 타임 스탬프된 해시 데이터와 프라이버시 보호 영상 및 인덱스 정보를 수신할 수 있다. 영상 검증 장치(200)는 인덱스 정보를 이용하여 프라이버시 보호 영상에서 픽셀화 처리되지 않은 부분을 픽셀화 처리할 수 있다. 따라서, 각 프레임의 전체 영역이 픽셀화 처리된 영상이 생성될 수 있다. 영상 검증 장치(200)는 생성된 영상에서 해시 데이터를 추출할 수 있다. 영상 검증 장치(200)는 추출된 해시 데이터를 영상 처리 장치(100)로부터 수신한 타임 스탬프된 해시 데이터와 비교하여, 프라이버시 보호 영상의 무결성을 검증할 수 있다.The image verification apparatus 200 may receive the time stamped hash data and the privacy-protected image and index information from the image processing apparatus 100. The image verification apparatus 200 may pixelize a portion that is not pixelated in the privacy-protected image using the index information. Accordingly, an image in which the entire area of each frame is pixelated may be generated. The image verification apparatus 200 may extract hash data from the generated image. The image verification apparatus 200 may verify the integrity of the privacy-protected image by comparing the extracted hash data with time-stamped hash data received from the image processing apparatus 100.

무결성이 검증되면, 영상 검증 장치(200)는 프라이버시 보호 영상을 공개하거나 증거로 제출하는 것과 같이 이용할 수 있다. 이 경우, 픽셀화 처리되지 않은 원본 영상은 영상 처리 장치(100)에만 보관되므로, 영상 검증 장치(200)에서는 원본 영상에 접근할 수 없다. 따라서, 촬영된 원본 영상에 포함된 문제될 수 있는 프라이버시가 보호될 수 있다.When the integrity is verified, the image verification device 200 may use it, such as publishing a privacy-protected image or submitting it as evidence. In this case, since the original image that is not pixelated is stored only in the image processing apparatus 100, the image verification apparatus 200 cannot access the original image. Therefore, the privacy that may be involved in the captured original image can be protected.

이에 따르면, 촬영된 영상에 대한 프라이버시의 보호 및 무결성을 효율적으로 검증할 수 있다. 이하에서는, 관련 도면을 참조하여, 본 개시의 실시예들에 따른 영상 처리 및 검증 방법에 대하여 보다 구체적으로 설명하기로 한다.According to this, protection and integrity of the privacy of the captured image can be efficiently verified. Hereinafter, an image processing and verification method according to embodiments of the present disclosure will be described in more detail with reference to related drawings.

도 2는 본 개시의 일 실시예에 따른 영상 처리 장치의 블록도이다. 도 3은 본 개시의 일 실시예에 따른 영상 처리 장치에 포함된 영상 처리부의 블록도이다. 도 4 내지 도 6은 본 개시의 일 실시예에 따른 영상 처리부의 동작을 설명하기 위한 도면이다. 도 7은 본 개시의 일 실시예에 따른 영상 처리 장치에 포함된 프라이버시 보호 영상 생성부의 블록도이다. 도 8 및 도 9는 본 개시의 일 실시예에 따른 프라이버시 보호 영상 생성부의 동작을 설명하기 위한 도면이다.2 is a block diagram of an image processing apparatus according to an embodiment of the present disclosure. 3 is a block diagram of an image processing unit included in an image processing apparatus according to an embodiment of the present disclosure. 4 to 6 are views for explaining the operation of the image processing unit according to an embodiment of the present disclosure. 7 is a block diagram of a privacy-protected image generator included in an image processing apparatus according to an embodiment of the present disclosure. 8 and 9 are views for explaining the operation of the privacy-protected image generating unit according to an embodiment of the present disclosure.

도 2를 참조하면, 본 개시의 실시예들에 따른 영상 처리 장치(100)는 영상 촬영부(110), 영상 촬영부에서 촬영된 원본 영상을 메모리에 저장하고, 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록(block)들로 구분하고, 소정 개수의 블록들 전부에 대하여 각각 픽셀화(pixelation)를 수행하여 제1 영상을 생성하고, 제1 영상으로부터 제1 해시 데이터(hash data)를 추출하여 저장하는 영상 처리부(120), 메모리(130), 저장된 원본 영상에 포함된 프레임들에서 프라이버시 보호 대상인 객체를 각각 검출하고, 저장된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고, 소정 개수의 블록들 중 객체가 포함된 중요 블록(critical block)에 대하여 픽셀화를 수행하여 제2 영상을 생성하고, 중요 블록의 위치를 나타내는 인덱스(index)와 제2 영상을 메모리에 저장하는 프라이버시 보호 영상 생성부(140) 및 통신부(150)를 포함한다.Referring to FIG. 2, the image processing apparatus 100 according to embodiments of the present disclosure stores an image captured by the image photographing unit 110 and the image photographing unit in a memory, and a frame included in the photographed original image Each of these is divided into a predetermined number of blocks, and pixelation is performed on all of the predetermined number of blocks to generate a first image and first hash data from the first image. ), And extracts and stores the image processing unit 120, the memory 130, and objects that are subject to privacy protection from the frames included in the stored original image, and each of the frames included in the stored original image is a predetermined number of blocks The second image is generated by performing pixelation on a critical block including an object among a predetermined number of blocks, and the index and the second image indicating the location of the important block are memoized. It includes a privacy-protected image generation unit 140 and the communication unit 150 to store the data.

영상 촬영부(110)는 이미지 센서 등을 구비하여 영상을 프레임 단위로 촬영할 수 있다. 영상 촬영부(110)는 촬영된 프레임들을 영상 처리부(120)로 전송할 수 있다. 영상 촬영부(110)는 영상을 촬영할 수 있으면 족하고, 특정 장치로 한정되는 것은 아니다.The image photographing unit 110 may include an image sensor and the like to photograph an image in frame units. The image photographing unit 110 may transmit the photographed frames to the image processing unit 120. The image photographing unit 110 is sufficient if it is possible to photograph an image, and is not limited to a specific device.

도 3을 참조하면, 영상 처리부(120)는 인코더(121), 원본 영상 저장부(122), 디코더(123), 제1 영상 생성부(124), 해시 데이터 추출부(125) 및 해시 데이터 저장부(126)를 포함할 수 있다.Referring to FIG. 3, the image processing unit 120 includes an encoder 121, an original image storage unit 122, a decoder 123, a first image generation unit 124, a hash data extraction unit 125, and hash data storage Part 126 may be included.

영상 처리부(120)에 포함된, 인코더(121)는 영상 촬영부(100)에서 촬영된 프레임을 인코딩하여 원본 영상을 생성할 수 있다. 예를 들어, 인코더(121)에서는 프레임을 JPEG 이미지로 인코딩할 수 있다. 이에 따라, 원본 영상은 MJPEG(Motion JPEG) 형식으로 저장될 수 있다. 다만, 이는 일 예로서, 이에 한정되는 것은 아니다. 인코더(121)에서는 필요에 따라, 다른 방식으로 인코딩이 수행될 수 있다.The encoder 121 included in the image processing unit 120 may generate an original image by encoding a frame captured by the image capturing unit 100. For example, the encoder 121 may encode a frame as a JPEG image. Accordingly, the original image may be stored in MJPEG (Motion JPEG) format. However, this is an example, and is not limited thereto. In the encoder 121, encoding may be performed in other ways, if necessary.

영상 처리부(120)는, 생성된 원본 영상을 원본 영상 저장부(122)를 통하여 메모리(130)에 실시간으로 저장할 수 있다. 여기서 실시간으로 저장한다는 것은 영상 촬영부(100)에서 영상이 촬영되는 동안에 원본 영상을 메모리(130)에 저장한다는 것을 의미할 수 있다. 즉, 영상 처리부(120)는 순차적으로 촬영되는 프레임들을 인코딩하여 원본 영상을 생성하고 생성된 원본 영상을 저장할 수 있다.The image processing unit 120 may store the generated original image in real time in the memory 130 through the original image storage unit 122. Here, storing in real time may mean that the original image is stored in the memory 130 while the image is captured in the image capturing unit 100. That is, the image processing unit 120 may encode the frames that are sequentially photographed to generate an original image and store the generated original image.

영상 처리부(120)는 인코더(121)로부터 생성된 원본 영상을 저장하면서, 병렬적으로, 생성된 원본 영상을 디코더(123)에서 다시 프레임들로 디코딩할 수 있다. 즉, 원본 영상의 저장 경로와 원본 영상의 디코딩 경로는 별도의 경로로 구현될 수 있다.The image processing unit 120 may decode the generated original image into frames again in the decoder 123 while storing the original image generated from the encoder 121. That is, the storage path of the original image and the decoding path of the original image may be implemented as separate paths.

원본 영상의 인코딩을 먼저 공통적으로 수행하고, 이후 원본 영상의 저장 및 제1 해시 데이터를 추출하는 이유는, 추후 프라이버시 보호 영상의 무결성 검증 시, 손실 압축 방식 인코딩에 따른 오차 발생을 방지하기 위함이다. 즉, 원본 영상을 손실 압축 방식으로 인코딩된 상태로 저장하고, 이러한 인코딩된 상태를 기준으로 제1 해시 데이터를 추출함으로써, 추후 무결성 검증 시 손실 압축 방식에 따른 오차 발생을 방지할 수 있다.The encoding of the original image is first performed in common, and then the reason for storing the original image and extracting the first hash data is to prevent errors due to lossy compression encoding when verifying the integrity of the privacy-protected image. That is, the original image is stored in an encoded state by the lossy compression method, and the first hash data is extracted based on the encoded state, thereby preventing errors due to the lossy compression method in future integrity verification.

예를 들어, 영상 촬영부(110)에서 촬영된 프레임들로부터 바로 제1 해시 데이터를 추출하는 경우를 가정한다. 이 경우, 프라이버시 보호 영상은 손실 압축에 따른 손실이 발생한 원본 영상을 기준으로 생성되고 이에 대한 제2 해시 데이터가 추출되는데 비하여, 제1 해시 데이터는 이러한 손실이 없는 프레임들을 기준으로 추출되게 된다. 이후, 프라이버시 보호 영상에 대한 무결성 검증을 위하여 제2 해시 데이터와 제1 해시 데이터를 비교할 때, 손실 압축에 따른 오차가 발생할 우려가 있다. 따라서, 이러한 오차를 방지하기 위하여, 원본 영상의 저장 경로와 디코딩 경로의 시점을 인코딩된 원본 영상으로 설정하게 된다.For example, it is assumed that the first hash data is directly extracted from the frames photographed by the image photographing unit 110. In this case, the privacy-protected image is generated based on the original image in which loss due to lossy compression is generated, and second hash data for it is extracted, whereas the first hash data is extracted based on frames without such loss. Then, when comparing the second hash data and the first hash data for verifying the integrity of the privacy-protected image, there is a fear that an error due to lossy compression may occur. Accordingly, in order to prevent such an error, a viewpoint of a storage path and a decoding path of the original image is set as the encoded original image.

영상 처리부(120)에 포함된, 제1 영상 생성부(124)는 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록(block)들로 구분할 수 있다. 영상 처리부(120)는 원본 영상을 구성하는 프레임들 각각에 포함된 소정 개수의 블록들 전부에 대하여 각각 픽셀화를 수행하여 제1 영상을 생성할 수 있다. 즉, 제1 영상은 원본 영상을 구성하는 프레임들 각각의 전체 영역이 픽셀화 처리된 영상일 수 있다.The first image generation unit 124 included in the image processing unit 120 may divide each of the frames included in the captured original image into a predetermined number of blocks. The image processor 120 may generate a first image by performing pixelation on all of a predetermined number of blocks included in each of the frames constituting the original image. That is, the first image may be an image in which the entire area of each frame constituting the original image is pixelated.

도 4를 참조하면, 영상 촬영부(110)에서 촬영된 하나의 프레임(i)이 도시되어 있다. 해당 프레임(i)에는 두 명의 사람(1, 2)이 포함되어 있다. 도 5를 참조하면, 일 예에 따라, 4*4 행렬인 16 개의 동일한 사각형의 블록(b)들로 프레임(i)이 구분된 것이 도시되어 있다. 여기서 16 개의 블록으로 프레임을 구분한 것은 설명의 편의를 위한 것으로, 이에 한정되는 것은 아니다. 또한, 각 블록은 사각형으로 구성되어 있으나, 이에 한정되는 것은 아니며, 필요에 따라 다양한 형상으로 설정될 수 있다.Referring to FIG. 4, one frame i photographed by the image photographing unit 110 is illustrated. The frame (i) includes two people (1, 2). Referring to FIG. 5, according to an example, it is illustrated that a frame (i) is divided into 16 equal square blocks (b) of a 4 * 4 matrix. Here, the frame is divided into 16 blocks for convenience of description, but is not limited thereto. In addition, each block is composed of a square, but is not limited thereto, and may be set in various shapes as necessary.

제1 영상 생성부(124)는 각 블록에 대하여 픽셀화를 수행할 수 있다. 각 블록에 대한 픽셀화의 강도는 동일하게 설정될 수 있다. 도 6을 참조하면, 프레임에 포함된 블록들 전부에 대해 픽셀화 처리(bp)된 것을 사선으로 나타내었다. 이에 따라, 프레임에 포함된 사람들도 픽셀화 처리(1p, 2p)된 것으로 나타난다. 이와 같이, 전체 영역이 픽셀화 처리된 프레임(i1)들이 제1 영상으로 생성될 수 있다.The first image generator 124 may perform pixelation on each block. The intensity of pixelation for each block can be set equally. Referring to FIG. 6, pixels that are pixelated (bp) for all blocks included in the frame are indicated by diagonal lines. Accordingly, people included in the frame also appear to be pixelated (1p, 2p). As such, frames i1 in which the entire area is pixelated may be generated as a first image.

일 실시예에 따라, 각 블록을 픽셀화하는 픽셀화 강도는 객체의 식별 가능성과 영상의 변조 검출 가능성을 고려하여 정해질 수 있다. 픽셀화 강도는 원래의 해상도를 낮추는 정도를 나타내는 것으로, 예를 들어, 픽셀화 강도 X는 이미지의 픽셀 값을 평균화하여 X2의 비율로 해상도를 축소하는 것을 의미할 수 있다.According to an embodiment, the pixelation intensity of pixelizing each block may be determined in consideration of an object identification possibility and an image modulation detection possibility. The pixelation intensity indicates the degree of lowering the original resolution. For example, the pixelation intensity X may mean reducing the resolution by a ratio of X 2 by averaging the pixel values of the image.

픽셀화 강도가 높아질수록 객체의 식별 가능성은 낮아질 수 있다. 또한, 픽셀화 강도가 너무 높은 경우, 영상의 변조 검출 가능성이 낮아질 수 있다. 따라서, 객체의 식별 가능성을 낮추면서 영상의 변조 검출 가능성을 높일 수 있도록 적절한 픽셀화 강도가 선택될 수 있다. 일 예에 따라, 픽셀화 강도 X는 11에서 15 사이로 설정되는 것이 바람직할 수 있다. 다만, 이는 일 예로서, 이에 한정되는 것은 아니며, 영상의 품질 등 경우에 따라 다르게 설정될 수 있다.The higher the pixelation intensity, the lower the probability of object identification. In addition, if the pixelation intensity is too high, the possibility of detecting modulation in an image may be reduced. Accordingly, an appropriate pixelation intensity may be selected so as to increase the possibility of detecting modulation of an image while lowering the possibility of identifying an object. According to an example, it may be desirable that the pixelation intensity X is set between 11 and 15. However, this is an example, and is not limited thereto, and may be set differently depending on cases such as image quality.

영상 처리부(120)에 포함된, 해시 데이터 추출부(125)는 제1 영상으로부터 제1 해시 데이터(hash data)를 추출하여 저장할 수 있다. 일 실시예에 따라, 영상 처리부(120)는 제1 영상에 포함된 각 프레임들에서 프레임 해시 데이터를 추출하고, 추출된 프레임 해시 데이터들로부터 제1 해시 데이터를 다시 추출할 수 있다. 일 실시예에 따라, 영상 처리부(120)는 제1 영상의 생성 동작 및 제1 해시 데이터의 추출 동작을 원본 영상의 저장 동작과 병렬적으로 동시에 수행할 수 있다.The hash data extraction unit 125 included in the image processing unit 120 may extract and store the first hash data from the first image. According to an embodiment, the image processor 120 may extract frame hash data from each frame included in the first image, and extract the first hash data again from the extracted frame hash data. According to an embodiment, the image processing unit 120 may simultaneously perform the operation of generating the first image and the operation of extracting the first hash data in parallel with the operation of storing the original image.

일 실시예에 따라, 해시 데이터 추출부(125)는 제1 해시 데이터를 추출한 이후 제1 영상을 삭제할 수 있다. 본 개시에 따르면, 프라이버시 보호 영상의 무결성 검증 시에는 제1 해시 데이터만 이용되므로, 제1 영상은 더 이상 필요가 없기 때문에 삭제되며, 이에 따라 불필요한 메모리의 소모를 방지할 수 있다.According to an embodiment, the hash data extractor 125 may delete the first image after extracting the first hash data. According to the present disclosure, since only the first hash data is used when verifying the integrity of the privacy-protected image, the first image is deleted because it is no longer needed, and accordingly, unnecessary memory consumption can be prevented.

영상 처리부(120)는 통신부(150)를 통하여, 제1 해시 데이터를 타임 스탬프 서버(300)로 전송할 수 있다. 영상 처리부(120)는, 해시 데이터 저장부(126)를 통하여 타임 스탬프 서버(300)로부터 타임 스탬프된 제1 해시 데이터를 수신하여 메모리(130)에 저장할 수 있다. 해시 데이터 저장부(126)는 영상 검증 장치(200)로부터 영상 전송 요청이 수신되면, 타임 스탬프된 제1 해시 데이터를 영상 검증 장치(200)로 전송할 수 있다.The image processing unit 120 may transmit the first hash data to the time stamp server 300 through the communication unit 150. The image processing unit 120 may receive the first hash data time-stamped from the time stamp server 300 through the hash data storage unit 126 and store it in the memory 130. When the image transmission request is received from the image verification apparatus 200, the hash data storage unit 126 may transmit the time-stamped first hash data to the image verification apparatus 200.

메모리(130)는 영상 처리부(120) 및 프라이버시 보호 영상 생성부(140)에서 처리된 영상 데이터 및 이와 관련된 데이터를 저장한다. 메모리(130)는 프레임을 블록으로 구분하거나 픽셀화하는 등의 동작을 수행하기 위한 프로그램 등을 저장할 수 있다. 일 예에 따라, 메모리(130)는 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등)로 구현될 수 있다. 예를 들어, 저사양 모델의 영상 처리 장치의 경우, 64-128 GB 온보드 SD 메모리 카드를 포함할 수 있다. 다만, 이는 일 예로서, 이에 한정되는 것은 아니며, 메모리(130)는 필요에 따라, 다양한 저장 매체로 구현될 수 있다.The memory 130 stores image data processed by the image processing unit 120 and the privacy-protected image generation unit 140 and data related thereto. The memory 130 may store a program for performing an operation such as dividing a frame into blocks or pixelating. According to an example, the memory 130 may be implemented as a card-type memory (eg, SD or XD memory, etc.). For example, a low-end model image processing device may include a 64-128 GB onboard SD memory card. However, this is not limited to this as an example, and the memory 130 may be implemented as various storage media as necessary.

도 7을 참조하면, 프라이버시 보호 영상 생성부(140)는 객체 검출부(141), 제2 영상 생성부(142) 및 인덱스 획득부(143)를 포함할 수 있다.Referring to FIG. 7, the privacy-protected image generation unit 140 may include an object detection unit 141, a second image generation unit 142, and an index acquisition unit 143.

프라이버시 보호 영상 생성부(140)에 포함된, 객체 검출부(141)는 저장된 원본 영상에 포함된 프레임들에서 프라이버시 보호 대상인 객체를 각각 검출할 수 있다. 프라이버시 보호 영상 생성부(140)는 영상의 전송 요청을 수신하면, 메모리(130)로부터 원본 영상을 독출하여, 각 프레임에 포함된 객체를 검출할 수 있다. 객체의 검출에는 공지의 객체 검출 알고리즘이 적용될 수 있으며, 특정 알고리즘으로 한정되는 것은 아니다.The object detection unit 141 included in the privacy-protected image generation unit 140 may detect objects that are privacy-protected objects in frames included in the stored original image. Upon receiving the request for transmitting the image, the privacy-protected image generating unit 140 may read the original image from the memory 130 and detect an object included in each frame. A known object detection algorithm may be applied to the detection of the object, and is not limited to a specific algorithm.

프라이버시 보호 영상 생성부(140)는 각 프레임에 대하여 사람의 얼굴이나 자동차의 번호판 등의 객체를 검출할 수 있다. 도 8을 참조하면, 저장된 원본 영상의 프레임(i)에 포함된 사람들(1, 2)의 얼굴이 프라이버시 보호 대상이 될 수 있다. 객체 검출부(141)는 사람들(1, 2)의 얼굴을 검출하고, 검출된 영역(d1, d2)를 획득할 수 있다.The privacy-protected image generating unit 140 may detect an object such as a human face or a license plate of a car for each frame. Referring to FIG. 8, faces of people 1 and 2 included in the frame i of the stored original image may be subject to privacy protection. The object detection unit 141 may detect the faces of people 1 and 2 and acquire the detected areas d1 and d2.

프라이버시 보호 영상 생성부(140)에 포함된, 제2 영상 생성부(142)는 저장된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분할 수 있다. 프라이버시 보호 영상 생성부(140)는, 영상 처리부(120)에서 제1 영상을 생성하기 위하여 프레임을 구분한 블록들과 동일한 형식으로, 저장된 원본 영상에 포함된 프레임들을 구분할 수 있다. 즉, 제1 영상의 각 프레임 및 제1 영상의 각 프레임에 대응하는 제2 영상의 각 프레임은 동일한 개수와 동일한 형태의 블록들로 구분될 수 있다.The second image generator 142 included in the privacy-protected image generator 140 may divide each of the frames included in the stored original image into a predetermined number of blocks. In order to generate the first image in the image processing unit 120, the privacy-protected image generation unit 140 may classify frames included in the stored original image in the same format as blocks in which the frames are divided. That is, each frame of the first image and each frame of the second image corresponding to each frame of the first image may be divided into blocks having the same number and the same shape.

예를 들어, 전술한 것과 같이, 제1 영상을 생성하기 위하여 각 프레임이 4*4 행렬인 16 개의 동일한 사각형의 블록으로 구분된 경우를 가정한다. 이 경우, 제2 영상 생성부(142)도 저장된 원본 영상에 포함된 프레임들을 4*4 행렬인 16 개의 동일한 사각형의 블록으로 동일하게 구분할 수 있다.For example, as described above, it is assumed that each frame is divided into 16 equal square blocks, each of which is a 4 * 4 matrix, to generate a first image. In this case, the second image generation unit 142 may equally divide the frames included in the stored original image into blocks of 16 identical squares, which are 4 * 4 matrices.

제2 영상 생성부(142)는 각 프레임을 구분하는 소정 개수의 블록들 중 프라이버시 보호 대상인 객체가 포함된 중요 블록(critical block)들에 대하여 픽셀화를 수행하여 제2 영상을 생성할 수 있다. 즉, 제2 영상은 원본 영상을 구성하는 프레임들 중 중요 블록만이 픽셀화 처리된 프라이버시 보호 영상일 수 있다. 프라이버시 보호 영상 생성부(140)는, 영상 처리부(120)에서 제1 영상을 생성하기 위하여 블록들을 각각 픽셀화한 픽셀화 강도와 동일한 픽셀화 강도로, 중요 블록에 대한 픽셀화를 수행할 수 있다.The second image generation unit 142 may generate a second image by performing pixelation on critical blocks including an object to be protected, among a predetermined number of blocks that divide each frame. That is, the second image may be a privacy-protected image in which only important blocks among the frames constituting the original image are pixelated. The privacy-protected image generation unit 140 may perform pixelation of the important block with the same pixelation intensity as the pixelated intensity of each of the blocks, in order to generate the first image in the image processing unit 120. .

도 9를 참조하면, 프레임에 포함된 블록들 중, 사람의 얼굴이 검출된 영역이 포함된 중요 블록(cb1, cb2)에 대해 픽셀화 처리된 것을 사선으로 나타내었다. 이에 따라, 중요 블록(cb1, cb2)에 포함된 사람들의 얼굴도 픽셀화 처리된 것으로 나타난다. 이와 같이, 전체 영역 중 중요 블록(cb1, cb2)이 픽셀화 처리된 프레임(i2)들이 제2 영상으로 생성될 수 있다.Referring to FIG. 9, pixelated processing of important blocks cb1 and cb2 including a region in which a human face is detected among blocks included in the frame is illustrated by a diagonal line. Accordingly, the faces of people included in the important blocks cb1 and cb2 also appear to be pixelated. As such, frames i2 in which the important blocks cb1 and cb2 of the entire area are pixelated may be generated as a second image.

프라이버시 보호 영상 생성부(140)에 포함된 인덱스 획득부(143)는 각 프레임을 구분하는 소정 개수의 블록들 중 중요 블록의 위치를 나타내는 인덱스(index)를 획득할 수 있다. 프라이버시 보호 영상 생성부(140)는 인덱스와 제2 영상을 메모리(130)에 저장할 수 있다. 프라이버시 보호 영상 생성부(140)는 영상 검증 장치(200)로부터 영상 전송 요청이 수신되면, 인덱스와 제2 영상을 영상 검증 장치(200)로 전송할 수 있다.The index obtaining unit 143 included in the privacy-protected image generating unit 140 may obtain an index indicating the location of an important block among a predetermined number of blocks that divide each frame. The privacy-protected image generating unit 140 may store the index and the second image in the memory 130. When the image transmission request is received from the image verification apparatus 200, the privacy-protected image generation unit 140 may transmit the index and the second image to the image verification apparatus 200.

일 실시예에 따라, 프라이버시 보호 영상 생성부(140)는 제2 영상을 무손실 압축 방식으로 압축하여 영상 검증 장치(200)로 전송할 수 있다. 전술한 것과 같이, 제2 영상의 무결성을 검증할 때 손실 압축으로 인한 오차를 방지하기 위하여 원본 영상을 우선적으로 인코딩한 이후, 원본 영상의 저장 및 제1 해시 데이터의 추출을 수행한 것과 마찬가지로, 제2 영상의 전송 시에도 손실 압축으로 인한 오차의 발생을 방지하기 위하여, 무손실 압축 방식으로 전송할 수 있다.According to an embodiment, the privacy-protected image generation unit 140 may compress the second image in a lossless compression method and transmit the compressed image to the image verification apparatus 200. As described above, in order to prevent errors due to lossy compression when verifying the integrity of the second image, the original image is preferentially encoded, and then the same as that of storing the original image and extracting the first hash data, 2 In order to prevent the occurrence of errors due to lossy compression even when the image is transmitted, it can be transmitted in a lossless compression method.

통신부(150)는 영상 처리 장치(100)와 영상 검증 장치(200) 사이 또는 영상 처리 장치(100)와 타임 스탬프 서버(300) 사이의 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 일 예에 따라, 통신부(150)는 타임 스탬프 서버(300)와 IoT 통신 채널을 이용하여 해시 데이터를 송수신할 수 있다. 통신부(150)는 영상 검증 장치(200)와 데이터를 주고받기 위한 이동통신 모듈, 무선 인터넷 모듈 또는 근거리 통신 모듈 등을 포함할 수 있다.The communication unit 150 may include one or more modules that enable wireless communication between the image processing apparatus 100 and the image verification apparatus 200 or between the image processing apparatus 100 and the time stamp server 300. According to an example, the communication unit 150 may transmit and receive hash data using the time stamp server 300 and the IoT communication channel. The communication unit 150 may include a mobile communication module, a wireless Internet module, or a short-range communication module for exchanging data with the image verification device 200.

이에 따르면, 원본 영상의 촬영 시에는 프레임들 각각의 전체 영역을 픽셀화한 영상으로부터 해시 데이터를 추출하고, 영상의 요청이 경우에 프라이버시 보호 대상인 객체를 검출하여 픽셀화한 프라이버시 보호 영상을 생성함으로써, 장치의 성능에 관계없이 효율적으로 프라이버시 보호 영상을 생성하도록 할 수 있다.According to this, when photographing the original image, by extracting hash data from the image in which the entire area of each frame is pixelated, and when the image is requested, an object to be protected is detected to generate a pixelated privacy-protected image, It is possible to efficiently create a privacy-protected image regardless of the performance of the device.

도 10은 본 개시의 일 실시예에 따른 영상 검증 장치의 블록도이다. 도 11은 본 개시의 일 실시예에 따른 영상 검증 장치의 동작을 설명하기 위한 도면이다.10 is a block diagram of an image verification apparatus according to an embodiment of the present disclosure. 11 is a view for explaining the operation of the image verification apparatus according to an embodiment of the present disclosure.

도 10을 참조하면, 본 개시의 실시예에 따른 영상 검증 장치(200)는 통신부(210) 및 통신부를 통하여 전술한 영상 처리 장치(100)로부터 제1 해시 데이터, 제2 영상 및 인덱스를 수신하고, 인덱스를 이용하여 제2 영상의 각 프레임 중 프라이버시 보호 대상인 객체가 포함되어 픽셀화 처리된 중요 블록을 제외한 나머지 블록들에 대하여 픽셀화를 수행하여 제3 영상을 생성하고, 제3 영상으로부터 추출한 제2 해시 데이터를 제1 해시 데이터와 비교하여 제2 영상의 무결성(integrity)을 판단하는 제어부(220)를 포함할 수 있다.10, the image verification apparatus 200 according to an embodiment of the present disclosure receives the first hash data, the second image and the index from the above-described image processing apparatus 100 through the communication unit 210 and the communication unit , A third image is generated by performing pixelation on the remaining blocks except for the important block that is pixelated by including an object to be privacy-protected among each frame of the second image using the index, and the third image is extracted from the third image. 2 may include a control unit 220 that determines the integrity of the second image by comparing the hash data with the first hash data.

통신부(210)는 영상 처리 장치(100)와 영상 검증 장치(200) 사이의 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 일 예에 따라, 통신부(210)는 영상 처리 장치(100)와 데이터를 주고받기 위한 이동통신 모듈, 무선 인터넷 모듈 또는 근거리 통신 모듈 등을 포함할 수 있다.The communication unit 210 may include one or more modules that enable wireless communication between the image processing apparatus 100 and the image verification apparatus 200. According to an example, the communication unit 210 may include a mobile communication module, a wireless Internet module, or a short-range communication module for exchanging data with the image processing apparatus 100.

제어부(220)는 통신부(210)를 통하여 영상 처리 장치(100)로 영상의 전송을 요청할 수 있다. 제어부(220)는 상기 요청에 따라 영상 처리 장치(100)로부터 타임 스탬프된 제1 해시 데이터, 제2 영상 및 인덱스를 수신할 수 있다. 전술한 것과 같이, 타임 스탬프된 제1 해시 데이터는 원본 영상의 각 프레임을 구분하는 전체 블록을 픽셀화 처리한 상태에서 추출된다. 또한, 제2 영상은 인덱스가 나타내는 중요 블록이 픽셀화 처리된 프라이버시 보호 영상이다.The control unit 220 may request transmission of an image to the image processing apparatus 100 through the communication unit 210. The controller 220 may receive the first hash data, the second image, and the index time-stamped from the image processing apparatus 100 according to the request. As described above, the time-stamped first hash data is extracted in a state in which all blocks that separate each frame of the original image are pixelated. In addition, the second image is a privacy-protected image in which the important block indicated by the index is pixelated.

제어부(220)는 제2 영상에 포함된 프레임들 각각을 제1 해시 데이터가 추출된 제1 영상을 구분한 소정 개수의 블록들과 동일하게 구분할 수 있다. 즉, 제1 영상과 제2 영상에 포함된 프레임들은 각각 동일한 개수 및 동일한 형상의 블록들로 동일하게 구분될 수 있다.The controller 220 may classify each of the frames included in the second image in the same manner as a predetermined number of blocks that divide the first image from which the first hash data is extracted. That is, the frames included in the first image and the second image may be equally divided into blocks of the same number and the same shape, respectively.

제어부(220)는 인덱스를 이용하여 제2 영상의 각 프레임 중 프라이버시 보호 대상인 객체가 포함되어 픽셀화 처리된 중요 블록을 제외한 나머지 블록들에 대하여 픽셀화를 수행할 수 있다. 도 9를 참조하면, 제2 영상의 프레임에 포함된 중요 블록(cb1, cb2)이 픽셀화 처리된 것이 사선들로 도시되어 있다. 마찬가지로, 도 11을 참조하면, 중요 블록(cb1, cb2)이 픽셀화 처리된 것이 사선들로 도시되어 있다.The control unit 220 may perform pixelation on the remaining blocks except for the important block that has been subjected to privacy protection among the frames of the second image, which is an object to be protected, by using the index. Referring to FIG. 9, it is illustrated by diagonal lines that the important blocks cb1 and cb2 included in the frame of the second image are pixelated. Similarly, referring to FIG. 11, it is illustrated by diagonal lines that the important blocks cb1 and cb2 are pixelated.

제어부(220)는 중요 블록(cb1, cb2)을 나타내는 인덱스를 이용하여, 중요 블록(cb1, cb2) 이외의 나머지 블록들(bp)에 대하여 픽셀화 처리를 수행할 수 있다. 중요 블록(cb1, cb2)들과의 구분을 위하여, 도 11에는, 나머지 블록들(bp)이 픽셀화 처리된 것이 수직선들로 도시되어 있다.The controller 220 may perform pixelation processing on the remaining blocks bp other than the important blocks cb1 and cb2 using the indexes indicating the important blocks cb1 and cb2. In order to distinguish from the important blocks cb1 and cb2, in FIG. 11, the remaining blocks bp are pixelated, as shown by vertical lines.

다만, 이는 설명의 편의를 위하여 구분하여 도시한 것으로, 중요 블록(cb1, cb2)과 나머지 블록들(bp)에 적용되는 픽셀화 방식 및 강도는 서로 동일하게 설정되어 픽셀화가 수행될 수 있다. 이에 따라, 영상에 포함된 사람들(1p, 2p)도 전체적으로 픽셀화 처리되게 된다. 이와 같이, 전체 영역이 픽셀화 처리된 프레임(i3)들이 제3 영상으로 생성될 수 있다. 따라서, 제3 영상은 제1 해시 데이터가 추출된 제1 영상과 동일하게 원본 영상의 각 프레임들의 전체 영역이 픽셀화 처리된 상태가 된다.However, this is illustrated separately for convenience of description, and the pixelation method and intensity applied to the important blocks cb1 and cb2 and the rest of the blocks bp are set to be the same and pixelation can be performed. Accordingly, people 1p and 2p included in the image are also entirely pixelated. As such, the frames i3 of which the entire area is pixelated may be generated as a third image. Therefore, in the third image, the entire area of each frame of the original image is pixelated in the same manner as the first image from which the first hash data is extracted.

일 실시예에 따라, 제어부(220)는 제3 영상에 포함된 각 프레임들로부터 프레임 해시 데이터들을 추출하고, 추출된 프레임 해시 데이터들로부터 제2 해시 데이터를 다시 추출할 수 있다. 제어부(220)는 제3 영상으로부터 추출한 제2 해시 데이터를 제1 해시 데이터와 비교하여 제2 영상의 무결성(integrity)을 판단할 수 있다.According to an embodiment, the controller 220 may extract frame hash data from each frame included in the third image, and extract the second hash data from the extracted frame hash data again. The controller 220 may compare the second hash data extracted from the third image with the first hash data to determine the integrity of the second image.

전술한 것과 같이, 제3 영상은, 제1 영상과 동일하게, 원본 영상을 구성하는 프레임들의 전체 블록에 대하여 동일한 픽셀화 처리가 된 상태이다. 따라서, 제1 영상에서 추출된 제1 해시 데이터와 제2 영상이 가공된 제3 영상에서 추출된 제2 해시 데이터가 동일한 값을 갖는 경우, 제2 영상은 변조가 없는 영상으로 검증될 수 있다. 또한, 제1 해시 데이터의 타임 스탬프에 의하여 리코딩 시간에 대해서도 검증될 수 있다.As described above, the third image is in the same state as the first image, in the same pixel processing for all blocks of the frames constituting the original image. Accordingly, when the first hash data extracted from the first image and the second hash data extracted from the third image from which the second image is processed have the same value, the second image may be verified as an image without modulation. Also, the recording time can be verified by the time stamp of the first hash data.

이에 따르면, 프라이버시 보호 영상에서 프라이버시 보호 대상인 객체가 포함되지 않은 영역에 대하여 픽셀화를 수행한 영상에서 해시 데이터를 추출하여 프라이버시 보호 영상의 무결성을 판단함으로써, 신뢰성 높게 프라이버시 보호 영상의 무결성을 검증하도록 할 수 있다.According to this, by extracting hash data from an image that has been subjected to pixelation on an area that does not include an object to be protected in the privacy-protected image, the integrity of the privacy-protected image is determined and the reliability of the privacy-protected image is verified with high reliability. You can.

도 12는 본 개시의 일 실시예에 따른 영상 처리 및 검증 방법에 대한 흐름도이다. 도 13은 본 개시의 일 실시예에 따른 제2 영상의 생성 시작 시기를 설명하기 위한 흐름도이다. 도 14는 본 개시의 일 실시예에 따른 영상 처리 및 검증 방법에 대한 흐름도이다.12 is a flowchart of an image processing and verification method according to an embodiment of the present disclosure. 13 is a flowchart illustrating a start timing of generation of a second image according to an embodiment of the present disclosure. 14 is a flowchart of an image processing and verification method according to an embodiment of the present disclosure.

본 개시에 따른 영상의 처리 및 검증 방법은, 도 1을 참조하여 설명한 영상 처리 장치(100) 및 영상 검증 장치(200)에서 구현될 수 있다. 이하 필요한 도면들을 참조하여, 본 개시에 따른 영상의 처리 및 검증 방법과, 이를 구현하기 위한 영상 처리 장치(100) 및 영상 검증 장치(200)의 동작을 상세히 설명하기로 한다.The image processing and verification method according to the present disclosure may be implemented in the image processing apparatus 100 and the image verification apparatus 200 described with reference to FIG. 1. Hereinafter, a method for processing and verifying an image according to the present disclosure and operations of the image processing apparatus 100 and the image verification apparatus 200 for realizing the image will be described in detail with reference to necessary drawings.

도 12를 참조하면, 영상 처리 장치의 영상 처리부는 영상 촬영부에서 촬영된 원본 영상을 저장할 수 있다[S110].Referring to FIG. 12, the image processing unit of the image processing apparatus may store the original image photographed by the image capturing unit [S110].

영상 처리부는 영상 촬영부에서 촬영된 프레임을 인코딩하여 원본 영상을 생성할 수 있다. 영상 처리부는, 생성된 원본 영상을 메모리에 실시간으로 저장할 수 있다. 즉, 영상 처리부는 순차적으로 촬영되는 프레임들을 인코딩하여 원본 영상을 생성하고 생성된 원본 영상을 저장할 수 있다.The image processing unit may generate an original image by encoding a frame captured by the image capturing unit. The image processing unit may store the generated original image in memory in real time. That is, the image processing unit may encode frames sequentially photographed to generate an original image and store the generated original image.

다시 도 12를 참조하면, 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고, 상기 소정 개수의 블록들 전부에 대하여 각각 픽셀화를 수행하여 제1 영상을 생성할 수 있다[S120].Referring to FIG. 12 again, each frame included in the photographed original image is divided into a predetermined number of blocks, and pixelation is performed on all of the predetermined number of blocks to generate a first image. [S120].

영상 처리부는 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분할 수 있다. 영상 처리부는 원본 영상을 구성하는 프레임들 각각에 포함된 소정 개수의 블록들 전부에 대하여 각각 픽셀화를 수행하여 제1 영상을 생성할 수 있다. 즉, 제1 영상은 원본 영상을 구성하는 프레임들 각각의 전체 영역이 픽셀화 처리된 영상일 수 있다.The image processing unit may divide each of the frames included in the photographed original image into a predetermined number of blocks. The image processing unit may generate a first image by performing pixelation on all of a predetermined number of blocks included in each of the frames constituting the original image. That is, the first image may be an image in which the entire area of each frame constituting the original image is pixelated.

영상 처리부는 각 블록에 대하여 픽셀화를 수행할 수 있다. 각 블록에 대한 픽셀화의 강도는 동일하게 설정될 수 있다. 전체 영역이 픽셀화 처리된 프레임들이 제1 영상으로 생성될 수 있다.The image processing unit may perform pixelation for each block. The intensity of pixelation for each block can be set equally. Frames in which the entire area is pixelated may be generated as a first image.

다시 도 12를 참조하면, 영상 처리부는 제1 영상으로부터 제1 해시 데이터를 추출하여 저장할 수 있다[S130].Referring to FIG. 12 again, the image processing unit may extract and store the first hash data from the first image [S130].

일 실시예에 따라, 영상 처리부는 제1 영상에 포함된 각 프레임들에서 프레임 해시 데이터를 추출하고, 추출된 프레임 해시 데이터들로부터 제1 해시 데이터를 다시 추출할 수 있다. 일 실시예에 따라, 영상 처리부는 제1 영상의 생성 동작 및 제1 해시 데이터의 추출 동작을 원본 영상의 저장 동작과 병렬적으로 동시에 수행할 수 있다.According to an embodiment, the image processing unit may extract frame hash data from each frame included in the first image, and extract the first hash data from the extracted frame hash data. According to an embodiment, the image processing unit may simultaneously perform the operation of generating the first image and the operation of extracting the first hash data in parallel with the operation of storing the original image.

일 실시예에 따라, 영상 처리부는 제1 해시 데이터를 추출한 이후 제1 영상을 삭제할 수 있다. 본 개시에 따르면, 프라이버시 보호 영상의 무결성 검증 시에는 제1 해시 데이터만 이용되므로, 제1 영상은 더 이상 필요가 없기 때문에 삭제되며, 이에 따라 불필요한 메모리의 소모를 방지할 수 있다.According to an embodiment, the image processing unit may delete the first image after extracting the first hash data. According to the present disclosure, since only the first hash data is used when verifying the integrity of the privacy-protected image, the first image is deleted because it is no longer needed, thereby preventing unnecessary memory consumption.

일 실시예에 따라, 영상 처리부는 제1 해시 데이터를 타임 스탬프 서버로 전송할 수 있다. 영상 처리부는, 타임 스탬프 서버로부터 타임 스탬프된 제1 해시 데이터를 수신하여 메모리에 저장할 수 있다.According to an embodiment, the image processing unit may transmit the first hash data to the time stamp server. The image processing unit may receive the first hash data time-stamped from the time stamp server and store it in the memory.

도 12에서는 단계 S110과 단계 S120, S130이 순차적으로 도시되어 있으나, 이에 한정되는 것은 아니다. 일 실시예에 따라, 단계 S110의 원본 영상을 저장하는 동작과 단계 S120, S130의 제1 영상을 생성하고 제1 해시 데이터의 추출하는 동작은 촬영된 프레임들을 인코딩하여 원본 영상을 획득한 이후에 병렬적으로 수행될 수 있다. 이는 인코딩에 따른 손실에 의하여, 추후 영상의 무결성 검증 시 발생될 우려가 있는 오차를 방지하기 위함이며, 이에 대해서는 전술하였으므로, 구체적인 설명은 생략하기로 한다.In FIG. 12, steps S110, S120, and S130 are sequentially shown, but are not limited thereto. According to one embodiment, the operation of storing the original image in step S110 and the operation of generating the first image in steps S120 and S130 and extracting the first hash data are parallel after encoding the captured frames to obtain the original image. Can be performed. This is to prevent an error that may occur when verifying the integrity of a video due to loss due to encoding, and since it has been described above, a detailed description will be omitted.

다시 도 12를 참조하면, 영상 처리 장치의 프라이버시 보호 영상 생성부는 저장된 원본 영상에 포함된 프레임들에서 프라이버시 보호 대상인 객체를 각각 검출할 수 있다[S140].Referring back to FIG. 12, the privacy-protected image generation unit of the image processing apparatus may detect objects that are privacy-protected objects in frames included in the stored original image [S140].

프라이버시 보호 영상 생성부는 영상의 전송 요청을 수신하면, 메모리로부터 원본 영상을 독출하여, 각 프레임에 포함된 객체를 검출할 수 있다. 객체의 검출에는 공지의 객체 검출 알고리즘이 적용될 수 있으며, 특정 알고리즘으로 한정되는 것은 아니다.Upon receiving the request to transmit the image, the privacy-protected image generation unit may read the original image from the memory and detect an object included in each frame. A known object detection algorithm may be applied to the detection of the object, and is not limited to a specific algorithm.

원본 영상의 프레임에 포함된 사람의 얼굴, 자동차의 번호판이나 주소가 표시된 표지판 등이 프라이버시 보호 대상이 될 수 있다. 프라이버시 보호 영상 생성부는 각 프레임에 대하여 사람의 얼굴이나 자동차의 번호판 등의 객체를 검출할 수 있다.The face of the person included in the frame of the original video, the license plate of the car or the sign with the address, etc., can be the subject of privacy protection. The privacy-protected image generation unit may detect an object such as a human face or a license plate of a car for each frame.

일 실시예에 따라, 프라이버시 보호 영상 생성부는 영상 검증 장치로부터 영상 전송 요청이 수신되면, 원본 영상으로부터 프라이버시 보호 대상인 객체의 검출을 시작할 수 있다. 도 13을 참조하면, 영상 검증 장치로부터 영상 전송 요청이 수신되는 경우[S210, Yes], 프라이버시 보호 영상 생성부는 프라이버시 보호 대상인 객체의 검출을 시작[S220]할 수 있다. 영상 검증 장치로부터 영상 전송 요청이 수신되지 않고 있는 경우[S210, No], 프라이버시 보호 영상 생성부는 별도의 동작을 수행하지 않고, 영상 처리부에서 단계 S110 내지 S130의 동작을 수행할 수 있다.According to an embodiment, when the image transmission request is received from the image verification apparatus, the privacy-protected image generation unit may start detecting an object that is a privacy-protected object from the original image. Referring to FIG. 13, when an image transmission request is received from the image verification device [S210, Yes], the privacy-protected image generation unit may start detection of an object that is a privacy-protected object [S220]. When an image transmission request is not received from the image verification device [S210, No], the privacy-protected image generation unit may perform operations S110 to S130 in the image processing unit without performing a separate operation.

다시 도 12를 참조하면, 프라이버시 보호 영상 생성부는 저장된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고, 소정 개수의 블록들 중 객체가 포함된 중요 블록에 대하여 픽셀화를 수행하여 제2 영상을 생성할 수 있다[S150].Referring to FIG. 12 again, the privacy-protected image generation unit divides each of the frames included in the stored original image into a predetermined number of blocks, and performs pixelation on an important block including an object among the predetermined number of blocks. A second image may be generated [S150].

프라이버시 보호 영상 생성부는 저장된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분할 수 있다. 프라이버시 보호 영상 생성부는, 영상 처리부에서 제1 영상을 생성하기 위하여 프레임을 구분한 블록들과 동일한 형식으로, 저장된 원본 영상에 포함된 프레임들을 구분할 수 있다. 즉, 제1 영상의 각 프레임 및 제1 영상의 각 프레임에 대응하는 제2 영상의 각 프레임은 동일한 개수와 동일한 형태의 블록들로 구분될 수 있다.The privacy-protected image generation unit may divide each of the frames included in the stored original image into a predetermined number of blocks. In order to generate the first image in the image processing unit, the privacy-protected image generation unit may classify frames included in the stored original image in the same format as blocks in which the frames are divided. That is, each frame of the first image and each frame of the second image corresponding to each frame of the first image may be divided into blocks having the same number and the same shape.

프라이버시 보호 영상 생성부는 각 프레임을 구분하는 소정 개수의 블록들 중 프라이버시 보호 대상인 객체가 포함된 중요 블록들에 대하여 픽셀화를 수행하여 제2 영상을 생성할 수 있다. 즉, 제2 영상은 원본 영상을 구성하는 프레임들 중 중요 블록만이 픽셀화 처리된 프라이버시 보호 영상일 수 있다. 프라이버시 보호 영상 생성부는, 영상 처리부에서 제1 영상을 생성하기 위하여 블록들을 각각 픽셀화한 픽셀화 강도와 동일한 픽셀화 강도로, 중요 블록에 대한 픽셀화를 수행할 수 있다. 이와 같이, 전체 영역 중 중요 블록이 픽셀화 처리된 프레임들이 제2 영상으로 생성될 수 있다.The privacy-protected image generation unit may generate a second image by performing pixelation on important blocks including an object to be privacy-protected among a predetermined number of blocks that divide each frame. That is, the second image may be a privacy-protected image in which only important blocks among the frames constituting the original image are pixelated. In order to generate the first image in the image processing unit, the privacy-protected image generation unit may perform pixelation of the important block with a pixelation intensity equal to the pixelation intensity of each block. As such, frames in which an important block of the entire area is pixelated may be generated as a second image.

다시 도 12를 참조하면, 프라이버시 보호 영상 생성부는 중요 블록의 위치를 나타내는 인덱스와 상기 제2 영상을 저장하고[S160], 프라이버시 보호 영상 생성부는 제2 영상, 인덱스를, 영상 처리부는 제1 해시 데이터를 영상 검증 장치로 전송할 수 있다[S170].Referring back to FIG. 12, the privacy-protected image generator stores the index indicating the location of the important block and the second image [S160], the privacy-protected image generator generates a second image, an index, and the image processor generates first hash data. Can be transmitted to the image verification device [S170].

프라이버시 보호 영상 생성부는 각 프레임을 구분하는 소정 개수의 블록들 중 중요 블록의 위치를 나타내는 인덱스를 획득할 수 있다. 프라이버시 보호 영상 생성부는 인덱스와 제2 영상을 메모리에 저장할 수 있다. 프라이버시 보호 영상 생성부는 영상 검증 장치로부터 영상 전송 요청이 수신되면, 인덱스와 제2 영상을 영상 검증 장치로 전송할 수 있다. 영상 처리부는 영상 검증 장치로부터 영상 전송 요청이 수신되면, 타임 스탬프된 제1 해시 데이터를 영상 검증 장치로 전송할 수 있다.The privacy-protected image generation unit may obtain an index indicating the location of an important block among a predetermined number of blocks that divide each frame. The privacy-protected image generation unit may store the index and the second image in memory. When the image transmission request is received from the image verification apparatus, the privacy-protected image generation unit may transmit the index and the second image to the image verification apparatus. When the image transmission request is received from the image verification apparatus, the image processing unit may transmit the time-stamped first hash data to the image verification apparatus.

이에 따르면, 원본 영상의 촬영 시에는 프레임들 각각의 전체 영역을 픽셀화한 영상으로부터 해시 데이터를 추출하고, 영상의 요청이 경우에 프라이버시 보호 대상인 객체를 검출하여 픽셀화한 프라이버시 보호 영상을 생성함으로써, 장치의 성능에 관계없이 효율적으로 프라이버시 보호 영상을 생성하도록 할 수 있다.According to this, when photographing the original image, by extracting hash data from the pixelated image of the entire area of each frame, and when the image is requested, the object to be protected is detected to generate a pixelated privacy-protected image, It is possible to efficiently create a privacy-protected image regardless of the performance of the device.

도 14를 참조하면, 영상 검증 장치는 인덱스를 이용하여 상기 제2 영상의 각 프레임 중 프라이버시 보호 대상인 객체가 포함되어 픽셀화 처리된 중요 블록을 제외한 나머지 블록들에 대하여 픽셀화를 수행하여 제3 영상을 생성할 수 있다[S310].Referring to FIG. 14, the image verification apparatus performs a pixelation on the remaining blocks except for the important block, which includes the object to be protected, among the frames of the second image, using the index, and performs a pixelation on the third image It can be generated [S310].

영상 검증 장치는 영상 처리 장치로 영상의 전송을 요청할 수 있다. 영상 검증 장치는 상기 요청에 따라 영상 처리 장치로부터 타임 스탬프된 제1 해시 데이터, 제2 영상 및 인덱스를 수신할 수 있다.The image verification device may request transmission of an image to the image processing device. The image verification apparatus may receive the first hash data, the second image, and the index time stamped from the image processing apparatus according to the request.

영상 검증 장치는 제2 영상에 포함된 프레임들 각각을 제1 해시 데이터가 추출된 제1 영상을 구분한 소정 개수의 블록들과 동일하게 구분할 수 있다. 즉, 제1 영상과 제2 영상에 포함된 프레임들은 각각 동일한 개수 및 동일한 형상의 블록들로 동일하게 구분될 수 있다. 예를 들어, 전술한 것과 같이, 제1 영상을 생성하기 위하여 각 프레임이 4*4 행렬인 16 개의 동일한 사각형의 블록으로 구분된 경우를 가정한다. 이 경우, 영상 검증 장치는 수신된 제2 영상의 프레임들을 4*4 행렬인 16 개의 동일한 사각형의 블록으로 동일하게 구분할 수 있다.The image verification apparatus may classify each of the frames included in the second image in the same manner as a predetermined number of blocks that divide the first image from which the first hash data is extracted. That is, the frames included in the first image and the second image may be equally divided into blocks of the same number and the same shape, respectively. For example, as described above, it is assumed that each frame is divided into 16 equal square blocks, each of which is a 4 * 4 matrix, to generate a first image. In this case, the image verification apparatus may equally divide the frames of the received second image into 16 equal square blocks of 4 * 4 matrices.

영상 검증 장치는 인덱스를 이용하여 제2 영상의 각 프레임 중 프라이버시 보호 대상인 객체가 포함되어 픽셀화 처리된 중요 블록을 제외한 나머지 블록들에 대하여 픽셀화를 수행할 수 있다. 영상 검증 장치는 중요 블록을 나타내는 인덱스를 이용하여, 중요 블록 이외의 나머지 블록들에 대하여 픽셀화 처리를 수행할 수 있다. 중요 블록과 나머지 블록들에 적용되는 픽셀화 방식 및 강도는 서로 동일하게 설정되어 픽셀화가 수행될 수 있다.The image verification apparatus may perform pixelation on the remaining blocks except for the important block in which the object to be protected is included in each frame of the second image by using the index and the pixelized process. The image verification apparatus may perform pixelation processing on the remaining blocks other than the important block by using an index indicating the important block. The pixelation method and intensity applied to the important block and the remaining blocks are set to be the same as each other, so that pixelation may be performed.

이와 같이, 전체 영역이 픽셀화 처리된 프레임들이 제3 영상으로 생성될 수 있다. 따라서, 제3 영상은 제1 해시 데이터가 추출된 제1 영상과 동일하게 원본 영상의 각 프레임들의 전체 영역이 픽셀화 처리된 상태가 된다.As such, frames in which the entire area is pixelated may be generated as a third image. Therefore, in the third image, the entire area of each frame of the original image is pixelated in the same manner as the first image from which the first hash data is extracted.

다시 도 14를 참조하면, 영상 검증 장치는 제3 영상으로부터 제2 해시 데이터를 추출할 수 있다[S320].Referring to FIG. 14 again, the image verification apparatus may extract second hash data from the third image [S320].

일 실시예에 따라, 영상 검증 장치는 제3 영상에 포함된 각 프레임들로부터 프레임 해시 데이터들을 추출하고, 추출된 프레임 해시 데이터들로부터 제2 해시 데이터를 다시 추출할 수 있다.According to an embodiment, the image verification apparatus may extract frame hash data from each frame included in the third image, and extract the second hash data from the extracted frame hash data again.

다시 도 14를 참조하면, 영상 검증 장치는 제2 해시 데이터를 상기 제1 해시 데이터와 비교하여 상기 제2 영상의 무결성을 판단할 수 있다[S330].Referring to FIG. 14 again, the image verification apparatus may determine the integrity of the second image by comparing the second hash data with the first hash data [S330].

영상 검증 장치는 제3 영상으로부터 추출한 제2 해시 데이터를 제1 해시 데이터와 비교하여 제2 영상의 무결성을 판단할 수 있다. 제3 영상은, 제1 영상과 동일하게, 원본 영상을 구성하는 프레임들의 전체 블록에 대하여 동일한 픽셀화 처리가 된 상태이다. 따라서, 제1 영상에서 추출된 제1 해시 데이터와 제2 영상이 가공된 제3 영상에서 추출된 제2 해시 데이터가 동일한 값을 갖는 경우, 제2 영상은 변조가 없는 영상으로 검증될 수 있다. 또한, 제1 해시 데이터의 타임 스탬프에 의하여 리코딩 시간에 대해서도 검증될 수 있다.The image verification apparatus may determine the integrity of the second image by comparing the second hash data extracted from the third image with the first hash data. The third image is in the same state as the first image, in the same pixel processing for all blocks of the frames constituting the original image. Accordingly, when the first hash data extracted from the first image and the second hash data extracted from the third image from which the second image is processed have the same value, the second image may be verified as an image without modulation. Also, the recording time can be verified by the time stamp of the first hash data.

이에 따르면, 프라이버시 보호 영상에서 프라이버시 보호 대상인 객체가 포함되지 않은 영역에 대하여 픽셀화를 수행한 영상에서 해시 데이터를 추출하여 프라이버시 보호 영상의 무결성을 판단함으로써, 신뢰성 높게 프라이버시 보호 영상의 무결성을 검증하도록 할 수 있다.According to this, by extracting hash data from an image that has been subjected to pixelation on an area that does not include an object to be protected in the privacy-protected image, the integrity of the privacy-protected image is judged with high reliability. You can.

도 15는 본 개시의 일 실시예에 따른 영상 처리 및 검증 시스템의 동작을 설명하기 위한 흐름도이다.15 is a flowchart illustrating an operation of an image processing and verification system according to an embodiment of the present disclosure.

도 15를 참조하면, 영상 처리 장치(100)는 영상 촬영부에서 촬영된 원본 영상을 저장할 수 있다[S401]. 영상 처리 장치(100)는 영상 촬영부에서 촬영된 프레임을 인코딩하여 원본 영상을 생성할 수 있다[S403]. 영상 처리 장치(100)는 생성된 원본 영상을 메모리에 실시간으로 저장하면서[S423], 병렬적으로, 생성된 원본 영상을 다시 프레임들로 디코딩할 수 있다[S405].15, the image processing apparatus 100 may store the original image photographed by the image photographing unit [S401]. The image processing apparatus 100 may generate an original image by encoding a frame captured by the image capturing unit [S403]. The image processing apparatus 100 may decode the generated original image back into frames in parallel while storing the generated original image in real time [S423].

영상 처리 장치(100)는 인코딩된 원본 영상을 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고[S407], 상기 소정 개수의 블록들 전부에 대하여 각각 픽셀화를 수행하여 제1 영상을 생성할 수 있다[S409].The image processing apparatus 100 divides each of the frames included in the captured original image into a predetermined number of blocks [S407], and performs pixelation on all of the predetermined number of blocks, respectively A first image may be generated [S409].

영상 처리 장치(100)는 제1 영상에 포함된 각 프레임들에서 프레임 해시 데이터를 추출하고[S411], 추출된 프레임 해시 데이터들로부터 제1 해시 데이터를 다시 추출할 수 있다[S413].The image processing apparatus 100 may extract frame hash data from each frame included in the first image [S411], and extract the first hash data from the extracted frame hash data [S413].

영상 처리 장치(100)는 제1 해시 데이터를 타임 스탬프 서버(300)로 전송할 수 있다[S415]. 타임 스탬프 서버(300)는 현재 시간과 함께 제1 해시 데이터에 서명할 수 있다[S417]. 영상 처리 장치(100)는, 타임 스탬프 서버(300)로부터 타임 스탬프된 제1 해시 데이터를 수신하여[S419], 메모리에 저장할 수 있다[S421].The image processing apparatus 100 may transmit the first hash data to the time stamp server 300 [S415]. The time stamp server 300 may sign the first hash data along with the current time [S417]. The image processing apparatus 100 may receive the first hash data time-stamped from the time stamp server 300 [S419] and store it in the memory [S421].

영상 검증 장치(200)는 영상 처리 장치(100)로 영상의 전송을 요청할 수 있다[S425]. 영상 처리 장치(100)는 영상의 전송 요청을 수신하면, 메모리로부터 원본 영상을 독출하여, 각 프레임에 포함된 객체를 검출할 수 있다[S427]. The image verification apparatus 200 may request transmission of an image to the image processing apparatus 100 [S425]. Upon receiving the request to transmit the image, the image processing apparatus 100 may read the original image from the memory and detect an object included in each frame [S427].

영상 처리 장치(100)는 저장된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고, 소정 개수의 블록들 중 객체가 포함된 중요 블록에 대하여 픽셀화를 수행하여 제2 영상을 생성할 수 있다[S429]. 영상 처리 장치(100)는 중요 블록의 위치를 나타내는 인덱스와 상기 제2 영상을 저장할 수 있다[S431]. 영상 처리 장치(100)는 제2 영상, 인덱스 및 타임 스탬프된 제1 해시 데이터를 영상 검증 장치로 전송할 수 있다[S433].The image processing apparatus 100 divides each of the frames included in the stored original image into a predetermined number of blocks, and generates a second image by performing pixelation on an important block including an object among the predetermined number of blocks It can be done [S429]. The image processing apparatus 100 may store an index indicating the location of an important block and the second image [S431]. The image processing apparatus 100 may transmit the second image, the index and the time-stamped first hash data to the image verification apparatus [S433].

영상 검증 장치(200)는 제2 영상에 포함된 프레임들 각각을 제1 해시 데이터가 추출된 제1 영상을 구분한 소정 개수의 블록들과 동일하게 구분할 수 있다[S435]. 영상 검증 장치(200)는 인덱스를 이용하여 제2 영상의 각 프레임 중 프라이버시 보호 대상인 객체가 포함되어 픽셀화 처리된 중요 블록을 제외한 나머지 비 중요 블록들에 대하여 픽셀화를 수행하여 제3 영상을 생성할 수 있다[S437].The image verification apparatus 200 may classify each of the frames included in the second image in the same manner as a predetermined number of blocks that classify the first image from which the first hash data is extracted [S435]. The image verifying apparatus 200 generates a third image by performing pixelation on the remaining non-important blocks except for the important block that is pixelated by including an object that is a privacy object among each frame of the second image using the index It can be done [S437].

영상 검증 장치(200)는 제3 영상으로부터 제2 해시 데이터를 추출할 수 있다[S439]. 영상 검증 장치(200)는 제2 해시 데이터를 제1 해시 데이터와 비교하여 제2 영상의 무결성을 판단할 수 있다[S441].The image verification apparatus 200 may extract second hash data from the third image [S439]. The image verification apparatus 200 may determine the integrity of the second image by comparing the second hash data with the first hash data [S441].

이에 따르면, 원본 영상의 촬영 시에는 프레임들 각각의 전체 영역을 픽셀화한 영상으로부터 해시 데이터를 추출하고, 영상의 요청이 경우에 프라이버시 보호 대상인 객체를 검출하여 픽셀화한 프라이버시 보호 영상을 생성함으로써, 장치의 성능에 관계없이 효율적으로 프라이버시 보호 영상을 생성하도록 할 수 있다. 또한, 프라이버시 보호 영상에서 프라이버시 보호 대상인 객체가 포함되지 않은 영역에 대하여 픽셀화를 수행한 영상에서 해시 데이터를 추출하여 프라이버시 보호 영상의 무결성을 판단함으로써, 신뢰성 높게 프라이버시 보호 영상의 무결성을 검증하도록 할 수 있다.According to this, when photographing the original image, by extracting hash data from the image in which the entire area of each frame is pixelated, and when the image is requested, an object to be protected is detected to generate a pixelated privacy-protected image, It is possible to efficiently create a privacy-protected image regardless of the performance of the device. In addition, by extracting hash data from an image that has been pixelated for an area that does not contain an object to be protected in a privacy-protected image, it is possible to verify the integrity of the privacy-protected image with high reliability by determining the integrity of the privacy-protected image. have.

이상에서는 본 개시의 실시예에 따른 영상의 처리 및 검증 방법이 도 15에서와 같은 절차로 수행되는 것으로 설명되었으나, 이는 설명의 편의를 위한 것일 뿐, 본 개시의 본질적인 개념을 벗어나지 않는 범위 내에서, 구현 방식에 따라 각 단계의 수행 절차가 바뀌거나 둘 이상의 단계가 통합되거나 하나의 단계가 둘 이상의 단계로 분리되어 수행될 수도 있다. In the above, the method for processing and verifying an image according to an embodiment of the present disclosure has been described as being performed in the same procedure as in FIG. 15, but this is for convenience of explanation only and does not depart from the essential concept of the present disclosure, Depending on the implementation method, the execution procedure of each step may be changed, two or more steps may be integrated, or one step may be performed separately into two or more steps.

이상에서, 본 개시의 실시예를 구성하는 모든 구성 요소들이 하나로 결합되거나 결합되어 동작하는 것으로 설명되었다고 해서, 본 개시는 반드시 이러한 실시예에 한정되는 것은 아니다. 즉, 본 개시의 목적 범위 안에서라면, 그 모든 구성 요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성 요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성 요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수 개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 그 컴퓨터 프로그램을 구성하는 코드들 및 코드 세그먼트들은 본 개시의 기술 분야의 당업자에 의해 용이하게 추론될 수 있을 것이다. 이러한 컴퓨터 프로그램은 컴퓨터가 읽을 수 있는 저장매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 개시의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 저장매체로서는 자기 기록매체, 광 기록매체, 등이 포함될 수 있다.In the above, even if all the components constituting the embodiments of the present disclosure are described as being combined or operated as one, the present disclosure is not necessarily limited to these embodiments. That is, within the scope of the present disclosure, all of the constituent elements may be selectively combined and operated. In addition, although all of the components may be implemented as one independent hardware, a part or all of the components are selectively combined to perform a combined function of some or all of the functions in one or a plurality of hardware. It may be implemented as a computer program having a. The codes and code segments constituting the computer program may be easily deduced by those skilled in the art of the present disclosure. Such a computer program is stored in a computer readable storage medium (Computer Readable Media) to be read and executed by a computer, thereby implementing an embodiment of the present disclosure. The storage medium of the computer program may include a magnetic recording medium, an optical recording medium, and the like.

또한, 이상에서 기재된 "포함하다", "구성하다" 또는 "가지다" 등의 용어는, 특별히 반대되는 기재가 없는 한, 해당 구성 요소가 내재될 수 있음을 의미하는 것이므로, 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것으로 해석되어야 한다. 기술적이거나 과학적인 용어를 포함한 모든 용어들은, 다르게 정의되지 않는 한, 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 사전에 정의된 용어와 같이 일반적으로 사용되는 용어들은 관련 기술의 문맥 상의 의미와 일치하는 것으로 해석되어야 하며, 본 개시에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In addition, the terms "include", "consist" or "have" as described above mean that the corresponding component can be inherent, unless specifically stated otherwise, to exclude other components. It should not be interpreted as being able to further include other components. All terms, including technical or scientific terms, unless otherwise defined, have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. Commonly used terms, such as predefined terms, should be interpreted as being consistent with the meaning of the context of the related art, and are not to be interpreted as ideal or excessively formal meanings unless explicitly defined in the present disclosure.

이상의 설명은 본 개시의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 개시의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 개시에 개시된 실시예들은 본 개시의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 개시의 기술 사상의 범위가 한정되는 것은 아니다. 본 개시의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 개시의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical spirit of the present disclosure, and those skilled in the art to which the present disclosure pertains may make various modifications and variations without departing from the essential characteristics of the present disclosure. Therefore, the embodiments disclosed in the present disclosure are not intended to limit the technical spirit of the present disclosure, but to explain the scope, and the scope of the technical spirit of the present disclosure is not limited by the embodiments. The scope of protection of the present disclosure should be interpreted by the claims below, and all technical spirits within the scope equivalent thereto should be interpreted as being included in the scope of the present disclosure.

10: 영상 처리 및 검증 시스템 100: 영상 처리 장치
110: 영상 촬영부 120: 영상 처리부
130: 메모리 140: 프라이버시 보호 영상 생성부
150: 통신부 200: 영상 검증 장치
300: 타임 스탬프 서버
10: image processing and verification system 100: image processing device
110: image recording unit 120: image processing unit
130: memory 140: privacy-protected image generation unit
150: communication unit 200: video verification device
300: time stamp server

Claims (20)

메모리;
통신부;
영상 촬영부;
상기 영상 촬영부에서 촬영된 원본 영상을 상기 메모리에 저장하고, 상기 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록(block)들로 구분하고, 상기 소정 개수의 블록들 전부에 대하여 각각 픽셀화(pixelation)를 수행하여 제1 영상을 생성하고, 상기 제1 영상으로부터 제1 해시 데이터(hash data)를 추출하여 저장하는 영상 처리부; 및
상기 저장된 원본 영상에 포함된 프레임들에서 프라이버시 보호 대상인 객체를 각각 검출하고, 상기 저장된 원본 영상에 포함된 프레임들 각각을 상기 소정 개수의 블록들로 구분하고, 상기 소정 개수의 블록들 중 상기 객체가 포함된 중요 블록(critical block)에 대하여 픽셀화를 수행하여 제2 영상을 생성하고, 상기 중요 블록의 위치를 나타내는 인덱스(index)와 상기 제2 영상을 상기 메모리에 저장하는 프라이버시 보호 영상 생성부;
를 포함하고,
상기 영상 처리부는, 상기 영상 촬영부에서 촬영된 프레임들을 인코딩하여 상기 원본 영상을 생성하고, 상기 원본 영상을 상기 메모리에 저장하면서 병렬적으로 상기 원본 영상을 상기 프레임들로 디코딩하여 상기 제1 영상을 생성하고,
상기 통신부는, 상기 제2 영상, 상기 인덱스 및 상기 제1 해시 데이터를 영상 검증 장치로 전송하고,
상기 제1 해시 데이터는, 상기 영상 검증 장치에서 제2 해시 데이터와 비교되어 상기 제2 영상의 무결성(integrity)이 판단되되, 상기 제2 해시 데이터는 상기 영상 검증 장치에서 상기 인덱스를 이용하여 상기 제2 영상의 각 프레임 중 상기 중요 블록을 제외한 나머지 블록들에 대하여 픽셀화를 수행하여 생성된 제3 영상으로부터 추출되는 영상 처리 장치.
Memory;
Communication department;
An imaging unit;
The original image photographed by the image photographing unit is stored in the memory, each of the frames included in the photographed original image is divided into a predetermined number of blocks, and each of the predetermined number of blocks is respectively An image processor configured to generate a first image by performing pixelation, and extract and store first hash data from the first image; And
Objects subject to privacy protection are respectively detected from frames included in the stored original image, each of the frames included in the stored original image is divided into the predetermined number of blocks, and the object among the predetermined number of blocks is A privacy-protected image generation unit that generates a second image by performing pixelation on an included critical block, and stores an index indicating the location of the important block and the second image in the memory;
Including,
The image processor generates the original image by encoding frames taken by the image capturing unit, and decodes the original image into the frames in parallel while storing the original image in the memory. Create,
The communication unit transmits the second image, the index and the first hash data to an image verification device,
The first hash data is compared with the second hash data in the image verification apparatus, and the integrity of the second image is determined, and the second hash data is generated by using the index in the image verification apparatus. An image processing apparatus extracted from a third image generated by performing pixelation on blocks other than the important block among each frame of the 2 image.
삭제delete 제 1 항에 있어서,
상기 제1 영상의 각 프레임 및 상기 제1 영상의 각 프레임에 대응하는 상기 제2 영상의 각 프레임은 동일한 개수와 동일한 형태의 블록들로 구분되는 영상 처리 장치.
According to claim 1,
An image processing apparatus in which each frame of the first image and each frame of the second image corresponding to each frame of the first image are divided into blocks having the same number and the same shape.
제 1 항에 있어서,
상기 영상 처리부는 상기 제1 영상에 포함된 각 프레임들로부터 프레임 해시 데이터들을 추출하고, 상기 추출된 프레임 해시 데이터들로부터 상기 제1 해시 데이터를 추출하는 영상 처리 장치.
According to claim 1,
The image processing unit extracts frame hash data from each frame included in the first image, and extracts the first hash data from the extracted frame hash data.
제 1 항에 있어서,
상기 영상 처리부는 상기 통신부를 통하여 상기 제1 해시 데이터를 타임 스탬프 서버(time stamp server)로 전송하고, 상기 타임 스탬프 서버로부터 타임 스탬프된(time-stamped) 제1 해시 데이터를 수신하여 저장하는 영상 처리 장치.
According to claim 1,
The image processing unit transmits the first hash data to a time stamp server through the communication unit, and receives and stores time-stamped first hash data from the time stamp server. Device.
제 1 항에 있어서,
상기 제1 영상의 각 블록에 대하여 수행되는 픽셀화의 강도와 상기 제2 영상의 중요 블록에 대하여 수행되는 픽셀화의 강도는 동일하게 설정되는 영상 처리 장치.
According to claim 1,
An image processing apparatus in which the intensity of pixelation performed for each block of the first image and the intensity of pixelation performed for the important block of the second image are set to be the same.
삭제delete 삭제delete 삭제delete 삭제delete 영상 촬영부에서 촬영된 원본 영상을 저장하는 단계;
상기 촬영된 원본 영상에 포함된 프레임들 각각을 소정 개수의 블록들로 구분하고, 상기 소정 개수의 블록들 전부에 대하여 각각 픽셀화를 수행하여 제1 영상을 생성하는 단계;
상기 제1 영상으로부터 제1 해시 데이터를 추출하여 저장하는 단계;
상기 저장된 원본 영상에 포함된 프레임들에서 프라이버시 보호 대상인 객체를 각각 검출하는 단계;
상기 저장된 원본 영상에 포함된 프레임들 각각을 상기 소정 개수의 블록들로 구분하고, 상기 소정 개수의 블록들 중 상기 객체가 포함된 중요 블록에 대하여 픽셀화를 수행하여 제2 영상을 생성하는 단계;
상기 중요 블록의 위치를 나타내는 인덱스와 상기 제2 영상을 저장하는 단계;
상기 제2 영상, 상기 인덱스 및 상기 제1 해시 데이터를 영상 검증 장치로 전송하는 단계;
상기 인덱스를 이용하여 상기 제2 영상의 각 프레임 중 프라이버시 보호 대상인 객체가 포함되어 픽셀화 처리된 중요 블록을 제외한 나머지 블록들에 대하여 픽셀화를 수행하여 제3 영상을 생성하는 단계;
상기 제3 영상으로부터 제2 해시 데이터를 추출하는 단계; 및
상기 제2 해시 데이터를 상기 제1 해시 데이터와 비교하여 상기 제2 영상의 무결성을 판단하는 단계;
를 포함하고,
상기 원본 영상을 저장하는 단계 및 상기 제1 영상을 생성하는 단계는, 상기 영상 촬영부에서 촬영된 프레임들을 인코딩하여 상기 원본 영상을 생성하고, 상기 원본 영상을 메모리에 저장하면서 병렬적으로 상기 원본 영상을 상기 프레임들로 디코딩하여 상기 제1 영상을 생성하는 영상 처리 및 검증 방법.
Storing the original image photographed by the image photographing unit;
Dividing each of the frames included in the photographed original image into a predetermined number of blocks, and performing pixelation on all of the predetermined number of blocks to generate a first image;
Extracting and storing first hash data from the first image;
Detecting an object that is a privacy protection object from the frames included in the stored original image, respectively;
Dividing each of the frames included in the stored original image into the predetermined number of blocks, and generating a second image by performing pixelation on an important block including the object among the predetermined number of blocks;
Storing the index indicating the location of the important block and the second image;
Transmitting the second image, the index and the first hash data to an image verification device;
Generating a third image by performing pixelation on blocks other than the important block, which includes an object subject to privacy protection, among the frames of the second image using the index;
Extracting second hash data from the third image; And
Determining the integrity of the second image by comparing the second hash data with the first hash data;
Including,
In the step of storing the original image and generating the first image, the original image is generated in parallel while encoding the frames captured by the image capturing unit to generate the original image and storing the original image in memory. And decoding the frames into the frames to generate the first image.
삭제delete 제 11 항에 있어서,
상기 제1 영상의 각 프레임 및 상기 제1 영상의 각 프레임에 대응하는 상기 제2 영상의 각 프레임은 동일한 개수와 동일한 형태의 블록들로 구분되는 영상 처리 및 검증 방법.
The method of claim 11,
An image processing and verification method in which each frame of the first image and each frame of the second image corresponding to each frame of the first image are divided into blocks having the same number and the same shape.
제 11 항에 있어서,
상기 제1 해시 데이터를 추출하여 저장하는 단계는 상기 제1 영상에 포함된 각 프레임들로부터 프레임 해시 데이터들을 추출하고, 상기 추출된 프레임 해시 데이터들로부터 상기 제1 해시 데이터를 추출하는 영상 처리 및 검증 방법.
The method of claim 11,
The step of extracting and storing the first hash data extracts frame hash data from each frame included in the first image, and performs image processing and verification to extract the first hash data from the extracted frame hash data. Way.
제 11 항에 있어서,
상기 제1 해시 데이터를 추출하여 저장하는 단계는 상기 제1 해시 데이터를 타임 스탬프 서버로 전송하고, 상기 타임 스탬프 서버로부터 타임 스탬프된 제1 해시 데이터를 수신하여 저장하는 영상 처리 및 검증 방법.
The method of claim 11,
The step of extracting and storing the first hash data is an image processing and verification method of transmitting the first hash data to a time stamp server and receiving and storing the first hash data time stamped from the time stamp server.
제 11 항에 있어서,
상기 제1 영상의 각 블록에 대하여 수행되는 픽셀화의 강도와 상기 제2 영상의 중요 블록에 대하여 수행되는 픽셀화의 강도는 동일하게 설정되는 영상 처리 및 검증 방법.
The method of claim 11,
An image processing and verification method in which the intensity of pixelation performed for each block of the first image and the intensity of pixelation performed for the important block of the second image are set to be the same.
삭제delete 삭제delete 제 11 항에 있어서,
상기 제2 해시 데이터를 추출하는 단계는 상기 제3 영상에 포함된 각 프레임들로부터 프레임 해시 데이터들을 추출하고, 상기 추출된 프레임 해시 데이터들로부터 상기 제2 해시 데이터를 추출하는 영상 처리 및 검증 방법.
The method of claim 11,
The step of extracting the second hash data extracts frame hash data from each frame included in the third image, and extracts the second hash data from the extracted frame hash data.
제 11 항에 있어서,
상기 제2 영상의 상기 중요 블록에 대하여 수행된 픽셀화의 강도와 상기 제2 영상의 중요 블록을 제외한 나머지 블록들에 대하여 수행되는 픽셀화의 강도는 동일하게 설정되는 영상 처리 및 검증 방법.
The method of claim 11,
An image processing and verification method in which the intensity of pixelation performed on the important block of the second image and the intensity of pixelation performed on blocks other than the important block of the second image are set to be the same.
KR1020180076829A 2018-07-03 2018-07-03 Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof KR102095968B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180076829A KR102095968B1 (en) 2018-07-03 2018-07-03 Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180076829A KR102095968B1 (en) 2018-07-03 2018-07-03 Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof

Publications (2)

Publication Number Publication Date
KR20200003971A KR20200003971A (en) 2020-01-13
KR102095968B1 true KR102095968B1 (en) 2020-04-23

Family

ID=69153174

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180076829A KR102095968B1 (en) 2018-07-03 2018-07-03 Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof

Country Status (1)

Country Link
KR (1) KR102095968B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935102B (en) * 2020-07-16 2022-08-05 重庆京像微电子有限公司 Data processing method and device
KR102323650B1 (en) * 2021-04-07 2021-11-09 김원국 Image/sound acquiring or editing apparatus for creating an original image/sound file or a deepfake modified file having metadata related to file creating history, hashbank server for receiving and storing hash values related to an original image/sound file or a deepfake modified file, and server and mathod for receiving and processing an original image/recorded sound file or a deepfake modified file

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130047223A (en) * 2011-10-31 2013-05-08 한국전자통신연구원 Apparatus and method for masking privacy region based on monitoring video images
KR102614012B1 (en) * 2016-11-08 2023-12-14 한화비전 주식회사 Aapparatus of processing image and method of providing image thereof
KR20180064279A (en) * 2016-12-05 2018-06-14 한국전자통신연구원 Apparatus and method for integrity verification of image data

Also Published As

Publication number Publication date
KR20200003971A (en) 2020-01-13

Similar Documents

Publication Publication Date Title
US10756903B2 (en) Method and device for verifying the validity of an electronic document
CN103745151B (en) Method for authenticating identity through combination of two-dimension codes and dynamic passwords
TW201928781A (en) Incomplete QR code, and method, device and system for generating, repairing and identifying the same capable of securely protecting data in a QR code
US9305331B2 (en) Image processor and image combination method thereof
KR102095968B1 (en) Image Processing Apparatus and Image Verification Apparatus for Protecting Privacy and Preventing Alteration, and Method thereof
KR101460552B1 (en) Masking and Recovering Method of Privacy Region
CN112257124A (en) Image processing method and device
CN105979189A (en) Video signal processing and storing method and video signal processing and storing system
CN108712400A (en) Data transmission method, device, computer readable storage medium and electronic equipment
Amanipour et al. Video-tampering detection and content reconstruction via self-embedding
CN107241585B (en) Video monitoring method and system
CN112257123A (en) Image processing method and system
CN112585605A (en) Information processing system, information processing method, terminal device, and information processing device
CN112633230B (en) Face encryption method and device, electronic equipment and storage medium
KR102629732B1 (en) Apparatus for Privacy Masking based on Contour, Apparatus for Privacy Unmasking based on Contour and Method for Sharing Privacy Masking Area Descriptor
CN112672102B (en) Video generation method and device
CN111930641A (en) Image data processing method and intelligent equipment
CN113014609B (en) Multimedia file processing and tracing method, device, equipment and medium
CN112037111A (en) Method, device, equipment and storage medium for generating and analyzing dark watermark image
EP3968264A1 (en) Privacy protection method for transmitting end and receiving end, electronic device and computer readable storage medium
KR20210084804A (en) Method for Restoring Distortion Video Based on Identification Card Recognition
Nixon et al. Spn dash-fast detection of adversarial attacks on mobile via sensor pattern noise fingerprinting
EP3384632B1 (en) Apparatus and method for camera-based user authentication for content access
KR20210084805A (en) Method for Restoring Distortion Video Based on Finger Print Recognition
CN105959329B (en) High-definition video superposition processing system

Legal Events

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