JP2012227598A - Image processor, image forming apparatus, image processing method, image processing program and recording medium - Google Patents

Image processor, image forming apparatus, image processing method, image processing program and recording medium Download PDF

Info

Publication number
JP2012227598A
JP2012227598A JP2011091072A JP2011091072A JP2012227598A JP 2012227598 A JP2012227598 A JP 2012227598A JP 2011091072 A JP2011091072 A JP 2011091072A JP 2011091072 A JP2011091072 A JP 2011091072A JP 2012227598 A JP2012227598 A JP 2012227598A
Authority
JP
Japan
Prior art keywords
image
image processing
image data
line
data
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.)
Withdrawn
Application number
JP2011091072A
Other languages
Japanese (ja)
Inventor
Shinya Masuda
進哉 増田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011091072A priority Critical patent/JP2012227598A/en
Publication of JP2012227598A publication Critical patent/JP2012227598A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Storing Facsimile Image Data (AREA)

Abstract

PROBLEM TO BE SOLVED: To speedily and properly image-process image data in a line width exceeding a line buffer width.SOLUTION: In a copying apparatus 1, when the line width of the image data on a processing object image, which is read by a reading unit 2 and is stored in a RAM 3, is larger than the line width of a line buffer Lb, an image processing device 4 divides the image data into horizontal regions Ah at every number of prescribed lines in a horizontal direction, divides the horizontal region Ah into a plurality of vertical regions Av in the prescribed line width which is equal to or lower than the line width of the line buffer Lb in a vertical direction, sequentially transfers the image data from the image data of the vertical region Av on a top side in a prescribed line direction to the line buffer Lb among the vertical regions Av belonging to the horizontal region Ah at every horizontal region Ah, performs a prescribed image processing on the image data of the line buffer Lb and couples the image data which is image-processed at every vertical region Av by adjusting it to the image data of the processing object image.

Description

本発明は、画像処理装置、画像形成装置、画像処理方法、画像処理プログラム及び記録媒体に関し、詳細には、ラインバッファ幅を越えるライン幅の画像データを効率的にかつ速やかに画像処理する画像処理装置、画像形成装置、画像処理方法、画像処理プログラム及び記録媒体に関する。   The present invention relates to an image processing apparatus, an image forming apparatus, an image processing method, an image processing program, and a recording medium, and more specifically, image processing for efficiently and quickly image processing image data having a line width exceeding the line buffer width. The present invention relates to an apparatus, an image forming apparatus, an image processing method, an image processing program, and a recording medium.

スキャナや外部装置からライン毎に入力される画像データを、ASIC(Application Specific Integrated Circuit)等の画像処理デバイスによってライン順次で画像処理を行う場合、従来、画像の水平方向の大きさがラインバッファのライン幅以内であると、図13に示すように、入力画像データを順次RAM(Random Access Memory)100に格納し、該RAM100上の画像データを所定ライン幅のラインバッファに順次格納して、ラインバッファ内の画像データを読み出して画像処理デバイスでライン毎に画像処理を行っている。この場合、入力画像を分割しないため、例えば、スキャナが1ラインの画像を読み取って画像データをRAM100に出力すると、RAM100のライン画像データを直ぐに画像処理デバイスでラインバッファに読み取って画像処理することができ、スキャナの読み取り速度に合わせてリアルタイムに画像処理を実行することができる。   When image data input for each line from a scanner or an external device is subjected to line processing by an image processing device such as an ASIC (Application Specific Integrated Circuit), the size of the image in the horizontal direction is conventionally limited to that of a line buffer. If it is within the line width, as shown in FIG. 13, the input image data is sequentially stored in a RAM (Random Access Memory) 100, and the image data on the RAM 100 is sequentially stored in a line buffer having a predetermined line width. Image data in the buffer is read and image processing is performed for each line by the image processing device. In this case, since the input image is not divided, for example, when the scanner reads an image of one line and outputs the image data to the RAM 100, the line image data in the RAM 100 is immediately read into the line buffer by the image processing device and processed. The image processing can be executed in real time according to the reading speed of the scanner.

ところが、このラインバッファのライン幅を越えるライン幅の入力画像データについては、画像処理することができない。   However, image processing cannot be performed on input image data having a line width exceeding the line width of the line buffer.

そこで、従来、ラインバッファのライン幅を超えるライン幅の画像データに対しても適切に画像処理するために、入力画像の水平方向画素数幅がラインバッファのライン幅よりも大きい場合には、入力画像を垂直方向に等分割し、分割領域のライン幅がラインバッファの水平方向画素数幅(ライン幅)より小さくなるようにして、等分割した分割領域毎に、順次画像データをラインバッファに転送して画像処理する技術が提案されている(特許文献1参照)。   Therefore, conventionally, in order to appropriately perform image processing even for image data having a line width exceeding the line width of the line buffer, when the horizontal pixel width of the input image is larger than the line width of the line buffer, The image is divided equally in the vertical direction, and the line width of the divided area is made smaller than the horizontal pixel width (line width) of the line buffer, and the image data is sequentially transferred to the line buffer for each equally divided area. Thus, a technique for image processing has been proposed (see Patent Document 1).

すなわち、この公報記載の従来技術は、入力画像データの水平方向画素数幅が、ラインバッファのライン幅よりも大きい場合、例えば、画像のライン幅が、図14に示すように、ライン幅の2倍であると、画像を、垂直方向に、領域1−1と領域1−2に等分割し、スキャナの読み取った画像データをそれぞれ領域1−1と領域1−2にRAM101に格納し、RAM101から領域1−1の画像データをラインバッファに読み出して画像処理を行なった後、領域1−2の画像データをラインバッファに読み出して画像処理を行う。   That is, in the prior art described in this publication, when the horizontal pixel width of the input image data is larger than the line width of the line buffer, for example, the line width of the image is 2 of the line width as shown in FIG. If it is doubled, the image is equally divided into the area 1-1 and the area 1-2 in the vertical direction, and the image data read by the scanner is stored in the RAM 101 in the area 1-1 and the area 1-2, respectively. The image data of the area 1-1 is read out from the line buffer to the line buffer to perform image processing, and then the image data of the area 1-2 is read out to the line buffer to perform image processing.

しかしながら、上記公報記載の従来技術にあっては、処理速度が低下し、生産性が悪いという問題があった。すなわち、公報記載の従来技術にあっては、領域1−1の処理がすべて完了した後、領域1−2の処理を開始するが、スキャナが画像の全領域の読み取りを完了しないと、領域1−1の画像処理が終了しないため、スキャナが画像の全領域の読み取りを完了した後に、領域1−2の画像処理が開始されることになる。したがって、領域1−1の画像処理を開始するまでに時間を要し、全体の処理時間が遅くなって、生産性が低下するという問題があった。   However, the prior art described in the above publication has a problem that the processing speed is lowered and the productivity is poor. That is, in the prior art described in the publication, the processing of the area 1-2 is started after the processing of the area 1-1 is completed. If the scanner does not complete the reading of the entire area of the image, the area 1 Since the image processing of -1 does not end, the image processing of the region 1-2 is started after the scanner completes reading of the entire region of the image. Accordingly, there is a problem that it takes time to start the image processing of the area 1-1, the entire processing time is delayed, and the productivity is lowered.

そこで、本発明は、ラインバッファのライン幅を超える画像幅の画像データを回路規模を大きくすることなく、速やかに画像処理することのできる画像処理装置、画像形成装置、画像処理方法、画像処理プログラム及び記録媒体を提供することを目的としている。   Accordingly, the present invention provides an image processing apparatus, an image forming apparatus, an image processing method, and an image processing program capable of rapidly processing image data having an image width exceeding the line width of the line buffer without increasing the circuit scale. And it aims at providing a recording medium.

本発明は、上記目的を達成するために、処理対象画像の画像データのライン幅が所定ライン幅のラインバッファのライン幅よりも大きいと、該画像データを、水平方向において所定ライン数毎の水平領域に分割するとともに、該水平領域を垂直方向において該ラインバッファのライン幅以下の所定ライン幅で複数の垂直領域に分割して、該水平領域毎に該水平領域に属する該垂直領域のうち、所定ライン方向先頭側の垂直領域の画像データから順次該ラインバッファに転送し、該ラインバッファに転送されてきた画像データに対して所定の画像処理を施して、該垂直領域毎に画像処理された画像データを前記処理対象画像の画像データに合わせて結合することを特徴としている。   In order to achieve the above object, according to the present invention, when the line width of the image data of the processing target image is larger than the line width of the line buffer having a predetermined line width, the image data is horizontally converted every predetermined number of lines in the horizontal direction. And dividing the horizontal region into a plurality of vertical regions with a predetermined line width equal to or smaller than the line width of the line buffer in the vertical direction, and among the vertical regions belonging to the horizontal region for each horizontal region, The image data of the vertical area at the beginning of the predetermined line direction is sequentially transferred to the line buffer, and the image data transferred to the line buffer is subjected to predetermined image processing, and the image processing is performed for each vertical area. The image data is combined in accordance with the image data of the processing target image.

また、本発明は、複数ライン分の画像データが格納される前記ラインバッファに格納されている他のラインの画像データを参照して処理する画像処理を中断して他の画像処理を実行する場合に、実行中の該画像処理の中断、再開に必要なデータを中間データとして中間データ保存手段に保存することを特徴としてもよい。   In the present invention, the image processing to be processed with reference to the image data of other lines stored in the line buffer in which the image data for a plurality of lines is stored is interrupted to execute other image processing. In addition, data necessary for interrupting and resuming the image processing being executed may be stored in the intermediate data storage unit as intermediate data.

さらに、本発明は、前記中間データ保存手段に保存する前記中間データを適宜選択することを特徴としてもよい。   Furthermore, the present invention may be characterized in that the intermediate data stored in the intermediate data storage unit is appropriately selected.

本発明によれば、ラインバッファのライン幅を超える画像幅の画像データを回路規模を大きくすることなく、速やかに画像処理することができる。   According to the present invention, image data having an image width exceeding the line width of the line buffer can be promptly processed without increasing the circuit scale.

本発明の一実施例を適用した複写装置の要部ブロック構成図。1 is a block diagram of a main part of a copying apparatus to which an embodiment of the present invention is applied. 読み取りユニットによるRAMへのライト動作の説明図。Explanatory drawing of write-in operation to RAM by a reading unit. 画像処理デバイスによるRAMからのリード動作の説明図。Explanatory drawing of the read operation from RAM by an image processing device. 画像処理デバイスによるRAMからのデータリード及び画像処理の説明図。Explanatory drawing of the data read from RAM by an image processing device, and image processing. N−1ライン目の5ライン参照2次元フィルタ処理の説明図。Explanatory drawing of the 5th line reference two-dimensional filter process of the N-1st line. 中間データを用いた画像処理の説明図。Explanatory drawing of the image process using intermediate data. 中間データを用いた図6の続きの画像処理の説明図。Explanatory drawing of the image processing following FIG. 6 using intermediate data. 中間データを用いた図7の続きの画像処理の説明図。Explanatory drawing of the image processing of the continuation of FIG. 7 using intermediate data. フィルタ処理の途中で他の処理を行う場合のラインバッファの一例を示す図。The figure which shows an example of the line buffer in the case of performing another process in the middle of a filter process. Nライン目の5ライン参照2次元フィルタ処理の説明図。Explanatory drawing of the 5th line reference two-dimensional filter process of the Nth line. 高画質用中間データの一例を示す図。The figure which shows an example of the intermediate data for high image quality. 高速処理用中間データの一例を示す図。The figure which shows an example of the intermediate data for high-speed processing. 画像水平方向画素数がラインバッファ幅以内の場合の画像処理の説明図。Explanatory drawing of an image process in case the image horizontal direction pixel number is less than the line buffer width. 従来の垂直方向にのみ画像を分割する画像処理の説明図。Explanatory drawing of the image process which divides | segments an image only in the conventional perpendicular direction.

以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるので、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明によって不当に限定されるものではなく、また、本実施の形態で説明される構成の全てが本発明の必須の構成要件ではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, since the Example described below is a suitable Example of this invention, various technically preferable restrictions are attached | subjected, However, The range of this invention is unduly limited by the following description. However, not all the configurations described in the present embodiment are essential constituent elements of the present invention.

図1〜図12は、本発明の画像処理装置、画像形成装置、画像処理方法、画像処理プログラム及び記録媒体の一実施例を示す図であり、図1は、本発明の画像処理装置、画像形成装置、画像処理方法、画像処理プログラム及び記録媒体の一実施例を適用した複写装置1のブロック構成図である。   1 to 12 are diagrams illustrating an embodiment of an image processing apparatus, an image forming apparatus, an image processing method, an image processing program, and a recording medium according to the present invention. FIG. 1 illustrates an image processing apparatus and an image according to the present invention. 1 is a block configuration diagram of a copying apparatus 1 to which an embodiment of a forming apparatus, an image processing method, an image processing program, and a recording medium are applied.

図1において、複写装置(画像形成装置)1は、読み取りユニット2、RAM3及び画像処理装置としての画像処理ユニット4等を備えているとともに、図示しない、コントローラ、ハードディスク、プリンタユニット、ネットワーク接続部及び操作表示部等を備えている。   In FIG. 1, a copying apparatus (image forming apparatus) 1 includes a reading unit 2, a RAM 3, an image processing unit 4 as an image processing apparatus, etc., and a controller, a hard disk, a printer unit, a network connection unit, An operation display unit and the like are provided.

読み取りユニット2は、光源、光学系及び光電変換素子等を備え、原稿の画像を主走査及び副走査して、原稿の画像に応じた画像データを1ラインずつRAM3に書き込む。   The reading unit 2 includes a light source, an optical system, a photoelectric conversion element, and the like. The reading unit 2 performs main scanning and sub-scanning on a document image, and writes image data corresponding to the document image to the RAM 3 line by line.

RAM(中間データ保存手段)3は、所定ライン幅を有し、所定の容量を有している。RAM3は、読み取りユニット2が読み取り可能な原稿サイズ1枚分の画像データを格納する容量を有しており、読み取りユニット2は、読み取った原稿の画像データを、図2に示すように、ライン毎に順次RAM3に書き込む。   A RAM (intermediate data storage means) 3 has a predetermined line width and a predetermined capacity. The RAM 3 has a capacity for storing image data for one original size that can be read by the reading unit 2, and the reading unit 2 stores the read original image data for each line as shown in FIG. Are sequentially written in the RAM 3.

画像処理デバイス(画像処理手段、データ管理手段、画像データ結合手段)4は、図示しないが、読み取りユニット2の最大読み取り幅よりもライン幅の短い所定ライン数分のラインバッファLb(図5参照)を備えており、RAM3の画像データを該ラインバッファLbに取り込んで、所定の画像処理、例えば、フィルタ処理、白黒反転処理、γ補正処理、階調処理等を実行して、画像処理した画像データを、処理前の画像データの並び順に合わせて結合して、図示しないコントローラに出力する。   Although not shown, the image processing device (image processing means, data management means, image data combining means) 4 has a line buffer Lb corresponding to a predetermined number of lines whose line width is shorter than the maximum reading width of the reading unit 2 (see FIG. 5). The image data of the RAM 3 is taken into the line buffer Lb and subjected to predetermined image processing such as filter processing, black-and-white inversion processing, γ correction processing, gradation processing, etc. Are combined in the arrangement order of the image data before processing and output to a controller (not shown).

コントローラは、CPU(Central Processing Unit )、ROM(Read Only Memory)、RAM等を備え、ROM内のプログラムに基づいてRAMをワークメモリとして利用しつつ複写装置1の各部を制御して複写装置1としての基本処理を実行させるとともに、画像処理デバイス4を制御して、本実施例のラインバッファLbのライン幅を越える画像データを速やかにかつ適切に画像処理する画像処理方法を実行させる。コントローラは、画像処理デバイス4から送られてくる画像データを一旦ハードディスクに保存した後、画像データをプリンタユニットで印刷可能なデータ形式に変換してプリンタユニットに転送し、プリンタユニットがコントローラから送られてきた画像データに基づいて用紙に画像形成する。また、コントローラは、ハードディスクに保存した画像データをネットワーク接続されているコンピュータ等の外部装置に転送する。   The controller includes a central processing unit (CPU), a read only memory (ROM), a RAM, and the like, and controls each part of the copying apparatus 1 as a copying apparatus 1 while using the RAM as a work memory based on a program in the ROM. And the image processing device 4 is controlled to execute an image processing method for quickly and appropriately image processing the image data exceeding the line width of the line buffer Lb of this embodiment. The controller temporarily stores the image data sent from the image processing device 4 in the hard disk, then converts the image data into a data format that can be printed by the printer unit, and transfers the data to the printer unit. The printer unit is sent from the controller. An image is formed on a sheet based on the received image data. The controller also transfers the image data stored on the hard disk to an external device such as a computer connected to the network.

操作表示部は、複写装置1に各種命令を入力する操作キーと入力された命令内容や複合装置1からユーザに通知する各種情報を表示する表示部を備えている。   The operation display unit includes an operation key for inputting various commands to the copying apparatus 1 and a display unit for displaying the contents of the input commands and various types of information notified to the user from the multifunction device 1.

すなわち、複写装置1は、ROM、EEPROM(Electrically Erasable and Programmable Read Only Memory )、EPROM、フラッシュメモリ、フレキシブルディスク、CD−ROM(Compact Disc Read Only Memory )、CD−RW(Compact Disc Rewritable )、DVD(Digital Versatile Disk)、SD(Secure Digital)カード、MO(Magneto−Optical Disc)等のコンピュータが読み取り可能な記録媒体に記録されている本発明の画像処理方法を実行する画像処理プログラムを読み込んでROMやハードディスクに導入することで、後述する画像処理デバイス4のラインバッファLbのライン幅を越える画像データを速やかにかつ適切に画像処理する画像処理方法を実行する画像処理装置を搭載する画像形成装置である複写装置1として構築されている。この画像処理プログラムは、アセンブラ、C、C++、C#、Java(登録商標)等のレガシープログラミング言語やオブジェクト指向ブログラミング言語等で記述されたコンピュータ実行可能なプログラムであり、上記記録媒体に格納して頒布することができる。   That is, the copying apparatus 1 includes a ROM, an EEPROM (Electrically Erasable and Programmable Read Only Memory), an EPROM, a flash memory, a flexible disk, a CD-ROM (Compact Disc Read Only Memory), a CD-RW (Compact Disc Rewritable), a DVD ( An image processing program for executing the image processing method of the present invention recorded on a computer-readable recording medium such as a digital versatile disk (SD), a secure digital (SD) card, or a magneto-optical disc (MO) is read into a ROM or It is an image forming apparatus equipped with an image processing apparatus that executes an image processing method for quickly and appropriately performing image processing on image data exceeding the line width of a line buffer Lb of an image processing device 4 to be described later by being installed in a hard disk. It is constructed as a copying apparatus 1. This image processing program is a computer-executable program written in a legacy programming language such as assembler, C, C ++, C #, Java (registered trademark) or an object-oriented programming language, and is stored in the recording medium. Can be distributed.

ネットワーク接続部は、LAN(Local Area Network)等のネットワークに接続されてネットワークを介して該ネットワークに接続されている外部装置との間でデータ及びコマンドの授受を行う。すなわち、複写装置1は、ネットワークを介して外部装置から画像データとコマンドが送られてくると、該コマンドに基づいて送られてきた画像データに対して画像処理デバイス4で必要な画像処理を施した後、プリンタユニットで印刷出力する。また、複写装置1は、外部装置からのコマンドによってデータ転送が要求されると、読み取りユニット2で読み取った原稿の画像データを画像処理デバイス4で必要な画像処理を施した後、ネットワークを介して該外部装置に転送する。   The network connection unit is connected to a network such as a local area network (LAN), and exchanges data and commands with an external device connected to the network via the network. That is, when image data and a command are sent from an external device via a network, the copying apparatus 1 performs necessary image processing by the image processing device 4 on the image data sent based on the command. After that, it prints out with the printer unit. Further, when data transfer is requested by a command from an external apparatus, the copying apparatus 1 performs image processing of the image data of the document read by the reading unit 2 by the image processing device 4 and then via the network. Transfer to the external device.

次に、本実施例の作用を説明する。本実施例の複写装置1は、画像処理デバイス4のラインバッファLbのライン幅を越える画像データを速やかにかつ適切に画像処理する。   Next, the operation of this embodiment will be described. The copying apparatus 1 of this embodiment performs image processing quickly and appropriately on image data exceeding the line width of the line buffer Lb of the image processing device 4.

複写装置1は、読み取りユニット2に原稿がセットされ、操作表示部で必要な操作が行われた後、コピーまたはデータ転送の開始を指示する操作が操作表示部で行われると、読み取りユニット2は、原稿の画像データを読み取って読み取った原稿の画像データを、図2に示すように、1ラインずつRAM3に書き込みデータW1〜W3のように書き込む(ライトする)。   When an operation for instructing the start of copying or data transfer is performed on the operation display unit after a document is set on the reading unit 2 and necessary operations are performed on the operation display unit, the copying unit 1 Then, the image data of the original is read and the read image data of the original is written (written) into the RAM 3 line by line as write data W1 to W3 as shown in FIG.

そして、画像処理デバイス4は、RAM3に書き込まれた画像データのライン幅が、内蔵するラインバッファLbのライン幅以下であるときには、RAM3の画像データをライン毎に読み出してラインバッファLbに書き込んで、ラインバッファLbの画像データに対して必要な画像処理を施して、画像処理した画像データをそのままコントローラに出力する。コントローラは、画像処理デバイス4から送られてきた画像データを、プリンタユニットで印刷出力するのに必要な画像データに変換してプリンタユニットに送って、プリンタユニットで印刷出力させたり、外部装置に転送するのに適した画像データに変換して、ネットワーク接続部を介して該外部装置に転送する。   When the line width of the image data written in the RAM 3 is equal to or smaller than the line width of the built-in line buffer Lb, the image processing device 4 reads the image data in the RAM 3 for each line and writes it in the line buffer Lb. Necessary image processing is performed on the image data in the line buffer Lb, and the image processed image data is output to the controller as it is. The controller converts the image data sent from the image processing device 4 into image data necessary for printing out by the printer unit, sends the image data to the printer unit, and prints it out by the printer unit or transfers it to an external device. The image data is converted into image data suitable for the transfer to the external device via the network connection unit.

一方、画像処理デバイス4は、RAM3に書き込まれた画像データのライン幅が、内蔵するラインバッファLbのライン幅よりも大きいときには、RAM3上の画像データを、水平方向において所定ライン数の水平領域に分割するとともに、該水平領域を垂直方向において該ラインバッファLbのライン幅以下の所定ライン幅で複数の垂直領域に分割して、該水平領域毎に該水平領域に属する該垂直領域のうち、ライン方向先頭側の垂直領域の画像データを先頭ラインから順次該ラインバッファLbに取り込み、該ラインバッファLbの画像データを、プリンタユニットで印刷出力するのに必要な画像データに変換してプリンタユニットに送って、プリンタユニットで印刷出力させたり、外部装置に転送するのに適した画像データに変換して、ネットワーク接続部を介して該外部装置に転送する。例えば、画像処理デバイス4は、図3に示すように、RAM3の画像データを、3ラインずつの水平領域Ah(h=1〜*、*は、画像データのライン数と1つの水平領域Ahのライン数によって決定される数値である。)に分割するとともに、該各水平領域Ahを垂直方向において該ラインバッファLbのライン幅以下の所定ライン幅で複数の垂直領域Av(v=1〜*、*は、画像データのライン幅とラインバッファLbのライン幅及び分割ライン幅によって決定される数値である。)に分割し、該水平領域Ah毎に該水平領域Ahに属する垂直領域Avのうち、ライン方向先頭側の垂直領域Av(v=1)における先頭ラインの画像データから順次ラインバッファLbに転送する。すなわち、画像処理デバイス4は、図3の場合、RAM3の画像データを、所定ライン数ずつの2つの水平領域Ah(h=1、2)に分割するとともに、各水平領域Ah(h=1、2)を、垂直方向においてラインバッファLbのライン幅以下のライン幅で2つの垂直領域Av(v=1、2)に分割し、水平領域Ah(h=1、2)毎に該水平領域Ah(h=1、2)に属する2つの垂直領域Av(v=1、2)のうち、ライン方向先頭側の垂直領域Av(v=1)の画像データから順次ラインバッファLbに転送する。すなわち、画像処理デバイス4は、図3及びさらに詳細な手順を示す図4に示すように、水平領域Ah(h=1)の垂直領域Av(v=1)である領域A1−1のライン画像データR1から読み取りを開始して、領域A1−1のライン画像データR2、R3を順次読み取ってラインバッファLbに取り込んで画像処理を行い、次に、水平領域Ah(h=1)の垂直領域Av(v=2)である領域A1−2のライン画像データR4からライン画像データR6までを順次読み取ってラインバッファLbに取り込んで画像処理を行う。画像処理デバイス4は、水平領域Ah(h=1)の全ての垂直領域Av(v=1、2)におけるライン画像データR1〜R6のラインバッファLbへの取り込みが完了すると、次に、次の水平領域Ah(h=2)の垂直領域Av(v=1)である領域A2−1のライン画像データR7から上記同様に読み取ってラインバッファLbに取り込んで画像処理を行う処理を順次行う。   On the other hand, when the line width of the image data written in the RAM 3 is larger than the line width of the built-in line buffer Lb, the image processing device 4 converts the image data on the RAM 3 into a horizontal area having a predetermined number of lines in the horizontal direction. And dividing the horizontal region into a plurality of vertical regions with a predetermined line width equal to or smaller than the line width of the line buffer Lb in the vertical direction, and for each horizontal region, out of the vertical regions belonging to the horizontal region The image data in the vertical area at the top in the direction is sequentially taken from the first line into the line buffer Lb, and the image data in the line buffer Lb is converted into image data necessary for printing out by the printer unit and sent to the printer unit. The image data can be converted to image data suitable for printing on the printer unit or transfer to an external device. Transferred to the external device via the network connection. For example, as shown in FIG. 3, the image processing device 4 converts the image data stored in the RAM 3 into three horizontal areas Ah (h = 1 to *, * indicates the number of lines of the image data and one horizontal area Ah. The horizontal areas Ah are divided into a plurality of vertical areas Av (v = 1 to *, with a predetermined line width equal to or smaller than the line width of the line buffer Lb in the vertical direction. * Is a numerical value determined by the line width of the image data, the line width of the line buffer Lb, and the divided line width.) For each horizontal area Ah, among the vertical areas Av belonging to the horizontal area Ah, The image data of the head line in the vertical area Av (v = 1) on the head side in the line direction is sequentially transferred to the line buffer Lb. That is, in the case of FIG. 3, the image processing device 4 divides the image data in the RAM 3 into two horizontal areas Ah (h = 1, 2) each having a predetermined number of lines, and each horizontal area Ah (h = 1, 2) is divided into two vertical areas Av (v = 1, 2) with a line width equal to or smaller than the line width of the line buffer Lb in the vertical direction, and the horizontal area Ah is divided for each horizontal area Ah (h = 1, 2). Of the two vertical areas Av (v = 1, 2) belonging to (h = 1, 2), the image data of the vertical area Av (v = 1) on the head side in the line direction is sequentially transferred to the line buffer Lb. That is, as shown in FIG. 3 and FIG. 4 showing a more detailed procedure, the image processing device 4 performs a line image of the area A1-1 that is the vertical area Av (v = 1) of the horizontal area Ah (h = 1). Reading is started from the data R1, the line image data R2 and R3 in the area A1-1 are sequentially read and taken into the line buffer Lb, image processing is performed, and then the vertical area Av of the horizontal area Ah (h = 1). The line image data R4 to line image data R6 in the area A1-2 where (v = 2) are sequentially read and taken into the line buffer Lb to perform image processing. When the image processing device 4 completes the fetching of the line image data R1 to R6 into the line buffer Lb in all the vertical areas Av (v = 1, 2) in the horizontal area Ah (h = 1), The line image data R7 of the area A2-1 which is the vertical area Av (v = 1) of the horizontal area Ah (h = 2) is read in the same manner as described above, taken into the line buffer Lb, and image processing is sequentially performed.

そして、画像処理デバイス4は、ラインバッファLbに取り込んだ画像データを、順次ライン毎に画像処理し、RAM3上の画像データの並び順に合わせて画像処理後の画像データを結合させてコントローラに出力する。   Then, the image processing device 4 sequentially processes the image data captured in the line buffer Lb for each line, combines the image data after image processing in accordance with the arrangement order of the image data on the RAM 3, and outputs the combined image data to the controller. .

コントローラは、画像処理デバイス4で処理された画像データを一旦ハードディスク等に蓄積して、プリンタユニットに送ってプリンタユニットに用紙に画像形成させたり、ネットワーク接続部を介してネットワーク上の外部装置に画像データを転送する。   The controller temporarily stores the image data processed by the image processing device 4 in a hard disk or the like, and sends it to the printer unit to form an image on the paper in the printer unit, or to an image on an external device on the network via the network connection unit. Transfer data.

なお、複写装置1は、画像処理デバイス4が実行する画像処理としては、他のラインの画像データを参照して画像処理する画像処理、例えば、フィルタ処理、階調処理等があり、このような他のラインの画像データを参照して処理する画像処理を実行するために、図5に示すように、例えば、5ラインを参照して2次元フィルタ処理を行う場合、5ライン分のラインバッファLbを備えていて、バッファLb0〜バッファLb4のラインバッファLbに、N−5ライン目の入力画像データからN−1ライン目の入力画像データを順次ライン毎に入力して最終ラインのN−1ラインの2次元フィルタ処理を行うのに、他のラインの画像データを参照する。   Note that the image processing executed by the image processing device 4 in the copying apparatus 1 includes image processing that performs image processing with reference to image data of other lines, such as filter processing and gradation processing. In order to execute image processing to be processed with reference to image data of other lines, as shown in FIG. 5, for example, when two-dimensional filter processing is performed with reference to 5 lines, a line buffer Lb for 5 lines The N-1 line input image data from the N-5 line input image data is sequentially input to the line buffer Lb of the buffer Lb0 to the buffer Lb4 for each line, and the N-1 line of the last line is input. In order to perform the two-dimensional filter processing, image data of other lines is referred to.

そして、このような他のラインの画像データを参照して画像処理を行う場合、画像処理の途中で、他の処理を行う必要が生じることがある。このような場合に、画像処理デバイス4は、一旦中断した画像処理を、該他の処理が終了した後に、速やかに続きの処理を再開することができるように、他のメモリ、例えば、RAM3を中間データ保存手段として、RAM3に、実行中の該画像処理の中断、再開に必要なデータを中間データとして保存し、他の処理が終了すると、該中間データを参照して中断した画像処理を継続する。   When performing image processing with reference to image data of such other lines, it may be necessary to perform other processing during the image processing. In such a case, the image processing device 4 installs another memory such as the RAM 3 so that the interrupted image processing can be resumed immediately after the other processing is completed. As intermediate data storage means, the RAM 3 stores the data necessary for interrupting and resuming the image processing being executed as intermediate data, and when the other processing is completed, the interrupted image processing is continued with reference to the intermediate data. To do.

すなわち、複写装置1は、他のラインの画像データを参照して画像処理、例えば、2次元フィルタ処理を行う場合、RAM3及び画像処理デバイス4内部の初期化を行った後、図6に示すように、複数ラインからなる先頭の水平領域Ah(h=1)における全ラインの画像データが読み取りユニット2からライン毎に読み取られてRAM3に書き込まれると、画像処理デバイス4は、RAM3から、まず、水平領域Ah(h=1)における先頭の垂直領域Av(v=1)の画像データを順次ライン毎に読み取って、例えば、図5に示したように、5ライン分のラインバッファLbに順次書き込んでいき、他のラインの画像データを参照して、フィルタ処理を実行する(S1)。   That is, when performing image processing, for example, two-dimensional filter processing, with reference to image data of another line, the copying apparatus 1 initializes the RAM 3 and the image processing device 4 and then performs the processing shown in FIG. In addition, when the image data of all the lines in the first horizontal area Ah (h = 1) composed of a plurality of lines is read line by line from the reading unit 2 and written to the RAM 3, the image processing device 4 starts with the RAM 3, The image data of the first vertical area Av (v = 1) in the horizontal area Ah (h = 1) is sequentially read for each line and, for example, sequentially written in the line buffer Lb for 5 lines as shown in FIG. Then, filter processing is executed with reference to the image data of other lines (S1).

すなわち、図7に示すように、画像処理デバイス4は、領域A1−1(水平領域Ah(h=1)の垂直領域Av(v=1)の領域)の画像処理を開始して画像処理が終了すると、中間データC1を全てRAM3に書き出して(S2)、図7に示すように、領域A1−2(水平領域Ah(h=1)の垂直領域Av(v=2)の領域)の処理に移る(S3)。さらに、画像処理デバイス4は、領域A1−2の処理を終了すると、中間データC2を全てRAM3に書き出して(S3)、図8に示すように、領域2−1(水平領域Ah(h=2)の垂直領域Av(v=1)の領域)の処理に移る(S5、S6)。このとき、画像処理デバイス4は、図8に示すように、領域1−1の処理後の中間データCを読み出してから(S5)、領域2−1の処理を開始し(S6)、領域2−1の処理を終了すると、中間データCを全てRAM3に書き出して(S7)、領域2−2(水平領域Ah(h=2)の垂直領域Av(v=2)の領域)の処理に移る。この領域2−2の処理においては、画像処理デバイス4は、領域1−2の処理後の中間データを読み出してから、領域2−2の処理を開始し、領域2−2の処理が終了すると、中間データを全てRAM3に書き出して、領域3−1(水平領域Ah(h=3)の垂直領域Av(v=1)の領域)の処理に移る。画像処理デバイス4は、領域3−1の処理においては、領域2−1の処理後の中間データを読み出してから、領域3−1の処理を開始し、処理が終了すると、中間データCを全てRAM3に書き出して、領域3−2(水平領域Ah(h=3)の垂直領域Av(v=2)の領域)の処理に移るという処理を繰り返し行って、1ページ分の処理を行う。   That is, as shown in FIG. 7, the image processing device 4 starts the image processing of the area A1-1 (the area of the vertical area Av (v = 1) of the horizontal area Ah (h = 1)) and the image processing is performed. When completed, all the intermediate data C1 is written to the RAM 3 (S2), and processing of the area A1-2 (the area of the vertical area Av (v = 2) of the horizontal area Ah (h = 1)) as shown in FIG. (S3). Further, when the processing of the area A1-2 is completed, the image processing device 4 writes all the intermediate data C2 to the RAM 3 (S3), and as shown in FIG. 8, the area 2-1 (horizontal area Ah (h = 2) ) (Vertical region Av (v = 1) region) (S5, S6). At this time, as shown in FIG. 8, the image processing device 4 reads the intermediate data C after the processing of the area 1-1 (S5), starts the processing of the area 2-1 (S6), and the area 2 When the process of −1 is completed, all the intermediate data C is written to the RAM 3 (S7), and the process proceeds to the process of the area 2-2 (the area of the vertical area Av (v = 2) of the horizontal area Ah (h = 2)). . In the process of the area 2-2, the image processing device 4 reads the intermediate data after the process of the area 1-2, starts the process of the area 2-2, and ends the process of the area 2-2. Then, all the intermediate data is written to the RAM 3, and the processing of the area 3-1 (the area of the vertical area Av (v = 1) of the horizontal area Ah (h = 3)) is started. In the process of the area 3-1, the image processing device 4 reads the intermediate data after the process of the area 2-1, and then starts the process of the area 3-1. The process of writing to the RAM 3 and shifting to the process of the area 3-2 (the area of the vertical area Av (v = 2) of the horizontal area Ah (h = 3)) is repeatedly performed, and the process for one page is performed.

すなわち、領域A1−1の処理が終わった後、領域A1−2の処理を開始するが、水平方向への分割も行うため、読み取りユニット2が領域A1−1、領域A1−2を読み終わった時点で、領域A1−2の画像処理を開始することができる。また、同様に、読み取りユニット2が全領域Ah−vを読み終わった時点で画像処理が終わっていない領域は、図4の場合、領域A3−2だけとなり、また、領域分割による処理時間の増加分は、水平方向及び垂直方向に分割された最後の一つの領域だけとなり、領域分割による処理時間の増加を、大きく削減することができる。   That is, the processing of the area A1-2 is started after the processing of the area A1-1 is completed, but the reading unit 2 has finished reading the area A1-1 and the area A1-2 because the horizontal division is also performed. At that time, the image processing of the area A1-2 can be started. Similarly, in the case of FIG. 4, the area where the image processing is not finished when the reading unit 2 finishes reading the entire area Ah-v is only the area A3-2, and the processing time is increased due to the area division. The minute is only the last one area divided in the horizontal direction and the vertical direction, and an increase in processing time due to the area division can be greatly reduced.

要するに、水平方向及び垂直方向に画像を分割して、水平方向の分割単位で処理を終わらせていくので、画像処理デバイス4の処理速度を上げることで、水平領域Ah内では読み取りと等速で画像処理を行うことができ、リアルタイム処理に近い速度で画像処理を行うことができる。   In short, the image is divided in the horizontal direction and the vertical direction, and the processing is finished in the division unit in the horizontal direction. Therefore, by increasing the processing speed of the image processing device 4, the horizontal area Ah can be read at a constant speed. Image processing can be performed, and image processing can be performed at a speed close to real-time processing.

このように、参照データを参照しながら画像処理を行う場合に、中間データCをRAM3に書き出して、該RAM3の中間データCを読み込んで、領域h−vの画像処理を行う前に、領域(h−1)−vの画像処理終了後の状態に戻すことで、領域h−vと領域(h−1)−vを連続して処理したときと同じ結果を得ることができる。   As described above, when image processing is performed while referring to the reference data, the intermediate data C is written to the RAM 3, the intermediate data C is read from the RAM 3, and the region ( By returning to the state after completion of the image processing of h-1) -v, the same result as when the region hv and the region (h-1) -v are processed in succession can be obtained.

そして、画像処理デバイス4は、水平方向及び垂直方向に分割した画像データを画像処理すると、分割前の画像データに合わせて結合してコントローラに出力する。   Then, when the image processing device 4 performs image processing on the image data divided in the horizontal direction and the vertical direction, the image processing device 4 combines them with the image data before division and outputs the combined image data to the controller.

すなわち、画像処理デバイス4は、図5に示したように、画像処理で参照するライン数分のラインバッファLbを備えており、ラインデータを更新するときに、全てのラインバッファLbのラインデータも1ラインシフトさせる。具体的には、ライン更新時に、ラインバッファLb1のラインデータをラインバッファLb0にコピー、ラインバッファLb2のラインデータをラインバッファLb1にコピー、ラインバッファLb3のラインデータをラインバッファLb2にコピー、ラインバッファLb4のラインデータをラインバッファLb3にコピー、それぞれ順次コピーして、連続した数ラインのデータを参照して2次元フィルタ処理を行う。   That is, as shown in FIG. 5, the image processing device 4 includes line buffers Lb corresponding to the number of lines referred to in the image processing. When the line data is updated, the line data of all the line buffers Lb are also updated. Shift one line. Specifically, at the time of line update, the line data of the line buffer Lb1 is copied to the line buffer Lb0, the line data of the line buffer Lb2 is copied to the line buffer Lb1, the line data of the line buffer Lb3 is copied to the line buffer Lb2, and the line buffer The line data of Lb4 is copied to the line buffer Lb3, sequentially copied, and two-dimensional filter processing is performed by referring to the data of several consecutive lines.

すなわち、画像データをラインバッファLbのライン幅に応じて垂直方向に分割する際に、画像データを水平方向の分割を行って処理速度を速めながら、水平方向の分割をしない場合と同じ画像処理結果を得ることができる。   That is, when the image data is divided in the vertical direction according to the line width of the line buffer Lb, the same image processing result as in the case where the image data is divided in the horizontal direction to increase the processing speed and is not divided in the horizontal direction. Can be obtained.

また、画像処理デバイス4は、フィルタ処理等の途中で、画像の他の領域の他の処理を行う等のように連続した他のラインデータの参照を伴う処理以外の処理、例えば、別領域のフィルタ処理を行う場合、図9に示すように、該他の処理を行うために、ラインバッファLbに該処理対象の別領域の画像データを書き込んで、該別領域の画像処理を行う。すなわち、別処理を行うために、ラインバッファLbが他の領域の画像データによって埋められてします。   In addition, the image processing device 4 performs processing other than processing involving reference to other continuous line data, such as performing other processing of another region of the image in the middle of filter processing, for example, another region. When performing the filter processing, as shown in FIG. 9, in order to perform the other processing, the image data of the different region to be processed is written in the line buffer Lb, and the image processing of the different region is performed. In other words, the line buffer Lb is filled with image data from other areas to perform different processing.

そこで、画像処理デバイス4は、別領域の画像処理を行う場合、それまでの複数のラインバッファLbを参照する画像処理、例えば、フィルタ処理で使用しているラインバッファLbのデータを、中間データCとして、RAM3に書き出して保管することで、他の処理が終了して、フィルタ処理を再開する場合に、図10に示すように、RAM3の中間データを参照して、中断した処理から続けて速やかにかつ適切にフィルタ処理を再開することができる。この場合の中間データCとしては、ラインバッファLb、カウンタ等のレジスタ、その他の画像処理で使用する全てのデータである。なお、図10では、図5のN−1ライン目の5ライン参照2次元フィルタ処理を行った後に処理を中断して、図9に示した他の領域の画像データをラインバッファLbに入れた後に、Nライン目の5ライン参照2次元フィルタ処理を再開する場合について示されている。   Therefore, when performing image processing of another region, the image processing device 4 converts the data of the line buffer Lb used in the image processing that refers to the plurality of line buffers Lb, for example, filter processing up to the intermediate data C As shown in FIG. 10, when the other processes are completed and the filter process is resumed by writing and storing in the RAM 3, the intermediate data in the RAM 3 is referred to as shown in FIG. And the filtering process can be resumed appropriately. In this case, the intermediate data C is a line buffer Lb, a register such as a counter, and all other data used in image processing. In FIG. 10, the processing is interrupted after the five-line reference two-dimensional filter processing of the (N−1) -th line in FIG. 5, and the image data of the other region shown in FIG. 9 is entered in the line buffer Lb. Later, the case of resuming the five-line reference two-dimensional filter processing of the N-th line is shown.

なお、上記説明では、5ラインを参照してフィルタ処理を行う場合について説明したが、複数のラインデータを参照して処理する画像処理としては、フィルタ処理に限るものではなく、また、ライン数も5ラインに限るものではなく、複数ライン分のラインバッファLbを使用して演算を行う画像処理一般に適用することで、該画像処理の中断及び再開を速やかにかつ適切に行うことができる。   In the above description, the case where the filtering process is performed with reference to five lines has been described. However, the image processing that is performed with reference to a plurality of line data is not limited to the filtering process, and the number of lines is also determined. The present invention is not limited to five lines, and by applying to general image processing that performs calculations using line buffers Lb for a plurality of lines, the image processing can be interrupted and resumed promptly and appropriately.

また、例えば、2種類の演算を1ライン毎に交互に切り替える画像処理においても、現在のラインが偶数ラインであるのか奇数ラインであるのかの情報を中間データCとして保存することで、中断した処理を中間データCを読み取ることで、速やかにかつ適切に連続性を維持して再開することができる。   Further, for example, even in the image processing in which two types of operations are alternately switched for each line, the information indicating whether the current line is an even line or an odd line is stored as intermediate data C, thereby interrupting the process. By reading the intermediate data C, the continuity can be maintained promptly and appropriately.

このように、画像処理で使用するラインバッファLbや内部情報を全て中間データとしてRAM3に書き出しておくことで、処理の中断及び再開を速やかにかつ適切に行うことができ、ラインバッファLbのライン幅によって画像データを垂直方向に分割しても、適切にかつ速やかに処理することができる。   Thus, by writing all the line buffer Lb and internal information used in the image processing to the RAM 3 as intermediate data, the processing can be interrupted and resumed quickly and appropriately, and the line width of the line buffer Lb Thus, even if the image data is divided in the vertical direction, it can be processed appropriately and promptly.

そして、中間データCは、例えば、図11に高画質用中間データとして示すように、各画像処理(プリンタ処理、階調処理等)で使用するラインバッファLbのデータと内部レジスタの情報を全てRAM3に書き出すと、全ての画像処理において中断と再開を速やかにかつ適切に行うことができる。   For example, as shown in FIG. 11 as intermediate data for high image quality, the intermediate data C includes all the data in the line buffer Lb used in each image processing (printer processing, gradation processing, etc.) and information in the internal register. In this case, interruption and resumption can be performed promptly and appropriately in all image processing.

ところが、中間データのRAM3への書き出しは、上述のように全ての処理のデータを書き出す場合に限るものではなく、画像処理において求められる画質の要件等に応じて中間データCとして使用するデータを、例えば、図12に高速処理用中間データとして示すように、フィルタ用内部レジスタデータと階調処理用内部レジスタデータのみを中間データCとしてRAM3に書き出すようにしてもよい。このようにすると、中間データCに使用するRAM3の容量を節約することができるとともに、中間データCのRAM3への書き出しや読み出しの時間を短縮して、処理時間をより一層高速化することができる。   However, the writing of the intermediate data to the RAM 3 is not limited to the case of writing all the processing data as described above, and the data used as the intermediate data C according to the image quality requirements required in the image processing, For example, as shown as intermediate data for high-speed processing in FIG. 12, only the filter internal register data and the gradation processing internal register data may be written as intermediate data C in the RAM 3. In this way, the capacity of the RAM 3 used for the intermediate data C can be saved, and the processing time can be further increased by reducing the time for writing and reading the intermediate data C to the RAM 3. .

このように、本実施例の複写装置1は、読み取りユニット2で読み取られてRAM3に格納された処理対象画像の画像データのライン幅がラインバッファLbのライン幅よりも大きいと、画像処理デバイス4が、該画像データを、水平方向において所定ライン数毎の水平領域Ahに分割するとともに、該水平領域Ahを垂直方向において該ラインバッファLbのライン幅以下の所定ライン幅で複数の垂直領域Avに分割して、該水平領域Ah毎に該水平領域Ahに属する該垂直領域Avのうち、ライン方向先頭側の垂直領域Avの画像データから順次ラインバッファLbに転送し、ラインバッファLbの画像データに対して所定の画像処理を施して、該垂直領域Av毎に画像処理された画像データを処理対象画像の画像データに合わせて結合している。   As described above, when the line width of the image data of the processing target image read by the reading unit 2 and stored in the RAM 3 is larger than the line width of the line buffer Lb, the copying apparatus 1 of the present embodiment has the image processing device 4. The image data is divided into horizontal areas Ah for each predetermined number of lines in the horizontal direction, and the horizontal areas Ah are divided into a plurality of vertical areas Av with a predetermined line width equal to or smaller than the line width of the line buffer Lb in the vertical direction. The image data is divided and transferred to the line buffer Lb sequentially from the image data of the vertical area Av on the head side in the line direction among the vertical areas Av belonging to the horizontal area Ah for each horizontal area Ah. Predetermined image processing is performed on the image data, and the image data processed for each vertical area Av is combined with the image data of the processing target image. To have.

したがって、ラインバッファLbのライン幅を超える画像幅の画像データを回路規模を大きくすることなく、速やかに画像処理することができる。   Therefore, image data having an image width exceeding the line width of the line buffer Lb can be promptly processed without increasing the circuit scale.

また、本実施例の複写装置1は、複数ライン分の画像データが格納されるラインバッファLbに格納されている他のラインの画像データを参照して処理するフィルタ処理、階調処理等の画像処理を中断して他の画像処理を実行する場合に、実行中の該画像処理の中断、再開に必要なデータを中間データCとしてRAM(中間データ保存手段)3に保存している。   In addition, the copying apparatus 1 according to the present exemplary embodiment is configured to perform image processing such as filter processing and gradation processing by referring to image data of other lines stored in a line buffer Lb in which image data for a plurality of lines is stored. When the processing is interrupted and other image processing is executed, data necessary for interrupting and resuming the image processing being executed is stored as intermediate data C in a RAM (intermediate data storage means) 3.

したがって、ファイル処理等の他のラインを参照して処理する画像処理の実行を中断して他の処理を実行しても、中間データに基づいて処理の連続性を維持して、速やかに元の画像処理を継続することができ、画像処理の高速化を図ることができる。   Therefore, even if the execution of the image processing to be processed with reference to another line such as file processing is interrupted and another processing is executed, the continuity of the processing is maintained based on the intermediate data, and the original processing is promptly performed. Image processing can be continued, and the speed of image processing can be increased.

さらに、本実施例の複写装置1は、RAM3に保存する中間データCを適宜選択している。   Further, the copying apparatus 1 of this embodiment appropriately selects the intermediate data C stored in the RAM 3.

したがって、画像品質の高品質化とRAM3の中間データCで使用する容量を削減しつつ処理速度の高速化のうち、ユーザの意図に応じて、処理することができ、利用性を向上させることができる。   Therefore, it is possible to process according to the user's intention among the improvement of the image quality and the increase of the processing speed while reducing the capacity used for the intermediate data C of the RAM 3, and the usability can be improved. it can.

以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記実施例で説明したものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to that described in the above embodiments, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.

本発明は、ラインバッファ幅を越えるライン幅の画像データを画像処理する画像処理装置、画像形成装置、画像処理方法、画像処理プログラム及び記録媒体に利用することができる。   The present invention can be used in an image processing apparatus, an image forming apparatus, an image processing method, an image processing program, and a recording medium that perform image processing on image data having a line width exceeding the line buffer width.

1 複写装置
2 読み取りユニット
3 RAM
4 画像処理ユニット
Ah 水平領域
Av 垂直領域
Lb ラインバッファ
1 Copier 2 Reading unit 3 RAM
4 Image processing unit Ah Horizontal area Av Vertical area Lb Line buffer

特開2006−186917号公報JP 2006-186717 A

Claims (7)

画像データがライン単位で所定ライン方向に順次格納される所定ライン幅のラインバッファと、
処理対象画像の画像データのライン幅が前記ラインバッファのライン幅よりも大きいと、該画像データを、水平方向において所定ライン数毎の水平領域に分割するとともに、該水平領域を垂直方向において該ラインバッファのライン幅以下の所定ライン幅で複数の垂直領域に分割して、該水平領域毎に該水平領域に属する該垂直領域のうち、前記ライン方向先頭側の垂直領域の画像データから順次該ラインバッファに転送するデータ管理手段と、
前記ラインバッファに転送されてきた画像データに対して所定の画像処理を施す画像処理手段と、
前記画像処理手段で前記垂直領域毎に画像処理された画像データを前記処理対象画像の画像データに合わせて結合する画像データ結合手段と、
を備えていることを特徴とする画像処理装置。
A line buffer having a predetermined line width in which image data is sequentially stored in a predetermined line direction in units of lines;
When the line width of the image data of the processing target image is larger than the line width of the line buffer, the image data is divided into horizontal areas for each predetermined number of lines in the horizontal direction, and the horizontal area is divided into the lines in the vertical direction. The line is divided into a plurality of vertical areas with a predetermined line width equal to or smaller than the line width of the buffer, and the lines are sequentially started from the image data of the vertical area on the leading side in the line direction among the vertical areas belonging to the horizontal area for each horizontal area. Data management means for transferring to the buffer;
Image processing means for performing predetermined image processing on the image data transferred to the line buffer;
Image data combining means for combining image data processed by the image processing means for each vertical region in accordance with image data of the processing target image;
An image processing apparatus comprising:
前記画像処理装置は、
中間データを保存する中間データ保存手段を備え、
前記ラインバッファは、
複数ライン分のバッファを備え、
前記画像処理手段は、
前記ラインバッファに格納されている他のラインの画像データを参照して処理する画像処理を中断して他の画像処理を実行する場合に、実行中の該画像処理の中断、再開に必要なデータを前記中間データとして前記中間データ保存手段に保存することを特徴とする請求項1記載の画像処理装置。
The image processing apparatus includes:
An intermediate data storage means for storing the intermediate data;
The line buffer is
It has a buffer for multiple lines,
The image processing means includes
Data required for interrupting and resuming the image processing being executed when the image processing to be processed with reference to the image data of another line stored in the line buffer is interrupted and another image processing is executed The image processing apparatus according to claim 1, wherein the intermediate data is stored in the intermediate data storage unit.
前記画像処理手段は、
前記中間データ保存手段に保存する前記中間データを適宜選択することを特徴とする請求項1または請求項2記載の画像処理装置。
The image processing means includes
3. The image processing apparatus according to claim 1, wherein the intermediate data to be stored in the intermediate data storage unit is appropriately selected.
請求項1から請求項3のいずれかに記載の画像処理装置を搭載していることを特徴とする画像形成装置。   An image forming apparatus comprising the image processing apparatus according to claim 1. 処理対象画像の画像データのライン幅がラインバッファのライン幅よりも大きいと、該画像データを、水平方向において所定ライン数毎の水平領域に分割するとともに、該水平領域を垂直方向において該ラインバッファのライン幅以下の所定ライン幅で複数の垂直領域に分割して、該水平領域毎に該水平領域に属する該垂直領域のうち、所定ライン方向先頭側の垂直領域の画像データから順次該ラインバッファに転送するデータ管理処理ステップと、
前記ラインバッファに転送されてきた画像データに対して所定の画像処理を施す画像処理ステップと、
前記画像処理ステップで前記垂直領域毎に画像処理された画像データを前記処理対象画像の画像データに合わせて結合する画像データ結合処理ステップと、
を有していることを特徴とする画像処理方法。
When the line width of the image data of the processing target image is larger than the line width of the line buffer, the image data is divided into horizontal areas for each predetermined number of lines in the horizontal direction, and the horizontal area is divided into the line buffer in the vertical direction. Are divided into a plurality of vertical areas with a predetermined line width equal to or less than the line width of the vertical areas, and the line buffer sequentially from the image data of the vertical area on the leading side in the predetermined line direction among the vertical areas belonging to the horizontal area for each horizontal area Data management processing steps to be transferred to
An image processing step of performing predetermined image processing on the image data transferred to the line buffer;
An image data combination processing step for combining the image data image-processed for each vertical region in the image processing step according to the image data of the processing target image;
An image processing method characterized by comprising:
コンピュータに、
処理対象画像の画像データのライン幅がラインバッファのライン幅よりも大きいと、該画像データを、水平方向において所定ライン数毎の水平領域に分割するとともに、該水平領域を垂直方向において該ラインバッファのライン幅以下の所定ライン幅で複数の垂直領域に分割して、該水平領域毎に該水平領域に属する該垂直領域のうち、所定ライン方向先頭側の垂直領域の画像データから順次該ラインバッファに転送するデータ管理処理と、
前記ラインバッファに転送されてきた画像データに対して所定の画像処理を施す画像処理と、
前記画像処理で前記垂直領域毎に処理された画像データを前記処理対象画像の画像データに合わせて結合する画像データ結合処理と、
を実行させることを特徴とする画像処理プログラム。
On the computer,
When the line width of the image data of the processing target image is larger than the line width of the line buffer, the image data is divided into horizontal areas for each predetermined number of lines in the horizontal direction, and the horizontal area is divided into the line buffer in the vertical direction. Are divided into a plurality of vertical areas with a predetermined line width equal to or less than the line width of the vertical areas, and the line buffer sequentially from the image data of the vertical area on the leading side in the predetermined line direction among the vertical areas belonging to the horizontal area for each horizontal area Data management process to transfer to
Image processing for performing predetermined image processing on the image data transferred to the line buffer;
Image data combining processing for combining image data processed for each vertical region in the image processing in accordance with image data of the processing target image;
An image processing program for executing
請求項6記載の画像処理プログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体。   A computer-readable recording medium on which the image processing program according to claim 6 is recorded.
JP2011091072A 2011-04-15 2011-04-15 Image processor, image forming apparatus, image processing method, image processing program and recording medium Withdrawn JP2012227598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011091072A JP2012227598A (en) 2011-04-15 2011-04-15 Image processor, image forming apparatus, image processing method, image processing program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011091072A JP2012227598A (en) 2011-04-15 2011-04-15 Image processor, image forming apparatus, image processing method, image processing program and recording medium

Publications (1)

Publication Number Publication Date
JP2012227598A true JP2012227598A (en) 2012-11-15

Family

ID=47277348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011091072A Withdrawn JP2012227598A (en) 2011-04-15 2011-04-15 Image processor, image forming apparatus, image processing method, image processing program and recording medium

Country Status (1)

Country Link
JP (1) JP2012227598A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9219960B2 (en) 2009-12-16 2015-12-22 Trigence Semiconductor Inc. Acoustic playback system
US9300310B2 (en) 2009-12-09 2016-03-29 Trigence Semiconductor, Inc. Selection device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9300310B2 (en) 2009-12-09 2016-03-29 Trigence Semiconductor, Inc. Selection device
US9219960B2 (en) 2009-12-16 2015-12-22 Trigence Semiconductor Inc. Acoustic playback system

Similar Documents

Publication Publication Date Title
JP2008148291A5 (en)
US9569703B2 (en) Data transfer apparatus and method thereof
JP2013073508A (en) Data processing device, data processing method, and program
US9600747B2 (en) Image forming apparatus and control method that execute a plurality of rendering processing units in parallel
JP6251029B2 (en) Control device, image processing device, control method, and program
JP2007304803A (en) Image processor
JP2012227598A (en) Image processor, image forming apparatus, image processing method, image processing program and recording medium
JP6460627B2 (en) Image processing apparatus capable of performing printing based on image data obtained by reading original, control method for image processing apparatus, and program
JP2007323335A (en) Buffer control module, image processor, and program
JP2010028758A (en) Image processing apparatus and method, program, and imaging apparatus
US9609173B2 (en) Memory control circuit and image forming apparatus
JP2015022363A (en) Data transfer controller, data transfer control method, and program
JP6544905B2 (en) Image processing apparatus, image processing method, program
US8514441B2 (en) Image processing apparatus and control method thereof, in which an address for image data depends on whether the image data is input via a detachable image processing device
JP2012146032A (en) Image memory control apparatus and image processing apparatus
JP2017038346A (en) Image processing apparatus, image processing method and program
JP4402676B2 (en) Image processing apparatus and image processing method
JP7249504B2 (en) Image processing device
JP4316476B2 (en) Image processing apparatus and image forming apparatus
JPH11168610A (en) Image processor
JP5753370B2 (en) Image processing apparatus, method, and program
JP2021124945A (en) Image processing apparatus, program, and image processing method
JP2001325085A (en) Printing system
JP2006092506A (en) Image processor
JP5278497B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140701