JPH03192972A - Picture reader - Google Patents
Picture readerInfo
- Publication number
- JPH03192972A JPH03192972A JP1331366A JP33136689A JPH03192972A JP H03192972 A JPH03192972 A JP H03192972A JP 1331366 A JP1331366 A JP 1331366A JP 33136689 A JP33136689 A JP 33136689A JP H03192972 A JPH03192972 A JP H03192972A
- Authority
- JP
- Japan
- Prior art keywords
- bit
- data
- memory
- image data
- pixel
- 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.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
「産業上の利用分野」
本発明は、例えば写真のような中間調を含む画像を多階
調のデータとして読み取って符号化する画像読取装置に
関する。DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" The present invention relates to an image reading device that reads and encodes an image including halftones, such as a photograph, as multi-tone data.
「従来の技術」
例えば、カラー写真のように中間調を含んだ原稿をファ
クシミリ装置で伝送する場合、原稿を多値画像データと
して読み取り、これを符号化して伝送している。多値画
像データは、2値画像と比べて伝送すべきデータが膨大
な量となるので、従来から多値画像データを圧縮して効
率的に伝送するための符号化方法が種々考えられている
。"Prior Art" For example, when a facsimile machine transmits a document containing halftones, such as a color photograph, the document is read as multivalued image data, encoded, and transmitted. Since multi-value image data requires a huge amount of data to be transmitted compared to binary images, various encoding methods have been considered to compress multi-value image data and transmit it efficiently. .
このような、多値画像データを効率的に符号化する方法
として、各画像を階調平面(ビットブレーン)単位で管
理し、ビットブレーンごとに符号化する方法がある。As a method for efficiently encoding such multivalued image data, there is a method of managing each image in units of gradation planes (bit-branes) and encoding each bit-brane.
第11図は従来から行われているビットブレーン符号化
の概念を示したものである。FIG. 11 shows the concept of conventional bit-brain encoding.
Nビットで表わされる2N階調の多値画像データの場合
、多値画像データの各ビットに対応して第0プレーンか
ら第N−1までのN枚のビットブレーンでメモリが構成
される。多値画像データの各ビットは対応するビットプ
レーンに画素単位で順次格納される。格納されたデータ
を各ビットブレーンごとに注目すると2値データとなっ
ているので、ファクシミリ装置で用いられている符号化
をそのまま適用することができる。In the case of 2N gradation multivalued image data expressed by N bits, the memory is configured with N bit planes from the 0th plane to the N-1th plane corresponding to each bit of the multivalued image data. Each bit of multivalued image data is sequentially stored pixel by pixel in a corresponding bit plane. Since the stored data is binary data for each bit brain, the encoding used in facsimile machines can be applied as is.
そして、カラー写真等の多値画像データの階調は一般に
複数個の画素にわたって同一であったり、徐々に変化し
ているので、前の画素と比較して2値データの値が変化
するビット数は少ない。このため、各ビットブレーンの
2値データを見ると“O”または“l”が連続しやすい
。従って、例えば1次元ランレングス符号化を行う場合
にも、効率的に符号化することが可能になる。The gradation of multivalued image data such as a color photograph is generally the same across multiple pixels or changes gradually, so the number of bits by which the value of binary data changes compared to the previous pixel. There are few. Therefore, when looking at the binary data of each bit brain, "O" or "l" are likely to be consecutive. Therefore, even when performing one-dimensional run-length encoding, for example, it becomes possible to encode efficiently.
「発明が解決しようとする課題」
このようにビットブレーン符号化は、例えば1ライン分
読み取った多値画像データをメモリに格納し、これをビ
ットブレーンごとに読み出して符号化するものである。``Problems to be Solved by the Invention'' In this way, bit-brain encoding stores, for example, multi-valued image data read for one line in a memory, and reads and encodes it bit-brane by bit-brain.
しかし、従来から多値画像データは、メモリに画素単位
で書き込み、これを画素単位で読み出している。例えば
、第1番目のビットブレーンの符号化をする場合、全て
の画素を順次読み出し、各画素ごとに第1番目のビット
データをCPU (中央処理装置)の制御により、また
はシフトレジスタを用いることにより取り出す。次に、
第i+1番目のピップレーンを符号化する場合には、再
び全ての画素を順次読み出し、第i+1番目のビット情
報を取り出している。However, conventionally, multivalued image data has been written in a memory pixel by pixel and read out pixel by pixel. For example, when encoding the first bit brain, all pixels are read out sequentially, and the first bit data for each pixel is controlled by a CPU (central processing unit) or by using a shift register. Take it out. next,
When encoding the i+1th pip lane, all pixels are read out sequentially again and the i+1th bit information is extracted.
すなわち、多値画像データを符号化するためにメモリか
ら読み出す場合、同一の画素を各ビットブレーンごとに
読み出す必要があった。このためN階調、n画素からな
るビットブレーンを符号化するためにはNXn回だけメ
モリの読み出しを行う必要があり、ビットプレーン符号
化の処理時間が遅くなるという欠点があった。That is, when reading multivalued image data from a memory for encoding, it is necessary to read out the same pixel for each bit brain. Therefore, in order to encode a bit plane consisting of N gradations and n pixels, it is necessary to read the memory NXn times, which has the disadvantage of slowing down the bit plane encoding processing time.
そこで本発明の目的は、高速なビットブレーン符号化が
可能な画像読取装置を提供することにある。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an image reading device capable of high-speed bit-brain encoding.
「課題を解決するための手段」
本発明の画像読取装置は、(i)原稿を画素単位で走査
し多値画像データを入力する画像データ入力手段と、(
11)多値画像データを各ビットごとに書き込む複数の
ビットメモリを概念上マトリクス状に配置し、少なくと
も1ライン分の多値画像データを格納するビットプレー
ンメモリと、(iii )画像データ入力手段から画素
ごとに入力される多値画像データを前記ビットプレーン
メモリの各行ごとに書き込む書込手段と、(iv>この
書込手段でビットプレーンメモリに各行ごとに書き込ま
れたデータを各列ごとに読み出す読出手段と、(V)こ
の読出手段で読み出されたデータを符号化する符号化手
段とを具備することを特徴とする画像読取装置とを備え
ている。"Means for Solving the Problems" The image reading device of the present invention includes (i) image data input means for scanning a document pixel by pixel and inputting multivalued image data;
11) A plurality of bit memories in which multi-value image data is written bit by bit are conceptually arranged in a matrix, and a bit plane memory stores at least one line of multi-value image data, and (iii) from an image data input means. a writing means for writing multivalued image data input pixel by pixel into each row of the bit plane memory; The image reading apparatus includes a reading means and (V) an encoding means for encoding data read by the reading means.
すなわち本発明は、多値画像データのストアされている
メモリへ、各画素単位ではなく、ビー/ )プレーン番
号に基づいてアクセス(読み出し)が可能なように構成
したものである。That is, the present invention is configured such that the memory in which multivalued image data is stored can be accessed (read) based on the beep/) plane number, rather than on a per-pixel basis.
「実施例」 以下、実施例につき本発明の詳細な説明する。"Example" Hereinafter, the present invention will be described in detail with reference to Examples.
第1図は、本発明の一実施例における画像読取装置の概
要を示したものである。FIG. 1 shows an outline of an image reading device according to an embodiment of the present invention.
この画像読取装置のCPU (中央処理装置)11はデ
ータバス等のパス12を通じて次の各部と接続されてお
り、各種制御を行うようになっている。A CPU (central processing unit) 11 of this image reading device is connected to the following units through a path 12 such as a data bus, and is configured to perform various controls.
ROM13は、多値画像のデータの読み込み、符号化等
の装置全体の動作を制御するためのプログラムが格納さ
れたリード・オンリ・メモリである。The ROM 13 is a read-only memory that stores a program for controlling the overall operation of the apparatus, such as reading and encoding multivalued image data.
RAM14は、各種制御のためのデータを格納するラン
ダム・アクセス・メモリである。RAM 14 is a random access memory that stores data for various controls.
画像データ入力部16は、画像を多値のデータとして読
み取るためのもので、図示しない光学系やモータ等を備
えている。本実施例において、多値画像データはlビク
セル当り8ヒ゛ツトで構成されており、またlラインの
画素数がnであるものとする。The image data input unit 16 is for reading an image as multivalued data, and includes an optical system, a motor, etc. (not shown). In this embodiment, it is assumed that the multivalued image data consists of 8 bits per 1 pixel, and the number of pixels in 1 line is n.
多値画像データ用ビットプレーンメモリ17は、データ
入力時に画素単位で多値データを順次格納し、データ出
力時はブレーン番号ごとに画像データを出力するように
なっている。メモリ17への入出力データ幅は8ビツト
である。The bit plane memory 17 for multivalued image data is configured to sequentially store multivalued data pixel by pixel when inputting data, and output image data for each brane number when outputting data. The input/output data width to the memory 17 is 8 bits.
符号化部18は、多値画像データ用ビットプレーンメモ
リ17に格納された画像データを各ビットブレーンごと
に符号化する。符号化方式としてはランレングス符号化
や2次元の符号化等が可能であるが、特にこの方式に限
定されない。The encoding unit 18 encodes the image data stored in the multilevel image data bit plane memory 17 for each bit plane. As the encoding method, run-length encoding, two-dimensional encoding, etc. are possible, but the present invention is not limited to these methods.
インタフェース部19は、例えばホストコンピュータと
の制御情報のやりとりや、符号化1ffl18で符号化
されたデータをホストコンピュータに送信するためのも
のである。The interface unit 19 is used, for example, to exchange control information with the host computer and to transmit data encoded by the encoding 1ffl18 to the host computer.
第2図は、多値画像用ビットプレーンメモリを構成する
ビットメモリの構成を示したものである。FIG. 2 shows the configuration of a bit memory that constitutes a bit plane memory for multivalued images.
ビットメモリ21は、アドレスバス22と接続されるア
ドレス指定端子23を備えており、アドレスバス22を
通じてビット単位で書き込みまたは読み出すアドレスが
指定される。書込信号端子24は制御バス26と、読出
信号端子27は制御バス28とそれぞれ接続され、これ
ら端子24.27は共にアクティブローとなっている。The bit memory 21 includes an address designation terminal 23 connected to an address bus 22, and an address to be written or read bit by bit is designated via the address bus 22. The write signal terminal 24 is connected to the control bus 26, and the read signal terminal 27 is connected to the control bus 28, and these terminals 24 and 27 are both active low.
ビットメモリ21のチップセレクト端子29には、2入
力のゲート素子31の出力端子が接続されている。ゲー
ト素子31の一方の入力端子にはピクセルセレクトバス
32が接続され、他方の入力端子にはプレーンセレクト
バス33が接続されている。これらセレクトバス32.
33には通常ハイ(H)レベルのセレクト信号が供給さ
れている。いずれか一方のセレクトバスからローレベル
のセレクト信号が供給されると、ゲート素子31からロ
ーレベルの信号が出力されチップセレクト端子29がア
クティブとなる。The output terminal of a two-input gate element 31 is connected to the chip select terminal 29 of the bit memory 21 . A pixel select bus 32 is connected to one input terminal of the gate element 31, and a plane select bus 33 is connected to the other input terminal. These select buses 32.
33 is normally supplied with a high (H) level select signal. When a low level select signal is supplied from one of the select buses, a low level signal is output from the gate element 31 and the chip select terminal 29 becomes active.
ビットメモリ21のデータ入出力端子(D>34には、
ビット入力ゲート36を介してビット入力バス37が接
続されている。ビット入力ゲート36はアクティブロー
となっており、ロー(L)レベルの制御信号が供給され
ると、ビット入力バス37を通して供給されるビットデ
ータを通過させる。データ入出力端子31には、またビ
ット出力ゲート38を介してビット出力バス39が接続
されている。ビット出力ゲート38はアクティブローと
なっており、ローレベルの制御信号が供給されるとビッ
ト出力バス39にビットデータを通過させるようになっ
ている。Data input/output terminal of bit memory 21 (D>34,
A bit input bus 37 is connected via a bit input gate 36. The bit input gate 36 is active low, and when supplied with a low (L) level control signal, passes the bit data supplied through the bit input bus 37. A bit output bus 39 is also connected to the data input/output terminal 31 via a bit output gate 38. The bit output gate 38 is active low and allows bit data to pass through the bit output bus 39 when a low level control signal is supplied.
第3図は、多値画像用ビットプレーンメモリの記憶部の
構成を示したものである。FIG. 3 shows the configuration of the storage section of the bit plane memory for multivalued images.
記憶部41は64個のビットメモリ21を備えている。The storage unit 41 includes 64 bit memories 21.
これら64個のビットメモリ21は、本実施例で8ビツ
トで構成されている1画素を各ビットごとに格納するた
めに8列とし、また、8ビット単位で読み出すために8
行に配列されている。These 64 bit memories 21 have 8 columns in order to store each bit of one pixel consisting of 8 bits in this embodiment, and 8 columns in order to read out in units of 8 bits.
arranged in rows.
ビットメモリ21の第0行目はビットメモリ21−0〜
21−7で構成され、各々共通のピクセルセレクトバス
32−0が各ゲート素子31の一方の入力端子に接続さ
れている。同様に、第1行目の8個の各ビットメモリ2
1から第7行目の8個の各ビットメモリ21のゲート素
子31の一方の入力端子には、それぞれ共通のピクセル
セレクトバス32−1〜32−7が接続されている。The 0th line of the bit memory 21 is the bit memory 21-0 ~
A common pixel select bus 32-0 is connected to one input terminal of each gate element 31. Similarly, each of the eight bit memories 2 in the first row
A common pixel select bus 32-1 to 32-7 is connected to one input terminal of the gate element 31 of each of the eight bit memories 21 in the 1st to 7th rows.
64個のビットメモリ21の第0列目は、ビット メ
モ リ 2 1−7 、 21−15 、 ・・
・ ・・・ 、 2 1−55.21−63で構成さ
れ、各々共通のプレーンセレクトバス33−0が各ゲー
ト素子31の他方の入力端子に接続されている。同様に
、第1列目の8個の各ビットメモリ21から第7列目の
8個の各ビットメモリ21のゲート素子31の他方の入
力端子には、それぞれ共通のプレーンセレクトバス33
−1〜33−7が接続されている。The 0th column of the 64 bit memories 21 is a bit memory.
Mori 2 1-7, 21-15,...
..., 21-55, 21-63, and a common plane select bus 33-0 is connected to the other input terminal of each gate element 31. Similarly, the other input terminals of the gate elements 31 of the eight bit memories 21 in the first column to the eight bit memories 21 in the seventh column are connected to common plane select buses 33, respectively.
-1 to 33-7 are connected.
各ビットメモIJ 21のデータ入出力端子34は、各
々ビット出力ゲート38を介して各行ごとに共通するビ
ット出力バス39−0〜39−7に接続されている。ま
たデータ入出力端子34は、各ビット入力ゲート36を
介して各列ごとに共通するビット入力バス37−0〜3
7−7に接続されている。The data input/output terminals 34 of each bit memory IJ 21 are connected via bit output gates 38 to bit output buses 39-0 to 39-7 common to each row. Further, the data input/output terminal 34 is connected to a common bit input bus 37-0 to 37-3 for each column via each bit input gate 36.
7-7.
第4図は、多値画像用ビットプレーンメモリのセレクト
部の構成を示したものである。FIG. 4 shows the configuration of the select section of the bit plane memory for multivalued images.
セレクト部42は、アドレスセレクタ43、プレーンセ
レクタ44、ピクセルセレクタ46、第1のデータバッ
ファ47および第2のデータバッファ48を備えている
。アドレスセレクタ43は、入力端子Aと入力端子Bを
備えており、それぞれアドレスバス49の別々のバスが
接続されている。The selection unit 42 includes an address selector 43, a plane selector 44, a pixel selector 46, a first data buffer 47, and a second data buffer 48. The address selector 43 includes an input terminal A and an input terminal B, each of which is connected to a different bus of the address bus 49.
アドレスセレクタ43の出力端子Yは、アドレスバス2
2と接続され、セレクト端子にローレベルの信号が入力
されると入力端子Aからの入力を出力し、ハイレベルの
信号が供給されると入力端子Bからの入力を出力するよ
うになっている。The output terminal Y of the address selector 43 is connected to the address bus 2.
2, and when a low level signal is input to the select terminal, the input from input terminal A is output, and when a high level signal is supplied, the input from input terminal B is output. .
プレーンセレクタ44は、アドレスバス49と接続され
る3つの入力端子を備えている。ブレーンセレクタ44
は、セレクト端子からローレベルの信号が供給されると
、各入力端子から供給される信号に基づいて出力端子か
らローレベルの制御信号を出力する。プレーンセレクタ
44は、プレーンセレクトバス33−7〜33−0の1
つヲ順次選択し、それぞれ1ライン分ローレベルの信号
を出力するようになっている。The plane selector 44 has three input terminals connected to the address bus 49. Brain selector 44
When a low-level signal is supplied from the select terminal, a low-level control signal is output from the output terminal based on the signal supplied from each input terminal. The plane selector 44 is one of the plane select buses 33-7 to 33-0.
These are selected one after another and a low level signal for one line is output for each.
ビクセルセレクタ46は、アドレスバス49と接続され
る3つの入力端子を備えている。ビクセルセレクタ46
は、セレクト端子カラローレヘルの信号が供給されると
、入力端子から供給される信号に基づいて、ピクセルセ
レクトバス32−D〜33−7の1つを画素単位に選択
してローレベルの信号を出力するようになっている。The pixel selector 46 includes three input terminals connected to the address bus 49. Bixel selector 46
When the signal from the select terminal color low level health is supplied, it selects one of the pixel select buses 32-D to 33-7 for each pixel based on the signal supplied from the input terminal and outputs a low level signal. It is supposed to be done.
第1のデータバッファ47は、セレクト端子からローレ
ベルの信号が供給されると、ビットメモリ21の各列(
第3図)からビット出力バス39−7〜39−0を介し
て読み出されるプレーン単位の情報をデータバス51に
供給する。第2のデータバッファ48は、セレクト端子
からローレベルの信号が供給されると、データバス51
を通じて供給される画素単位の情報を各行のビットメモ
リ21と接続されたビット入力バス37−θ〜37−7
に出力するようになっている。When the first data buffer 47 is supplied with a low level signal from the select terminal, each column (
3) is supplied to the data bus 51 via the bit output buses 39-7 to 39-0. When the second data buffer 48 is supplied with a low level signal from the select terminal, the data bus 51
The bit input buses 37-θ to 37-7 connected to the bit memory 21 of each row receive pixel-by-pixel information supplied through the
It is designed to output to .
セレクト部42には、データの書き込み、または読み出
しを制御するための制御バス52が接続されている。制
御バス52は、アドレスセレクタ43、ピクセルセレク
タ46、第2のデータバッファ48の各セレクト端子と
接続されている。制御バス52は、反転ゲート53を介
してブレーンセレクタ44と第1のデータバッファ47
のセレクト端子に接続されている。A control bus 52 for controlling data writing or reading is connected to the select section 42 . The control bus 52 is connected to select terminals of the address selector 43, pixel selector 46, and second data buffer 48. The control bus 52 connects the brain selector 44 and the first data buffer 47 via an inverting gate 53.
is connected to the select terminal.
次に、この記憶部41とセレクト部42で構成された多
値画像用ビットプレーンメモリ17のデータの書き込み
と読み出しの動作について説明する。Next, the operation of writing and reading data in the multivalued image bit plane memory 17, which is composed of the storage section 41 and the selection section 42, will be explained.
多値画像データの書き込み
多値画像データを多値画像用ビットプレーンメモリ17
に書き込む場合、記憶部41(第3図)の制御バス26
にローレベルの書込信号が供給される。ローレベルの書
込信号は各書込信号端子24に供給され、ビットメモリ
21−O〜21−63は書き込み可能な状態となる。ま
た、制御バス52からローレベルの制御信号が供給され
、各ビットメモリ21のデータ人出力端子34に接続さ
れているビット入力ゲート36がオープン状態となる。Writing multivalued image data Multivalued image data is written to the bitplane memory 17 for multivalued images.
When writing to the control bus 26 of the storage unit 41 (FIG. 3)
A low level write signal is supplied to . A low-level write signal is supplied to each write signal terminal 24, and the bit memories 21-O to 21-63 become writable. Further, a low-level control signal is supplied from the control bus 52, and the bit input gate 36 connected to the data output terminal 34 of each bit memory 21 becomes open.
一方、制御バス52からローレベルの制御信号が供給さ
れると、ピクセルセレクタ46と第2のデータバッファ
48がアクティブな状態となる(第4図)。ビクセルセ
レクタ46は、各画素ごとにアドレスバス49から供給
される信号に基づいて、ピクセルセレクトバス32−0
からピクセルセレクトバス32−7までローレベルのl
l(J fm 48号を順次1ライン分繰り返し出力す
る。On the other hand, when a low level control signal is supplied from the control bus 52, the pixel selector 46 and the second data buffer 48 become active (FIG. 4). The pixel selector 46 selects a pixel select bus 32-0 based on a signal supplied from the address bus 49 for each pixel.
to pixel select bus 32-7.
l (J fm No. 48 is output repeatedly for one line in sequence.
いま、ローレベルの制御信号がピクセルセレクトバス3
2−0に出力されたものとする。ローレベルの制御信号
はピクセルセレクトバス32−0と接続されているゲー
ト素子31−0〜31−7に供給される(第3図)。こ
れらゲート素子31−0〜31−7からはローレベルの
信号が出力され、ビットメモリ21−0〜21−7が選
択される。これにより、データバス51から供給される
画素単位の多値画像データは、選択されたビットメモリ
21−0〜21−7に各ビット入力バス37からオーブ
ン状態のビット入力ゲート36を介してビットごとにそ
れぞれ書き込まれる。各ビットメモリ21への書き込み
は、アドレスセレクタ43を介してアドレスバス22か
ら供給されるアドレス指定信号に基づいて指定されたア
ドレスに書き込まれる。Now, the low level control signal is on the pixel select bus 3.
It is assumed that the output is 2-0. The low level control signal is supplied to gate elements 31-0 to 31-7 connected to pixel select bus 32-0 (FIG. 3). Low level signals are output from these gate elements 31-0 to 31-7, and bit memories 21-0 to 21-7 are selected. As a result, the multivalued image data in units of pixels supplied from the data bus 51 is transmitted bit by bit from each bit input bus 37 to the selected bit memory 21-0 to 21-7 via the bit input gate 36 in the open state. are written respectively. Writing to each bit memory 21 is performed at a designated address based on an address designation signal supplied from the address bus 22 via the address selector 43.
1画素分の書き込みが終了すると、次にピクセルセレク
トバス32−1にローレベルの制ill (” 号が出
力され、第1行目のビットメモ’J 21−8〜21−
15に次の画素の多値画像データが書き込まれる。第0
行目から第7行目までは同一のアドレスに書き込まれる
。ピクセルセレクトバス32−〇からゲート素子31−
7まで順次ローレベルの制御信号が出力されると、アド
レスセレクタ43からはアドレスバス22に次のアドレ
スを指定するアドレス指定信号が出力される。When writing for one pixel is completed, a low-level control signal (") is output to the pixel select bus 32-1, and the bit memo 'J21-8~21-
Multivalued image data of the next pixel is written in 15. 0th
The lines from the 7th line to the 7th line are written to the same address. From pixel select bus 32-〇 to gate element 31-
When the low-level control signals are sequentially outputted up to 7, the address selector 43 outputs an address designation signal that designates the next address to the address bus 22.
多値画像データの読み出し
多値画像用ビットプレーンメモリ17に書き込まれた多
値画像データを読み出す場合、記憶部410制御バス2
8にローレベルの読出信号が供給される。ローレベルの
読出信号は各読出信号端子27に供給され、ビットメモ
リ21−0〜21−63は読み出し可能な状態となる。Reading of multi-value image data When reading multi-value image data written in the multi-value image bit plane memory 17, the storage unit 410 control bus 2
8 is supplied with a low level read signal. A low level read signal is supplied to each read signal terminal 27, and the bit memories 21-0 to 21-63 become readable.
また、制御バス52からハイレベルの制御信号が供給さ
れ、各ビットメモリ21のデータ入出力端子34に接続
されているビット出力ゲート38がオープン状態となる
。Further, a high-level control signal is supplied from the control bus 52, and the bit output gate 38 connected to the data input/output terminal 34 of each bit memory 21 becomes open.
一方、制御バス52からハイレベルの制御信号が供給さ
れると、反転ゲート53で反転され、プレーンセレクタ
44と第1のデータバッファ47がアクティブな状態と
なる(第4図)。プレーンセレクタ44は、アドレスバ
ス49から供給されるアドレス指定信号に基づいて、ブ
レーンセレクトバス33−0からプレーンセレクトバス
33−7までローレベルの制御信号を順次出力する。On the other hand, when a high level control signal is supplied from the control bus 52, it is inverted by the inverting gate 53, and the plane selector 44 and first data buffer 47 become active (FIG. 4). The plane selector 44 sequentially outputs low-level control signals from the brain select bus 33-0 to the plane select bus 33-7 based on the address designation signal supplied from the address bus 49.
いま、ローレベルの制御信号がブレーンセレクトバス3
3−7に出力されたものとすると、これと接続されてい
るゲート素子31−0.31−8、・・・・・・、31
−49.31−56からローレベルの信号が出力される
。これによって、第7列目のビットメモリ21−0、・
・・・・・、21−56が選択され、アドレスバス22
から供給される信号で指定されるアドレスに書き込まれ
ている各データが1ビツトずつ読み出される。引き続き
、第7列目のビットメモリ21から1ライン分のデータ
を読み出す。各ビットメモリ21から読み出されたデー
タはそれぞれビット出力ゲート38およびビット出力バ
ス39を介して第1のデータバッファ47に供給され、
データバス51から出力される。Now, the low level control signal is on the brain select bus 3.
3-7, the gate elements 31-0.31-8, . . . , 31 connected to this
A low level signal is output from -49.31-56. As a result, the bit memories 21-0, .
..., 21-56 is selected, and the address bus 22
Each piece of data written to the address specified by the signal supplied from is read out one bit at a time. Subsequently, data for one line is read from the bit memory 21 in the seventh column. The data read from each bit memory 21 is supplied to the first data buffer 47 via the bit output gate 38 and the bit output bus 39, respectively.
It is output from the data bus 51.
第7列目のビットメモリ21から1ライン分の読み出し
が終了すると、ビクセルセレクタ46からは順次ピクセ
ルセレクトバス32−6.36−5、・・・・・・、3
6−0の順にローレベルの信号が1ライン分出力される
。When the reading of one line from the bit memory 21 in the seventh column is completed, the pixel select buses 32-6, 36-5, . . . , 3
Low level signals are output for one line in the order of 6-0.
次に、このような多値画像用ビットプレーンメモリ17
を使用して多値画像データのビットプレーン符号化する
動作について説明する。Next, such a multivalued image bit plane memory 17
The operation of bit-plane encoding of multivalued image data using is explained below.
第5図は画像データ入力部で読み取る1ライン分の多値
画像データの構成を示したものである。FIG. 5 shows the structure of one line of multivalued image data read by the image data input section.
画像データ入力部16は、各ラインごとに第0番目の画
素から順次第n番目の画素までを読み取り、多値画像デ
ータを各画素ごとに供給する。本実施例は、8ビット単
位でデータを読み出す構成としているので、8画素単位
にブロック分けしている。The image data input unit 16 sequentially reads pixels from the 0th pixel to the nth pixel for each line, and supplies multivalued image data for each pixel. In this embodiment, data is read out in units of 8 bits, so blocks are divided into units of 8 pixels.
第6図は、画像データ入力部から供給される多値画像デ
ータを符号化する流れを示したものである。FIG. 6 shows the flow of encoding multivalued image data supplied from the image data input section.
CPU11は、多値画像用ビットプレーンメモリ17に
多値画像データの書き込みを開始するアドレスを指定す
るメモリポインタの初期設定を行う(ステップ■)。C
PUIIは画像データ入力部16から1画素分の多値画
像データを受は取り(ステップ■)、指定された行のビ
ットメモリ21の指定されたアドレスにピクセルセレク
トバス32(第3図)を通して書き込む(ステップ■)
。The CPU 11 initializes a memory pointer that specifies an address at which writing of multi-value image data is started in the multi-value image bit plane memory 17 (step 2). C
The PUII receives one pixel worth of multivalued image data from the image data input section 16 (step ■), and writes it to the specified address of the bit memory 21 in the specified row through the pixel select bus 32 (FIG. 3). (Step ■)
.
第7図は、多値画像用ビットプレーンメモリに多値画像
データを書き込む場合のデータビット構成を示したもの
である。各画素の各ビットは、それぞれ対応するビット
入力バス37−θ〜37−7に供給され、所定のビット
メモリ21に書き込まれる。FIG. 7 shows the data bit structure when writing multi-value image data to the multi-value image bit plane memory. Each bit of each pixel is supplied to a corresponding bit input bus 37-θ to 37-7, and written into a predetermined bit memory 21.
CPUIIは、多値画像データを1画素分書き込んだ後
メモリポインタをインクリメントする(ステップ■)。After writing one pixel worth of multivalued image data, the CPU II increments the memory pointer (step ■).
lライン分の各画素についての書き込みが終了していな
い場合にはくステップ■;N)、ステップ■に戻って処
理を繰り返す。1ライン分の書き込みが終了するとCP
UIIは、読み出しを行うプレーンの番号として“7″
を設定すると共に(ステップ■〉、メモリポインタの初
期設定を行う(ステップ■)。CPUIIは、設定され
た番号のプレーンに対応する列の各ビットメモリ21(
第3図)から1ビツトずつのデータ合計1バイトを読み
出す(ステップ■)。If the writing of each pixel for l lines has not been completed, skip step (2); N) and return to step (2) to repeat the process. When writing for one line is completed, CP
UII is “7” as the number of the plane to read
(Step ■) and initializes the memory pointer (Step ■). The CPU II sets each bit memory 21 (
3), a total of 1 byte of data of 1 bit at a time is read out (step 2).
第8図は、多値画像用ビットプレーンメモリから読み出
したデータのビット構成を示したものである。設定され
たプレーンに対応する列の8個の各ビットメモリ21か
ら1ビツトずつ読み出された1バイトのデータは、ビッ
ト出力バス39−7〜39−0を通じて出力される。FIG. 8 shows the bit configuration of data read out from the multivalued image bit plane memory. One byte of data read one bit at a time from each of the eight bit memories 21 in the column corresponding to the set plane is output via bit output buses 39-7 to 39-0.
CPLIIIは、メモリポインタをインクリメイトする
と共に(ステップ■)、読み出したデータは符号化部1
8へ送信され(ステップ[F])、符号化される。CPLIII increments the memory pointer (step ■), and the read data is stored in the encoder 1.
8 (step [F]) and encoded.
設定した番号のプレーンについて1ライン分(8197
7分)の読み出しが終了していない場合には(ステップ
■;N)、ステップ■に戻って読み出しを繰り返す。1
ライン分の読み出しが終了した場合(ステップ■;Y)
、設定したプレーン番号をデクリメントする(ステップ
0)。One line for the plane with the set number (8197
If the reading for 7 minutes) is not completed (step ■; N), the process returns to step ■ and the reading is repeated. 1
When reading for a line is completed (step ■; Y)
, decrements the set plane number (step 0).
CPUIIは、全ブレーンについて読み出しが終了して
いない場合(ステップ0;N)、ステップ■に戻って各
プレーンごとに読み出しを繰り返す。全ブレーンについ
て読み出しが終了するとくステップ@;Y)、1ライン
分の多値画像データについて画素ごとの書き込みとプレ
ーンごとの読み出しが終了する。全ラインについて終了
していない場合にはくステップ■;N)、ステップ■に
戻って次のラインについて各画素ごとの書き込みとプレ
ーンごとの読み出しを繰り返す。全ラインについて書き
込みと読み出しが終了している場合にはくステップ@;
Y)、処理を終了する。If the CPU II has not finished reading all the planes (step 0; N), it returns to step (2) and repeats the reading for each plane. When reading is completed for all the branes, in step @; Y), writing for each pixel and reading for each plane for one line of multivalued image data is completed. If not completed for all lines, skip step (2); return to step (2) and repeat writing for each pixel and reading for each plane for the next line. If writing and reading have been completed for all lines, skip step @;
Y), the process ends.
第9図は、多値画像用ビットプレーンメモリに多値画像
データを1ライン分書き込んだ状態のメモリマツプにつ
いて示したものである。図中の符号Xは、ステップ■で
設定されたアドレスである。FIG. 9 shows a memory map in which one line of multi-value image data has been written in the multi-value image bit plane memory. The symbol X in the figure is the address set in step (2).
ただし、各ビットメモリ21ごとのアドレスとは異なっ
ている。However, the addresses are different from the addresses for each bit memory 21.
第10図は、多値画像用ビットプレーンメモリから多値
画像データを1ライン分読み出す場合のメモリマツプに
ついて示したものである。図中の符号Xは、ステップ■
で設定したアドレスであり、各ビットメモリ21ごとの
アドレスとは異なっている。FIG. 10 shows a memory map when reading one line of multi-value image data from the multi-value image bit plane memory. The symbol X in the figure represents the step ■
This is the address set in , and is different from the address for each bit memory 21.
以上説明した実施例では、1ライン分ずつ多値画像デー
タの書き込みと読み出しを行ったが、多値画像用ビット
プレーンメモリを複数ライン分、例えば1ペ一ジ分とし
、多値画像データの書き込みと読み出しの処理を別々に
行うようにしてもよい。In the embodiment described above, multi-value image data is written and read line by line, but multi-value image bit plane memory is used for multiple lines, for example, one page, and multi-value image data is written. It is also possible to perform the read processing and the read processing separately.
また以上説明した実施例では、画像データ入力部から供
給される多値画像データをそのまま多値画像用ビットプ
レーンメモリに書き込み、これに基ライてビットプレー
ン符号化したが、前処理として1画素前の多値画像デー
タとの差分をとり、その値をビットブレーン符号化する
構成としてもよい。Furthermore, in the embodiment described above, the multivalued image data supplied from the image data input section is written as is into the bitplane memory for multivalued images, and bitplane encoding is performed based on this data. It is also possible to take a difference from the multivalued image data of , and bit-brain encode the value.
「発明の効果」
このように本発明によれば、多値画像データのストアさ
れているメモリからビットプレーンごとに直接読み出し
を行う構成としたので、高速なビットブレーン符号化を
行うことが可能となる。また、多値画像データをビット
ブレーン符号化することによって効率の良い符号化を行
うことができる。"Effects of the Invention" As described above, according to the present invention, since the configuration is such that each bit plane is directly read from the memory in which multilevel image data is stored, it is possible to perform high-speed bit brain encoding. Become. Moreover, efficient encoding can be performed by bit-brain encoding multivalued image data.
第1図〜第10図は本発明の一実施例を説明するための
ものであり、このうち第1図は画像読取装置の回路構成
を示すブロック図、第2図はビットメモリの回路図、第
3図は多値画像用ビットプレーンメモリの記憶部の回路
図、第4図は多値画像用ビットプレーンメモリのセレク
ト部の回路図、第5図は画像データ入力部で読み取られ
る多値画像データ1ライン分の構成を示す説明図、第6
図は多値画像データの書き込みと読み出しの流れを示す
流れ図、第7図は多値画像データの書き込み詩のデータ
ビット構成の説明図、第8図は多値画像データの読み出
し、時のデータビット構成の説明図、第9図はメモリ書
き込み時のメモリマツプを示す説明図、第10図はメモ
リ読み出し時のメモリマツプを示した説明図、第11図
はビットプレーンメモリの概念を説明するための概念図
である。
11・・・・・・CPU、16・・・・・・画像データ
入力部、17・・・・・・多値画像用ビットプレーンメ
モリ、18・・・・・・符号化部。1 to 10 are for explaining one embodiment of the present invention, of which FIG. 1 is a block diagram showing the circuit configuration of an image reading device, FIG. 2 is a circuit diagram of a bit memory, Figure 3 is a circuit diagram of the storage section of the bit plane memory for multi-level images, Figure 4 is a circuit diagram of the select section of the bit plane memory for multi-level images, and Figure 5 is the multi-level image read by the image data input section. Explanatory diagram showing the configuration of one line of data, No. 6
The figure is a flowchart showing the flow of writing and reading multi-value image data, Fig. 7 is an explanatory diagram of the data bit structure of the writing poem of multi-value image data, and Fig. 8 is the data bit structure of reading multi-value image data. An explanatory diagram of the configuration, FIG. 9 is an explanatory diagram showing a memory map when writing to memory, FIG. 10 is an explanatory diagram showing a memory map when reading memory, and FIG. 11 is a conceptual diagram for explaining the concept of bit plane memory. It is. 11...CPU, 16...Image data input unit, 17...Bit plane memory for multivalued image, 18...Encoding unit.
Claims (1)
データ入力手段と、 多値画像データを各ビットごとに書き込む複数のビット
メモリをマトリクス状に配置し、少なくとも1ライン分
の多値画像データを格納するビットプレーンメモリと、 前記画像データ入力手段から画素ごとに入力される多値
画像データを前記ビットプレーンメモリの各行ごとに書
き込む書込手段と、 この書込手段で前記ビットプレーンメモリに各行ごとに
書き込まれたデータを各列ごとに読み出す読出手段と、 この読出手段で読み出されたデータを符号化する符号化
手段 とを具備することを特徴とする画像読取装置。[Scope of Claims] Image data input means for scanning a document pixel by pixel and inputting multi-value image data, and a plurality of bit memories for writing multi-value image data bit by bit, arranged in a matrix, and for at least one line. a bit plane memory for storing multivalued image data for each pixel; a writing means for writing the multivalued image data input pixel by pixel from the image data input means for each row of the bitplane memory; An image reading device comprising: reading means for reading data written in each row in the bit plane memory for each column; and encoding means for encoding data read by the reading means. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1331366A JPH03192972A (en) | 1989-12-22 | 1989-12-22 | Picture reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1331366A JPH03192972A (en) | 1989-12-22 | 1989-12-22 | Picture reader |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03192972A true JPH03192972A (en) | 1991-08-22 |
Family
ID=18242881
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1331366A Pending JPH03192972A (en) | 1989-12-22 | 1989-12-22 | Picture reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03192972A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5558672A (en) * | 1978-10-27 | 1980-05-01 | Nec Corp | Digital facsimile unit |
| JPS6225575A (en) * | 1985-07-26 | 1987-02-03 | Kokusai Denshin Denwa Co Ltd <Kdd> | Encoding system for gradation facsimile picture signal |
| JPH0244969A (en) * | 1988-08-05 | 1990-02-14 | Toshiba Corp | Picture data processing unit |
-
1989
- 1989-12-22 JP JP1331366A patent/JPH03192972A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5558672A (en) * | 1978-10-27 | 1980-05-01 | Nec Corp | Digital facsimile unit |
| JPS6225575A (en) * | 1985-07-26 | 1987-02-03 | Kokusai Denshin Denwa Co Ltd <Kdd> | Encoding system for gradation facsimile picture signal |
| JPH0244969A (en) * | 1988-08-05 | 1990-02-14 | Toshiba Corp | Picture data processing unit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE3588186T2 (en) | Semiconductor memory with serial access | |
| US6633975B1 (en) | Data processing system having plurality of processors and executing series of processings in prescribed order | |
| US6560686B1 (en) | Memory device with variable bank partition architecture | |
| US6954207B2 (en) | Method and apparatus for processing pixels based on segments | |
| JP2000311241A (en) | Image processor | |
| JPH03192972A (en) | Picture reader | |
| US5982395A (en) | Method and apparatus for parallel addressing of an image processing memory | |
| US5408615A (en) | Direct memory access method and memory control apparatus | |
| JPH11306343A (en) | 2D data rotation processor | |
| JPH10178542A (en) | Image reduction processing unit | |
| JP2633251B2 (en) | Image memory device | |
| JPS6329472B2 (en) | ||
| KR950033862A (en) | Interface method and device with RAM | |
| SU951372A1 (en) | Device for reproducing half-tone images on cathode-ray tube screen | |
| CN121309812A (en) | Video preprocessing methods, apparatus, equipment, storage media and program products | |
| JP2839768B2 (en) | Image rotation circuit | |
| JPS62297951A (en) | Memory circuit | |
| US5838699A (en) | Line memory circuit | |
| JPS61248144A (en) | Image data memory device | |
| JP3234461B2 (en) | Image data processing device | |
| CN119211757A (en) | Image stitching system, method, electronic device and medium | |
| JP2006050415A (en) | Image processing apparatus and threshold data storage method | |
| JPH032941A (en) | Picture memory device | |
| JPH0232478A (en) | Image memory for parallel access | |
| JPH04119764A (en) | Halftone system |