JP3340006B2 - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JP3340006B2 JP3340006B2 JP31681195A JP31681195A JP3340006B2 JP 3340006 B2 JP3340006 B2 JP 3340006B2 JP 31681195 A JP31681195 A JP 31681195A JP 31681195 A JP31681195 A JP 31681195A JP 3340006 B2 JP3340006 B2 JP 3340006B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- block
- pixel
- density
- tone
- 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 - Fee Related
Links
Landscapes
- Image Input (AREA)
- Image Processing (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像データをブロ
ック符号化によって圧縮して格納する画像データ格納部
を備えた画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus provided with an image data storage unit for compressing and storing image data by block coding.
【0002】[0002]
【従来の技術】画像処理装置の一つに画像データをデジ
タル信号として取り扱うデジタル複写機が知られてい
る。この手段のデジタル複写機の構成を簡単に示すと図
4のようになる。すなわち、スキャナ101で画像デー
タを読み取り、A/D変換部102でデジタル信号に変
換し、画像処理部103でガンマ変換、画質補正などの
画像処理を行い、画像出力部104で画像データを紙上
に画素毎に印字して画像を出力する。2. Description of the Related Art A digital copying machine which handles image data as a digital signal is known as one of image processing apparatuses. FIG. 4 schematically shows the configuration of the digital copying machine of this means. That is, image data is read by the scanner 101, converted into a digital signal by the A / D converter 102, subjected to image processing such as gamma conversion and image quality correction by the image processor 103, and image data is printed on paper by the image output unit 104. Prints an image for each pixel and outputs an image.
【0003】デジタル信号として画像を取り扱う複写機
では、メモリに画像を蓄えておくことが可能である。画
像データをメモリに蓄えることができれば、一度取り込
んだ画像を何度も利用したり、また、入出力のアドレス
を変えて画像の回転などの加工や編集を行うことができ
る。ただし、画像の情報量は多く、そのままメモリに蓄
えると多くのメモリ容量が必要になり(例えば A4サ
イズの原稿を1画素256階調として解像度400dp
iで読み取ると、約16メガバイトになる。)、メモリ
の単価は高いことから、全体のコストが割高になってし
まう。そこで、画像データをそのまま蓄積するのではな
く、一度符号化してデータ量を圧縮してメモリに蓄える
方法が一般的に採られている。すなわち、データを圧縮
してメモリに蓄えることができるようにし、必要なメモ
リ量を減らしてコストを抑えるようにしている。In a copying machine that handles an image as a digital signal, the image can be stored in a memory. If the image data can be stored in the memory, the image once captured can be used many times, and the processing and editing such as rotation of the image can be performed by changing the input / output address. However, the amount of information of the image is large, and if it is stored in the memory as it is, a large memory capacity is required (for example, an A4 size document is set to 256 gradations per pixel and the resolution is 400 dp
When read with i, it is about 16 megabytes. ), Since the unit price of the memory is high, the overall cost becomes high. Therefore, a method is generally adopted in which image data is not stored as it is, but is encoded once, the data amount is compressed, and the data amount is stored in a memory. That is, the data can be compressed and stored in the memory, and the required memory amount is reduced to reduce the cost.
【0004】画像データが圧縮方式であるブロック符号
化方式は図5に示すように画像をブロックごとに分解し
てブロック内の1バイトの濃度値Lijを図6に示すアル
ゴリズムで平均値La (1バイト)、階調幅指標Ld
(1バイト)、画素ごとの符号φij(2ビット×16)
にデータの圧縮を行うものである。この符号化方式によ
り、図7に示すように画素の1バイトの4×4画素ブロ
ックのデータ量16バイトが6バイトになり、3/8の
データ量に圧縮が行える。図6のQj は復号時の量子化
代表値で図8に示すように各符号が複合時に割り当てら
れる濃度値である。In a block coding method in which image data is a compression method, an image is decomposed into blocks as shown in FIG. 5, and a 1-byte density value Lij in the block is averaged by an algorithm shown in FIG. Byte), gradation width index Ld
(1 byte), code φij for each pixel (2 bits x 16)
Data compression. With this encoding method, as shown in FIG. 7, the data amount of 16 bytes of a 4 × 4 pixel block of 1 byte of pixels becomes 6 bytes, and the data amount can be compressed to /. Qj in FIG. 6 is a representative quantization value at the time of decoding, and is a density value assigned when each code is combined as shown in FIG.
【0005】ところで、最近のデジタル複写機では、画
像データに赤が含まれている場合、赤の画素を判別して
赤を出力することができるものがある。例えば図9に示
すように領域11が赤で、それ以外の領域12が黒であ
る原稿のコピーをとった場合に、赤が原稿のままコピー
として出力される。このようなコピーにおいて、赤画像
のデータも黒画像と同じように多値のデータとして扱う
と情報量が多くなるので、赤画像については2値のデー
タとして扱うのが一般的である。[0005] In recent digital copiers, when red is included in image data, there is a digital copier that can determine a red pixel and output red. For example, as shown in FIG. 9, when a copy of a document in which the area 11 is red and the other area 12 is black is made, red is output as a copy of the document as it is. In such a copy, if the data of the red image is handled as multi-valued data as in the case of the black image, the amount of information increases, so that the red image is generally handled as binary data.
【0006】このように2色出力を行える複写機が前記
メモリに画像を圧縮して溜める機能を有する場合の複写
機の構成を図10に示す。この構成では、まず、スキャ
ナ21ではR,G,Bのラインセンサで画像データを画
素ごとのR,G,B信号を読み込み、A/D変換部22
で8ビットのデジタル信号に変換し、画像処理部23で
ガンマ変換などの画像処理を行う。ここで赤画像信号判
定部24では画素ごとにR信号とG信号の差を求め、そ
の差が閾値より大きいとき赤画像信号のビットを1に
し、G信号は0に変換する。それ以外のときは、赤画像
信号のビットは0でG信号の値は変わらない。これ以
降、G信号は黒画像の濃度値になる。信号切換部26を
Bに接続して画像出力部27にデータを送り、画像出力
部27ではこれらのデータを受けて赤と黒の色を含む画
像を出力する。FIG. 10 shows the configuration of a copying machine in which a copying machine capable of outputting two colors has a function of compressing and storing images in the memory. In this configuration, first, in the scanner 21, R, G, and B line sensors are used to read image data of R, G, and B signals for each pixel, and an A / D converter 22.
To convert the signal into an 8-bit digital signal, and the image processing unit 23 performs image processing such as gamma conversion. Here, the red image signal determination unit 24 calculates a difference between the R signal and the G signal for each pixel, and when the difference is larger than a threshold, sets the bit of the red image signal to 1 and converts the G signal to 0. In other cases, the bit of the red image signal is 0 and the value of the G signal does not change. Thereafter, the G signal becomes the density value of the black image. The signal switching unit 26 is connected to B and sends data to the image output unit 27. The image output unit 27 receives these data and outputs an image containing red and black colors.
【0007】画像格納部25に画像データを圧縮して格
納し、復号して画像を出力する場合には、スキャナ2
1、A/D変換部22、画像処理部23、赤画像信号判
定部24は前述の画像格納部25を用いていないときの
処理と同様である。画像処理部23および赤画像信号判
定部24からのデータは、黒画像の濃度値は前記のブロ
ック符号化方式によって符号化され、赤画像信号は2値
のまま格納される。このことにより、1ブロック分のデ
ータは図11に示すようにブロック符号化の符号に、ブ
ロック内の16画素の赤画像信号16ビット(2バイ
ト)を加えたものになる。画像格納部25から出力する
ときには、黒信号はブロック符号化の符号が復号された
データになり、赤画像信号は2値信号として出力され、
信号切換部26をAに接続して画像出力部27にデータ
を送り、画像出力部27では、これらのデータを受けて
赤と黒の色を含む画像を出力する。In the case where image data is compressed and stored in the image storage unit 25 and decoded to output an image, the scanner 2
1. The A / D converter 22, the image processor 23, and the red image signal determiner 24 are the same as the above-described processes when the image storage 25 is not used. In the data from the image processing unit 23 and the red image signal determination unit 24, the density value of the black image is encoded by the above-described block encoding method, and the red image signal is stored as binary. As a result, as shown in FIG. 11, the data for one block is obtained by adding 16 bits (2 bytes) of the red image signal of 16 pixels in the block to the code of the block coding. When output from the image storage unit 25, the black signal is data obtained by decoding a block coding code, the red image signal is output as a binary signal,
The signal switching unit 26 is connected to A and sends data to the image output unit 27. The image output unit 27 receives these data and outputs an image containing red and black colors.
【0008】[0008]
【発明が解決しようとする課題】しかし、このような方
式を採用すると、前述のように赤画像信号用にメモリ量
を増やす必要があり、メモリ量を増やすと、当然コスト
は上昇する。However, when such a method is adopted, it is necessary to increase the amount of memory for the red image signal as described above, and if the amount of memory is increased, the cost naturally increases.
【0009】本発明は、かかる点に鑑みてなされたもの
で、その目的は、赤画像信号を出力しない画像処理装置
と同一のメモリ量で、赤画像信号を出力することができ
る画像処理装置を提供することにある。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide an image processing apparatus capable of outputting a red image signal with the same memory amount as an image processing apparatus that does not output a red image signal. To provide.
【0010】[0010]
【課題を解決するための手段】前記目的を達成するた
め、第1の手段は、カラー多階調画像データから2値の
色画素データと黒の多階調画素データを生成するデータ
生成手段と、前記2値の色画素データと黒の多階調画素
データの各々を所定数に分解してブロックデータを生成
するデータ分解手段と、当該データ分解手段が分解した
黒の多階調画素データのブロックデータの濃度データを
算定する濃度算定手段と、当該濃度算定手段が算定した
濃度データを画素毎の符号と平均データと階調幅指標か
らなる圧縮データに符号化するデータ符号化手段と、当
該データ符号化手段で符号化されたブロックに対応する
前記データ生成手段で生成された2値の色画素データの
ブロック内で画素の値が1のとき、前記データ符号化手
段で生成された平均データと階調幅指標をこのブロック
に2値の色画素データの存在する位置のみを示すように
変換する符号変更手段とを備えていることを特徴とす
る。In order to achieve the above object, a first means is a data generation means for generating binary color pixel data and black multi-tone pixel data from color multi-tone image data. A data decomposer for decomposing each of the binary color pixel data and the black multi-tone pixel data into a predetermined number to generate block data; and a black multi-tone pixel data decomposed by the data decomposer. Density calculating means for calculating the density data of the block data; data coding means for coding the density data calculated by the density calculating means into compressed data comprising a code for each pixel, average data, and a gradation width index; When a pixel value is 1 in a block of binary color pixel data generated by the data generation unit corresponding to the block encoded by the encoding unit, the average generated by the data encoding unit is Characterized in that it comprises a sign change means for converting over data and tone width index to show only the presence position of the color pixel data of two values in the block.
【0011】第2の手段は、画素ごとの符号と平均デー
タと階調幅指標とからなる圧縮データを濃度データに復
号化するデータ復号化手段と、前記平均データと階調幅
指標が2値の色画素データを含むことを示す特定の値の
組のとき、画素ごとの符号が示す2値の色画素データの
存在する位置に基づいてブロック内に2値の色画素デー
タを配置し、ブロック内の黒の多階調データの濃度を0
に設定する復号データ変更手段とを備えていることを特
徴とする。The second means is a data decoding means for decoding compressed data comprising a code for each pixel, average data and a tone width index into density data, and a color decoding means wherein the average data and the tone width index are binary. In the case of a specific value set indicating that pixel data is included, binary color pixel data is arranged in a block based on the position where the binary color pixel data indicated by the code of each pixel exists, and Density of black multi-tone data is 0
And a decryption data changing means for setting the decryption data.
【0012】第3の手段は、第1の手段にさらに第2の
手段を設けたことを特徴とする。The third means is characterized in that the first means is further provided with a second means.
【0013】第4の手段は、カラー多階調画像データか
ら2値の色画素データと黒の多階調画素データを生成
し、前記2値の色画素データと黒の多階調画素データの
各々を所定数に分解してブロックデータを生成し、当該
データ分解手段が分解した黒の多階調画素データのブロ
ックデータの濃度データを算定し、当該濃度算定手段が
算定した濃度データを画素毎の符号と平均データと階調
幅指標からなる圧縮データに符号化し、当該データ符号
化手段で符号化されたブロックに対応する前記データ生
成手段で生成された2値の色画素データのブロック内で
画素の値が1のとき、前記データ符号化手段で生成され
た平均データと階調幅指標をこのブロックに2値の色画
素データの存在する位置のみを示すように変換すること
を特徴とする。The fourth means generates binary color pixel data and black multi-tone pixel data from the color multi-tone image data, and generates the binary color pixel data and black multi-tone pixel data. Each data is decomposed into a predetermined number to generate block data, the data decomposing means calculates the density data of the block data of the black multi-tone pixel data decomposed, and the density data calculated by the density calculating means is used for each pixel. In the block of binary color pixel data generated by the data generation unit corresponding to the block coded by the data coding unit, When the value of is 1, the average data and the gradation width index generated by the data encoding means are converted so as to indicate only positions where binary color pixel data exists in this block.
【0014】第5の手段は、画素ごとの符号と平均デー
タと階調幅指標とからなる圧縮データを濃度データに復
号化し、前記平均データと階調幅指標が2値の色画素デ
ータを含むことを示す特定の値の組のとき、画素ごとの
符号が示す2値の色画素データの存在する位置に基づい
てブロック内に2値の色画素データを配置し、ブロック
内の黒の多階調データの濃度を0に設定することを特徴
とする。The fifth means decodes compressed data comprising a code, average data, and a gradation width index for each pixel into density data, and the average data and the gradation width index include binary pixel data. In the case of a set of specific values shown, binary color pixel data is arranged in a block based on the position where the binary color pixel data indicated by the code of each pixel exists, and black multi-tone data in the block is placed. Is set to 0.
【0015】第6の手段は、第4の手段に引き続いて第
5の手段を実行することを特徴とする。The sixth means executes the fifth means following the fourth means.
【0016】[0016]
【発明の実施の形態】以下、図面を参照し、本発明の実
施の形態について説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0017】なお、本実施形態における構成は図10に
示した構成と同等なので、以下の説明においても前述の
従来例と同等な各部には同一の参照符号を付し、重複す
る説明は適宜省略する。Since the configuration in this embodiment is the same as the configuration shown in FIG. 10, the same reference numerals are given to the same portions as those in the above-described conventional example in the following description, and the repeated description will be omitted as appropriate. I do.
【0018】本発明の特徴は、図10における画像格納
部25の内部構成にあり、その詳細を図1に示す。図1
において、黒画像の濃度値は4ラインFIFO1で4ラ
イン分のデータが一度格納されてから4×4画素ブロッ
クごとに符号化部2で符号化され、La、Ld、φijの
データがメモリ4に格納される。一方、赤画像信号は2
値4ラインFIFO3に4ライン分の信号が格納されて
から4×4画素ブロックごとに符号化部2に入力され
る。ここで符号化部2で処理されている黒画像の濃度値
のブロックの値が図2の(a)であったとき、符号化の
値は図2の(b)になる。このとき、同じ位置のブロッ
クで図2の(c)に示すように赤画像信号(1)が存在
する場合、La=0、Ld=255(ブロック符号化の
アルゴリズムでは、このLa、Ldの組み合わせはでき
ない。)、φijを赤画像信号のブロックの0に対応して
00に、1に対応して11に変換する。このように変換
されたLa 、Ld 、φijのデータがメモリ4に格納され
る。画像を復号するときにはメモリからLa 、Ld 、φ
ijのデータを読み出し、復号部5でLa 、Ld をチェッ
クしてLa =0、かつLd =255ならブロックは、赤
画像信号として認識され、図3に示すように黒画像の濃
度値は全て0になり、赤画像信号は図2(d)に示すよ
うに00に対応する信号は0になり、11に対応する信
号は1になる。A feature of the present invention lies in the internal configuration of the image storage unit 25 in FIG. 10, and details thereof are shown in FIG. FIG.
In the black image density value, the data of four lines is stored once in the 4-line FIFO 1 and then coded by the coding unit 2 for each 4 × 4 pixel block, and the data of La, Ld and φij are stored in the memory 4. Is stored. On the other hand, the red image signal is 2
After the signals for four lines are stored in the value 4-line FIFO 3, the signals are input to the encoding unit 2 for each 4 × 4 pixel block. Here, when the value of the block of the density value of the black image being processed by the encoding unit 2 is (a) in FIG. 2, the encoding value is (b) in FIG. At this time, when a red image signal (1) exists in the block at the same position as shown in FIG. 2C, La = 0, Ld = 255 (in the block coding algorithm, the combination of La and Ld is used). ) Is converted to 00 corresponding to 0 of the red image signal block and to 11 corresponding to 1. The data of La, Ld, and φij thus converted are stored in the memory 4. When decoding an image, La, Ld, φ
The data of ij is read out, La and Ld are checked by the decoding unit 5, and if La = 0 and Ld = 255, the block is recognized as a red image signal, and as shown in FIG. 2 (d), the signal corresponding to 00 becomes 0, and the signal corresponding to 11 becomes 1 as shown in FIG.
【0019】これ以外のLa 、Ld の組み合わせについ
ては黒画像の濃度値は通常のブロック符号化の復号が行
われ、そのとき赤画像信号は0になる。このように復号
部5で復号された黒画像の濃度値と赤画像の画素ブロッ
クは、黒画像の濃度値が4ラインFIFO6に、赤画像
信号が赤データ用2値4ラインFIFO7に格納され
後、1ラインごとに画像出力部から出力される。このよ
うに赤画像が存在するブロックについては、通常のブロ
ック符号化で生成されないLa 、Ld の組により赤画像
信号のブロックであることを示すことにより、赤画像信
号分のメモリを増やすことなく、赤画像と、黒画像とを
取り扱い、画像圧縮データを格納する画像格納部を有す
るデジタル複写機を構成することができる。For other combinations of La and Ld, the density value of the black image is decoded by ordinary block coding, and the red image signal becomes 0 at that time. The density value of the black image and the pixel block of the red image decoded by the decoding unit 5 in this manner are obtained by storing the density value of the black image in the 4-line FIFO 6 and storing the red image signal in the binary 4-line FIFO 7 for red data. Are output from the image output unit for each line. As described above, a block in which a red image exists is indicated by a set of La and Ld that is not generated by normal block coding to indicate that the block is a red image signal, so that the memory for the red image signal is not increased, A digital copying machine that handles a red image and a black image and has an image storage unit that stores compressed image data can be configured.
【0020】[0020]
【発明の効果】以上のように、本発明によれば、以下の
ような効果を奏する。As described above, according to the present invention, the following effects can be obtained.
【0021】請求項1記載の発明によれば、濃度算定手
段が算定した濃度データを画素毎の符号と平均データと
階調幅指標からなる圧縮データに符号化するデータ符号
化手段と、データ符号化手段で符号化されたブロックに
対応するデータ生成手段で生成された2値の色画素デー
タのブロック内で画素の値が1のとき、前記データ符号
化手段で生成された平均データと階調幅指標をこのブロ
ックに2値の色画素データの存在する位置のみを示すよ
うに変換する符号変更手段とを備えているので、黒の多
階調データの圧縮データと2値の色画素データとを別個
に記憶したり伝送したりする必要がなくなり、全体のデ
ータ量が増大することなく、圧縮データを記憶するメモ
リの小型化や、圧縮データの伝送時間の短縮化を図るこ
とができる。According to the first aspect of the present invention, data encoding means for encoding the density data calculated by the density calculating means into compressed data comprising a code for each pixel, average data, and a gradation width index; When the pixel value is 1 in the block of binary color pixel data generated by the data generating means corresponding to the block encoded by the means, the average data and the gradation width index generated by the data encoding means Is provided so as to indicate only the position where the binary color pixel data exists in this block, so that the compressed data of the black multi-tone data and the binary color pixel data are separated from each other. It is not necessary to store or transmit the compressed data, and the size of the memory for storing the compressed data and the transmission time of the compressed data can be reduced without increasing the total data amount.
【0022】請求項2記載の発明によれば、画素ごとの
符号と平均データと階調幅指標とからなる圧縮データを
濃度データに復号化するデータ復号化手段と、平均デー
タと階調幅指標が2値の色画素データを含むことを示す
特定の値の組のとき、画素ごとの符号が示す2値の色画
素データの存在する位置に基づいてブロック内に2値の
色画素データを配置し、ブロック内の黒の多階調データ
の濃度を0に設定する復号データ変更手段とを備えてい
るので、全体のデータ量が増大することなく、圧縮デー
タを記憶するメモリの小型化や、圧縮データの伝送時間
の短縮化を図ることができる。According to the second aspect of the present invention, there is provided a data decoding means for decoding compressed data comprising a code, average data, and a gradation width index for each pixel into density data; In the case of a specific value set indicating that color pixel data of a value is included, binary color pixel data is arranged in a block based on the position where the binary color pixel data indicated by the code of each pixel exists, Since there is provided decoded data changing means for setting the density of the black multi-tone data in the block to 0, the size of the memory for storing the compressed data can be reduced without increasing the total data amount. Transmission time can be shortened.
【0023】請求項3記載の発明によれば、請求項1記
載の発明に対してさらに請求項2記載の発明を適用する
ようにしたので、全体のデータ量が増大することなく、
圧縮データを記憶するメモリの小型化や、圧縮データの
伝送時間の短縮化を図ることができる。According to the third aspect of the present invention, since the second aspect of the present invention is further applied to the first aspect of the present invention, the total data amount does not increase.
The memory for storing the compressed data can be reduced in size, and the transmission time of the compressed data can be reduced.
【0024】請求項4記載の発明によれば、濃度算定手
段が算定した濃度データを画素毎の符号と平均データと
階調幅指標からなる圧縮データに符号化し、符号化され
たブロックに対応する2値の色画素データのブロック内
で画素の値が1のとき、データ符号化手段で生成された
平均データと階調幅指標をこのブロックに2値の色画素
データの存在する位置のみを示すように変換するので、
全体のデータ量が増大することなく、圧縮データを記憶
するメモリの小型化や、圧縮データの伝送時間の短縮化
を図ることができる。According to the fourth aspect of the present invention, the density data calculated by the density calculating means is encoded into compressed data comprising a code for each pixel, average data, and a gradation width index, and corresponds to the encoded block. When the pixel value is 1 in the block of color pixel data, the average data and the gradation width index generated by the data encoding unit are set so as to indicate only the position where binary color pixel data exists in this block. To convert,
It is possible to reduce the size of the memory for storing the compressed data and shorten the transmission time of the compressed data without increasing the entire data amount.
【0025】請求項5記載の発明によれば、画素ごとの
符号と平均データと階調幅指標とからなる圧縮データを
濃度データに復号化し、平均データと階調幅指標が2値
の色画素データを含むことを示す特定の値の組のとき、
画素ごとの符号が示す2値の色画素データの存在する位
置に基づいてブロック内に2値の色画素データを配置
し、ブロック内の黒の多階調データの濃度を0に設定す
るので、全体のデータ量が増大することなく、圧縮デー
タを記憶するメモリの小型化や、圧縮データの伝送時間
の短縮化を図ることができる。According to the fifth aspect of the present invention, the compressed data comprising the code, the average data, and the gradation width index for each pixel is decoded into density data, and the average pixel data and the gradation width index are converted to binary pixel data. For a specific set of values that indicate
Since the binary color pixel data is arranged in the block based on the position where the binary color pixel data indicated by the code of each pixel exists, and the density of the black multi-tone data in the block is set to 0, It is possible to reduce the size of the memory for storing the compressed data and shorten the transmission time of the compressed data without increasing the entire data amount.
【0026】請求項6記載の発明によれば、請求項4記
載の発明にさらに請求項5記載の発明と適用したので、
全体のデータ量が増大することなく、圧縮データを記憶
するメモリの小型化や、圧縮データの伝送時間の短縮化
を図ることができる。According to the invention set forth in claim 6, since the invention described in claim 5 is further applied to the invention set forth in claim 4,
It is possible to reduce the size of the memory for storing the compressed data and shorten the transmission time of the compressed data without increasing the entire data amount.
【図1】本発明の実施形態に係る画像格納部の内部構成
を示すブロック図である。FIG. 1 is a block diagram illustrating an internal configuration of an image storage unit according to an embodiment of the present invention.
【図2】図1の符号化部における処理を示す説明図であ
る。FIG. 2 is an explanatory diagram illustrating processing in an encoding unit in FIG. 1;
【図3】図1の復号部における処理を示す説明図であ
る。FIG. 3 is an explanatory diagram illustrating processing in a decoding unit in FIG. 1;
【図4】実施形態および従来例に係るデジタル複写機の
概略構成を示すブロック図である。FIG. 4 is a block diagram illustrating a schematic configuration of a digital copying machine according to an embodiment and a conventional example.
【図5】ブロック符号化方式の画像データ圧縮方式を示
す説明図である。FIG. 5 is an explanatory diagram showing an image data compression system of a block encoding system.
【図6】ブロック符号化方式の画像データ圧縮方式のア
ルゴリズムを示す説明図である。FIG. 6 is an explanatory diagram showing an algorithm of an image data compression system of a block encoding system.
【図7】ブロック符号化方式で画像データを圧縮したと
きの状態を示す説明図である。FIG. 7 is an explanatory diagram showing a state when image data is compressed by a block coding method.
【図8】復号時の濃度値を示す説明図である。FIG. 8 is an explanatory diagram showing density values at the time of decoding.
【図9】赤および黒の画像を有する原稿を示す図であ
る。FIG. 9 is a diagram illustrating a document having red and black images.
【図10】メモリに画像を圧縮して格納する機能を有す
る2色出力が可能な複写機の概略構成を示すブロック図
である。FIG. 10 is a block diagram showing a schematic configuration of a copying machine capable of outputting two colors having a function of compressing and storing an image in a memory.
【図11】1ブロック分の画像データを示す説明図であ
る。FIG. 11 is an explanatory diagram showing image data for one block.
1,6 4ラインFIFO 2 符合化部 3,7 赤データ用2値4ラインFIFO 4 メモリ 5 復号部 21 スキャナ 22 A/D変換部 23 画像処理部 24 赤画像信号判定部 25 画像格納部 26 信号切換部 27 画像出力部 1, 6 4-line FIFO 2 coding unit 3, 7 binary 4-line FIFO for red data 4 memory 5 decoding unit 21 scanner 22 A / D conversion unit 23 image processing unit 24 red image signal determination unit 25 image storage unit 26 signal Switching unit 27 Image output unit
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/41 - 1/419 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/41-1/419
Claims (6)
縮する画像処理装置において、 カラー多階調画像データから2値の色画素データと黒の
多階調画素データを生成するデータ生成手段と、 前記2値の色画素データと黒の多階調画素データの各々
を所定数に分解してブロックデータを生成するデータ分
解手段と、 当該データ分解手段が分解した黒の多階調画素データの
ブロックデータの濃度データを算定する濃度算定手段
と、 当該濃度算定手段が算定した濃度データを画素毎の符号
と平均データと階調幅指標からなる圧縮データに符号化
するデータ符号化手段と、 当該データ符号化手段で符号化されたブロックに対応す
る前記データ生成手段で生成された2値の色画素データ
のブロック内で画素の値が1のとき、前記データ符号化
手段で生成された平均データと階調幅指標をこのブロッ
クに2値の色画素データの存在する位置のみを示すよう
に変換する符号変更手段と、を備えていることを特徴と
する画像処理装置。1. An image processing apparatus for compressing image data by block coding, comprising: a data generating means for generating binary color pixel data and black multi-tone pixel data from color multi-tone image data; Data decomposing means for decomposing each of the value color pixel data and black multi-tone pixel data into a predetermined number to generate block data; and Density calculating means for calculating density data; data coding means for coding the density data calculated by the density calculating means into compressed data comprising a code for each pixel, average data, and a gradation width index; and the data coding means. When the pixel value is 1 in the block of binary color pixel data generated by the data generation unit corresponding to the block encoded by The image processing apparatus characterized by comprising a code changing means for converting average data and tone width index was made to show only the present position of the color pixel data of two values in the block.
縮する画像処理装置において、 画素ごとの符号と平均データと階調幅指標とからなる圧
縮データを濃度データに復号化するデータ復号化手段
と、 前記平均データと階調幅指標が2値の色画素データを含
むことを示す特定の値の組のとき、画素ごとの符号が示
す2値の色画素データの存在する位置に基づいてブロッ
ク内に2値の色画素データを配置し、ブロック内の黒の
多階調データの濃度を0に設定する復号データ変更手段
と、を備えていることを特徴とする画像処理装置。2. An image processing apparatus for compressing image data by block coding, comprising: data decoding means for decoding compressed data comprising a code for each pixel, average data, and a gradation width index into density data; When the data and the gradation width index are a specific set of values indicating that binary color pixel data is included, the binary value of the binary color pixel data in the block is determined based on the position where the binary color pixel data indicated by the code of each pixel exists. An image processing apparatus, comprising: decoded data changing means for arranging color pixel data and setting the density of black multi-tone data in a block to 0.
縮する画像処理装置において、 画素ごとの符号と平均データと階調幅指標とからなる圧
縮データを濃度データに復号化するデータ復号化手段
と、 前記平均データと階調幅指標が2値の色画素データを含
むことを示す特定の値の組のとき、画素ごとの符号が示
す2値の色画素データの存在する位置に基づいてブロッ
ク内に2値の色画素データを配置し、ブロック内の黒の
多階調データの濃度を0に設定する復号データ変更手段
と、をさらに備えていることを特徴とする請求項1記載
の画像処理装置。3. An image processing apparatus for compressing image data by block encoding, comprising: data decoding means for decoding compressed data comprising a code for each pixel, average data, and a gradation width index into density data; When the data and the gradation width index are a specific set of values indicating that binary color pixel data is included, the binary value of the binary color pixel data in the block is determined based on the position where the binary color pixel data indicated by the code of each pixel exists. 2. The image processing apparatus according to claim 1, further comprising: decoded data changing means for arranging color pixel data and setting the density of black multi-tone data in the block to 0.
縮して画像処理する画像処理方法において、 カラー多階調画像データから2値の色画素データと黒の
多階調画素データを生成し、 前記2値の色画素データと黒の多階調画素データの各々
を所定数に分解してブロックデータを生成し、 当該データ分解手段が分解した黒の多階調画素データの
ブロックデータの濃度データを算定し、 当該濃度算定手段が算定した濃度データを画素毎の符号
と平均データと階調幅指標からなる圧縮データに符号化
し、 当該データ符号化手段で符号化されたブロックに対応す
る前記データ生成手段で生成された2値の色画素データ
のブロック内で画素の値が1のとき、前記データ符号化
手段で生成された平均データと階調幅指標をこのブロッ
クに2値の色画素データの存在する位置のみを示すよう
に変換すること、を特徴とする画像処理方法。4. An image processing method for compressing image data by block encoding and performing image processing, wherein binary color pixel data and black multi-tone pixel data are generated from the color multi-tone image data. The value color pixel data and black multi-tone pixel data are decomposed into a predetermined number to generate block data, and the data decomposer calculates the density data of the decomposed black multi-tone pixel data block data. The density data calculated by the density calculation means is encoded into compressed data including a code, an average data, and a tone width index for each pixel, and the data generation means corresponding to the block encoded by the data encoding means. When the pixel value in the generated block of binary color pixel data is 1, the average data and the gradation width index generated by the data encoding means are added to the binary color pixel data block. The image processing method that is characterized in that conversion to show only the positions in the presence of over data.
縮して画像処理する画像処理方法において、 画素ごとの符号と平均データと階調幅指標とからなる圧
縮データを濃度データに復号化し、 前記平均データと階調幅指標が2値の色画素データを含
むことを示す特定の値の組のとき、画素ごとの符号が示
す2値の色画素データの存在する位置に基づいてブロッ
ク内に2値の色画素データを配置し、ブロック内の黒の
多階調データの濃度を0に設定すること、を特徴とする
画像処理方法。5. An image processing method for compressing image data by block encoding and performing image processing, wherein compressed data composed of a code for each pixel, average data, and a gradation width index is decoded into density data, When the gradation width index is a specific value set indicating that binary color pixel data is included, the binary color pixel is included in the block based on the position where the binary color pixel data indicated by the code of each pixel exists. An image processing method, comprising arranging data and setting the density of black multi-tone data in a block to zero.
縮して画像処理する画像処理方法において、 カラー多階調画像データから2値の色画素データと黒の
多階調画素データを生成し、 前記2値の色画素データと黒の多階調画素データの各々
を所定数に分解してブロックデータを生成し、 当該データ分解手段が分解した黒の多階調画素データの
ブロックデータの濃度データを算定し、 当該濃度算定手段が算定した濃度データを画素毎の符号
と平均データと階調幅指標からなる圧縮データに符号化
し、 当該データ符号化手段で符号化されたブロックに対応す
る前記データ生成手段で生成された2値の色画素データ
のブロック内で画素の値が1のとき、前記データ符号化
手段で生成された平均データと階調幅指標をこのブロッ
クに2値の色画素データの存在する位置のみを示すよう
に変換し、 画素ごとの符号と平均データと階調幅指標とからなる圧
縮データを濃度データに復号化し、 前記平均データと階調幅指標が2値の色画素データを含
むことを示す特定の値の組のとき、画素ごとの符号が示
す2値の色画素データの存在する位置に基づいてブロッ
ク内に2値の色画素データを配置し、ブロック内の黒の
多階調データの濃度を0に設定すること、を特徴とする
画像処理方法。6. An image processing method for compressing image data by block coding and performing image processing, wherein binary color pixel data and black multi-tone pixel data are generated from the color multi-tone image data. The value color pixel data and black multi-tone pixel data are decomposed into a predetermined number to generate block data, and the data decomposer calculates the density data of the decomposed black multi-tone pixel data block data. Then, the density data calculated by the density calculation means is encoded into compressed data including a code for each pixel, average data, and a gradation width index, and the data generation means corresponding to the block encoded by the data encoding means. When the pixel value in the generated block of binary color pixel data is 1, the average data and the gradation width index generated by the data encoding means are added to the binary color pixel data block. The data is converted so as to indicate only the position where the data exists, and the compressed data composed of the code, the average data, and the gradation width index for each pixel is decoded into the density data, and the average data and the gradation width index are binary color pixels. In the case of a specific value set indicating that data is included, the binary color pixel data is arranged in the block based on the position where the binary color pixel data indicated by the code of each pixel exists, and the black Setting the density of the multi-tone data to 0.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31681195A JP3340006B2 (en) | 1995-12-05 | 1995-12-05 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31681195A JP3340006B2 (en) | 1995-12-05 | 1995-12-05 | Image processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09163149A JPH09163149A (en) | 1997-06-20 |
| JP3340006B2 true JP3340006B2 (en) | 2002-10-28 |
Family
ID=18081191
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP31681195A Expired - Fee Related JP3340006B2 (en) | 1995-12-05 | 1995-12-05 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3340006B2 (en) |
-
1995
- 1995-12-05 JP JP31681195A patent/JP3340006B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09163149A (en) | 1997-06-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7499592B2 (en) | Image decoding apparatus and its control method | |
| US5442459A (en) | Process for encoding a half tone image considering similarity between blocks | |
| US5729625A (en) | Image processing method and apparatus which expand a pixel into multiple pixels, with a change in the number of gray levels | |
| JP3461309B2 (en) | Huffman coded data compression device | |
| JP3343104B2 (en) | Image processing apparatus and image processing method | |
| JP3269970B2 (en) | Method and apparatus for compressing and decompressing digital image signals | |
| JPH07264417A (en) | Image coding method | |
| JP3340006B2 (en) | Image processing device | |
| US20040258298A1 (en) | Color image conversion method and system for reducing color image data size | |
| JP3223046B2 (en) | Error diffusion coding apparatus for binary image | |
| JP3340014B2 (en) | Image data encoding apparatus and encoding method | |
| JP3311221B2 (en) | Image processing apparatus and method | |
| JP3864681B2 (en) | Image data encoding apparatus, image data encoding method, recording medium, and image forming apparatus | |
| JP3340015B2 (en) | Image data decoding device and decoding method | |
| JP3340007B2 (en) | Image data encoding apparatus and encoding method | |
| JP3374002B2 (en) | Decoding device and decoding method | |
| JP3630828B2 (en) | Image forming apparatus and image data storage method | |
| JP3347944B2 (en) | Image encoding method and apparatus | |
| JP3287707B2 (en) | Image processing apparatus and image processing method | |
| JP3368125B2 (en) | Image data encoding apparatus and encoding method | |
| JP3259989B2 (en) | Binary and multi-valued mixed coded image data restoration method and apparatus | |
| JP3308940B2 (en) | Encoding method and decoding method | |
| JPH1056574A (en) | Encoding device, decoding device, and image forming device | |
| JPH10285405A (en) | Image data encoding apparatus and image data encoding method | |
| JP3187696B2 (en) | Image coding device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080816 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080816 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090816 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090816 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100816 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100816 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110816 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110816 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120816 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |