KR101264667B1 - Method for creating thumbnail image of video file and recording-medium recorded program thereof - Google Patents
Method for creating thumbnail image of video file and recording-medium recorded program thereof Download PDFInfo
- Publication number
- KR101264667B1 KR101264667B1 KR1020120155993A KR20120155993A KR101264667B1 KR 101264667 B1 KR101264667 B1 KR 101264667B1 KR 1020120155993 A KR1020120155993 A KR 1020120155993A KR 20120155993 A KR20120155993 A KR 20120155993A KR 101264667 B1 KR101264667 B1 KR 101264667B1
- Authority
- KR
- South Korea
- Prior art keywords
- video file
- image
- frames
- generating
- extracted
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000000605 extraction Methods 0.000 claims abstract description 34
- 230000002194 synthesizing effect Effects 0.000 claims description 7
- 230000010365 information processing Effects 0.000 claims 1
- 230000008569 process Effects 0.000 description 11
- 230000008859 change Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000033001 locomotion Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 239000002131 composite material Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000009545 invasion Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/00007—Time or data compression or expansion
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B31/00—Arrangements for the associated working of recording or reproducing apparatus with related apparatus
- G11B31/006—Arrangements for the associated working of recording or reproducing apparatus with related apparatus with video camera or receiver
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/00007—Time or data compression or expansion
- G11B2020/00072—Time or data compression or expansion the compressed signal including a video signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N2201/3201—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N2201/3225—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document
- H04N2201/325—Modified version of the image, e.g. part of the image, image reduced in size or resolution, thumbnail or screennail
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
비디오 파일의 썸네일 이미지 생성 방법 및 그 방법이 기록된 기록매체가 개시된다. 본 발명의 일측면에 따른 컴퓨팅 장치에서 수행되는 비디오 파일의 썸네일 이미지를 생성하는 방법은, 비디오 파일에 따른 프레임들 중 미리 설정된 기준에 따라 복수개의 추출프레임들을 추출하는 단계; 추출프레임들이 합성된 축약 이미지를 생성하는 단계; 및 축약 이미지가 축소된 썸네일 이미지를 생성하는 단계를 포함한다. 본 발명에 따르면, 비디오 파일의 재생 없이도 썸네일 이미지만으로 움직이는 물체의 확인뿐 아니라 개략적인 촬영 상황을 확인할 수 있다.A method of generating a thumbnail image of a video file and a recording medium on which the method is recorded are disclosed. According to an aspect of the present invention, a method of generating a thumbnail image of a video file performed in a computing device includes: extracting a plurality of extraction frames according to preset criteria among frames according to the video file; Generating a reduced image in which the extracted frames are synthesized; And generating a thumbnail image of which the reduced image is reduced. According to the present invention, it is possible to confirm not only the moving image but also the rough shooting situation without the reproduction of the video file.
Description
본 발명은 썸네일 이미지 생성에 관한 것으로서, 좀 더 상세하게는 CCTV 기능에 의해 녹화된 비디오 파일의 확인 편의성을 위한 썸네일 이미지 생성 방법 및 그 방법이 기록된 기록매체에 관한 것이다.
The present invention relates to thumbnail image generation, and more particularly, to a thumbnail image generation method and a recording medium on which the method is recorded for convenience of checking a video file recorded by a CCTV function.
일반적으로, 폐쇄회로 티브이(CCTV: Closed Circuit Tele-Vision )시스템은 피사체 또는 사물을 촬영하여 영상을 얻는 시스템이고, 이러한 CCTV 시스템은 일반 주택, 백화점, 은행, 공장 및 전시장 등에 설치되어 도난을 방지하고, 기계의 작동상태나 공정 흐름 등을 손쉽게 점검할 수 있는 감시용으로 많이 사용된다.In general, a closed circuit tele-vision (CCTV) system is a system for acquiring images by photographing a subject or an object, and such a CCTV system is installed in general houses, department stores, banks, factories, and exhibition halls to prevent theft. In addition, it is widely used for monitoring to check the operation status of the machine or process flow easily.
근래에는 촬영되는 화질이 획기적으로 개선된 고해상도 디지털 카메라가 대중적으로 보급되고 있는 추세에 있으며, 이러한 고해상도 디지털 카메라가 폐쇄회로 티브이 시스템에 적용되어 설치된 영역의 정밀한 촬영이 구현되고 있다.Recently, high-resolution digital cameras with dramatically improved image quality have been widely used. Such high-resolution digital cameras have been applied to closed circuit TV systems to realize precise shooting of installed areas.
보안이 중요시되고 있는 최근에는 개인들도 집 또는 사무실에 CCTV 시스템을 설치하고자 하는 욕구가 커지고 있는데, 개인이 기존의 CCTV 시스템을 도입하기에는 비용적으로도 부담스러우며 저장된 비디오 파일의 관리도 쉬운 일이 아니다.In recent years, when security is important, individuals also have a desire to install CCTV systems in their homes or offices. It is expensive and costly for individuals to adopt existing CCTV systems, and managing stored video files is not easy. .
일반적으로 디지털 카메라에 의해 생성되는 비디오 파일은 고압축 기술로 압축하더라도 용량이 큰 편이며, 더욱이 CCTV의 특성 상 오랜 기간 동안 촬영된 비디오 파일들을 일일이 저장해야 함에 따라 저장공간의 확보도 필요하다.In general, video files generated by digital cameras have a large capacity even if they are compressed by high compression technology. Moreover, the storage space needs to be secured as video files shot for a long time are stored one by one due to the characteristics of CCTV.
더욱이, CCTV 기능에 따라 생성된 비디오 파일을 확인하여 외부인의 침입이 있었는지를 확인하기 위해서는 일일이 비디오 파일들을 모두 재생시키고 시청해야 함에 따라, 재생속도를 빨리 하더라도 오랜 시간 동안 집중해서 시청해야 하는 불편이 있다.Furthermore, in order to check the video file generated by CCTV function to check whether there is an invasion of outsiders, it is necessary to play and watch all the video files one by one. have.
종래의 비디오 파일에서 이용되는 썸네일(thumbnail)은 단순히, 첫 프레임에 따른 이미지 또는 중간 특정 시점에 따른 프레임의 이미지가 그대로 이용되는데, 이는 단순히 어떠한 시점의 영상을 작은 이미지로서 확인하기 위한 것일 뿐이다.
The thumbnail used in the conventional video file simply uses an image according to a first frame or an image of a frame according to an intermediate specific viewpoint, as it is merely to identify an image of a certain viewpoint as a small image.
따라서, 본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로서, CCTV 기능에 의해 생성된 비디오 파일에 대해 촬영되는 공간에 어떠한 변화가 발생했는지를 쉽게 확인할 수 있도록 하는 썸네일 이미지의 생성 방법 및 그 방법을 수행하는 프로그램이 기록된 기록매체를 제공하기 위한 것이다.Accordingly, the present invention has been made to solve the above-described problem, and a method and method for generating a thumbnail image to easily identify what changes occurred in the space photographed for the video file generated by the CCTV function It is to provide a recording medium on which a program to be executed is recorded.
본 발명의 다른 목적들은 이하에 서술되는 바람직한 실시예를 통하여 보다 명확해질 것이다.
Other objects of the present invention will become more apparent through the following preferred embodiments.
본 발명의 일 측면에 따르면, 컴퓨팅 장치에서 수행되는 비디오 파일의 썸네일 이미지를 생성하는 방법에 있어서, 비디오 파일에 따른 프레임들 중 미리 설정된 기준에 따라 복수개의 추출프레임들을 추출하는 단계; 상기 추출프레임들이 합성된 축약 이미지를 생성하는 단계; 및 상기 축약 이미지가 축소된 썸네일 이미지를 생성하는 단계를 포함하는 비디오 파일의 썸네일 이미지 생성 방법 및 그 방법을 수행하는 프로그램이 기록된 기록매체가 제공된다.According to an aspect of the present invention, a method of generating a thumbnail image of a video file performed in a computing device, the method comprising: extracting a plurality of extraction frames according to a preset reference among frames according to the video file; Generating a reduced image in which the extracted frames are synthesized; And a method of generating a thumbnail image of a video file including a step of generating a thumbnail image of which the reduced image is reduced, and a recording medium on which a program for performing the method is recorded.
여기서, 상기 추출프레임은 특정한 시간 단위 간격으로 추출되거나, 특정 개수가 랜덤하게 추출될 수 있다.Here, the extraction frame may be extracted at specific time unit intervals, or a specific number may be extracted at random.
또한, 상기 추출프레임은 특정한 시간 단위 간격을 갖는 제1 추출프레임들과, 상기 제1 추출프레임들을 제외한 나머지 프레임들 중 특정 개수의 제2 추출프레임을 포함할 수 있다.In addition, the extraction frame may include first extraction frames having a specific time unit interval, and a specific number of second extraction frames among the remaining frames other than the first extraction frames.
또한, 상기 시간 단위 간격 또는 상기 특정 개수는 상기 비디오 파일의 재생 시간에 따라 결정될 수 있다.In addition, the time unit interval or the specific number may be determined according to the playback time of the video file.
또한, 상기 비디오 파일은 일정 녹화시간마다 각각의 분할된 파일로 생성되며, 상기 분할된 파일마다 상기 썸네일 이미지를 생성할 수 있다.
The video file may be generated as each divided file at a predetermined recording time, and the thumbnail image may be generated for each divided file.
그리고, 디지털 카메라를 구비한 컴퓨팅 장치가 수행하는 비디오 파일의 썸네일 이미지 생성 방법에 있어서, 디지털 카메라에 의해 촬영되는 전체프레임들 중 일정 시간마다 하나씩 추출된 일정 개수의 프레임들이 시간 순으로 나열되는 압축 비디오 파일을 생성하는 단계; 상기 압축 비디오 파일의 프레임들 중 미리 설정된 기준에 따라 추출된 복수개의 추출프레임들을 서로 합성하여 축약 이미지를 생성하는 단계; 및 상기 축약 이미지를 이용하여 상기 압축 비디오 파일의 썸네일 이미지를 생성하는 단계를 포함하는 비디오 파일의 썸네일 이미지 생성 방법 및 그 방법을 수행하는 프로그램이 기록된 기록매체가 제공된다.In the method for generating a thumbnail image of a video file performed by a computing device having a digital camera, a compressed video in which a predetermined number of frames extracted one by one at a predetermined time among all the frames captured by the digital camera is arranged in chronological order. Generating a file; Generating a condensed image by synthesizing a plurality of extracted frames extracted according to a preset reference among the frames of the compressed video file; And generating a thumbnail image of the compressed video file using the reduced image, and a recording medium on which a method of generating a thumbnail image of a video file and a program for performing the method are recorded.
여기서, 상기 축약 이미지와 상기 압축 비디오 파일의 특정 프레임에 따른 이미지를 서로 비교하는 단계; 및 비교 결과에 따라, 상기 전체프레임을 갖는 원본 비디오 파일의 저장 여부를 결정하는 단계를 더 포함할 수 있다.Comparing the reduced image with an image according to a specific frame of the compressed video file; And determining whether to store the original video file having the full frame according to the comparison result.
또한, 상기 축약 이미지와 상기 압축 비디오 파일의 특정 프레임에 따른 이미지를 서로 비교하는 단계; 및 비교 결과에 따라, 상기 압축 비디오 파일의 저장 기간을 결정하는 단계를 더 포함할 수 있다.The method may further include comparing the reduced image and an image according to a specific frame of the compressed video file with each other; And determining the storage period of the compressed video file according to the comparison result.
또한, 상기 추출프레임은 특정한 시간 단위 간격을 갖는 제1 추출프레임들과, 상기 제1 추출프레임들을 제외한 나머지 프레임들 중 특정 개수의 제2 추출프레임을 포함할 수 있다.
In addition, the extraction frame may include first extraction frames having a specific time unit interval, and a specific number of second extraction frames among the remaining frames other than the first extraction frames.
본 발명에 따르면, 비디오 파일의 재생 없이도 썸네일 이미지만으로 움직이는 물체의 확인뿐 아니라 개략적인 촬영 상황을 확인할 수 있다.According to the present invention, it is possible to confirm not only the moving image but also the rough shooting situation without the reproduction of the video file.
또한 본 발명에 따르면, 사용자의 조작 없이도 중요한 비디오 파일에 대해서는 원본을 유지할 수 있으며, 또한 사이즈가 압축된 비디오 파일에 대해서도 그 저장 기간이 자동 설정됨으로 인해 많은 수의 비디오 파일을 삭제 관리하기 위한 사용자의 불편한 작업을 줄일 수 있다.
In addition, according to the present invention, the original video can be retained for important video files without user intervention, and the storage period is automatically set even for video files compressed in size, thereby eliminating and managing a large number of video files. You can reduce the inconvenience.
도 1 및 도 2는 본 발명의 실시예에 따른 비디오 파일의 썸네일 이미지 생성 과정을 개략적으로 도시한 흐름도 및 예시도.
도 3은 본 발명의 일 실시에에 따른 압축 비디오 파일의 생성 과정을 도시한 흐름도.
도 4는 본 발명의 일 실시예에 따른 썸네일 이미지를 포함한 비디오 파일에 대한 정보가 표시되는 사용자 인터페이스(UI)화면을 도시한 예시도.
도 5는 본 발명의 다른 실시예에 따른 추출 프레임의 추출 방식을 도시한 예시도.
도 6은 본 발명의 일 실시예에 따른 축약 이미지를 이용한 비디오 파일의 저장 방식을 결정하는 과정을 도시한 흐름도.1 and 2 are a flowchart and an exemplary view schematically showing a process of generating a thumbnail image of a video file according to an embodiment of the present invention.
3 is a flowchart illustrating a process of generating a compressed video file according to an embodiment of the present invention.
4 is an exemplary diagram illustrating a user interface (UI) screen on which information on a video file including a thumbnail image is displayed, according to an embodiment of the present invention.
5 is an exemplary view illustrating an extraction method of an extraction frame according to another embodiment of the present invention.
6 is a flowchart illustrating a process of determining a storage method of a video file using a reduced image according to an embodiment of the present invention.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
이하, 첨부한 도면들을 참조하여 본 발명에 따른 실시예들을 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어 도면 부호에 상관없이 동일하거나 대응하는 구성 요소는 동일한 참조번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout the specification and claims. The description will be omitted.
도면을 참조하여 비디오 파일의 썸네일 이미지 생성 방법에 대해 설명하기에 앞서, 이하에서 설명할 그 방법들은 이미지를 처리할 수 있는 모든 컴퓨팅 장치에 의해 수행될 수 있음은 이하의 설명을 통해 당업자에게는 더욱 자명하게 될 것이다. 더욱이, 디지털 카메라를 구비한 장치(예를 들어, 스마트폰 등) 자체에서도 처리될 수 있을 것이다.
Prior to describing a method for generating a thumbnail image of a video file with reference to the drawings, it will be more apparent to those skilled in the art through the following description that the methods described below can be performed by any computing device capable of processing an image. Will be done. Moreover, the device with a digital camera (for example, a smart phone, etc.) may be processed by itself.
도 1 및 도 2는 본 발명의 실시예에 따른 비디오 파일의 썸네일 이미지 생성 과정을 개략적으로 도시한 흐름도 및 예시도이다.1 and 2 are a flowchart and an exemplary view schematically showing a process of generating a thumbnail image of a video file according to an embodiment of the present invention.
먼저 도 1을 참조하면, 본 실시예에 따른 비디오 파일의 썸네일 이미지 생성 과정은 비디오 파일을 이루는 프레임들 중 복수개를 추출하는 추출 프레임 추출 단계(S10), 추출 프레임들이 합성된 축약 이미지를 생성하는 단계(S20) 및 축약 이미지를 이용하여 썸네일 이미지를 생성하는 단계(S30)을 포함한다.First, referring to FIG. 1, a thumbnail image generation process of a video file according to the present embodiment may include an extraction frame extraction step (S10) of extracting a plurality of frames constituting a video file, and generating a condensed image obtained by synthesizing the extracted frames. (S20) and generating a thumbnail image using the reduced image (S30).
도 2를 함께 참조하면, 비디오 파일의 각 프레임 중 미리 설정된 규칙에 따라 복수개의 프레임(추출 프레임)을 추출하고, 그 추출 프레임들을 모두 합성한 축약 이미지를 생성한다. 여기서, 모든 프레임을 추출 프레임으로써 이용할 수도 있으나, 도면에 도시된 바와 같이 처리 속도를 높이기 위해서는 일부의 프레임들을 추출할 수 있다. Referring to FIG. 2, a plurality of frames (extraction frames) are extracted according to a preset rule among each frame of a video file, and a shortened image obtained by synthesizing all the extracted frames is generated. Here, all frames may be used as extraction frames, but as shown in the figure, some frames may be extracted to increase processing speed.
일부 프레임들을 추출 프레임으로서 추출 방식으로는, 도면에 도시된 바와 같이 특정한 시간 단위 간격으로 추출되거나, 다른 실시예에 따르면 특정 개수가 랜덤(random)하게 추출될 수도 있다. 여기서, 일례에 따르면 그 시간 단위 간격 또는 특정 개수는 비디오 파일의 재생 시간에 따라 달라질 수 있다. 이해의 편의를 위해 쉬운 예를 하나 들자면, 비디오 파일이 1분의 재생시간을 갖는 경우 시간 단위 간격은 0.2초, 특정 개수는30개일 수 있다. Some frames may be extracted as extraction frames, and may be extracted at specific time unit intervals as shown in the drawing, or, according to another embodiment, a specific number may be extracted randomly. Here, according to an example, the time unit interval or the specific number may vary according to the playing time of the video file. As an easy example for the sake of understanding, if the video file has a playback time of 1 minute, the time unit interval may be 0.2 seconds, and the specific number may be 30.
이렇게 추출 프레임에 따른 이미지들이 합성된 축약 이미지를 이용하여 썸네일 이미지를 만드는데, 일례에 따르면 축약 이미지의 사이즈가 축소된 이미지가 썸네일 이미지로서 이용될 수 있다.In this way, a thumbnail image is created using the reduced image obtained by synthesizing the images according to the extracted frame. According to an example, an image having a reduced size of the reduced image may be used as a thumbnail image.
본 실시예에 따른 썸네일 이미지에 의하면, 촬영된 시간이 다른 다수 프레임에 따른 이미지들이 합성되기 때문에, 만일 각각의 프레임 이미지들이 서로 다르다면 사용자가 알아보기 힘든 이미지가 생성될 것이다. 쉽게 말해, 비디오 파일에 따른 동영상에서 사람을 포함한 어떠한 움직이는 물체가 존재한다면, 그 물체로 인해 축약 이미지 또는 썸네일 이미지는 해당 물체를 제대로 확인하기 힘든 이미지일 것이다. 그와 반대로, 움직이는 물체가 없이 정적인 공간이 촬영되었다면, 모든 프레임이 거의 동일한 이미지일 확률이 높으므로 축약 이미지 또는 썸네일 이미지는 합성 이미지가 아닌 마치 한 장의 촬영 이미지처럼 보일 것이다. 따라서, 사용자는 비디오 파일의 재생 없이도 그 썸네일 이미지만으로 촬영된 동영상에서 움직이는 물체가 존재하는지를 쉽게 확인할 수 있다(도 4 참조).According to the thumbnail image according to the present embodiment, since images according to a plurality of frames having different photographed times are synthesized, if each frame image is different from each other, an image that is difficult for a user to recognize will be generated. In other words, if there is any moving object including a person in the video file according to the video file, the abbreviated image or thumbnail image due to the object will be an image which is difficult to properly identify the object. On the contrary, if a static space was taken without moving objects, then the abbreviated image or thumbnail image would look like a single shot rather than a composite image, since all frames are likely to be nearly identical images. Therefore, the user can easily check whether there is a moving object in the video captured by the thumbnail image only without playing the video file (see FIG. 4).
지금까지는 하나의 비디오 파일에 대한 썸네일 이미지의 개략적인 생성 과정에 대해 설명하였다. 이하에서는 일례에 따라 데이터량이 축소된 비디오 파일의 생성 과정에 대해 설명하기로 한다. 쉬운 예로, 스마트폰과 같이 디지털 카메라가 구비된 컴퓨팅 장치에서 직접 촬영된 영상들을 이용하여 비디오 파일을 생성하고, 해당 비디오 파일에 대한 압축(즉 데이터량 축소) 또는 썸네일 이미지의 생성 등을 직접 수행할 수도 있을 것이다. 따라서, 이하에서는 스마트폰과 같이 디지털 카메라를 구비한 컴퓨팅 장치가 비디오 파일 및 그에 따른 썸네일 이미지의 생성을 처리하는 경우를 위주로 설명하기로 한다.
So far, the process of generating a thumbnail image of a video file has been described. Hereinafter, a process of generating a video file of which data amount is reduced according to an example will be described. As an easy example, a video file may be generated by using images captured directly from a computing device equipped with a digital camera such as a smartphone, and the compression (ie, reduction of data volume) or the generation of thumbnail images may be directly performed on the video file. Could be Therefore, the following description will focus on a case where a computing device having a digital camera such as a smartphone processes the generation of a video file and a thumbnail image accordingly.
도 3은 본 발명의 일 실시에에 따른 압축 비디오 파일의 생성 과정을 도시한 흐름도이고, 도 4는 본 발명의 일 실시예에 따른 썸네일 이미지를 포함한 비디오 파일에 대한 정보가 표시되는 사용자 인터페이스(UI)화면을 도시한 예시도이다.3 is a flowchart illustrating a process of generating a compressed video file according to an embodiment of the present invention, and FIG. 4 is a user interface (UI) displaying information on a video file including a thumbnail image according to an embodiment of the present invention. This is an exemplary view showing a screen.
도 3을 참조하면, 디지털 카메라에 의해 촬영된 각각의 프레임들을 모두 그대로 이용하여 비디오 파일을 생성할 수도 있으나, 본 실시예에 따르면 일부의 프레임들만을 추출하여 비디오 파일(이하 압축 비디오 파일이라 칭함)을 생성할 수도 있다. 즉, 본 실시예에 따른 압축 비디오 파일이란, 일반적으로 사용하는 비디오 코덱(codec) 기술에 의해 압축되는 것이 아니라, 프레임의 일부만이 이용됨으로써 원본에 비해 전체 데이터량이 축소되는 것을 의미한다.Referring to FIG. 3, a video file may be generated using all of the frames photographed by the digital camera as it is, but according to the present embodiment, only some of the frames are extracted and the video file (hereinafter referred to as a compressed video file). You can also create In other words, the compressed video file according to the present embodiment means that the entire data amount is reduced compared to the original by using only a part of the frame, rather than being compressed by a video codec technique generally used.
예를 들자면, 도면에 도시된 바와 같이 1초 동안 촬영되는 일정 개수(16개)의 프레임들 중 일부분(예를 들어 하나)만을 추출하는 방식이며, 또한 일정 시간(예를 들어, 1분) 동안의 프레임들을 이용하여 압축 비디오 파일을 생성한다. 즉, 1초에 하나의 프레임을 추출하는 방식으로 60초(1분) 동안 60개의 프레임을 추출하는 방식으로, 그로 인해 1분 동안 촬영된 압축 비디오 파일이 생성되는 것이다.For example, as shown in the drawing, only a portion (for example, one) of a certain number (16) of frames that are photographed for one second is extracted, and for a predetermined time (for example, one minute). Create a compressed video file using the frames of the. That is, 60 frames are extracted for 60 seconds (1 minute) by extracting one frame per second, thereby generating a compressed video file photographed for 1 minute.
본 실시예에 따르면, 1분간 촬영된 원본 비디오 파일에 비해 약 1/16의 프레임 개수를 갖는 압축 비디오 파일이 생성될 수 있다. 따라서, 디지털 카메라의 CCTV 기능에 의해 1시간 동안 촬영이 된다고 가정하면, 1분짜리 압축 비디오 파일이 60개가 생성되는 것이며, 또한 그 압축 비디오 파일마다 상술한 바와 같은 썸네일 이미지가 생성되는 것이다.According to the present embodiment, a compressed video file having a frame number of about 1/16 may be generated as compared to the original video file photographed for 1 minute. Therefore, assuming that one-hour shooting is performed by the CCTV function of the digital camera, 60 one-minute compressed video files are generated, and thumbnail images as described above are generated for each of the compressed video files.
이로 인해, CCTV 기능에 의해 촬영되어 특정 시간 단위로 생성된 각 비디오 파일의 썸네일 이미지들을 확인함으로써, 사용자는 일정 시간 단위(예를 들어 1분, 1분 30초, 2분, 5분 등)로 움직이는 물체가 있었는지를 확인해 볼 수 있다.Because of this, by checking the thumbnail images of each video file taken by the CCTV function and generated in a certain time unit, the user can select a time unit (for example, 1 minute, 1 minute 30 seconds, 2 minutes, 5 minutes, etc.). You can check whether there was a moving object.
이에 대한 사용자인터페이스 화면을 도시한 도 4를 참조하면, 1분 단위의 비디오 파일에 대한 각각의 썸네일 이미지들(410,420,430)만을 확인함으로써 촬영된 모든 영상에 대해 개략적으로 확인할 수 있게 된다. 또한 움직이는 물체가 있었던 것으로 판단되는 썸네일 이미지가 존재한다면, 그 비디오 파일 즉 해당 시간대의 영상만을 확인함으로써, 특정 구간을 쉽게 확인할 수도 있다. 이해의 편의를 위해 일례에 따른 도면을 참조하면, 참조번호 430에 따른 썸네일 이미지는 움직이는 물체가 촬영된 경우이며, 참조번호 410 및 420은 움직이는 물체가 전혀 촬영되지 않은 경우의 썸네일 이미지이다. 따라서, 사용자는 썸네일 이미지만을 확인하더라도 어떤 시간대에 움직이는 물체가 있었는지를 알 수 있으며, 해당 시간대에 따른 비디오 파일만을 선택해서 확인함으로써 촬영된 CCTV 영상의 확인이 용이하게 되는 것이다.Referring to FIG. 4, which shows a user interface screen for this, by checking only the
이하에서는, 상술한 바와 같은 추출 프레임의 다른 일례에 따른 추출 방식, 그리고 추출 프레임을 합성한 축약 이미지를 이용한 비디오 파일의 저장방식 등에 대해 설명하기로 한다.
Hereinafter, an extraction method according to another example of the extraction frame as described above, and a storage method of a video file using a reduced image obtained by synthesizing the extraction frame will be described.
도 5는 본 발명의 다른 실시예에 따른 추출 프레임의 추출 방식을 도시한 예시도이다.5 is an exemplary view illustrating an extraction method of an extraction frame according to another embodiment of the present invention.
도 5를 참조하면, 비디오 파일에 따른 각 프레임들 중 추출되는 추출 프레임은 특정한 시간 단위 간격으로 추출되는 제1 추출 프레임과, 특정 개수가 랜덤하게 추출되는 제2 추출 프레임으로 구분될 수 있다. 다시 말해, 도 2를 참조하여 상술한 예시에서는 특정 시간 단위 간격으로만 추출되는 제1 추출 프레임만을 이용하는 방식인데 비해(물론, 특정 개수가 랜덤하게 추출되는 제2 추출 프레임만을 이용할 수도 있음), 본 실시예에서는 두 가지 방식에 따라 추출 프레임을 추출하는 것이다.Referring to FIG. 5, an extraction frame extracted from each frame according to a video file may be divided into a first extraction frame extracted at a specific time unit interval and a second extraction frame at which a specific number is randomly extracted. In other words, in the example described above with reference to FIG. 2, the method uses only the first extraction frame extracted only at specific time unit intervals (of course, only the second extraction frame in which a specific number is randomly extracted) may be used. In the embodiment, the extraction frame is extracted in two ways.
그 이유는 시간 간격을 두고 복수개를 추출하는 경우엔 빠른 움직임에 의한 물체가 촬영된 프레임이 추출되지 않을 수도 있기 때문이며, 이를 예방하기 위해 그 간격 사이에 있는 프레임들 중 랜덤하게 일정 개수를 추출하는 것이다. 또한 너무 작은 간격을 두고 추출 프레임을 추출하게 되면 너무 많은 추출 프레임들이 추출될 수도 있으므로, 그 간격을 좀 넓히되 그 간격 사이에 랜덤한 방식으로 몇 개의 프레임들을 더 추출하는 것이다.
The reason for this is that when a plurality of time intervals are extracted, frames captured by an object due to rapid movement may not be extracted. To prevent this, a predetermined number of frames between the intervals are randomly extracted. . In addition, if the extraction frame is extracted at too small intervals, too many extraction frames may be extracted, so that the interval is widened but a few more frames are extracted in a random manner between the intervals.
도 6은 본 발명의 일 실시예에 따른 축약 이미지를 이용한 비디오 파일의 저장 방식을 결정하는 과정을 도시한 흐름도이다.6 is a flowchart illustrating a process of determining a storage method of a video file using a reduced image according to an embodiment of the present invention.
도 6을 참조하면, 다수의 프레임들에 따른 이미지가 합성된 축약 이미지와 특정 프레임의 이미지가 서로 비교된다(S610). 그 이유는 축약 이미지와 특정 프레임에 따른 이미지가 서로 동일하지 않다면 상술한 바와 같이 움직이는 물체가 촬영된 것을 의미하며, 따라서 움직이는 물체가 촬영되었는지를 인식하기 위함이다. 예를 들어, 축약 이미지와 비교되는 특정 프레임은 추출 프레임들 중 랜덤하게 하나 이상이 선택될 수 있으며, 또는 첫번째 추출 프레임 및/또는 마지막 추출 프레임과 같이 특정한 어떤 하나 이상이 선택될 수도 있다.Referring to FIG. 6, an abbreviated image obtained by synthesizing an image according to a plurality of frames and an image of a specific frame are compared with each other (S610). The reason is that if the abbreviated image and the image according to a specific frame are not identical to each other, it means that the moving object is photographed as described above, and thus, to recognize whether the moving object is photographed. For example, a particular frame compared to the abbreviated image may be randomly selected from one or more of the extracted frames, or any one or more specific may be selected, such as the first and / or last extracted frame.
축약 이미지와 특정 이미지간의 비교 결과 그 동일성이 판단된다(S620). 일례에 따르면, 동일성의 판단 기준은 일치율이 90% 이상인지 여부일 수 있다. As a result of the comparison between the reduced image and the specific image, the sameness is determined (S620). According to one example, the criterion for determining the identity may be whether or not the match rate is 90% or more.
판단 결과 동일하지 않은 것으로 판단되는 경우, 움직이는 물체가 촬영된 것으로 판단될 수 있으므로, 일례에 따르면 해당 원본 비디오 파일(즉, 도 3과 같은 방식으로 압축되지 않은 원본 비디오 파일)은 삭제되지 않고 저장된다.If it is determined that it is not the same, it may be determined that the moving object is captured, and according to an example, the corresponding original video file (that is, the original video file not compressed in the same manner as in FIG. 3) is stored without being deleted. .
이와 달리 S620에서의 판단 결과 동일한 것으로 판단되면, 압축 비디오 파일이 저장된다. 그리고, 원본 비디오 파일은 삭제될 수 있을 것이다. 또한 일례에 따르면, 움직이는 물체가 촬영되지 않은 비디오 파일이므로, 해당 압축 비디오 파일의 저장 기간이 설정될 수도 있다. 예를 들어, 사용자의 삭제 명령이 없더라도 일정 기간(예를 들어, 3일)이 경과되면 해당 압축 비디오 파일은 자동 삭제되는 것이다. 따라서, 사용자의 조작 없이도 중요한 비디오 파일에 대해서는 원본을 유지할 수 있으며, 또한 압축 비디오 파일에 대해서도 그 저장 기간이 자동 설정됨으로 인해 많은 수의 비디오 파일을 삭제하기 위한 사용자의 불편한 작업을 없앨 수 있다. On the contrary, if it is determined that the determination in S620 is the same, the compressed video file is stored. And, the original video file can be deleted. According to an example, since the moving object is a video file not captured, the storage period of the compressed video file may be set. For example, even if there is no delete command from the user, the compressed video file is automatically deleted after a certain period of time (for example, 3 days). Therefore, the original video can be retained for important video files without user intervention, and the storage period is automatically set for compressed video files, thereby eliminating the user's inconvenience in deleting a large number of video files.
그리고, 일례에 따르면, S620에서의 판단 시, 축약 이미지와 특정 이미지(예를 들어, 첫 프레임 이미지 및/또는 마지막 프레임 이미지 등)간의 비교 결과에 따라, 해당 비디오 파일의 변화율이 측정될 수 있다. 쉽게 말해, 축약 이미지와 특정 프레임 이미지간의 비교 결과, 일치율이 낮을수록 어떠한 물체들의 움직임이 많았던 것으로 판단될 수 있으므로, 그 일치율을 이용하여 변화율을 측정할 수 있는 것이다. 따라서 사용자는 각 비디오 파일의 변화율을 이용하여 변화율이 일정 수준 이상 큰 비디오 파일을 우선적으로 확인함으로써 감시하고자 하는 공간에 변화가 많았던 시점을 쉽게 확인을 할 수 있게 된다.
According to an example, when the determination is made in S620, the rate of change of the corresponding video file may be measured according to a comparison result between the reduced image and the specific image (eg, the first frame image and / or the last frame image). In other words, as a result of the comparison between the abbreviated image and the specific frame image, the lower the coincidence rate, the more movement of certain objects may be. Therefore, the rate of change may be measured using the coincidence rate. Therefore, the user can easily identify the time when there was a large change in the space to be monitored by first checking the video file having a large change rate higher than a certain level using the change rate of each video file.
상술한 본 발명에 따른 비디오 파일의 썸네일 이미지 생성 방법은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로서 구현되는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체로는 컴퓨터 시스템에 의하여 해독될 수 있는 데이터가 저장된 모든 종류의 기록 매체를 포함한다. 예를 들어, ROM(Read Only Memory), RAM(Random Access Memory), 자기 테이프, 자기 디스크, 플래쉬 메모리, 광 데이터 저장장치 등이 있을 수 있다. 또한, 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 통신망으로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 읽을 수 있는 코드로서 저장되고 실행될 수 있다. The above-described method for generating a thumbnail image of a video file according to the present invention may be embodied as computer readable code on a computer readable recording medium. Computer-readable recording media include all kinds of recording media having data stored thereon that can be decrypted by a computer system. For example, it may be a ROM (Read Only Memory), a RAM (Random Access Memory), a magnetic tape, a magnetic disk, a flash memory, an optical data storage device, or the like. In addition, the computer-readable recording medium may be distributed and executed in a computer system connected to a computer network, and may be stored and executed as a code readable in a distributed manner.
또한, 상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention as defined in the appended claims. It will be understood that various modifications and changes may be made.
410, 420, 430 : 썸네일 이미지410, 420, 430: thumbnail images
Claims (10)
디지털 카메라에 의해 촬영되는 전체프레임들 중 일정 시간마다 하나씩 추출된 일정 개수의 프레임들이 시간 순으로 나열되는 압축 비디오 파일을 생성하는 단계;
상기 압축 비디오 파일의 프레임들 중 미리 설정된 기준에 따라 추출된 복수개의 추출프레임들을 서로 합성하여 축약 이미지를 생성하는 단계; 및
상기 축약 이미지를 이용하여 상기 압축 비디오 파일에 대한 하나의 썸네일 이미지를 생성하는 단계를 포함하되,
상기 축약 이미지와 상기 압축 비디오 파일의 특정 프레임에 따른 이미지를 비교한 결과 서로 상이한 경우에만, 상기 전체프레임을 갖는 원본 비디오 파일을 저장하는 것을 특징으로 하는 비디오 파일의 썸네일 이미지 생성 방법.
In the method of generating a thumbnail image of a video file performed by a computing device having a digital camera,
Generating a compressed video file in which a predetermined number of frames extracted one by one every time among all the frames captured by the digital camera are arranged in chronological order;
Generating a condensed image by synthesizing a plurality of extracted frames extracted according to a preset reference among the frames of the compressed video file; And
Generating one thumbnail image for the compressed video file using the shortened image;
And storing the original video file having the entire frame only when the shortened image is compared with an image according to a specific frame of the compressed video file.
상기 축약 이미지와 상기 특정 프레임에 따른 이미지를 비교한 결과에 따라 상기 압축 비디오 파일의 저장 기간이 결정되는 것을 특징으로 하는 비디오 파일의 썸네일 이미지 생성 방법.
The method of claim 6,
And a storage period of the compressed video file is determined according to a result of comparing the reduced image with the image according to the specific frame.
상기 추출프레임은 특정한 시간 단위 간격을 갖는 제1 추출프레임들과, 나머지 프레임들 중에서 특정 개수가 랜덤하게 추출되는 제2 추출프레임을 포함하는 것을 특징으로 하는 비디오 파일의 썸네일 이미지 생성 방법.
The method of claim 6,
The extraction frame comprises a first extraction frame having a specific time unit interval, and a second extraction frame is randomly extracted a specific number of the remaining frames, characterized in that the thumbnail image of the video file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120155993A KR101264667B1 (en) | 2012-12-28 | 2012-12-28 | Method for creating thumbnail image of video file and recording-medium recorded program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120155993A KR101264667B1 (en) | 2012-12-28 | 2012-12-28 | Method for creating thumbnail image of video file and recording-medium recorded program thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101264667B1 true KR101264667B1 (en) | 2013-05-15 |
Family
ID=48666301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020120155993A KR101264667B1 (en) | 2012-12-28 | 2012-12-28 | Method for creating thumbnail image of video file and recording-medium recorded program thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101264667B1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150008344A (en) * | 2013-07-12 | 2015-01-22 | 인텔 코포레이션 | Techniques for inclusion of thumbnail images in compressed video data |
WO2015108236A1 (en) * | 2014-01-14 | 2015-07-23 | 삼성테크윈 주식회사 | Summary image browsing system and method |
KR20190135672A (en) * | 2018-05-29 | 2019-12-09 | 삼성전자주식회사 | Electronic apparatus and controlling method thereof |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060153296A1 (en) * | 2003-09-12 | 2006-07-13 | Kevin Deng | Digital video signature apparatus and methods for use with video program identification systems |
-
2012
- 2012-12-28 KR KR1020120155993A patent/KR101264667B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060153296A1 (en) * | 2003-09-12 | 2006-07-13 | Kevin Deng | Digital video signature apparatus and methods for use with video program identification systems |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150008344A (en) * | 2013-07-12 | 2015-01-22 | 인텔 코포레이션 | Techniques for inclusion of thumbnail images in compressed video data |
KR20150090009A (en) * | 2013-07-12 | 2015-08-05 | 인텔 코포레이션 | Techniques for inclusion of thumbnail images in compressed video data |
KR101593428B1 (en) * | 2013-07-12 | 2016-02-12 | 인텔 코포레이션 | Techniques for inclusion of thumbnail images in compressed video data |
US9838686B2 (en) | 2013-07-12 | 2017-12-05 | Intel Corporation | Techniques for inclusion of thumbnail images in compressed video data |
KR102129637B1 (en) * | 2013-07-12 | 2020-07-02 | 인텔 코포레이션 | Techniques for inclusion of thumbnail images in compressed video data |
WO2015108236A1 (en) * | 2014-01-14 | 2015-07-23 | 삼성테크윈 주식회사 | Summary image browsing system and method |
KR101804383B1 (en) | 2014-01-14 | 2017-12-04 | 한화테크윈 주식회사 | System and method for browsing summary image |
US10032483B2 (en) | 2014-01-14 | 2018-07-24 | Hanwha Techwin Co., Ltd. | Summary image browsing system and method |
KR20190135672A (en) * | 2018-05-29 | 2019-12-09 | 삼성전자주식회사 | Electronic apparatus and controlling method thereof |
KR102585777B1 (en) | 2018-05-29 | 2023-10-10 | 삼성전자주식회사 | Electronic apparatus and controlling method thereof |
US11908192B2 (en) | 2018-05-29 | 2024-02-20 | Samsung Electronics Co., Ltd. | Electronic device and control method therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9715903B2 (en) | Detection of action frames of a video stream | |
TWI588772B (en) | Systems and methods for bulk redaction of recorded data | |
KR101641646B1 (en) | Video masking processing method and apparatus | |
US8224027B2 (en) | Method and apparatus for managing video data | |
US20140079340A1 (en) | Image management apparatus, management method, and storage medium | |
US20150104149A1 (en) | Video summary apparatus and method | |
US9411690B2 (en) | Security surveillance apparatus with networking and video recording functions and failure detecting and repairing method for storage device thereof | |
WO2018086527A1 (en) | Video processing method and device | |
US20160309121A1 (en) | Method and associated apparatus for managing video recording storage space in a surveillance system | |
CN104980681A (en) | Video acquisition method and video acquisition device | |
JP5213123B2 (en) | Video output method and video output device | |
KR101264667B1 (en) | Method for creating thumbnail image of video file and recording-medium recorded program thereof | |
CN102630003A (en) | Image data recorder and control method thereof | |
CN116634106A (en) | Monitoring safety system based on enterprise campus monitoring | |
US20160241817A1 (en) | Method of reducing a video file size for surveillance | |
JP6234146B2 (en) | RECORDING CONTROL DEVICE, RECORDING CONTROL METHOD, AND PROGRAM | |
KR20080035891A (en) | Video playback device and method for supporting smart search of motion | |
KR101258139B1 (en) | Method for displaying information of video file by cctv and recording-medium recorded program thereof | |
CN108882041B (en) | Player state acquisition method and device | |
KR101263207B1 (en) | Method for auto executing function of cctv and recording-medium recorded program thereof | |
KR101706220B1 (en) | Image recorder and Overwriting method thereof | |
US11398091B1 (en) | Repairing missing frames in recorded video with machine learning | |
EP3855350A1 (en) | Detection of action frames of a video stream | |
JP2005328279A (en) | Recording device | |
KR100786607B1 (en) | How to save digital video |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
A302 | Request for accelerated examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20121228 |
|
PA0201 | Request for examination | ||
PA0302 | Request for accelerated examination |
Patent event date: 20121228 Patent event code: PA03022R01D Comment text: Request for Accelerated Examination |
|
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20130307 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20130508 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20130509 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20130509 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
FPAY | Annual fee payment |
Payment date: 20160509 Year of fee payment: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20160509 Start annual number: 4 End annual number: 4 |
|
FPAY | Annual fee payment |
Payment date: 20170607 Year of fee payment: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20170607 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20200511 Start annual number: 8 End annual number: 8 |
|
PC1903 | Unpaid annual fee |
Termination category: Default of registration fee Termination date: 20220220 |