KR20200089545A - Method for compressing binary image based 2x2 block - Google Patents

Method for compressing binary image based 2x2 block Download PDF

Info

Publication number
KR20200089545A
KR20200089545A KR1020190006409A KR20190006409A KR20200089545A KR 20200089545 A KR20200089545 A KR 20200089545A KR 1020190006409 A KR1020190006409 A KR 1020190006409A KR 20190006409 A KR20190006409 A KR 20190006409A KR 20200089545 A KR20200089545 A KR 20200089545A
Authority
KR
South Korea
Prior art keywords
pattern
block
pixels
binary image
information
Prior art date
Application number
KR1020190006409A
Other languages
Korean (ko)
Inventor
김세훈
Original Assignee
김세훈
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김세훈 filed Critical 김세훈
Priority to KR1020190006409A priority Critical patent/KR20200089545A/en
Publication of KR20200089545A publication Critical patent/KR20200089545A/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
    • 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/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • 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/17Methods 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 an image region, e.g. an object
    • H04N19/176Methods 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 an image region, e.g. an object the region being a block, e.g. a macroblock
    • 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/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/186Methods 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 colour or a chrominance component

Abstract

Disclosed is a method for compressing a binary image based on a 2x2 block. According to an embodiment of the present invention, the method for compressing a binary image based on a 2x2 block comprises the steps of: determining whether pixels included in a random block belong to existing patterns; calculating the number N (N is a natural number, hereinafter the same) of pixels belonging to the existing patterns; and compressing, when the N is equal to or greater than a predetermined value, the data of the block into a binary bit stream including pixel pattern type information with respect to pixels belonging to the existing patterns and color information with respect to pixels having a new pattern. According to the present invention, the method for compressing a binary image based on a 2x2 block has an advantage of reducing the loss of information which may occur in a process of compressing and reconstructing a binary pattern, thereby visually reducing a difference in the quality between an original image and a reconstructed image.

Description

2×2 블록 기반 이진 영상 압축 방법{Method for compressing binary image based 2x2 block}Method for compressing binary image based on 2×2 blocks{Method for compressing binary image based 2x2 block}

본 발명은 영상 압축에 관한 것으로서, 특히 반복되는 패턴을 갖는 픽셀과 불규칙 패턴을 갖는 픽셀이 하나의 블록 내에 존재하는 경우, 2x2 블록 기반 이진 영상 압축을 수행함에 있어, 기존의 패턴에 속하는 픽셀에 대하여는 최소의 정보만으로 압축하고, 불규칙 패턴을 갖는 픽셀에 대한 색상 정보를 비트 스트림에 추가함으로써, 효율적이면서도 시각적 화질의 열화를 방지할 수 있는 2x2 블록 기반 이진 영상 압축 방법에 관한 것이다.The present invention relates to image compression. In particular, when pixels having a repetitive pattern and pixels having an irregular pattern exist in one block, in performing 2x2 block-based binary image compression, for pixels belonging to an existing pattern The present invention relates to a 2x2 block-based binary image compression method capable of preventing deterioration of visual quality efficiently and by compressing with minimal information and adding color information for pixels having irregular patterns to a bit stream.

종래 기술에 따른 2x2 블럭 기반 이진 영상 압축 알고리즘은, 인접한 픽셀 간의 값 차이를 이용하여 영상 데이 터를 압축한다. 이러한 방식을 DPCM(Differential Pulse Code Modulation) 방식이라고도 한다.The 2x2 block-based binary image compression algorithm according to the prior art compresses image data using a difference in values between adjacent pixels. This method is also called a DPCM (Differential Pulse Code Modulation) method.

그런데, DPCM에 의할 경우, 기존 패턴에 속한 픽셀과 새로운 픽셀이 한 블록 내에 존재하게 되면, 해당 블록에 존재하는 모든 픽셀에 대한 영상의 압축 및 복원 과정에서의 정보의 손실이 크게 발생할 수 있다. 이는 이후에 압축되는 블록에도 영향을 미치게 된다. 따라서, 종래 기술에 따른 이진 영상 압축 방법에 의할 경우, 불규칙 패턴이 많이 존재하는 블록과 이러한 블록 에 인접한 블록은 원본과 대비하여 볼 때, 심각한 시각적인 화질 열화가 발생하는 문제가 있다.However, according to the DPCM, when a pixel belonging to an existing pattern and a new pixel exist in one block, loss of information in a process of compressing and restoring an image for all pixels existing in the corresponding block may occur significantly. This also affects blocks that are subsequently compressed. Therefore, according to the binary image compression method according to the related art, when a block having many irregular patterns and a block adjacent to the block are compared with the original, there is a problem that serious visual image quality deterioration occurs.

본 발명이 이루고자하는 기술적 과제는 시각적 화질의 열화를 최소화하면서도 효율적인 압축을 수행할 수 있는 2x2 블록 기반 이진 영상 압축 방법을 제공하는 것에 있다.The technical problem to be achieved by the present invention is to provide a 2x2 block-based binary image compression method capable of performing efficient compression while minimizing deterioration of visual image quality.

상기 기술적 과제를 달성하기 위한 본 발명의 실시예에 따른 이진 영상 압축 방법은 임의의 블록에 포함되는 픽셀들이 기존 패턴들에 속하는지를 판단하는 단계, 상기 기존 패턴들에 속하는 픽셀들의 개수 N(N은 자연수, 이하 동일)을 산출하는 단계 및 상기 N이 소정값 이상인 경우, 상기 블록의 데이터를, 상기 기존 패턴들에 속하는픽셀들에 대한 픽셀 패턴 타입 정보 및 새로운 패턴을 갖는 픽셀에 대한 색상 정보를 포함하는 이진 비트 스트 림으로 압축하는 단계를 구비한다.The binary image compression method according to an embodiment of the present invention for achieving the above technical problem includes determining whether pixels included in an arbitrary block belong to existing patterns, and the number N of pixels belonging to the existing patterns N(N is Calculating a natural number, hereinafter the same), and when the N is greater than or equal to a predetermined value, includes data of the block, pixel pattern type information for pixels belonging to the existing patterns, and color information for pixels having a new pattern. And compressing it into a binary bit stream.

바람직하게는, 상기 이진 비트 스트림은 상기 이진 비트 스트림이 압축된 이진 영상 정보를 포함하는지 여부를 나타내는 모드 정보를 더 포함할 수 있다. 또는, 상기 이진 비트 스트림은 상기 기존 패턴의 사용 여부를 나타내는 서브 모드 정보를 더 포함할 수 있다. 또한, 상기 블럭에 포함되는 픽셀들을 순차적으로 제 1 내지 제 M(M 은 N 이상의 자연수, 이하 동일)라고 할 때, 상기 이진 비트 스트림은,제 1 내지 제 N 픽셀이 상기 기존 패턴에속하는지 여부를 나타내는 패턴 정보를 더 포함할 수 있다. 또한, 상기 이진 비트 스트림은 상기 N에 대한 정보 를 더 포함할 수 있다.Preferably, the binary bit stream may further include mode information indicating whether the binary bit stream includes compressed binary image information. Alternatively, the binary bit stream may further include sub-mode information indicating whether to use the existing pattern. In addition, when the pixels included in the block are sequentially referred to as first to M (M is a natural number greater than or equal to N, hereinafter equal), the binary bit stream is whether or not the first to Nth pixels belong to the existing pattern. It may further include pattern information indicating. In addition, the binary bit stream may further include information on the N.

바람직하게는, 임의의 픽셀이 상기 기존 패턴에 속하는 경우, 상기 픽셀이 상기 기존 패턴들 중 어느 패턴에 속하는지를 판단하는 단계가 더 구비될 수 있다. 이때, 상기 픽셀 패턴 타입 정보는, 상기 기존 패턴들에 속하는 픽셀들이 어느 패턴에 속하는지에 대한 정보를 포함할 수 있다.Preferably, when an arbitrary pixel belongs to the existing pattern, a step of determining which of the existing patterns the pixel belongs to may be further provided. In this case, the pixel pattern type information may include information on which pattern the pixels belonging to the existing patterns belong to.

바람직하게는, 상기 색상 정보는, 대응되는 픽셀의 RGB 값일 수 있다. 바람직하게는, 상기 블럭이 새로운 패턴을 갖는 픽셀을 2개 이상 포함하는 경우, 상기 색상 정보는, 상기 새로운 패턴을 갖는 픽셀들의 평균값일 수 있다.Preferably, the color information may be an RGB value of a corresponding pixel. Preferably, when the block includes two or more pixels having a new pattern, the color information may be an average value of pixels having the new pattern.

바람직하게는, 상기 N이 소정값보다 작은 경우, 차분펄스부호변환 방식으로 상기 블록의 데이터를 압축하는 단 계가 더 구비될 수 있다.Preferably, when N is smaller than a predetermined value, a step of compressing data of the block by a differential pulse code conversion method may be further provided.

바람직하게는, 이진 영상 압축 방법은, 2x2 블록을 기반으로 하는 영상 압축 방법일 수 있다. 이때, 상기 소정 값은 2일 수 있다.Preferably, the binary image compression method may be an image compression method based on a 2x2 block. At this time, the predetermined value may be 2.

본 발명에 따른 2x2 블록 기반 이진 영상 압축 방법은 이진 패턴에 대한 압축 및 복원 과정에서 발생할 수 있는정보의 손실을 줄여 시각적으로 원본 영상과 복원된 영상 간의 화질 차이를 개선할 수 있는 장점이 있다.The 2x2 block-based binary image compression method according to the present invention has an advantage of visually improving a difference in image quality between an original image and a reconstructed image by reducing loss of information that may occur during compression and restoration of a binary pattern.

따라서, 본 발명에 따른 2x2 블록 기반 이진 영상 압축 방법은 LCD 패널의 응답 속도 보상 회로의 프레임 메모리 압축 엔진이나, 넓은 대역폭을 차지하는 영상 전송을 위한 압축 회로 등, 화질이 중시되는 영상 압축 회로에적용될 수 있을 것이다.Therefore, the 2x2 block-based binary image compression method according to the present invention can be applied to a video compression circuit that emphasizes image quality, such as a frame memory compression engine of a response speed compensation circuit of an LCD panel or a compression circuit for image transmission that occupies a wide bandwidth. There will be.

본 발명의 상세한 설명에서 인용되는 도면을 더 충분히 이해하기 위하여 각 도면의 간단한 설명이 제공된다.
도 1은 본 발명에 따른 이진 영상 압축 방법을 나타내는 순서도이다.
도 2는 도 1의 이진 영상 압축 방법에 의해 압축되는 영상 데이터를 나타내는 도면이다.
도 3은 N이 "3"인 경우의 도 1의 이진 영상 압축 방법에 따른 이진 비트 스트림의 구조를 나타내는 도면이다.
도 4는 N이 "2"인 경우의 도 1의 이진 영상 압축 방법에 따른 이진 비트 스트림의 구조를 나타내는 도면이다.
BRIEF DESCRIPTION OF THE DRAWINGS In order to better understand the drawings cited in the detailed description of the present invention, a brief description of each drawing is provided.
1 is a flowchart illustrating a binary image compression method according to the present invention.
FIG. 2 is a diagram illustrating image data compressed by the binary image compression method of FIG. 1.
FIG. 3 is a diagram illustrating the structure of a binary bit stream according to the binary image compression method of FIG. 1 when N is "3".
FIG. 4 is a diagram illustrating the structure of a binary bit stream according to the binary image compression method of FIG. 1 when N is "2".

본 발명과 본 발명의 동작상의 이점 및 본 발명의 실시에 의하여 달성되는 목적을 충분히 이해하기 위해서는 본발명의 바람직한 실시예를 예시하는 첨부 도면 및 도면에 기재된 내용을 참조하여야 한다.In order to fully understand the present invention and the operational advantages of the present invention and the objects achieved by the practice of the present invention, reference should be made to the accompanying drawings and the contents described in the drawings, which illustrate preferred embodiments of the invention.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예를 설명함으로써, 본 발명을 상세히 설명한다. 각 도 면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다.Hereinafter, the present invention will be described in detail by explaining preferred embodiments of the present invention with reference to the accompanying drawings. The same reference numerals in each drawing denote the same members.

도 1은 본 발명의 실시예에 따른 이진 영상 압축 방법을 나타내는 순서도이다. 본 발명에 따른 이진 영상 압축방법은 특히, 도 2와 같이, 영상 데이터를 2x2 블록으로 구성하여, 블록에 대한 압축을 수행하는 2x2 블록 기반 이진 영상 압축 방법일 수 있다.1 is a flowchart illustrating a binary image compression method according to an embodiment of the present invention. The binary image compression method according to the present invention may be a 2x2 block-based binary image compression method for compressing a block by configuring image data into 2x2 blocks, as shown in FIG. 2.

이하에서는, 본 발명에 따른 이진 영상 압축 방법을 위해 설명되는 블럭은 도 2와 같이, 4개의 픽셀들을 포함하는 것을 전제한다. 또한, 각 블럭에 포함되는 4개의 픽셀들을 도 2에 도시되는 순서와 같이, 제 1 픽셀(P1), 제2 픽셀(P2), 제 3 픽셀(P3) 및 제 4 픽셀(P4)이라 전제한다. 도 2는 비록, 제 x(x는 자연수, 이하 동일) 블럭(BLKx)에 대한 픽셀들만을 명명하고 있으나, 제 i(i는 자연수, 이하 동일) 블럭(BLKi) 등의 픽셀들도, 제 1 픽셀(P1), 제 2 픽셀(P2), 제 3 픽셀(P3) 및 제 4 픽셀(P4)이라 한다.Hereinafter, it is assumed that the block described for the binary image compression method according to the present invention includes four pixels, as shown in FIG. 2. Also, it is assumed that the four pixels included in each block are the first pixel P1, the second pixel P2, the third pixel P3, and the fourth pixel P4, as shown in FIG. 2. . Although FIG. 2 designates only pixels for the x (x is a natural number, hereinafter the same) block BLKx, the pixels such as the i (i is a natural number, hereinafter the same) block BLKi are also the first. It is referred to as a pixel P1, a second pixel P2, a third pixel P3, and a fourth pixel P4.

그리고, 각 픽셀들은 정의된 기존의 A 패턴 또는 B 패턴을 갖거나, 새로운 패턴을 가질 수 있는 것을 전제한다. A 패턴 또는 B 패턴은 2x2 블록을 기반으로 하는 이진 영상 압축 방법에서, 정의된 기존의 패턴을 명명하는 것으로, 본 발명이 속하는 기술 분야의 당업자가 용이하게 실시할 수 있는 사항에 관한 것이다.In addition, it is assumed that each pixel has a defined existing A pattern or B pattern, or a new pattern. The A pattern or the B pattern refers to an existing pattern defined in a binary image compression method based on a 2x2 block, and relates to a matter that can be easily performed by those skilled in the art to which the present invention pertains.

도 1 및 도 2를 참조하면, 본 발명의 실시예에 따른 이진 영상 압축 방법(100)은 먼저, 임의의 블록에 포함되는픽셀들을 수신한다(S110). 다음으로, 수신되는 픽셀이 기존 패턴들에 속하는지가 판단된다(S120).1 and 2, the binary image compression method 100 according to an embodiment of the present invention first receives pixels included in an arbitrary block (S110 ). Next, it is determined whether the received pixel belongs to the existing patterns (S120).

수신되는 픽셀이 기존 패턴들에 속하는 경우(S120의 "예"), 기존 패턴들 중 어느 패턴에 속하는지에 대한 정보가 저장된다(S130). 즉, 수신되는 픽셀이 A 패턴에 속하는지 B 패턴에 속하는지에 대한 정보를 저장한다(S130). 반면, 수신되는 픽셀이 기존 패턴들에 속하지 아니하는 경우(S120의 "아니오"), 수신되는 픽셀에 대한 정보를 저장한다(S140). 이때, 수신되는 픽셀에 정보는 픽셀의 색상 정보, 즉 RGB 값일 수 있다. 이때, 상기와 같은 정보들은 본 발명에 따른 영상 데이터의 압축을 수행하는 시스템에 포함되는 메모리(미도시)일 수 있다.When the received pixel belongs to the existing patterns (YES in S120), information on which of the existing patterns belongs is stored (S130). That is, information on whether the received pixel belongs to the A pattern or the B pattern is stored (S130). On the other hand, if the received pixel does not belong to the existing patterns ("No" in S120), information on the received pixel is stored (S140). In this case, information on the received pixel may be color information of a pixel, that is, an RGB value. In this case, the above information may be a memory (not shown) included in a system for compressing image data according to the present invention.

상기와 같은 동작을 해당 블럭에 포함되는 모든 픽셀들에 대하여 수행한다(S150, S160). 하나의 블럭에 포함되는 모든 픽셀에 대한 판단이 종료되면(S150의 "예"), 본 발명의 실시예에 따른 이진 영상 압축 방법(100)은 해당 블럭에 기존 패턴(A 패턴 또는 B 패턴)에 속하는 픽셀의 개수 N(N은 자연수, 이하 동일)을 산출한다(S170).The above operation is performed on all pixels included in the corresponding block (S150, S160). When the determination of all the pixels included in one block is finished (YES in S150), the binary image compression method 100 according to an embodiment of the present invention is applied to an existing pattern (A pattern or B pattern) in the corresponding block. The number N of pixels (N is a natural number, hereinafter the same) is calculated (S170).

도 2의 예를 살펴본다. 제 x 블럭(BLKx)의 모든 픽셀들(P1 ~ P4)은 기존의 패턴에 속한다. 즉, 제 1 픽셀(P1) 및 제 4 픽셀(P4)은 A 패턴에 속하고, 제 2 픽셀(P2) 및 제 3 픽셀(P3)은 B 패턴에 속함을 알 수 있다. 따라서, 제 x 블럭(BLKx)에 대한 N 값은 "4"이다.Look at the example of FIG. 2. All pixels P1 to P4 of the x-th block BLKx belong to an existing pattern. That is, it can be seen that the first pixel P1 and the fourth pixel P4 belong to the A pattern, and the second pixel P2 and the third pixel P3 belong to the B pattern. Therefore, the N value for the xth block BLKx is "4".

제 i 블럭(BLKi)의 경우, 제 1 픽셀(P1)은 A 패턴에 속하고, 제 2 픽셀(P2) 및 제 3 픽셀(P3)은 B 패턴에 속함을 알 수 있다. 반면, 제 4 픽셀(P4)은 기존의 패턴이 아닌, 새로운 패턴을 갖는다. 따라서, 제 i 블럭(BLKi)에대한 N 값은 "3"이다.In the case of the i-th block BLKi, it can be seen that the first pixel P1 belongs to the A pattern, and the second pixel P2 and the third pixel P3 belong to the B pattern. On the other hand, the fourth pixel P4 has a new pattern, not an existing pattern. Therefore, the N value for the i-th block BLKi is "3".

또한, 제 j 블럭(BLKj)의 경우, 제 1 픽셀(P1)은 A 패턴에 속하고, 제 3 픽셀(P3)은 B 패턴에 속함을 알 수 있다. 반면, 제 2 픽셀(P2) 및 제 4 픽셀(P4)은 기존의 패턴이 아닌, 새로운 패턴을 갖는다. 따라서, 제 j 블럭(BLKj)에 대한 N 값은 "2"이다. 또한, 제 j 블럭(BLKj)의 제 2 픽셀(P2) 및 제 4 픽셀(P4)은 서로 다른 패턴을가질 수 있다.In addition, in the case of the j-th block BLKj, it can be seen that the first pixel P1 belongs to the A pattern, and the third pixel P3 belongs to the B pattern. On the other hand, the second pixel P2 and the fourth pixel P4 have a new pattern, not an existing pattern. Therefore, the N value for the j-th block BLKj is "2". In addition, the second pixel P2 and the fourth pixel P4 of the j-th block BLKj may have different patterns.

다음으로, 본 발명(100)은 N의 값이 소정값 이상인지를 판단한다(S180). 특히, 본 발명의 실시예에 따른 이진영상 압축 방법(100)은 소정값을 "2"로 설정할 수 있다. 소정값은 시스템의 성능 등에 따라, "2"가 아닌 다른값으로도 설정될 수 있을 것이다.Next, the present invention 100 determines whether the value of N is greater than or equal to a predetermined value (S180). In particular, the binary image compression method 100 according to an embodiment of the present invention may set a predetermined value to "2". The predetermined value may be set to a value other than "2" depending on the performance of the system.

다만, 하나의 블럭에 새로운 패턴을 갖는 픽셀들이 3개 이상 존재하는 경우(N = "0", "1")에는, DPCM과 같은 종 래 기술에 따른 이진 영상 압축 방법에 의함이 효율적일 수 있다(S300).However, when there are three or more pixels having a new pattern in one block (N = "0", "1"), it may be efficient by a binary image compression method according to conventional technology such as DPCM ( S300).

계속해서 도 1 및 도 2를 참조하면, N이 "2" 이상인 경우, 본 발명의 실시예에 따른 이진 영상 압축 방법(100) 은 블록을 후술되는 데이터 구조를 갖는 이진 비트 스트림으로 압축한다(S190).1 and 2, when N is "2" or more, the binary image compression method 100 according to an embodiment of the present invention compresses a block into a binary bit stream having a data structure described below (S190). ).

이하에서는 N이 "2"인 경우와 N이 "3"에 대한 본 발명에 따른 이진 비트 스트림의 구조를 나누어 설명한다. 전술한 바와 같이, N이 "2"인 경우는 도 2의 제 j 블럭(BLKj)과 같은 패턴을 갖는 픽셀들을 포함할 수 있고, N이 "3"인 경우는 도 2의 제 i 블럭(BLKi)과 같은 패턴을 갖는 픽셀들을 포함할 수 있다.Hereinafter, the structure of the binary bit stream according to the present invention for the case where N is "2" and N is "3" will be described. As described above, when N is “2”, pixels having the same pattern as the j block BLKj of FIG. 2 may be included, and when N is “3”, the i block BLKi of FIG. 2 may be included. ).

먼저, N이 "3"인 경우, 즉 도 2의 제 i 블럭(BLKi)과 같은 블럭에 대한 이진 비트 스트림에 대해 설명한다.First, when N is "3", that is, a binary bit stream for a block such as the i block BLKi in FIG. 2 will be described.

도 3은 제 i 블럭(BLKi)에 대한 이진 비트 스트림(BSTi)의 예를 나타내는 도면이다.3 is a diagram illustrating an example of a binary bit stream BSTi for the i-th block BLKi.

도 2 및 도 3을 참조하면, 이진 비트 스트림(BSTi)은 모드 정보(1), 서브 모드 정보(2), 패턴 정보(3), N에 대한 정보(4), 픽셀 패턴 타입 정보(5) 및 색상 정보들(6, 7, 8)을 포함한다. 다만, 이에 한정되는 것은 아니고, 상기 복수개의 정보 중 일부의 정보만을 포함하거나, 다른 정보를 포함할 수도 있다.2 and 3, the binary bit stream (BSTi) includes mode information (1), sub mode information (2), pattern information (3), information about N (4), and pixel pattern type information (5). And color information (6, 7, 8). However, the present invention is not limited thereto, and may include only some of the plurality of pieces of information or other information.

각 정보의 내용, 크기 및 값에 대하여, 더 자세히 설명한다.The content, size and value of each information will be described in more detail.

모드 정보(1)는 도 3에 도시되는 바와 같이, 4 비트로 구비될 수 있다. 모드 정보(1)는 이진 비트 스트림(BST i)이 이진 영상 정보를 포함함을 나타낸다. 따라서, 본 발명에 따른 이진 영상 압축 방법에 의한 이진 비트 스트림은, "1111"과 같은 이진 값을 갖도록 설정될 수 있다.The mode information 1 may be provided with 4 bits, as shown in FIG. 3. The mode information 1 indicates that the binary bit stream (BST i) includes binary image information. Accordingly, the binary bit stream by the binary image compression method according to the present invention can be set to have a binary value such as "1111".

서브 모드 정보(2)는 1 비트로 구비될 수 있다. 서브 모드 정보(2)는 이진 비트 스트림(BSTi)이 기존 패턴(A 패턴 또는 B 패턴)을 사용하였는지를 나타낼 수 있다. 따라서, 본 발명에 따른 이진 영상 압축 방법에 의한 이진비트 스트림은, "0"과 같은 이진 값을 갖도록 설정될 수 있다.The sub mode information 2 may be provided with 1 bit. The sub-mode information 2 may indicate whether the binary bit stream BSTi uses an existing pattern (A pattern or B pattern). Therefore, the binary bit stream by the binary image compression method according to the present invention can be set to have a binary value such as "0".

패턴 정보(3)는 3 비트로 구비될 수 있다. 패턴 정보(3)는 해당 블록의 제 1 픽셀(P1) 내지 제 3 픽셀(P3)이 기존 패턴에 속하는지를 나타낼 수 있다. 본 발명은 기존 패턴을 갖는 픽셀에 대하여는 이진 값 "1"을, 새로운 패턴을 갖는 픽셀에 대하여는 이진값 "0"을 갖도록 설정될 수 있다. 제 i 블럭(BLKi)의 경우, 제 i 블럭(BLKi)의제 1 픽셀(P1) 내지 제 3 픽셀(P3)이 기존 패턴에 속하므로, 도 3과 같이, "111"과 같은 이진 값을 가질 수 있다.다만, N이 "3"이더라도, 제 i 블럭(BLKi)과 달리, 제 1 픽셀(P1), 제 3 픽셀(P3) 및 제 4 픽셀(P4)이 기존 패턴을 갖는 블럭의 경우, 패턴 정보(3)는 "101"의 이진 값을 가질 수 있다. 즉, 도 3의 이진 비트 스트림(BSTi) 은 한 블럭 내에 새로운 패턴을 갖는 픽셀이 한 개만 존재하는 경우의 이진 비트 스트림이므로, 패턴 정보(3)를통해, 제 1 픽셀(P1) 내지 제 3 픽셀(P3) 뿐 아니라, 제 4 픽셀(P4)이 기존 패턴에 속하는지가 유추될 수 있다.The pattern information 3 may be provided in 3 bits. The pattern information 3 may indicate whether the first pixel P1 to the third pixel P3 of the corresponding block belong to an existing pattern. The present invention can be set to have a binary value "1" for pixels having an existing pattern and a binary value "0" for pixels having a new pattern. In the case of the i-block BLKi, since the first pixel P1 to the third pixel P3 of the i-block BLKi belong to an existing pattern, a binary value such as “111” may be obtained as shown in FIG. 3. However, even if N is "3", in the case of a block in which the first pixel P1, the third pixel P3, and the fourth pixel P4 have an existing pattern, unlike the i-th block BLKi, pattern information (3) may have a binary value of "101". That is, since the binary bit stream BSTi of FIG. 3 is a binary bit stream when only one pixel having a new pattern exists in one block, through the pattern information 3, the first pixel P1 to the third pixel In addition to (P3), it may be inferred whether the fourth pixel P4 belongs to an existing pattern.

도 3의 이진 비트 스트림(BSTi)이 N이 "3"인 경우에 대응되는 이진 비트 스트림인지 여부는, N에 대한 정보(4) 를 통해 알 수 있다. N에 대한 정보(4)는 1 비트 이상으로 구비될 수 있으며, 도 3의 이진 비트 스트림(BSTi)의경우 2 비트로 구비된다. N이 "3"인 경우, N에 대한 정보(4)는 "11"과 같은 이진 값을 가질 수 있다.Whether the binary bit stream BSTi of FIG. 3 is a binary bit stream corresponding to the case where N is "3" can be known through information 4 about N. The information 4 for N may be provided in 1 bit or more, and in the case of the binary bit stream BSTi of FIG. 3, 2 bits. When N is "3", information 4 for N may have a binary value such as "11".

다음으로, 도 3의 이진 비트 스트림(BSTi)은 3 비트로 구비되는 픽셀 패턴 타입 정보(5)를 포함할 수 있다. 픽셀 패턴 타입 정보(5)는 기존 패턴에 속하는 픽셀들이 A 패턴 및 B 패턴 중 어느 패턴에 속하는지를 나타낼 수있다. 본 발명은 해당 픽셀이 A 패턴에 속하는 경우 이진 값"0"을, B 패턴에 속하는 경우 이진 값 "1"을 갖도록 설정할 수 있다. 따라서, 도 2의 제 i 블럭(BLKi)에 대한 도 3의 이진Next, the binary bit stream BSTi of FIG. 3 may include pixel pattern type information 5 having 3 bits. The pixel pattern type information 5 may indicate which of the A pattern and the B pattern belongs to pixels belonging to the existing pattern. The present invention can be set to have the binary value "0" when the pixel belongs to the A pattern, and the binary value "1" when the pixel belongs to the B pattern. Thus, the binary of FIG. 3 for the i block BLKi of FIG. 2

비트스트림(BSTi)은 "011"과 같은 이진값을 가질 수 있다.The bitstream BSTi may have a binary value such as "011".

색상 정보들(6, 7, 8)은 각각, 새로운 패턴을 갖는 픽셀(제 4 픽셀(P4))에 대한 R, G, B 값에 대해 8 비트씩 구비될 수 있다. 다만, R, G, B 값은 8 비트들 중 상위 7 비트들에 저장될 수 있다. 또한, 저장되는 R, G, B 값은 압축률에 따라 상위 일부 비트만이 저장될 수 있다.The color information 6, 7, 8 may be provided by 8 bits for R, G, and B values for a pixel (fourth pixel P4) having a new pattern, respectively. However, R, G, and B values may be stored in the upper 7 bits of the 8 bits. In addition, the stored R, G, and B values may be stored only in some upper bits according to the compression rate.

상기와 같은 이진 비트 스트림을 생성시킴으로써, 하나의 블럭(BLKi)에 대한 압축이 수행될 수 있다. 다음으로, N이 "2"인 경우, 즉 도 2의 제 j 블럭(BLKj)과 같은 블럭에 대한 압축 방법을 설명한다.By generating the binary bit stream as described above, compression for one block BLKi can be performed. Next, when N is "2", that is, a compression method for a block such as the j block BLKj of FIG. 2 will be described.

도 4는 제 j 블럭(BLKj)에 대한 이진 비트 스트림(BSTj)의 예를 나타내는 도면이다.4 is a diagram illustrating an example of a binary bit stream BSTj for the j-th block BLKj.

도 2 및 도 4를 참조하면, 이진 비트 스트림(BSTj)은 또한, 도 3의 이진 비트 스트림과 같이, 모드 정보(1), 서브 모드 정보(2), 패턴 정보(3), 픽셀 패턴 타입 정보(4), N에 대한 정보(5) 및 색상 정보들(6, 7, 8)을 포함한다. 또한, 각 정보가 나타내는 내용도 동일하다. 다만, 일부의 정보의 크기 및 값이 도 3의 이진 비트 스트림 (BSTi)과 다를 수 있다. 더 자세히 설명한다.2 and 4, the binary bit stream (BSTj) also, like the binary bit stream of FIG. 3, mode information (1), sub mode information (2), pattern information (3), pixel pattern type information (4), information (5) for N and color information (6, 7, 8). In addition, the content indicated by each information is the same. However, the size and value of some information may be different from the binary bit stream (BSTi) of FIG. 3. Explain in more detail.

도 4의 이진 비트 스트림(BSTj)의 모드 정보(1) 및 서브 모드 정보(2)는 도 3의 경우와 동일하다. 또한, 도 4의이진 비트 스트림(BSTj)도 도 3과 마찬가지로 3 비트의 패턴 정보(3)를 포함할 수 있다. 다만, 제 j 블럭(BLK j)은 제 1 픽셀(P1) 및 제 3 픽셀(P3)이 기존 패턴에 속하고, 제 2 픽셀(P2)은 새로운 패턴에 속하므로, 패턴정보(3)는 이진 값 "101"을 갖는다.The mode information 1 and sub-mode information 2 of the binary bit stream BSTj of FIG. 4 are the same as those of FIG. 3. Also, the binary bit stream BSTj of FIG. 4 may include 3 bits of pattern information 3 as in FIG. 3. However, in the j block BLK j, since the first pixel P1 and the third pixel P3 belong to an existing pattern, and the second pixel P2 belongs to a new pattern, the pattern information 3 is a binary value "101".

반면, 도 4의 이진 비트 스트림(BSTj)은 N이 "2"인 블럭에 대한 이진 비트 스트림이므로, N에 대한 정보(4)가이진 값 "10"을 가질 수 있다. 마찬가지로, 픽셀 패턴 타입 정보(5)는 도 3과 달리, 제 j 블럭(BLKj)의 제 1 픽셀(P1) 및 제 3 픽셀(P3)만이 기존 패턴에 속하므로, 2 비트로 구비될 수 있다. 이때, 제 j 블럭(BLKj)의 제 1 픽셀(P1)은 A 패턴에, 제 3 픽셀(P3)은 B 패턴에 속하므로, 도 4의 픽셀 패턴 타입 정보(4)는 "01"과 같은 이진 값을 가질 수 있다.On the other hand, since the binary bit stream BSTj of FIG. 4 is a binary bit stream for a block in which N is "2", information about N may have a binary value "10". Similarly, the pixel pattern type information 5 may be provided with 2 bits because only the first pixel P1 and the third pixel P3 of the j-th block BLKj belong to the existing pattern, unlike FIG. 3. At this time, since the first pixel P1 of the j-th block BLKj belongs to the A pattern and the third pixel P3 belongs to the B pattern, the pixel pattern type information 4 of FIG. 4 is a binary value such as “01”. Can have

도 4의 이진 비트 스트림(BSTj)의 색상 정보들(6, 7, 8)은, 도 3과 같이, 각각, 새로운 패턴을 갖는 픽셀(제 4 픽셀(P4))에 대한 R, G, B 값에 대해 8 비트씩 구비될 수 있다. 또한, R, G, B 값은 8 비트들 중 상위 7 비트들에 저장될 수 있다. 다만, 도 4의 이진 비트 스트림(BSTj)의 색상 정보들(6, 7, 8)은 새로운 패턴을 갖는 두 개의 픽셀들의 색상 정보의 평균값, 즉 제 2 픽셀(P2) 및 제 4 픽셀(P4)의 RGB 각각의 평균값을 가질 수 있다.The color information (6, 7, 8) of the binary bit stream (BSTj) of FIG. 4 is R, G, and B values for a pixel (fourth pixel (P4)) having a new pattern, respectively, as shown in FIG. It may be provided for each 8 bits. In addition, R, G, and B values may be stored in the upper 7 bits of the 8 bits. However, the color information 6, 7, 8 of the binary bit stream BSTj of FIG. 4 is an average value of color information of two pixels having a new pattern, that is, the second pixel P2 and the fourth pixel P4. Each of RGB may have an average value.

이렇듯, 본 발명에 따른 이진 영상 압축 방법은, 2x2 블럭 기반 이진 영상 압축에 있어서, 하나의 블럭에 기존패턴과 새로운 패턴이 섞여 있는 경우, 기존 패턴에 속하는 픽셀들에 대하여는 최소의 정보만으로 압축하고, 새로운 패턴의 픽셀에 대하여는 색상 정보를 포함함으로써, 효율적이면서도 화질의 열화를 방지할 수 있다. 이상에서와 같이 도면과 명세서에서 최적 실시예가 개시되었다. 여기서 특정한 용어들이었으나, 이는 단지 본발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및균등한 타 실시예가 가능하다는 점을 이해할 것이다.As described above, in the binary image compression method according to the present invention, in the case of 2x2 block-based binary image compression, when an existing pattern and a new pattern are mixed in one block, the pixels belonging to the existing pattern are compressed with minimal information, By including color information for a pixel of a new pattern, it is possible to prevent degradation of image quality while being efficient. As described above, optimal embodiments have been disclosed in the drawings and specifications. Although specific terms are used herein, they are used only for the purpose of describing the present invention, and are not used to limit the scope of the present invention as defined in the claims or the claims. Therefore, those skilled in the art will understand that various modifications and other equivalent embodiments are possible therefrom.

예를 들어, 기존 패턴들에 속하는 픽셀이 4개인 경우에 대하여는 설명되지 아니하였으나, 이는 기존 패턴들에 속하는 픽셀이 3개인 도 2의 제 i 블럭에 대한 설명으로부터, 본 발명이 속하는 기술분야의 당업자가 용이하게 실시할 수 있을 것이다.For example, the case where there are 4 pixels belonging to the existing patterns is not described, but from the description of the i block of FIG. 2 with 3 pixels belonging to the existing patterns, a person skilled in the art to which the present invention pertains Will be easy to implement.

따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.Therefore, the true technical protection scope of the present invention should be determined by the technical spirit of the appended claims.

Claims (21)

임의의 블록에 포함되는 픽셀들이 기존 패턴들에 속하는지를 판단하는 단계;
상기 기존 패턴들에 속하는 픽셀들의 개수 N(N은 자연수, 이하 동일)을 산출하는 단계; 및
상기 N이 소정값 이상인 경우,
상기 블록을, 상기 기존 패턴들에 속하는 픽셀들의 패턴에 대한 정보 및 새로운 패턴을 갖는 픽셀에 대한 색상 정보를 포함하는 이진 비트 스트림으로 압축하는 단계를 구비하는 것을 특징으로 하는 이진 영상 압축 방법.
Determining whether pixels included in an arbitrary block belong to existing patterns;
Calculating the number N of pixels belonging to the existing patterns (N is a natural number, hereinafter the same); And
When N is greater than or equal to a predetermined value,
And compressing the block into a binary bit stream including information on a pattern of pixels belonging to the existing patterns and color information on a pixel having a new pattern.
제 1 항에 있어서, 상기 이진 비트 스트림은,
상기 이진 비트 스트림이 압축된 이진 영상 정보를 포함하는지 여부를 나타내는 모드 정보를 더 포함하는 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 1, wherein the binary bit stream,
And further comprising mode information indicating whether the binary bit stream includes compressed binary image information.
제 1 항에 있어서, 상기 이진 비트 스트림은,
상기 기존 패턴의 사용 여부를 나타내는 서브 모드 정보를 더 포함하는 것을 특징으로 하는 이진 영상 압축 방 법.
The method of claim 1, wherein the binary bit stream,
Binary image compression method, characterized in that it further comprises sub-mode information indicating whether to use the existing pattern.
제 1 항에 있어서,
상기 블럭에 포함되는 픽셀들을 순차적으로 제 1 내지 제 M(M은 N 이상의 자연수, 이하 동일) 픽셀이라고 할 때,
상기 이진 비트 스트림은,
제 1 내지 제 N 픽셀이 상기 기존 패턴에 속하는지 여부를 나타내는 패턴 정보를 더 구비하는 것을 특징으로 하는 이진 영상 압축 방법.
According to claim 1,
When the pixels included in the block are sequentially referred to as first to M (M is a natural number greater than or equal to N, hereinafter equal) pixels,
The binary bit stream,
A binary image compression method, further comprising pattern information indicating whether the first to Nth pixels belong to the existing pattern.
제 1 항에 있어서, 상기 이진 비트 스트림은,
상기 N에 대한 정보를 더 포함하는 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 1, wherein the binary bit stream,
Binary image compression method, characterized in that it further comprises information about the N.
제 1 항에 있어서, 상기 이진 비트 스트림은,
상기 기존 패턴에 속하는 N개의 픽셀들이 상기 기존 패턴들 중 어떤 패턴에 속하는지에 대한 픽셀 패턴 타입 정 보를 더 구비하는 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 1, wherein the binary bit stream,
A binary image compression method, characterized in that it further comprises pixel pattern type information on which of the N patterns belonging to the existing pattern belongs to the existing pattern.
제 1 항에 있어서,
임의의 픽셀이 상기 기존 패턴에 속하는 경우,
상기 픽셀이 상기 기존 패턴들 중 어느 패턴에 속하는지를 판단하는 단계를 더 포함하는 것을 특징으로 하는 이 진 영상 압축 방법.
According to claim 1,
If any pixel belongs to the existing pattern,
And determining which of the existing patterns the pixel belongs to.
제 7 항에 있어서, 상기 이진 비트 스트림은,
상기 기존 패턴들에 속하는 픽셀들이 어느 패턴에 속하는지에 대한 픽셀 패턴 타입 정보를 포함하는 것을 특징 으로 하는 이진 영상 압축 방법.
The method of claim 7, wherein the binary bit stream,
Binary image compression method, characterized in that it comprises pixel pattern type information about which pattern belongs to the pixels belonging to the existing patterns.
제 1 항에 있어서, 상기 색상 정보는,
대응되는 픽셀의 R, G, B 값인 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 1, wherein the color information,
Binary image compression method, characterized in that the R, G, B values of the corresponding pixel.
제 1 항에 있어서, 상기 색상 정보는,
압축률에 따라 대응되는 픽셀의 R, G, B 값의 상위 일부 비트만을 저장하는 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 1, wherein the color information,
A binary image compression method characterized by storing only the upper part of the bits of the R, G, and B values of the corresponding pixel according to the compression rate.
제 1 항에 있어서,
상기 블럭이 새로운 패턴을 갖는 픽셀을 2개 이상 포함하는 경우,
상기 색상 정보는,
상기 새로운 패턴을 갖는 픽셀들의 평균값인 것을 특징으로 하는 이진 영상 압축 방법.
According to claim 1,
When the block includes two or more pixels having a new pattern,
The color information,
Binary image compression method, characterized in that the average value of the pixels having the new pattern.
제 1 항에 있어서, 상기 이진 비트 스트림은,
상기 이진 비트 스트림이 압축된 이진 영상 정보를 포함하는지 여부를 나타내는 모드 정보;
상기 기존 패턴의 사용 여부를 나타내는 서브 모드 정보;
상기 블럭에 포함되는 픽셀들을 순차적으로 제 1 내지 제 M 픽셀이라고 할 때, 제 1 내지 제 N 픽셀이 상기 기 존 패턴에 속하는지 여부를 나타내는 패턴 정보;
상기 N에 대한 정보;
상기 기존 패턴에 속하는 N개의 픽셀들이 상기 기존 패턴들 중 어떤 패턴에 속하는지에 대한 픽셀 패턴 타입 정보; 및
상기 새로운 패턴을 갖는 픽셀들에 대한 색상 정보를 포함하는 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 1, wherein the binary bit stream,
Mode information indicating whether the binary bit stream includes compressed binary image information;
Sub-mode information indicating whether to use the existing pattern;
Pattern information indicating whether the first to Nth pixels belong to the existing pattern when the pixels included in the block are sequentially referred to as first to Mth pixels;
Information about the N;
Pixel pattern type information on which of the existing patterns belong to the N patterns belonging to the existing pattern; And
Binary image compression method comprising the color information for the pixels having the new pattern.
제 1 항에 있어서,
상기 N이 소정값보다 작은 경우,
차분펄스부호변환(DCPM(Differential Pulse Code Modulation)) 방식으로 상기 블록의 데이터를 압축하는 단계 를 더 구비하는 것을 특징으로 하는 이진 영상 압축 방법.
According to claim 1,
When N is smaller than a predetermined value,
And compressing the data of the block by a differential pulse code conversion (DCPM) method.
제 1 항에 있어서, 이진 영상 압축 방법은,
2x2 블록을 기반으로 하는 영상 압축 방법인 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 1, wherein the binary image compression method,
Binary image compression method, characterized in that the image compression method based on a 2x2 block.
제 1 항에 있어서, 상기 소정값은,
2인 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 1, wherein the predetermined value,
Binary image compression method, characterized in that 2.
2x2 블럭 기반 이진 영상 압축 방법에 있어서,
임의의 블록에 포함되는 픽셀들이 정의된 A 패턴 또는 B 패턴에 속하는지를 판단하는 단계;
상기 A 패턴 또는 상기 B 패턴에 속하는 픽셀의 개수 N을 산출하는 단계; 및
상기 N이 소정값 이상인 경우,
상기 블록을, 상기 A 패턴 또는 상기 B 패턴에 속하는 픽셀들의 패턴에 대한 정보 및 새로운 패턴을 갖는 픽셀
에 대한 색상 정보를 포함하는 이진 비트 스트림으로 압축하는 단계를 구비하는 것을 특징으로 하는 2x2 블럭기반 이진 영상 압축 방법.
In the 2x2 block-based binary image compression method,
Determining whether pixels included in an arbitrary block belong to a defined A pattern or B pattern;
Calculating the number N of pixels belonging to the A pattern or the B pattern; And
When N is greater than or equal to a predetermined value,
The block, a pixel having the new pattern and information about the pattern of the pixels belonging to the A pattern or the B pattern
And compressing into a binary bit stream containing color information for 2x2 block-based binary image compression.
제 16 항에 있어서,
상기 이진 비트 스트림은,
상기 이진 비트 스트림이 압축된 이진 영상 정보를 포함 여부를 나타내는 모드 정보;
상기 A 패턴 또는 상기 B 패턴의 사용 여부를 나타내는 서브 모드 정보;
상기 블럭에 포함되는 처음 세 개의 픽셀들이 상기 A 패턴 또는 상기 B 패턴에 속하는지를 나타내는 패턴 정보; 상기 N에 대한 정보;
상기 기존 패턴에 속하는 N개의 픽셀들이 상기 A 패턴 및 상기 B 패턴들 중 어떤 패턴에 속하는지에 대한 픽셀
패턴 타입 정보; 및상기 새로운 패턴을 갖는 픽셀들에 대한 색상 정보를 포함하는 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 16,
The binary bit stream,
Mode information indicating whether the binary bit stream includes compressed binary image information;
Sub-mode information indicating whether to use the A pattern or the B pattern;
Pattern information indicating whether the first three pixels included in the block belong to the A pattern or the B pattern; Information about the N;
Pixels of which of the A patterns and the B patterns belong to the N pixels belonging to the existing pattern
Pattern type information; And color information on pixels having the new pattern.
제 16 항에 있어서, 상기 소정값은,
2인 것을 특징으로 하는 이진 영상 압축 방법.
The method of claim 16, wherein the predetermined value,
Binary image compression method, characterized in that 2.
제 16 항에 있어서,
상기 N이 3인 경우,
상기 색상 정보는,
대응되는 픽셀의 RGB 값인 것을 특징으로 하는 2x2 블럭 기반 이진 영상 압축 방법.
The method of claim 16,
When N is 3,
The color information,
2x2 block-based binary image compression method, characterized in that the RGB value of the corresponding pixel.
제 16 항에 있어서,
상기 N이 2인 경우,
상기 색상 정보는,
상기 새로운 패턴을 갖는 두 개의 픽셀들의 평균값인 것을 특징으로 하는 2x2 블럭 기반 이진 영상 압축 방법.
The method of claim 16,
When N is 2,
The color information,
2x2 block-based binary image compression method, characterized in that the average value of the two pixels with the new pattern.
제 16 항에 있어서,
상기 N이 2보다 작은 경우,
차분펄스부호변환(DCPM(Differential Pulse Code Modulation)) 방식으로 상기 블록의 데이터를 압축하는 단계 를 더 구비하는 것을 특징으로 하는 2x2 블럭 기반 이진 영상 압축 방법.
The method of claim 16,
When N is less than 2,
2x2 block-based binary image compression method characterized in that it further comprises the step of compressing the data of the block by a differential pulse code conversion (DCPM (Differential Pulse Code Modulation)) method.
KR1020190006409A 2019-01-17 2019-01-17 Method for compressing binary image based 2x2 block KR20200089545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190006409A KR20200089545A (en) 2019-01-17 2019-01-17 Method for compressing binary image based 2x2 block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190006409A KR20200089545A (en) 2019-01-17 2019-01-17 Method for compressing binary image based 2x2 block

Publications (1)

Publication Number Publication Date
KR20200089545A true KR20200089545A (en) 2020-07-27

Family

ID=71894050

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190006409A KR20200089545A (en) 2019-01-17 2019-01-17 Method for compressing binary image based 2x2 block

Country Status (1)

Country Link
KR (1) KR20200089545A (en)

Similar Documents

Publication Publication Date Title
US6339616B1 (en) Method and apparatus for compression and decompression of still and motion video data based on adaptive pixel-by-pixel processing and adaptive variable length coding
US5093872A (en) Electronic image compression method and apparatus using interlocking digitate geometric sub-areas to improve the quality of reconstructed images
US5109282A (en) Halftone imaging method and apparatus utilizing pyramidol error convergence
GB2260239A (en) Picture encoding and decoding
US5699079A (en) Restoration filter for truncated pixels
US9386190B2 (en) Method and device for compression of an image signal and corresponding decompression method and device
US7834887B2 (en) Methods and systems for combining luminance preserving quantization and halftoning
US20020048398A1 (en) Method of and system for low-bandwidth transmission of color video
CA2255296C (en) Image encoding/decoding by eliminating color components in pixels
US5818535A (en) Method and apparatus for adaptive hybrid motion video compression and decompression
US5247589A (en) Method for encoding color images
US20040190782A1 (en) Image processing apparatus, image processing program, and storage medium
KR20090099733A (en) Method for compressing binary image based 2x2 block
EP0781493B1 (en) Packed yuv9 format for interleaved storage and efficient processing of digital video data
CN110619667B (en) PNG picture compression method and system
KR20200089545A (en) Method for compressing binary image based 2x2 block
JPH04248771A (en) Information hiding method
KR100916996B1 (en) Image processing apparatus and method, lcd overdrive system using the same
JPH09275498A (en) Image compressing method
US7333118B2 (en) Device and method for processing an image to be displayed with a reduced number of colors
KR100403797B1 (en) Method and apparatus for diffusing corrected error in moving picture display system
JPS61169086A (en) Encoding system of half tone image
JP3429047B2 (en) Decoding device and decoding method
CN113436087A (en) Image binarization and display method, storage medium and terminal equipment
JP3323615B2 (en) Image data compression apparatus and method