KR100571242B1 - Camera video compression method - Google Patents

Camera video compression method Download PDF

Info

Publication number
KR100571242B1
KR100571242B1 KR1020030080112A KR20030080112A KR100571242B1 KR 100571242 B1 KR100571242 B1 KR 100571242B1 KR 1020030080112 A KR1020030080112 A KR 1020030080112A KR 20030080112 A KR20030080112 A KR 20030080112A KR 100571242 B1 KR100571242 B1 KR 100571242B1
Authority
KR
South Korea
Prior art keywords
data
standard data
standard
significant bit
bit
Prior art date
Application number
KR1020030080112A
Other languages
Korean (ko)
Other versions
KR20050046118A (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 KR1020030080112A priority Critical patent/KR100571242B1/en
Publication of KR20050046118A publication Critical patent/KR20050046118A/en
Application granted granted Critical
Publication of KR100571242B1 publication Critical patent/KR100571242B1/en

Links

Images

Classifications

    • 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
    • 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/182Methods 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 a pixel

Abstract

본 발명은, 카메라 영상 데이터 등의 저장에 있어서, 데이터의 특성을 이용하여 압축값과 압축특정값을 함께 저장함으로써, 종래의 픽셀 마다 복수개의 비트를 할당하여 전송/저장하는 것에 비하여 영상 데이터의 저장 용량을 획기적으로 줄일 수 있는 카메라 영상 압축 방법에 관한 것으로, According to the present invention, in the storage of camera image data and the like, the compression value and the compression specific value are stored together using the characteristics of the data, thereby storing the image data as compared with the conventional method of allocating and storing a plurality of bits per pixel. The camera image compression method that can significantly reduce the capacity,

본 발명은, 본 발명은, 카메라 시스템에서 영상을 압축하기 위한 방법에 있어서, 원본 데이터가 입력되면, 상기 원본 데이터 내에 포함된 1의 개수만큼 최상위 비트부터 1을 채워 표준 데이터를 생성하는 제1 단계; 상기 원본 데이터와 상기 표준 데이터가 동일한지 여부를 판단하는 제2 단계; 상기 원본 데이터와 상기 표준 데이터가 동일하지 않으면, 상기 표준 데이터를 시프팅 하여 새로운 표준 데이터를 생성하고, 상기 시프팅 회수를 계수한 특정값을 갱신한 후, 상기 새로운 표준 데이터가 상기 원본 데이터와 동일하지 여부를 판단하는 제3 단계; 및 상기 원본 데이터와 상기 표준 데이터가 동일한 경우에는, 상기 표준 데이터에 의해 생성된 최종 압축 데이터 및 상기 시프트 회수의 계수에 따른 특정값을 포함하는 압축 데이터를 생성하는 제4 단계를 포함한다.According to the present invention, in the method for compressing an image in a camera system, when original data is input, a first step of generating standard data by filling one from the most significant bit by the number of ones included in the original data ; A second step of determining whether the original data and the standard data are the same; If the original data and the standard data are not the same, the standard data is shifted to generate new standard data, and after updating a specific value counting the number of shifts, the new standard data is the same as the original data. Determining a third step; And a fourth step of generating compressed data including the final compressed data generated by the standard data and a specific value according to the coefficient of the number of shifts when the original data and the standard data are the same.

영상 압축, 카메라, 인코딩, 디코딩Image Compression, Camera, Encoding, Decoding

Description

카메라 영상 압축 방법{METHOD FOR COMPRESSING CAMERA IMAGE} How to compress camera image {METHOD FOR COMPRESSING CAMERA IMAGE}             

도 1은 종래의 카메라 시스템을 나타낸 블록도,1 is a block diagram showing a conventional camera system,

도 2는 본 발명이 적용되는 카메라 시스템을 나타낸 블록도,2 is a block diagram showing a camera system to which the present invention is applied;

도 3은 본 발명의 일 실시예에 따른 카메라 영상 압축 방법을 나타낸 동작흐름도,3 is a flowchart illustrating a camera image compression method according to an embodiment of the present invention;

도 4는 본 발명의 일 실시예에 따른 카메라 영상 압축 방법 중 압축값 갱신 단계를 나타낸 동작흐름도,4 is an operation flowchart showing a compression value updating step of a camera image compression method according to an embodiment of the present invention;

도 5는 도 4의 다중 시프트 수행 단계를 나타낸 동작흐름도.5 is a flowchart illustrating a multi-shift performing step of FIG. 4.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

210 : 카메라부 220 : 포맷 트랜스포머210: camera unit 220: format transformer

230 : LCD 모듈 240 : 영상 압축부230: LCD module 240: video compression unit

250 : 주제어부 260 : 메모리250: main controller 260: memory

본 발명은 카메라 영상 압축 방법에 관한 것으로, 특히, 영상 데이터를 저장하는 데 있어서, 단계적인 압축을 통하여 영상 데이터의 저장 용량을 줄일 수 있는 카메라 영상 압축 방법에 관한 것이다.The present invention relates to a camera image compression method, and more particularly, to a camera image compression method that can reduce the storage capacity of the image data through stepwise compression in storing the image data.

도 1은 종래의 카메라 시스템을 나타낸 블록도로서, 이에 관하여 설명하면 다음과 같다.1 is a block diagram illustrating a conventional camera system, which will be described below.

이러한 카메라 시스템은, 픽쳐를 촬상하여 영상 데이터를 획득하는 카메라부(110); 카메라부(110)의 영상 데이터를 변형/압축하여 영상 정보 데이터를 생성하는 포맷 트랜스포머(120); 포맷 트랜스포머(120)의 영상 정보 데이터를 디스플레이하는 LCD 모듈(130); 포맷 트랜스포머(120)의 영상 정보 데이터를 입력받아 주소 데이터를 지정하여 메모리(150)에 저장하는 주제어부(140); 및 주제어부(140)로부터 입력받은 영상 정보 데이터를 주제어부(140)가 지정한 주소 데이터에 따라 지정된 주소에 저장하는 메모리(150)를 포함한다.Such a camera system includes a camera unit 110 for capturing a picture to obtain image data; A format transformer 120 for transforming / compressing image data of the camera unit 110 to generate image information data; An LCD module 130 for displaying image information data of the format transformer 120; A main control unit 140 which receives image information data of the format transformer 120 and designates address data and stores the address data in the memory 150; And a memory 150 for storing the image information data received from the main control unit 140 at the designated address according to the address data designated by the main control unit 140.

그러나, 상술한 종래의 카메라 시스템이 채택하고 있는 데이터 저장 방법은, 카메라의 영상 데이터를 저장하기 위해 각 픽셀에 해당하는 정보를 비트를 할당하여 변형/압축하므로, 메모리를 점유하는 크기가 큰 문제점이 있다.However, the data storage method adopted by the conventional camera system described above has a problem that the size occupying the memory is large because it allocates and decompresses and compresses information corresponding to each pixel to store image data of the camera. have.

상기 문제점을 해결하기 위하여 안출된 본 발명은, 카메라 영상 데이터 등의 저장에 있어서, 데이터의 특성을 이용하여 압축값과 압축 특정값을 함께 저장함으로써, 종래의 픽셀 마다 복수개의 비트를 할당하여 전송/저장하는 것에 비하여 영상 데이터의 저장 용량을 획기적으로 줄일 수 있는 카메라 영상 압축 방법을 제공하는데 그 목적이 있다.The present invention devised to solve the above problems, in the storage of camera image data, etc., by storing the compression value and the compression specific value by using the characteristics of the data, by assigning a plurality of bits per conventional pixel to transmit / It is an object of the present invention to provide a camera image compression method that can significantly reduce the storage capacity of the image data as compared to the storage.

상기 목적을 달성하기 위하여 본 발명은, 카메라 시스템에서 영상을 압축하기 위한 방법에 있어서, 원본 데이터가 입력되면, 상기 원본 데이터 내에 포함된 1의 개수만큼 최상위 비트부터 1을 채워 표준 데이터를 생성하는 제1 단계; 상기 원본 데이터와 상기 표준 데이터가 동일한지 여부를 판단하는 제2 단계; 상기 원본 데이터와 상기 표준 데이터가 동일하지 않으면, 상기 표준 데이터를 시프팅 하여 새로운 표준 데이터를 생성하고, 상기 시프팅 회수를 계수한 특정값을 갱신한 후, 상기 새로운 표준 데이터가 상기 원본 데이터와 동일하지 여부를 판단하는 제3 단계; 및 상기 원본 데이터와 상기 표준 데이터가 동일한 경우에는, 상기 표준 데이터에 의해 생성된 최종 압축 데이터 및 상기 시프트 회수의 계수에 따른 특정값을 포함하는 압축 데이터를 생성하는 제4 단계를 포함한다.In order to achieve the above object, the present invention provides a method for compressing an image in a camera system, wherein, when original data is input, the first data is generated by filling 1's most significant bits by the number of 1's included in the original data. Stage 1; A second step of determining whether the original data and the standard data are the same; If the original data and the standard data are not the same, the standard data is shifted to generate new standard data, and after updating a specific value counting the number of shifts, the new standard data is the same as the original data. Determining a third step; And a fourth step of generating compressed data including the final compressed data generated by the standard data and a specific value according to the coefficient of the number of shifts when the original data and the standard data are the same.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여 본 발명의 가장 바람직한 실시예들을 첨부된 도면을 참조하여 설명하기로 한다.Hereinafter, the most preferred embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art can easily implement the technical idea of the present invention. .

먼저, 도 2는 본 발명이 적용되는 카메라 시스템을 나타낸 블록도로서, 이러한 본 발명의 카메라 영상 압축 장치는, 카메라부(210), 포맷 트랜스포머(220), LCD 모듈(230), 영상 압축부(240), 주제어부(250) 및 메모리(260)를 포함한다.First, Figure 2 is a block diagram showing a camera system to which the present invention is applied, the camera image compression apparatus of the present invention, the camera unit 210, the format transformer 220, the LCD module 230, the image compression unit ( 240, main controller 250, and memory 260.

카메라부(210)는, 픽쳐를 촬상하여 영상 데이터를 획득하고, 상기 영상 데이터를 후술하는 포맷 트랜스포머(220)로 출력하는 역할을 한다.The camera unit 210 captures a picture, acquires image data, and outputs the image data to a format transformer 220 to be described later.

또한, 포맷 트랜스포머(220)는, 상기 카메라부(210)로부터 입력된 상기 영상 데이터를 변형/압축하여 영상 정보 데이터를 생성하고, 상기 영상 정보 데이터를 후술하는 LCD 모듈(230) 및 후술하는 영상 압축부(240)에 출력하는 역할을 한다.In addition, the format transformer 220 transforms and compresses the image data input from the camera unit 210 to generate image information data, and the LCD module 230 which describes the image information data later and an image compression which will be described later. It serves to output to the unit 240.

한편, LCD 모듈(230)은, 상기 포맷 트랜스포머(220)로부터 입력된 영상 정보 데이터를 디스플레이하는 역할을 한다.The LCD module 230 displays image information data input from the format transformer 220.

또한, 영상 압축부(240)는, 상기 포맷 트랜스포머(220)로부터 입력된 영상 정보 데이터를 복수개의 단위별 순차적 인코딩 과정을 통해 압축하여 최종 압축 데이터를 생성하고, 각 과정별로 특정값을 생성하며, 상기 최종 압축 데이터 및 상기 복수개의 특정값을 출력하고, 후술하는 메모리(260)에 저장된 저장 최종 압축 데이터 및 복수개의 저장 특정값을 입력받아 상기 순차적 인코딩 과정의 역과정인 순차적 디코딩 과정을 수행하며, 상기 순차적 디코딩 과정의 결과값으로 상기 영상 정보 데이터를 생성하는 역할을 한다.In addition, the image compressor 240 compresses the image information data input from the format transformer 220 through a sequential encoding process for each unit to generate final compressed data, and generates a specific value for each process, Outputting the final compressed data and the plurality of specific values, receiving the stored final compressed data and the plurality of storage specific values stored in the memory 260 to be described later, and performing a sequential decoding process which is a reverse process of the sequential encoding process, The image information data is generated as a result value of the sequential decoding process.

한편, 주제어부(250)는, 상기 영상 압축부(240) 및 상기 LCD 모듈(230)을 제어하고, 상기 영상 압축부(240)로부터 상기 최종 압축 데이터 및 상기 복수개의 특정값을 입력받아 후술하는 메모리(260)로 전달하며, 후술하는 메모리(260)로부터 상기 저장 최종 압축 데이터 및 상기 복수개의 저장 특정값을 읽어 상기 영상 압축부(240)로 전달하는 역할을 한다. 여기서, 상기 주제어부(250)는, 상기 특정값을 생성하기 위한 참조 주파수를 갖는 클럭 신호를 생성하고, 상기 클럭 신호를 상기 영상 압축부(240)로 출력할 수 있다.The main controller 250 controls the image compressor 240 and the LCD module 230 and receives the final compressed data and the plurality of specific values from the image compressor 240 to be described later. The memory 260 reads the final compressed data and the plurality of storage specific values from the memory 260, which will be described later, and delivers them to the image compressor 240. Here, the main controller 250 may generate a clock signal having a reference frequency for generating the specific value, and output the clock signal to the image compressor 240.

또한, 메모리(260)는, 상기 주제어부(250)로부터 입력받은 최종 압축 데이터 및 상기 복수개의 특정값을 상기 저장 최종 압축 데이터 및 상기 복수개의 저장 특정값으로서 저장하는 역할을 한다.In addition, the memory 260 stores the final compressed data and the plurality of specific values received from the main controller 250 as the storage final compressed data and the plurality of storage specific values.

도 3은 본 발명의 일 실시예에 따른 카메라 영상 압축 방법을 나타낸 동작흐름도로서, 이에 관하여 상세히 설명하면 다음과 같다.3 is an operation flowchart showing a camera image compression method according to an embodiment of the present invention, which will be described in detail below.

먼저, 영상 압축부(240)로 원본 데이터가 입력된다(S301). 여기서, 상기 원본 데이터(

Figure 112003042780963-pat00001
)는, 하기 표 1과 같은 형식을 가질 수 있다.First, original data is input to the image compressor 240 (S301). Here, the original data (
Figure 112003042780963-pat00001
) May have a format as shown in Table 1 below.

Figure 112003042780963-pat00002
Figure 112003042780963-pat00002

그 후, 상기 원본 데이터(

Figure 112003042780963-pat00003
)에 의한 표준 데이터를 생성하고, 상기 표준 데이터를 글로벌 표준 데이터로서 저장한다(S302). 여기서, 상기 표준 데이터는, 상기 원본 데이터(
Figure 112003042780963-pat00004
) 내에 포함된 1의 갯수 만큼 최상위 비트부터 1을 채움으로써 생성할 수 있다.Then, the original data (
Figure 112003042780963-pat00003
Standard data is generated, and the standard data is stored as global standard data (S302). Here, the standard data is the original data (
Figure 112003042780963-pat00004
It can be generated by filling 1 with the most significant bit as many as 1 contained in).

그 후, 상기 원본 데이터 및 상기 표준 데이터가 동일한지 여부를 판단한다(S303).Thereafter, it is determined whether the original data and the standard data are the same (S303).

그 후, 상기 원본 데이터 및 상기 표준 데이터가 동일한 경우에는, 상기 표준 데이터에 의해 생성된 최종 압축 데이터 및 특정값을 생성한다(S304). 여기서, 상기 특정값은 상기 표준 데이터가 상기 원본 데이터와 동일해지기 위한 과정에서 생성된 계수값이며, 상기 최종 압축 데이터는 상기 표준 데이터의 1의 값을 갖는 비트의 갯수일 수 있다. 즉, 메모리에 저장되는 최종 압축 데이터 및 특정값은 하기 표와 같은 형식을 갖는다.Then, when the original data and the standard data are the same, the final compressed data and the specific value generated by the standard data are generated (S304). Here, the specific value is a coefficient value generated in the process of making the standard data equal to the original data, and the final compressed data may be the number of bits having a value of 1 of the standard data. That is, the final compressed data and the specific value stored in the memory have a format as shown in the following table.

Figure 112003042780963-pat00005
Figure 112003042780963-pat00005

만약, 상기 원본 데이터 및 상기 표준 데이터가 동일하지 않은 경우에는, 상기 표준 데이터에 시프팅 과정을 수행하여 새로운 표준 데이터를 생성하고, 상기 시프팅 과정을 계수하여 상기 특정값을 생성한 후, 상기 원본 데이터 및 상기 표준 데이터가 동일한지 여부를 판단하는 단계(S303)로 돌아간다(S305).If the original data and the standard data are not the same, the standard data is shifted to generate new standard data, the shifting process is counted, and the specific value is generated. In step S303, it is determined whether data and the standard data are the same (S305).

도 4는 본 발명의 일 실시예에 따른 카메라 영상 압축 방법 중 압축값 갱신단계(S305)를 나타낸 동작흐름도로서, 이에 관하여 상세히 설명하면 다음과 같다.4 is an operation flowchart illustrating a compression value updating step (S305) of the camera image compression method according to an embodiment of the present invention.

먼저, 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트가 표준 데이터의 최하위 비트인지 여부를 판단한다(S401). 예를 들면, 상기 원본 데이터가 1110001000이라면, 최초의 표준 데이터는 1111000000이 되고, 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터(1111)의 최하위 비트가 7번째 비트이므로 최하위 비트가 아니라고 판단하게 된다. 만약, 상기 원본 데이터가 1010101000이면, 최초의 표준 데이터는 1111000000이 되고, 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터(1111)의 최하위 비트가 7번째 비트이므로 최하위 비트가 아니라고 판단하게 되나, 이후에, 표준 데이터가 시프팅 과정을 거쳐 1110000001이 된다면, 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터(1110000001)의 최하위 비트가 표준 데이터의 최하위 비트라고 판단하게 될 것이다.First, it is determined whether the least significant bit of the data having the minimum bit including 1 in the standard data is the least significant bit of the standard data (S401). For example, if the original data is 1110001000, the first standard data is 1111000000, and it is determined that the least significant bit of the data 1111 having the minimum bit including 1 in the standard data is not the least significant bit because it is the seventh bit. do. If the original data is 1010101000, the first standard data is 1111000000, and since the least significant bit of the data 1111 having the minimum bit including 1 in the standard data is the seventh bit, it is determined that the original data is not the least significant bit. Subsequently, if the standard data is shifted to 1110000001, it will be determined that the least significant bit of the data 1110000001 having the minimum bit including 1 in the standard data is the least significant bit of the standard data.

그 후, 상기 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트가 표준 데이터의 최하위 비트가 아닌 경우에는, 최하위 비트를 상기 표준 데이터의 하위 방향으로 한 비트 시프트하고, 시프트한 데이터를 새로운 표준 데이터로서 저장한다(S402). 즉, 상기 표준 데이터가 1111000000인 경우에는 1110100000이 새로운 표준 데이터로서 저장될 것이다.Then, when the least significant bit of the data having the minimum bit including 1 in the standard data is not the least significant bit of the standard data, the least significant bit is shifted one bit to the lower direction of the standard data, and the shifted data The data is stored as new standard data (S402). That is, if the standard data is 1111000000, 1110100000 will be stored as new standard data.

그 후, 시프트의 계수에 따른 특정값을 증가시켜 새로운 특정값으로 저장한다(S403).Thereafter, the specific value according to the shift coefficient is increased and stored as a new specific value (S403).

만약, 상기 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트가 표준 데이터의 최하위 비트인 경우에는, 순차적인 다중 시프트 과정을 통하여 생성된 데이터를 새로운 표준 데이터로서 저장한 후, 상기 특정값 갱신 단계(S403)로 진행한다(S404). 여기서, 상기 순차적인 다중 시프트 과정에 관하여 도 5를 참조하여 상세히 설명하면 다음과 같다.If the least significant bit of the data having the minimum bit including 1 in the standard data is the least significant bit of the standard data, the data generated through the sequential multiple shift process is stored as new standard data, and then the specific bit is stored. The process of updating the value proceeds to step S403 (S404). Here, the sequential multiple shift process will be described in detail with reference to FIG. 5 as follows.

먼저, 상기 글로벌 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 I번째 비트에 해당하는 상기 표준 데이터의 비트가 0인지 여부를 판단한다(S501). 여기서, 상기 I의 값은 최초에 2로 세팅되나, 사용자의 정의에 따라 변경될 수 있으며 이는 본 발명의 범위 내임이 자명하다.First, it is determined whether the bit of the standard data corresponding to the I-th bit is 0 from the least significant bit of the data having the minimum bit including 1 in the global standard data (S501). Here, the value of I is initially set to 2, but may be changed according to a user's definition, which is obviously within the scope of the present invention.

그 후, 상기 글로벌 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 I번째 비트에 해당하는 상기 표준 데이터의 비트가 0인 경우에는, 상기 I값을 증가시킨 후, 상기 비트값 판단 단계(S501)로 돌아간다(S502).Thereafter, when the bit of the standard data corresponding to the I-th bit from the least significant bit of the data having the least bit including 1 in the global standard data is 0, the I value is increased and then the bit value is increased. The process returns to the determination step S501 (S502).

한편, 상기 글로벌 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 I번째 비트에 해당하는 상기 표준 데이터의 비트가 0이 아닌 경우에는, 상기 표준 데이터를 상기 글로벌 표준 데이터로 변경한다(S503).On the other hand, when the bit of the standard data corresponding to the I-th bit from the least significant bit of the data having the minimum bit including 1 in the global standard data is not 0, the standard data is changed to the global standard data. (S503).

그 후, 상기 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 I번째 비트까지를

Figure 112003042780963-pat00006
회 상기 표준 데이터의 하위 방향으로 시프트한다(S504). 여기서, 상기
Figure 112003042780963-pat00007
는 초기값으로 1이 세팅되나 도 5에는 편의상 이를 생략한다.Then, from the least significant bit to the I th bit of the data having the least bits including 1 in the standard data,
Figure 112003042780963-pat00006
The shift in the lower direction of the standard data is performed (S504). Where
Figure 112003042780963-pat00007
Is set to an initial value of 1 but is omitted for convenience in FIG. 5.

그 후, 상기

Figure 112003042780963-pat00008
를 증가시킨다(S505).After that,
Figure 112003042780963-pat00008
Increase (S505).

예를 들면, 원본 데이터가 11001010일 때, 표준 데이터는 11110000이 되고, 표준 데이터가 11100001이 될 때까지 일치하지 않으므로, 11100001의 글로벌 표준 데이터(11110000) 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 I(초기값 2)번째 비트가 0인지 여부를 판단한다.For example, when the original data is 11001010, the standard data becomes 11110000 and does not match until the standard data becomes 11100001, so that the data having the minimum bit including 1 in the global standard data 11110000 of 11100001 is used. It is determined whether the I (initial value 2) bit is 0 from the least significant bit.

이 때, 0이 아니므로, 표준 데이터는 글로벌 표준 데이터로 변경되고, 표준 데이터(11110000) 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 2(I)번째 비트까지가 1회(

Figure 112003042780963-pat00009
의 초기값) 오른쪽으로 시프트된다. 그 결과, 새로운 표준 데이터는 11011000이 된다.At this time, since it is not 0, the standard data is changed to the global standard data, and the least significant bit of the data having the smallest bit including 1 in the standard data 11110000 from the second (I) th bit to one (
Figure 112003042780963-pat00009
Is shifted to the right). As a result, the new standard data is 11011000.

그 후, 새로운 표준 데이터는 11010001이 될 때까지 최하위 비트가 시프팅되고, 그래도, 원본 데이터와 일치하는 데이터가 없으므로, 11010001의 글로벌 표준 데이터(11110000) 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 2(I)번째 비트가 0인지 여부를 판단한다.Thereafter, the least significant bit is shifted until the new standard data is 11010001, and since there is still no data that matches the original data, the data having the least bits including 1 in the global standard data 11110000 of 11010001 is shifted. It is determined whether the 2nd (I) th bit is 0 from the least significant bit.

이 때, 0이므로, I값을 1 증가시키고, 11010001의 글로벌 표준 데이터(11110000) 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 3(I)번째 비트가 0인지 여부를 판단한다.At this time, since it is 0, the I value is increased by 1, and it is determined whether the 3 (I) th bit is 0 from the least significant bit of the data having the minimum bit including 1 in the global standard data 11110000 of 11010001.

이 때, 0이 아니므로, 표준 데이터는 글로벌 표준 데이터로 변경되고, 표준 데이터(11110000) 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 3(I)번째 비트까지가 1회(

Figure 112003042780963-pat00010
의 초기값) 오른쪽으로 시프트된다. 그 결과, 새로운 표준 데이터는 10111000이 된다.At this time, since it is not 0, the standard data is changed to global standard data, and the least significant bit of the data having the smallest bit including 1 in the standard data 11110000 from the third (I) th bit to one (
Figure 112003042780963-pat00010
Is shifted to the right). As a result, the new standard data is 10111000.

그 후, 새로운 표준 데이터는 10110001이 될 때까지 최하위 비트가 시프팅되고, 그래도, 원본 데이터와 일치하는 데이터가 없으므로, 10110001의 글로벌 표준 데이터(11110000) 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 2(I)번째 비트가 0인지 여부를 판단한다.Thereafter, the least significant bit is shifted until the new standard data becomes 10110001, and since there is still no data that matches the original data, the data having the minimum bit including 1 in the global standard data 11110000 of 10110001 is obtained. It is determined whether the 2nd (I) th bit is 0 from the least significant bit.

이 때, 0이 아니므로, 표준 데이터는 글로벌 표준 데이터로 변경되고, 표준 데이터(11110000) 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트로부터 2(I)번째 비트까지가 2회(

Figure 112003042780963-pat00011
의 변경값) 오른쪽으로 시프트된다. 그 결과, 새로운 표준 데이터는 11001100이 된다.At this time, since it is not 0, the standard data is changed to global standard data, and two times (from the least significant bit to the second (I) th bit of the data having the minimum bit including 1 in the standard data 11110000)
Figure 112003042780963-pat00011
Shifted to the right). As a result, the new standard data is 11001100.

그 후, 새로운 표준 데이터는 11001010이 될 때까지 최하위 비트가 시프팅되어 원본 데이터와 일치하게 된다.Thereafter, the least significant bit is shifted until the new standard data becomes 11001010 to match the original data.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지로 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited to the drawings shown.

본 발명은 카메라 영상 데이터 등의 저장에 있어서, 데이터의 특성을 이용하여 압축값과 압축특정값을 함께 저장함으로써, 종래의 픽셀 마다 복수개의 비트를 할당하여 전송/저장하는 것에 비하여 영상 데이터의 저장 용량을 획기적으로 줄일 수 있는 장점이 있다.According to the present invention, in the storage of camera image data and the like, the compression value and the compression specific value are stored together using the characteristics of the data. There is an advantage that can significantly reduce.

Claims (5)

카메라 시스템에서 영상을 압축하기 위한 방법에 있어서,In a method for compressing an image in a camera system, 원본 데이터가 입력되면, 상기 원본 데이터 내에 포함된 1의 개수만큼 최상위 비트부터 1을 채워 표준 데이터를 생성하는 제1 단계;A first step of generating standard data by filling 1's most significant bit by the number of 1's included in the original data when original data is input; 상기 원본 데이터와 상기 표준 데이터가 동일한지 여부를 판단하는 제2 단계;A second step of determining whether the original data and the standard data are the same; 상기 원본 데이터와 상기 표준 데이터가 동일하지 않으면, 상기 표준 데이터를 시프팅 하여 새로운 표준 데이터를 생성하고, 상기 시프팅 회수를 계수한 특정값을 갱신한 후, 상기 새로운 표준 데이터가 상기 원본 데이터와 동일하지 여부를 판단하는 제3 단계; 및If the original data and the standard data are not the same, the standard data is shifted to generate new standard data, and after updating a specific value counting the number of shifts, the new standard data is the same as the original data. Determining a third step; And 상기 원본 데이터와 상기 표준 데이터가 동일한 경우에는, 상기 표준 데이터에 의해 생성된 최종 압축 데이터 및 상기 시프트 회수의 계수에 따른 특정값을 포함하는 압축 데이터를 생성하는 제4 단계A fourth step of generating compressed data including the final compressed data generated by the standard data and a specific value according to the coefficient of the number of shifts when the original data and the standard data are the same; 를 포함하는 카메라 영상 압축 방법.Camera image compression method comprising a. 삭제delete 삭제delete 제 1 항에 있어서,The method of claim 1, 상기 특정값은 상기 표준 데이터가 상기 원본 데이터와 동일해지기 위한 과정의 시프트 회수를 계수한 계수값이며, 상기 최종 압축 데이터는 상기 표준 데이터의 1의 값을 갖는 비트의 갯수인 것을 특징으로 하는 카메라 영상 압축 방법.The specific value is a count value that counts the number of shifts in the process for the standard data to be identical to the original data, and the final compressed data is the number of bits having a value of 1 of the standard data. Video Compression Method. 제 1 항에 있어서,The method of claim 1, 상기 제3 단계는,The third step, 상기 원본 데이터와 상기 표준 데이터가 동일하지 않으면, 상기 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트가 표준 데이터의 최하위 비트인지 여부를 확인하는 단계;If the original data and the standard data are not the same, checking whether the least significant bit of the data having the minimum bit including 1 in the standard data is the least significant bit of the standard data; 상기 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트가 표준 데이터의 최하위 비트가 아닌 경우에는, 최하위 비트를 상기 표준 데이터의 하위 방향으로 한 비트 시프트하여 새로운 표준 데이터를 생성하고, 상기 특정값을 1 증가시키는 단계; 및If the least significant bit of the data having the smallest bit including 1 in the standard data is not the least significant bit of the standard data, shift the least significant bit one bit in the lower direction of the standard data to generate new standard data, and Increasing the specified value by one; And 상기 표준 데이터 내 1을 포함하는 최소의 비트를 갖는 데이터의 최하위 비트가 표준 데이터의 최하위 비트인 경우에는, 순차적인 다중 시프트 과정을 통해 새로운 표준 데이터를 생성하고, 상기 특정값을 1 증가시키는 단계를 포함하는 것을 특징으로 하는 카메라 영상 압축 방법.If the least significant bit of the data having the smallest bit including 1 in the standard data is the least significant bit of the standard data, generating new standard data through a sequential multiple shift process and increasing the specific value by 1 Camera image compression method comprising a.
KR1020030080112A 2003-11-13 2003-11-13 Camera video compression method KR100571242B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030080112A KR100571242B1 (en) 2003-11-13 2003-11-13 Camera video compression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030080112A KR100571242B1 (en) 2003-11-13 2003-11-13 Camera video compression method

Publications (2)

Publication Number Publication Date
KR20050046118A KR20050046118A (en) 2005-05-18
KR100571242B1 true KR100571242B1 (en) 2006-04-13

Family

ID=37245542

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030080112A KR100571242B1 (en) 2003-11-13 2003-11-13 Camera video compression method

Country Status (1)

Country Link
KR (1) KR100571242B1 (en)

Also Published As

Publication number Publication date
KR20050046118A (en) 2005-05-18

Similar Documents

Publication Publication Date Title
US7633641B2 (en) Image transmission apparatus using information on rendered range
US7098939B2 (en) Image display device and method for displaying thumbnail based on three-dimensional image data
CN104704550A (en) Data processing apparatus with adaptive compression algorithm selection based on visibility of compression artifacts for data communication over display interface and related data processing method
JPWO2005029863A1 (en) Image processing display device and image processing display method
EP1635581A1 (en) Transmitter apparatus, image processing system, image processing method, program, and recording medium
CN111818295A (en) Image acquisition method and device
KR100912560B1 (en) Television reception apparatus
JP2008193263A (en) Image processing method, image processing device, image processing program, and record medium
KR100571242B1 (en) Camera video compression method
US20080278606A9 (en) Image compositing
US20120249345A1 (en) Data processing device and data processing method
JP2004163998A (en) Device and method for displaying picture image
EP0767587A2 (en) Memory device for digital picture signal
JP2006033508A (en) Adaptive variable length coding device, adaptive variable length decoding device, adaptive variable length coding/decoding method, and adaptive variable length coding/decoding program
KR100513061B1 (en) Method for compressing camera image
KR100781833B1 (en) Method for compressing color data
EP1233375B1 (en) Image data encoding apparatus and method
CN117082281B (en) Audio and video data synchronous processing method, system, equipment and medium
KR100571245B1 (en) Camera video compression device
CN1321527C (en) Method and device for displaying character on screen
JP4941254B2 (en) Image compression apparatus, printer, and multifunction machine
JPS6366113B2 (en)
KR100205224B1 (en) Decoding data storing method of a mpeg system
JPS6339186B2 (en)
JP4076024B2 (en) Image compression / decompression device and digital video system

Legal Events

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

Payment date: 20120330

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130401

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee