JP2011250151A - Memory control device and image formation device therewith - Google Patents

Memory control device and image formation device therewith Download PDF

Info

Publication number
JP2011250151A
JP2011250151A JP2010121415A JP2010121415A JP2011250151A JP 2011250151 A JP2011250151 A JP 2011250151A JP 2010121415 A JP2010121415 A JP 2010121415A JP 2010121415 A JP2010121415 A JP 2010121415A JP 2011250151 A JP2011250151 A JP 2011250151A
Authority
JP
Japan
Prior art keywords
band
image data
image
memory
page memory
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
JP2010121415A
Other languages
Japanese (ja)
Inventor
Kunihiko Shimamoto
邦彦 島本
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2010121415A priority Critical patent/JP2011250151A/en
Publication of JP2011250151A publication Critical patent/JP2011250151A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PROBLEM TO BE SOLVED: To aim for an effective use of a page memory to the utmost limit and prevent an overwriting of image data, forbidden for the overwriting due to a low compressibility of the image data.SOLUTION: A memory control device is equipped with: an input part; a band dividing part which divides a image data into bands; a compression processing part; a decompression processing part; an image processing part which runs image processing of the image data; a page memory which executes an entry for each of the bands in band sequence from a beginning point of an address in a given direction and reuses a memory by returning to the beginning point when the entry processing reaches to a final block in the entry direction of the page memory; and a memory control part which controls an output from the page memory or an entry to the page memory, evaluates an idle capacity of the final block of the page memory, and orders the return to the beginning point of the address and an entry in case the idle capacity is smaller than a post-compression data size of a band to be entered.

Description

本発明は、ページメモリを備えたメモリ制御装置に関する。又、メモリ制御装置を備えた複合機、複写機、プリンタ、FAX装置等の画像形成装置に関する。   The present invention relates to a memory control device including a page memory. The present invention also relates to an image forming apparatus such as a multifunction machine, a copying machine, a printer, and a FAX apparatus provided with a memory control device.

例えば、複合機等の画像形成装置では、読み取った画像データや入力された画像データに対し、各種の画像処理を施す画像処理部が設けられる。そして、画像処理部が処理する前の画像データや処理後の画像データを記憶するため、少なくとも1ページ分の画像データを記憶するページメモリが搭載される場合がある。ここで、画像形成装置に搭載するページメモリの容量は少ない方が、画像形成装置の製造コストを減らすことができる。そこで、単一のページメモリを用いつつ、多様な画像記録のモードに対応する画像記録装置が特許文献1に記載されている。   For example, an image forming apparatus such as a multifunction peripheral is provided with an image processing unit that performs various types of image processing on read image data and input image data. In order to store the image data before being processed by the image processing unit and the image data after being processed, a page memory for storing at least one page of image data may be mounted. Here, if the capacity of the page memory mounted on the image forming apparatus is small, the manufacturing cost of the image forming apparatus can be reduced. Therefore, Patent Document 1 discloses an image recording apparatus that uses a single page memory and supports various image recording modes.

具体的に、特許文献1には、ページメモリに展開されたイメージデータを画像記録手段により記録出力する画像記録装置において、複数の画像記録モードにそれぞれ対応する複数の画像データ入力手段と、複数の画像記録モードのうちのいずれかの画像記録モードに設定するモード切換設定手段とを備え、ページメモリを複数の画像記録モードで共用し、複数の画像記録モードのうちのモード切換設定手段により設定されているにモードに対応する画像データ入力手段から得られる記録対象画像データの画像記録手段による記録出力を行う画像記録装置が記載されている。この構成により、各画像記録モードでの画像記録においてページメモリを共用し、画像記録モードごとに個別にページメモリを備える必要をなくし、装置コストの低減を図ろうとする。(特許文献1:請求項1、段落[0082]等参照)。   Specifically, in Patent Document 1, in an image recording apparatus that records and outputs image data developed in a page memory by an image recording unit, a plurality of image data input units respectively corresponding to a plurality of image recording modes, Mode switching setting means for setting to any one of the image recording modes, the page memory is shared by a plurality of image recording modes, and is set by the mode switching setting means of the plurality of image recording modes. However, there is described an image recording apparatus that records and outputs recording target image data obtained from an image data input unit corresponding to a mode by an image recording unit. With this configuration, a page memory is shared for image recording in each image recording mode, and it is not necessary to provide a page memory for each image recording mode, thereby reducing the cost of the apparatus. (See Patent Document 1: Claim 1, paragraph [0082], etc.).

特開2002−142088JP2002-142088

画像形成装置などのページメモリは、読み取った画像データをいったん記憶し、画像処理のため画像データを出力し、濃度変換やズームやフィルタ処理など画像処理後の画像データを再び記憶する場合がある。言い換えると、ページメモリは、同じページの画像データの入力(記憶)→出力→再入力(記憶)を繰り返すことがある。例えば、1ページ分の画像データは、複数のバンドに分割され、バンド単位でページメモリから出力され、ページメモリに再入力される。   A page memory such as an image forming apparatus may temporarily store read image data, output image data for image processing, and store image data after image processing such as density conversion, zoom, and filter processing again. In other words, the page memory sometimes repeats input (storage) → output → re-input (storage) of image data of the same page. For example, image data for one page is divided into a plurality of bands, output from the page memory in band units, and re-input to the page memory.

そして、ページメモリは、例えば、1ページ分の画像データのサイズに多少の余裕を持たせた容量とされる。そのため、同じページの画像データの入力(記憶)→出力→再入力(記憶)を繰り返す場合、ページメモリから既に出力した画像データの領域に、画像処理後の画像データを上書きしていく場合がある。言い換えると、ページメモリの使い回しをする場合がある。   The page memory is, for example, a capacity with some margin for the size of image data for one page. Therefore, when image data of the same page is input (stored) → output → re-input (stored) is repeated, image data after image processing may be overwritten in the area of image data already output from the page memory. . In other words, the page memory may be reused.

ここで、ベージメモリの容量を減らす観点や処理速度向上の観点から、圧縮処理を行ってから画像データをページメモリに記憶させる場合がある。例えば、画像処理部で画像処理が施された後の画像データは、圧縮処理された上で、ページメモリに記憶される。尚、圧縮されたままの状態では画像処理できないので、ページメモリから出力された画像データは、画像処理部での画像処理に供される前に、伸長処理される。   Here, from the viewpoint of reducing the capacity of the page memory and improving the processing speed, the image data may be stored in the page memory after performing the compression process. For example, image data that has been subjected to image processing by the image processing unit is compressed and stored in the page memory. Since image processing cannot be performed in the compressed state, the image data output from the page memory is decompressed before being subjected to image processing in the image processing unit.

ここで、画像処理部で画像処理が施されると、画像データの圧縮率が悪くなる場合がある。例えば、ハフマン符号などのアルゴリズムを用い、画像データは圧縮されるが、画像処理により画像データの各画素の画素値(濃度値)が変わると、圧縮率が悪くなる場合がある。そうすると、例えば、同じバンドに関し、画像処理前よりも画像処理後の圧縮後のデータサイズの方が、大きくなる。   Here, when the image processing is performed in the image processing unit, the compression rate of the image data may deteriorate. For example, the image data is compressed using an algorithm such as a Huffman code. However, if the pixel value (density value) of each pixel of the image data is changed by image processing, the compression rate may deteriorate. Then, for example, for the same band, the data size after compression after image processing is larger than that before image processing.

そのため、ページメモリから出力されたバンドを再びページメモリに格納する際、画像処理後の画像データ(バンド)が、まだページメモリから出力されていない画像データ(バンド)、言い換えると、画像処理待ちのバンドを、上書きしてしまう場合があるという問題がある。上書きしてしまうと、例えば、異常な画像データの生成や、異常画像の印刷が生ずる。   Therefore, when the band output from the page memory is stored again in the page memory, the image data (band) after the image processing is the image data (band) that has not been output from the page memory, in other words, waiting for image processing. There is a problem that the band may be overwritten. If overwritten, for example, generation of abnormal image data or printing of an abnormal image occurs.

ここで、特許文献1記載の画像記録装置をみると、確かに、画像記録モード毎に個別にページメモリを備える必要をなくし、製造コスト低減を図ることができる場合がある。しかし、特許文献1記載の発明は、圧縮処理を行った上でページメモリに画像データを記憶させるものではなく、その旨の記載はない。そのため、実用的に発明を実現するには、大容量のページメモリと、高速なメモリが必要であり、必ずしも、製造コスト低減が達成されるわけではない。又、画像処理によって圧縮率が悪くなることに起因する上記の問題が生じる可能性があり、上記の問題を解決できない。   Here, when viewing the image recording apparatus described in Patent Document 1, it may certainly be possible to reduce the manufacturing cost by eliminating the need to separately provide a page memory for each image recording mode. However, the invention described in Patent Document 1 does not store the image data in the page memory after performing the compression process, and there is no description to that effect. Therefore, to realize the invention practically, a large-capacity page memory and a high-speed memory are required, and the manufacturing cost reduction is not always achieved. In addition, the above-mentioned problem may be caused due to the deterioration of the compression rate due to image processing, and the above problem cannot be solved.

本発明は、上記問題点を鑑み、限界までページメモリの有効活用を図りつつ、画像処理が施された画像データの圧縮率が悪くなることにより、ページメモリで上書きしてはいけない画像データへの上書きを防ぐことを課題とする。   In view of the above problems, the present invention aims to effectively utilize the page memory to the limit and reduces the compression rate of the image data subjected to image processing. The challenge is to prevent overwriting.

上記目的を達成するために請求項1に係るメモリ制御装置は、画像データを入力するための入力部と、入力された1ページ分の画像データを複数のバンドに分割するバンド化部と、画像データの圧縮処理を行う圧縮処理部と、圧縮された画像データの伸長処理を行う伸長処理部と、前記伸長処理部が伸長処理した画像データの画像処理を行う画像処理部と、複数のブロックで区画され、前記伸長処理部に向けて画像データを前記バンド単位で出力し、前記入力部に入力された画像データや前記画像処理部で処理された画像データであって、前記圧縮処理部が圧縮した画像データを前記バンド単位で受けて記憶し、又、アドレスの先頭地点から一定方向で、前記バンド単位で前記バンド順に書き込みを行い、書き込み方向での最終ブロックに至ると、前記先頭地点に戻り、メモリの使いまわしを行うページメモリと、前記ページメモリからの出力や書き込みを制御し、前記最終ブロックの空き容量が、書き込もうとする前記バンドの圧縮後のデータサイズよりも小さいか否かを判断し、前記最終ブロックの空き容量が、書き込もうとする前記バンドの圧縮後のデータサイズよりも小さい場合、先頭地点に戻り、書き込みを行わせるメモリ制御部と、を備えることとした。   In order to achieve the above object, a memory control device according to claim 1 includes an input unit for inputting image data, a banding unit for dividing input image data for one page into a plurality of bands, and an image A compression processing unit that performs data compression processing, a decompression processing unit that decompresses compressed image data, an image processing unit that performs image processing of image data decompressed by the decompression processing unit, and a plurality of blocks The image data is divided and output to the decompression processing unit in units of bands, and is image data input to the input unit or image data processed by the image processing unit, wherein the compression processing unit compresses the image data. The received image data is received and stored in band units, and written in the band order in the band units in a fixed direction from the start point of the address, leading to the final block in the write direction. And a page memory that recycles the memory by returning to the start point, and controlling the output and writing from the page memory, and the free capacity of the final block is smaller than the data size after compression of the band to be written A memory control unit that returns to the start point and writes data when the free capacity of the final block is smaller than the compressed data size of the band to be written. It was.

この構成によれば、ページメモリの書き込み方向での最終ブロックに至り、最終ブロックの空き容量が書き込もうとするバンドの圧縮後のデータサイズよりも小さい場合、先頭地点に戻り、書き込みが行われる。これにより、巡回して(ページメモリを使い回して)ページメモリに書き込みを行っていく場合、ページメモリの容量が限界まで使用され、ページメモリを有効活用することができる。   According to this configuration, when the last block in the page memory writing direction is reached and the free capacity of the last block is smaller than the data size after compression of the band to be written, the writing is performed by returning to the head point. As a result, when writing to the page memory in cycles (using the page memory), the capacity of the page memory is used to the limit, and the page memory can be used effectively.

又、請求項2に係る発明は、請求項1の発明において、前記メモリ制御部は、前記ページメモリの前記最終ブロックで、圧縮後の前記バンドの書き込みを試み、前記バンドの全データを書き込めるか否かにより、最終ブロックの空き容量が、書き込もうとする前記バンドのデータサイズよりも小さいか否かを判断することとした。   The invention according to claim 2 is the invention according to claim 1, wherein the memory control unit attempts to write the band after compression in the last block of the page memory, and can write all data of the band. Whether or not the free capacity of the last block is smaller than the data size of the band to be written is determined.

この構成によれば、ページメモリの書き込み方向での最終ブロックで、圧縮後のバンドの書き込みを試み、バンドの全データを書き込めるか否かにより、最終ブロックの空き容量は書き込もうとするバンドのデータサイズよりも小さいか否かが判断される。このように実際に試されるため、最終ブロックに圧縮された画像処理後のバンドが書き込めるか否かが、はっきりと確認される。従って、ページメモリは、容量の限界まで確実に使用され、ページメモリを有効活用することができる。   According to this configuration, in the last block in the page memory writing direction, an attempt is made to write the compressed band, and depending on whether or not all the band data can be written, the free capacity of the last block is the data size of the band to be written. Or less is determined. Since it is actually tried in this way, it is clearly confirmed whether or not a band after image processing compressed in the final block can be written. Therefore, the page memory can be used reliably up to the capacity limit, and the page memory can be effectively used.

又、請求項3に係る発明は、請求項1又は2の発明において、前記画像処理部は、画像処理を行うための作業領域としてのワークメモリを有し、前記画像処理部での画像処理のため、前記ページメモリが前記伸長処理部に向けて画像データを出力し、前記画像処理部で画像処理が施され、圧縮処理後の前記バンドを前記ページメモリに再び記憶させる場合、前記ページメモリは、前記伸長処理部に向けて出力した前記バンド部分の記憶領域を空き容量として扱い、前記メモリ制御部は、前記ページメモリの空き容量が、書き込もうとする前記バンドの圧縮後のデータサイズよりも小さいか否かを判断し、小さい場合、前記バンドの書き込みを待機させつつ、前記ページメモリに前記バンド単位で前記伸長処理部に向けて画像データを出力させ、空き容量が確保された後、待機させていた前記バンドを前記ページメモリに書き込ませることとした。   According to a third aspect of the present invention, in the first or second aspect of the invention, the image processing unit has a work memory as a work area for performing image processing, and the image processing unit performs image processing. Therefore, when the page memory outputs image data to the decompression processing unit, the image processing is performed in the image processing unit, and the band after compression processing is stored again in the page memory, the page memory is The storage area of the band portion output to the decompression processing section is treated as a free capacity, and the memory control section has a free capacity of the page memory smaller than the compressed data size of the band to be written. If it is smaller, the page memory is made to output image data to the decompression processing unit in units of bands while waiting for writing of the bands. After the free space is secured, it was decided to write the band that was allowed to stand in the page memory.

この構成によれば、ページメモリの空き容量が、書き込もうとするバンドの圧縮後のデータサイズよりも小さい場合、書き込もうとするバンドの圧縮後のデータサイズ分のページメモリの空き容量が確保されるまで、バンドの書き込みを待機させつつ、ページメモリにバンド単位で伸長処理部に向けて画像データを出力させ、確保後、待機させていたバンドがページメモリに書き込まれる。これにより、ページメモリの空き容量が十分に確保された上で、圧縮された画像処理後のバンドが書き込まれる。従って、まだ画像処理のためにページメモリから出力されていないバンド(画像処理待ちのバンド)への、画像処理後のバンドの上書きをなくすことができる。   According to this configuration, when the free space of the page memory is smaller than the compressed data size of the band to be written, the free space of the page memory for the data size after the compression of the band to be written is ensured. While waiting for the writing of the band, the page memory is caused to output the image data to the decompression processing unit in band units, and after securing, the band that has been waiting is written to the page memory. As a result, the free band of the page memory is secured, and the compressed band after image processing is written. Accordingly, it is possible to eliminate overwriting of a band after image processing to a band that has not yet been output from the page memory for image processing (a band waiting for image processing).

又、請求項4に係る発明は、請求項1乃至3の発明において、前記メモリ制御部は、前記バンドの書き込みを待機させつつ、前記ワークメモリが全て埋まるまで、前記ページメモリに前記バンド単位で前記伸長処理部に向けて画像データを出力させても、書き込もうとする前記バンドの圧縮後のデータサイズ分の前記ページメモリの空き容量を確保できない場合、エラー発生を認識し、エラー発生を報知する報知部を有することとした。   According to a fourth aspect of the present invention, in the first to third aspects of the present invention, the memory control unit waits for writing of the band, and stores the page memory in the band unit until the work memory is completely filled. Even if the image data is output to the decompression processing unit, if the free space of the page memory corresponding to the data size after compression of the band to be written cannot be secured, the occurrence of an error is recognized and the error occurrence is notified. It was decided to have a notification unit.

この構成によれば、バンドの書き込みを待機させつつ、ワークメモリが全て埋まるまでページメモリにバンド単位で伸長処理部に向けて画像データを出力させても、書き込もうとするバンドの圧縮後のデータサイズ分のページメモリの空き容量を確保できない場合、エラーの発生が認識される。これにより、異常な画像データが生成されることを使用者に報知することができる。又、使用者に、ワークメモリを限界まで用いても、ページメモリから出力されていないバンドへの圧縮された画像処理後のバンドの上書きが生じてしまうことを知らせることができ、画像処理の設定の変更等の対処の必要性を使用者に認識させることができる。   According to this configuration, even if image data is output to the decompression processing unit in band units in the page memory until the work memory is filled up while waiting for writing of the band, the compressed data size of the band to be written The occurrence of an error is recognized when there is not enough free space in the page memory. Accordingly, it is possible to notify the user that abnormal image data is generated. In addition, the user can be informed that even if the work memory is used to the limit, overwriting of the band after the compressed image processing to the band not output from the page memory will occur. It is possible to make the user recognize the necessity of countermeasures such as change of the user.

又、請求項5に係る発明は、請求項1乃至5の発明において、前記画像処理部は、少なくとも、ズーム処理、濃度変換処理、フィルタ処理を行うこととした。   According to a fifth aspect of the present invention, in the first to fifth aspects of the invention, the image processing unit performs at least zoom processing, density conversion processing, and filter processing.

この構成によれば、画像処理部は、少なくとも、ズーム処理、濃度変換処理、フィルタ処理を行う。例えば、これらの画像データにおける各画素の画素値の変換を伴う画像処理では、バンドの圧縮率が悪くなる場合がある。しかし、これらの画像処理を行う画像処理部を有していても、まだ画像処理のためにページメモリから出力されていないバンド(画像処理待ちのバンド)への圧縮された画像処理後のバンドの上書きを防ぐことができる。   According to this configuration, the image processing unit performs at least zoom processing, density conversion processing, and filter processing. For example, in image processing involving conversion of the pixel value of each pixel in these image data, the band compression rate may deteriorate. However, even if it has an image processing unit that performs these image processing, the band of the band after compressed image processing to the band that has not yet been output from the page memory for image processing (the band waiting for image processing) Overwriting can be prevented.

又、請求項6に係る画像形成装置は、請求項1乃至5のいずれか1項に記載のメモリ制御装置を含むこととした。   An image forming apparatus according to a sixth aspect includes the memory control apparatus according to any one of the first to fifth aspects.

この構成によれば、メモリ制御装置は、まだ画像処理のためにページメモリから出力されていないバンド(画像処理待ちのバンド)への圧縮された画像処理後のバンドの上書きを防ぐので、異常のある画像データを生成せず、異常な画像データに基づく印刷もない画像形成装置を提供することができる。   According to this configuration, the memory control device prevents overwriting of a band after compressed image processing to a band that has not yet been output from the page memory for image processing (band waiting for image processing). It is possible to provide an image forming apparatus that does not generate certain image data and does not print based on abnormal image data.

本発明によれば、ページメモリを使い回すうえで、記憶領域は十分に有効活用される。又、ワークメモリを用いて、ページメモリの空き容量をできるだけ確保する。従って、画像処理が施された画像データの圧縮率が悪化により、異常画像が生ずるようなページメモリでの画像データの上書きを避けることができる。   According to the present invention, the storage area is sufficiently effectively used when using the page memory. In addition, the work memory is used to secure as much free space as possible in the page memory. Therefore, it is possible to avoid overwriting the image data in the page memory in which an abnormal image is generated due to deterioration in the compression rate of the image data subjected to image processing.

実施形態に係る複合機の概略構成を示す模型的断面図である。1 is a schematic cross-sectional view illustrating a schematic configuration of a multifunction machine according to an embodiment. 実施形態に係る1つの画像形成ユニットの拡大断面図である。FIG. 3 is an enlarged cross-sectional view of one image forming unit according to the embodiment. 実施形態に係る複合機のハードウェア構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a hardware configuration of a multifunction machine according to an embodiment. 実施形態に係るメモリ制御装置での入力された画像データの流れの一例を示すブロック図である。It is a block diagram which shows an example of the flow of the input image data in the memory control apparatus which concerns on embodiment. 実施形態に係るバンド化部による画像データの分割の一例を示す説明図である。It is explanatory drawing which shows an example of the division | segmentation of the image data by the banding part which concerns on embodiment. 実施形態に係るページメモリを用いた画像データの流れの画像処理の概要を示すブロック図である。It is a block diagram which shows the outline | summary of the image process of the flow of the image data using the page memory which concerns on embodiment. 実施形態に係るページメモリの記憶領域の使用、動作に関する説明図であり、(a)は、1ページ分の画像データの全バンドを記憶させたときの記憶領域を示し、(b)は、1バンド目の処理の一例を示し、(c)は、2バンド目の処理の一例を示し、(d)は、3バンド目の処理の一例を示す。It is explanatory drawing regarding use of the storage area of the page memory which concerns on embodiment, and operation | movement, (a) shows a storage area when all the bands of the image data for 1 page are memorize | stored, (b) is 1 An example of the band process is shown, (c) shows an example of the second band process, and (d) shows an example of the third band process. 実施形態に係るページメモリの記憶領域の使用、動作に関する説明図であり、(a)は、4バンド目の処理の一例を示し、1ページ分の画像データの全バンドを記憶させたときの記憶領域を示し、(b)は、5バンド目による6バンド目の上書きの一例を示し、(c)は、空き容量が十分となるまで書き込みを待つ処理の一例を示し、(d)は、5バンド目の処理の一例を示す。It is explanatory drawing regarding use of the storage area of the page memory which concerns on embodiment, and operation | movement, (a) shows an example of the process of 4th band, and memorize | stores when all the bands of the image data for 1 page were memorize | stored (B) shows an example of overwriting of the sixth band by the fifth band, (c) shows an example of processing for waiting for writing until the free space becomes sufficient, and (d) shows 5 An example of processing of the band is shown. 実施形態に係るメモリ制御装置での画像データの処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process of the image data in the memory control apparatus which concerns on embodiment.

以下、本発明の実施形態を図1〜図9に基づき、本発明に係るメモリ制御装置100を含む電子写真方式でタンデム型のカラーの複合機400(画像形成装置に相当)を例に挙げ説明する。但し、本実施形態に記載されている構成、配置等の各要素は、発明の範囲を限定せず単なる説明例にすぎない。   Hereinafter, an embodiment of the present invention will be described based on FIGS. 1 to 9 by taking an electrophotographic tandem type color multifunction peripheral 400 (corresponding to an image forming apparatus) including the memory control apparatus 100 according to the present invention as an example. To do. However, each element such as the configuration and arrangement described in the present embodiment is merely an illustrative example without limiting the scope of the invention.

(画像形成装置の概略構成)
まず、図1及び2を用い、本発明の実施形態に係る複合機400の概略を説明する。図1は、本発明の実施形態に係る複合機400の概略構成を示す模型的断面図である。図2は本発明の実施形態に係る1つの画像形成ユニット51の拡大断面図である。
(Schematic configuration of image forming apparatus)
First, an outline of a multifunction machine 400 according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a schematic cross-sectional view showing a schematic configuration of a multifunction machine 400 according to an embodiment of the present invention. FIG. 2 is an enlarged cross-sectional view of one image forming unit 51 according to the embodiment of the present invention.

図1に示すように、本実施形態にかかる複合機400は、正面上部に操作パネル1(図1において破線で図示、報知部に相当)が設けられる。又、操作パネル1は、液晶表示部11や、スタートキー12等の各種キーを備え、複合機400の状態(例えば、エラー発生やモード)の表示や、ユーザからの各種の入力を受け付ける。又、複合機400は、上部に画像読取部2(入力部に相当)や原稿搬送装置3を備え、本体内に給紙部4a、搬送路4b、画像形成部5、中間転写部6a、定着部6b等を含む。   As shown in FIG. 1, the multifunction machine 400 according to the present embodiment is provided with an operation panel 1 (shown by a broken line in FIG. 1, corresponding to a notification unit) at an upper front portion. The operation panel 1 also includes various keys such as a liquid crystal display unit 11 and a start key 12, and accepts display of the state of the multi-function device 400 (for example, error occurrence and mode) and various inputs from the user. The multifunction machine 400 includes an image reading unit 2 (corresponding to an input unit) and a document conveying device 3 in the upper part, and a sheet feeding unit 4a, a conveyance path 4b, an image forming unit 5, an intermediate transfer unit 6a, a fixing unit in the main body. Part 6b and the like.

原稿搬送装置3は、原稿の複写時、複数のローラの回転駆動により、原稿トレイ31に積載された原稿を1枚ずつ、自動的、連続的に、画像読取部2の読み取り位置(送り読取用コンタクトガラス21)に向けて搬送する。画像読取部2は原稿を読み取り、原稿の画像データを生成する。画像読取部2の上面には、送り読取用コンタクトガラス21と載置読取用コンタクトガラス22が設けられ、画像読取部2内には露光用のランプ、ミラー、レンズ、イメージセンサ(例えば、CCD、図4参照)等の光学系部材(いずれも不図示)が設けられる。   The document conveying device 3 automatically and continuously reads the documents stacked on the document tray 31 one by one by rotating the plurality of rollers during document copying. It is conveyed toward the contact glass 21). The image reading unit 2 reads a document and generates image data of the document. On the upper surface of the image reading unit 2, a feed reading contact glass 21 and a placement reading contact glass 22 are provided. In the image reading unit 2, an exposure lamp, a mirror, a lens, and an image sensor (for example, a CCD, An optical system member (not shown) such as FIG. 4) is provided.

そして、画像読取部2は、これらの光学系部材を用い、原稿搬送装置3が搬送する原稿や、コンタクトガラスに載置される原稿に光を照射し、その原稿の反射光を受けたイメージセンサの各画素の出力値をA/D変換して画像データを生成する。複合機400は読み取りで得られた画像データに基づき印刷を行うことができる(コピー機能)。尚、原稿搬送装置3は図1の紙面奥側に回動支点が設けられ持ち上げ可能であり、載置読取用コンタクトガラス22に原稿を載置後、原稿搬送装置3で原稿を押さえることができる。   The image reading unit 2 uses these optical system members to irradiate light on a document transported by the document transport device 3 or a document placed on a contact glass, and receives an image sensor reflected by the document. A / D conversion is performed on the output value of each pixel to generate image data. The multi-function device 400 can perform printing based on the image data obtained by reading (copy function). Note that the document conveying device 3 is provided with a rotation fulcrum at the back side of FIG. 1 and can be lifted. After the document is placed on the placement reading contact glass 22, the document conveying device 3 can hold the document. .

又、給紙部4aは、中間転写部6a等に向け、例えば、コピー用紙、ラベル用紙等の各種各サイズの用紙(シート)を収容する。又、給紙部4aは、モータ等の駆動機構(不図示)により回転する給紙ローラ41で搬送路4bに1枚ずつ用紙を送り出す。そして、搬送路4bは複合機400内で用紙を搬送し、給紙部4aから供給された用紙を、中間転写部6a、定着部6bを経て排出トレイ42まで導く。搬送路4bには搬送ローラ対43やガイド44及び搬送される用紙を中間転写部6aの手前で待機させ、画像形成部5におけるトナー像形成とタイミングをあわせて用紙を送り出すレジストローラ対45等が設けられる。   The paper feed unit 4a accommodates various sizes of paper (sheets) such as copy paper and label paper, for example, toward the intermediate transfer unit 6a. The paper feed unit 4a feeds paper one by one to the transport path 4b by a paper feed roller 41 that is rotated by a drive mechanism (not shown) such as a motor. The conveyance path 4b conveys the sheet in the multifunction peripheral 400 and guides the sheet supplied from the sheet feeding unit 4a to the discharge tray 42 through the intermediate transfer unit 6a and the fixing unit 6b. In the transport path 4b, there are a pair of transport rollers 43, a guide 44, and a pair of registration rollers 45 for waiting the transported paper in front of the intermediate transfer section 6a and feeding the paper in time with toner image formation in the image forming section 5. Provided.

更に、図1に示すように、複合機400は、形成すべき画像の画像データに基づき、トナー像を形成する部分として画像形成部5を備える。具体的に、画像形成部5は、図1の左側から、ブラックの画像を形成する画像形成ユニット51Bkと、イエローの画像を形成する画像形成ユニット51Yと、シアンの画像を形成する画像形成ユニット51Cと、マゼンタの画像を形成する画像形成ユニット51Mと、露光装置52等を備える。   Further, as shown in FIG. 1, the multi-function device 400 includes an image forming unit 5 as a part for forming a toner image based on image data of an image to be formed. Specifically, the image forming unit 5 starts from the left side of FIG. 1 with an image forming unit 51Bk that forms a black image, an image forming unit 51Y that forms a yellow image, and an image forming unit 51C that forms a cyan image. An image forming unit 51M for forming a magenta image, an exposure device 52, and the like.

ここで、図2に基づき、各画像形成ユニット51Bk〜51Mを詳述する。尚、各画像形成ユニット51Bk〜51Mは、形成するトナー像の色が異なるだけで、いずれも基本的に同様の構成で、同様に説明できる。そこで、図2では1つの画像形成ユニット51のみ示し、以下の説明では、特に説明する場合を除き、各画像形成ユニット51の色の識別用の符号であるBk、Y、C、Mの符号は省略する。   Here, the image forming units 51Bk to 51M will be described in detail with reference to FIG. Each of the image forming units 51Bk to 51M is basically the same configuration and can be described in the same manner, except that the color of the toner image to be formed is different. Therefore, only one image forming unit 51 is shown in FIG. 2, and in the following description, the symbols for identifying the colors of the respective image forming units 51, Bk, Y, C, and M, are unless otherwise specified. Omitted.

まず、各感光体ドラム53(交換ユニットに相当)は、周面にトナー像を担持し、駆動装置(不図示)によって所定のプロセススピードで紙面反時計方向に回転駆動される。各帯電装置54は、感光体ドラム53を一定の電位に帯電させる。尚、帯電装置54はコロナ放電式やブラシ等を用いたものでも良い。各画像形成ユニット51の下方の露光装置52は、入力されるカラー色分解された画像信号をレーザ出力部(不図示)にて光信号にそれぞれ変換し、変換された光信号であるレーザ光(破線で図示)を4色分出力可能であり、帯電後の感光体ドラム53の走査露光を行って、静電潜像を形成する。   First, each photosensitive drum 53 (corresponding to an exchange unit) carries a toner image on its peripheral surface, and is driven to rotate counterclockwise at a predetermined process speed by a driving device (not shown). Each charging device 54 charges the photosensitive drum 53 to a constant potential. The charging device 54 may be one using a corona discharge type or a brush. The exposure device 52 below each image forming unit 51 converts an input color-separated image signal into an optical signal by a laser output unit (not shown), and laser light (converted optical signal). 4) can be output for four colors, and the photosensitive drum 53 after scanning is subjected to scanning exposure to form an electrostatic latent image.

各現像装置55は、トナーを含む現像剤(不図示)を収納する(画像形成ユニット51Bkの現像装置55はブラック、画像形成ユニット51Yの現像装置55はイエロー、画像形成ユニット51Cの現像装置55はシアン、画像形成ユニット51Mの現像装置55はマゼンタの現像剤を収納する)。各現像装置55は、感光体ドラム53に対向し、画像形成時に感光体ドラム53にトナーを供給する。   Each developing device 55 stores a developer (not shown) including toner (the developing device 55 of the image forming unit 51Bk is black, the developing device 55 of the image forming unit 51Y is yellow, and the developing device 55 of the image forming unit 51C is The developing device 55 of the cyan image forming unit 51M stores magenta developer). Each developing device 55 faces the photoconductive drum 53 and supplies toner to the photoconductive drum 53 during image formation.

トナー像形成プロセスを説明すると、帯電された感光体ドラム53に対し、画像データに応じ露光装置52のレーザ光によって、露光が行われ静電潜像が形成される。現像装置55から帯電したトナーが飛翔し、露光によって設けられた電位の大小に応じ感光体ドラム53表面に付着し、静電潜像がトナー像として現像される。各清掃装置56は感光体ドラム53の清掃を行う。   The toner image forming process will be described. An electrostatic latent image is formed by exposing the charged photosensitive drum 53 with laser light from the exposure device 52 in accordance with image data. The charged toner flies from the developing device 55, adheres to the surface of the photosensitive drum 53 according to the magnitude of the potential provided by exposure, and the electrostatic latent image is developed as a toner image. Each cleaning device 56 cleans the photosensitive drum 53.

図1に戻り、中間転写部6aは、感光体ドラム53からトナー像の1次転写を受け、用紙に2次転写を行う。中間転写部6aは、感光体ドラム53の1本に付き、1本設けられる各1次転写ローラ61(61Bk〜61Mの計4本)、中間転写ベルト62、駆動ローラ63、従動ローラ64〜66、2次転写ローラ67、ベルト清掃装置68等で構成される。各1次転写ローラ61は、各感光体ドラム53と無端状の中間転写ベルト62を挟み込むように中間転写ベルト62に当接する。そして、交流及び直流が重畳された転写用の電圧が各1次転写ローラ61に印加され、タイミングを取られ、トナー像は順次、ずれなく重畳されつつ、中間転写ベルト62に転写される。   Returning to FIG. 1, the intermediate transfer unit 6 a receives the primary transfer of the toner image from the photosensitive drum 53 and performs the secondary transfer on the sheet. The intermediate transfer unit 6a is attached to one of the photosensitive drums 53, and each primary transfer roller 61 (a total of four, 61Bk to 61M), an intermediate transfer belt 62, a driving roller 63, and driven rollers 64 to 66 are provided. It includes a secondary transfer roller 67, a belt cleaning device 68, and the like. Each primary transfer roller 61 is in contact with the intermediate transfer belt 62 so as to sandwich each photosensitive drum 53 and the endless intermediate transfer belt 62. Then, a transfer voltage on which alternating current and direct current are superimposed is applied to each primary transfer roller 61 and timed, and the toner images are sequentially transferred onto the intermediate transfer belt 62 without being shifted.

中間転写ベルト62は、1次転写ローラ61、駆動ローラ63、従動ローラ64〜66に張架され、モータ等の駆動機構(不図示)に接続される駆動ローラ63の回転駆動により図1の紙面時計方向に周回する。又、駆動ローラ63は、2次転写ローラ67と中間転写ベルト62を挟み込む。各色重ね合わされたトナー像は所定の電圧を印加された2次転写ローラ67で、中間転写ベルト62から用紙に転写される。尚、2次転写後の中間転写ベルト62上の残トナー等は、ベルト清掃装置68で除去されて回収される。   The intermediate transfer belt 62 is stretched around a primary transfer roller 61, a driving roller 63, and driven rollers 64 to 66, and is rotated by a driving roller 63 connected to a driving mechanism (not shown) such as a motor. Circulate clockwise. The driving roller 63 sandwiches the secondary transfer roller 67 and the intermediate transfer belt 62. The superimposed toner images are transferred from the intermediate transfer belt 62 to a sheet by a secondary transfer roller 67 to which a predetermined voltage is applied. The residual toner on the intermediate transfer belt 62 after the secondary transfer is removed and collected by the belt cleaning device 68.

定着部6bは、用紙搬送方向の下流側に配され、用紙に2次転写されたトナー像を加熱・加圧して定着させる。そして、定着部6bは主として発熱源を内蔵する加熱ローラ69Hとこれに圧接される加圧ローラ69Pとで構成され、両ローラ間にニップが形成される。そして、トナー像の転写された用紙は、ニップを通過すると加熱・加圧され、その結果、トナー像が用紙に定着する。尚、定着後の用紙は、排出トレイ42に排出され画像形成が完了する。   The fixing unit 6b is disposed on the downstream side in the paper conveyance direction, and fixes the toner image secondarily transferred to the paper by heating and pressing. The fixing unit 6b is mainly composed of a heating roller 69H containing a heat source and a pressure roller 69P pressed against the heating roller 69H, and a nip is formed between the two rollers. Then, the paper on which the toner image is transferred passes through the nip and is heated and pressurized, and as a result, the toner image is fixed on the paper. The fixed sheet is discharged to the discharge tray 42 to complete the image formation.

(複合機400のハードウェア構成)
次に、図3に基づき、本発明の実施形態に係る複合機400のハードウェア構成を説明する。図3は、本発明の実施形態に係る複合機400のハードウェア構成の一例を示すブロック図である。
(Hardware configuration of MFP 400)
Next, a hardware configuration of the multifunction machine 400 according to the embodiment of the present invention will be described with reference to FIG. FIG. 3 is a block diagram illustrating an example of a hardware configuration of the multifunction machine 400 according to the embodiment of the present invention.

図3に示すように、本実施形態に係る複合機400は、内部の制御基板上に制御部7を有する。制御部7は、装置全体の動作を統括し、複合機400の各部の制御を司る。そして、制御部7には、例えば、中央演算処理装置としてのCPU70やメモリ制御部8が含まれる。CPU70は、後述のROM71やRAM72やHDD73内のデータやプログラムを利用して複合機400の制御を行う。   As shown in FIG. 3, the multifunction machine 400 according to the present embodiment includes a control unit 7 on an internal control board. The control unit 7 controls the overall operation of the apparatus and controls each unit of the multifunction machine 400. The control unit 7 includes, for example, a CPU 70 as a central processing unit and a memory control unit 8. The CPU 70 controls the multifunction peripheral 400 using data and programs in a ROM 71, RAM 72, and HDD 73 described later.

メモリ制御部8は、後述するページメモリ9からの出力(読み出し)、入力(書き込み)の制御を行うメモリコントローラである。このメモリ制御部8による制御により、ページメモリ9は有効に用いられる。尚、図3では、メモリ制御部8は、制御部7内に設けているが、制御部7外に設けてもよく、設置位置に特に制限はない。   The memory control unit 8 is a memory controller that controls output (reading) and input (writing) from a page memory 9 described later. The page memory 9 is effectively used under the control of the memory control unit 8. In FIG. 3, the memory control unit 8 is provided in the control unit 7, but may be provided outside the control unit 7, and the installation position is not particularly limited.

そして、制御部7とバス等で通信可能に、ROM71、RAM72が接続される。ROM71は、電源がオフしても記憶内容が保持される不揮発性メモリである。ROM71は、CPU70が制御のため実行するプログラムや、起動時プログラムや、装置固有の各種パラメータなどの各種制御用の固定データを記憶する。RAM72は、CPU70が制御の際に実行するプログラムや、各種データを一時的に記憶する。   And ROM71 and RAM72 are connected so that communication with the control part 7 and a bus | bath etc. is possible. The ROM 71 is a non-volatile memory that retains stored contents even when the power is turned off. The ROM 71 stores programs executed by the CPU 70 for control, startup programs, and fixed data for various controls such as various parameters unique to the apparatus. The RAM 72 temporarily stores programs executed by the CPU 70 during control and various data.

又、制御部7には、用紙搬送や印刷を実際に制御するエンジン制御部50が通信可能に接続される。制御部7は、エンジン制御部50に指示を与える。この指示を受けて、エンジン制御部50は、用紙搬送や画像形成で用いる各種回転体(搬送ローラ対43や感光体ドラム53等)を回転させ、トナー像を形成させる等、給紙部4a、搬送路4b、画像形成部5、中間転写部6a、定着部6bを実際に制御する。   The controller 7 is communicably connected to an engine controller 50 that actually controls paper conveyance and printing. The control unit 7 gives an instruction to the engine control unit 50. In response to this instruction, the engine control unit 50 rotates various rotating bodies (such as the conveyance roller pair 43 and the photosensitive drum 53) used for paper conveyance and image formation to form a toner image. The conveyance path 4b, the image forming unit 5, the intermediate transfer unit 6a, and the fixing unit 6b are actually controlled.

又、複合機400には、外部との通信インターフェイスとしてのI/F部74(入力部に相当)を含む。I/F部74は、例えば、外部のコンピュータ200と、ネットワークやケーブルで接続して通信を行うためのデータ通信部741を含む。データ通信部741は、例えば、ネットワーク接続用や直接的に複合機400とコンピュータ200を接続するためのコネクタや、通信制御用のコントローラ、チップを含む。このデータ通信部741により、複合機400は、コンピュータ200等から画像データや印刷の設定データを含む印刷用データを受け、印刷を行うことができる(プリンタ機能)。   The multifunction device 400 includes an I / F unit 74 (corresponding to an input unit) as a communication interface with the outside. The I / F unit 74 includes, for example, a data communication unit 741 for communicating with the external computer 200 via a network or a cable. The data communication unit 741 includes, for example, a connector for connecting to the network or directly connecting the multi-function device 400 and the computer 200, a controller for controlling communication, and a chip. The data communication unit 741 allows the multi-function device 400 to receive print data including image data and print setting data from the computer 200 or the like (printer function).

又、I/F部74には、外部のFAX装置300と通信を行うためのFAX通信部742を含むことができる。FAX通信部742は、ファクシミリとしての機能を果たすための部分であり、モデムや、画像データのファクシミリに対応した形式への変換や、受信データの伸張のための回路、チップ等を含む。   Further, the I / F unit 74 can include a FAX communication unit 742 for performing communication with the external FAX apparatus 300. The FAX communication unit 742 is a part for performing a function as a facsimile, and includes a modem, a circuit for converting image data into a format corresponding to the facsimile, and decompressing received data, a chip, and the like.

又、制御部7は、バスや通信線等により操作パネル1とも通信可能に接続される。そして、操作パネル1になされた設定内容を示すデータは、制御部7に送られ、制御部7は、複合機400を使用者の設定どおりに動作するように制御する。又、複合機400は、画像データに対して圧縮処理を行う圧縮処理部81や、圧縮した画像データの伸長処理を行う伸長処理部82を含む。尚、圧縮処理部81や伸長処理部82の詳細は後述する。   The control unit 7 is also communicably connected to the operation panel 1 via a bus, a communication line, or the like. Data indicating the setting contents set on the operation panel 1 is sent to the control unit 7, and the control unit 7 controls the multifunction device 400 to operate according to the user's settings. The multi-function device 400 also includes a compression processing unit 81 that performs compression processing on image data, and a decompression processing unit 82 that performs decompression processing on the compressed image data. Details of the compression processing unit 81 and the decompression processing unit 82 will be described later.

又、複合機400は、少なくとも1ページ分の画像データを一時的に記憶できる容量を有するページメモリ9や、1ページの画像データを複数のバンドに分割するバンド化部91を含む。ページメモリ9は、上述のメモリ制御部8により、読み出し、書き込みが制御される。尚、ページメモリ9やバンド化部91の詳細は後述する。   The multi-function device 400 includes a page memory 9 having a capacity capable of temporarily storing at least one page of image data, and a banding unit 91 that divides one page of image data into a plurality of bands. Reading and writing of the page memory 9 are controlled by the memory control unit 8 described above. Details of the page memory 9 and the banding unit 91 will be described later.

又、複合機400に設けられる画像処理部90は、例えば、画像処理専用の回路としてのASIC92や画像処理用のメモリであるワークメモリ93等を含む(図4参照)。そして、画像処理部90は、例えば、濃度変更や、拡大縮小(ズーム)や、フィルタ処理等の各種画像処理を画像データに施す。尚、画像処理部90が行える画像処理は多岐にわたるので、公知の複合機400に関する画像処理をおこなえるものとして、実行可能な画像処理の詳細の説明は省略する。   The image processing unit 90 provided in the multi-function peripheral 400 includes, for example, an ASIC 92 as a circuit dedicated to image processing, a work memory 93 which is a memory for image processing, and the like (see FIG. 4). Then, the image processing unit 90 performs various image processing such as density change, enlargement / reduction (zoom), and filter processing on the image data. Since image processing that can be performed by the image processing unit 90 is diverse, description of details of executable image processing is omitted on the assumption that image processing related to the known multifunction machine 400 can be performed.

そして、本発明に係るメモリ制御装置100は、複合機400に含まれる。例えば、メモリ制御装置100は、メモリ制御装置100が扱う画像データの入力部としての画像読取部2やI/F部74や、バンド化部91や、圧縮処理部81や、伸長処理部82や、画像処理部90や、ページメモリ9や、メモリ制御部8などで構成される(図3にメモリ制御装置100の一例を破線で図示)。   The memory control device 100 according to the present invention is included in the multifunction device 400. For example, the memory control device 100 includes an image reading unit 2, an I / F unit 74, a banding unit 91, a compression processing unit 81, an expansion processing unit 82, and the like as an input unit of image data handled by the memory control device 100. The image processing unit 90, the page memory 9, the memory control unit 8, and the like (an example of the memory control device 100 is shown by a broken line in FIG. 3).

(画像データの入力)
次に、図3〜図5に基づき、本発明の実施形態に係るメモリ制御装置100や複合機400への画像データの入力の一例を説明する。図4は、本発明の実施形態に係るメモリ制御装置100での入力された画像データの流れの一例を示すブロック図である。図5は、本発明の実施形態に係るバンド化部91による画像データの分割の一例を示す説明図である。
(Input image data)
Next, an example of input of image data to the memory control device 100 or the multifunction peripheral 400 according to the embodiment of the present invention will be described based on FIGS. FIG. 4 is a block diagram showing an example of the flow of input image data in the memory control apparatus 100 according to the embodiment of the present invention. FIG. 5 is an explanatory diagram showing an example of image data division by the banding unit 91 according to the embodiment of the present invention.

本実施形態の複合機400では、例えば、画像読取部2やI/F部74が、複合機400に画像データを入力する入力部として機能する。入力部としての画像読取部2は、制御部7の制御の下、例えば、原稿をラインセンサ等のイメージセンサで、光学的読取ラインである副走査方向の先頭ラインからライン毎に読み取り、ディジタルの画像データを生成する公知のスキャナ部である。読み取られたライン毎の画像データは、バンド化部91に出力される。尚、画像読取部2からの画像データは、制御部7を経由してバンド化部91に入力されてもよい。   In the multifunction device 400 of this embodiment, for example, the image reading unit 2 and the I / F unit 74 function as an input unit that inputs image data to the multifunction device 400. The image reading unit 2 as an input unit reads, for example, an original document line by line from the head line in the sub-scanning direction, which is an optical reading line, under the control of the control unit 7. This is a known scanner unit that generates image data. The read image data for each line is output to the banding unit 91. Note that the image data from the image reading unit 2 may be input to the banding unit 91 via the control unit 7.

又、入力部としてのI/F部74は、制御部7の制御の下、例えば、コンピュータ200や相手方FAX装置300から画像データを含む印刷用データ受けるインターフェイスである。外部から入力された画像データは、バンド化部91に出力される。尚、I/F部74からの画像データは、制御部7を経由してバンド化部91に入力されてもよい。尚、本実施形態の複合機400では、操作パネル1での操作によって、印刷等に、HDD73に蓄積されている画像データを用いることもできる。そのため、HDD73もバンド化部91に対する画像データの入力部となる。   The I / F unit 74 as an input unit is an interface for receiving print data including image data from the computer 200 or the counterpart FAX apparatus 300, for example, under the control of the control unit 7. Image data input from the outside is output to the banding unit 91. Note that the image data from the I / F unit 74 may be input to the banding unit 91 via the control unit 7. Note that in the MFP 400 according to the present embodiment, image data stored in the HDD 73 can be used for printing or the like by an operation on the operation panel 1. Therefore, the HDD 73 also serves as an image data input unit for the banding unit 91.

バンド化部91は、制御部7の制御の下、バンド化部91に入力される画像データを順次、副走査方向の先頭ラインから複数ライン(例えば、250ライン毎)を、1個のバンドとしてバンド化し、バンド毎に出力する。そこで、バンド化部91の処理を、図5を用いて説明する。   The banding unit 91 sequentially controls the image data input to the banding unit 91 under the control of the control unit 7 so that a plurality of lines (for example, every 250 lines) from the first line in the sub-scanning direction are set as one band. Banded and output for each band. The processing of the banding unit 91 will be described with reference to FIG.

例えば、本実施形態の画像読取部2は、600dpiの解像度で原稿の画像を読み取り、画像データを出力する。例えば、A4サイズに対応する画像データの場合であって、副走査方向とA4用紙の長辺が一致する場合、1インチ=2.54cmとすると、A4の長辺方向では、約29cm÷(2.54÷600)≒6860となり、副走査方向に約7000本のラインが画像データに含められる。   For example, the image reading unit 2 of the present embodiment reads an image of a document with a resolution of 600 dpi and outputs image data. For example, in the case of image data corresponding to the A4 size, when the long side of the A4 sheet coincides with the sub-scanning direction, if 1 inch = 2.54 cm, about 29 cm / (2 in the long side direction of A4 .54 ÷ 600) ≈6860, and about 7000 lines are included in the image data in the sub-scanning direction.

そして、本実施形態の説明及び以下の説明では、1枚の画像データを14のバンドに分割する例を説明する。そのため、A4に対応する画像データの場合、7000÷14≒500ラインとなり、バンド化部91は、A4に対応する画像データを約500ライン毎にバンドとして分割する。このバンドの分割を模式的に描いたのが、図5である。   In the description of the present embodiment and the following description, an example in which one piece of image data is divided into 14 bands will be described. Therefore, in the case of image data corresponding to A4, 7000 ÷ 14≈500 lines, and the banding unit 91 divides the image data corresponding to A4 into bands every about 500 lines. FIG. 5 schematically shows the division of the band.

そして、メモリ制御装置100には、バンド化された画像データの処理を行う画像処理部90が設けられる。画像処理部90は、ASIC92や、画像処理での作業領域としてのワークメモリ93を含む。ワークメモリ93は複数設けられてもよいが、図4では、便宜上、1つのものとして示す。画像処理部90は、例えば、ASIC92等を用いて、画像データに対する濃度やカラー/モノクロの判別処理等の画像検出処理を行う。   The memory control device 100 is provided with an image processing unit 90 that performs processing of banded image data. The image processing unit 90 includes an ASIC 92 and a work memory 93 as a work area for image processing. Although a plurality of work memories 93 may be provided, FIG. 4 shows one work memory for convenience. The image processing unit 90 uses, for example, an ASIC 92 to perform image detection processing such as density and color / monochrome discrimination processing for image data.

又、画像処理部90には、例えば、ズーム処理部94や濃度変換処理部95やフィルタ処理部96が設けられる。言い換えると、画像処理部90は、少なくとも、ズーム処理、濃度変換処理、フィルタ処理を行う。尚、ズーム処理部94や濃度変換処理部95やフィルタ処理部96は、ASIC92により機能的に実現されてもよい。ズーム処理部94は、画像データの拡大、縮小を行う。操作パネル1やコンピュータ200にインストールされたプリンタドライバソフトウェアでは、印刷等における濃度設定(濃淡設定)が可能である。濃度変換処理部95は、使用者によって設定された濃度に応じ、濃くなる又は薄くなる方向に画像データの各画素値を変換する。   The image processing unit 90 is provided with, for example, a zoom processing unit 94, a density conversion processing unit 95, and a filter processing unit 96. In other words, the image processing unit 90 performs at least zoom processing, density conversion processing, and filter processing. The zoom processing unit 94, the density conversion processing unit 95, and the filter processing unit 96 may be functionally realized by the ASIC 92. The zoom processing unit 94 enlarges and reduces the image data. With the printer driver software installed on the operation panel 1 or the computer 200, density setting (shading setting) in printing or the like is possible. The density conversion processing unit 95 converts each pixel value of the image data in a direction of increasing or decreasing according to the density set by the user.

フィルタ処理部96は、バンド化された画像データに対し、各種フィルタをかけ、画像データ内の各画素を変換する処理を行う。本実施形態の複合機400では、コピーの際、操作パネル1で文字モード(原稿内の文字の画質を優先するモード)と、写真モード(原稿内の写真の画質を優先するモード)を選択できる。例えば、文字モードが選択された場合、フィルタ処理部96は、バンド化された画像データに、微分フィルタをかけ、エッジの強調を行い、文字の鮮明化を図る。例えば、写真モードが選択された場合、フィルタ処理部96は、バンド化された画像データに、積分フィルタをかけ、バンド内の各画素の画素値の平滑化を行い、色の変化を滑らかにする。   The filter processing unit 96 applies various filters to the banded image data, and performs a process of converting each pixel in the image data. In the MFP 400 according to the present embodiment, a character mode (a mode that prioritizes the image quality of characters in a document) and a photo mode (a mode that prioritizes the image quality of photos in a document) can be selected on the operation panel 1 during copying. . For example, when the character mode is selected, the filter processing unit 96 applies a differential filter to the banded image data, emphasizes edges, and sharpens the characters. For example, when the photo mode is selected, the filter processing unit 96 applies an integration filter to the banded image data, smoothes the pixel value of each pixel in the band, and smoothes the color change. .

尚、画像処理部90は、バンド化された画像データに対し、その他の画像処理を施すことができる(例えば、回転処理、白黒反転処理、二値化処理、枠消し処理など)。しかし、行える画像処理全て説明することは、本発明の趣旨からはずれるので、公知の画像処理を行えるものとして、詳細な説明を省略する。   The image processing unit 90 can perform other image processing on the banded image data (for example, rotation processing, black-and-white reversal processing, binarization processing, frame removal processing, etc.). However, the description of all image processing that can be performed is out of the spirit of the present invention, and therefore detailed description is omitted assuming that known image processing can be performed.

そして、圧縮処理部81は、バンド化された画像データに対して、所定のファイル形式や圧縮方法で圧縮する圧縮処理を行う。例えば、圧縮処理部81は、画像データをJPEG(Joint Photographic Experts Group)に圧縮する。そして、圧縮処理部81は、ページメモリ9に出力する。又、圧縮処理部81は、ページメモリ9から出力され、フィルタ処理等の画像処理がなされた画像データを、例えば、JPEGに圧縮する処理を行い、ページメモリ9に再度出力する。   The compression processing unit 81 performs compression processing for compressing the banded image data using a predetermined file format or compression method. For example, the compression processing unit 81 compresses the image data into JPEG (Joint Photographic Experts Group). Then, the compression processing unit 81 outputs the page memory 9. Further, the compression processing unit 81 performs processing for compressing the image data output from the page memory 9 and subjected to image processing such as filter processing into, for example, JPEG, and outputs it to the page memory 9 again.

又、伸長処理部82は、画像処理のためページメモリ9から出力されたバンドの伸長処理を行う。そして、伸長処理部82は、伸長処理後のバンドを画像処理部90に出力する。尚、図4などに示すように、本説明では、圧縮処理部81と伸長処理部82は、画像処理部90と別のものとして説明しているが、画像処理部90に含まれてもよい。   The decompression processing unit 82 performs decompression processing of the band output from the page memory 9 for image processing. Then, the expansion processing unit 82 outputs the band after the expansion processing to the image processing unit 90. As shown in FIG. 4 and the like, in this description, the compression processing unit 81 and the decompression processing unit 82 are described as being separate from the image processing unit 90, but may be included in the image processing unit 90. .

ページメモリ9は、画像データの1ページ分(1ページのバンド数分)の容量を有する必要記憶ブロックMと1つのバンド分の容量を有する追加記憶ブロックmを有する(図7、図8参照)。例えば、ページメモリ9は、半導体メモリであり、制御部7(メモリ制御部8)の制御の下、1ページ分の画像データについてバンド毎に読み書き可能である。尚、メモリ制御部8は、例えば、画像処理部90と接続され、画像処理部90での画像処理の進展状況を確認しつつ、ページメモリ9での読み書きの制御を行う。   The page memory 9 has a necessary storage block M having a capacity of one page of image data (the number of bands of one page) and an additional storage block m having a capacity of one band (see FIGS. 7 and 8). . For example, the page memory 9 is a semiconductor memory, and can read and write image data for one page for each band under the control of the control unit 7 (memory control unit 8). Note that the memory control unit 8 is connected to, for example, the image processing unit 90 and controls reading and writing in the page memory 9 while confirming the progress of image processing in the image processing unit 90.

ページメモリ9は、画像データをバンド毎に受けて記憶し、画像処理のため、画像データをバンド毎に出力し、画像処理部90で処理のなされた同じページの画像データをバンド毎に、再度受けて記億する。このように、ページメモリ9は、同じページの画像データを記憶し、出力し、再記憶する。   The page memory 9 receives and stores image data for each band, outputs image data for each band for image processing, and re-images image data of the same page processed by the image processing unit 90 for each band. Receive and record. Thus, the page memory 9 stores, outputs, and re-stores image data of the same page.

(ページメモリ9を用いた画像処理)
次に、図6に基づき、本発明の実施形態に係るページメモリ9を用いた画像処理の概要を説明する。図6は、本発明の実施形態に係るページメモリ9を用いた画像データの流れの画像処理の概要を示すブロック図である。
(Image processing using page memory 9)
Next, an outline of image processing using the page memory 9 according to the embodiment of the present invention will be described with reference to FIG. FIG. 6 is a block diagram showing an outline of image processing of the flow of image data using the page memory 9 according to the embodiment of the present invention.

図5、図6に示すように画像読取部2で生成された画像データやI/F部74が受け付けた画像データは、バンド化部91に伝えられる。バンド化部91は、バンド単位で順次画像データを出力する。バンド化部91が出力したバンドは、圧縮処理部81に入力される。圧縮処理部81は、バンド単位で、JPEG等の圧縮処理を行い、ページメモリ9に出力する。   As shown in FIGS. 5 and 6, the image data generated by the image reading unit 2 and the image data received by the I / F unit 74 are transmitted to the banding unit 91. The banding unit 91 sequentially outputs image data in band units. The band output from the banding unit 91 is input to the compression processing unit 81. The compression processing unit 81 performs compression processing such as JPEG for each band and outputs the result to the page memory 9.

ページメモリ9は、圧縮処理部81からのバンドを記憶する。そして、1ページ分のバンドを全て格納してから、又は、バンドの格納と並行させつつ、ページメモリ9は、画像処理のため、伸長処理部82に向けて、格納済みのバンドを出力する。伸長処理部82は、ページメモリ9からのバンドを受け、伸長処理する。そして、伸長処理部82は、画像処理部90に出力する。   The page memory 9 stores the band from the compression processing unit 81. Then, after storing all the bands for one page or in parallel with the storage of the bands, the page memory 9 outputs the stored bands to the decompression processing unit 82 for image processing. The decompression processing unit 82 receives the band from the page memory 9 and performs decompression processing. Then, the decompression processing unit 82 outputs to the image processing unit 90.

画像処理部90は、伸長処理後のバンドに基づき、画像処理をワークメモリ93を用いつつ行う。例えば、図6に示すように、画像処理部90には、複数のワークメモリ93が設けられ、画像処理部90は、ページメモリ9にバンドを再び記憶させるまでに、複数種の画像処理を施せる。尚、バンドの画像処理部90の通過の際に、必ず、複数回の画像処理を施す必要はなく、1回でもよい。   The image processing unit 90 performs image processing using the work memory 93 based on the band after the expansion processing. For example, as shown in FIG. 6, the image processing unit 90 is provided with a plurality of work memories 93, and the image processing unit 90 can perform a plurality of types of image processing before the page memory 9 stores the bands again. . When the band passes through the image processing unit 90, it is not always necessary to perform a plurality of times of image processing, and it may be performed once.

そして、画像処理部90は、画像処理後のバンドを圧縮処理部81に出力する。圧縮処理部81は、画像処理後のバンドに対し、圧縮処理を施す。そして、圧縮処理部81は、圧縮された画像処理後のバンドをページメモリ9に出力する。そして、ページメモリ9は、バンド単位で、圧縮された画像処理後のバンドを記憶する。   Then, the image processing unit 90 outputs the band after image processing to the compression processing unit 81. The compression processing unit 81 performs compression processing on the band after image processing. Then, the compression processing unit 81 outputs the compressed band after image processing to the page memory 9. The page memory 9 stores the compressed band after image processing in band units.

そして、使用者の操作パネル1での設定等に応じ、必要な画像処理が全てなされるまで、ページメモリ9からのバンドの出力、伸長処理、画像処理、圧縮処理、圧縮処理されたバンドのページメモリ9の再記憶がくり返される。   Then, according to the settings on the operation panel 1 of the user, the band output from the page memory 9, decompression processing, image processing, compression processing, and the page of the band subjected to compression processing until all necessary image processing is performed. The re-storing of the memory 9 is repeated.

例えば、画像処理部90は、バンド化されたそれら画像データに対して第1の処理、例えば、画像データに対する濃度やカラー/モノクロの判別処理等の画像検出処理を行った後、いったんページメモリ9に記憶させる。次に、画像処理は、同じページの各バンドについて、第2の処理、例えば、画像データの変倍処理(例えば、図6における画像処理1に相当)やフィルタ処理(例えば、図6における画像処理2に相当)や濃度変換処理(例えば、図6における画像処理3に相当)を行い、いったんページメモリ9に記憶させる。このように、画像処理部90は、一度のページメモリ9からのバンドの出し入れにおいて、複数種の画像処理を組み合わせて施すことができる。尚、複数種の画像処理は、変倍処理、フィルタ処理や、濃度変換処理に限られず、他種の画像処理を組み合わせてもよい。   For example, the image processing unit 90 performs a first process on the banded image data, for example, an image detection process such as a density or color / monochrome discrimination process on the image data, and then temporarily stores the page memory 9. Remember me. Next, image processing is performed for each band of the same page, for example, second processing such as image data scaling processing (for example, equivalent to image processing 1 in FIG. 6) or filtering processing (for example, image processing in FIG. 6). 2) and density conversion processing (e.g., equivalent to image processing 3 in FIG. 6), and are temporarily stored in the page memory 9. As described above, the image processing unit 90 can perform a combination of a plurality of types of image processing in the loading and unloading of the band from the page memory 9 once. The multiple types of image processing are not limited to scaling processing, filter processing, and density conversion processing, and other types of image processing may be combined.

更に、次に、画像処理部90は、同じページの各バンドについて、第3の処理、例えば、第2の処理がされた画像データの2値化等の画像処理を行い、ページメモリ9に記憶させる。このように、画像処理部90は、バンド化された画像データに対して第1の処理、第2の処理、第3の処理といった複数段階の画像処理を行え、同一ページの画像データについて、複数回ページメモリ9からの読み出しと、書き込みが行われる。   Further, next, the image processing unit 90 performs third processing, for example, image processing such as binarization of the image data subjected to the second processing, on each band of the same page, and stores them in the page memory 9. Let As described above, the image processing unit 90 can perform a plurality of stages of image processing such as the first processing, the second processing, and the third processing on the banded image data, and a plurality of image data on the same page. Reading from the page memory 9 and writing are performed.

そして、必要な画像処理が完了すると、ページメモリ9から画像データが出力され、各部に伝達される。ページメモリ9から出力された画像データは、印刷を行う場合、露光装置52に伝達され、トナー像の形成に用いられる。ページメモリ9から出力された画像データは、原稿のスキャンの場合であって、複合機400に蓄積される場合は、HDD73に伝達される。ページメモリ9から出力された画像データは、スキャンした画像データをコンピュータ200やFAX装置300に送信する場合、I/F部74に伝達される。尚、ページメモリ9から各部への画像データの伝達は、例えば、制御部7やHDD73やRAM72等を介してもよいし、ページメモリ9から直接各部に送信されてもよい。   When necessary image processing is completed, image data is output from the page memory 9 and transmitted to each unit. When printing, the image data output from the page memory 9 is transmitted to the exposure device 52 and used to form a toner image. The image data output from the page memory 9 is transmitted to the HDD 73 when the document is scanned and stored in the multi-function device 400. The image data output from the page memory 9 is transmitted to the I / F unit 74 when the scanned image data is transmitted to the computer 200 or the FAX apparatus 300. Note that image data may be transmitted from the page memory 9 to each unit via, for example, the control unit 7, the HDD 73, the RAM 72, or the like, or may be directly transmitted from the page memory 9 to each unit.

(ページメモリ9の使い回し)
次に、図7及び図8を用いて、本発明の実施形態に係るページメモリ9での使い回しの一例を説明する。図7は、本発明の実施形態に係るページメモリ9の記憶領域の使用、動作に関する説明図であり、(a)は、1ページ分の画像データの全バンドを記憶させたときの記憶領域を示し、(b)は、1バンド目の処理の一例を示し、(c)は、2バンド目の処理の一例を示し、(d)は、3バンド目の処理の一例を示す。
(Reuse of page memory 9)
Next, an example of usage in the page memory 9 according to the embodiment of the present invention will be described with reference to FIGS. FIG. 7 is an explanatory diagram regarding the use and operation of the storage area of the page memory 9 according to the embodiment of the present invention. FIG. 7A shows the storage area when all bands of image data for one page are stored. (B) shows an example of the first band process, (c) shows an example of the second band process, and (d) shows an example of the third band process.

図8も、本発明の実施形態に係るページメモリ9の記憶領域の使用、動作に関する説明図であり、(a)は、4バンド目の処理の一例を示し、1ページ分の画像データの全バンドを記憶させたときの記憶領域を示し、(b)は、5バンド目による6バンド目の上書きの一例を示し、(c)は、空き容量が十分となるまで書き込みを待つ処理の一例を示し、(d)は、5バンド目の処理の一例を示す。   FIG. 8 is also an explanatory diagram regarding the use and operation of the storage area of the page memory 9 according to the embodiment of the present invention. FIG. 8A shows an example of the processing of the fourth band, and all of the image data for one page is shown. The storage area when the band is stored is shown, (b) shows an example of overwriting of the sixth band by the fifth band, and (c) shows an example of a process of waiting for writing until the free space becomes sufficient. (D) shows an example of processing of the fifth band.

尚、図7、図8では、奇数のバンドは、網掛けで示している。又、書き込みの対象となっているバンドを塗りつぶしにより示している。   In FIG. 7 and FIG. 8, odd-numbered bands are indicated by shading. Further, the band to be written is shown by filling.

まず、ページメモリ9は、図7、図8の各図で示すように、必要記憶ブロックMと、追加記憶ブロックmの2つのブロックが設けられる。尚、2つのブロックの境界を破線で示す。例えば、必要記憶ブロックMの容量は、1ページの画像データを圧縮した際に少なくとも、1ページ分の画像データを記憶できるだけ確保される。   First, the page memory 9 is provided with two blocks, a necessary storage block M and an additional storage block m, as shown in FIGS. The boundary between the two blocks is indicated by a broken line. For example, the capacity of the necessary storage block M is ensured to store at least one page of image data when one page of image data is compressed.

例えば、本実施形態のメモリ制御装置100では、入力される画像データの1ページ分の最大のサイズが定められる(例えば、画像読取部2が読み取る画像データであって、A4サイズで600dpi等)。そして、圧縮処理部81が行うJPEGでの圧縮の場合、Quality値により、入力される画像データの最大の大きさに対し、圧縮後の1ページ分の画像データのサイズは大まかに定まる。   For example, in the memory control device 100 of this embodiment, the maximum size for one page of input image data is determined (for example, image data read by the image reading unit 2 and 600 dpi in A4 size). In the case of JPEG compression performed by the compression processing unit 81, the size of image data for one page after compression is roughly determined by the Quality value with respect to the maximum size of input image data.

そして、例えば、この圧縮後の画像データについて、画像データの圧縮率が最も悪くなる場合を、予め、様々な原稿の読み取りによる実験等によって求め、画像データの圧縮率が最も悪い場合の1ページ分の画像データのサイズに基づき、ページメモリ9の必要記憶ブロックMの容量を定めることができる。言い換えると、1ページ分の画像データのサイズが最も大きくなる場合を想定して、必要記憶ブロックMの容量を定めることができる。これにより、必要記憶ブロックMは、少なくとも、1ページ分の圧縮後の画像データを記憶できる。尚、ページメモリ9は、1つとは限らず、対応する用紙サイズ(例えば、A3とA4等)にあわせて、複数設けられてもよい。又、ページメモリ9は、複数ページ分設けられてもよい。   Then, for example, for the compressed image data, the case where the compression ratio of the image data becomes the worst is obtained in advance by an experiment or the like by reading various originals, and one page when the compression ratio of the image data is the worst. The capacity of the necessary storage block M of the page memory 9 can be determined based on the size of the image data. In other words, the capacity of the necessary storage block M can be determined on the assumption that the size of the image data for one page is the largest. Thus, the necessary storage block M can store at least one page of compressed image data. Note that the number of page memories 9 is not limited to one, and a plurality of page memories 9 may be provided according to the corresponding paper size (for example, A3 and A4). The page memory 9 may be provided for a plurality of pages.

追加記憶ブロックmは、ページメモリ9を有効的に使い回すために設けられる記憶領域であり、必要記憶ブロックMに追加された領域である。そして、圧縮処理部81が行うJPEGでの圧縮の場合、Quality値により、圧縮後の1バンドのサイズは大まかに定まる。例えば、1ページの画像データをバンド化した際、最も圧縮率が悪い場合を、予め、様々な原稿の読み取りによる実験等によって求める。そして、圧縮率が最も悪くなる場合のバンドのサイズに基づき、ページメモリ9の追加記憶ブロックmの容量を定めることができる。言い換えると、最もバンドのデータのサイズが大きくなる場合を想定して、追加記憶ブロックmの容量が定めることができる。これにより、追加記憶ブロックmは、少なくとも、1バンド分の圧縮後の画像データを記憶できる。   The additional storage block m is a storage area provided for effectively using the page memory 9 and is an area added to the necessary storage block M. In the case of JPEG compression performed by the compression processing unit 81, the size of one band after compression is roughly determined by the Quality value. For example, when one page of image data is banded, the case where the compression ratio is the worst is obtained in advance by experiments by reading various originals. The capacity of the additional storage block m of the page memory 9 can be determined based on the band size when the compression rate becomes the worst. In other words, the capacity of the additional storage block m can be determined on the assumption that the size of the band data is the largest. As a result, the additional storage block m can store at least one band of compressed image data.

そして、画像読取部2での原稿の読み取りや、I/F部74へのコンピュータ200等からの画像データの入力等があると、ページメモリ9は1ページ分の画像データを記憶、格納する。記憶、格納前、ページメモリ9は、空であり、解放された状態である。   When a document is read by the image reading unit 2 or image data is input to the I / F unit 74 from the computer 200 or the like, the page memory 9 stores and stores image data for one page. Before storage and storage, the page memory 9 is empty and in a released state.

そして、図7(a)に示すように、ページメモリ9は、最初に、1ページ分の画像データの全バンドを必要記憶ブロックMに記億する。最初に、1ページ分の画像データを記憶させる場合、図7(a)に示すように、メモリ制御部8は、バンド(1)から順に、ページメモリ9のアドレスにおける先頭地点Pであり、必要記憶ブロックMから、アドレスの一定方向で、バンド順に画像データを記憶させる。   Then, as shown in FIG. 7A, the page memory 9 first stores all bands of image data for one page in the necessary storage block M. First, when storing image data for one page, as shown in FIG. 7A, the memory control unit 8 is the head point P in the address of the page memory 9 in order from the band (1), and is necessary. From the storage block M, image data is stored in band order in a fixed direction of address.

尚、本実施形態の説明では、1ページの画像データは、14個のバンドに分割されるので、図7、図8の各図において、各バンドに(1)〜(14)の番号を付す。そして、バンドが占める面積が大きいほど、バンドの圧縮後のデータのサイズが大きいことを示す。   In the description of the present embodiment, since one page of image data is divided into 14 bands, the numbers (1) to (14) are assigned to the bands in each of FIGS. . And it shows that the size of the data after compression of a band is so large that the area which a band occupies is large.

ページメモリ9への1ページ分の画像データの格納が完了すると、画像処理のため、バンド(1)から順に、ページメモリ9から読み出される。ページメモリ9での読み書きは、FIFO(First In, First Out)である。そして、画像処理部90での画像処理の後、ページメモリ9は、再び、バンドを格納できる。   When the storage of the image data for one page in the page memory 9 is completed, the image data is read from the page memory 9 in order from the band (1) for image processing. Reading and writing in the page memory 9 is FIFO (First In, First Out). After the image processing in the image processing unit 90, the page memory 9 can store the band again.

尚、図7、図8では、ページメモリ9から出力され、画像処理後、再び、ページメモリ9に書き込みされたバンドには、「’」を付して示し、最初にページメモリ9に書き込まれた各バンドと区別して示す。   In FIG. 7 and FIG. 8, a band output from the page memory 9 and written again in the page memory 9 after image processing is indicated by “′”, and is first written in the page memory 9. These are shown separately from each band.

このとき、図7(b)に示すように、バンド(1)’は、バンド(14)に続けて記憶される。言い換えると、ページメモリ9では、原則として、直前に記憶されたバンドに続け、アドレス順にバンドが記憶される。   At this time, as shown in FIG. 7B, the band (1) 'is stored following the band (14). In other words, in principle, the page memory 9 stores the bands in the order of addresses following the band stored immediately before.

やがて、必要記憶ブロックMの容量を使い切り、追加記憶ブロックmでのバンドの書き込みが始まる。図7(c)に示すように、バンド(2)を画像処理し圧縮したバンド(2)’のサイズは、追加記憶ブロックmの空き容量に収まる。そこで、図7(c)に示すように、画像処理後、バンド(2)’は、追加記憶ブロックmに記憶される。   Eventually, the capacity of the necessary storage block M is used up, and band writing in the additional storage block m begins. As shown in FIG. 7C, the size of the band (2) 'obtained by performing the image processing on the band (2) is within the free space of the additional storage block m. Therefore, as shown in FIG. 7C, after the image processing, the band (2) ′ is stored in the additional storage block m.

次に、図7(d)に示すように、バンド(3)がページメモリ9から読み出され、画像処理が行われる。メモリ制御部8は、追加記憶ブロックmでは、バンド(3)を画像処理し圧縮したバンド(3)’の書き込みを試みる。しかし、図7(d)に示すように、バンド(3)を画像処理し圧縮したバンド(3)’のデータのサイズは、追加記憶ブロックmの空き容量よりも大きい。そのため、追加記憶ブロックmの空きに、バンド(3)’を全て書き込むことができない。そこで、メモリ制御部8は、必要記憶ブロックMの先頭地点Pに戻って、バンド(3)’をページメモリ9に書き込ませる。   Next, as shown in FIG. 7D, the band (3) is read from the page memory 9, and image processing is performed. In the additional storage block m, the memory control unit 8 attempts to write the band (3) ′ obtained by performing image processing on the band (3) and compressing it. However, as shown in FIG. 7D, the data size of the band (3) ′ obtained by performing image processing on the band (3) is larger than the free capacity of the additional storage block m. Therefore, it is not possible to write all the band (3) 'in the empty space of the additional storage block m. Therefore, the memory control unit 8 returns to the starting point P of the necessary storage block M and writes the band (3) ′ to the page memory 9.

次に、図8(a)に示すように、バンド(4)がページメモリ9から読み出され、画像処理が行われる。そして、メモリ制御部8は、ページメモリ9の空き領域を確認する。尚、メモリ制御部8は、ページメモリ9の使い回しのため、元のバンド(4)を空き容量と扱う。そして、図8(a)に示すように、バンド(5)が記憶されているアドレスまで、ページメモリ9の空き容量は十分である。そこで、メモリ制御部8は、バンド(3)’に続いて、バンド(4)を画像処理し圧縮したバンド(4)’をページメモリ9に書き込ませる。   Next, as shown in FIG. 8A, the band (4) is read from the page memory 9, and image processing is performed. Then, the memory control unit 8 confirms an empty area of the page memory 9. Note that the memory control unit 8 treats the original band (4) as a free space in order to reuse the page memory 9. As shown in FIG. 8A, the free space in the page memory 9 is sufficient up to the address where the band (5) is stored. Therefore, the memory control unit 8 causes the page memory 9 to write the band (4) ′ obtained by performing the image processing and compressing the band (4) after the band (3) ′.

ここで、メモリ制御部8は、ページメモリ9の空き容量が十分か否かを確認するが、例えば、メモリ制御部8は、画像処理後のバンドのデータのサイズに対し、空き容量がどれくらい必要か(画像処理後のバンドのデータを圧縮するとどれくらいのサイズになるか)を示すテーブル等のデータを保持する。テーブルでなく、演算式であってもよい。そして、メモリ制御部8は、ページメモリ9への書き込みに際し、ページメモリ9の空き容量を確認し、又、画像処理部90と通信を行い、画像処理後のバンドのデータのサイズを確認する。そして、メモリ制御部8は、テーブルや演算式に基づく演算を行い、ページメモリ9の空き容量が十分か否かを確認する。   Here, the memory control unit 8 checks whether or not the free space of the page memory 9 is sufficient. For example, the memory control unit 8 needs to have enough free space for the size of the band data after image processing. Data such as a table indicating whether the band data after image processing is compressed is stored. An arithmetic expression may be used instead of the table. Then, when writing to the page memory 9, the memory control unit 8 confirms the free capacity of the page memory 9 and communicates with the image processing unit 90 to confirm the size of the band data after the image processing. Then, the memory control unit 8 performs an operation based on a table or an arithmetic expression, and confirms whether or not the free space of the page memory 9 is sufficient.

又、メモリ制御部8は、追加記憶ブロックmの時と同様に、画像処理し圧縮したバンドの書き込みを試み、まだ、ページメモリ9から出力されていないバンド(画像処理待ちのバンド)を上書きするか否かにより、ページメモリ9の空き容量が十分か否かを確認してもよい。   Similarly to the case of the additional storage block m, the memory control unit 8 tries to write a band after image processing and compression, and overwrites a band that has not been output from the page memory 9 (band waiting for image processing). Whether or not the free space of the page memory 9 is sufficient may be confirmed.

次に、バンド(5)がページメモリ9から読み出され、画像処理が行われる。そして、メモリ制御部8は、ページメモリ9の空き領域を確認する。尚、メモリ制御部8は、ページメモリ9の使い回しのため、元のバンド(5)も空き容量と扱う。しかし、図8(b)に示すように、バンド(4)’に続いて、そのままバンド(5)’を書き込むと、バンド(6)の一部を上書きしてしまう。この上書きは、異常画像発生の要因となる。   Next, the band (5) is read from the page memory 9 and image processing is performed. Then, the memory control unit 8 confirms an empty area of the page memory 9. Note that the memory control unit 8 treats the original band (5) as a free space in order to reuse the page memory 9. However, as shown in FIG. 8B, if the band (5) 'is written as it is after the band (4)', a part of the band (6) is overwritten. This overwriting becomes a cause of abnormal image generation.

このような、上書きの発生の原因は、例えば、図7(a)と、図8(b)を見比べればわかるように、再びページメモリ9に記憶されたバンド(例えば、バンド(3)’〜バンド(5)’)が元のサイズよりも大きくなっているためである。画像処理を施すと、圧縮率が悪くなる場合がある。例えば、写真入りのカタログやパンフレットを読み取って得られた画像データに対し、文字モードの選択により微分フィルタが各バンドにかけられ、画像データ内の各画素の画素値が変換されると、バンドの圧縮率が悪くなる場合がある。   The cause of the occurrence of such overwriting is, for example, the band (for example, the band (3) ′) stored in the page memory 9 again, as can be seen by comparing FIG. 7 (a) and FIG. 8 (b). This is because the band (5) ′) is larger than the original size. When image processing is performed, the compression rate may deteriorate. For example, for image data obtained by reading a catalog or pamphlet with photos, a differential filter is applied to each band by selecting the character mode, and the pixel value of each pixel in the image data is converted, then the band is compressed. The rate may be worse.

そこで、本実施形態のメモリ制御装置100では、メモリ制御部8は、ページメモリ9の空き容量が十分でないと判断した場合、図8(c)に示すように、バンドのページメモリ9への再書き込みを一時停止させ、次以降のバンドを先に出力させる。次以降のバンドは、画像処理部90のワークメモリ93内で、自己のページメモリ9への再書き込みを待つことになる。   Therefore, in the memory control device 100 of the present embodiment, when the memory control unit 8 determines that the free space of the page memory 9 is not sufficient, as shown in FIG. Writing is paused and the next and subsequent bands are output first. The next and subsequent bands wait for rewriting to their own page memory 9 in the work memory 93 of the image processing unit 90.

そして、図8(d)に示すように、メモリ制御部8は、バンド(6)が出力され、バンド(6)の領域までを空き容量と扱うことで、バンド(5)’の書き込みのための空き容量が十分となったと判断する。そうすると、図8(d)に示すように、メモリ制御部8は、バンド(5)’を空き領域に書き込ませる。そして、バンド(6)以降、必要な画像処理が完了するまで、ページメモリ9は、使い回される。   Then, as shown in FIG. 8D, the memory control unit 8 outputs the band (6), and handles the area up to the band (6) as a free space, so that the band (5) ′ is written. It is determined that there is enough free space. Then, as shown in FIG. 8D, the memory control unit 8 causes the band (5) ′ to be written in the empty area. After the band (6), the page memory 9 is reused until necessary image processing is completed.

(画像データの処理の流れ)
次に、図9に基づき、本発明の実施形態に係るメモリ制御装置100での画像データの処理の流れの一例を説明する。図9は、本発明の実施形態に係るメモリ制御装置100での画像データの処理の一例を示すフローチャートである。
(Image data processing flow)
Next, an example of the flow of image data processing in the memory control device 100 according to the embodiment of the present invention will be described with reference to FIG. FIG. 9 is a flowchart showing an example of image data processing in the memory control apparatus 100 according to the embodiment of the present invention.

まず、図9でのスタートは、画像読取部2での原稿の読み取り等によって、メモリ制御装置100への画像データの入力があり、ページメモリ9に1ページ分の画像データの記憶を開始させる時点である。このとき、例えば、ページメモリ9は、空であり、解放された状態である。   First, the start in FIG. 9 is a point in time when image data is input to the memory control device 100 by reading an original in the image reading unit 2 and the page memory 9 starts storing image data for one page. It is. At this time, for example, the page memory 9 is empty and in a released state.

そして、発明に係るプログラムが起動し、画像データがバンド化部91に入力され、バンド化部91は、副走査方向の先頭ラインから一定のライン数分の領域を1バンドとして、画像データをバンド化し、バンド毎に画像データを出力する(ステップ♯1)。   Then, the program according to the invention is activated, and the image data is input to the banding unit 91. The banding unit 91 performs banding of the image data by setting a certain number of lines from the first line in the sub-scanning direction as one band. The image data is output for each band (step # 1).

そして、画像処理部90は、バンド化された画像データに対して濃度やカラー/モノクロの判別処理等の画像検出処理を行う(ステップ♯2、第1の処理)。圧縮処理部81は、画像処理部90が出力するバンドの圧縮処理を行う(ステップ♯3)。圧縮された各バンドはページメモリ9のアドレスの先頭地点Pから順次記憶されていく(ステップ♯4)。   Then, the image processing unit 90 performs image detection processing such as density and color / monochrome discrimination processing on the banded image data (step # 2, first processing). The compression processing unit 81 performs compression processing of the band output from the image processing unit 90 (step # 3). Each compressed band is sequentially stored from the beginning point P of the address of the page memory 9 (step # 4).

次に、メモリ制御部8は、最初のバンド(バンド(1))をページメモリ9から出力させる(ステップ♯5)。そして、伸長処理部82が、ページメモリ9から出力されたバンドの伸長処理を行う(ステップ♯6)。次に、画像処理部90が、伸長処理されたバンドに対し、濃度変換処理やフィルタ処理等の画像処理を施す(ステップ♯7、第2の処理)。そして、圧縮処理部81は、画像処理後のバンドに対し、圧縮処理を行う(ステップ♯8)。   Next, the memory control unit 8 outputs the first band (band (1)) from the page memory 9 (step # 5). Then, the decompression processing unit 82 performs decompression processing of the band output from the page memory 9 (step # 6). Next, the image processing unit 90 performs image processing such as density conversion processing and filter processing on the expanded band (step # 7, second processing). Then, the compression processing unit 81 performs compression processing on the band after image processing (step # 8).

そして、メモリ制御部8は、バンドの書き込み開始位置が、追加記憶ブロックmであるかを確認する(ステップ♯9)。言い換えると、追加記憶ブロックmで書き込みを開始するかを確認する(ステップ♯9)。もし、追加記憶ブロックmでの書込であれば(ステップ♯9のYes)、メモリ制御部8は、追加記憶ブロックmでの書き込みを試みる(ステップ♯10)。   Then, the memory control unit 8 confirms whether the write start position of the band is the additional storage block m (step # 9). In other words, it is confirmed whether writing is started in the additional storage block m (step # 9). If it is a write in the additional storage block m (Yes in step # 9), the memory control unit 8 tries to write in the additional storage block m (step # 10).

そして、メモリ制御部8は、バンド全体を追加記憶ブロックmに書き込めたかを確認する(ステップ♯11)。もし、書き込めなければ(ステップ♯11のNo)、メモリ制御部8は、ページメモリ9の先頭位置に戻り、ページメモリ9にバンドの書込を行わせる(ステップ♯12)。言い換えると、ページメモリ9が使い回され、再び、先頭位置からの書込が開始される。   Then, the memory control unit 8 confirms whether or not the entire band has been written in the additional storage block m (step # 11). If writing is not possible (No in step # 11), the memory control unit 8 returns to the top position of the page memory 9 and causes the page memory 9 to write a band (step # 12). In other words, the page memory 9 is reused and writing from the head position is started again.

即ち、本実施形態のメモリ制御装置100は、画像データを入力するための入力部(画像読取部2等)と、入力された1ページ分の画像データの先頭から順番に複数のバンドに分割するバンド化部91と、画像データの圧縮処理を行う圧縮処理部81と、圧縮された画像データの伸長処理を行う伸長処理部82と、伸長処理部82が伸長処理した画像データの画像処理を行う画像処理部90と、複数のブロックで区画され、伸長処理部82に向けて画像データをバンド単位で出力し、入力部(画像読取部2等)に入力された画像データや画像処理部90で処理された画像データであって、圧縮処理部81が圧縮した画像データをバンド単位で受けて記憶し、又、アドレスの先頭地点Pから一定方向で、バンド単位でバンド順に書き込みを行い、ページメモリ9の書き込み方向での最終ブロック(追加記憶ブロックm)に至ると、先頭地点Pに戻り、メモリの使いまわしを行うページメモリ9と、ページメモリ9からの出力や書き込みを制御し、最終ブロックの空き容量が、書き込もうとするバンドの圧縮後のデータサイズよりも小さいかを判断し、最終ブロックの空き容量が、書き込もうとするバンドの圧縮後のデータサイズよりも小さい場合、先頭地点Pに戻り、書き込みを行わせるメモリ制御部8を備える。具体的には、メモリ制御部8は、ページメモリ9の書き込み方向での最終ブロック(追加記憶ブロックm)で、圧縮後のバンドの書き込みを試み、バンドの全データを書き込めるか否かにより、最終ブロック(追加記憶ブロックm)の空き容量が、書き込もうとするバンドのデータサイズよりも小さいかを判断する。   That is, the memory control device 100 according to the present embodiment divides the image data into an input unit (image reading unit 2 or the like) and a plurality of bands in order from the head of the input image data for one page. The banding unit 91, the compression processing unit 81 that performs compression processing of image data, the decompression processing unit 82 that decompresses compressed image data, and the image processing of the image data decompressed by the decompression processing unit 82 The image processing unit 90 is divided into a plurality of blocks, outputs image data in band units to the decompression processing unit 82, and the image data input to the input unit (image reading unit 2 or the like) or the image processing unit 90 The processed image data, the image data compressed by the compression processing unit 81 is received and stored in band units, and written in band order in band units in a fixed direction from the start point P of the address. When the last block (additional storage block m) in the writing direction of the page memory 9 is reached, the page memory 9 for reusing the memory is returned to the starting point P, and the output and writing from the page memory 9 are controlled. It is determined whether the free space of the block is smaller than the compressed data size of the band to be written. If the free space of the final block is smaller than the compressed data size of the band to be written, A memory control unit 8 is provided for returning and writing. Specifically, the memory control unit 8 attempts to write the compressed band in the final block (additional storage block m) in the writing direction of the page memory 9 and determines whether or not all the band data can be written. It is determined whether the free capacity of the block (additional storage block m) is smaller than the data size of the band to be written.

一方、書き込めた場合(ステップ♯11のYes)、あるいは、ステップ♯12の後、一方、メモリ制御部8は、全てのバンドについて、施すべき画像処理が完了し、ページメモリ9への格納を終えたかを確認する(ステップ♯13)。例えば、最初のバンド(1)に対してページメモリ9からの出力とページメモリ9への再書込の場合、ステップ♯13はNoとなり、バンドを複数回読み出して、ループによって、ステップ♯13に戻ってきた際、ステップ♯13は、Yesとなる。   On the other hand, when the data can be written (Yes in Step # 11) or after Step # 12, the memory control unit 8 completes the image processing to be performed for all the bands and finishes storing in the page memory 9. (Step # 13). For example, in the case of the output from the page memory 9 and the rewriting to the page memory 9 for the first band (1), step # 13 is No, the band is read a plurality of times, and the loop returns to step # 13. When returning, step # 13 is Yes.

もし、全てのバンドで、施すべき画像処理が完了し、ページメモリ9への格納がすめば(ステップ♯13のYes)、メモリ制御部8は、制御部7やHDD73や露光装置52等の出力先へ、ページメモリ9に画像データを出力させる(ステップ♯14)。例えば、ページメモリ9が、露光装置52に画像データを出力する場合、伸張処理部82による伸張処理がなされた後、露光装置52に画像データが引き渡される。又、ページメモリ9が、HDD73に画像データを出力する場合、圧縮された状態のまま、HDD73に画像データを引き渡せばよい。そして、1ページ分の画像データの処理が完了する(エンド)。一方、全てのバンドについて、施すべき画像処理が完了していなければ(ステップ♯13のNo)、メモリ制御部8は、次のバンドを出力させ(ステップ♯15)、ステップ♯6に戻る。   If image processing to be performed is completed for all bands and storage in the page memory 9 is completed (Yes in step # 13), the memory control unit 8 outputs the control unit 7, the HDD 73, the exposure device 52, and the like. First, image data is output to the page memory 9 (step # 14). For example, when the page memory 9 outputs image data to the exposure device 52, the image data is delivered to the exposure device 52 after the expansion processing by the expansion processing unit 82. When the page memory 9 outputs image data to the HDD 73, the image data may be transferred to the HDD 73 in a compressed state. Then, the processing of the image data for one page is completed (end). On the other hand, if the image processing to be performed is not completed for all bands (No in step # 13), the memory control unit 8 outputs the next band (step # 15) and returns to step # 6.

一方、書込開始位置が、追加記憶ブロックmでなく、必要記憶ブロックMであれば(ステップ♯9のNo)、メモリ制御部8は、画像処理部90と通信を行い、ページメモリ9の空き容量が十分かを確認する(ステップ♯16)。上述したように、例えば、メモリ制御部8は、画像処理部90と通信を行い、ページメモリ9に書き込もうとするバンドの圧縮後のデータのサイズをテーブル等により予測し、ページメモリ9の空き容量と比較して、ページメモリ9の空き容量の方が多い場合、ページメモリ9の空き容量は十分と判断する。   On the other hand, if the write start position is not the additional storage block m but the necessary storage block M (No in step # 9), the memory control unit 8 communicates with the image processing unit 90 to free the page memory 9 It is confirmed whether the capacity is sufficient (step # 16). As described above, for example, the memory control unit 8 communicates with the image processing unit 90, predicts the size of the compressed data of the band to be written to the page memory 9 using a table or the like, and frees the page memory 9. If the free space of the page memory 9 is larger than the free space of the page memory 9, it is determined that the free space of the page memory 9 is sufficient.

もし、メモリ制御部8がページメモリ9の空き容量は十分でないと判断した場合(ステップ♯16のNo)、メモリ制御部8は、まだ画像処理を施すべきバンドがあるかを確認する(ステップ♯17)。言い換えると、次に出力すべき画像処理待ちのバンドがあるかを確認する(ステップ♯17)。次に、出力すべきバンドがあれば(ステップ♯17のYes)、メモリ制御部8は、画像処理部90のワークメモリ93が一杯になっておらず、バンドを出力することができるかを確認する(ステップ♯18)。   If the memory control unit 8 determines that the free space of the page memory 9 is not sufficient (No in step # 16), the memory control unit 8 confirms whether there is a band to be subjected to image processing (step #). 17). In other words, it is confirmed whether there is a band waiting for image processing to be output next (step # 17). Next, if there is a band to be output (Yes in step # 17), the memory control unit 8 confirms whether the work memory 93 of the image processing unit 90 is not full and the band can be output. (Step # 18).

画像処理部90のワークメモリ93が一杯になっておらず、バンドを出力することができれば(ステップ♯18のYes)、次のバンドを出力させる(ステップ♯19)。即ち、画像処理部90は、画像処理を行うための作業領域としてのワークメモリ93を有し、画像処理部90での画像処理のため、ページメモリ9が伸長処理部82に向けて画像データを出力し、画像処理部90で画像処理が施され、圧縮処理後のバンドをページメモリ9が再び記憶する場合、ページメモリ9は、伸長処理部82に向けて出力したバンド部分の記憶領域を空き容量として扱い、メモリ制御部8は、ページメモリ9の空き容量が、書き込もうとするバンドの圧縮後のデータサイズよりも小さいか否かを判断し、小さい場合、書き込もうとするバンドの圧縮後のデータサイズ分のページメモリ9の空き容量が確保されるまで、バンドの書き込みを待機させつつ、ページメモリ9にバンド単位で伸長処理部82に向けて画像データを出力させ、空き容量が確保された後、待機させていたバンドをページメモリ9に書き込ませる。   If the work memory 93 of the image processing unit 90 is not full and a band can be output (Yes in step # 18), the next band is output (step # 19). That is, the image processing unit 90 has a work memory 93 as a work area for performing image processing, and the page memory 9 sends image data to the decompression processing unit 82 for image processing in the image processing unit 90. When the page memory 9 stores the band after compression, the image processing unit 90 performs image processing, and the compression-processed band is stored again. The memory control unit 8 determines whether or not the free capacity of the page memory 9 is smaller than the compressed data size of the band to be written, and if so, the compressed data of the band to be written is determined. Until the free space of the page memory 9 corresponding to the size is secured, the image data is sent to the decompression processing unit 82 in the band unit in the page memory 9 while waiting for the writing of the band. Is output, after the free space is secured, to write the band that was allowed to stand in the page memory 9.

そして、次のバンドに関しても、伸長処理(ステップ♯20)や、画像処理が行われる(ステップ♯21)。その後、ステップ♯16に戻る。もし、次に画像処理を施すべきバンドがない場合(ステップ♯17のNo)、及び、ワークメモリ93が既に一杯でバンドを出力することができない場合(ステップ♯18のNo)、ページメモリ9に書込を行うと上書きが発生し、異常画像が生成される。そこで、メモリ制御部8は、制御部7に向けて、上書きエラーの発生を伝え、制御部7は、操作パネル1にエラー発生を報知させる(ステップ♯22)。そして、本制御は終了される(エンド)。   Also for the next band, decompression processing (step # 20) and image processing are performed (step # 21). Thereafter, the process returns to step # 16. If there is no band to be subjected to image processing next (No in step # 17), and if the work memory 93 is already full and no band can be output (No in step # 18), the page memory 9 is loaded. When writing is performed, overwriting occurs and an abnormal image is generated. Therefore, the memory control unit 8 informs the control unit 7 of the occurrence of an overwrite error, and the control unit 7 notifies the operation panel 1 of the occurrence of the error (step # 22). And this control is complete | finished (end).

即ち、メモリ制御部8は、バンドの書き込みを待機させつつ、ワークメモリ93が全て埋まるまで、ページメモリ9にバンド単位で伸長処理部82に向けて画像データを出力させても、書き込もうとするバンドの圧縮後のデータサイズ分のページメモリ9の空き容量を確保できない場合、エラー発生を認識し、メモリ制御部8が、エラー発生を認識した場合、エラー発生を報知する報知部(操作パネル1)を有する。   That is, the memory control unit 8 waits for writing of the band, and even if the page memory 9 outputs image data to the decompression processing unit 82 in units of bands until the work memory 93 is completely filled, the band to be written is written. When the free space of the page memory 9 corresponding to the data size after compression cannot be secured, the error occurrence is recognized, and when the memory control unit 8 recognizes the error occurrence, a notification unit (operation panel 1) for notifying the occurrence of the error Have

一方、メモリ制御部8が、ページメモリ9の空き容量は十分と判断した場合(ステップ♯16のYes)、圧縮処理部81は、画像処理後のバンドに対し、圧縮処理を行う(ステップ♯23)。そして、メモリ制御部8は、既に書き込まれているバンドに続いて、圧縮されたバンドを空き領域に書き込ませる(ステップ♯24)。   On the other hand, when the memory control unit 8 determines that the free space in the page memory 9 is sufficient (Yes in step # 16), the compression processing unit 81 performs compression processing on the band after image processing (step # 23). ). Then, the memory control unit 8 causes the compressed band to be written in the empty area following the already written band (step # 24).

そして、メモリ制御部8は、ステップ♯19によって出力され、ワークメモリ93に蓄えられ画像処理済みで、まだページメモリ9に書き込んでいないバンドがあるかを確認する(ステップ♯25)。もし、まだページメモリ9に書き込んでいないバンドがあれば(ステップ♯25のYes)、ステップ♯16に戻る。一方、ページメモリ9に書き込んでいないバンドが無ければ、ステップ♯13に移行する。   Then, the memory control unit 8 confirms whether there is a band output in step # 19, stored in the work memory 93 and subjected to image processing, but not yet written in the page memory 9 (step # 25). If there is a band not yet written in the page memory 9 (Yes in step # 25), the process returns to step # 16. On the other hand, if there is no band not written in the page memory 9, the process proceeds to step # 13.

このようにして、本発明によれば、ページメモリ9の書き込み方向での最終ブロック(追加記憶ブロックm)に至り、最終ブロックの空き容量が書き込もうとするバンドの圧縮後のデータサイズよりも小さい場合、先頭地点Pに戻り、書き込みが行われる。これにより、アドレスの先頭地点Pから巡回して(ページメモリ9を使い回して)、ページメモリ9に書き込みを行っていく場合、ページメモリ9の容量が限界まで使用され、ページメモリ9を有効活用することができる。   Thus, according to the present invention, when the last block (additional storage block m) in the writing direction of the page memory 9 is reached, the free space of the last block is smaller than the data size after compression of the band to be written. Returning to the top point P, writing is performed. As a result, when writing to the page memory 9 from the beginning point P of the address (using the page memory 9), the capacity of the page memory 9 is used to the limit, and the page memory 9 is effectively utilized. can do.

又、ページメモリ9の書き込み方向での最終ブロック(追加記憶ブロックm)で、圧縮後のバンドの書き込みを試み、バンドの全データを書き込めるか否かにより、最終ブロックの空き容量は書き込もうとするバンドのデータサイズよりも小さいか否かが判断される。このように実際に試されるため、最終ブロックに圧縮された画像処理後のバンドが書き込めるか否かが、はっきりと確認される。従って、ページメモリ9は、容量の限界まで確実に使用され、ページメモリ9を有効活用することができる。   Also, in the last block (additional storage block m) in the writing direction of the page memory 9, an attempt is made to write the band after compression, and the free capacity of the last block is written depending on whether or not all the band data can be written. It is determined whether or not the data size is smaller. Since it is actually tried in this way, it is clearly confirmed whether or not a band after image processing compressed in the final block can be written. Therefore, the page memory 9 can be reliably used up to the capacity limit, and the page memory 9 can be used effectively.

又、ページメモリ9の空き容量が、書き込もうとするバンドの圧縮後のデータサイズよりも小さい場合、書き込もうとするバンドの圧縮後のデータサイズ分のページメモリ9の空き容量が確保されるまで、バンドの書き込みを待機させつつ、ページメモリ9にバンド単位で伸長処理部82に向けて画像データを出力させ、確保後、待機させていたバンドがページメモリ9に書き込まれる。これにより、ページメモリ9の空き容量が十分に確保された上で、圧縮された画像処理後のバンドが書き込まれる。従って、まだ画像処理のためにページメモリ9から出力されていないバンドに、画像処理後のバンドを上書きしてしまうことをなくすことができる。   If the free space of the page memory 9 is smaller than the data size after compression of the band to be written, the band until the free space of the page memory 9 for the data size after compression of the band to be written is secured. The image data is output to the page memory 9 in the band unit toward the decompression processing unit 82 while waiting for the writing, and after being secured, the band that has been waiting is written to the page memory 9. As a result, the free band of the page memory 9 is secured, and the compressed band after image processing is written. Therefore, it is possible to prevent the band after image processing from being overwritten on the band that has not yet been output from the page memory 9 for image processing.

又、バンドの書き込みを待機させつつ、ワークメモリ93が全て埋まるまでページメモリ9にバンド単位で伸長処理部82に向けて画像データを出力させても、書き込もうとするバンドの圧縮後のデータサイズ分のページメモリ9の空き容量を確保できない場合、エラーの発生が認識される。これにより、異常な画像データが生成されることを使用者に報知することができる。又、使用者に、ワークメモリ93を限界まで用いても、ページメモリ9から出力されていないバンドへの圧縮された画像処理後のバンドの上書きが生じてしまうことを知らせることができ、画像処理の設定の変更等の対処の必要性を使用者に認識させることができる。   Further, even if image data is output to the decompression processing unit 82 in band units in the page memory 9 until the work memory 93 is filled up while waiting for writing of the band, the data size corresponding to the data size after compression of the band to be written If the free capacity of the page memory 9 cannot be secured, the occurrence of an error is recognized. Accordingly, it is possible to notify the user that abnormal image data is generated. In addition, the user can be informed that even if the work memory 93 is used to the limit, the band that has not been output from the page memory 9 may be overwritten after the compressed image processing. This makes it possible for the user to recognize the necessity of countermeasures such as changes in the settings.

又、画像処理部90は、少なくとも、ズーム処理、濃度変換処理、フィルタ処理を行う。例えば、これらの画像データにおける各画素の画素値の変換を伴う画像処理では、バンドの圧縮率が悪くなる場合がある。しかし、これらの画像処理を行う画像処理部90を有していても、まだ画像処理のためにページメモリ9から出力されていないバンドへの圧縮された画像処理後のバンドの上書きを防ぐことができる。   The image processing unit 90 performs at least zoom processing, density conversion processing, and filter processing. For example, in image processing involving conversion of the pixel value of each pixel in these image data, the band compression rate may deteriorate. However, even if the image processing unit 90 that performs these image processes is included, it is possible to prevent overwriting of a band after compressed image processing to a band that has not yet been output from the page memory 9 for image processing. it can.

又、メモリ制御装置100は、まだ画像処理のためにページメモリ9から出力されていないバンドへの圧縮された画像処理後のバンドの上書きを防ぐので、異常のある画像データを生成せず、異常な画像データに基づく印刷もない画像形成装置を提供することができる。   In addition, the memory control device 100 prevents overwriting of a band after compressed image processing to a band that has not yet been output from the page memory 9 for image processing. It is possible to provide an image forming apparatus that does not perform printing based on simple image data.

以上、本発明の実施形態について説明したが、本発明の範囲はこれに限定されるものではなく、発明の主旨を逸脱しない範囲で種々の変更を加えて実施することができる。   The embodiment of the present invention has been described above, but the scope of the present invention is not limited to this, and various modifications can be made without departing from the spirit of the invention.

本発明は、複合機、複写機、ファクシミリ、プリンタといった画像形成装置等に搭載され、ページメモリやメモリ制御部を備えたメモリ制御装置に利用可能である。   The present invention is mounted on an image forming apparatus such as a multifunction machine, a copier, a facsimile machine, and a printer, and can be used for a memory control device including a page memory and a memory control unit.

1 操作パネル(報知部) 2 画像読取部(入力部)
74 I/F部(入力部) 81 圧縮処理部
82 伸長処理部 9 ページメモリ
90 画像処理部 91 バンド化部
93 ワークメモリ 100 メモリ制御装置
400 複合機(画像形成装置)
M 必要記憶ブロック(ページメモリの一部)
m 追加記憶ブロック(最終ブロック、ページメモリの一部)
1 Operation panel (notification unit) 2 Image reading unit (input unit)
74 I / F unit (input unit) 81 Compression processing unit 82 Decompression processing unit 9 Page memory 90 Image processing unit 91 Banding unit 93 Work memory 100 Memory control device 400 Multifunction device (image forming device)
M Necessary storage block (part of page memory)
m Additional storage block (last block, part of page memory)

Claims (6)

画像データを入力するための入力部と、
入力された1ページ分の画像データを複数のバンドに分割するバンド化部と、
画像データの圧縮処理を行う圧縮処理部と、
圧縮された画像データの伸長処理を行う伸長処理部と、
前記伸長処理部が伸長処理した画像データの画像処理を行う画像処理部と、
複数のブロックで区画され、前記伸長処理部に向けて画像データを前記バンド単位で出力し、前記入力部に入力された画像データや前記画像処理部で処理された画像データであって、前記圧縮処理部が圧縮した画像データを前記バンド単位で受けて記憶し、又、アドレスの先頭地点から一定方向で、前記バンド単位で前記バンド順に書き込みを行い、書き込み方向での最終ブロックに至ると、前記先頭地点に戻り、メモリの使いまわしを行うページメモリと、
前記ページメモリからの出力や書き込みを制御し、前記最終ブロックの空き容量が、書き込もうとする前記バンドの圧縮後のデータサイズよりも小さいか否かを判断し、前記最終ブロックの空き容量が、書き込もうとする前記バンドの圧縮後のデータサイズよりも小さい場合、先頭地点に戻り、書き込みを行わせるメモリ制御部と、を備えることを特徴とするメモリ制御装置。
An input unit for inputting image data;
A banding unit that divides input image data for one page into a plurality of bands;
A compression processing unit for compressing image data;
A decompression processing unit for decompressing the compressed image data;
An image processing unit for performing image processing of the image data expanded by the expansion processing unit;
Image data divided into a plurality of blocks, output image data in units of bands toward the decompression processing unit, and image data input to the input unit or image data processed by the image processing unit, wherein the compression The image data compressed by the processing unit is received and stored in units of bands, and is written in the bands in units of the bands in a certain direction from the start point of the address, and when the final block in the writing direction is reached, Page memory to go back to the starting point and recycle memory,
Controls output and writing from the page memory, determines whether or not the free capacity of the final block is smaller than the compressed data size of the band to be written, and the free capacity of the final block is also written A memory control device comprising: a memory control unit that returns to a head point and performs writing when the data size after compression of the band to be compressed is smaller.
前記メモリ制御部は、前記ページメモリの前記最終ブロックで、圧縮後の前記バンドの書き込みを試み、前記バンドの全データを書き込めるか否かにより、最終ブロックの空き容量が、書き込もうとする前記バンドのデータサイズよりも小さいか否かを判断することを特徴とする請求項1記載のメモリ制御装置。   The memory control unit attempts to write the band after compression in the last block of the page memory, and depending on whether or not all the data of the band can be written, the free capacity of the last block is determined for the band to be written. 2. The memory control device according to claim 1, wherein it is determined whether or not the data size is smaller. 前記画像処理部は、画像処理を行うための作業領域としてのワークメモリを有し、
前記画像処理部での画像処理のため、前記ページメモリが前記伸長処理部に向けて画像データを出力し、前記画像処理部で画像処理が施され、圧縮処理後の前記バンドを前記ページメモリに再び記憶させる場合、
前記ページメモリは、前記伸長処理部に向けて出力した前記バンド部分の記憶領域を空き容量として扱い、
前記メモリ制御部は、前記ページメモリの空き容量が、書き込もうとする前記バンドの圧縮後のデータサイズよりも小さいか否かを判断し、小さい場合、前記バンドの書き込みを待機させつつ、前記ページメモリに前記バンド単位で前記伸長処理部に向けて画像データを出力させ、空き容量が確保された後、待機させていた前記バンドを前記ページメモリに書き込ませることを特徴とする請求項1又は2に記載のメモリ制御装置。
The image processing unit has a work memory as a work area for performing image processing,
For image processing in the image processing unit, the page memory outputs image data to the decompression processing unit, image processing is performed in the image processing unit, and the band after compression processing is stored in the page memory. If you want to remember again,
The page memory treats the storage area of the band portion output to the decompression processing unit as a free space,
The memory control unit determines whether or not the free space of the page memory is smaller than the compressed data size of the band to be written, and if so, the page memory while waiting for the band to be written The image data is output to the decompression processing unit for each band, and after the free space is secured, the band that has been waiting is written to the page memory. The memory control device described.
前記メモリ制御部は、前記バンドの書き込みを待機させつつ、前記ワークメモリが全て埋まるまで、前記ページメモリに前記バンド単位で前記伸長処理部に向けて画像データを出力させても、書き込もうとする前記バンドの圧縮後のデータサイズ分の前記ページメモリの空き容量を確保できない場合、エラー発生を認識し、
エラー発生を報知する報知部を有することを特徴とする請求項1乃至3のいずれか1項に記載のメモリ制御装置。
The memory control unit waits for writing of the band, and even if the page memory outputs image data to the decompression processing unit in units of bands until the work memory is completely filled, the memory control unit tries to write If free space of the page memory for the data size after compression of the band cannot be secured, recognize the error occurrence,
The memory control device according to claim 1, further comprising a notification unit that notifies of occurrence of an error.
前記画像処理部は、少なくとも、ズーム処理、濃度変換処理、フィルタ処理を行うことを特徴とする請求項1乃至4のいずれか1項に記載のメモリ制御装置。   5. The memory control device according to claim 1, wherein the image processing unit performs at least zoom processing, density conversion processing, and filter processing. 請求項1乃至5のいずれか1項に記載のメモリ制御装置を含むことを特徴とする画像形成装置。   An image forming apparatus comprising the memory control device according to claim 1.
JP2010121415A 2010-05-27 2010-05-27 Memory control device and image formation device therewith Pending JP2011250151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010121415A JP2011250151A (en) 2010-05-27 2010-05-27 Memory control device and image formation device therewith

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010121415A JP2011250151A (en) 2010-05-27 2010-05-27 Memory control device and image formation device therewith

Publications (1)

Publication Number Publication Date
JP2011250151A true JP2011250151A (en) 2011-12-08

Family

ID=45414853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010121415A Pending JP2011250151A (en) 2010-05-27 2010-05-27 Memory control device and image formation device therewith

Country Status (1)

Country Link
JP (1) JP2011250151A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016111534A (en) * 2014-12-08 2016-06-20 京セラドキュメントソリューションズ株式会社 Image formation device
GB2555633A (en) * 2016-11-07 2018-05-09 Advanced Risc Mach Ltd Updating data stored in a memory

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016111534A (en) * 2014-12-08 2016-06-20 京セラドキュメントソリューションズ株式会社 Image formation device
GB2555633A (en) * 2016-11-07 2018-05-09 Advanced Risc Mach Ltd Updating data stored in a memory
US20180129419A1 (en) * 2016-11-07 2018-05-10 Arm Limited Updating data stored in a memory
GB2555633B (en) * 2016-11-07 2020-02-26 Advanced Risc Mach Ltd Updating data stored in a memory
US10824357B2 (en) * 2016-11-07 2020-11-03 Arm Limited Updating data stored in a memory

Similar Documents

Publication Publication Date Title
JP4929064B2 (en) Confidential processing apparatus and image forming apparatus
JP6701735B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program
JP3989472B2 (en) Image data processing circuit and image processing apparatus comprising the same
JP2006341497A (en) Image forming device
US11604955B2 (en) Printing apparatus, method for controlling printing apparatus, and storage medium
JP4356592B2 (en) Image forming apparatus and image forming system
JP2011250151A (en) Memory control device and image formation device therewith
JP5622788B2 (en) Image forming apparatus
JP2014034179A (en) Image forming system
CN104553377B (en) The control method of printing equipment and printing equipment
JP3419169B2 (en) Digital copier
JP2009302648A (en) Image forming system, start control method of image forming system, and computer program
JP5182056B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP2006229553A (en) Job control system
JP4083005B2 (en) Reading image processing apparatus and image forming apparatus
JP2007036837A (en) Image generation apparatus and information processing apparatus
JP4442848B2 (en) Image forming apparatus
JP2022072391A (en) Image processing apparatus, image processing method, and program
JP5586526B2 (en) Data processing apparatus and image forming apparatus having the same
JP2001069286A (en) Connection image formation system
JP2021190844A (en) Image forming apparatus
JP2012151695A (en) Image forming apparatus, image forming method, and control program
JP3666197B2 (en) Image forming apparatus
JP2005305727A (en) Image forming apparatus and controlling method
JP2018205328A (en) Image forming system and method for controlling image forming system, and image forming apparatus and method for controlling image forming apparatus