KR102580076B1 - Apparatus and method for generating hash - Google Patents

Apparatus and method for generating hash Download PDF

Info

Publication number
KR102580076B1
KR102580076B1 KR1020220145209A KR20220145209A KR102580076B1 KR 102580076 B1 KR102580076 B1 KR 102580076B1 KR 1020220145209 A KR1020220145209 A KR 1020220145209A KR 20220145209 A KR20220145209 A KR 20220145209A KR 102580076 B1 KR102580076 B1 KR 102580076B1
Authority
KR
South Korea
Prior art keywords
hash
image data
information
sampling
digital image
Prior art date
Application number
KR1020220145209A
Other languages
Korean (ko)
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 KR1020220145209A priority Critical patent/KR102580076B1/en
Application granted granted Critical
Publication of KR102580076B1 publication Critical patent/KR102580076B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/95Pattern authentication; Markers therefor; Forgery detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects

Abstract

본 발명의 일 실시예에 따른 해시 생성 장치는, 해시 생성 프로그램이 저장된 메모리; 및 상기 해시 생성 프로그램을 실행하는 프로세서를 포함하되, 상기 해시 생성 프로그램은, 촬영 장치로부터 수신되는 디지털 영상 데이터를 Y신호에 대하여 소정의 크기로 분할하고, 각각의 분할영상 전체에 대한 샘플링(Sampling)을 통해 특징점을 추출하여 해시 정보를 생성하는 것이며, 상기 디지털 영상 데이터는 YUV 형태이다.A hash generation device according to an embodiment of the present invention includes a memory storing a hash generation program; and a processor that executes the hash generation program, wherein the hash generation program divides the digital image data received from the photographing device into a predetermined size for the Y signal and performs sampling on the entire divided image. Hash information is generated by extracting feature points through , and the digital image data is in YUV format.

Description

해시 생성 장치 및 방법 {APPARATUS AND METHOD FOR GENERATING HASH}Hash generation device and method {APPARATUS AND METHOD FOR GENERATING HASH}

본 발명은 디지털 영상 데이터의 해시 정보를 생성하는 해시 생성 장치 및 방법에 관한 것이다.The present invention relates to a hash generation device and method for generating hash information of digital image data.

CCTV 영상이나 차량에 설치된 블랙박스 또는 DVR(Digital Video Recorder)에 저장된 영상은 범죄 수사 과정에서 중요한 증거로서 활용되고 있다. 다만, 이러한 영상에 대한 위변조 가능성이 있기 때문에 법정에서는 디지털 영상에 대한 증거능력의 진정성을 엄격하게 요구하고 있다.CCTV footage or videos stored in a black box installed in a vehicle or DVR (Digital Video Recorder) are used as important evidence in the criminal investigation process. However, because there is a possibility of forgery and alteration of these images, courts strictly require the authenticity of digital images as evidence.

즉, 디지털 증거의 진정성이 인정되기 위해서는 무결성과 동일성, 신뢰성이 인정되어야 한다. 이러한 진정성을 입증하기 위한 기술적인 방법으로서, 원본 영상과 사본 영상에 대한 해시(Hash)값이 동일한지 여부를 확인하는 방법이 알려져 있다. In other words, in order for the authenticity of digital evidence to be recognized, its integrity, identity, and reliability must be recognized. As a technical method for proving such authenticity, a method of checking whether the hash values of the original video and the copy video are the same is known.

영상의 해시값을 생성하는 방법으로 대표적으로 서브 샘플링(sub-sampling) 방법이 있는데, 서브 샘플링 방법은 도 1에 도시된 것처럼 원본 이미지에 포함된 객체의 코너에 대한 특징점을 추출하고, 특징점을 이용하여 객체의 엣지를 추출하여 해시 정보를 생성한다.A representative method of generating a hash value of an image is the sub-sampling method. As shown in Figure 1, the sub-sampling method extracts feature points for the corners of objects included in the original image and uses the feature points. Then, the edge of the object is extracted and hash information is generated.

그런데, 서브 샘플링 방법은 영상의 일부 영역에 대해서만 특징점을 추출하기 때문에 무결성 신뢰도가 높지 않다는 문제점이 있고, 이러한 문제점을 해결하기 위해 영상 전체에 대해 특징점을 추출하게 되면 추출 시간이 증가하고 높은 컴퓨터 사양이 요구되는 추가적인 문제가 발생된다.However, the subsampling method has a problem in that the integrity reliability is not high because it extracts feature points only for some areas of the image. To solve this problem, extracting feature points for the entire image increases the extraction time and requires high computer specifications. Required additional problems arise.

최근 들어 영상의 해상도가 증가하면서 암호화 처리해야하는 영상의 용량이 증가함에 따라 암호화하는데 상당한 시간이 소요되고 있다. 서버급 컴퓨터의 경우 영상의 용량 증가에 대해 별다른 문제점이 없을 수 있겠으나, 최근 영상 장치가 소형화 되는 추세와 엣지 컴퓨팅 기술이 확장되는 환경에서는 이러한 영상 암호화에 소요되는 시간을 감소시킬 필요가 있다. 따라서, 이러한 문제점을 해결하기 위한 기술이 요구된다.Recently, as the resolution of video has increased and the amount of video that needs to be encrypted has increased, a considerable amount of time has been spent on encryption. In the case of server-class computers, there may be no particular problem with the increase in video capacity, but in an environment where video devices are recently becoming smaller and edge computing technology is expanding, there is a need to reduce the time required for video encryption. Therefore, technology to solve these problems is required.

본 발명의 일 과제는, 디지털 영상 데이터를 Y신호에 대해 분할하고, 각각의 분할영상 전체에 대한 특징점을 이용하여 해시 정보를 생성하는 해시 생성 장치 및 방법을 제공하는 것을 목적으로 한다.One object of the present invention is to provide a hash generation device and method for dividing digital image data into Y signals and generating hash information using feature points for the entire divided image.

본 발명의 과제는 이상에서 언급된 과제들로 제한되지 않으며, 언급되지 않은 다른 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The object of the present invention is not limited to the problems mentioned above, and other problems not mentioned will be clearly understood by those skilled in the art from the description below.

상기한 기술적 과제를 해결하기 위한 기술적 수단으로서, 본 발명의 일 실시예에 따른 해시 생성 장치는, 해시 생성 프로그램이 저장된 메모리; 및 상기 해시 생성 프로그램을 실행하는 프로세서를 포함하되, 상기 해시 생성 프로그램은, 촬영 장치로부터 수신되는 디지털 영상 데이터를 Y신호에 대하여 소정의 크기로 분할하고, 각각의 분할영상 전체에 대한 샘플링(Sampling)을 통해 특징점을 추출하여 해시 정보를 생성하는 것이며, 상기 디지털 영상 데이터는 YUV 형태이다.As a technical means for solving the above-described technical problem, a hash generation device according to an embodiment of the present invention includes a memory storing a hash generation program; and a processor that executes the hash generation program, wherein the hash generation program divides the digital image data received from the photographing device into a predetermined size for the Y signal and performs sampling on the entire divided image. Hash information is generated by extracting feature points through , and the digital image data is in YUV format.

또한, 본 발명의 일 실시예에 따른 해시 생성 방법은, 촬영 장치로부터 수신되는 디지털 영상 데이터를 Y신호에 대하여 소정의 크기로 분할하는 단계; 및 각각의 분할영상 전체에 대한 샘플링(Sampling)을 통해 특징점을 추출하여 해시 정보를 생성하는 단계를 포함하되, 상기 디지털 영상 데이터는, YUV형태이다.In addition, a hash generation method according to an embodiment of the present invention includes dividing digital image data received from a photographing device into a predetermined size for a Y signal; and generating hash information by extracting feature points through sampling of the entire segmented image, wherein the digital image data is in YUV format.

전술한 본원의 과제의 해결 수단에 의하면, 영상 전체에 대한 특징점을 이용하므로 무결성 신뢰도를 높일 수 있고, 영상을 분할하여 샘플링 하므로 특징점 추출하는데 소요되는 시간을 단축할 수 있으며, 특징점을 추출하는데 소요되는 시간이 짧아지므로 경량 디바이스에 적용이 가능하여 경제적 요소와 시간적 요소를 최소화할 수 있다.According to the means of solving the problem of the present application described above, integrity reliability can be increased by using feature points for the entire image, the time required to extract feature points can be shortened by dividing and sampling the image, and the time required to extract feature points can be reduced. Because the time is shortened, it can be applied to lightweight devices, minimizing economic and time factors.

도 1은 종래의 해시 정보를 생성하는 방법을 설명하기 위한 예시도이다.
도 2는 본 발명의 일 실시예에 따른 해시 생성 장치의 구성을 개략적으로 나타낸 블럭도이다.
도 3은 해시 정보를 생성하는 과정을 설명하기 위한 예시도이다.
도 4는 본 발명의 일 실시예에 따른 해시 생성 방법을 설명하기 위한 흐름도이다.
Figure 1 is an example diagram for explaining a conventional method of generating hash information.
Figure 2 is a block diagram schematically showing the configuration of a hash generation device according to an embodiment of the present invention.
Figure 3 is an example diagram for explaining the process of generating hash information.
Figure 4 is a flowchart illustrating a hash generation method according to an embodiment of the present invention.

이하에서는 첨부한 도면을 참조하여 본 발명을 상세히 설명하기로 한다. 다만, 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며, 여기에서 설명하는 실시예들로 한정되는 것은 아니다. 또한, 첨부된 도면은 본 명세서에 개시된 실시예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않는다. 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 도면에 나타난 각 구성요소의 크기, 형태, 형상은 다양하게 변형될 수 있다. 명세서 전체에 대하여 동일/유사한 부분에 대해서는 동일/유사한 도면 부호를 붙였다. Hereinafter, the present invention will be described in detail with reference to the attached drawings. However, the present invention may be implemented in various different forms and is not limited to the embodiments described herein. In addition, the attached drawings are only intended to facilitate understanding of the embodiments disclosed in this specification, and the technical idea disclosed in this specification is not limited by the attached drawings. In order to clearly explain the present invention in the drawings, parts not related to the description are omitted, and the size, shape, and shape of each component shown in the drawings may be modified in various ways. Throughout the specification, identical/similar parts are given identical/similar reference numerals.

이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부" 등은 명세서 작성의 용이함만이 고려되어 부여 되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 명세서에 개시된 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시 예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략하였다. The suffixes "module" and "part" for components used in the following description are given or used interchangeably only for the ease of preparing the specification, and do not have distinct meanings or roles in themselves. Additionally, in describing the embodiments disclosed in this specification, if it is determined that detailed descriptions of related known technologies may obscure the gist of the embodiments disclosed in this specification, the detailed descriptions are omitted.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결(접속, 접촉 또는 결합)"되어 있다고 할 때, 이는 "직접적으로 연결(접속, 접촉 또는 결합)"되어 있는 경우뿐만 아니라, 그 중간에 다른 부재를 사이에 두고 "간접적으로 연결 (접속, 접촉 또는 결합)"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성요소를 "포함(구비 또는 마련)"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 "포함(구비 또는 마련)"할 수 있다는 것을 의미한다. Throughout the specification, when a part is said to be “connected (connected, contacted, or combined)” with another part, this means not only when it is “directly connected (connected, contacted, or combined),” but also when it has other members in between. It also includes cases where they are “indirectly connected (connected, contacted, or combined).” Additionally, when a part is said to "include (equip or provide)" a certain component, this does not exclude other components, unless specifically stated to the contrary, but rather "includes (provides or provides)" other components. It means you can.

본 명세서에서 사용되는 제1, 제2 등과 같이 서수를 나타내는 용어들은 하나의 구성 요소를 다른 구성요소로부터 구별하는 목적으로만 사용되며, 구성 요소들의 순서나 관계를 제한하지 않는다. 예를 들어, 본 발명의 제1구성요소는 제2구성요소로 명명될 수 있고, 유사하게 제2구성요소도 제1구성 요소로 명명될 수 있다.Terms representing ordinal numbers, such as first, second, etc., used in this specification are used only for the purpose of distinguishing one component from another component and do not limit the order or relationship of the components. For example, the first component of the present invention may be named a second component, and similarly, the second component may also be named a first component.

이하, 본 발명의 일 실시예에 따른 디지털 영상 데이터 관리 장치에 대하여 설명한다.Hereinafter, a digital image data management device according to an embodiment of the present invention will be described.

도 2는 본 발명의 일 실시예에 따른 해시 생성 장치의 구성을 개략적으로 나타낸 블록도이고, 도 3은 해시 생성 장치가 해시 정보를 생성하는 과정을 설명하기 위한 예시도이다.FIG. 2 is a block diagram schematically showing the configuration of a hash generating device according to an embodiment of the present invention, and FIG. 3 is an exemplary diagram illustrating a process in which the hash generating device generates hash information.

도 2를 참조하여 본 발명의 일 실시예에 따른 해시 생성 장치(100)에 대해서 설명하면, 해시 생성 장치(100)는 I/O 모듈(110), 메모리(120), 프로세서(130), 저장부(140)를 포함한다.When describing the hash generation device 100 according to an embodiment of the present invention with reference to FIG. 2, the hash generation device 100 includes an I/O module 110, a memory 120, a processor 130, and a storage. Includes unit 140.

다음으로, I/O 모듈(110)은 촬영 장치(200)로부터 촬영되는 디지털 영상 데이터를 수신하거나, 디지털 영상 데이터를 외부 통신망 또는 외부 컴퓨팅 장치로 전송한다. 이를 위해, I/O 모듈(110)은 근거리 통신망(Local Area Network; LAN), 광역 통신망(Wide Area Network; WAN) 또는 부가가치 통신망(Value Added Network; VAN) 등과 같은 유선 네트워크나 이동 통신망(mobile radio communication network) 또는 위성 통신망 등과 같은 모든 종류의 무선 네트워크를 사용하는 통신 모듈을 포함할 수 있다.Next, the I/O module 110 receives digital image data captured from the photographing device 200 or transmits the digital image data to an external communication network or external computing device. To this end, the I/O module 110 is connected to a wired network such as a Local Area Network (LAN), a Wide Area Network (WAN), or a Value Added Network (VAN), or a mobile radio network. It may include a communication module that uses any type of wireless network, such as a communication network or a satellite communication network.

메모리(120)는 저장부(140)에 저장되는 디지털 영상 데이터의 해시 정보를 생성하는 해시 생성 프로그램이 저장된다. 해시 생성 프로그램은 촬영 장치(200)로부터 수신되는 YUV 형식의 디지털 영상 데이터를 Y신호에 대하여 소정의 크기로 분할하고, 각각의 분할영상 전체에 대한 샘플링(Sampling)을 통해 특징점을 추출하여 해시 정보를 생성한다. 여기서, YUV 형식을 이용하는 이유는, 영상 데이터는 많은 색상을 표현할수록 데이터의 크기가 커지는데, 모든 색의 정보를 포함한는 RGB 형식 보다 밝기와 청색 및 적색 정보를 포함하는YUV 형식이 데이터의 크기가 작기 때문이다. 그리고, Y 신호만을 이용하는 이유는, Y 신호는 색상 정보를 포함하지 않고 밝기 정보만을 포함하여, 색상 정보를 포함하는 U 및 V 신호에 비해 용량이 적어 보다 빠른 해시 생성이 가능하기 때문이다.The memory 120 stores a hash generation program that generates hash information of digital image data stored in the storage unit 140. The hash generation program divides the YUV format digital image data received from the imaging device 200 into predetermined sizes for the Y signal, extracts feature points through sampling of the entire divided image, and generates hash information. Create. Here, the reason for using the YUV format is that the more colors the image data expresses, the larger the data size is. The YUV format, which includes brightness and blue and red information, has a smaller data size than the RGB format, which includes information on all colors. Because. Also, the reason for using only the Y signal is that the Y signal does not include color information but only brightness information, and has a smaller capacity than the U and V signals that include color information, enabling faster hash generation.

이후, 도 3을 참조하여 해시 생성 프로그램의 동작을 구체적으로 설명하면, 해시 생성 프로그램은 촬영 장치(200)로부터 수신되는 디지털 영상 데이터에 대한 연속되는 영상 프레임(1) 또는 영상 클립(1)을 캡쳐하고, 각각을 인코딩한 후 Y 신호를 추출한다. 여기서, 해시 생성 프로그램은 H.264 또는 H.265와 같은 영상 코덱을 이용하여 영상 프레임(1) 또는 영상 클립(1)을 인코딩한다. Next, when describing the operation of the hash generation program in detail with reference to FIG. 3, the hash generation program captures consecutive image frames 1 or video clips 1 for digital image data received from the photographing device 200. And after encoding each, the Y signal is extracted. Here, the hash generation program encodes the video frame (1) or video clip (1) using a video codec such as H.264 or H.265.

다음으로, 해시 생성 프로그램은 영상 프레임 또는 영상 클립 영상 프레임(1) 또는 영상 클립(1)을 소정의 크기로 분할하고, 각각의 분할영상(2) 전체에 대한 샘플링(Sampling)을 통해 특징점을 추출한다. 그리고, 해시 생성 프로그램은 복수의 분할영상(2)과 각각에 대한 특징점을 매칭한 복수의 샘플링 정보(3)를 적층하여 해시 정보를 생성한다.Next, the hash generation program divides the video frame or video clip video frame (1) or video clip (1) into predetermined sizes and extracts feature points through sampling of the entire divided image (2). do. Then, the hash generation program generates hash information by stacking a plurality of segmented images (2) and a plurality of sampling information (3) matching feature points for each.

여기서, 해시 생성 프로그램은 복수의 분할영상(2)에 대하여 동시에 샘플링을 수행하고, 샘플링을 수행한 각각의 분할영상(2)에 대해 (Convolution Layer)를 적용하여 특징점을 추출한다. 추가적으로, 촬영 장치(200)로부터 수신되는 디지털 영상 데이터는 YUV 형식이거나, RGB 형식에서 YUV 형식으로 변환된 것이다.Here, the hash generation program simultaneously performs sampling on a plurality of image segments (2) and extracts feature points by applying (Convolution Layer) to each sampled image segment (2). Additionally, the digital image data received from the photographing device 200 is in YUV format or converted from RGB format to YUV format.

프로세서(130)는 메모리(120)에 저장된 해시 생성 프로그램을 실행한다. 프로세서(130)는 데이터를 제어 및 처리하는 다양한 종류의 장치들을 포함할 수 있다. 프로세서(130)는 프로그램 내에 포함된 코드 또는 명령으로 표현된 기능을 수행하기 위해 물리적으로 구조화된 회로를 갖는, 하드웨어에 내장된 데이터 처리 장치를 의미할 수 있다. 일 예에서, 프로세서(130)는 마이크로프로세서(microprocessor), 중앙처리장치(central processing unit: CPU), 프로세서 코어(processor core), 멀티프로세서(multiprocessor), ASIC(application-specific integrated circuit), FPGA(field programmable gate array) 등의 형태로 구현될 수 있으나, 본 발명의 범위가 이에 한정되는 것은 아니다.The processor 130 executes the hash generation program stored in the memory 120. The processor 130 may include various types of devices that control and process data. The processor 130 may refer to a data processing device built into hardware that has a physically structured circuit to perform functions expressed by codes or instructions included in a program. In one example, the processor 130 may include a microprocessor, a central processing unit (CPU), a processor core, a multiprocessor, an application-specific integrated circuit (ASIC), or an FPGA ( It may be implemented in the form of a field programmable gate array, etc., but the scope of the present invention is not limited thereto.

저장부(140)에는 디지털 영상 데이터에 대한 해시 정보 및 인코딩된 디지털 영상 데이터가 저장될 수 있다. The storage unit 140 may store hash information about digital image data and encoded digital image data.

앞서 설명한 바와 같이, 본 발명에서는 YUV 형식의 디지털 영상 데이터에서 Y 신호를 중심으로 디지털 영상 데이터를 소정의 크기로 분할하고, 각각의 분할영상 전체에 대한 특징점을 이용하여 해시 정보를 생성한다. As described above, in the present invention, digital image data in YUV format is divided into predetermined sizes centered on the Y signal, and hash information is generated using feature points for the entire divided image.

따라서, 영상 전체에 대한 특징점을 이용하므로 무결성 신뢰도를 높일 수 있고, 영상을 분할하여 샘플링 하므로 특징점 추출하는데 소요되는 시간을 단축할 수 있으며, 특징점을 추출하는데 소요되는 시간이 짧아지므로 경량 디바이스에 적용이 가능하여 경제적 요소와 시간적 요소를 최소화할 수 있다.Therefore, by using feature points for the entire image, integrity reliability can be increased, and by dividing and sampling the image, the time required to extract feature points can be shortened. Since the time required to extract feature points is shortened, it can be applied to lightweight devices. This allows economic and time factors to be minimized.

도 4는 본 발명의 일 실시예에 따른 해시 생성 방법을 설명하기 위한 흐름도이다.Figure 4 is a flowchart illustrating a hash generation method according to an embodiment of the present invention.

도 2 및 도 4를 참조하여 본 실시예의 해시 생성 방법(S100)을 설명하면, 해시 생성 방법(S100)은 촬영 장치(200)로부터 수신되는 디지털 영상 데이터의 Y 신호에 대하여 소정의 크기로 분할하고(단계 S110), 각각의 분할영상 전체에 대한 샘플링(Sampling)을 통해 특징점으ㄹ 추출하여 해시 정보를 생성한다 (단계 S120). 여기서, 촬영 장치(200)로부터 수신되는 디지털 영상 데이터는 YUV 형식이거나, RGB 형식에서 YUV 형식으로 변환된 것이다.When explaining the hash generation method (S100) of this embodiment with reference to FIGS. 2 and 4, the hash generation method (S100) divides the Y signal of digital image data received from the photographing device 200 into a predetermined size, (Step S110), hash information is generated by extracting feature points through sampling of the entire segment of each image (step S120). Here, the digital image data received from the photographing device 200 is in YUV format or converted from RGB format to YUV format.

이후, 도 3을 참조하여 각 단계에 대한 세부 내용을 설명한다.Next, details of each step will be described with reference to FIG. 3.

먼저, Y신호에 대하여 소정의 크기로 분할하는 과정(단게 S110)은, 촬영 장치(200)로부터 수신되는 원본의 디지털 영상 데이터의 서로 연속되는 영상 프레임(1) 또는 영상 클립(1)에 대해 캡쳐하고, 영상 프레임(1) 또는 영상 클립(1) 각각을 인코딩한 후 Y 신호를 추출하여 소정의 크기로 분할해 분할영상(2)을 생성한다. 여기서, 영상 프레임(1) 또는 영상 클립(1)은 H.264 또는 H.265와 같은 영상 코덱을 이용하여 인코딩된다.First, the process of dividing the Y signal into a predetermined size (step S110) involves capturing consecutive video frames (1) or video clips (1) of the original digital image data received from the photographing device 200. After encoding each video frame (1) or video clip (1), the Y signal is extracted and divided into predetermined sizes to generate a segmented image (2). Here, the video frame (1) or video clip (1) is encoded using a video codec such as H.264 or H.265.

그리고, 해시 정보를 생성하는 과정(단계 S120)은 각각의 분할영상(2) 전체에 대한 샘플링(Sampling)을 통해 특징점을 추출하고, 복수의 분할영상(2)과 각각에 대한 특징점을 매칭한 복수의 샘플링 정보(3)를 적층하여 해시 정보를 생성한다.In addition, the process of generating hash information (step S120) extracts feature points through sampling of the entirety of each segmented image (2), and matches the feature points for each of the multiple image segments (2). Hash information is generated by stacking the sampling information (3).

여기서, 복수의 분할영상(2)에 대한 샘플링은 동시에 이루어지고, 샘플링을 수행한 각각의 분할영상(2)에 대해 (Convolution Layer)를 적용하여 특징점을 추출한다. Here, sampling of a plurality of image segments 2 is performed simultaneously, and feature points are extracted by applying (Convolution Layer) to each sampled image segment 2.

본 발명의 일 실시예에 따른 방법은 컴퓨터에 의해 실행되는 프로그램 모듈과 같은 컴퓨터에 의해 실행가능한 명령어를 포함하는 기록 매체의 형태로도 구현될 수 있다. 컴퓨터 판독 가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, 휘발성 및 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함한다. 또한, 컴퓨터 판독가능 매체는 컴퓨터 저장 매체를 포함할 수 있다. 컴퓨터 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함한다. The method according to an embodiment of the present invention may also be implemented in the form of a recording medium containing instructions executable by a computer, such as program modules executed by a computer. Computer-readable media can be any available media that can be accessed by a computer and includes both volatile and non-volatile media, removable and non-removable media. Additionally, computer-readable media may include computer storage media. Computer storage media includes both volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data.

본 발명의 방법 및 시스템은 특정 실시예와 관련하여 설명되었지만, 그것들의 구성 요소 또는 동작의 일부 또는 전부는 범용 하드웨어 아키텍쳐를 갖는 컴퓨터 시스템을 사용하여 구현될 수 있다.Although the methods and systems of the present invention have been described with respect to specific embodiments, some or all of their components or operations may be implemented using a computer system having a general-purpose hardware architecture.

전술한 본원의 설명은 예시를 위한 것이며, 본원이 속하는 기술분야의 통상의 지식을 가진 자는 본원의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.The description of the present application described above is for illustrative purposes, and those skilled in the art will understand that the present application can be easily modified into other specific forms without changing its technical idea or essential features. Therefore, the embodiments described above should be understood in all respects as illustrative and not restrictive. For example, each component described as unitary may be implemented in a distributed manner, and similarly, components described as distributed may also be implemented in a combined form.

본원의 범위는 상기 상세한 설명보다는 후술하는 청구범위에 의하여 나타내어지며, 청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본원의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present application is indicated by the claims described below rather than the detailed description above, and all changes or modified forms derived from the meaning and scope of the claims and their equivalent concepts should be construed as being included in the scope of the present application.

100: 해시 생성 장치
110: 통신 모듈
120: 메모리
130: 프로세서
140: 저장부
100: Hash generation device
110: communication module
120: memory
130: processor
140: storage unit

Claims (8)

디지털 영상 데이터의 해시(Hash) 정보를 생성하는 해시 생성 장치에 있어서,
해시 생성 프로그램이 저장된 메모리; 및
상기 해시 생성 프로그램을 실행하는 프로세서를 포함하되,
상기 해시 생성 프로그램은,
촬영 장치로부터 수신되는 디지털 영상 데이터를 Y신호에 대하여 소정의 크기로 분할하고, 각각의 분할영상 전체에 대한 샘플링(Sampling)을 통해 특징점을 추출하여 해시 정보를 생성하는 것이며,
상기 디지털 영상 데이터는 YUV 형태인 것인, 디지털 영상 데이터 관리 장치.
In a hash generation device that generates hash information of digital image data,
Memory where the hash generation program is stored; and
Including a processor executing the hash generation program,
The hash generation program is,
The digital image data received from the imaging device is divided into Y signals of a predetermined size, and feature points are extracted through sampling of the entire divided image to generate hash information.
A digital image data management device, wherein the digital image data is in YUV format.
제1항에 있어서,
상기 해시 생성 프로그램은,
복수의 분할영상에 대하여 동시에 상기 샘플링을 수행하는 것인, 해시 생성 장치.
According to paragraph 1,
The hash generation program is,
A hash generation device that simultaneously performs the sampling on a plurality of segmented images.
제1항에 있어서,
상기 해시 생성 프로그램은,
상기 샘플링을 수행한 각각의 분할영상에 대해 컨볼루션 레이어(Convolution Layer)를 적용하여 상기 특징점을 추출하는 것인, 해시 생성 장치.
According to paragraph 1,
The hash generation program is,
A hash generation device for extracting the feature points by applying a convolution layer to each segmented image on which the sampling was performed.
제1항에 있어서,
상기 해시 생성 프로그램은,
상기 복수의 분할영상과 각각에 대한 상기 특징점을 매칭한 복수의 샘플링 정보를 적층하여 상기 해시 정보를 생성하는 것인, 해시 생성 장치.
According to paragraph 1,
The hash generation program is,
A hash generating device that generates the hash information by stacking the plurality of segmented images and a plurality of sampling information matching the feature points for each.
해시 생성 장치가 디지털 영상 데이터의 해시 정보를 생성하는 해시 생성 방법에 있어서,
(a) 상기 해시 생성 장치가 촬영 장치로부터 수신되는 디지털 영상 데이터를 Y신호에 대하여 소정의 크기로 분할하는 단계; 및
(b) 상기 해시 생성 장치가 각각의 분할영상 전체에 대한 샘플링(Sampling)을 통해 특징점을 추출하여 해시 정보를 생성하는 단계를 포함하되,
상기 디지털 영상 데이터는, YUV형태인 것인, 해시 생성 방법.
In a hash generation method in which a hash generation device generates hash information of digital image data,
(a) dividing the digital image data received from the photographing device into a predetermined size for the Y signal by the hash generating device; and
(b) a step of the hash generating device extracting feature points through sampling for each segmented image and generating hash information,
The digital image data is in YUV format.
제5항에 있어서,
상기 해시 정보를 생성하는 단계는,
복수의 분할영상에 대하여 동시에 상기 샘플링을 수행하는 것인, 해시 생성 방법.
According to clause 5,
The step of generating the hash information is,
A hash generation method that simultaneously performs the sampling on a plurality of segmented images.
제5항에 있어서,
상기 해시 정보를 생성하는 단계는,
상기 샘플링을 수행한 각각의 분할영상에 대해 컨볼루션 레이어(Convolution Layer)를 적용하여 상기 특징점을 추출하는 것인, 해시 생성 방법.
According to clause 5,
The step of generating the hash information is,
A hash generation method that extracts the feature points by applying a convolution layer to each segmented image for which the sampling was performed.
제5항에 있어서,
상기 해시 정보를 생성하는 단계는,
상기 복수의 분할영상과 각각에 대한 상기 특징점을 매칭한 복수의 샘플링 정보를 적층하여 상기 해시 정보를 생성하는 것인, 해시 생성 방법.
According to clause 5,
The step of generating the hash information is,
A method for generating the hash, wherein the hash information is generated by stacking the plurality of segmented images and a plurality of sampling information matching the feature points for each.
KR1020220145209A 2022-11-03 2022-11-03 Apparatus and method for generating hash KR102580076B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220145209A KR102580076B1 (en) 2022-11-03 2022-11-03 Apparatus and method for generating hash

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220145209A KR102580076B1 (en) 2022-11-03 2022-11-03 Apparatus and method for generating hash

Publications (1)

Publication Number Publication Date
KR102580076B1 true KR102580076B1 (en) 2023-09-20

Family

ID=88191387

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220145209A KR102580076B1 (en) 2022-11-03 2022-11-03 Apparatus and method for generating hash

Country Status (1)

Country Link
KR (1) KR102580076B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030005279A (en) * 2001-02-12 2003-01-17 코닌클리케 필립스 일렉트로닉스 엔.브이. Generating and matching hashes of multimedia content

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030005279A (en) * 2001-02-12 2003-01-17 코닌클리케 필립스 일렉트로닉스 엔.브이. Generating and matching hashes of multimedia content

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
김명준 외 5인공저, '영상 데이터 무결성 검증 시스템을 위한 Logger 설계 및 개발,' 한국정보처리학회 학술대회논문집 2022, 제29권 제2호 pp.650-652 (2022.11.21.) *

Similar Documents

Publication Publication Date Title
US11475238B2 (en) Keypoint unwarping for machine vision applications
EP3061234B1 (en) Guided color grading for an extended dynamic range image
US8891813B2 (en) Media fingerprints that reliably correspond to media content with projection of moment invariants
Yu et al. Pinto: enabling video privacy for commodity iot cameras
CN107087184B (en) Multimedia data recompression method
US11922598B2 (en) Image processing apparatus, image processing method, and storage medium
US9305603B2 (en) Method and apparatus for indexing a video stream
KR101460552B1 (en) Masking and Recovering Method of Privacy Region
US11399142B2 (en) System and method of processing masking region
CN111259915A (en) Method, device, equipment and medium for recognizing copied image
CN105052126A (en) Imaging apparatus and imaging apparatus control method
US8350936B2 (en) Recording successive frames of raw sensor data depicting a moving scene
EP3405889A1 (en) Cloud platform with multi camera synchronization
US10904575B2 (en) Compressing multiple video files using localized camera meta data
KR102580076B1 (en) Apparatus and method for generating hash
US9595113B2 (en) Image transmission system, image processing apparatus, image storage apparatus, and control methods thereof
KR102083721B1 (en) Stereo Super-ResolutionImaging Method using Deep Convolutional Networks and Apparatus Therefor
Sandoval Orozco et al. Source identification for mobile devices, based on wavelet transforms combined with sensor imperfections
CN111680716B (en) Identification comparison method, device, computer equipment and storage medium
US10929960B2 (en) Method and image processing device for detecting a portion of an image
CN116582646A (en) Self-circulation monitoring system
Patel et al. An improvement of forgery video detection technique using Error Level Analysis
US11689820B2 (en) Combining grayscale scanned images with color image to create high-resolution overlay images in vehicles
US9571839B2 (en) Image compression and lossless reconstruction of digital image
KR20230141380A (en) Image storage device that verifies integrity of digital image data

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant