KR102557904B1 - The Method of Detecting Section in which a Movement Frame Exists - Google Patents

The Method of Detecting Section in which a Movement Frame Exists Download PDF

Info

Publication number
KR102557904B1
KR102557904B1 KR1020210155289A KR20210155289A KR102557904B1 KR 102557904 B1 KR102557904 B1 KR 102557904B1 KR 1020210155289 A KR1020210155289 A KR 1020210155289A KR 20210155289 A KR20210155289 A KR 20210155289A KR 102557904 B1 KR102557904 B1 KR 102557904B1
Authority
KR
South Korea
Prior art keywords
mse
frame
frames
threshold
window
Prior art date
Application number
KR1020210155289A
Other languages
Korean (ko)
Other versions
KR20230069342A (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 KR1020210155289A priority Critical patent/KR102557904B1/en
Publication of KR20230069342A publication Critical patent/KR20230069342A/en
Application granted granted Critical
Publication of KR102557904B1 publication Critical patent/KR102557904B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/144Movement detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • H04N19/139Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/184Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 동적프레임이 존재하는 구간의 검출방법으로서, 더욱 상세하게는 실시간 감시 영상을 통해 기록된 데이터의 전체 비트스트림 중에서 I프레임만을 추출하여 디코딩하고, 상기 디코딩한 I프레임을 통해 움직임이 없는 정적 배경과 움직임이 있는 동적 객체가 있는 동영상 프레임을 비교하여 영상 내의 움직임 존재 유무를 판별함으로써, 고화질의 실시간 감시 영상에서 움직임이 존재하는 구간을 검출할 수 있는, 동적프레임이 존재하는 구간의 검출방법에 관한 것이다.The present invention relates to a method for detecting a section in which a dynamic frame exists, and more particularly, to a method for detecting a section in which a motion exists in a high-quality real-time monitoring image by extracting and decoding only I-frames from an entire bitstream of data recorded through the decoded I-frame, and comparing a static background without motion through the decoded I-frame with a moving picture frame having a moving object to determine the presence or absence of motion in the image, thereby detecting a section in which motion exists in a high-quality real-time monitoring image.

Description

동적프레임이 존재하는 구간의 검출방법{The Method of Detecting Section in which a Movement Frame Exists}Method of detecting a section in which a dynamic frame exists {The Method of Detecting Section in which a Movement Frame Exists}

본 발명은 동적프레임이 존재하는 구간의 검출방법으로서, 더욱 상세하게는 실시간 감시 영상을 통해 기록된 데이터의 전체 비트스트림 중에서 I프레임만을 추출하여 디코딩하고, 상기 디코딩한 I프레임을 통해 움직임이 없는 정적 배경과 움직임이 있는 동적 객체가 있는 동영상 프레임을 비교하여 영상 내의 움직임 존재 유무를 판별함으로써, 고화질의 실시간 감시 영상에서 움직임이 존재하는 구간을 검출할 수 있는, 동적프레임이 존재하는 구간의 검출방법에 관한 것이다.The present invention relates to a method for detecting a section in which a dynamic frame exists, and more particularly, to a method for detecting a section in which a motion exists in a high-quality real-time monitoring image by extracting and decoding only I-frames from an entire bitstream of data recorded through the decoded I-frame, and comparing a static background without motion through the decoded I-frame with a moving picture frame having a moving object to determine the presence or absence of motion in the image, thereby detecting a section in which motion exists in a high-quality real-time monitoring image.

최근에는 범죄예방이나 사후증거 확보 등을 위해 CCTV를 이용하는 영상관제 시스템을 구축하는 것이 일반적이며, 촬영장비 및 촬영 기술의 발전에 따라 CCTV에 사용되는 카메라의 화질도 발전하여, CCTV로 촬영되는 감시 영상의 크기도 비약적으로 증가하였다.Recently, it is common to build a video control system using CCTV to prevent crime or secure post-mortem evidence. With the development of filming equipment and filming technology, the quality of cameras used in CCTV has also improved, and the size of surveillance images filmed by CCTV has also increased dramatically.

CCTV 감시 영상은 저장공간의 효율을 위해 압축영상을 채택하고 있고, 고화질 CCTV 영상의 경우 H.265 HEVC와 같은 고압축율의 영상압축 기술을 사용하는 것이 일반적이다. 여기서, HEVC(High Efficiency Video Coding)이란, HD 모바일, 홈 시네마, UHD TV와 같이 고화질 응용분야에서 부호화 성능 향상을 목표로 개발된 차세대 영상 압축표준이다. CCTV surveillance video adopts compressed video for efficiency of storage space, and in case of high-definition CCTV video, it is common to use video compression technology with high compression rate such as H.265 HEVC. Here, HEVC (High Efficiency Video Coding) is a next-generation video compression standard developed to improve coding performance in high-definition application fields such as HD mobile, home cinema, and UHD TV.

하지만, 영상데이터를 인식하여 분석하고 추적하는 기술은 상당한 계산량을 요구하는 알고리즘이기 때문에, 즉, 복잡도가 높아서 영상데이터의 크기가 커질수록 연산 장치에 상당한 부하를 주게 된다. 이에 따라, 크기가 커진 영상데이터를 분석하는 시간이 점점 오래 걸리게 된다. 따라서, 영상 정보 분석 시간을 줄일 수 있는 방법이 꾸준히 요구되고 있다.However, since the technology of recognizing, analyzing, and tracking image data is an algorithm that requires a considerable amount of computation, that is, as the size of image data increases, a significant load is placed on the computing device. Accordingly, it takes longer and longer to analyze image data whose size has increased. Accordingly, there is a steady demand for a method capable of reducing image information analysis time.

한편, 종래의 영상데이터에서 움직임을 검출하는 기술로는 한국등록특허 제10-1409826호와 같이 참조프레임 내의 블록들의 움직임 벡터에 대한 히스토그램에 기반하여 참조프레임의 움직임 벡터를 산출하고, 전역 움직임벡터에 기초하여 참조블록의 영역종류를 결정하는 기술이 있다.On the other hand, as a conventional technique for detecting motion in image data, there is a technique of calculating a motion vector of a reference frame based on a histogram of motion vectors of blocks in a reference frame and determining a region type of a reference block based on a global motion vector, as in Korean Patent Registration No. 10-1409826.

그러나, 상술한 종래의 기술은, 영역전체에 대하여 움직임 벡터를 산출하고, 영역 전체에 대하여 히스토그램 데이터를 산출하여야 하기 때문에, 현재의 높은 해상도의 영상에서의 실시간 처리가 가능한 정도의 속도가 나오기 어렵고, 또한, 모든 블록들에 대하여 모션벡터를 고려하여야 하기 때문에, 불필요한 블록에 대해서도 일단 연산을 수행하여야 한다는 문제점이 있다. 또한, 기본적으로 객체 검출과 관련하여 전체 프레임에 대한 처리를 하여야 하기 때문에, 기본적인 연산량이 많이 요구된다는 문제점이 있다. However, since the above-described conventional technique has to calculate motion vectors for the entire region and histogram data for the entire region, it is difficult to obtain a speed that is capable of real-time processing in a current high-resolution image, and since motion vectors must be considered for all blocks, there is a problem in that calculations must be performed once for unnecessary blocks. In addition, there is a problem in that a large amount of basic calculation is required because basically all frames must be processed in relation to object detection.

따라서, 종래의 기술에 비해 연산량을 줄일 수 있고, CCTV로 촬영되는 실시간 감시 영상과 같이 긴 길이의 영상에서 움직임이 존재하는 구간만 검출할 수 있는 기술이 필요한 실정이다.Therefore, there is a need for a technology capable of reducing the amount of computation compared to the prior art and detecting only a section in which motion exists in a long-length video, such as a real-time monitoring video captured by CCTV.

대한민국 등록특허 제10-1409826호(2014.06.13.)Republic of Korea Patent Registration No. 10-1409826 (2014.06.13.)

본 발명은 동적프레임이 존재하는 구간의 검출방법으로서, 더욱 상세하게는 실시간 감시 영상을 통해 기록된 데이터의 전체 비트스트림 중에서 I프레임만을 추출하여 디코딩하고, 상기 디코딩한 I프레임을 통해 움직임이 없는 정적 배경과 움직임이 있는 동적 객체가 있는 동영상 프레임을 비교하여 영상 내의 움직임 존재 유무를 판별함으로써, 고화질의 실시간 감시 영상에서 움직임이 존재하는 구간을 검출할 수 있는, 동적프레임이 존재하는 구간의 검출방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method for detecting a section in which a dynamic frame exists, and more particularly, to provide a method for detecting a section in which a motion exists in a high-definition real-time monitoring image by extracting and decoding only I-frames from an entire bitstream of data recorded through the decoded I-frame, and determining whether there is motion in the image by comparing a static background without motion through the decoded I-frame with a moving picture frame having a moving object.

상기와 같은 과제를 해결하기 위하여 본 발명의 일 실시예에서는, 하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 시스템에서 수행되는 동적프레임이 존재하는 구간의 검출방법으로서, 영상데이터로부터 NAL 유닛을 검출하고, 상기 NAL 유닛의 헤더를 분석하여 상기 영상데이터의 전체 비트스트림에서 복수의 I프레임만을 구분하고 상기 I프레임만을 디코딩하는 I프레임디코딩단계; 디코딩된 I프레임에 대하여, 인접한 2 개의 I프레임 간의 픽셀 차이에 기초하여 상기 인접한 2 개의 I프레임 사이의 MSE값을 산출하는 MSE산출단계; 상기 MSE값에 기초하여, 상기 I프레임이 움직임이 존재하는 동적프레임인지 판단하는 동적프레임판단단계; 및 상기 영상데이터에서 상기 동적프레임이 존재하는 구간을 검출하는 동적프레임존재구간검출단계;를 포함하는, 동적프레임이 존재하는 구간의 검출방법을 제공한다.In order to solve the above problem, in one embodiment of the present invention, a method for detecting a section in which a dynamic frame exists is performed in a computing system including one or more processors and a main memory for storing instructions executable by the processor, comprising: an I-frame decoding step of detecting a NAL unit from image data, analyzing a header of the NAL unit, distinguishing only a plurality of I-frames from an entire bitstream of the image data, and decoding only the I-frames; MSE calculation step of calculating an MSE value between two adjacent I frames based on a pixel difference between the two adjacent I frames with respect to the decoded I frame; a dynamic frame determination step of determining whether the I-frame is a dynamic frame in which motion exists, based on the MSE value; and a dynamic frame presence section detection step of detecting a section in which the dynamic frame exists in the image data.

본 발명의 일 실시예에서는, 상기 영상데이터는 HEVC 규약에 따라 인코딩된 영상데이터를 포함할 수 있다. In one embodiment of the present invention, the video data may include video data encoded according to the HEVC protocol.

본 발명의 일 실시예에서는, 상기 동적프레임판단단계는, 산출한 모든 MSE값에 대하여 각각의 MSE값을 제1임계치와 각각 비교하는 단계; 상기 제1임계치보다 큰 MSE값을 검출하는 단계; 및 상기 제1임계치보다 큰 MSE값에 해당하는 I프레임을 동적프레임으로 판단하는 단계;를 포함할 수 있다.In one embodiment of the present invention, the dynamic frame determination step may include comparing each MSE value with a first threshold value for all calculated MSE values; detecting an MSE value greater than the first threshold value; and determining an I frame corresponding to an MSE value greater than the first threshold as a dynamic frame.

본 발명의 일 실시예에서는, 상기 제1임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제1기준MSE산출단계; 상기 제1기준MSE산출단계로부터 산출된 MSE값의 평균값을 산출하는 단계; 및 상기 평균값에 기초하여 상기 제1임계치를 결정하는 제1임계치결정단계;에 의하여 결정될 수 있다.In one embodiment of the present invention, the first threshold is a first reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; Calculating an average value of the MSE values calculated from the first reference MSE calculation step; and a first threshold value determination step of determining the first threshold value based on the average value.

본 발명의 일 실시예에서는, 상기 동적프레임판단단계는, 산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 표준편차를 산출하는 단계; 상기 표준편차와 제2임계치를 비교하는 단계; 및 상기 제2임계치보다 큰 표준편차를 가지는 윈도우에 포함되는 상기 복수의 MSE값들에 해당하는 복수의 I프레임을 동적프레임으로 판단하는 단계;를 포함할 수 있다. In one embodiment of the present invention, the dynamic frame determination step may include calculating a standard deviation of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values; comparing the standard deviation with a second threshold; and determining a plurality of I frames corresponding to the plurality of MSE values included in a window having a standard deviation greater than the second threshold as dynamic frames.

본 발명의 일 실시예에서는, 상기 제2임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제2기준MSE산출단계; 상기 제2기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및 상기 표준편차에 기초하여 상기 제2임계치를 결정하는 제2임계치결정단계;에 의하여 결정될 수 있다.In one embodiment of the present invention, the second threshold is a second reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; Calculating a standard deviation of the MSE values calculated from the second reference MSE calculation step; and a second threshold value determining step of determining the second threshold based on the standard deviation.

본 발명의 일 실시예에서는, 상기 동적프레임판단단계는, 산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 표준편차를 산출하는 단계; 상기 표준편차와 제3임계치를 비교하는 단계; 및 N번째 MSE값을 포함하는 1이상의 윈도우에 대해서, 상기 윈도우에 포함된 복수의 MSE값들의 표준편차가 상기 제3임계치보다 큰 윈도우가 존재하면, 상기 N번째 MSE값에 해당하는 I프레임을 동적프레임으로 판단하는 단계;를 포함할 수 있다. In one embodiment of the present invention, the dynamic frame determination step may include calculating a standard deviation of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values; comparing the standard deviation with a third threshold; and determining an I-frame corresponding to the N-th MSE value as a dynamic frame, if a window in which the standard deviation of a plurality of MSE values included in the window is larger than the third threshold exists in one or more windows including the N-th MSE value.

본 발명의 일 실시예에서는, 상기 제3임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제3기준MSE산출단계; 상기 제3기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및 상기 표준편차에 기초하여 상기 제3임계치를 결정하는 제3임계치결정단계;에 의하여 결정될 수 있다. In one embodiment of the present invention, the third threshold is a third reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; Calculating a standard deviation of the MSE values calculated from the third reference MSE calculation step; and a third threshold value determining step of determining the third threshold based on the standard deviation.

본 발명의 일 실시예에서는, 상기 동적프레임판단단계는, 산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 평균값 및 표준편차를 산출하는 단계; 상기 표준편차와 제4임계치를 비교하는 단계; N번째 MSE값을 포함하는 1이상의 윈도우에 대해서, 상기 윈도우에 포함된 복수의 MSE값들의 표준편차가 상기 제4임계치보다 큰 윈도우가 존재하면, 상기 N번째 MSE값에 해당하는 I프레임을 제1예비동적프레임으로 판단하는 제1판단단계; 상기 평균값과 제5임계치를 비교하는 단계; N번째 MSE값을 포함하는 1이상의 윈도우에 대해서, 상기 윈도우에 포함된 복수의 MSE값들의 평균값이 상기 제5임계치보다 큰 윈도우가 존재하면, 상기 N번째 MSE값에 해당하는 I프레임을 제2예비동적프레임으로 판단하는 제2판단단계; 및 상기 제1판단단계에서 제1예비동적프레임으로 판단되고, 상기 제2판단단계에서 제2예비동적프레임으로 판단된 I프레임에 대하여, 상기 I프레임을 동적프레임으로 판단하는 단계;를 포함할 수 있다. In one embodiment of the present invention, the dynamic frame determination step may include calculating an average value and standard deviation of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values; comparing the standard deviation with a fourth threshold; For one or more windows including the N-th MSE value, if a window in which the standard deviation of a plurality of MSE values included in the window is larger than the fourth threshold exists, an I frame corresponding to the N-th MSE value is determined as a first preliminary dynamic frame; comparing the average value with a fifth threshold value; For one or more windows including the N-th MSE value, if there exists a window in which the average value of the plurality of MSE values included in the window is greater than the fifth threshold value, an I frame corresponding to the N-th MSE value is determined as a second preliminary dynamic frame. A second determination step; and determining the I-frame as a dynamic frame with respect to the I-frame determined to be the first pre-dynamic frame in the first determination step and determined to be the second pre-dynamic frame in the second determination step.

본 발명의 일 실시예에서는, 상기 제4임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제4기준MSE산출단계; 상기 제4기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및 상기 표준편차에 기초하여 상기 제4임계치를 결정하는 제4임계치결정단계;에 의하여 결정될 수 있다.In one embodiment of the present invention, the fourth threshold is a fourth reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; Calculating a standard deviation of the MSE values calculated from the fourth reference MSE calculation step; and a fourth threshold value determining step of determining the fourth threshold based on the standard deviation.

본 발명의 일 실시예에서는, 상기 제5임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제5기준MSE산출단계; 상기 제5기준MSE산출단계로부터 산출된 MSE값의 평균값을 산출하는 제5기준평균값산출단계; 및 상기 제5기준평균값산출단계에서 산출된 평균값에 기초하여 상기 제5임계치를 결정하는 제5임계치결정단계;에 의하여 결정될 수 있다.In one embodiment of the present invention, the fifth threshold is a fifth reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; a fifth reference mean value calculation step of calculating an average value of the MSE values calculated from the fifth reference MSE calculation step; and a fifth threshold value determination step of determining the fifth threshold value based on the average value calculated in the fifth reference mean value calculation step.

상기와 같은 과제를 해결하기 위하여 본 발명의 일 실시예에서는, 하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 움직임이 존재하는 프레임의 검출장치로서, 영상데이터로부터 NAL 유닛을 검출하고, 상기 NAL 유닛의 헤더를 분석하여 상기 영상데이터의 전체 비트스트림에서 I프레임만을 구분하고 상기 I프레임만을 디코딩하는 I프레임디코딩부; 디코딩된 I프레임에 대하여, 인접한 두 I프레임 간의 픽셀 차이에 기초하여 상기 인접한 두 I프레임 사이의 MSE값을 산출하는 MSE산출부; 상기 MSE값에 기초하여, 상기 I프레임이 움직임이 존재하는 동적프레임인지 판단하는 동적프레임판단부; 및 상기 영상데이터에서 상기 동적프레임이 존재하는 구간을 검출하는 동적프레임존재구간검출부;를 포함하는, 동적프레임이 존재하는 구간의 검출장치를 제공한다.In order to solve the above problem, in one embodiment of the present invention, an apparatus for detecting a frame in which motion exists, including one or more processors and a main memory storing instructions executable by the processor, detects a NAL unit from video data, analyzes a header of the NAL unit, separates only I frames from the entire bitstream of the video data, and decodes only the I frames; an MSE calculation unit for calculating an MSE value between two adjacent I frames based on a pixel difference between two adjacent I frames with respect to the decoded I frame; a dynamic frame determination unit determining whether the I-frame is a dynamic frame in which motion exists, based on the MSE value; and a dynamic frame presence section detecting section for detecting a section in which the dynamic frame exists in the image data.

상기와 같은 과제를 해결하기 위하여 본 발명의 일 실시예에서는, 하나 이상의 프로세서에 의해 실행되는 복수의 명령들을 포함하는, 컴퓨터-판독가능 매체에 저장된 컴퓨터 프로그램으로서, 상기 컴퓨터 프로그램은, 영상데이터로부터 NAL 유닛을 검출하고, 상기 NAL 유닛의 헤더를 분석하여 상기 영상데이터의 전체 비트스트림에서 복수의 I프레임만을 구분하고 상기 I프레임만을 디코딩하는 I프레임디코딩단계; 디코딩된 I프레임에 대하여, 인접한 2 개의 I프레임 간의 픽셀 차이에 기초하여 상기 인접한 2 개의 I프레임 사이의 MSE값을 산출하는 MSE산출단계; 상기 MSE값에 기초하여, 상기 I프레임이 움직임이 존재하는 동적프레임인지 판단하는 동적프레임판단단계; 및 상기 영상데이터에서 상기 동적프레임이 존재하는 구간을 검출하는 동적프레임존재구간검출단계;를 포함하는 컴퓨터 프로그램을 제공한다.In one embodiment of the present invention to solve the above problem, in one embodiment of the present invention, a computer program stored in a computer-readable medium, including a plurality of instructions executed by one or more processors, wherein the computer program detects a NAL unit from image data, analyzes a header of the NAL unit, divides only a plurality of I frames from the entire bitstream of the image data, and decodes only the I frames; MSE calculation step of calculating an MSE value between two adjacent I frames based on a pixel difference between the two adjacent I frames with respect to the decoded I frame; a dynamic frame determination step of determining whether the I-frame is a dynamic frame in which motion exists, based on the MSE value; and a dynamic frame existence section detecting step of detecting a section in which the dynamic frame exists in the image data.

본 발명의 일 실시예에 따르면, 영상데이터 전체의 비트스트림에서 I프레임만을 구분하여 디코딩함으로써, 종래의 기술보다 적은 시간으로 상기 영상데이터에서 움직임이 존재하는 구간을 검출할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, by distinguishing and decoding only I-frames from a bitstream of the entire video data, an effect of detecting a section in which motion exists in the video data can be achieved in less time than conventional techniques.

본 발명의 일 실시예에 따르면, 최소한의 프레임에 대해서만 영상 처리를 수행함으로써 요구되는 연산 처리 능력이 종래의 기술보다 적게 요구되는 효과를 발휘할 수 있다. According to an embodiment of the present invention, by performing image processing only for a minimum number of frames, it is possible to achieve an effect requiring less computational processing capability than the conventional technology.

본 발명의 일 실시예에 따르면, 적은 연산량임에도 불구하고 높은 정확도로 움직임이 존재하는 구간을 고속으로 검출할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, it is possible to achieve an effect of detecting a section in which motion exists at high speed with high accuracy despite a small amount of computation.

본 발명의 일 실시예에 따르면, 움직임이 존재하는 것으로 판단되는 프레임들에 대해서만 객체탐지 및 객체분석 등을 수행할 수 있어 객체 분석 시 처리되는 연산량을 상당수준으로 감소시킬 수 있는 효과를 발휘할 수 있다. According to an embodiment of the present invention, it is possible to perform object detection and object analysis only for frames in which motion is determined to exist, so that the amount of calculations processed during object analysis can be reduced to a significant level.

본 발명의 일 실시예에 따르면, 최근 고화질 CCTV 영상에 대한 상당한 연산부하가 요구되나, 움직임이 존재하는 프레임만으로 분석대상 영역을 상당수준으로 감소시킬 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, although a significant computational load is required for recent high-definition CCTV images, an effect of reducing the analysis target area to a considerable level can be achieved only with frames in which motion exists.

본 발명의 일 실시예에 따르면, 산출된 MSE값을 패턴화한 뒤 이를 학습함으로써, 객체의 종류를 파악할 수 있고, 학습한 내용을 바탕으로 특정 구역에서의 객체 이동 정보를 획득할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, by patterning the calculated MSE value and then learning it, the type of object can be identified, and object movement information in a specific area can be obtained based on the learned content.

본 발명의 일 실시예에 따르면, 동적프레임판단부에서 다양한 방법으로 동적프레임을 검출할 수 있고, 동적프레임 검출목적에 따라 상기 다양한 방법을 적용할 수 있는 효과를 발휘할 수 있다. According to an embodiment of the present invention, the dynamic frame determination unit can detect dynamic frames using various methods, and the various methods can be applied according to the purpose of detecting dynamic frames.

도 1은 본 발명의 일 실시예에 따른 동적프레임이 존재하는 구간의 검출방법의 전체적인 단계들을 개략적으로 도시한다.
도 2는 본 발명의 일 실시예에 따른 I프레임, B프레임, 및 P프레임을 포함하는 영상데이터를 예시적으로 도시한다.
도 3은 본 발명의 일 실시예에 따른 HEVC 표준에서의 코딩 유닛의 SYNTAX를 개략적으로 도시한다.
도 4는 본 발명의 일 실시예에 따른 I프레임디코딩단계 및 MSE산출단계를 개략적으로 도시한다.
도 5는 본 발명의 일 실시예에 따른 동적프레임판단단계를 포함하는, 동적프레임 존재구간 검출방법의 전체적인 수행단계를 개략적으로 도시한다.
도 6은 본 발명의 일 실시예에 따른 산출된 MSE값에 대한 히스토그램 및 제1임계치를 개략적으로 도시한다.
도 7은 본 발명의 일 실시예에 따른 동적프레임판단단계를 포함하는, 동적프레임 존재구간 검출방법의 전체적인 수행단계를 개략적으로 도시한다.
도 8은 본 발명의 일 실시예에 따른 산출된 MSE값에 대한 히스토그램 및 슬라이딩윈도우를 개략적으로 도시한다.
도 9는 본 발명의 일 실시예에 따른 몇 개의 MSE값 및 슬라이딩윈도우를 개략적으로 도시한다.
도 10은 본 발명의 일 실시예에 따른 몇 개의 윈도우에 포함되는 MSE값들에 대한 표준편차와 제2임계치를 비교하는 표를 개략적으로 도시한다.
도 11은 본 발명의 일 실시예에 따른 동적프레임판단단계를 포함하는, 동적프레임 존재구간 검출방법의 전체적인 수행단계를 개략적으로 도시한다.
도 12는 본 발명의 일 실시예에 따른 몇 개의 윈도우에 포함되는 MSE값들에 대한 표준편차와 제3임계치를 비교하는 표를 개략적으로 도시한다.
도 13은 본 발명의 일 실시예에 따른 동적프레임판단단계를 포함하는, 동적프레임 존재구간 검출방법의 전체적인 수행단계를 개략적으로 도시한다.
도 14는 본 발명의 일 실시예에 따른 몇 개의 윈도우에 포함되는 MSE값들에 대한 평균값 및 표준편차를 각각 제4임계치 및 제5임계치와 비교하는 표를 개략적으로 도시한다.
도 15는 본 발명의 일 실시예에 따른 컴퓨팅장치의 내부 구성을 예시적으로 도시한다.
1 schematically illustrates overall steps of a method for detecting a section in which a dynamic frame exists according to an embodiment of the present invention.
2 exemplarily illustrates image data including I frames, B frames, and P frames according to an embodiment of the present invention.
3 schematically illustrates SYNTAX of a coding unit in the HEVC standard according to an embodiment of the present invention.
4 schematically shows an I frame decoding step and an MSE calculation step according to an embodiment of the present invention.
FIG. 5 schematically illustrates the overall execution steps of a method for detecting a dynamic frame existence period, including a dynamic frame determination step, according to an embodiment of the present invention.
6 schematically shows a histogram and a first threshold value for calculated MSE values according to an embodiment of the present invention.
FIG. 7 schematically illustrates the overall execution steps of a method for detecting a dynamic frame existence period, including a dynamic frame determination step, according to an embodiment of the present invention.
8 schematically shows a histogram and a sliding window for calculated MSE values according to an embodiment of the present invention.
9 schematically illustrates several MSE values and sliding windows according to an embodiment of the present invention.
10 schematically shows a table comparing standard deviations and second threshold values for MSE values included in several windows according to an embodiment of the present invention.
FIG. 11 schematically illustrates the overall execution steps of a method for detecting a dynamic frame existence period, including a dynamic frame determination step, according to an embodiment of the present invention.
12 schematically shows a table comparing standard deviations and third thresholds for MSE values included in several windows according to an embodiment of the present invention.
FIG. 13 schematically illustrates the overall execution steps of a method for detecting a dynamic frame existence period including a dynamic frame determination step according to an embodiment of the present invention.
FIG. 14 schematically shows a table comparing average values and standard deviations of MSE values included in several windows with fourth and fifth threshold values, respectively, according to an embodiment of the present invention.
15 illustratively illustrates the internal configuration of a computing device according to an embodiment of the present invention.

이하에서는, 다양한 실시예들 및/또는 양상들이 이제 도면들을 참조하여 개시된다. 하기 설명에서는 설명을 목적으로, 하나이상의 양상들의 전반적 이해를 돕기 위해 다수의 구체적인 세부사항들이 개시된다. 그러나, 이러한 양상(들)은 이러한 구체적인 세부사항들 없이도 실행될 수 있다는 점 또한 본 발명의 기술 분야에서 통상의 지식을 가진 자에게 인식될 수 있을 것이다. 이후의 기재 및 첨부된 도면들은 하나 이상의 양상들의 특정한 예시적인 양상들을 상세하게 기술한다. 하지만, 이러한 양상들은 예시적인 것이고 다양한 양상들의 원리들에서의 다양한 방법들 중 일부가 이용될 수 있으며, 기술되는 설명들은 그러한 양상들 및 그들의 균등물들을 모두 포함하고자 하는 의도이다.In the following, various embodiments and/or aspects are disclosed with reference now to the drawings. In the following description, for purposes of explanation, numerous specific details are set forth in order to facilitate a general understanding of one or more aspects. However, it will also be appreciated by those skilled in the art that such aspect(s) may be practiced without these specific details. The following description and accompanying drawings describe in detail certain illustrative aspects of one or more aspects. However, these aspects are exemplary and some of the various methods in principle of the various aspects may be used, and the described descriptions are intended to include all such aspects and their equivalents.

또한, 다양한 양상들 및 특징들이 다수의 디바이스들, 컴포넌트들 및/또는 모듈들 등을 포함할 수 있는 시스템에 의하여 제시될 것이다. 다양한 시스템들이, 추가적인 장치들, 컴포넌트들 및/또는 모듈들 등을 포함할 수 있다는 점 그리고/또는 도면들과 관련하여 논의된 장치들, 컴포넌트들, 모듈들 등 전부를 포함하지 않을 수도 있다는 점 또한 이해되고 인식되어야 한다.Moreover, various aspects and features will be presented by a system that may include a number of devices, components and/or modules, and the like. It should also be understood and appreciated that various systems may include additional devices, components and/or modules, and/or may not include all of the devices, components, modules, etc. discussed in connection with the figures.

본 명세서에서 사용되는 "실시예", "예", "양상", "예시" 등은 기술되는 임의의 양상 또는 설계가 다른 양상 또는 설계들보다 양호하다거나, 이점이 있는 것으로 해석되지 않을 수도 있다. 아래에서 사용되는 용어들 '~부', '컴포넌트', '모듈', '시스템', '인터페이스' 등은 일반적으로 컴퓨터 관련 엔티티(computer-related entity)를 의미하며, 예를 들어, 하드웨어, 하드웨어와 소프트웨어의 조합, 소프트웨어를 의미할 수 있다.“Example”, “example”, “aspect”, “exemplary”, etc., used herein should not be construed as preferring or advantageous to any aspect or design being described over other aspects or designs. The terms '~unit', 'component', 'module', 'system', 'interface', etc. used below generally mean a computer-related entity, and may mean, for example, hardware, a combination of hardware and software, or software.

또한, "포함한다" 및/또는 "포함하는"이라는 용어는, 해당 특징 및/또는 구성요소가 존재함을 의미하지만, 하나 이상의 다른 특징, 구성요소 및/또는 이들의 그룹의 존재 또는 추가를 배제하지 않는 것으로 이해되어야 한다.Also, the terms "comprises" and/or "comprising" should be understood to mean that the feature and/or element is present, but does not preclude the presence or addition of one or more other features, elements and/or groups thereof.

또한, 제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.In addition, terms including ordinal numbers, such as first and second, may be used to describe various components, but the components are not limited by the terms. These terms are only used for the purpose of distinguishing one component from another. For example, a first element may be termed a second element, and similarly, a second element may be termed a first element, without departing from the scope of the present invention. The terms and/or include any combination of a plurality of related recited items or any of a plurality of related recited items.

또한, 본 발명의 실시예들에서, 별도로 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 발명의 실시예에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In addition, in the embodiments of the present invention, unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the related art, and unless explicitly defined in the embodiments of the present invention, an ideal or excessively formal meaning. It is not to be interpreted.

이하에서 언급되는, "동적프레임"은 움직임이 존재하는 프레임에 해당된다. 영상데이터 전체의 비트스트림을 구성하는 복수의 프레임에 대해서, 인접한 두 프레임 사이의 픽셀차를 수치화할 수 있고, 수치화된 상기 두 프레임 사이의 픽셀차가 기준치 이상 존재하는 경우 상기 두 프레임 사이에 움직임이 있었다고 판단할 수 있으며, 상기 두 프레임이 상기 동적프레임에 해당한다.As mentioned below, "dynamic frame" corresponds to a frame in which motion exists. For a plurality of frames constituting the bitstream of the entire image data, the pixel difference between two adjacent frames can be digitized, and if the pixel difference between the two adjacent frames is greater than or equal to a reference value, it can be determined that there is motion between the two frames, and the two frames correspond to the dynamic frame.

한편, 상기 인접한 두 프레임은 반드시 상기 영상데이터 전체의 비트스트림 상에서 인접할 필요는 없으며, 상기 비트스트림에서 기설정된 규칙에 따라 추출된 복수의 프레임 중 인접한 두 프레임에 해당할 수 있다. Meanwhile, the two adjacent frames do not necessarily have to be adjacent to each other on the bitstream of the entire image data, and may correspond to two adjacent frames among a plurality of frames extracted from the bitstream according to a preset rule.

도 1은 본 발명의 일 실시예에 따른 동적프레임이 존재하는 구간의 검출방법의 전체적인 단계들을 개략적으로 도시한다.1 schematically illustrates overall steps of a method for detecting a section in which a dynamic frame exists according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 동적프레임이 존재하는 구간의 검출방법은 하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅시스템부(1000)에서 수행된다.As shown in FIG. 1, a method for detecting a section in which a dynamic frame exists according to an embodiment of the present invention is performed in a computing system unit 1000 including one or more processors and a main memory storing instructions executable by the processor.

이와 같은 동적프레임이 존재하는 구간의 검출방법은, 영상데이터로부터 NAL 유닛을 검출하고, 상기 NAL 유닛의 헤더를 분석하여 상기 영상데이터의 전체 비트스트림에서 복수의 I프레임만을 구분하고 상기 I프레임만을 디코딩하는 I프레임디코딩단계(S100); 디코딩된 I프레임에 대하여, 인접한 2 개의 I프레임 간의 픽셀 차이에 기초하여 상기 인접한 2 개의 I프레임 사이의 MSE값을 산출하는 MSE산출단계(S200); 상기 MSE값에 기초하여, 상기 I프레임이 움직임이 존재하는 동적프레임인지 판단하는 동적프레임판단단계(S300); 및 상기 영상데이터에서 상기 동적프레임이 존재하는 구간을 검출하는 동적프레임존재구간검출단계(S400);를 포함한다. A method for detecting a section in which such a dynamic frame exists is an I frame decoding step (S100) of detecting a NAL unit from video data, analyzing a header of the NAL unit, distinguishing only a plurality of I frames from the entire bitstream of the video data, and decoding only the I frames; MSE calculation step (S200) of calculating an MSE value between two adjacent I frames based on a pixel difference between the two adjacent I frames with respect to the decoded I frame; a dynamic frame determination step (S300) of determining whether the I-frame is a dynamic frame in which motion exists, based on the MSE value; and a dynamic frame existence section detection step (S400) of detecting a section in which the dynamic frame exists in the image data.

본 발명의 일 실시예에서는, 상기 단계 S100, 단계 S200, 단계 S300, 및 단계 S400은 각각 I프레임디코딩부(100), MSE산출부(200), 동적프레임판단부(300) 및 동적프레임존재구간검출부(400)에 의하여 수행된다.In one embodiment of the present invention, the steps S100, S200, S300, and S400 are performed by the I frame decoding unit 100, the MSE calculation unit 200, the dynamic frame determination unit 300, and the dynamic frame existence section detection unit 400, respectively.

바람직하게는, 상기 영상데이터는 HEVC 규약에 따라 인코딩된 영상데이터를 포함할 수 있다. Preferably, the video data may include video data encoded according to the HEVC protocol.

도 2는 I프레임, B프레임, 및 P프레임을 포함하는 영상데이터를 예시적으로 도시한다.2 exemplarily illustrates image data including I frames, B frames, and P frames.

일반적인 동영상의 비디오 부분은 I프레임(“I”로 도시한 프레임), P프레임(“P”로 도시한 프레임), 및 B프레임(“B”로 도시한 프레임)으로 구성된다.The video portion of a general motion picture is composed of I frames (frames indicated by “I”), P frames (frames indicated by “P”), and B frames (frames indicated by “B”).

상기 I프레임은 키 프레임으로써 전체 이미지를 모두 포함하고, 동영상 파일에 있어서 액세스 포인트로 기능할 수 있으며, 독립적으로 인코딩된 프레임에 해당하며 낮은 압축률을 가지고 있다.The I-frame includes the entire image as a key frame, can function as an access point in a video file, corresponds to an independently encoded frame, and has a low compression rate.

한편, P프레임의 경우, 이전의 I프레임 혹은 P프레임을 참조하여 순방향 예측에 의하여 만들어지는 프레임으로서 독립적으로 인코딩된 프레임에 해당하지 않는다. 이와 같은 상기 P프레임은 상기 I프레임에 비해 높은 압축률을 가지고 있다. 여기서, “이전”의 프레임이라는 것은 바로 전의 프레임뿐만 아니라 해당 프레임 전에 존재하는 복수의 프레임 중 하나를 의미하고, “이후”의 프레임이라는 것은 바로 다음 프레임뿐만 아니라 해당 프레임 다음에 존재하는 복수의 프레임 중 하나를 의미한다.Meanwhile, in the case of a P frame, a frame created by forward prediction by referring to a previous I frame or P frame does not correspond to an independently encoded frame. The P frame has a higher compression ratio than the I frame. Here, the “previous” frame means not only the immediately preceding frame but also one of a plurality of frames existing before the corresponding frame, and the “post” frame means not only the immediately following frame but also one of a plurality of frames existing after the corresponding frame.

한편, B프레임의 경우, 이전의 프레임 및 이후의 프레임을 참조하여 순방향 및 역방향 예측에 의하여 만들어지는 프레임으로서 독립적으로 인코딩된 프레임에 해당하지 않는다. 이와 같은 상기 B프레임은 상기 I프레임 및 상기 P프레임에 비해 높은 압축률을 가지고 있다. 따라서, 상기 독립적으로 인코딩된 프레임은 상기 I프레임에 해당하고, 비독립적으로 인코딩된 프레임은 나머지 상기 B프레임 혹은 P프레임에 해당할 수 있다.Meanwhile, in the case of a B frame, a frame made by forward and backward prediction with reference to previous and subsequent frames does not correspond to an independently encoded frame. The B frame has a higher compression ratio than the I frame and the P frame. Accordingly, the independently encoded frames may correspond to the I-frames, and the non-independently encoded frames may correspond to the remaining B-frames or P-frames.

도 3은 HEVC 표준에서의 코딩 유닛의 SYNTAX를 도시한다.3 shows SYNTAX of a coding unit in the HEVC standard.

개략적으로 도 3의 (a)는 NAL 유닛의 SYNTAX를 도시하고, 도 3의 (b)는 NAL 유닛의 헤더의 SYNTAX를 도시한다.Schematically, (a) of FIG. 3 shows a SYNTAX of a NAL unit, and (b) of FIG. 3 shows a SYNTAX of a header of a NAL unit.

구체적으로, 도 3의 (a)에 도시된 바와 같이, HEVC 표준문서인 “ITU-T H.265 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (11/2019) SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Infrastructure of audiovisual services - Coding of moving video”에 따르면 부호화된 H.265 데이터는 Network Abstraction Layer Units(NAL Unit)으로 알려진 일련의 패킷으로 저장되거나 전송된다. Specifically, as shown in (a) of FIG. 3, according to the HEVC standard document “ITU-T H.265 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (11/2019) SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Infrastructure of audiovisual services - Coding of moving video”, encoded H.265 data is a series of packets known as Network Abstraction Layer Units (NAL Unit). stored or transmitted.

본 발명에 적용된 HEVC/H.265 코덱은 일정구간마다 생성되는 I프레임을 기준으로 이후에 오는 B프레임 및 P프레임을 연산하는 방식으로 압축을 진행한다.The HEVC/H.265 codec applied to the present invention performs compression by calculating subsequent B-frames and P-frames based on I-frames generated at regular intervals.

도 3의 (b)에서는, 도 3의 (a)에서 nal_unit이 포함하고 있는 NAL 유닛의 헤더의 SYNTAX를 도시한다. 본 발명에서는 상기 NAL 유닛의 헤더에 포함되는 nal_unit_type을 이용하여 상기 영상데이터 전체의 비트스트림에서 각각의 I프레임만을 구분할 수 있고, 상기 I프레임만을 디코딩한다. 상기 디코딩된 I프레임만을 분석함으로써, 상기 비트스트림 전체를 디코딩할 필요없이 관심대상의 이벤트를 요약할 수 있고, 이를 통해 종래의 기술보다 적은 시간으로 상기 비트스트림에서 동적프레임을 검출할 수 있고, 또한 종래의 기술보다 적은 연산량으로 동적프레임을 검출할 수 있는 효과를 발휘할 수 있다.In (b) of FIG. 3, SYNTAX of the header of the NAL unit included in nal_unit in (a) of FIG. 3 is shown. In the present invention, by using nal_unit_type included in the header of the NAL unit, only each I frame can be distinguished from the bitstream of the entire video data, and only the I frame is decoded. By analyzing only the decoded I-frame, the event of interest can be summarized without the need to decode the entire bitstream, and through this, a dynamic frame can be detected from the bitstream in less time than in the prior art, and a dynamic frame can be detected with a smaller amount of computation than in the prior art.

도 4는 본 발명의 일 실시예에 따른 I프레임디코딩단계(S100) 및 MSE산출단계(S200)를 개략적으로 도시한다.4 schematically shows an I frame decoding step (S100) and an MSE calculation step (S200) according to an embodiment of the present invention.

개략적으로, 본 발명의 일 실시예로서 이하에서 서술되는 영상데이터는, 도 2를 참고하여, I프레임, B프레임, 및 P프레임을 포함하는 영상데이터에 해당하며, 상기 영상데이터로부터 상기 I프레임만을 추출하여 디코딩하고, 인접한 2 개의 I프레임에 대해 MSE값을 산출하는 과정에 대한 설명을 이하에서 서술한다.Schematically, video data described below as an embodiment of the present invention corresponds to video data including I-frames, B-frames, and P-frames with reference to FIG.

구체적으로, 상기 I프레임디코딩부(100)에서는, 도 3에 대한 설명을 참고하여, 상기 영상데이터의 전체 비트스트림으로부터 상기 NAL 유닛의 헤더에 포함되는 nal_unit_type을 이용하여 상기 영상데이터 전체의 비트스트림에서 각각의 I프레임만을 추출하여 디코딩한다.Specifically, with reference to the description of FIG. 3, the I frame decoding unit 100 extracts and decodes only each I frame from the entire bitstream of the video data using nal_unit_type included in the header of the NAL unit from the entire bitstream of the video data.

상기 I프레임디코딩부(100)에서 추출된 복수의 I프레임은 상기 MSE산출부(200)로 전송되고, 상기 MSE산출부(200)는, 상기 I프레임디코딩부(100)로부터 수신한 복수의 I프레임에 대해 인접한 두 프레임의 픽셀차에 기초하여 MSE값을 산출하는 MSE산출단계(S200)을 수행한다. The plurality of I frames extracted by the I frame decoding unit 100 are transmitted to the MSE calculating unit 200, and the MSE calculating unit 200 performs an MSE calculating step (S200) of calculating an MSE value for the plurality of I frames received from the I frame decoding unit 100 based on a pixel difference between two adjacent frames.

상기 MSE값이 클수록 상기 두 프레임 간의 픽셀차가 큰 것을 의미하며, 상기 MSE값이 기설정된 임계치 이상일 경우, 상기 두 프레임 사이에 움직임이 발생했다고 판단할 수 있으며, 상기 두 프레임을 동적프레임으로 판단할 수 있다. 반대의 경우, 상기 두 프레임 간의 픽셀차이가 거의 없는 경우, 상기 두 프레임 사이의 MSE값은 상기 임계치 이하로 산출되며, 상기 두 프레임 사이에는 움직임이 존재하지 않다고 판단할 수 있다.The larger the MSE value, the larger the pixel difference between the two frames. When the MSE value is greater than or equal to a predetermined threshold value, it can be determined that motion has occurred between the two frames, and the two frames can be determined as dynamic frames. In the opposite case, when there is almost no pixel difference between the two frames, the MSE value between the two frames is calculated to be less than the threshold value, and it can be determined that there is no motion between the two frames.

한편, MSE값은 이하와 같은 방식으로 산출될 수 있다. 인접한 2 개의 프레임에 대해서 서로 상응하는 복수의 픽셀 간의 차이값을 구한 뒤 이를 제곱하고, 상기 차이값의 제곱값들을 모두 합한 뒤, 단일 프레임의 총 픽셀 수로 나눔으로써 상기 MSE값을 구할 수 있다.Meanwhile, the MSE value can be calculated in the following manner. The MSE value can be obtained by obtaining a difference value between a plurality of pixels corresponding to each other in two adjacent frames, squaring the difference value, summing all the squared values of the difference value, and then dividing by the total number of pixels in a single frame.

도 5는 본 발명의 일 실시예에 따른 동적프레임판단단계(S300)를 포함하는, 동적프레임 존재구간 검출방법의 전체적인 수행단계를 개략적으로 도시한다.FIG. 5 schematically illustrates the overall execution steps of a method for detecting a dynamic frame existence period including a dynamic frame determining step (S300) according to an embodiment of the present invention.

도 5에 도시된 바와 같이, 상기 동적프레임판단단계(S300)는, 산출한 모든 MSE값에 대하여 각각의 MSE값을 제1임계치와 각각 비교하는 단계(S310); 상기 제1임계치보다 큰 MSE값을 검출하는 단계(S311); 및 상기 제1임계치보다 큰 MSE값에 해당하는 I프레임을 동적프레임으로 판단하는 단계(S312);를 포함하고,As shown in FIG. 5, the dynamic frame determination step (S300) includes a step of comparing each MSE value with a first threshold value for all calculated MSE values (S310); Detecting an MSE value greater than the first threshold (S311); And determining an I frame corresponding to an MSE value greater than the first threshold as a dynamic frame (S312);

상기 제1임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제1기준MSE산출단계; 상기 제1기준MSE산출단계로부터 산출된 MSE값의 평균값을 산출하는 단계; 및 상기 평균값에 기초하여 상기 제1임계치를 결정하는 제1임계치결정단계;에 의하여 결정된다. The first threshold value includes a first reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; Calculating an average value of the MSE values calculated from the first reference MSE calculation step; and a first threshold value determination step of determining the first threshold value based on the average value.

구체적으로, 도 5에 도시된 상기 동적프레임판단단계(S300)는 본 발명의 일 실시예로서 수행될 수 있다. 상기 동적프레임판단단계(S300)가 수행되기 전에는, 도 4에 대한 설명을 참고하여, 상기 I프레임디코딩단계(S100) 및 상기 MSE산출단계(S200)가 각각 상기 I프레임디코딩부(100) 및 상기 MSE산출부(200)에 의해 수행된다. 상기 MSE산출단계(S200)를 통해 복수의 MSE값이 산출된 후, 상기 동적프레임판단부(300)에 의해 상기 단계 S310 내지 단계 S312가 수행된다.Specifically, the dynamic frame determination step (S300) shown in FIG. 5 may be performed as an embodiment of the present invention. Before the dynamic frame determination step (S300) is performed, referring to the description of FIG. 4, the I frame decoding step (S100) and the MSE calculating step (S200) are performed by the I frame decoding unit 100 and the MSE calculating unit 200, respectively. After a plurality of MSE values are calculated through the MSE calculation step (S200), the steps S310 to S312 are performed by the dynamic frame determination unit 300.

상기 제1임계치는 미리 학습영상데이터를 통해 설정될 수 있다. 상기 학습영상데이터는, 본 발명의 일 실시예로서, 움직임이 존재하지 않는 영상구간을 포함하는 영상데이터로부터 생성될 수 있으며, 바람직하게는, 상기 영상데이터는 움직임이 존재하지 않는 영상구간과 움직임이 존재하는 영상구간을 모두 포함할 수 있다. 상기 영상데이터에서 움직임이 존재하지 않는 영상구간의 I프레임을 추출함으로써 상기 학습영상데이터를 생성할 수 있다. The first threshold may be set in advance through learning image data. The learning image data, as an embodiment of the present invention, may be generated from image data including an image section in which motion does not exist, and preferably, the image data may include both a video section in which motion does not exist and an image section in which motion exists. The learning image data may be generated by extracting an I frame of an image section in which motion does not exist from the image data.

상기 학습영상데이터의 각각의 I프레임에 대하여 MSE값을 산출하는 상기 제1기준MSE산출단계를 수행한 이후에, 상기 학습영상데이터의 모든 MSE값의 평균값을 산출하는 단계를 수행하고, 상기 평균값에 기초하여 상기 제1임계치를 결정하는 상기 제1임계치결정단계를 수행할 수 있다. After performing the first reference MSE calculation step of calculating the MSE value for each I-frame of the learning image data, the step of calculating the average value of all MSE values of the learning image data is performed, and based on the average value, the first threshold value determining step of determining the first threshold value can be performed.

한편, 본 발명의 일 실시예로서, 상기 제1임계치는, 상기 움직임이 존재하지 않는 구간의 I프레임에 대한 MSE값의 평균값뿐만 아니라, 상기 영상데이터로부터 움직임이 존재하는 구간의 I프레임에 대한 MSE값의 평균값을 참고하여 설정될 수 있다.On the other hand, as an embodiment of the present invention, the first threshold may be set by referring not only to the average value of MSE values for I-frames of the section in which motion does not exist, but also to the average value of MSE values of I-frames in the section in which motion exists from the image data.

단계 S310에서는, 상기 MSE산출단계(S200)에서 산출된 복수의 MSE값들과 상기 제1임계치를 각각 비교하고, 단계 S311에서는, 상기 제1임계치보다 큰 MSE를 검출한다. 단계 S312에서는, 상기 제1임계치보다 큰 MSE에 해당하는 I프레임들을 동적프레임으로 판단하며, 상기 단계 S310 내지 단계 S312는 상기 동적프레임판단부(300)에 의해 수행될 수 있다. 상기 동적프레임판단부(300)에 의해 동적프레임을 판단한 뒤에, 상기 단계 S400에서는, 상기 동적프레임이 존재하는 구간을 동적프레임이 존재하는 구간, 즉 상기 영상데이터에서 움직임이 존재하는 구간을 검출할 수 있다.In step S310, the plurality of MSE values calculated in the MSE calculation step (S200) are compared with the first threshold, respectively, and in step S311, an MSE greater than the first threshold is detected. In step S312, I frames corresponding to an MSE greater than the first threshold are determined as dynamic frames, and steps S310 to S312 may be performed by the dynamic frame determination unit 300. After the dynamic frame is determined by the dynamic frame determination unit 300, in the step S400, it is possible to detect a section in which the dynamic frame exists, that is, a section in which motion exists in the image data.

또한, 상기 움직임이 존재하는 구간은, 상술한 도 4에 대한 설명을 참고하면, 상기 제1임계치보다 큰 MSE값에 해당하는 2 개의 I프레임 및 상기 2 개의 I프레임에 종속되는 1 이상의 B프레임 및/또는 1 이상의 P프레임에 해당되는 구간을 포함한다.In addition, referring to the description of FIG. 4 described above, the section in which the motion exists includes two I frames corresponding to an MSE value greater than the first threshold and one or more B frames dependent on the two I frames. It includes a section corresponding to one or more P frames.

도 6은 본 발명의 일 실시예에 따른 산출된 MSE값에 대한 히스토그램 및 제1임계치를 개략적으로 도시한다.6 schematically shows a histogram and a first threshold for calculated MSE values according to an embodiment of the present invention.

개략적으로, 상기 히스토그램은 상기 MSE산출단계(S200)에서 산출된 복수의 MSE값들을 그래프로 도시한 것이다. 상기 히스토그램의 x축은 상기 MSE값들의 번호를 의미하고, y축은 각각의 MSE값의 번호에 해당하는 MSE값을 의미한다. Schematically, the histogram is a graph showing a plurality of MSE values calculated in the MSE calculation step (S200). The x-axis of the histogram means the number of the MSE values, and the y-axis means the MSE value corresponding to the number of each MSE value.

상기 MSE값의 번호는, 상기 MSE값들에 대하여 상기 MSE산출부(200)에 의해 부여된 일련번호에 해당하며, 바람직하게는 시간의 순서에 따라 상기 MSE값들에 일련번호를 부여할 수 있다.The number of the MSE value corresponds to the serial number given by the MSE calculation unit 200 to the MSE values, and preferably, the serial number can be assigned to the MSE values in order of time.

한편, 상기 히스토그램은 본 발명에서, 도 5에 대한 설명에서 다룬 실시예의 설명을 위해 도시한 것으로, 실제 본 발명이 적용될 때의 결과와는 상이할 수 있다. Meanwhile, the histogram is shown for explanation of the embodiment dealt with in the description of FIG. 5 in the present invention, and may differ from the result when the present invention is actually applied.

도 6에 도시된 바와 같이, 상기 제1임계치 이하의 MSE값에 해당되는 구간은 움직임이 없는 구간으로 판단되고, 상기 제1임계치 이상의 MSE값에 해당되는 구간은 움직임이 존재하는 구간으로 판단되며, 상기 제1임계치와 상기 MSE값들을 비교하는 단계는, 도 5에 대한 설명을 참고하여, 상기 단계 S310 및 단계 S311에서 수행될 수 있다.As shown in FIG. 6, the section corresponding to the MSE value below the first threshold is determined to be a section without motion, and the section corresponding to the MSE value above the first threshold is determined to be a section in which motion exists. Comparing the MSE values with the first threshold may be performed in steps S310 and S311 with reference to the description of FIG.

한편, 도 5 내지 도 6에 대한 설명에서 다룬 동적프레임판단단계(S300)의 일 실시예는, 본 발명의 몇 실시예 중 하나에 해당하며, 다른 실시예에 대한 설명은 후술하도록 한다. Meanwhile, one embodiment of the dynamic frame determination step (S300) dealt with in the description of FIGS. 5 and 6 corresponds to one of several embodiments of the present invention, and descriptions of other embodiments will be described later.

도 5 내지 도 6에서 서술한 동적프레임판단단계(S300)의 실시예는, 본 발명의 다양한 실시예 중에서 비교적 로직이 단순하여 구현하기가 쉽지만, 각각의 MSE값을 상기 제1임계치와 비교해야하므로 동적프레임을 검출하기까지의 시간이 후술하는 방법과 비교하여 더 소요될 수 있다. 다만, 상기 제1임계치를 설정하기 위한 상기 학습영상데이터를 적절하게 선택하는 경우 높은 정확도로 영상데이터에서 움직임을 검출할 수 있는 효과를 발휘할 수 있다. 따라서, 도 5 내지 도 6에서의 실시예는 비교적 작은 움직임을 갖는 객체를 기록하는 CCTV영상을 분석하는데 사용하는 것이 바람직하다.The embodiment of the dynamic frame determination step (S300) described in FIGS. 5 and 6 has a relatively simple logic and is easy to implement among various embodiments of the present invention. However, since each MSE value must be compared with the first threshold value, it may take more time to detect a dynamic frame compared to the method described later. However, when the learning image data for setting the first threshold is appropriately selected, an effect of detecting motion from the image data with high accuracy can be exerted. Therefore, the embodiments in FIGS. 5 and 6 are preferably used to analyze CCTV images recording objects with relatively small movements.

도 7은 본 발명의 일 실시예에 따른 동적프레임판단단계(S300)를 포함하는, 동적프레임 존재구간 검출방법의 전체적인 수행단계를 개략적으로 도시한다. FIG. 7 schematically illustrates the overall execution steps of a dynamic frame existence period detection method including a dynamic frame determination step (S300) according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 상기 동적프레임판단단계(S300)는, 산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 표준편차를 산출하는 단계(S320); 상기 표준편차와 제2임계치를 비교하는 단계(S321); 및 상기 제2임계치보다 큰 표준편차를 가지는 윈도우에 포함되는 상기 복수의 MSE값들에 해당하는 복수의 I프레임을 동적프레임으로 판단하는 단계(S322);를 포함하고,As shown in FIG. 7, the dynamic frame determination step (S300) includes a step of calculating a standard deviation of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values (S320); Comparing the standard deviation with a second threshold (S321); And determining a plurality of I frames corresponding to the plurality of MSE values included in a window having a standard deviation greater than the second threshold as dynamic frames (S322);

상기 제2임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제2기준MSE산출단계; 상기 제2기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및 상기 표준편차에 기초하여 상기 제2임계치를 결정하는 제2임계치결정단계;에 의하여 결정된다.The second threshold value includes a second reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; Calculating a standard deviation of the MSE values calculated from the second reference MSE calculation step; and a second threshold determining step of determining the second threshold based on the standard deviation.

한편, 도 7에 도시된 상기 동적프레임판단단계(S300)는 본 발명의 일 실시예로서 수행될 수 있고, 도 5에 대한 설명에서 상술한 실시예와는 다른 실시예로서 수행될 수 있다. 상기 동적프레임판단단계(S300)가 수행되기 전에는, 도 4에 대한 설명을 참고하여, 상기 I프레임디코딩단계(S100) 및 상기 MSE산출단계(S200)가 수행된다. Meanwhile, the dynamic frame determination step (S300) shown in FIG. 7 may be performed as an embodiment of the present invention, and may be performed as an embodiment different from the embodiment described above in the description of FIG. 5 . Before the dynamic frame determination step (S300) is performed, referring to the description of FIG. 4, the I frame decoding step (S100) and the MSE calculation step (S200) are performed.

구체적으로, 단계 S320에서는, 상기 MSE산출단계(S200)에서 산출된 복수의 MSE값들에 대해 슬라이딩윈도우방식을 적용한다. 여기서 윈도우는, 상기 MSE산출단계(S200)에서 산출된 복수의 MSE값들에 대해 각각 일련번호를 부여하고, 상기 일련번호에 따라 기설정된 크기로 그룹화하는 것을 의미한다. Specifically, in step S320, the sliding window method is applied to the plurality of MSE values calculated in the MSE calculation step (S200). Here, the window means giving a serial number to each of the plurality of MSE values calculated in the MSE calculation step (S200), and grouping them into a predetermined size according to the serial number.

예를 들어, 상기 MSE산출단계(S200)에서 산출된 MSE값이 100개라면 각각의 MSE값에 대해 1부터 100까지의 일련번호를 각각 부여할 수 있고, 상기 일련번호를 부여하는 기준은 시간순으로 설정하는 것이 바람직하다. 1번부터 100번까지의 상기 MSE값들에 대해 크기가 10인 윈도우를 적용한다고 하면, 첫번째 윈도우는 1번 내지 10번에 해당하는 MSE값들을 포함하고, 두번째 윈도우는 2번 내지 11번에 해당하는 MSE값들을 포함하며, 세번째 윈도우는 3번 내지 12번에 해당하는 MSE값들을 포함한다. 상기 슬라이딩윈도우방식에 대한 추가적인 설명은 후술하도록 한다.For example, if the number of MSE values calculated in the MSE calculation step (S200) is 100, serial numbers from 1 to 100 can be assigned to each MSE value, and the criteria for assigning the serial numbers are set in chronological order. It is preferable to set. If a window having a size of 10 is applied to the MSE values from 1 to 100, the first window includes MSE values 1 to 10, the second window includes MSE values 2 to 11, and the third window includes MSE values 3 to 12. Additional description of the sliding window method will be described later.

이와 같이, 윈도우 크기를 10으로 설정한 뒤 슬라이딩윈도우방식을 적용한다면, 상기 단계 S320에서는, 첫번째 윈도우에 해당하는 1번 내지 10번에 해당하는 MSE의 표준편차를 산출하고, 두번째 윈도우에 해당하는 2번 내지 11번에 해당하는 MSE의 표준편차를 산출함으로써, 각각의 윈도우에 해당하는 표준편차를 산출할 수 있다.As such, if the sliding window method is applied after setting the window size to 10, in step S320, the standard deviation of the MSE corresponding to Nos. 1 to 10 corresponding to the first window is calculated, and the standard deviation corresponding to the MSE corresponding to Nos. 2 to 11 corresponding to the second window is calculated, thereby calculating the standard deviation corresponding to each window.

상기 단계 S321에서는, 상기 단계 S320에서 산출된 각각의 윈도우에 해당하는 표준편차와 상기 제2임계치를 각각 비교함으로써 상기 제2임계치보다 높은 표준편차를 가진 윈도우를 검출할 수 있다. 상기 단계 S322에서는, 상기 제2임계치보다 높은 표준편차를 가진 윈도우에 포함되는 MSE값들에 해당하는 I프레임들을 모두 동적프레임으로 판단하며, 상기 단계 S320 내지 단계 322는 상기 동적프레임판단부(300)에 의해 수행될 수 있다. 상기 동적프레임판단부(300)에 의해 동적프레임을 판단한 후에, 상기 단계 S400에서는, 상기 동적프레임이 존재하는 구간을 동적프레임이 존재하는 구간, 즉 상기 영상데이터에서 움직임이 존재하는 구간을 검출할 수 있다.In step S321, a window having a standard deviation higher than the second threshold may be detected by comparing the standard deviation corresponding to each window calculated in step S320 with the second threshold. In step S322, all I-frames corresponding to MSE values included in a window having a standard deviation higher than the second threshold are determined as dynamic frames, and steps S320 to 322 may be performed by the dynamic frame determination unit 300. After the dynamic frame is determined by the dynamic frame determination unit 300, in the step S400, it is possible to detect a section in which the dynamic frame exists, that is, a section in which motion exists in the image data.

상술한 방법에 의해 검출되는 동적프레임은 상기 제2임계치보다 높은 표준편차를 가진 윈도우의 첫 번째 MSE값을 산출하기 위한 2 개의 I프레임 가운데 앞 순서의 I프레임 및 해당 윈도우의 마지막 MSE값을 산출하기 위한 2 개의 I프레임 사이에 존재하는 1 이상의 I프레임, 1 이상의 B프레임, 및 1 이상의 P프레임을 포함할 수 있다. The dynamic frame detected by the above method may include one or more I-frames, one or more B-frames, and one or more P-frames existing between the two I-frames for calculating the last MSE value of the previous I-frame among the two I-frames for calculating the first MSE value of the window having a standard deviation higher than the second threshold and the last MSE value of the corresponding window.

한편, 상기 제2임계치는, 상기 제1임계치와 같이, 상기 학습영상데이터를 통해 설정될 수 있다. 상기 학습영상데이터는, 도 5에 대한 설명을 참고하여, 움직임이 존재하지 않는 영상을 포함하는 영상데이터에서 움직임이 존재하지 않는 구간의 I프레임을 추출하여 생성한 데이터에 해당한다. Meanwhile, the second threshold, like the first threshold, may be set through the learning image data. The learning image data corresponds to data generated by extracting an I frame of a section in which motion does not exist from image data including an image in which motion does not exist, with reference to the description of FIG. 5 .

상기 학습영상데이터의 각각의 I프레임에 대하여 MSE값을 산출하는 상기 제2기준MSE산출단계를 수행하고, 이후 상기 학습영상데이터의 모든 MSE값의 표준편차를 산출하는 단계를 수행한다. 상기 표준편차를 산출한 이후, 상기 표준편차에 기초하여 상기 제2임계치를 결정하는 상기 제2임계치결정단계를 수행할 수 있다. The second reference MSE calculation step of calculating the MSE value for each I-frame of the training image data is performed, and then the standard deviation of all MSE values of the training image data is calculated. After calculating the standard deviation, the second threshold value determining step of determining the second threshold value based on the standard deviation may be performed.

한편, 도 7에 대한 설명에서 상술한 상기 동적프레임판단단계(S300)의 실시예는, 도 5에 대한 설명에서 상술한 실시예에 비해 연산속도를 크게 향상시킬 수 있는 효과를 발휘할 수 있다. MSE각각을 개별적으로 비교하지 않고 윈도우로 그룹화하여 비교하기 때문에 동적프레임이 존재하는 구간을 빠르게 검출할 수 있으나, 도 5에서의 실시예에 비해 정확도가 다소 떨어질 수 있다. 따라서, 도 7에서의 실시예는, 예를 들어, 교통량이 적은 교외의 고속도로 혹은 일반도로에서 차량을 촬영하는 CCTV영상을 분석하는데 사용하는 것이 바람직하다. On the other hand, the embodiment of the dynamic frame determination step (S300) described above in the description of FIG. 7 can exhibit an effect of greatly improving the operation speed compared to the embodiment described above in the description of FIG. 5 . Since each MSE is grouped and compared in a window rather than individually compared, a section in which a dynamic frame exists can be quickly detected, but accuracy may be somewhat lower than that of the embodiment in FIG. 5 . Accordingly, the embodiment in FIG. 7 is preferably used to analyze CCTV images of vehicles photographed on, for example, suburban highways or general roads with low traffic volume.

도 8은 본 발명의 일 실시예에 따른 산출된 MSE값에 대한 히스토그램 및 슬라이딩윈도우를 개략적으로 도시하고, 도 9는 본 발명의 일 실시예에 따른 몇 개의 MSE값 및 슬라이딩윈도우를 개략적으로 도시한다.8 schematically shows a histogram and a sliding window for calculated MSE values according to an embodiment of the present invention, and FIG. 9 schematically shows several MSE values and a sliding window according to an embodiment of the present invention.

개략적으로, 도 8 및 도 9는 상기 슬라이딩윈도우방식을 설명하기 위해 도시한다.Schematically, FIGS. 8 and 9 are shown to explain the sliding window method.

구체적으로, 도 8은, 본 발명의 일 실시예로서, 상기 MSE산출부(200)에서 산출된 복수의 MSE값들의 히스토그램을 도시하고 있으며, 상기 히스토그램에 대해 사이즈가 10인 윈도우를 적용한 실시예를 도시하였다. 도 8에 도시된 바와 같이, 51번 내지 60번에 해당하는 MSE값을 포함하는 윈도우를 실선박스로 도시하였고, 이동간격을 5로 하여 우측으로 윈도우가 5칸씩 이동할 수 있다. Specifically, FIG. 8, as an embodiment of the present invention, shows a histogram of a plurality of MSE values calculated by the MSE calculation unit 200, and shows an embodiment in which a window having a size of 10 is applied to the histogram. As shown in FIG. 8, windows including MSE values corresponding to numbers 51 to 60 are shown as solid line boxes, and the window can be moved to the right by 5 spaces by setting the movement interval to 5.

도 9는 본 발명의 일 실시예로서 도시된 히스토그램 및 윈도우이며, 이는 설명을 위해 도시하였으므로, 실제 본 발명이 적용된 결과와는 상이할 수 있다. 도 9에 도시된 윈도우는 크기가 10이며, 상기 히스토그램은 1번 내지 (N+12)번에 해당하는 MSE값을 도시한다.9 is a histogram and a window shown as an embodiment of the present invention, which are shown for explanation, and may differ from the actual applied result of the present invention. The size of the window shown in FIG. 9 is 10, and the histogram shows MSE values corresponding to times 1 to (N+12).

도 9에 도시된 바와 같이, 각각의 윈도우에 대해서도 일련번호를 부여할 수 있으며, 상기 윈도우의 일련번호는, 상기 윈도우에 포함되는 MSE 번호 중 가장 작은 번호를 따라간다. 즉, 윈도우#1은 1번 내지 10번에 해당하는 MSE값을 포함하고, 윈도우#N은 N번 내지 (N+9)번에 해당하는 MSE값을 포함한다. 이와 같은 방식으로, 윈도우의 순번이 올라감에 따라, 상기 윈도우가 미끄러지듯 한 칸씩 옮겨간다는 의미에서 슬라이딩윈도우라고 명명할 수 있다. 한편, 상술한 N은 1 이상의 임의의 자연수에 해당하며, 이하에서 서술되는 N도 이와 같다. As shown in FIG. 9, a serial number may be assigned to each window, and the serial number of the window follows the smallest MSE number included in the window. That is, window #1 includes MSE values corresponding to times 1 to 10, and window #N includes MSE values corresponding to times N to (N+9). In this way, as the order of windows increases, it can be named as a sliding window in the sense that the window moves one by one in a sliding manner. On the other hand, the above-mentioned N corresponds to an arbitrary natural number of 1 or more, and N described below is also the same.

상기 단계 S320에서는, 도 9에 도시된 바와 같이 MSE의 일련번호에 따라 기설정된 이동간격만큼 오른쪽으로 이동하면서 각각의 윈도우에 포함되는 MSE값들의 표준편차를 산출할 수 있다. 예를 들어, 상기 MSE산출부(200)에서 산출된 MSE값이 1726이고 윈도우의 크기를 10으로 설정하고 윈도우의 이동간격을 1로 설정하는 경우, 상기 동적프레임판단부(300)에서는 윈도우#1 내지 윈도우#1717까지 생성될 수 있으며, 각각의 윈도우에 상응하는 1717개의 표준편차를 산출할 수 있다. In the step S320, as shown in FIG. 9, the standard deviation of the MSE values included in each window may be calculated while moving to the right by a predetermined movement interval according to the serial number of the MSE. For example, when the MSE value calculated by the MSE calculation unit 200 is 1726, the size of the window is set to 10, and the movement interval of the window is set to 1, the dynamic frame determination unit 300 can generate windows #1 to #1717, and can calculate 1717 standard deviations corresponding to each window.

한편, 본 발명의 일 실시예로서, 상기 윈도우의 크기 및 윈도우가 이동하는 간격은 상기 컴퓨팅시스템부(1000)의 운영자에 의해 설정될 수 있다. 윈도우의 크기를 크게 설정할수록 동적프레임이 존재하는 구간의 검출 정확도는 떨어지나 연산속도는 증가하고, 윈도우의 크기를 작게 설정할수록 검출 정확도는 증가하나, 연산속도가 감소하고 연산부하가 증가할 수 있다. 또한 윈도우의 이동간격은 윈도우의 크기 이하로 설정되는 것이 바람직하며, 윈도우의 이동간격이 클수록 연산속도가 증가하고 연산부하를 감소시킬 수 있으나, 검출 정확도가 감소할 수 있고, 윈도우의 이동간격이 작을수록 검출 정확도는 증가하나, 연산속도가 감소하고 연산부하가 증가할 수 있다.Meanwhile, as an embodiment of the present invention, the size of the window and the interval at which the window moves may be set by an operator of the computing system unit 1000. As the size of the window increases, the detection accuracy of the section where the dynamic frame exists decreases, but the operation speed increases. As the size of the window decreases, the detection accuracy increases, but the operation speed decreases and the operation load may increase. In addition, the movement interval of the window is preferably set to be less than the size of the window, and the larger the movement interval of the window, the higher the calculation speed and the lower the calculation load, but the lower the detection accuracy.

이하에서의 설명에서는 이해를 돕기 위해 윈도우의 크기를 10으로 설정하고 윈도우의 이동간격을 1로 기설정된 것을 바탕으로 서술한다. 다만, 이와 같은 기설정값은 본 발명의 일 실시예일 뿐이며, 본 발명의 다양한 실시예에 따르면, 상기 컴퓨팅시스템부(1000)의 운영자에 의해 다양한 기설정값으로 설정될 수 있다. In the following description, the size of the window is set to 10 and the movement interval of the window is preset to 1 for better understanding. However, such preset values are only one embodiment of the present invention, and according to various embodiments of the present invention, various preset values may be set by an operator of the computing system unit 1000 .

도 10은 본 발명의 일 실시예에 따른 몇 개의 윈도우에 포함되는 MSE값들에 대한 표준편차와 제2임계치를 비교하는 표를 개략적으로 도시한다.10 schematically shows a table comparing standard deviations and second threshold values for MSE values included in several windows according to an embodiment of the present invention.

도 10에 도시된 바와 같이, 상기 동적프레임판단부(300)에서는, 본 발명의 일 실시예에 따르면, 윈도우#1 내지 윈도우#(N+1) 각각에 해당되는 표준편차와 상기 제2임계치를 비교하고, 비교 결과를 토대로 각각의 윈도우에 동적프레임이 존재하는지 여부를 판단할 수 있다. As shown in FIG. 10, according to an embodiment of the present invention, the dynamic frame determining unit 300 compares the standard deviation corresponding to each of windows #1 to #(N+1) with the second threshold, and determines whether a dynamic frame exists in each window based on the comparison result.

한편, 도 10에 도시된 표는 본 발명에서, 도 7에 대한 설명에서 다룬 실시예의 설명을 위해 도시된 것이다.Meanwhile, the table shown in FIG. 10 is shown for description of the embodiment dealt with in the description of FIG. 7 in the present invention.

도 10에 도시된 바와 같이, 본 발명의 일 실시예로서, 윈도우#1에는 1번 내지 10번에 해당하는 MSE값들이 포함되어 있으며, 상기 #1 내지 #10에 해당하는 MSE값들의 표준편차를 산출한 결과값은 3.7이다. 한편, 도 7에 대한 설명을 참고하여 산출된 상기 제2임계치의 값은 19.48이다. 상기 윈도우#1에 해당하는 표준편차가 상기 제2임계치 미만으로 판단되기 때문에 상기 윈도우#1에는 동적프레임이 존재하지 않으며, 즉 1번 내지 10번에 해당하는 MSE값들에 해당하는 I프레임은 동적프레임으로 판단되지 않는다.As shown in FIG. 10, as an embodiment of the present invention, window #1 includes MSE values corresponding to Nos. 1 to 10, and the standard deviation of the MSE values corresponding to #1 to #10 is calculated. The result is 3.7. Meanwhile, the value of the second threshold calculated with reference to the description of FIG. 7 is 19.48. Since the standard deviation corresponding to the window #1 is determined to be less than the second threshold, no dynamic frame exists in the window #1, that is, I frames corresponding to MSE values 1 to 10 are not determined as dynamic frames.

마찬가지의 방식으로 윈도우#2에 해당하는 표준편차는, 도 10에 도시된 바와 같이, 상기 제2임계치 미만으로 산출되었기 때문에, 2번 내지 11번에 해당하는 MSE값들에 해당하는 I프레임은 동적프레임으로 판단되지 않는다.In the same way, since the standard deviation corresponding to window # 2 is calculated to be less than the second threshold, as shown in FIG. 10, I frames corresponding to MSE values 2 to 11 are not determined as dynamic frames.

한편, N번째 윈도우에 해당하는 윈도우#N에 포함되는 #N 내지 #(N+9)에 해당하는 MSE값들의 표준편차가 25.1로 산출되는 경우, 상기 제2임계치보다 높은 표준편차가 산출되었기 때문에 #N 내지 #(N+9)에 해당하는 MSE값들에 해당하는 I프레임은 동적프레임으로 판단된다. On the other hand, when the standard deviation of the MSE values corresponding to #N to #(N+9) included in window #N corresponding to the Nth window is calculated to be 25.1, the standard deviation higher than the second threshold is calculated. I frames corresponding to MSE values corresponding to #N to #(N + 9) are determined to be dynamic frames.

또한, 하나의 MSE값에 대하여 동적프레임으로 판단되지 않는 경우와 동적프레임으로 판단되는 경우가 발생하는 경우 즉, 하나의 MSE값이 복수의 윈도우 각각에 포함되고, 상기 복수의 윈도우 가운데 어느 윈도우의 표준편차가 상기 제2임계치 이상이나, 다른 윈도우의 표준편차가 상기 제2임계치 미만인 경우, 해당 MSE값에 해당하는 I프레임은 동적프레임으로 판단된다. 예를 들어, 123번에 해당하는 MSE값의 경우 윈도우#122의 표준편차는 제2임계치미만이지만 윈도우#123의 표준편차는 제2임계치 이상일 수 있다. 이 때, 윈도우#122와 윈도우#123에 모두 포함되는 123번에 해당하는 MSE값에 해당하는 I프레임은 동적프레임으로 판단된다. In addition, when one MSE value is not determined as a dynamic frame or determined as a dynamic frame, that is, when one MSE value is included in each of a plurality of windows, and the standard deviation of one of the plurality of windows is greater than the second threshold or the standard deviation of another window is less than the second threshold, the I frame corresponding to the corresponding MSE value is determined to be a dynamic frame. For example, in the case of the MSE value corresponding to number 123, the standard deviation of window #122 is less than the second threshold, but the standard deviation of window #123 may be greater than or equal to the second threshold. At this time, the I frame corresponding to the MSE value corresponding to number 123 included in both window #122 and window #123 is determined as a dynamic frame.

도 11은 본 발명의 일 실시예에 따른 동적프레임판단단계(S300)를 포함하는, 동적프레임 존재구간 검출방법의 전체적인 수행단계를 개략적으로 도시한다.FIG. 11 schematically illustrates the overall execution steps of a method for detecting a dynamic frame existence period including a dynamic frame determining step (S300) according to an embodiment of the present invention.

도 11에 도시된 바와 같이, 상기 동적프레임판단단계(S300)는, 산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 표준편차를 산출하는 단계(S330); 상기 표준편차와 제3임계치를 비교하는 단계(S331); 및 N번째 MSE값을 포함하는 1이상의 윈도우에 대해서, 상기 윈도우에 포함된 복수의 MSE값들의 표준편차가 상기 제3임계치보다 큰 윈도우가 존재하면, 상기 N번째 MSE값에 해당하는 I프레임을 동적프레임으로 판단하는 단계(S332);를 포함하고,As shown in FIG. 11, the dynamic frame determination step (S300) includes a step of calculating a standard deviation of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values (S330); Comparing the standard deviation with a third threshold (S331); And for one or more windows including the N-th MSE value, if a window in which the standard deviation of a plurality of MSE values included in the window is greater than the third threshold exists, determining an I frame corresponding to the N-th MSE value as a dynamic frame (S332);

상기 제3임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제3기준MSE산출단계; 상기 제3기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및 상기 표준편차에 기초하여 상기 제3임계치를 결정하는 제3임계치결정단계;에 의하여 결정된다. The third threshold is a third reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; Calculating a standard deviation of the MSE values calculated from the third reference MSE calculation step; and a third threshold value determining step of determining the third threshold based on the standard deviation.

한편, 도 11에 도시된 상기 동적프레임판단단계(S300)는 본 발명의 일 실시예로서 수행될 수 있고, 도 5 및 도 7에서 상술한 실시예와는 다른 실시예로서 수행될 수 있다. 상기 동적프레임판단단계(S300)가 수행되기 전에는, 도 4에 대한 설명을 참고하여, 상기 I프레임디코딩단계(S100) 및 상기 MSE산출단계(S200)가 수행된다.Meanwhile, the dynamic frame determination step (S300) shown in FIG. 11 may be performed as an embodiment of the present invention, and may be performed as an embodiment different from the embodiments described above in FIGS. 5 and 7. Before the dynamic frame determination step (S300) is performed, referring to the description of FIG. 4, the I frame decoding step (S100) and the MSE calculation step (S200) are performed.

구체적으로, 단계 S330에서는, 상기 MSE산출단계(S200)에서 산출된 복수의 MSE값들에 대해 슬라이딩윈도우방식을 적용한다. 여기서 적용되는 슬라이딩윈도우방식은 도 8 내지 도 9에 대한 설명에서 상술한 바와 같은 방식으로 진행된다. 상기 슬라이딩윈도우방식을 적용한 뒤, 상기 동적프레임판단부(300)에 의해, N번째 MSE를 포함하는 윈도우에 포함되는 MSE값들의 표준편차를 산출할 수 있다. 예를 들어, 324번째 MSE를 포함하는 윈도우는 윈도우#313 내지 윈도우#324에 해당한다. 즉, 상기 단계 S330에서는 상기 동적프레임판단부(300)에 의해, 상기 윈도우#313 내지 윈도우#324 각각에 포함되는 MSE값들의 표준편차를 구할 수 있다. Specifically, in step S330, the sliding window method is applied to the plurality of MSE values calculated in the MSE calculation step (S200). The sliding window method applied here proceeds in the same manner as described above in the description of FIGS. 8 to 9 . After applying the sliding window method, the standard deviation of MSE values included in the window including the Nth MSE may be calculated by the dynamic frame determining unit 300 . For example, the window including the 324th MSE corresponds to window #313 to window #324. That is, in the step S330, the standard deviation of the MSE values included in each of the windows #313 to #324 can be obtained by the dynamic frame determining unit 300.

단계 S331에서는, 단계 S330에서 산출한 윈도우#(N-9) 내지 윈도우#N에 해당하는 표준편차 중 상기 제3임계치를 넘는 표준편차를 갖는 윈도우를 검출한다. 단계 S332에서는, 만약 상기 윈도우#(N-9) 내지 윈도우#N에 해당하는 표준편차 중 상기 제3임계치를 넘는 표준편차를 갖는 윈도우가 검출되면, N번째 MSE를 동적프레임으로 판단한다. In step S331, a window having a standard deviation exceeding the third threshold is detected among the standard deviations corresponding to window #(N-9) to window #N calculated in step S330. In step S332, if a window having a standard deviation exceeding the third threshold is detected among the standard deviations corresponding to the window #(N-9) to window #N, the N-th MSE is determined as a dynamic frame.

상술한 바와 같이 도 11에서의 실시예와 도 7에서의 실시예의 가장 큰 차이점은 하나의 MSE값에 대해 해당 MSE값을 포함하는 복수의 윈도우의 결과를 바탕으로 해당 MSE값에 해당하는 I프레임을 동적프레임으로 판단하는 것이다. As described above, the biggest difference between the embodiment in FIG. 11 and the embodiment in FIG. 7 is that the I frame corresponding to the MSE value is determined as a dynamic frame based on the results of a plurality of windows including the MSE value for one MSE value.

즉, 도 7에서의 실시예에서는, 하나의 윈도우에 포함되는 복수의 MSE값에 해당하는 모든 I프레임을 한꺼번에 동적프레임인지를 판단하는 반면, 도 11에서의 실시예에서는 하나의 특정 MSE값을 상기 특정 MSE값을 포함하는 복수의 윈도우 각각의 표준편차와 상기 제3임계치와의 비교 결과에 기초하여 상기 특정 MSE값에 해당하는 I프레임들이 동적프레임인지를 판단한다.That is, in the embodiment of FIG. 7, it is determined whether all I frames corresponding to a plurality of MSE values included in one window are dynamic frames at once, whereas in the embodiment of FIG.

따라서, 도 11에서의 실시예는 도 7에서의 실시예보다 높은 정확도의 결과값을 도출할 수 있으며, 슬라이딩윈도우방식을 사용함으로써 도 5에서의 실시예에 비해 빠른 연산속도를 기대할 수 있는 효과를 발휘할 수 있다. 이와 같은 효과를 바탕으로, 상기 도 11에서의 실시예는, 상기 도 5 및 도 7에서의 실시예와 비교하였을 때 다양한 목적으로 사용될 수 있는 특징을 가진다.Therefore, the embodiment in FIG. 11 can derive results with higher accuracy than the embodiment in FIG. 7, and by using the sliding window method, a faster calculation speed can be expected compared to the embodiment in FIG. 5. Can be. Based on these effects, the embodiment in FIG. 11 has characteristics that can be used for various purposes compared to the embodiments in FIGS. 5 and 7.

한편, 상기 제3임계치는, 상기 제2임계치와 같이, 상기 학습영상데이터를 통해 설정될 수 있다. 상기 학습영상데이터는, 도 5에 대한 설명을 참고하여, 움직임이 존재하지 않는 영상을 포함하는 영상데이터에서 움직임이 존재하지 않는 구간의 I프레임을 추출하여 생성한 데이터에 해당한다. Meanwhile, the third threshold, like the second threshold, may be set through the learning image data. The learning image data corresponds to data generated by extracting an I frame of a section in which motion does not exist from image data including an image in which motion does not exist, with reference to the description of FIG. 5 .

상기 학습영상데이터의 각각의 I프레임에 대하여 MSE값을 산출하는 상기 제3기준MSE산출단계를 수행하고, 이후 상기 학습영상데이터의 모든 MSE값의 표준편차를 산출하는 단계를 수행한다. 바람직하게는, 상기 표준편차를 산출하기 이전에 상기 모든 MSE값의 평균을 산출하는 단계를 수행한다. 상기 표준편차를 산출한 이후, 상기 표준편차에 기초하여 상기 제3임계치를 결정하는 상기 제3임계치결정단계를 수행할 수 있다.The third standard MSE calculation step of calculating the MSE value for each I-frame of the training image data is performed, and then the standard deviation of all MSE values of the training image data is calculated. Preferably, the step of calculating the average of all the MSE values is performed before calculating the standard deviation. After calculating the standard deviation, the third threshold value determining step of determining the third threshold value based on the standard deviation may be performed.

도 12는 본 발명의 일 실시예에 따른 몇 개의 윈도우에 포함되는 MSE값들에 대한 표준편차와 제3임계치를 비교하는 표를 개략적으로 도시한다.12 schematically shows a table comparing standard deviations and third thresholds for MSE values included in several windows according to an embodiment of the present invention.

도 12에 도시된 바와 같이, 상기 동적프레임판단부(300)에서는, 본 발명의 일 실시예에 따르면, 윈도우#(N-9) 내지 윈도우#N 각각에 해당되는 표준편차와 상기 제3임계치를 비교하고, 비교 결과를 토대로 N번째 MSE가 동적프레임에 해당하는지 여부를 판단할 수 있다. 또한, 도 12에 도시된 표는 도 11에 대한 설명에서 다룬 상기 동적프레임판단단계(S300)의 실시예에 기초하여 도시하였다.As shown in FIG. 12, according to an embodiment of the present invention, the dynamic frame determination unit 300 compares the standard deviation corresponding to each of windows #(N-9) to window #N with the third threshold, and based on the comparison result, it can be determined whether the Nth MSE corresponds to a dynamic frame. In addition, the table shown in FIG. 12 is based on the embodiment of the dynamic frame determination step (S300) dealt with in the description of FIG. 11.

한편, 도 12에 도시된 표는 본 발명에서, 도 11에 대한 설명에서 다룬 실시예의 설명을 위해 도시된 것이다.Meanwhile, the table shown in FIG. 12 is shown for description of the embodiment dealt with in the description of FIG. 11 in the present invention.

도 12에 도시된 바와 같이, 본 발명의 일 실시예로서, 윈도우#(N-9)에는 (N-9)번 내지 N번에 해당하는 MSE값들이 포함되어 있으며, 상기 (N-9)번 내지 N번에 해당하는 MSE값들의 표준편차를 산출한 결과값은 5.12이다. 한편, 도 11에 대한 설명을 참고하여 산출된 상기 제3임계치의 값은 18.36이다. 즉 윈도우#(N-9)에 해당하는 표준편차는 상기 제3임계치 미만의 값을 갖는다. 마찬가지의 방식으로 윈도우#(N-8)에 해당하는 표준편차는, 도 12에 도시된 바와 같이, 6.38로 상기 제3임계치미만으로 산출되었다.As shown in FIG. 12, as an embodiment of the present invention, window # (N-9) includes MSE values corresponding to (N-9) to N, and the standard deviation of the MSE values corresponding to (N-9) to N is calculated and the result value is 5.12. Meanwhile, the value of the third threshold calculated with reference to the description of FIG. 11 is 18.36. That is, the standard deviation corresponding to window # (N-9) has a value less than the third threshold. In the same way, the standard deviation corresponding to window # (N-8) was calculated to be 6.38, which is less than the third threshold value, as shown in FIG. 12 .

한편, 윈도우#N에 해당하는 표준편차는 23.31로 산출되어 상기 제3임계치 이상에 해당된다. 즉 N번째 MSE값을 포함하는 윈도우 중 제3임계치 이상의 표준편차를 가지는 윈도우가 존재하므로, 상기 N번째 MSE값에 해당되는 I프레임은 동적프레임으로 판단된다.On the other hand, the standard deviation corresponding to window #N is calculated as 23.31 and corresponds to the third threshold or higher. That is, since there exists a window having a standard deviation greater than the third threshold among windows including the N-th MSE value, the I-frame corresponding to the N-th MSE value is determined to be a dynamic frame.

즉, 예를 들어, 24번에 해당하는 MSE에 해당하는 I프레임이 동적프레임에 해당하는지 판단하기 위해, 상기 동적프레임판단부(300)는 상기 24번에 해당하는 MSE값을 포함하는 모든 윈도우의 표준편차를 산출한다. 이와 같은 경우에는 윈도우#15 내지 윈도우#24가 24번에 해당하는 MSE값을 포함하는 윈도우에 해당한다. 상기 윈도우#15 내지 윈도우#24에 해당하는 각각의 표준편차 중 어느 하나라도 상기 제3임계치 이상이 되는 경우 상기 24번에 해당하는 MSE값에 해당하는 I프레임은 동적프레임에 해당한다. 만약 윈도우#15 내지 윈도우#24에 해당하는 각각의 표준편차가 모두 상기 제3임계치 미만으로 산출되는 경우 상기 24번에 해당하는 MSE값에 해당하는 I프레임은 동적프레임으로 판단되지 않는다.That is, for example, in order to determine whether an I frame corresponding to MSE corresponding to No. 24 corresponds to a dynamic frame, the dynamic frame determination unit 300 calculates the standard deviation of all windows including the MSE value corresponding to No. 24. In this case, window #15 to window #24 correspond to the window including the MSE value corresponding to number 24. If any one of the standard deviations corresponding to the windows #15 to #24 is greater than or equal to the third threshold, the I frame corresponding to the MSE value corresponding to the number 24 corresponds to a dynamic frame. If all of the standard deviations corresponding to windows #15 to #24 are calculated to be less than the third threshold, the I frame corresponding to the MSE value corresponding to the number 24 is not determined as a dynamic frame.

도 13은 본 발명의 일 실시예에 따른 동적프레임판단단계(S300)를 포함하는, 동적프레임 존재구간 검출방법의 전체적인 수행단계를 개략적으로 도시한다.FIG. 13 schematically illustrates the overall execution steps of a method for detecting a dynamic frame existence period including a dynamic frame determining step (S300) according to an embodiment of the present invention.

도 13에 도시된 바와 같이, 상기 동적프레임판단단계(S300)는, 산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 평균값 및 표준편차를 산출하는 단계(S340); 상기 표준편차와 제4임계치를 비교하는 단계(S341); N번째 MSE값을 포함하는 1이상의 윈도우에 대해서, 상기 윈도우에 포함된 복수의 MSE값들의 표준편차가 상기 제4임계치보다 큰 윈도우가 존재하면, 상기 N번째 MSE값에 해당하는 I프레임을 제1예비동적프레임으로 판단하는 제1판단단계(S342); 상기 평균값과 제5임계치를 비교하는 단계(S343); N번째 MSE값을 포함하는 1이상의 윈도우에 대해서, 상기 윈도우에 포함된 복수의 MSE값들의 평균값이 상기 제5임계치보다 큰 윈도우가 존재하면, 상기 N번째 MSE값에 해당하는 I프레임을 제2예비동적프레임으로 판단하는 제2판단단계(S344); 및 상기 제1판단단계에서 제1예비동적프레임으로 판단되고, 상기 제2판단단계에서 제2예비동적프레임으로 판단된 I프레임에 대하여, 상기 I프레임을 동적프레임으로 판단하는 단계(S345);를 포함하고,As shown in FIG. 13, the dynamic frame determination step (S300) includes calculating an average value and standard deviation of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values (S340); Comparing the standard deviation with a fourth threshold (S341); For one or more windows including the N-th MSE value, if there exists a window in which the standard deviation of the plurality of MSE values included in the window is greater than the fourth threshold, an I frame corresponding to the N-th MSE value is determined as a first preliminary dynamic frame. A first determination step (S342); Comparing the average value with a fifth threshold (S343); For one or more windows including the N-th MSE value, if there exists a window in which the average value of the plurality of MSE values included in the window is greater than the fifth threshold, an I frame corresponding to the N-th MSE value is determined as a second preliminary dynamic frame. A second determination step (S344); And determining the I-frame as a dynamic frame with respect to the I-frame determined as the first pre-dynamic frame in the first determination step and the second preliminary-dynamic frame in the second determination step (S345);

상기 제4임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제4기준MSE산출단계; 상기 제4기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및 상기 표준편차에 기초하여 상기 제4임계치를 결정하는 제4임계치결정단계;에 의하여 결정되며,The fourth threshold value includes a fourth reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; Calculating a standard deviation of the MSE values calculated from the fourth reference MSE calculation step; and a fourth threshold value determining step of determining the fourth threshold based on the standard deviation.

상기 제5임계치는, 움직임이 없는 것으로 라벨링 된 I프레임을 포함하는 학습영상데이터의 각각의 프레임에 대하여 MSE값을 산출하는 제5기준MSE산출단계; 상기 제5기준MSE산출단계로부터 산출된 MSE값의 평균값을 산출하는 제5기준평균값산출단계; 및 상기 제5기준평균값산출단계에서 산출된 평균값에 기초하여 상기 제5임계치를 결정하는 제5임계치결정단계;에 의하여 결정된다.The fifth threshold value includes a fifth reference MSE calculation step of calculating an MSE value for each frame of training image data including an I frame labeled as having no motion; a fifth reference mean value calculation step of calculating an average value of the MSE values calculated from the fifth reference MSE calculation step; and a fifth threshold value determination step of determining the fifth threshold value based on the average value calculated in the fifth reference mean value calculation step.

한편, 도 13에 도시된 상기 동적프레임판단단계(S300)는 본 발명의 일 실시예로서 수행될 수 있고, 도 5, 도7, 및 도 11에 대한 설명에서 상술한 실시예와는 다른 실시예로서 수행될 수 있다. 상기 동적프레임판단단계(S300)가 수행되기 전에는, 도 4에 대한 설명을 참고하여, 상기 I프레임디코딩단계(S100) 및 MSE산출단계(S200)가 수행된다.Meanwhile, the dynamic frame determination step (S300) shown in FIG. 13 may be performed as an embodiment of the present invention, and may be performed as an embodiment different from the embodiment described above in the description of FIGS. 5, 7, and 11. Before the dynamic frame determination step (S300) is performed, referring to the description of FIG. 4, the I frame decoding step (S100) and the MSE calculation step (S200) are performed.

구체적으로, 단계 S340에서는 상기 MSE산출단계(S200)에서 산출된 복수의 MSE값들에 대해 슬라이딩윈도우방식을 적용한다. 여기서 적용되는 슬라이딩윈도우방식은 도 8 내지 도 9에 대한 설명에서 상술한 바와 같은 방식으로 진행된다. 상기 슬라이딩윈도우방식을 적용한 뒤, 상기 동적프레임판단부(300)에 의해, N번째 MSE값을 포함하는 윈도우에 포함되는 MSE값들의 평균값 및 표준편차를 산출할 수 있다. 바람직하게는, 상기 표준편차를 산출하기 이전에 상기 MSE값의 평균을 산출하는 단계를 수행한다.Specifically, in step S340, the sliding window method is applied to the plurality of MSE values calculated in the MSE calculation step (S200). The sliding window method applied here proceeds in the same manner as described above in the description of FIGS. 8 to 9 . After applying the sliding window method, the average value and standard deviation of the MSE values included in the window including the Nth MSE value may be calculated by the dynamic frame determining unit 300 . Preferably, calculating the average of the MSE values is performed before calculating the standard deviation.

단계 S341에서는, 단계 S340에서 산출한 윈도우#(N-9) 내지 윈도우#N에 해당하는 표준편차 중 상기 제4임계치를 넘는 표준편차를 갖는 윈도우를 검출한다.In step S341, a window having a standard deviation exceeding the fourth threshold is detected among the standard deviations corresponding to window #(N-9) to window #N calculated in step S340.

단계 S342에서는, 만약 윈도우#(N-9) 내지 윈도우#N에 해당하는 표준편차 중 상기 제4임계치를 넘는 표준편차를 갖는 윈도우가 검출되면, N번째 MSE값에 해당하는 I프레임을 상기 제1예비동적프레임으로 판단하는 상기 제1판단단계가 수행된다. 본 발명의 일 실시예로서, 상기 단계 S340 내지 단계 S342에서 수행되는 상기 제1판단단계는, 도 11에 대한 설명에서 다룬 실시예에서의 동적프레임판단단계(S300)와 동일한 수행단계를 통해 수행될 수 있다.In step S342, if a window having a standard deviation exceeding the fourth threshold is detected among standard deviations corresponding to windows # (N-9) to window # N, the I frame corresponding to the N-th MSE value is determined as the first preliminary dynamic frame. The first determination step is performed. As an embodiment of the present invention, the first determination step performed in steps S340 to S342 may be performed through the same steps as the dynamic frame determination step (S300) in the embodiment described in the description of FIG. 11 .

단계 S343에서는, 상기 단계 S340에서 산출된 윈도우#(N-9) 내지 윈도우#N에 해당하는 평균값 중 상기 제5임계치를 넘는 평균값을 갖는 윈도우를 검출한다.In step S343, a window having an average value exceeding the fifth threshold among average values corresponding to window #(N-9) to window #N calculated in step S340 is detected.

단계 S344에서는, 만약 윈도우#(N-9) 내지 윈도우#N에 해당하는 평균값 중 상기 제5임계치를 넘는 평균값을 갖는 윈도우가 검출되면, N번째 MSE값에 해당하는 I프레임을 상기 제2예비동적프레임으로 판단하는 상기 제2판단단계가 수행된다.In step S344, if a window having an average value exceeding the fifth threshold is detected among the average values corresponding to windows # (N-9) to window # N, the I frame corresponding to the N-th MSE value is the second pre-dynamic. The second determination step of determining the frame is performed.

단계 S345에서는, 상기 제1판단단계에서 상기 제1예비동적프레임으로 판단되고, 상기 제2판단단계에서 상기 제2예비동적프레임으로 판단된 I프레임을 동적프레임으로 판단한다. In step S345, the I frame determined to be the first preliminary dynamic frame in the first determination step and the second preliminary dynamic frame in the second determination step is determined to be a dynamic frame.

상술한 바와 같이, 도 13에 대한 설명에서 상기 동적프레임판단단계(S300)의 실시예는, 상기 도 11에서의 실시예에서 상기 제2판단단계를 더 수행함으로써 보다 더 뚜렷한 움직임이 있는 객체가 있는 구간을 검출할 수 있는 효과를 발휘할 수 있다. 즉, 예를 들어, 사람과 자동차가 같이 다니는 골목길과 같은 곳에 설치된 CCTV로 기록된 영상에 대해서 차량이 지나간 구간만을 검출하고 싶을 때 상기 도 13에서의 실시예를 사용하는 것이 바람직하다.As described above, in the embodiment of the dynamic frame determination step (S300) in the description of FIG. 13, by further performing the second determination step in the embodiment in FIG. That is, it is preferable to use the embodiment in FIG. 13 when it is desired to detect only a section where a vehicle has passed for an image recorded by a CCTV installed in a place such as an alley where people and cars go together, for example.

한편, 상기 제4임계치는, 상기 제3임계치와 같이, 상기 학습영상데이터를 통해 설정될 수 있다. 상기 학습영상데이터는, 도 5에 대한 설명을 참고하여, 움직임이 존재하지 않는 영상을 포함하는 영상데이터에서 움직임이 존재하지 않는 구간의 I프레임을 추출하여 생성한 데이터에 해당하며, 상기 학습영상데이터 각각의 I프레임에 해당하는 복수의 MSE값을 산출하는 상기 제4기준MSE산출단계를 수행하고, 이후 상기 MSE값의 표준편차를 산출하는 단계를 수행한다. 상기 표준편차를 산출한 이후, 상기 표준편차에 기초하여 상기 제4임계치를 결정하는 상기 제4임계치결정단계를 수행할 수 있다. Meanwhile, the fourth threshold, like the third threshold, may be set through the learning image data. Referring to the description of FIG. 5, the learning image data corresponds to data generated by extracting an I frame of a section in which motion does not exist from image data including an image in which motion does not exist. The fourth reference MSE calculation step of calculating a plurality of MSE values corresponding to each I frame of the learning image data is performed, and then the standard deviation of the MSE value is calculated. After calculating the standard deviation, the fourth threshold value determining step of determining the fourth threshold value based on the standard deviation may be performed.

또한, 상기 제5임계치는, 상기 제1임계치와 같이, 상기 학습영상데이터를 통해 설정될 수 있다. 상기 학습영상데이터는, 도 5에 대한 설명을 참고하여, 움직임이 존재하지 않는 영상을 포함하는 영상데이터에서 움직임이 존재하지 않는 구간의 I프레임을 추출하여 생성한 데이터에 해당하며, 상기 학습영상데이터의 각각의 프레임에 해당하는 복수의 MSE값을 산출하는 상기 제5기준MSE산출단계를 수행한 이후에, 상기 MSE값의 평균값을 산출하는 단계를 수행하고, 상기 제5기준평균값산출단계에서 산출된 평균값에 기초하여 상기 제5임계치를 결정하는 상기 제5임계치결정단계를 수행할 수 있다. Also, the fifth threshold, like the first threshold, may be set through the learning image data. The learning image data corresponds to data generated by extracting an I frame of a section in which motion does not exist from image data including an image in which motion does not exist, with reference to the description of FIG. A fifth threshold value determination step may be performed.

도 14는 본 발명의 일 실시예에 따른 몇 개의 윈도우에 포함되는 MSE값들에 대한 평균값 및 표준편차를 각각 제4임계치 및 제5임계치와 비교하는 표를 개략적으로 도시한다. FIG. 14 schematically shows a table comparing average values and standard deviations of MSE values included in several windows with fourth and fifth threshold values, respectively, according to an embodiment of the present invention.

개략적으로, 도 14의 (a)는 상기 제1판단단계를 수행하기 위해, 본 발명의 일 실시예로서, 윈도우#(N-9) 내지 윈도우#N 각각에 해당되는 표준편차를 상기 제4임계치와 비교한 표를 도시하고, 도 14의 (b)는 상기 제2판단단계를 수행하기 위해, 본 발명의 일 실시예로서, 윈도우#(N-9) 내지 윈도우#N 각각에 해당되는 평균값을 상기 제5임계치와 비교한 표를 도시한다.Schematically, FIG. 14(a) shows a table comparing standard deviations corresponding to windows #(N-9) to window #N with the fourth threshold as an embodiment of the present invention in order to perform the first judgment step, and FIG. show

한편, 도 14에 도시된 표는 본 발명에서, 도 13에 대한 설명에서 다룬 실시예의 설명을 위해 도시된 것이다.Meanwhile, the table shown in FIG. 14 is shown for description of the embodiment dealt with in the description of FIG. 13 in the present invention.

도 14의 (a)에 도시된 바와 같이, 본 발명의 일 실시예로서, 윈도우#(N-9)에는 (N-9)번 내지 N번에 해당하는 MSE값들이 포함되어 있으며, 상기 (N-9)번 내지 N번에 해당하는 MSE값들의 표준편차를 산출한 결과값은 5.12이다. 한편, 도 13에 대한 설명을 참고하여 산출된 상기 제4임계치의 값은 18.36이다. 즉, 윈도우#(N-9)에 해당하는 표준편차는 상기 제4임계치 미만의 값을 갖는다. 마찬가지의 방식으로 윈도우#(N-8)에 해당하는 표준편차는, 도 14의 (a)에 도시된 바와 같이, 상기 제4임계치미만으로 산출되었다.As shown in (a) of FIG. 14, as an embodiment of the present invention, window # (N-9) includes MSE values corresponding to (N-9) to N, and the standard deviation of the MSE values corresponding to (N-9) to N is 5.12. Meanwhile, the value of the fourth threshold calculated with reference to the description of FIG. 13 is 18.36. That is, the standard deviation corresponding to window #(N-9) has a value less than the fourth threshold. In the same manner, the standard deviation corresponding to window # (N-8) was calculated to be less than the fourth threshold, as shown in (a) of FIG. 14 .

한편, 윈도우#N에 해당하는 표준편차는 23.31로 산출되어 상기 제4임계치 이상에 해당된다. 즉 N번째 MSE값을 포함하는 윈도우 중 제4임계치 이상의 표준편차를 가지는 윈도우가 존재하므로, 상기 N번째 MSE값에 해당되는 I프레임은 제1예비동적프레임으로 판단된다. 만약, 본 발명의 다른 실시예로서, 상기 윈도우#(N-9) 내지 윈도우#N에 해당하는 각각의 표준편차가 모두 상기 제4임계치 미만의 경우, 상기 N번째 MSE값에 해당되는 I프레임은 제1예비동적프레임으로 판단되지 않는다. On the other hand, the standard deviation corresponding to window #N is calculated as 23.31 and corresponds to the fourth threshold or higher. That is, since there is a window having a standard deviation greater than the fourth threshold among windows including the N-th MSE value, the I-frame corresponding to the N-th MSE value is determined to be the first preliminary dynamic frame. If, as another embodiment of the present invention, if the standard deviations corresponding to the windows # (N-9) to windows # N are all less than the fourth threshold, the I frame corresponding to the N-th MSE value is not determined as a first preliminary dynamic frame.

도 14의 (b)에 도시된 바와 같이, 본 발명의 일 실시예로서, 윈도우#(N-9)에는 (N-9)번 내지 N번에 해당하는 MSE값들이 포함되어 있으며, 상기 (N-9)번 내지 N번에 해당하는 MSE값들의 평균값을 산출한 결과값은 2.8이다. 한편, 도 13에 대한 설명을 참고하여 산출된 상기 제5임계치의 값은 12.41이다. 즉, 윈도우#(N-9)에 해당하는 평균값은 상기 제5임계치 미만의 값을 갖는다. 마찬가지의 방식으로 윈도우#(N-8)에 해당하는 평균값은, 도 14의 (b)에 도시된 바와 같이, 상기 제5임계치미만으로 산출되었다.As shown in (b) of FIG. 14, as an embodiment of the present invention, window # (N-9) includes MSE values corresponding to (N-9) to N, and the result of calculating the average value of the MSE values corresponding to (N-9) to N is 2.8. Meanwhile, the value of the fifth threshold calculated with reference to the description of FIG. 13 is 12.41. That is, the average value corresponding to window #(N-9) has a value less than the fifth threshold. In the same way, the average value corresponding to window #(N-8) was calculated to be less than the fifth threshold, as shown in FIG. 14(b).

한편, 윈도우#N에 해당하는, 즉 N번 내지 (N+9)번에 해당하는 MSE값들의 평균값은 132.4로 산출되어 상기 제5임계치 이상에 해당된다. 즉 N번째 MSE값을 포함하는 윈도우 중 제5임계치 이상의 표준편차를 가지는 윈도우가 존재하므로, 상기 N번째 MSE값에 해당되는 I프레임은 제2예비동적프레임으로 판단된다.On the other hand, the average value of the MSE values corresponding to window #N, that is, N to (N+9), is calculated as 132.4 and corresponds to the fifth threshold or higher. That is, since there is a window having a standard deviation greater than the fifth threshold among windows including the N-th MSE value, the I-frame corresponding to the N-th MSE value is determined to be the second preliminary dynamic frame.

단계 S345에서 상기 제1판단단계에서의 판단결과 및 상기 제2판단단계에서의 판단결과, 상기 N번째 MSE값에 해당하는 I프레임은 동적프레임으로 판단된다.In step S345, as a result of the determination in the first determination step and the determination result in the second determination step, the I frame corresponding to the Nth MSE value is determined to be a dynamic frame.

도 15는 본 발명의 일 실시예에 따른 컴퓨팅장치(11000)의 내부 구성을 예시적으로 도시한다. 15 illustratively illustrates the internal configuration of a computing device 11000 according to an embodiment of the present invention.

도 1에 도시된 구성요소 전체 혹은 일부는 후술하는 도 15에 도시된 컴퓨팅장치의 구성요소를 포함할 수 있다.All or some of the components shown in FIG. 1 may include components of the computing device shown in FIG. 15 to be described later.

도 15에 도시한 바와 같이, 컴퓨팅장치(11000)은 적어도 하나의 프로세서(processor)(11100), 메모리(memory)(11200), 주변장치 인터페이스(peripheral interface)(11300), 입/출력 서브시스템(I/O subsystem)(11400), 전력 회로(11500) 및 통신 회로(11600)를 적어도 포함할 수 있다. As shown in FIG. 15, a computing device 11000 may include at least one processor 11100, memory 11200, peripheral interface 11300, I/O subsystem 11400, power circuit 11500, and communication circuit 11600.

구체적으로, 상기 메모리(11200)는, 일례로 고속 랜덤 액세스 메모리(high-speed random access memory), 자기 디스크, 에스램(SRAM), 디램(DRAM), 롬(ROM), 플래시 메모리 또는 비휘발성 메모리를 포함할 수 있다. 상기 메모리(11200)는 상기 컴퓨팅장치(11000)의 동작에 필요한 소프트웨어 모듈, 명령어 집합 또는 그 밖에 다양한 데이터를 포함할 수 있다.Specifically, the memory 11200 may include, for example, a high-speed random access memory, a magnetic disk, SRAM, DRAM, ROM, flash memory, or non-volatile memory. The memory 11200 may include a software module, a command set, or other various data necessary for the operation of the computing device 11000.

이때, 상기 프로세서(11100)나 상기 주변장치 인터페이스(11300) 등의 다른 컴포넌트에서 상기 메모리(11200)에 액세스하는 것은 상기 프로세서(11100)에 의해 제어될 수 있다. 상기 프로세서(11100)은 단일 혹은 복수로 구성될 수 있고, 연산처리속도 향상을 위하여 GPU 및 TPU 형태의 프로세서를 포함할 수 있다.In this case, access to the memory 11200 from other components, such as the processor 11100 or the peripheral device interface 11300, may be controlled by the processor 11100. The processor 11100 may be composed of single or multiple processors, and may include GPU and TPU type processors in order to improve calculation processing speed.

상기 주변장치 인터페이스(11300)는 상기 컴퓨팅장치(11000)의 입력 및/또는 출력 주변장치를 상기 프로세서(11100) 및 상기 메모리 (11200)에 결합시킬 수 있다. 상기 프로세서(11100)는 상기 메모리(11200)에 저장된 소프트웨어 모듈 또는 명령어 집합을 실행하여 상기 컴퓨팅장치(11000)을 위한 다양한 기능을 수행하고 데이터를 처리할 수 있다.The peripheral interface 11300 may couple input and/or output peripherals of the computing device 11000 to the processor 11100 and the memory 11200 . The processor 11100 may execute a software module or instruction set stored in the memory 11200 to perform various functions for the computing device 11000 and process data.

상기 입/출력 서브시스템(11400)은 다양한 입/출력 주변장치들을 상기 주변장치 인터페이스(11300)에 결합시킬 수 있다. 예를 들어, 상기 입/출력 서브시스템(11400)은 모니터나 키보드, 마우스, 프린터 또는 필요에 따라 터치스크린이나 센서 등의 주변장치를 상기 주변장치 인터페이스(11300)에 결합시키기 위한 컨트롤러를 포함할 수 있다. 다른 측면에 따르면, 상기 입/출력 주변장치들은 상기 입/출력 서브시스템(11400)을 거치지 않고 상기 주변장치 인터페이스(11300)에 결합될 수도 있다.The input/output subsystem 11400 can couple various input/output peripherals to the peripheral interface 11300. For example, the input/output subsystem 11400 may include a controller for coupling a peripheral device such as a monitor, keyboard, mouse, printer, or touch screen or sensor to the peripheral device interface 11300 as needed. According to another aspect, the peripheral input/output devices may be coupled to the peripheral device interface 11300 without going through the input/output subsystem 11400.

상기 전력 회로(11500)는 단말기의 컴포넌트의 전부 또는 일부로 전력을 공급할 수 있다. 예를 들어 상기 전력 회로(11500)는 전력 관리 시스템, 배터리나 교류(AC) 등과 같은 하나 이상의 전원, 충전 시스템, 전력 실패 감지 회로(power failure detection circuit), 전력 변환기나 인버터, 전력 상태 표시자 또는 전력 생성, 관리, 분배를 위한 임의의 다른 컴포넌트들을 포함할 수 있다.The power circuit 11500 may supply power to all or some of the terminal's components. For example, the power circuit 11500 may include a power management system, one or more power sources such as a battery or alternating current (AC), a charging system, a power failure detection circuit, a power converter or inverter, a power status indicator, or any other component for generating, managing, or distributing power.

상기 통신 회로(11600)는 적어도 하나의 외부 포트를 이용하여 다른 컴퓨팅장치와 통신을 가능하게 할 수 있다. 또는, 상술한 바와 같이 필요에 따라 상기 통신 회로(11600)는 RF 회로를 포함하여 전자기 신호(electromagnetic signal)라고도 알려진 RF 신호를 송수신함으로써, 다른 컴퓨팅장치와 통신을 가능하게 할 수도 있다.The communication circuit 11600 may enable communication with another computing device using at least one external port. Alternatively, as described above, the communication circuit 11600 may include an RF circuit and transmit/receive an RF signal, also known as an electromagnetic signal, to enable communication with another computing device.

이러한 도 15의 실시예는, 상기 컴퓨팅장치(11000)의 일례일 뿐이고, 상기 컴퓨팅장치(11000)는 도 15에 도시된 일부 컴포넌트가 생략되거나, 도 15에 도시되지 않은 추가의 컴포넌트를 더 구비하거나, 2 개 이상의 컴포넌트를 결합시키는 구성 또는 배치를 가질 수 있다. 예를 들어, 모바일 환경의 통신 단말을 위한 컴퓨팅장치는 도 15에 도시된 컴포넌트들 외에도, 터치스크린이나 센서 등을 더 포함할 수도 있으며, 상기 통신 회로(1160)에 다양한 통신방식(Wi-Fi, 3G, LTE, Bluetooth, NFC, Zigbee 등)의 RF 통신을 위한 회로가 포함될 수도 있다. 상기 컴퓨팅장치(11000)에 포함 가능한 컴포넌트들은 하나 이상의 신호 처리 또는 어플리케이션에 특화된 집적 회로를 포함하는 하드웨어, 소프트웨어, 또는 하드웨어 및 소프트웨어 양자의 조합으로 구현될 수 있다.The embodiment of FIG. 15 is just one example of the computing device 11000, and the computing device 11000 may omit some of the components shown in FIG. 15, may further include additional components not shown in FIG. 15, or may have a configuration or arrangement in which two or more components are combined. For example, a computing device for a communication terminal in a mobile environment may further include a touch screen or a sensor in addition to the components shown in FIG. Components that may be included in the computing device 11000 may be implemented as hardware including one or more signal processing or application-specific integrated circuits, software, or a combination of both hardware and software.

본 발명의 실시예에 따른 방법들은 다양한 컴퓨팅장치를 통하여 수행될 수 있는 프로그램 명령(instruction) 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 특히, 본 실시예에 따른 프로그램은 PC 기반의 프로그램 또는 모바일 단말 전용의 어플리케이션으로 구성될 수 있다. 본 발명이 적용되는 어플리케이션은 파일 배포 시스템이 제공하는 파일을 통해 이용자 단말에 설치될 수 있다. 일 예로, 파일 배포 시스템은 이용자 단말이기의 요청에 따라 상기 파일을 전송하는 파일 전송부(미도시)를 포함할 수 있다.Methods according to embodiments of the present invention may be implemented in the form of program instructions that can be executed through various computing devices and recorded in computer readable media. In particular, the program according to the present embodiment may be composed of a PC-based program or a mobile terminal-specific application. An application to which the present invention is applied may be installed in a user terminal through a file provided by a file distribution system. For example, the file distribution system may include a file transmission unit (not shown) that transmits the file according to a request of a user terminal.

본 발명의 일 실시예에 따르면, 영상데이터 전체의 비트스트림에서 I프레임만을 구분하여 디코딩함으로써, 종래의 기술보다 적은 시간으로 상기 영상데이터에서 움직임이 존재하는 구간을 검출할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, by distinguishing and decoding only I-frames from a bitstream of the entire video data, an effect of detecting a section in which motion exists in the video data can be achieved in less time than conventional techniques.

본 발명의 일 실시예에 따르면, 최소한의 프레임에 대해서만 영상 처리를 수행함으로써 요구되는 연산 처리 능력이 종래의 기술보다 적게 요구되는 효과를 발휘할 수 있다. According to an embodiment of the present invention, by performing image processing only for a minimum number of frames, it is possible to achieve an effect requiring less computational processing capability than the conventional technology.

본 발명의 일 실시예에 따르면, 적은 연산량임에도 불구하고 높은 정확도로 움직임이 존재하는 구간을 고속으로 검출할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, it is possible to achieve an effect of detecting a section in which motion exists at high speed with high accuracy despite a small amount of computation.

본 발명의 일 실시예에 따르면, 움직임이 존재하는 것으로 판단되는 프레임들에 대해서만 객체탐지 및 객체분석 등을 수행할 수 있어 객체 분석 시 처리되는 연산량을 상당수준으로 감소시킬 수 있는 효과를 발휘할 수 있다. According to an embodiment of the present invention, it is possible to perform object detection and object analysis only for frames in which motion is determined to exist, so that the amount of calculations processed during object analysis can be reduced to a significant level.

본 발명의 일 실시예에 따르면, 최근 고화질 CCTV 영상에 대한 상당한 연산부하가 요구되나, 움직임이 존재하는 프레임만으로 분석대상 영역을 상당수준으로 감소시킬 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, although a significant computational load is required for recent high-definition CCTV images, an effect of reducing the analysis target area to a considerable level can be achieved only with frames in which motion exists.

본 발명의 일 실시예에 따르면, 산출된 MSE값을 패턴화한 뒤 이를 학습함으로써, 객체의 종류를 파악할 수 있고, 학습한 내용을 바탕으로 특정 구역에서의 객체 이동 정보를 획득할 수 있는 효과를 발휘할 수 있다. According to an embodiment of the present invention, by patterning the calculated MSE value and then learning it, the type of object can be identified, and object movement information in a specific area can be obtained based on the learned content.

본 발명의 일 실시예에 따르면, 동적프레임판단부에서 다양한 방법으로 동적프레임을 검출할 수 있고, 동적프레임 검출목적에 따라 상기 다양한 방법을 사용할 수 있는 효과를 발휘할 수 있다. According to an embodiment of the present invention, the dynamic frame determination unit can detect dynamic frames using various methods, and the various methods can be used according to the purpose of detecting dynamic frames.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 컨트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 어플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 컨트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The device described above may be implemented as a hardware component, a software component, and/or a combination of hardware components and software components. For example, the devices and components described in the embodiments may be implemented using one or more general purpose computers or special purpose computers, such as, for example, a processor, controller, arithmetic logic unit (ALU), digital signal processor, microcomputer, field programmable gate array (FPGA), programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions. The processing device may run an operating system (OS) and one or more software applications running on the operating system. A processing device may also access, store, manipulate, process, and generate data in response to execution of software. For convenience of understanding, there are cases in which one processing device is used, but those skilled in the art will recognize that the processing device may include a plurality of processing elements and/or multiple types of processing elements. For example, a processing device may include a plurality of processors or a processor and a controller. Other processing configurations are also possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로 (collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨팅장치 상에 표준편차되어서, 표준편차된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.Software may include a computer program, code, instructions, or a combination of one or more of these, and may configure a processing device to operate as desired, or may independently or collectively direct a processing device. Software and/or data may be permanently or temporarily embodied in any tangible machine, component, physical device, virtual equipment, computer storage medium or device, or transmitted signal wave, to be interpreted by or to provide instructions or data to a processing device. Software may be standardized on a networked computing device and stored or executed in a standardized manner. Software and data may be stored on one or more computer readable media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program commands recorded on the medium may be specially designed and configured for the embodiment or may be known and usable to those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program instructions such as ROM, RAM, and flash memory. Examples of program instructions include high-level language codes that can be executed by a computer using an interpreter, as well as machine language codes such as those produced by a compiler. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다. As described above, although the embodiments have been described with limited examples and drawings, those skilled in the art can make various modifications and variations from the above description. For example, even if the described techniques are performed in an order different from the described method, and/or components of the described system, structure, device, circuit, etc. are combined or combined in a different form from the described method, or replaced or substituted by other components or equivalents, appropriate results can be achieved.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents of the claims are within the scope of the following claims.

Claims (13)

하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 시스템에서 수행되는 HEVC 규약에 따라 인코딩된 영상데이터에 대해 동적프레임이 존재하는 구간의 검출방법으로서,
영상데이터로부터 NAL 유닛을 검출하고, 상기 NAL 유닛의 헤더를 분석하여 상기 영상데이터의 전체 비트스트림에서 복수의 I프레임만을 구분하고 상기 I프레임만을 디코딩하는 I프레임디코딩단계;
디코딩된 I프레임에 대하여, 인접한 2 개의 I프레임 간의 픽셀 차이에 기초하여 상기 인접한 2 개의 I프레임 사이의 MSE값을 산출하는 MSE산출단계;
상기 MSE값에 기초하여, 상기 I프레임이 움직임이 존재하는 동적프레임인지 판단하는 동적프레임판단단계; 및
상기 영상데이터에서 상기 동적프레임이 존재하는 구간을 검출하는 동적프레임존재구간검출단계;를 포함하고,
상기 동적프레임판단단계는,
산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 표준편차를 산출하는 단계;
상기 표준편차와 제2임계치를 비교하는 단계; 및
상기 제2임계치보다 큰 표준편차를 가지는 윈도우에 포함되는 상기 복수의 MSE값들에 해당하는 복수의 I프레임을 동적프레임으로 판단하는 단계;를 포함하고,
상기 제2임계치는,
움직임이 존재하거나 존재하지 않는 영상구간을 모두 포함하는 영상데이터에서 움직임이 없는 것으로 라벨링된 I프레임을 추출하여 생성된 학습영상데이터에 포함되는 I프레임 각각에 대하여 MSE값을 산출하는 제2기준MSE산출단계;
상기 제2기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및
상기 표준편차에 기초하여 상기 제2임계치를 결정하는 제2임계치결정단계;에 의하여 결정되는, 동적프레임이 존재하는 구간의 검출방법.
A method for detecting a section in which a dynamic frame exists for video data encoded according to the HEVC standard performed in a computing system including one or more processors and a main memory storing instructions executable by the processor,
an I-frame decoding step of detecting a NAL unit from video data, analyzing a header of the NAL unit, distinguishing only a plurality of I-frames from the entire bitstream of the video data, and decoding only the I-frames;
MSE calculation step of calculating an MSE value between two adjacent I frames based on a pixel difference between the two adjacent I frames with respect to the decoded I frame;
a dynamic frame determination step of determining whether the I-frame is a dynamic frame in which motion exists, based on the MSE value; and
A dynamic frame existence section detection step of detecting a section in which the dynamic frame exists in the image data;
The dynamic frame determination step,
Calculating standard deviations of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values;
comparing the standard deviation with a second threshold; and
Determining a plurality of I frames corresponding to the plurality of MSE values included in a window having a standard deviation greater than the second threshold as dynamic frames;
The second threshold,
A second reference MSE calculation step of calculating an MSE value for each I frame included in the training image data generated by extracting an I frame labeled as having no motion from image data including both video sections with or without motion;
Calculating a standard deviation of the MSE values calculated from the second reference MSE calculation step; and
A second threshold value determining step of determining the second threshold based on the standard deviation; a method for detecting a section in which a dynamic frame exists.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하고, HEVC 규약에 따라 인코딩된 영상데이터에 대해 움직임이 존재하는 프레임의 검출장치로서,
영상데이터로부터 NAL 유닛을 검출하고, 상기 NAL 유닛의 헤더를 분석하여 상기 영상데이터의 전체 비트스트림에서 I프레임만을 구분하고 상기 I프레임만을 디코딩하는 I프레임디코딩부;
디코딩된 I프레임에 대하여, 인접한 두 I프레임 간의 픽셀 차이에 기초하여 상기 인접한 두 I프레임 사이의 MSE값을 산출하는 MSE산출부;
상기 MSE값에 기초하여, 상기 I프레임이 움직임이 존재하는 동적프레임인지 판단하는 동적프레임판단부; 및
상기 영상데이터에서 상기 동적프레임이 존재하는 구간을 검출하는 동적프레임존재구간검출부;를 포함하고,
상기 동적프레임판단부는,
산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 표준편차를 산출하는 단계;
상기 표준편차와 제2임계치를 비교하는 단계; 및
상기 제2임계치보다 큰 표준편차를 가지는 윈도우에 포함되는 상기 복수의 MSE값들에 해당하는 복수의 I프레임을 동적프레임으로 판단하는 단계;를 수행하고,
상기 제2임계치는,
움직임이 존재하거나 존재하지 않는 영상구간을 모두 포함하는 영상데이터에서 움직임이 없는 것으로 라벨링된 I프레임을 추출하여 생성된 학습영상데이터에 포함되는 I프레임 각각에 대하여 MSE값을 산출하는 제2기준MSE산출단계;
상기 제2기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및
상기 표준편차에 기초하여 상기 제2임계치를 결정하는 제2임계치결정단계;에 의하여 결정되는, 동적프레임이 존재하는 구간의 검출장치.
An apparatus for detecting a frame in which motion exists for image data encoded according to the HEVC standard, including one or more processors and a main memory storing instructions executable by the processor,
an I frame decoding unit that detects a NAL unit from video data, analyzes a header of the NAL unit, distinguishes only I frames from the entire bitstream of the video data, and decodes only the I frames;
an MSE calculation unit for calculating an MSE value between two adjacent I frames based on a pixel difference between two adjacent I frames with respect to the decoded I frame;
a dynamic frame determination unit determining whether the I-frame is a dynamic frame in which motion exists, based on the MSE value; and
A dynamic frame existence section detecting section for detecting a section in which the dynamic frame exists in the image data;
The dynamic frame determination unit,
Calculating standard deviations of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values;
comparing the standard deviation with a second threshold; and
Determining a plurality of I frames corresponding to the plurality of MSE values included in a window having a standard deviation greater than the second threshold as dynamic frames;
The second threshold,
A second reference MSE calculation step of calculating an MSE value for each I frame included in the training image data generated by extracting an I frame labeled as having no motion from image data including both video sections with or without motion;
Calculating a standard deviation of the MSE values calculated from the second reference MSE calculation step; and
A second threshold value determining step for determining the second threshold value based on the standard deviation;
하나 이상의 프로세서에 의해 실행되는 복수의 명령들을 포함하는, 컴퓨터-판독가능 매체에 저장되고, HEVC 규약에 따라 인코딩된 영상데이터에 대해 수행되는 동적프레임이 존재하는 구간을 검출하는 컴퓨터 프로그램으로서,
상기 컴퓨터 프로그램은,
영상데이터로부터 NAL 유닛을 검출하고, 상기 NAL 유닛의 헤더를 분석하여 상기 영상데이터의 전체 비트스트림에서 I프레임만을 구분하고 상기 I프레임만을 디코딩하는 I프레임디코딩단계;
디코딩된 I프레임에 대하여, 인접한 두 I프레임 간의 픽셀 차이에 기초하여 상기 인접한 두 I프레임 사이의 MSE값을 산출하는 MSE산출단계;
상기 MSE값에 기초하여, 상기 I프레임이 움직임이 존재하는 동적프레임인지 판단하는 동적프레임판단단계; 및
상기 영상데이터에서 상기 동적프레임이 존재하는 구간을 검출하는 동적프레임존재구간검출단계;를 포함하고,
상기 동적프레임판단단계는,
산출한 MSE값에 대하여 슬라이딩윈도우방식을 적용하여 각각의 윈도우에 포함되는 복수의 MSE값들의 표준편차를 산출하는 단계;
상기 표준편차와 제2임계치를 비교하는 단계; 및
상기 제2임계치보다 큰 표준편차를 가지는 윈도우에 포함되는 상기 복수의 MSE값들에 해당하는 복수의 I프레임을 동적프레임으로 판단하는 단계;를 포함하고,
상기 제2임계치는,
움직임이 존재하거나 존재하지 않는 영상구간을 모두 포함하는 영상데이터에서 움직임이 없는 것으로 라벨링된 I프레임을 추출하여 생성된 학습영상데이터에 포함되는 I프레임 각각에 대하여 MSE값을 산출하는 제2기준MSE산출단계;
상기 제2기준MSE산출단계로부터 산출된 MSE값의 표준편차를 산출하는 단계; 및
상기 표준편차에 기초하여 상기 제2임계치를 결정하는 제2임계치결정단계;에 의하여 결정되는, 컴퓨터 프로그램.
A computer program for detecting a section in which a dynamic frame exists, stored in a computer-readable medium, including a plurality of instructions executed by one or more processors, and performed on image data encoded according to the HEVC standard,
The computer program,
an I-frame decoding step of detecting a NAL unit from video data, analyzing a header of the NAL unit, distinguishing only I-frames from an entire bitstream of the video data, and decoding only the I-frames;
MSE calculation step of calculating an MSE value between two adjacent I frames based on a pixel difference between the two adjacent I frames with respect to the decoded I frame;
a dynamic frame determination step of determining whether the I-frame is a dynamic frame in which motion exists, based on the MSE value; and
A dynamic frame existence section detection step of detecting a section in which the dynamic frame exists in the image data;
The dynamic frame determination step,
Calculating standard deviations of a plurality of MSE values included in each window by applying a sliding window method to the calculated MSE values;
comparing the standard deviation with a second threshold; and
Determining a plurality of I frames corresponding to the plurality of MSE values included in a window having a standard deviation greater than the second threshold as dynamic frames;
The second threshold,
A second reference MSE calculation step of calculating an MSE value for each I frame included in the training image data generated by extracting an I frame labeled as having no motion from image data including both video sections with or without motion;
Calculating a standard deviation of the MSE values calculated from the second reference MSE calculation step; and
A second threshold value determination step of determining the second threshold value based on the standard deviation; determined by, a computer program.
KR1020210155289A 2021-11-12 2021-11-12 The Method of Detecting Section in which a Movement Frame Exists KR102557904B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210155289A KR102557904B1 (en) 2021-11-12 2021-11-12 The Method of Detecting Section in which a Movement Frame Exists

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210155289A KR102557904B1 (en) 2021-11-12 2021-11-12 The Method of Detecting Section in which a Movement Frame Exists

Publications (2)

Publication Number Publication Date
KR20230069342A KR20230069342A (en) 2023-05-19
KR102557904B1 true KR102557904B1 (en) 2023-07-21

Family

ID=86546977

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210155289A KR102557904B1 (en) 2021-11-12 2021-11-12 The Method of Detecting Section in which a Movement Frame Exists

Country Status (1)

Country Link
KR (1) KR102557904B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094494A (en) * 2004-09-13 2006-04-06 Microsoft Corp Accelerating video encoding using graphics processor unit
US20100054329A1 (en) * 2008-08-27 2010-03-04 Novafora, Inc. Method and System for Encoding Order and Frame Type Selection Optimization

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100731581B1 (en) * 2005-07-25 2007-06-22 경북대학교 산학협력단 Transmitting and receiving method of remote surveillant images through object recognition and system at the same of
US20070230564A1 (en) * 2006-03-29 2007-10-04 Qualcomm Incorporated Video processing with scalability
KR101409826B1 (en) 2012-10-19 2014-06-24 한양대학교 산학협력단 Method for motion prediction using adaptive search range

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094494A (en) * 2004-09-13 2006-04-06 Microsoft Corp Accelerating video encoding using graphics processor unit
US20100054329A1 (en) * 2008-08-27 2010-03-04 Novafora, Inc. Method and System for Encoding Order and Frame Type Selection Optimization

Also Published As

Publication number Publication date
KR20230069342A (en) 2023-05-19

Similar Documents

Publication Publication Date Title
Liu et al. Edge assisted real-time object detection for mobile augmented reality
US10349060B2 (en) Encoding video frames using generated region of interest maps
CN111670580B (en) Progressive compressed domain computer vision and deep learning system
US20220353525A1 (en) Image encoding method and apparatus, and image decoding method and apparatus
US9936217B2 (en) Method and encoder for video encoding of a sequence of frames
US11727255B2 (en) Systems and methods for edge assisted real-time object detection for mobile augmented reality
US20120275524A1 (en) Systems and methods for processing shadows in compressed video images
AU2005272046A1 (en) Method and apparatus for detecting motion in MPEG video streams
JP2012239085A (en) Image processor, and image processing method
KR20200119372A (en) Artificial Neural Network Based Object Region Detection Method, Device and Computer Program Thereof
JP5713797B2 (en) Video surveillance device
US9712828B2 (en) Foreground motion detection in compressed video data
Li et al. A rapid abnormal event detection method for surveillance video based on a novel feature in compressed domain of HEVC
KR102090775B1 (en) method of providing extraction of moving object area out of compressed video based on syntax of the compressed video
US10051281B2 (en) Video coding system with efficient processing of zooming transitions in video
US11164328B2 (en) Object region detection method, object region detection apparatus, and non-transitory computer-readable medium thereof
KR102557904B1 (en) The Method of Detecting Section in which a Movement Frame Exists
Tong et al. Encoder combined video moving object detection
KR102345258B1 (en) Object Region Detection Method, Device and Computer Program Thereof
KR102637947B1 (en) The Method, Apparatus, and Computer-Readable Medium which Calculate Threshold for Detecting Static Section in Real-time Video
KR102139857B1 (en) Video security control method and apparatus
KR102592089B1 (en) Moving Frame Detecting Method, Device and Computer Program Thereof
KR102592088B1 (en) High Resolution Video Analyzing Method, Device, and Computer Program Using Streaming Module
KR102530635B1 (en) Object Region Detection Method, Device and Computer Program For Traffic Information and Pedestrian Information Thereof
KR20230040285A (en) Method and system for detecting an object region based on bitstream information of image information

Legal Events

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