JPH06105100A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH06105100A
JPH06105100A JP4251738A JP25173892A JPH06105100A JP H06105100 A JPH06105100 A JP H06105100A JP 4251738 A JP4251738 A JP 4251738A JP 25173892 A JP25173892 A JP 25173892A JP H06105100 A JPH06105100 A JP H06105100A
Authority
JP
Japan
Prior art keywords
memory
image
area
data
storage
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
Application number
JP4251738A
Other languages
Japanese (ja)
Inventor
Kazuhisa Sato
一壽 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4251738A priority Critical patent/JPH06105100A/en
Publication of JPH06105100A publication Critical patent/JPH06105100A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the picture processor which improves the system reliability by effectively and quickly storing a compressed picture signal in a memory to prevent an error like memory overflow. CONSTITUTION:The picture processor consists of an image reader 12 which inputs picture data in the unit of a page, a compressor 14 which compresses picture data from the image reader, an expander 15, a picture memory 18 where compressed picture data is stored, and a control circuit 17 which is connected to these devices and controls them. When the memory 18 has plural storage available areas, compressed picture data is written in a maximum storage available area out of these areas; and when the data size of the picture is settled after the end of compression, data is copied to and stored in an optimum storage available area of the memory 18 in accordance with the data quantity of the compressed picture.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複写機、ファクシミリ
等の電気的に画像データを取り扱う装置に関するもので
あり、特に画像データを圧縮して符号化を行い記憶装置
に蓄積される画像データを取り扱う際にイメージメモリ
を有効に扱う画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for electrically handling image data, such as a copying machine or a facsimile, and more particularly to compressing image data for encoding and storing image data stored in a storage device. The present invention relates to an image processing device that effectively handles an image memory when handling.

【0002】[0002]

【従来の技術】従来公知の画像記憶手段をもつ画像処理
装置では、画像入力手段からページ単位に入力された画
像データを蓄積するために蓄積装置が用いられるが、こ
の記憶装置は大容量が望ましく、また速い処理速度が求
められることから、半導体メモリのような記憶装置が用
いられる。
2. Description of the Related Art In a conventional image processing apparatus having an image storage means, a storage device is used to store image data input page by page from an image input means, and the storage device preferably has a large capacity. Since a high processing speed is required, a storage device such as a semiconductor memory is used.

【0003】ところで、400dpi の解像度によりA3
サイズの画像を2値信号で表すためには、約4Mbyteの
画像信号が用いられる。従って、この画像信号を記憶す
るためには少なくとも同じbyte数の記憶容量を持ったメ
モリを必要とし、また、複数枚分の画像を記憶するには
その枚数倍の容量が当然必要となる。そこで、画像の記
憶に際し、画像を圧縮することが考えられる。これによ
ると一般的な画像のデータ量が1/10程度に減少で
き、複数枚分の画像記憶も比較的小容量のメモリで可能
となる。しかし、圧縮後の情報量は画像内容により左右
され不確定であり、これを記憶するために必要な記憶手
段の記憶領域も不確実である。従って、用意した記憶領
域に収まらないことが考えられる。
By the way, with the resolution of 400 dpi, A3
An image signal of about 4 Mbytes is used to represent a size image with a binary signal. Therefore, in order to store this image signal, a memory having a storage capacity of at least the same number of bytes is required, and in order to store images for a plurality of sheets, a capacity twice that number is naturally required. Therefore, it is possible to compress the image when storing the image. According to this, a general image data amount can be reduced to about 1/10, and a plurality of images can be stored in a memory having a relatively small capacity. However, the amount of information after compression is uncertain because it depends on the image content, and the storage area of the storage means necessary for storing this is also uncertain. Therefore, it may not fit in the prepared storage area.

【0004】また、一般に画像データをメモリに記憶す
る際には、画像の読み取り操作、あるいは、プリントア
ウト操作を一画像に対して時間的に連続に行いうる(例
えば複写機における感光体ドラムの回転速度を任意に制
御することは困難である。)ことが望ましいので、一画
像の記憶はメモリ上の連続した記憶領域に記憶するよう
になっている。
In general, when image data is stored in a memory, an image reading operation or a printout operation can be continuously performed on one image in time (for example, rotation of a photosensitive drum in a copying machine). It is difficult to control the speed arbitrarily.) Therefore, one image is stored in a continuous storage area on the memory.

【0005】そこで、特開昭61−176261号公報
に記載されているように、記憶手段に複数の記憶可能領
域が存在する場合、各々の記憶可能量に応じて記憶領域
を選択するようにしたものが有る。ここで、入力された
画像データを圧縮する動作と、該圧縮画像データを記憶
装置に記憶する動作とを同時に行うようなシステムにお
いては、被圧縮データのデータ量は圧縮が終了するまで
確定できないので、複数の記憶可能領域が存在する場
合、複数の記憶可能領域のうち最大の記憶領域を優先的
に選択するなどして画像記憶を行うことにより、記憶手
段におけるオーバーフローや画像信号の破壊等を防止す
るようにしている。
Therefore, as described in JP-A-61-176261, when a plurality of storable areas are present in the storage means, the storage area is selected according to each storable amount. There is something. Here, in a system in which the operation of compressing the input image data and the operation of storing the compressed image data in the storage device are simultaneously performed, the data amount of the compressed data cannot be determined until the compression is completed. When there are multiple storable areas, the largest storage area of the plurality of storable areas is preferentially selected to perform image storage, thereby preventing overflow in the storage means and destruction of image signals. I am trying to do it.

【0006】[0006]

【発明が解決しようとする課題】しかし、被圧縮データ
のデータ量がどのような大きさにもかかわらず最大の記
憶可能領域を有する領域に記憶する、あるいはこれに類
似したような一意的な処理を行っていては画像メモリを
最大限に有効に利用することができない。最大の記憶領
域を選択し記憶した場合、その領域は分割されてしまう
ことになり、最大の記憶領域はますます小さくなってし
まう。従って、メモリオーバーフロー等を起こす機会が
多くなり、そのため装置がストップしたりリカバリの為
の例外処理を行ったりなどして、装置全体での稼働効率
の低下を招くという問題点があった。
However, the compressed data is stored in an area having the maximum storable area regardless of the size of the compressed data, or a unique process similar to this is performed. However, the image memory cannot be used to the maximum extent. When the maximum storage area is selected and stored, the area is divided, and the maximum storage area becomes smaller and smaller. Therefore, there are many opportunities to cause a memory overflow or the like, which causes the device to stop or to perform exception processing for recovery, resulting in a decrease in operating efficiency of the entire device.

【0007】本発明は以上の点に鑑みてなされてもの
で、本発明の目的は、圧縮された画像信号を記憶手段に
効果的に、かつ、すばやく記憶させ、メモリオーバーフ
ロー等のエラーを極力防止することによりシステムの信
頼性を向上させる画像処理装置を提供することである。
The present invention has been made in view of the above points. Therefore, an object of the present invention is to effectively and quickly store a compressed image signal in a storage means and prevent an error such as a memory overflow as much as possible. The object of the present invention is to provide an image processing apparatus which improves the reliability of the system.

【0008】[0008]

【課題を解決するための手段】本発明は、画像データを
ページ単位で入力する入力手段と、上記入力手段からの
画像データを圧縮する手段と、複数ページ分の圧縮画像
データを記憶可能な記憶手段と、上記記憶手段に関する
管理データを管理する記憶管理手段により構成されてい
る。
According to the present invention, there is provided input means for inputting image data in page units, means for compressing image data from the input means, and storage capable of storing compressed image data for a plurality of pages. And a storage management unit that manages management data relating to the storage unit.

【0009】[0009]

【作用】本発明は、以上の構成により、画像データが入
力された時点で、記憶管理手段に保存されていた最大の
記憶可能量を有する領域のアドレスが圧縮後の一時記憶
先となる。ここで、圧縮動作とともに画像データが記憶
手段に記憶されるが、この一時記憶先アドレスは複数の
記憶可能領域のうち最大に記憶可能量を有する領域の先
頭アドレスとなり、記憶管理手段によりこの領域が記憶
不許可領域となる。そこで、圧縮と同時に一時記憶した
際のオーバフローを防止するために最大に記憶可能量を
有する領域の記憶量が入力される画像データの圧縮前の
生データ量よりも少ない時には画像の入力の起動を行わ
ないという制御を行うことで装置の信頼性を向上させる
こともできる。
According to the present invention, with the above construction, the address of the area having the maximum storable amount stored in the storage managing means at the time of inputting the image data becomes the temporary storage destination after compression. Here, the image data is stored in the storage means together with the compression operation, and this temporary storage destination address becomes the start address of the area having the maximum storable amount among the plurality of storable areas, and this area is stored by the storage management means. It becomes a memory non-permitted area. Therefore, in order to prevent overflow when temporarily storing at the same time as compression, when the storage amount of the area with the maximum storable amount is less than the raw data amount of the input image data before compression, start image input. It is also possible to improve the reliability of the device by performing control not to perform it.

【0010】圧縮蓄積完了後に圧縮画像のデータ量が画
定した時点で、その圧縮画像データ量に応じて画像圧縮
後の確定したデータ量を越える最小の記憶可能領域のア
ドレスが記憶管理手段によりサーチされ、一時的に最大
の記憶可能領域に記憶されていたデータは該記憶可能領
域へデータコピーされる。データのコピーが開始される
と同時に該最大の記憶可能領域は記憶不許可状態から記
憶許可状態へと変わり、次ページの記憶が可能となる。
最適な記憶領域が一時的に記憶されていた記憶可能領域
と同じである場合には、データのコピーは行われず該記
憶領域は記憶不許可状態のままとなり、圧縮画像データ
が記憶された記憶不許可領域と記憶領域の直後から始ま
る記憶可能領域とに分割され管理される。
At the time when the data amount of the compressed image is defined after completion of the compression and accumulation, the storage management means searches for the address of the smallest storable area that exceeds the determined data amount after image compression according to the compressed image data amount. The data temporarily stored in the maximum storable area is copied to the storable area. Simultaneously with the start of data copying, the maximum storable area changes from the storage non-permitted state to the storage permitted state, and the next page can be stored.
If the optimum storage area is the same as the temporarily stored storage area, the data is not copied, the storage area remains in the storage disapproved state, and the storage area where the compressed image data is stored is not stored. It is managed by being divided into a permitted area and a storable area starting immediately after the storage area.

【0011】このように制御を行うことで、最適な領域
へ、速く、簡単な構成で、かつ最小のメモリ容量で画像
処理を行う装置を提供することが可能となる。
By performing the control as described above, it is possible to provide an apparatus which performs image processing to an optimum area with a quick and simple structure and a minimum memory capacity.

【0012】[0012]

【実施例】以下、本発明を実施例により説明する。図1
は本発明の実施例の基本構成のブロック図である。図1
に示した画像処理装置において、12は原稿をページ単
位で読取り画像データを出力する画像読み取り装置、1
1は原稿を1枚ずつ画像読み取り装置12へ送る自動原
稿送り装置(ADF)、14は入力された画像データを
圧縮符号化処理し圧縮画像データを出力する圧縮器、1
5は入力された圧縮画像データを伸長複合化し画像デー
タを出力する伸長器、18は圧縮符号化された圧縮画像
データを複数分記憶することができる画像メモリ、19
は伸長器15から出力される画像データに基づいて被記
録材に像形成して画像記録する画像記録装置、17は上
記の各装置を制御する制御回路である。
EXAMPLES The present invention will be described below with reference to examples. Figure 1
FIG. 3 is a block diagram of a basic configuration of an embodiment of the present invention. Figure 1
In the image processing apparatus shown in FIG. 1, reference numeral 12 denotes an image reading apparatus that reads a document page by page and outputs image data.
Reference numeral 1 is an automatic document feeder (ADF) that feeds documents one by one to the image reading device 12, and 14 is a compressor that compresses and encodes input image data and outputs compressed image data.
Reference numeral 5 denotes a decompressor for decompressing and inputting the compressed image data and outputting the image data, 18 denotes an image memory capable of storing a plurality of compression-coded compressed image data, 19
Is an image recording device for forming an image on a recording material based on the image data output from the decompressor 15 and recording the image. Reference numeral 17 is a control circuit for controlling each of the above devices.

【0013】16は圧縮器14、伸長器15と、画像メ
モリ18との間でデータヲ転送するデータバスである。
これらの圧縮器14、伸長器15、データバス16、制
御回路17及び画像メモリ18は画像処理装置13を構
成する。20は操作入力部(UI)であって、テンキー
やファンクションキーを備え、追加、差し替え、削除等
の所望の修正を行う原稿のファイル名、ページ数頭の原
稿情報及びこれらの修正処理の開始、終了等各種入力を
行うための装置である。
Reference numeral 16 is a data bus for transferring data among the compressor 14, the decompressor 15 and the image memory 18.
The compressor 14, the decompressor 15, the data bus 16, the control circuit 17, and the image memory 18 constitute the image processing device 13. An operation input unit (UI) 20 includes a numeric keypad and function keys, and includes a file name of an original document for desired correction such as addition, replacement, and deletion, original document information of several pages, and start of correction processing of these. This is a device for performing various inputs such as termination.

【0014】制御回路17内はCPUを内蔵していて、
装置全体の制御を行い、またプログラムを記憶しておく
ROMや制御上必要となるメモリの管理データなどを格
納するRAMを備えている。また、制御回路17は、画
像メモリの制御を行うメモリ制御部と、システムの動作
を制御するシステム制御部に分かれている。メモリ制御
部は、画像データを画像メモリに書き込む際、画像メモ
リの空エリアを捜し、それらの空エリアの先頭アドレス
を記憶してつなげることにより空エリアのチェーンを作
成する。また、圧縮器からの圧縮画像データを画像メモ
リへ書き込みページ単位のデータを作成する際、そのデ
ータファイルの開始アドレスと終了アドレスとをシステ
ム制御部へ通知する。
The control circuit 17 has a built-in CPU,
It is provided with a ROM for controlling the entire apparatus and for storing a program and a RAM for storing management data of a memory necessary for control. Further, the control circuit 17 is divided into a memory control section for controlling the image memory and a system control section for controlling the operation of the system. When writing the image data to the image memory, the memory control unit searches for empty areas in the image memory, stores the leading addresses of these empty areas, and connects them to create a chain of empty areas. Further, when the compressed image data from the compressor is written into the image memory to create data in page units, the system controller is notified of the start address and end address of the data file.

【0015】システムの制御部は、システム制御を行う
CPUを実行するプログラムを記憶するROM、システ
ムを動作させるためのデータを一次記憶したり、画像読
み取り装置から入力するデータを圧縮器へ加える際のバ
ッファリングを行う際に必要なRAMからなり、装置全
体の動作制御を行う。次に、図2について説明する。
The control unit of the system is a ROM for storing a program for executing a CPU for controlling the system, a primary storage for data for operating the system, and a data for inputting data from an image reading device to a compressor. It consists of RAM required for buffering, and controls the operation of the entire device. Next, FIG. 2 will be described.

【0016】図2(a)は画像メモリ管理テーブル(M
em-Table(Memory-Table))を示す。この画像メモリ
管理テーブルは、画像メモリ上に蓄積された原稿の画像
データの記憶領域と何も蓄積されていない空領域を管理
するためのテーブルである。画像メモリ管理テーブル
は、画像メモリの状態を示すシステム状態と、一時蓄積
アドレスを記憶する一時蓄積アドレスと、一時蓄積領域
のサイズを示す一時蓄積領域サイズと、圧縮された画像
データに最適なサイズを持つ記憶許可領域のアドレスを
示す最適領域アドレスと、何も記憶されていないまたは
記憶する必要の無くなった空領域を管理するためのMem
−Node (Memory-Node (記憶ノード))をキューイ
ングするためのEmp-mem−Q(Empty-memory-node- Q
ueue(空きメモリノード列))と、画像メモリ上に蓄積
された原稿の画像データの記憶領域を管理するためのM
em−Node をキューイングするためのExec-mem-Q(E
xecute-memory-node- Queue(実行メモリノード列))
と、入力動作の終了を示すInput-end-flg(Input-end
-flag (入力動作終了フラグ))と、出力動作の終了を
示すOutput-end-flg (Output-end-flag(出力動作終
了フラグ))と、一時蓄積領域から最適蓄積領域へのコ
ピー動作の終了を示すCopy-end-flg (Copy-end-flag
(コピー動作終了フラグ))とを有している。
FIG. 2A shows an image memory management table (M
An em-Table (Memory-Table) is shown. The image memory management table is a table for managing the storage area of the image data of the document stored in the image memory and the empty area in which nothing is stored. The image memory management table stores the system state indicating the state of the image memory, the temporary storage address for storing the temporary storage address, the temporary storage area size indicating the size of the temporary storage area, and the optimum size for the compressed image data. An optimum area address indicating the address of the storage permitted area and a Mem for managing an empty area where nothing is stored or no longer needs to be stored.
-Emp-mem-Q (Empty-memory-node-Q) for queuing Node (Memory-Node (memory node))
ueue (empty memory node sequence)) and M for managing the storage area of the image data of the original document stored in the image memory
Exec-mem-Q (E for queuing em-node
xecute-memory-node- Queue (execution memory node sequence))
And Input-end-flg (Input-end
-flag (input operation end flag), Output-end-flg (Output-end-flag (output operation end flag)) indicating the end of the output operation, and the end of the copy operation from the temporary storage area to the optimum storage area Copy-end-flg (Copy-end-flag
(Copy operation end flag)).

【0017】メモリノードは、画像メモリ上に蓄積され
た原稿の画像データの記憶領域または何も蓄積されてい
ない空領域の1ページ分に関するアドレスなどの管理情
報が記憶されているノードである。図2(b)はメモリ
ノードのメモリマップを示したもので、複数のノードリ
ンクがキューイングされるためのノードリンクと、ファ
イルを識別するためのファイル名などのファイル識別
と、消去、送信、プリント、コピー要求等の有無を示す
ファイル状態管理と、ページの番号を示すページ番号
と、画像メモリのどのアドレスから書き込みが開始され
ているかを示す原稿の領域開始アドレス、原稿の終了を
示す領域終了アドレスと、当該領域のデータ量を示す記
憶領域サイズと、オペレータからのコマンドを記憶する
U/I(User Interface (ユーザ・インタフェー
ス))情報とを有している。このようなノードが、蓄積
する原稿1ページ毎及びメモリ上の空領域についてそれ
ぞれ作成される。
The memory node is a node in which management information such as an address for one page of the storage area of the image data of the original document stored in the image memory or the empty area in which nothing is stored is stored. FIG. 2B shows a memory map of a memory node. The node link is used for queuing a plurality of node links, the file identification such as a file name for identifying a file, the deletion, the transmission, File status management indicating presence / absence of print, copy request, etc., page number indicating page number, original area start address indicating which address in the image memory the writing is started, area end indicating original end It has an address, a storage area size that indicates the amount of data in the area, and U / I (User Interface) information that stores a command from the operator. Such a node is created for each page of the document to be stored and for each empty area on the memory.

【0018】図4は図1により構成された装置の動作を
示すフローチャートである。以下、図面に基づき本発明
の実施例について詳述する。原稿がセットされUI20
のコピーキーがオペレータにより押されると、画像読み
取り装置12は制御回路17に対して枚数指示、紙サイ
ズ指示、画像出力指示など、コピー動作に必要な初期設
定を行い、制御回路17からの指示により画像読取装置
12は原稿の読み取りを開始する。
FIG. 4 is a flow chart showing the operation of the apparatus constructed according to FIG. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The document is set and UI20
When the copy key is pressed by the operator, the image reading device 12 performs the initial setting necessary for the copy operation, such as the number of sheets instruction, the paper size instruction, and the image output instruction to the control circuit 17, and the instruction from the control circuit 17 The image reading device 12 starts reading a document.

【0019】画像読み取り装置12から出力された画像
データは、圧縮器14にて符号化されると同時に、画像
メモリ18に蓄積される。圧縮画像データをメモリに蓄
積するときのメモリ上のアドレスは、画像メモリ管理テ
ーブルの一時蓄積アドレスのエリアに記憶されている。
図3はメモリの記憶状態を示す図である。左辺は、メモ
リのアドレスが0からMーMAXの範囲に連続して存在
するものである。ここで、M−MAXはこのメモリにお
けるアドレスの最大値を示し、網線で囲まれている領域
はすでに有効なデータが存在していることを示す。
The image data output from the image reading device 12 is encoded by the compressor 14 and, at the same time, stored in the image memory 18. The address on the memory when the compressed image data is stored in the memory is stored in the temporary storage address area of the image memory management table.
FIG. 3 is a diagram showing a storage state of the memory. On the left side, memory addresses are continuously present in the range of 0 to M-MAX. Here, M-MAX indicates the maximum value of the address in this memory, and the area surrounded by the mesh line indicates that valid data already exists.

【0020】図3(a)に示すように画像メモリに何も
画像書き込みが行われていない状態では、一時蓄積アド
レスはこの空領域の先頭アドレスに初期化されている。
また、画像メモリ管理テーブルのExec-mem-Qにはメモ
リノードはひとつもつながれてない。またEmp-mem−Q
にはメモリノードがひとつつながれている。該メモリノ
ードの領域開始アドレスにはこの空領域の先頭アドレス
が、また領域終了アドレスにはM−MAXが、記憶領域
サイズにもM−MAXが設定されている。このことはメ
モリの持つ最大の空領域を示している。この領域開始ア
ドレスと記憶領域サイズの設定により圧縮画像のメモリ
書き込みの成功、失敗を判断でき、以前書き込んだ画像
データの保護も可能となる。
As shown in FIG. 3A, when no image is written in the image memory, the temporary storage address is initialized to the leading address of this empty area.
Moreover, one memory node is not connected to Exec-mem-Q of the image memory management table. See also Emp-mem-Q
A memory node is connected to. The start address of this empty area is set to the area start address of the memory node, M-MAX is set to the area end address, and M-MAX is set to the storage area size. This indicates the maximum empty area of the memory. By setting the area start address and the storage area size, it is possible to judge the success or failure of the memory writing of the compressed image, and it is possible to protect the image data previously written.

【0021】A4サイズの原稿の画像読み取りが行われ
たとき、図3(b)のごとくメモリAに格納された画像
についてあらたにメモリノードが生成され、どのモード
で圧縮されたかの情報、圧縮した画像の原稿サイズ、メ
モリAの領域開始アドレス、メモリAの領域終了アドレ
ス、メモリAの領域のデータサイズを記憶して、画像メ
モリ管理テーブルのExec-mem-Qにつながれる。また、
残された空領域についてはEmp-mem−Qのメモリノード
の領域開始アドレスが0からAのデータ量の分だけ加え
られる。
When an image of an A4 size original is read, a memory node is newly generated for the image stored in the memory A as shown in FIG. 3B, information on which mode the image was compressed, and the compressed image. Of the document size, the area start address of the memory A, the area end address of the memory A, and the data size of the area of the memory A are stored and linked to Exec-mem-Q of the image memory management table. Also,
For the remaining empty area, the area start address of the memory node of Emp-mem-Q is added by the amount of data from 0 to A.

【0022】ここで、Aの圧縮画像データが読み出され
伸長器15により復号化されて、画像処理装置で出力さ
れた場合には、図3(b)のようであった画像メモリは
図3(a)になるように、画像目盛り管理テーブルとメ
モリノードが変更される。いま、画像メモリの状態が図
3(c)のように複数の空領域が存在している場合につ
いて考える。このとき、画像メモリ管理テーブルのEmp
-mem−Qには空領域、空領域、空領域についての
メモリノードがキューイングされている。また、Exec-
mem-Qにも画像の記憶された領域B,Cについてのメモ
リノードがキューイングされている。画像メモリ管理テ
ーブルの一時蓄積アドレスには(C領域の最終領域アド
レス+1)が記憶されている。
Here, when the compressed image data of A is read out, decoded by the decompressor 15 and output by the image processing apparatus, the image memory as shown in FIG. The image scale management table and the memory node are changed so as to become (a). Now, let us consider a case where the state of the image memory has a plurality of empty regions as shown in FIG. At this time, the Emp of the image memory management table
An empty area, an empty area, and a memory node for the empty area are queued in -mem-Q. Also, Exec-
Memory nodes for areas B and C where images are stored are also queued in mem-Q. (Final area address of area C + 1) is stored in the temporary storage address of the image memory management table.

【0023】ここで、画像読み取り装置により原稿の画
像データが読み込まれ圧縮器を通して画像メモリに記憶
されるとき、画像データの記憶先は空領域の先頭から
蓄積されるが、圧縮が終了して蓄積が完了した段階で圧
縮画像の画像データ量について最適な領域を有している
ものを3つの空領域から判断し、そこで選択された領域
に画像データをコピーする。もし、空領域が選択され
た場合は空領域に蓄積されていた画像データは空領域
にコピーされ図3(d)のようになる。このとき、画
像目盛り管理テーブルのEmp-mem−Qにキューイングさ
れていた空領域についてのメモリノーが外されてExe
c-mem-Qにキューイングされる。コピーが始まるまでは
空領域は記憶不許可状態に一時なるがコピーが始まる
と記憶許可状態に戻るので、次ページの画像データの記
憶が行えるようになるが画像データを蓄積するスピード
よりデータコピーのスピードのほうが速いのでデータが
誤って消されたりすることはない。
Here, when the image data of the original is read by the image reading device and stored in the image memory through the compressor, the storage destination of the image data is stored from the beginning of the empty area, but the storage is completed after the compression. At the stage when is completed, the one having the optimum area for the image data amount of the compressed image is determined from the three empty areas, and the image data is copied to the selected area. If the empty area is selected, the image data accumulated in the empty area is copied to the empty area and becomes as shown in FIG. At this time, the memory node for the empty area queued in Emp-mem-Q of the image scale management table is removed and
It is queued in c-mem-Q. Until the copy starts, the empty area is temporarily in the memory non-permitted state, but when the copy starts, it returns to the memory permissible state, so it becomes possible to store the image data of the next page. Data is not accidentally erased because it is faster.

【0024】画像の圧縮率によっては選択された空領域
が空領域、すなわち一時記憶領域となる場合も考えら
れるが、その場合には図3(e)のようになり画像目盛
り管理テーブルの一時蓄積アドレスのエリアは図3
(e)の空領域の先頭アドレスに変更される。このよ
うにして最終原稿の画像蓄積が終了するまで、前記画像
メモリがオーバーフローしなければ、蓄積が繰り返され
る。ここで、もし前記圧縮画像データの量が前記圧縮画
像データ格納域の容量を超過して、該画像メモリの空き
領域に格納しきれなくなったときには、画像圧縮エラー
とし、画像データの書ききれなかったメモリ領域を空領
域として、その画像のメモリからの出力を禁止するとと
もに、UIの表示部にてその旨を表示する。
Depending on the compression ratio of the image, the selected empty area may be an empty area, that is, a temporary storage area. In that case, as shown in FIG. 3E, the image scale management table is temporarily stored. The address area is shown in Figure 3.
It is changed to the top address of the empty area in (e). In this way, the accumulation is repeated until the image memory overflows until the image accumulation of the final document is completed. Here, if the amount of the compressed image data exceeds the capacity of the compressed image data storage area and cannot be stored in the empty area of the image memory, an image compression error occurs and the image data cannot be written. The memory area is set as an empty area, and the output of the image from the memory is prohibited, and the fact is displayed on the display unit of the UI.

【0025】[0025]

【発明の効果】以上の説明から明らかなように、本発明
によれば、画像データが入力された時点で、記憶管理手
段により最大の記憶可能量を有する領域のアドレスがも
とめられ、そのアドレスの指し示す領域が圧縮後の一時
記憶先となる。ここで、圧縮動作と記憶動作が同時に行
われ圧縮画像データが最大に記憶可能量を有する領域に
記憶され、この領域が記憶不許可領域となる。同時に圧
縮完了後に記憶データ量が確定した時点で、そのデータ
量に最適な記憶可能領域のアドレスが記憶管理手段によ
りサーチされ、一時的に最大の記憶可能領域に記憶され
ていたデータは最適な記憶可能領域へデータコピーされ
る。データのコピーが開始されると同時に該最大の記憶
可能領域は記憶不許可状態から記憶許可状態へと変わ
り、次ページの記憶が可能となる。最適な記憶領域が該
最大の記憶可能領域である場合には、データのコピーは
行われず該記憶領域は記憶不許可状態のままである。こ
のように制御を行うことで、最適な領域へ、速く、簡単
な構成で、かつ最小のメモリ容量で画像処理を行う装置
を提供することが可能となる。
As is apparent from the above description, according to the present invention, when the image data is input, the storage management means finds the address of the area having the maximum storable amount, and The area pointed to becomes the temporary storage destination after compression. Here, the compression operation and the storage operation are performed at the same time, and the compressed image data is stored in the area having the maximum storable amount. At the same time, when the amount of stored data is determined after the compression is completed, the address of the storable area most suitable for the amount of data is searched by the storage management means, and the data temporarily stored in the maximum storable area is stored in the optimum storage. Data is copied to the feasible area. Simultaneously with the start of data copying, the maximum storable area changes from the storage non-permitted state to the storage permitted state, and the next page can be stored. When the optimum storage area is the maximum storable area, no data is copied and the storage area remains in the storage disapproval state. By performing control in this manner, it is possible to provide a device that performs image processing to an optimum area with a quick and simple structure and a minimum memory capacity.

【0026】さらに、記憶可能領域のうち最大の記憶量
を有する領域が圧縮前の原画像データ量よりも少ない時
などには、画像データの入力を起動させないことでメモ
リオーバフローを防止し、エラー例外処理を行う機会を
極力減らすことができる。
Further, when the area having the largest storage capacity among the storable areas is smaller than the original image data quantity before compression, the memory overflow is prevented by not activating the input of the image data, and an error exception occurs. Opportunities for processing can be reduced as much as possible.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の実施例を示す基本構成のブロック図
である。
FIG. 1 is a block diagram of a basic configuration showing an embodiment of the present invention.

【図2】画像メモリのブロック図である。FIG. 2 is a block diagram of an image memory.

【図3】メモリの記憶状態を示す図である。FIG. 3 is a diagram showing a storage state of a memory.

【図4】この発明の実施例を示すフローチャートであ
る。 11 自動原稿送り装置 12 画像読み取り手段 13 画像処理装置 14 圧縮器 15 伸長器 16 データバス 17 制御回路 18 画像メモリ 19 画像出力装置 20 操作入力部
FIG. 4 is a flowchart showing an embodiment of the present invention. 11 Automatic Document Feeding Device 12 Image Reading Unit 13 Image Processing Device 14 Compressor 15 Decompressor 16 Data Bus 17 Control Circuit 18 Image Memory 19 Image Output Device 20 Operation Input Unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 画像データをページ単位で入力する入力
手段と、 上記入力手段からの画像データを圧縮する手段と、 複数ページ分の圧縮画像データを記憶可能な記憶手段
と、 上記記憶手段に関する管理データを管理する記憶管理手
段とを備えており、 複数の記憶可能領域が存在する場合、各々の領域の記憶
可能量のうち最大の記憶量を有する領域に圧縮と同時に
圧縮画像データを書き込み、圧縮終了後該圧縮画像のデ
ータサイズが確定した時点で該圧縮画像のデータ量に応
じた最適の記憶可能領域に圧縮画像データをコピーする
ように制御することを特徴とする画像処理装置。
1. Input means for inputting image data in page units, means for compressing image data from the input means, storage means capable of storing compressed image data for a plurality of pages, and management relating to the storage means. When there are a plurality of storable areas, the compressed image data is written and compressed at the same time as compression in the area having the maximum storable amount in each area. After completion, when the data size of the compressed image is determined, the image processing apparatus is controlled to copy the compressed image data to an optimum storable area according to the data amount of the compressed image.
JP4251738A 1992-09-22 1992-09-22 Picture processor Pending JPH06105100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4251738A JPH06105100A (en) 1992-09-22 1992-09-22 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4251738A JPH06105100A (en) 1992-09-22 1992-09-22 Picture processor

Publications (1)

Publication Number Publication Date
JPH06105100A true JPH06105100A (en) 1994-04-15

Family

ID=17227205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4251738A Pending JPH06105100A (en) 1992-09-22 1992-09-22 Picture processor

Country Status (1)

Country Link
JP (1) JPH06105100A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012513627A (en) * 2008-12-22 2012-06-14 エスティー‐エリクソン、(フランス)、エスアエス Method and device for storing and transferring page data, in particular page codes in a virtual memory mechanism

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012513627A (en) * 2008-12-22 2012-06-14 エスティー‐エリクソン、(フランス)、エスアエス Method and device for storing and transferring page data, in particular page codes in a virtual memory mechanism

Similar Documents

Publication Publication Date Title
JP3265697B2 (en) Image processing device
JPH02268066A (en) Facsimile equipment
US5229866A (en) Image processing system for reducing wait time before image data transfer to an image output section
US6104506A (en) Facsimile apparatus having function of updating incorporated program
US6992788B2 (en) Image processing apparatus and method, and storage medium
JP4269926B2 (en) Image processing apparatus and image processing method
JP3376878B2 (en) Digital copier
JPH06105100A (en) Picture processor
KR100299960B1 (en) Method for managing edition of data in combiner
JP3458501B2 (en) Encoding device
JP3058109B2 (en) Output device
JPH10173836A (en) Image processing unit
JP2002281319A (en) Image forming apparatus
JPH11313182A (en) Image forming device
JPS6024773A (en) Picture information accumulation and reproduction device
JP2565323B2 (en) Image communication device
JPH07212516A (en) Facsimile equipment
JP3151912B2 (en) Image processing device
JP2000059558A (en) Network scanner device
JP3391935B2 (en) Facsimile apparatus and received image data output management method
JP2006094151A (en) Image processor
JP3214617B2 (en) Multi-value image printer
JPH05225304A (en) Digital picture processor
JPH04309055A (en) Document processor
JPH02121026A (en) Information processing device