JPS605115B2 - Color image encoding processing method - Google Patents
Color image encoding processing methodInfo
- Publication number
- JPS605115B2 JPS605115B2 JP54006332A JP633279A JPS605115B2 JP S605115 B2 JPS605115 B2 JP S605115B2 JP 54006332 A JP54006332 A JP 54006332A JP 633279 A JP633279 A JP 633279A JP S605115 B2 JPS605115 B2 JP S605115B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- sub
- color
- encoding
- unit
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired
Links
Landscapes
- Color Television Systems (AREA)
Description
【発明の詳細な説明】
本発明は、カラー画像符号化処理方式、特にカラー画像
をディジタル符号化して少ないビット数で列えばディジ
タル記憶装置などに蓄積するためのカラー画像符号化処
理方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a color image encoding processing method, and particularly to a color image encoding processing method for digitally encoding a color image and storing it in a digital storage device etc. by arranging it in a small number of bits. be.
−従来カラー画像を蓄積しておき
必要に応じて検索するための符号化処理方式として、例
えばディジタル磁気ディスクなどに画像伝送用のディジ
タル符号として知られるDPCM符号の形でカラー画像
を蓄積するものがあるが、DPCM符号化によりカラー
テレビジョン1画面分をディジタル符号化した場合には
1画面分の信号が100方ないし125万ビット程度(
1画素あたり4ないし5ビット)のデータ量となり経済
性の点で問題があった。- Conventionally, as a coding processing method for storing color images and retrieving them as needed, there is a method that stores color images in the form of a DPCM code, known as a digital code for image transmission, on a digital magnetic disk, for example. However, when one color television screen is digitally encoded using DPCM encoding, the signal for one screen is approximately 100 to 1.25 million bits (
The amount of data is 4 to 5 bits per pixel, which poses a problem in terms of economy.
本発明は、ディジタル磁気ディスクなどのディジタル記
憶装置に対して色の種類や精細度がある程度限定された
カラー画像を効率良く蓄積するために該カラー画像を細
分化して得られる各領域の局所的性質に応じて高能率に
符号化を行なう手順を提供する事を目的とするもので、
以下図面を用いて詳細に説明する。第1図は、本発明が
対象とするカラー画像の一例を模式的に示した説明図で
ある。In order to efficiently store color images whose color types and definition are limited to a certain degree in a digital storage device such as a digital magnetic disk, the present invention is directed to the local characteristics of each area obtained by dividing a color image into pieces. The purpose is to provide a procedure for highly efficient encoding according to the
This will be explained in detail below using the drawings. FIG. 1 is an explanatory diagram schematically showing an example of a color image targeted by the present invention.
図では、比較的色の種類が少なく、また同一の色が継続
する領域が比較的広いカラー画像の例を示したものであ
る。いま第1図においては画像の背景部分101が青色
、三角形の部分102が赤色、四角形の部分103が緑
色に着色されているものとする。第2図は本発明におけ
るカラー画像のディジタル符号化の一実施例を示す。そ
して、第2図aはカラー画像を予め定めた大きさに分割
した領域(ブロック)がほぼ同一の色の画素より構成さ
れている場合(以下、単色ブロックと呼ぶ)の符号化例
を示すもので、201は当該ブロックが単色フロックで
ある事を示す情報、202は当該単色フロック内の画素
の色を示す情報である。第2図bは前記単色ブロックが
複数個連続しかつ連続したそれぞれの単色ブロックが同
一の色の画素より構成されている場合の符号化例を示す
もので、203は単色ブロックが同一の色で複数個連続
する事を示す情報、204は該各ブロック内の画素の色
を示す情報、205は該各単色ブロックの連続個数を示
す情報である。第2図cはブロックが色の異なる2種以
上の画素より構成されている場合(以下、複色ブロック
と呼ぶ)の符号化例を示すもので、206は当該ブロッ
クが複色ブロックである事を示す情報、107なし、し
21川ま当該ブロックを予め定められた個数のサブブロ
ックに細分して得られる各サブブロック内画像情報であ
り、同図では当該ブロックを4個のサブブロックに細分
した場合を示している。第2図dないしfは前記サブブ
。ック内画像情報をさらに詳しく説明するための図であ
る。そして第2図dは当該サフフロックがほぼ同一の色
の画素より構成されている場合(以下単色サブブロツク
と呼ぶ)のサブブロック内画像情報を示すもので、21
1は当該サプブロックが単色サブブロックである事を示
す情報、212は当該サブブロツク内の画素の色を示す
情報である。また第2図cは当該サブブロックが色の異
なる2種の画素より構成されている場合(以下複色サプ
ブロツクと呼ぶ)のサブブロツク内画像情報を示すもの
で、213は等該サププロックが複色サブブロックであ
る事を示す情報、214と215とはそれぞれ当該複色
サブブロツク内の色の異なる2種の画素の色を示す情報
、216は当該複色サブプロック内における画素の前記
情報214と215とによって示される色に対応する色
別画素分布を示す情報である。さらに第2図fは前記複
色サプブロック内画像情報の別の一例を示すもので、2
17は当該サブブロックが複色ブロックである事と当該
サブブロック内画像情報とを情報形式fに符号化する事
を示す情報、218と219とはそれぞれ当該複色ブロ
ック内における色の異なる2種の画素の色を示す情報、
220は当該後色ブロック内における色の異なる2種の
画素の色別画素分布を示すのに、予め定めてある複数種
類の個数のうちのどの個数を単位として色別画素分布を
示すかの情報(以下分解能情報と呼ぶ)、221は前記
分解能清報220によって示された画素数を単位とする
当該複色サブブロツク内の色別画素分布を示す情報(以
下色別単位画素群分布情報と呼ぶ)を表わす。第3図は
第2図に示した符号化手法を第1図の画像例に適用する
場合の一例を示す説明図である。The figure shows an example of a color image with relatively few types of colors and a relatively wide area in which the same color continues. In FIG. 1, it is assumed that the background portion 101 of the image is colored blue, the triangular portion 102 is colored red, and the rectangular portion 103 is colored green. FIG. 2 shows an embodiment of digital encoding of a color image according to the present invention. Figure 2a shows an example of encoding when a color image is divided into predetermined sizes (blocks) that are composed of pixels of almost the same color (hereinafter referred to as monochrome blocks). 201 is information indicating that the block is a monochrome flock, and 202 is information indicating the color of the pixel within the monochrome flock. FIG. 2b shows an encoding example in which a plurality of monochrome blocks are consecutive and each continuous monochrome block is composed of pixels of the same color. Information indicating that a plurality of blocks are consecutive; 204 is information indicating the color of the pixels in each block; and 205 is information indicating the number of consecutive monochrome blocks. Figure 2c shows an example of encoding when a block is composed of two or more types of pixels with different colors (hereinafter referred to as a multicolor block), and 206 indicates that the block is a multicolor block. This is image information in each sub-block obtained by subdividing the block into a predetermined number of sub-blocks, and in the figure, the block is sub-divided into 4 sub-blocks. This shows the case where Figures 2d to 2f show the sub-bums. FIG. 2 is a diagram for explaining in-pack image information in more detail. FIG. 2d shows image information within a subblock when the subblock is composed of pixels of almost the same color (hereinafter referred to as a monochrome subblock).
1 is information indicating that the sub-block is a monochrome sub-block, and 212 is information indicating the color of the pixels within the sub-block. Further, Fig. 2c shows image information within a sub-block when the sub-block is composed of two types of pixels with different colors (hereinafter referred to as a multi-color sub-block), and 213 indicates that the sub-block is composed of two types of pixels with different colors. Information indicating that it is a block, 214 and 215 are information indicating the colors of two types of pixels of different colors in the multi-color sub-block, and 216 is based on the information 214 and 215 of the pixels in the multi-color sub-block. This is information indicating color-specific pixel distribution corresponding to the displayed color. Furthermore, FIG. 2f shows another example of the image information in the multi-color sub-block.
17 is information indicating that the sub-block is a multi-color block and that the image information within the sub-block is encoded in the information format f; 218 and 219 are two types of different colors within the multi-color block; information indicating the color of the pixel,
220 indicates the pixel distribution by color of two types of pixels of different colors in the relevant subsequent color block, and information indicating which number of the predetermined number of types is used as a unit to indicate the pixel distribution by color. (hereinafter referred to as resolution information), 221 is information indicating the pixel distribution by color in the multicolor sub-block in units of the number of pixels indicated by the resolution report 220 (hereinafter referred to as unit pixel group distribution information by color) represents. FIG. 3 is an explanatory diagram showing an example of the case where the encoding method shown in FIG. 2 is applied to the image example shown in FIG. 1.
301ないし312は第1図の画像を予め定めた一定の
大きさの領域に分割した場合の各領域(ブロック)を示
し、103は第1図に対応する青色の画素よりなる背景
部、102は第1図に対応する赤色の画像よりなる三角
形部、103は第1図に対応する緑色の画素よりなる四
角形部を示す。301 to 312 indicate each region (block) when the image of FIG. 1 is divided into regions of a predetermined constant size, 103 is a background portion consisting of blue pixels corresponding to FIG. 1, and 102 is a A triangular portion 103 is made up of a red image corresponding to FIG. 1, and a rectangular portion 103 is made up of green pixels corresponding to FIG.
いま第1図の画像を第2図に示した符号化手法を用いて
符号化する場合、第3図のブロック301は、第2図a
の形式で符号化を行ない、フロック303〜305は第
2図bの形式で符号化を行ない、フロツク302,30
6,307,308,309,310,311,312
はそれぞれ第2図cの形式で符号化することができる。
第4図は、第3図のブロック311を第2図cの形式で
符号化する場合の実施方法をさらに詳細に説明するため
のもので、ブロック311を第4図に示す如く、4個の
サブブロツク401〜404に細分するものとする10
1は第3図に於ける青色背景部の一部、102は赤色三
角形部の一部、103は緑色四角形部の一部を示してい
る。第3図のブ。ック311を第2図cの形式で符号化
する場合、第2図cに於いて第1のサブブロック401
の画像情報部207、第2のサブブロック402の画像
情報部208、および第4のサブブロツク404の画像
情報部210は、それぞれ第2図cあるいはfの形式で
符号化を行ない、また第3のサプブロツク403の画像
情報部209は第2図dの形式で符号化する事ができる
。第5図は第4図のサブブロック401を第2図eの形
式に符号化する場合を詳細に説明するための説明図であ
る。いま第4図のサブブロック401を微視的にみた場
合第5図aに示すように横方向8個、縦方向8個の画素
より機成されており、501は赤色画素群、502は青
色画素群を示しているとする。第5図aのサブブロック
を第2図eの形式に符号化する場合、第2図eの色別画
素分布情報216は、第5図bに示すように、第5図a
の各画素対応に各画素が赤色であれば例えば「0」、各
画素が青色であれば例えば「1」の数値を対応させ、第
5図bの数値列を予め定めた任意の順序で配列しておく
事により符号化できる。またこの時第2図e色情報部2
14および215にはそれぞれ赤色および青色を表わす
情報が符号化されている。第6図は第4図のサブブロッ
ク402を第2図fの形式で符号化する場合詳細に説明
するための説明図である。If the image in FIG. 1 is to be encoded using the encoding method shown in FIG. 2, the block 301 in FIG.
Flocks 303 to 305 are encoded in the format shown in FIG.
6,307,308,309,310,311,312
can be encoded in the format shown in FIG. 2c, respectively.
FIG. 4 is for explaining in more detail the implementation method when the block 311 in FIG. 3 is encoded in the format shown in FIG. 2c. 10 shall be subdivided into sub-blocks 401 to 404.
1 shows a part of the blue background part in FIG. 3, 102 shows a part of the red triangular part, and 103 shows a part of the green rectangular part. B in Figure 3. When the block 311 is encoded in the format shown in FIG. 2c, the first sub-block 401 in FIG.
The image information section 207 of the second sub-block 402, and the image information section 210 of the fourth sub-block 404 perform encoding in the format shown in FIG. 2c or f, respectively. The image information section 209 of the subblock 403 can be encoded in the format shown in FIG. 2d. FIG. 5 is an explanatory diagram for explaining in detail the case where the sub-block 401 of FIG. 4 is encoded into the format of FIG. 2 e. If we look at the sub-block 401 in Fig. 4 microscopically, it is composed of 8 pixels in the horizontal direction and 8 pixels in the vertical direction, as shown in Fig. 5a, where 501 is a red pixel group and 502 is a blue pixel group. Suppose that it shows a group of pixels. When the sub-block of FIG. 5a is encoded in the format of FIG. 2e, the color-specific pixel distribution information 216 of FIG.
If each pixel is red, a value such as "0" is associated with each pixel, and if each pixel is blue, a value such as "1" is associated with each pixel, and the numerical value strings in FIG. 5b are arranged in a predetermined arbitrary order. It can be encoded by keeping it. At this time, Fig. 2 e color information section 2
14 and 215 are encoded with information representing red and blue, respectively. FIG. 6 is an explanatory diagram for explaining in detail the case where the sub-block 402 of FIG. 4 is encoded in the format of FIG. 2 f.
いま第4図サブブロツク402を微視的にみた場合第6
図aに示すように横方向8個、縦方向8個の画素より構
成されており、かつ601は青色画素群、602は緑色
画素群を示しているとする。第6図a図示のサブブロッ
ク402は、第5図で説明したのと同様に第6図aの各
画素対応に「0」又は「1」を対応させた数値列を用い
て第2図eの形式に符号化できる事は明らかである。If we look at the sub-block 402 in Fig. 4 microscopically, the sixth
As shown in FIG. a, it is composed of eight pixels in the horizontal direction and eight pixels in the vertical direction, and 601 indicates a blue pixel group and 602 indicates a green pixel group. The sub-block 402 shown in FIG. 6a is constructed by using a numerical string in which "0" or "1" is associated with each pixel in FIG. 6a in the same way as explained in FIG. It is clear that it can be encoded in the form of
しかし、第6図aは第6図bに示すように横方向4個、
縦方向4個の画素群を1つの単位として(以下単位画素
群と呼ぶ)、青色の単位画像群603と緑色の単位画素
群604とから構成されているとみなす事ができる。し
たがって第4図のサブブロック402を第2図fの形式
で符号化する場合には第2図分解能情報22川こは上記
単位画素群が横方向4個、縦方向41個の画素から成る
事を示す情報を記入し、同じく色別単位画素群分布情報
221には第6図cに示すように第6図bの単位画素群
が青色か、あるいは緑色かに対応した数値列を予め定め
た任意の順序で記入する事により符号化する事ができる
。このようにして対象とする画像が、上記実施例の場合
1つのブロックが2種類の色をもつ場合に適用はされる
ものではあるが、カラー画像を少ないデータ量でディジ
タル符号化する事ができる。However, as shown in Fig. 6b, Fig. 6a shows 4 pieces in the horizontal direction;
With four vertical pixel groups as one unit (hereinafter referred to as a unit pixel group), it can be considered to be composed of a blue unit image group 603 and a green unit pixel group 604. Therefore, when the sub-block 402 in FIG. 4 is encoded in the format shown in FIG. 2 f, the resolution information 22 in FIG. Similarly, in the color unit pixel group distribution information 221, as shown in FIG. 6c, a numerical string corresponding to whether the unit pixel group in FIG. 6b is blue or green is predetermined. It can be encoded by filling in any order. In this way, although it is applied when the target image has two types of colors in one block in the case of the above embodiment, it is possible to digitally encode a color image with a small amount of data. .
なお一般性を与えることによって1つのブロックが3個
以上の色をもつことを許すように構成することは任意で
ある。第7図には、本発明をフローチャートの形で表わ
した一実施例を示す。Note that it is optional to allow one block to have three or more colors by providing generality. FIG. 7 shows an embodiment of the present invention in the form of a flowchart.
第7図において、701は、与えられたカラー画像の中
から順次ブロックに対応した画素情報を抽出するととも
に、与えられた画像の符号化処理の終了を識別するブロ
ック抽出部を表わす。702は、ブロック抽出部701
により抽出されたブロックが単色ブロックであるか複色
ブロックかを判別するブロック種別判別部を表わす。In FIG. 7, numeral 701 represents a block extraction unit that sequentially extracts pixel information corresponding to blocks from a given color image and identifies the end of encoding processing of the given image. 702 is a block extraction unit 701
represents a block type determination unit that determines whether the block extracted by is a monochrome block or a multicolor block.
703は、ブロック抽出部701で抽出されたブロック
が単色ブロックである場合に、該ブロックより前のブロ
ックの状態により次の処理を選択するブロック状態選択
部を表わす。Reference numeral 703 represents a block state selection unit that selects the next process based on the state of the block before the block extracted by the block extraction unit 701, when the block is a monochrome block.
704は、第2図aの形式にブロック内画素情報を符号
化する単色ブロックa符号化部を表わす。Reference numeral 704 represents a monochrome block a encoding unit that encodes intra-block pixel information in the format shown in FIG. 2a.
705は、第2図bの形式にブロック群内画素情報を符
号化する単色ブロックb符号化部を表わす。Reference numeral 705 represents a monochrome block b encoding unit that encodes the pixel information within a block group in the format shown in FIG. 2b.
706は、ブロック抽出部701で抽出されたブロック
が複数ブロックである場合に該ブロックよりも前のブロ
ックの状態により次の処理を選択する複色ブロック状態
選択部を表わす。Reference numeral 706 denotes a multi-color block state selection unit that selects the next process based on the state of the block before the block extracted by the block extraction unit 701 when there are a plurality of blocks.
707は、第2図aの形式にブロック内面素情報を符号
化する単色ブロックa符号化部を表わす。Reference numeral 707 represents a monochrome block a encoding unit that encodes the block inner element information in the format shown in FIG. 2a.
708は、第2図bの形式にブロック群内国素情報を符
号化する単色ブロックb符号化部を表わす。Reference numeral 708 represents a monochrome block b encoding unit that encodes the block group intra-block national element information in the format shown in FIG. 2b.
709は、与えられたブロックを予め定めた大きさのサ
プブロックに細分化し、順次サブブロック内画素情報を
抽出するとともに、与えられたブロック内の全サプブロ
ックに対する符号化処理の終了を識別するサブブロツク
抽出部を表わす。709 is a subblock that subdivides a given block into subblocks of a predetermined size, sequentially extracts pixel information within the subblocks, and identifies the end of encoding processing for all subblocks within the given block. Represents the extraction part.
710は、サブブロック抽出部709で抽出されたサブ
ブロツクが単色サブブロツクか複色サブブロツクかを判
別するサブブロツク種別判別部を表わす。Reference numeral 710 represents a sub-block type determining unit that determines whether the sub-block extracted by the sub-block extracting unit 709 is a monochrome sub-block or a multi-color sub-block.
711は、第2図dの形式にサブブロック内面素情報を
符号化する単色サブブロックd符号化部を表わす。Reference numeral 711 represents a monochromatic subblock d encoding unit that encodes subblock internal element information in the format shown in FIG. 2d.
712は、第2図eあるいはfの形式にサブブロック内
画素情報を符号化する複色サブブロツクeあるいはf符
号化部を表わす。Reference numeral 712 represents a multicolor subblock e or f encoding unit that encodes the pixel information within the subblock in the format shown in FIG. 2 e or f.
713は、第2図cの形式にブロック内画素情報を符号
化する榎色ブロックc符号化部を表わす。Reference numeral 713 represents a dark blue block c encoding unit that encodes the pixel information within the block in the format shown in FIG. 2c.
以下、第7図にもとづき本発明による符号化処理方式に
ついて説明する。The encoding processing method according to the present invention will be explained below based on FIG.
先ずブロック抽出部701に於いて与えられたカラー画
像から第1のブロック内の画素情報を抽出する。First, a block extraction unit 701 extracts pixel information in a first block from a given color image.
次いでブロック種別判別部702に於いて該ブロックか
単色ブロックか否かを判定し、単色ブロックならブロッ
ク状態選択部703にまた複色ブロックなら複色ブロッ
ク状態選択部706に処理を引き渡す。ここで例えば単
色ブロックである場合、ブロック状態選択部703は、
該ブロックの色情報を記憶し、処理をブロック抽出部7
01に戻す。ブロック抽出部701では第2のブロック
内の画素情報を抽出し、ブロック種別判別部702に於
いて単色ブロックか否かを判別する。第2のブロックも
単色ブロックである場合、フロック状態選択部703で
第1のブロックの色情報と第2のブロックの色情報を比
較し、同じ場合にはこの色情報と同じ色の単色ブロック
が連続する個数を記憶し、処理をブロック抽出部701
に戻す。一方第2のブロックの色情報と第1のブロック
の色情報が異なる場合には、第2のブロックの色情報を
記憶し、処理を単色ブロックa符号化部704に渡す。
単色ブロックa符号化部704では、ブロック状態選択
部703に記憶されていた第1のブロックの色情報に基
づき、第1のブロック内画素情報を第2図aの形式に符
号化して処理をブロック抽出部、701に戻す。以後同
様の処理を繰り返し、ブロック抽出部701に於いて抽
出されたブロックがブロック種別判別部702に於いて
単色ブロックと判別された場合、ブロック状態選択部7
03は該ブロックより前のブロックに対する符号化処理
が終了している場合には該ブロックの色情報を記憶して
処理をブロック抽出部701に戻す。また該ブロックよ
り前のブロックに対する符号化処理が未了の場合には、
直前のブロックの色情報と該ブロックの色情報を比較し
同じ場合には処理をブロック抽出部701に戻し、異な
る場合には処理未了ブロック個数により単色ブロック符
号化部704または705に処理を渡す。すなわち処理
未了ブロックが1個の場合は、これを独立な単色ブロッ
クと判断し、符号化部704へ処理を渡し、処理未了ブ
ロックが複数の場合は、これらを同一の色でかつ連続す
る単色ブロック群と判断し、符号化部705へ処理を渡
す。以上により、フロック抽出部701で抽出されたブ
ロックが単色ブロックの場合の符号化が成される。一方
、ブロック抽出部701で抽出されたブロックがブロッ
ク種別判別部702に於いて複色ブロックと判別されて
処理が複色ブロック状態選択部706に渡された場合を
以下に述べる。複色ブロック状態選択部706に於いて
は単色フロック状態選択部7083と同様の処理を行な
う。すなわちブロック抽出部701で抽出され、かつフ
ロック種別判別部702で複色ブロックと判別されたブ
ロックより前のブロックに対する符号化処理が終了して
いる場合には、処理をサブブロツク抽出部709に渡す
。また該ブロックより前のブロックに対する符号化処理
が未了の場合、符号化処理未了のブロックが1個のとき
にはこれを独立な単色ブロックと見なして処理を単色ブ
ロックa符号化部707に渡し、符号化処理未了のフロ
ックが複数のときには、これらを同一の色でかつ連続す
る単色ブロック群とみなして処理を単色ブロックb符号
化物708に渡す。符号化部707では第2図aの形式
に、また符号化部708では第2図bの形式にそれぞれ
符号化し、その後、処理をサブブロック抽出部709に
渡す。サフフロック抽出部709では、ブロック種別判
別部702で穣色ブロックと判別されたブロックをさら
に、予め定められた大きさのサブブロックに細分化し、
サブブロック内画素情報を順次抽出する。次いでサプブ
ロック種別判別部710で、これが単色サブブロックか
複色サブブロックかを判別し、該サブブロックが単色サ
ブブロックの場合には単色サブブロックd符号化部71
1へ、また複色サブブロックの場合には複色サブブーロ
ックeあるいはf符号化部712へ処理を渡す。符号化
部711では第2図dの形式に、また、符号化部712
では第2図eあるいはfの形式にそれぞれ符号化し、そ
の後、処理をサブブロック抽出部709に戻す。以後、
同様の処理を続行し、全てのサプブロックに対する符号
化処理が終了すると、サブブロック抽出部709は処理
を複色ブロックc符号化部713に渡し、該符号化部7
13に於いては符号化部711あるいは712によって
符号化された複数のサブブロック内画素情報に基づき、
ブロック種別判定部702で榎色ブロックと判別された
ブロック内画素情報を第2図cの形式に符号化し、処理
をブロック抽出部701に戻す。以上の如く全てのブロ
ックに対する符号化処理が終了すると、ブロック抽出部
701は処理を中止し、本実施例の符号化処理は終了す
る。Next, a block type determining unit 702 determines whether the block is a monochrome block, and if the block is a monochrome block, the processing is passed to the block state selection unit 703, and if it is a multicolor block, the process is passed to the multicolor block state selection unit 706. For example, in the case of a monochrome block, the block state selection unit 703
The color information of the block is stored and processed by the block extraction unit 7.
Return to 01. A block extraction unit 701 extracts pixel information within the second block, and a block type determination unit 702 determines whether or not it is a monochrome block. If the second block is also a monochrome block, the flock state selection unit 703 compares the color information of the first block and the color information of the second block, and if they are the same, a monochrome block of the same color as this color information is selected. The block extraction unit 701 stores the number of consecutive pieces and performs processing.
Return to On the other hand, if the color information of the second block is different from the color information of the first block, the color information of the second block is stored and the process is passed to the monochrome block a encoding unit 704.
The monochrome block a encoding unit 704 encodes the pixel information in the first block into the format shown in FIG. Return to extraction section 701. Thereafter, the same process is repeated, and if the block extracted by the block extraction unit 701 is determined to be a monochrome block by the block type determination unit 702, the block state selection unit 7
03 stores the color information of the block and returns the process to the block extraction unit 701 if the encoding process for the block before the block has been completed. Also, if the encoding process for the block before this block has not been completed,
The color information of the immediately preceding block is compared with the color information of the block, and if they are the same, the process is returned to the block extraction unit 701, and if they are different, the process is passed to the monochrome block encoding unit 704 or 705 depending on the number of unprocessed blocks. . In other words, if there is one unprocessed block, it is determined that it is an independent single-color block and the processing is passed to the encoding unit 704, and if there are multiple unprocessed blocks, these blocks are of the same color and are continuous. It is determined that it is a monochromatic block group, and processing is passed to the encoding unit 705. As described above, encoding is performed when the block extracted by the flock extraction unit 701 is a monochrome block. On the other hand, a case will be described below in which the block extracted by the block extraction unit 701 is determined to be a multicolor block by the block type determination unit 702 and processing is passed to the multicolor block state selection unit 706. The multicolor block state selection section 706 performs the same processing as the monochrome block state selection section 7083. That is, if the encoding process for the block preceding the block extracted by the block extracting unit 701 and determined to be a multicolor block by the flock type determining unit 702 has been completed, the processing is passed to the sub-block extracting unit 709. Further, if the encoding process for the block before this block has not been completed, and there is only one block that has not yet been encoded, this is regarded as an independent monochrome block and the process is passed to the monochrome block a encoding unit 707, When there are a plurality of blocks that have not yet been encoded, they are regarded as a continuous single-color block group of the same color, and processing is passed to the single-color block b encoded product 708. The encoding unit 707 encodes the data into the format shown in FIG. 2a, and the encoding unit 708 encodes it into the format shown in FIG. The saff lock extraction unit 709 further subdivides the block determined to be a maroon block by the block type determination unit 702 into subblocks of a predetermined size,
Pixel information within sub-blocks is sequentially extracted. Next, a sub-block type determination unit 710 determines whether this sub-block is a monochrome sub-block or a multi-color sub-block, and if the sub-block is a monochrome sub-block, a monochrome sub-block d encoding unit 71
1, and in the case of a multicolor subblock, the processing is passed to the multicolor subblock e or f encoding unit 712. The encoding unit 711 converts it into the format shown in FIG. 2d, and the encoding unit 712
Then, the data is encoded in the format shown in e or f in FIG. From then on,
Continuing similar processing, when the encoding processing for all sub-blocks is completed, the sub-block extracting unit 709 passes the processing to the multi-color block c encoding unit 713, and the encoding unit 7
In step 13, based on the plurality of intra-subblock pixel information encoded by the encoding unit 711 or 712,
The pixel information in the block determined to be a yellow block by the block type determining unit 702 is encoded into the format shown in FIG. 2c, and the processing is returned to the block extracting unit 701. When the encoding process for all blocks is completed as described above, the block extraction unit 701 stops the process, and the encoding process of this embodiment ends.
以上説明したように、本発明に依れば、比較的色の種類
や精細度の限られたカラー画像を比較的少ない数値列情
報で高能率にディジタル符号化する事が可能であり、し
かも該符号化処理は比較的簡単な構成で足り、特に必要
に応じて例えばディジタル計算機で開発された装置を適
用することも可能である。As explained above, according to the present invention, it is possible to digitally encode a color image with relatively limited color types and definition with a relatively small amount of numerical string information, and also it is possible to digitally encode a color image with relatively limited color types and definition. A relatively simple configuration is sufficient for the encoding process, and it is also possible to apply a device developed using a digital computer, for example, if necessary.
また、カラー画像をディジタル符号化して蓄積しておく
ための記憶装置などを経済的に実現し得るという利点が
ある。Another advantage is that a storage device for digitally encoding and storing color images can be realized economically.
第1図は本発明が対象とするカラー画像の一例を模式的
に示した説明図、第2図は本発明に於けるカラー画像の
ディジタル符号化の−実施例を示す符号化形式、第3図
は第2図に示した符号化手法を第1図のカラー画像例に
適用する場合の領域分割例を示す説明図、第4図は第3
図に於いて分割した1領域を更にサブブロックに細分化
した分割例を示す説明図、第5図aは第4図において細
分された領域をさらに微視的に観祭した場合の説明図、
第5図bは第5図aにおける各画素を色別に異なる数値
「0」,「1」を対応させた色別画表分布情報を説明す
る説明図、第6図aは第5図aの場合と同様に第4図に
おいて細分された領域をさらに微視的に競祭した場合の
説明図、第6図bは第6図aを横方向2画素、縦方向2
画素の単位画素群により構成されているとみなした場合
を説明する説明図、第6図cは第6図bにおける単位画
素群を色別に異なる数値「0」,「1」を対応させた場
合の色劇画素群分布情報を説明する説明図、第7図は本
発明によるカラー画像符号化処埋方式をフローチャート
の形で表わした一実施例を示す。
図中、101は背景部、102は三角形部、103は四
角形部、301なし、し312は夫々ブロック、401
ないし404は夫々サブブロツク、701はブロック抽
出部、702はブロック種別判別部、703はブロック
状態選択部、704,707は夫々単色ブロックa符号
化物、705,708は夫々単色ブロックb符号化物、
706は複色ブロック状態選択部、709はサブブロッ
ク抽出部、7101まサブブロツク種別判別部、711
は単色サブブロックd符号化部、712は複色サブブロ
ツクeあるいはf符号化部、713は複色ブロックc符
号化部を表わす。
弟l図
繋Z図
第3図
※4図
※5図
第6図
第7図FIG. 1 is an explanatory diagram schematically showing an example of a color image targeted by the present invention, FIG. 2 is an encoding format showing an embodiment of digital encoding of a color image in the present invention, and FIG. The figure is an explanatory diagram showing an example of region division when the encoding method shown in Fig. 2 is applied to the color image example of Fig.
An explanatory diagram showing an example of division in which one area divided in the figure is further subdivided into subblocks, FIG. 5 a is an explanatory diagram when the subdivided area in FIG.
Fig. 5b is an explanatory diagram illustrating the color-by-color map distribution information in which each pixel in Fig. 5a is associated with a different numerical value "0" or "1" for each color. Similarly to the case, FIG. 6b is an explanatory diagram when the subdivided area in FIG. 4 is further microscopically divided, and FIG.
An explanatory diagram illustrating the case where pixels are considered to be composed of unit pixel groups, and FIG. 6 c is a case where the unit pixel groups in FIG. 6 b are associated with different numerical values ``0'' and ``1'' for each color. FIG. 7 is an explanatory diagram illustrating color drama pixel group distribution information, and FIG. 7 shows an embodiment of the color image encoding processing method according to the present invention in the form of a flowchart. In the figure, 101 is a background part, 102 is a triangular part, 103 is a quadrilateral part, 301 is not provided, 312 is a block, and 401 is a rectangular part.
404 are sub-blocks, 701 is a block extraction unit, 702 is a block type discrimination unit, 703 is a block state selection unit, 704 and 707 are each a monochrome block a coded product, 705 and 708 are each a monochrome block b coded product,
706 is a multi-color block state selection section, 709 is a sub-block extraction section, 7101 is a sub-block type discrimination section, 711
712 represents a monochrome subblock d encoding unit, 712 represents a multicolor subblock e or f encoding unit, and 713 represents a multicolor block c encoding unit. Younger brother l figure connection Z figure figure 3 ※ 4 figure ※ 5 figure 6 figure 7
Claims (1)
クと呼ぶ)に細分化し、ほぼ同一の色をもつ画素群より
なる第1のブロツクと、該第1のブロツクが同一の色で
複数個連続する場合の第2のブロツク群と、色の異なる
2種以上の画素群よりなる第3のブロツクとに分けて夫
々抽出するブロツク状態選択部、および該ブロツク状態
選択部によって選択された上記第1のブロツクおよび第
2のブロツク群をデイジタル符号化する符号化部をそな
えると共に、前記第3のブロツクについては、該ブロツ
クを予め定めた大きさの領域(以下サブブロツクと呼ぶ
)にさらに細分化し、ほぼ同一の色をもつ画素群よりな
る第1のサブブロツクと、色の異なる2種以上の画素群
よりなる第2のサブブロツクとに分けて夫々抽出するサ
ブブロツク種別判別部、および該サブブロツク種別判別
部によって選択された上記サブブロツクをデイジタル符
号化するサブブロツク符号化部をそなえたことを特徴と
するカラー画像符号化処理方式。1 A color image is subdivided into areas of a predetermined size (hereinafter referred to as blocks), and a first block consisting of a group of pixels having almost the same color is divided into multiple consecutive blocks of the same color. a block state selection unit that separates and extracts a second block group when the pixel is selected and a third block that is made up of two or more types of pixel groups with different colors; The third block is further subdivided into regions of predetermined size (hereinafter referred to as sub-blocks), and the third block is further subdivided into regions of predetermined size (hereinafter referred to as sub-blocks). A sub-block type discriminating unit separates and extracts a first sub-block consisting of a group of pixels having the same color and a second sub-block consisting of two or more types of pixel groups having different colors, and a selection is made by the sub-block type discriminating unit. 1. A color image encoding processing method, comprising: a subblock encoding section for digitally encoding said subblocks.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54006332A JPS605115B2 (en) | 1979-01-22 | 1979-01-22 | Color image encoding processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54006332A JPS605115B2 (en) | 1979-01-22 | 1979-01-22 | Color image encoding processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5597784A JPS5597784A (en) | 1980-07-25 |
| JPS605115B2 true JPS605115B2 (en) | 1985-02-08 |
Family
ID=11635398
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP54006332A Expired JPS605115B2 (en) | 1979-01-22 | 1979-01-22 | Color image encoding processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS605115B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6033789A (en) * | 1983-08-03 | 1985-02-21 | Matsushita Electric Ind Co Ltd | Method for transmitting picture to be coded |
-
1979
- 1979-01-22 JP JP54006332A patent/JPS605115B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5597784A (en) | 1980-07-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100821847B1 (en) | Visual Attention System | |
| US5905579A (en) | Image processing method and apparatus which separates an input image into character and non-character areas | |
| US4979039A (en) | Method and apparatus for vector quantization by hashing | |
| JPS6326779A (en) | data compression | |
| JPH07236062A (en) | Image processing apparatus and method thereof | |
| WO1994000949B1 (en) | Video compression and decompression using block selection and subdivision | |
| JP2003528546A (en) | Hierarchical authentication system for images and videos | |
| US5901254A (en) | Apparatus and method for image reduction | |
| JP3462867B2 (en) | Image compression method and apparatus, image compression program, and image processing apparatus | |
| KR100199243B1 (en) | Multidimensional multi-value color image compression extension method | |
| CN112118449B (en) | Method and device for compressing and decompressing image | |
| JPH10112862A (en) | Digital data processing method | |
| JPS605115B2 (en) | Color image encoding processing method | |
| JPS641992B2 (en) | ||
| US5898794A (en) | Image compression method and image processing system | |
| JP3509397B2 (en) | Markov model image coding device | |
| KR20010023177A (en) | Video processing in PC uses statistically tuned color cube | |
| JPS5947916B2 (en) | Color image encoding processing method | |
| JP2882285B2 (en) | Color image compression / expansion method | |
| JPS5948425B2 (en) | Color image analysis device | |
| JP3144788B2 (en) | Color document image processing device | |
| JPS5947913B2 (en) | Color image processing device | |
| JP3330308B2 (en) | Color image information encoding processing method | |
| JPH02504099A (en) | Color video data compression method and its system | |
| Fojtík et al. | Invisible modification of the palette color image enhancing lossless compression |