Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6135440B2 - Image processing apparatus and image forming apparatus - Google Patents
[go: Go Back, main page]

JP6135440B2 - Image processing apparatus and image forming apparatus - Google Patents

Image processing apparatus and image forming apparatus Download PDF

Info

Publication number
JP6135440B2
JP6135440B2 JP2013212952A JP2013212952A JP6135440B2 JP 6135440 B2 JP6135440 B2 JP 6135440B2 JP 2013212952 A JP2013212952 A JP 2013212952A JP 2013212952 A JP2013212952 A JP 2013212952A JP 6135440 B2 JP6135440 B2 JP 6135440B2
Authority
JP
Japan
Prior art keywords
shift
image data
image
data
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013212952A
Other languages
Japanese (ja)
Other versions
JP2015076800A (en
Inventor
橋本 昌也
昌也 橋本
功資 大島
功資 大島
俊彦 大竹
俊彦 大竹
利通 岩井
利通 岩井
山口 武久
武久 山口
智章 中島
智章 中島
久保 広明
広明 久保
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2013212952A priority Critical patent/JP6135440B2/en
Publication of JP2015076800A publication Critical patent/JP2015076800A/en
Application granted granted Critical
Publication of JP6135440B2 publication Critical patent/JP6135440B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本開示は、画像処理装置および画像形成装置に関し、特に、画像データに対してシフト処理を実行する画像処理装置および画像形成装置に関する。   The present disclosure relates to an image processing apparatus and an image forming apparatus, and more particularly to an image processing apparatus and an image forming apparatus that perform shift processing on image data.

従来、スキャナ等から取得した画像データに対して種々の処理を行なう画像処理装置が提案されている。たとえば、特開2005−109856号公報(特許文献1)は、画像データの回転処理を行なう回路及び当該回路を有する画像処理装置を開示している。当該回路では、画像データをブロック単位で分割して回転処理を実行することにより、必要とされるメモリー容量の削減が図られている。   2. Description of the Related Art Conventionally, image processing apparatuses that perform various processes on image data acquired from a scanner or the like have been proposed. For example, Japanese Patent Laying-Open No. 2005-109856 (Patent Document 1) discloses a circuit that performs rotation processing of image data and an image processing apparatus having the circuit. In this circuit, the required memory capacity is reduced by dividing the image data into blocks and executing the rotation process.

また、従来の画像処理装置には、圧縮された画像データを、シフト演算器を利用して処理するものがある。このような画像処理装置では、画像データから分割された各矩形領域(ブロック)の画像データは、圧縮された後、伸張器によって伸張され、そして、シフト演算器で論理演算(AND/OR/OVERLAY)の処理を施される。そして、シフト演算器は、メモリー領域に、演算処理後のデータを書き込む。   Some conventional image processing apparatuses process compressed image data using a shift computing unit. In such an image processing apparatus, the image data of each rectangular area (block) divided from the image data is compressed, then decompressed by the decompressor, and then subjected to a logical operation (AND / OR / OVERLAY by the shift operator). ) Is applied. Then, the shift calculator writes the data after the calculation process in the memory area.

特開2005−109856号公報JP 2005-109856 A

従来の画像処理装置において、シフト演算器は、書き込み先のメモリーの種類(たとえば、DDR(Double-Data-Rate))との関係において、一回の書き込みのデータ量を、64bit等のように所定の値に特定される場合があった。このような場合、シフト演算器は、一回の書き込みで、伸長された画像データのサイズ以上の画像データを、出力先のメモリー領域に書き込む。したがって、シフト演算器は、出力先のメモリーから画像データを読み込み、当該読み込んだ画像データと伸長された画像データとの間で論理演算を施した後、当該出力先のメモリー領域へデータを書き込む必要がある。このとき、出力先のメモリーから読み込むデータは、元の伸張画像データ(上記ブロックのデータが伸長器によって伸長されたもの)に、所定の拡張部分(たとえば、64dot分)を追加されたものとなる。たとえば、シフト演算器は、1dot〜63dotのシフトを実現するためには、出力先のメモリーから、伸長画像データに対応する領域の画像データと、当該領域の画像データに対して上下左右に拡張部分(+64bit)だけ広げられた領域のデータとを読み込み(Readし)、そして、読み込んだデータと伸張画像データとの論理演算(AND/OR/OVERWRITE)の結果を、出力先のメモリーに書き込む。   In the conventional image processing apparatus, the shift computing unit determines the data amount of one writing, such as 64 bits, in relation to the type of memory at the writing destination (for example, DDR (Double-Data-Rate)). In some cases, the value of In such a case, the shift computing unit writes image data larger than the size of the decompressed image data into the output destination memory area in one writing. Therefore, the shift computing unit needs to read the image data from the output destination memory, perform a logical operation between the read image data and the decompressed image data, and then write the data to the output destination memory area. There is. At this time, the data read from the output destination memory is obtained by adding a predetermined extended portion (for example, 64 dots) to the original expanded image data (the data of the above-mentioned block expanded by the expander). . For example, in order to realize a shift of 1 dot to 63 dots, the shift computing unit expands the image data of the area corresponding to the decompressed image data from the output destination memory and the up / down / left / right extended parts of the image data of the area. The data of the area expanded by (+64 bits) is read (Read), and the result of the logical operation (AND / OR / OVERWRITE) of the read data and the expanded image data is written in the output destination memory.

ここで、画像処理装置は、処理速度を向上するために、シフト演算器を複数備える場合がある。このような場合に各シフト演算器の一回の書き込みのデータ量を特定されると、隣接する画像領域の伸長データが書き込まれるときに、出力先のメモリーにおいてデータの欠損が生じる事態が想定される。出力先のメモリーの隣接する領域に伸長データを書き込む複数のシフト演算器が同時に処理を行った場合、出力先のメモリーにおける、これらのシフト演算器の、書き込みおよび読み込みの対象となる領域の一部が重複するからである。つまり、一つのシフト演算器の出力画像が、同時に処理を実行する他のシフト演算器の出力画像で上書きされてしまうこと等により、画像欠損が発生する事態が想定される。   Here, the image processing apparatus may include a plurality of shift computing units in order to improve the processing speed. In such a case, if the amount of data to be written once in each shift computing unit is specified, it is assumed that data loss may occur in the output destination memory when the decompressed data in the adjacent image area is written. The When multiple shift computing units that write decompressed data to adjacent areas in the output destination memory perform processing simultaneously, part of the areas to be written and read by these shift computing units in the output destination memory This is because of overlapping. That is, it is assumed that an image loss occurs due to an output image of one shift arithmetic unit being overwritten with an output image of another shift arithmetic unit that performs processing simultaneously.

本開示は係る実情に鑑み考え出されたものであり、その目的は、画像処理装置および画像形成装置において、画像処理の速度を向上させつつ、画像欠損が生じる事態を回避することである。   The present disclosure has been devised in view of such circumstances, and an object thereof is to avoid a situation in which image loss occurs while improving the speed of image processing in the image processing apparatus and the image forming apparatus.

ある局面に従うと、処理対象の画像データにおける複数の部分のそれぞれについてシフト演算処理を実行する2以上のシフト演算器と、各シフト演算器における画像処理後のデータを出力するためのメモリと、2以上のシフト演算器の動作を制御するための制御装置とを備えた画像処理装置において、シフト演算器は、部分よりも予め定められた拡張部分だけ延長された領域に対応する画像データをメモリから読み込み、当該読み込んだ画像データと部分のシフト演算処理後の画像データとを用いて論理演算処理することによって書き込み用の画像データを生成し、当該書き込み用の画像データをメモリに書き込むように構成されており、制御装置は、各シフト演算器に、複数の部分のうち、2以上のシフト演算器のうち動作中のものによって処理対象とされている部分に対して少なくとも拡張部分以上離間している部分について、シフト演算処理を実行させるように構成されている。   According to a certain aspect, two or more shift arithmetic units that execute shift arithmetic processing for each of a plurality of portions in image data to be processed, a memory for outputting data after image processing in each shift arithmetic unit, 2 In the image processing apparatus including the control device for controlling the operation of the shift arithmetic unit, the shift arithmetic unit stores image data corresponding to a region extended by a predetermined extension portion from the memory from the memory. It is configured to generate image data for writing by performing logical operation processing using the read image data and the image data after the partial shift operation processing, and write the image data for writing into the memory. The control device is provided for each shift computing unit depending on the operation of two or more shift computing units among a plurality of parts. The portion that is spaced at least extended portion than to the portion to be processed, and is configured to execute the shift operation processing.

好ましくは、処理対象の画像データは、画像が走査されることによって生成され、制御装置は、複数の部分のうち、走査の副走査方向の先頭に近い部分から優先的に、各シフト演算器の処理対象とするように構成されている。   Preferably, the image data to be processed is generated by scanning the image, and the control device preferentially selects a portion of each of the shift computing units from a portion close to the head in the sub-scanning direction of scanning. It is configured to be processed.

好ましくは、画像データは、2以上の色のデータを含み、シフト演算器は、各部分の2以上の色のデータを1回のシフト演算処理のための入力として受け付ける。   Preferably, the image data includes data of two or more colors, and the shift calculator accepts data of two or more colors of each portion as an input for one shift calculation process.

好ましくは、画像データは、1以上の色のデータを含み、シフト演算器は、各部分の画像データについて、各色ごとに、1回のシフト演算処理のための入力として受け付ける。   Preferably, the image data includes data of one or more colors, and the shift calculator accepts the image data of each part as an input for one shift calculation process for each color.

好ましくは、シフト演算器は、さらに、画像データに対して、回転処理、トリミング処理、またはマスク処理の機能を有するように構成されている。   Preferably, the shift computing unit is further configured to have a function of rotation processing, trimming processing, or mask processing on the image data.

好ましくは、処理対象の画像データを、所定の処理を施した後、各シフト演算器へ出力する2以上のデータ処理器をさらに備え、2以上のデータ処理器のそれぞれは、各シフト演算器に対応して設けられ、各データ処理器は、当該データ処理器が対応するシフト演算器に、所定の処理後のデータを出力する。   Preferably, the image data to be processed is further subjected to predetermined processing, and further provided with two or more data processors that are output to each shift computing unit, and each of the two or more data processors is assigned to each shift computing unit. Correspondingly, each data processor outputs data after predetermined processing to a shift arithmetic unit corresponding to the data processor.

好ましくは、データ処理器は、データ伸長器であり、処理対象の画像データは、圧縮された画像データであり、データ処理器は、各部分の圧縮された画像データを伸長した後、当該データ処理器が対応するシフト演算器へと出力する。   Preferably, the data processor is a data decompressor, the image data to be processed is compressed image data, and the data processor decompresses the compressed image data of each portion, and then performs the data processing. Output to the corresponding shift calculator.

他の局面に従うと、画像データを処理するための画像処理装置と、画像処理装置によって処理された画像データに用いて画像を出力する画像出力装置を備えた画像形成装置であって、画像処理装置は、処理対象の画像データにおける複数の部分のそれぞれについてシフト演算処理を実行する2以上のシフト演算器と、各シフト演算器における画像処理後のデータを出力するためのメモリと、2以上のシフト演算器の動作を制御するための制御装置とを備え、シフト演算器は、部分よりも予め定められた拡張部分だけ延長された領域に対応する画像データをメモリから読み込み、当該読み込んだ画像データと部分のシフト演算処理後の画像データとを用いて論理演算処理することによって書き込み用の画像データを生成し、当該書き込み用の画像データをメモリに書き込むように構成されており、制御装置は、各シフト演算器に、複数の部分のうち、2以上のシフト演算器のうち動作中のものによって処理対象とされている部分に対して少なくとも拡張部分以上離間している部分について、シフト演算処理を実行させるように構成されており、画像出力装置は、シフト演算器による書き込みが完了した画像データを用いて、画像を出力する。   According to another aspect, there is provided an image forming apparatus including an image processing apparatus for processing image data and an image output apparatus that outputs an image using the image data processed by the image processing apparatus. Includes two or more shift arithmetic units that execute shift arithmetic processing on each of a plurality of portions in image data to be processed, a memory for outputting data after image processing in each shift arithmetic unit, and two or more shifts A shift operation unit that reads image data corresponding to a region extended by a predetermined extension portion from the portion from the memory, and the read image data and the control device for controlling the operation of the calculator Image data for writing is generated by performing logical operation processing using the image data after the partial shift operation processing, and the image for writing is generated. The control device is configured to write data to the memory, and the control device provides each shift computing unit with respect to a portion to be processed by a plurality of shift computing units that are in operation among two or more shift computing units. The shift operation processing is executed for at least a portion that is separated from the extended portion, and the image output device outputs an image using the image data that has been written by the shift calculator.

本開示によれば、画像処理装置および画像形成装置において、画像処理の速度を向上させつつ、画像欠損が生じる事態を回避できる。   According to the present disclosure, in the image processing apparatus and the image forming apparatus, it is possible to avoid a situation in which image loss occurs while improving the speed of image processing.

MFP(Multi-Functional Peripheral)のハードウェアの構成を概略的に示す図である。2 is a diagram schematically illustrating a hardware configuration of an MFP (Multi-Functional Peripheral). FIG. ASIC(Application Specific Integrated Circuit)の構成を示す図である。It is a figure which shows the structure of ASIC (Application Specific Integrated Circuit). 圧縮器の機能を説明するための図である。It is a figure for demonstrating the function of a compressor. シフト演算器の機能を説明するための図である。It is a figure for demonstrating the function of a shift calculator. 2つのシフト演算器の動作タイミングの一例を示す図である。It is a figure which shows an example of the operation timing of two shift calculators. サブメモリー上に書き込まれた画像データの、形成される画像における配置を模式的に示す図である。It is a figure which shows typically arrangement | positioning in the image formed of the image data written on the submemory. サブメモリー上に書き込まれた画像データの、形成される画像における配置を模式的に示す図である。It is a figure which shows typically arrangement | positioning in the image formed of the image data written on the submemory. サブメモリー上に書き込まれた画像データの、形成される画像における配置を模式的に示す図である。It is a figure which shows typically arrangement | positioning in the image formed of the image data written on the submemory. ジョブ情報の一例を模式的に示す図である。It is a figure which shows an example of job information typically. 用紙の向きの情報を説明するための図である。FIG. 6 is a diagram for explaining information on the orientation of a sheet. 原稿の向きを説明するための図である。It is a figure for demonstrating the direction of a document. シフト設定の設定内容を説明するための図である。It is a figure for demonstrating the setting content of a shift setting. トリミング設定の内容を説明するための図である。It is a figure for demonstrating the content of the trimming setting. マスク設定の内容を説明するための図である。It is a figure for demonstrating the content of a mask setting. 画像データ管理情報の一例を模式的に示す図である。It is a figure which shows an example of image data management information typically. 複数のブロックに分割された原稿の一例を示す図である。It is a figure which shows an example of the original document divided | segmented into the several block. 伸長情報の一例を示す図である。It is a figure which shows an example of expansion | extension information. ジョブにおける回転角度の設定値が「90度」である場合の、原稿画像ブロックと伸長後ブロックとの関係を説明するための図である。FIG. 6 is a diagram for explaining a relationship between a document image block and a post-decompression block when a setting value of a rotation angle in a job is “90 degrees”. 動作情報の一例を示す図である。It is a figure which shows an example of operation information. 画像形成処理のフローチャートである。It is a flowchart of an image formation process. 画像形成処理のフローチャートである。It is a flowchart of an image formation process. 画像形成処理のフローチャートである。It is a flowchart of an image formation process. カラーの画像データの圧縮についての2つの実施例を説明するための図である。It is a figure for demonstrating two Examples about compression of color image data. 圧縮データ格納アドレスの変形例を示す図である。It is a figure which shows the modification of a compressed data storage address. カラーの画像データの伸長についての2つの実施例を説明するための図である。It is a figure for demonstrating two Examples about expansion | extension of color image data.

以下、本開示に係る画像処理装置および画像形成装置について、図面を参照して説明する。なお、各図において、同様の作用および機能を奏する構成要素については、同じ符号を付し、その説明は繰返さない。   Hereinafter, an image processing apparatus and an image forming apparatus according to the present disclosure will be described with reference to the drawings. In addition, in each figure, the same code | symbol is attached | subjected about the component which show | plays the same effect | action and function, and the description is not repeated.

[MFPの構成]
画像形成装置の一実施の形態であるMFPについて、説明する。図1は、MFPのハードウェアの構成を概略的に示す図である。
[MFP configuration]
An MFP that is an embodiment of an image forming apparatus will be described. FIG. 1 is a diagram schematically showing a hardware configuration of the MFP.

図1をMFP10は、ASIC1、動作制御部2、ユーザーIF(インターフェース)3、メインメモリー4、ネットワークIF5、IR(イメージリーダー)6、プリンター7、および、サブメモリー8を含む。MFP10では、これらの各要素は、互いにバス(PCI(Peripheral Component Interconnect)バス、ローカルバス、等)で接続されている。本実施の形態では、動作制御部2とASIC1によって、画像処理装置の一例が示される。   1 includes an ASIC 1, an operation control unit 2, a user IF (interface) 3, a main memory 4, a network IF 5, an IR (image reader) 6, a printer 7, and a sub memory 8. In the MFP 10, these elements are connected to each other by a bus (PCI (Peripheral Component Interconnect) bus, local bus, etc.). In the present embodiment, an example of an image processing apparatus is shown by the operation control unit 2 and the ASIC 1.

動作制御部2は、CPU(Central Processing Unit)等の演算装置を備え、ASIC1の動作を制御する。より具体的には、動作制御部2は、ASIC1のレジスターを書き換えることによって、ASIC1の動作を制御する。   The operation control unit 2 includes an arithmetic device such as a CPU (Central Processing Unit) and controls the operation of the ASIC 1. More specifically, the operation control unit 2 controls the operation of the ASIC 1 by rewriting the register of the ASIC 1.

MFP10では、IR6は、画像を読み込んで、画像データ(元データ)を生成する。ASIC1は、IR6が生成した元データを、圧縮して、メインメモリー4へ格納する。ASIC1は、さらに、メインメモリー4に格納されたデータ(圧縮後の元データ)を、伸長し、印刷ジョブごとに画像処理を施して、サブメモリー8に格納する。そして、ASIC1は、画像処理後のデータを、プリンター7へ出力する。プリンター7は、ASIC1から入力されたデータに基づいて、画像を形成し、出力する。これにより、MFP10は、IR6において入力された画像を、プリンター7から出力する。   In the MFP 10, the IR 6 reads an image and generates image data (original data). The ASIC 1 compresses the original data generated by the IR 6 and stores it in the main memory 4. The ASIC 1 further decompresses the data (original data after compression) stored in the main memory 4, performs image processing for each print job, and stores it in the sub-memory 8. Then, the ASIC 1 outputs the data after image processing to the printer 7. The printer 7 forms and outputs an image based on the data input from the ASIC 1. As a result, the MFP 10 outputs the image input in the IR 6 from the printer 7.

[ASICの構成]
次に、図1のASIC1の構成をより詳細に説明する。図2は、ASIC1の構成を示す図である。
[Configuration of ASIC]
Next, the configuration of the ASIC 1 in FIG. 1 will be described in more detail. FIG. 2 is a diagram illustrating the configuration of the ASIC 1.

図2を参照して、ASIC1は、IR入力器14、N個の圧縮器13−1〜13−N、N個の伸長器12−1〜12−N、2個のシフト演算器11−1,11−2、および、プリンター出力器15を含む。図2では、複数の圧縮器と、複数の伸長器と、複数のシフト演算器とが示されている。これらの個数は図2に示されたものに限定されない。特に、シフト演算器の数は、2以上であれば、図2に示された数に限定されない。   Referring to FIG. 2, the ASIC 1 includes an IR input unit 14, N compressors 13-1 to 13-N, N decompressors 12-1 to 12-N, and two shift computing units 11-1. 11-2 and a printer output unit 15. In FIG. 2, a plurality of compressors, a plurality of decompressors, and a plurality of shift calculators are shown. These numbers are not limited to those shown in FIG. In particular, the number of shift calculators is not limited to the number shown in FIG.

圧縮器13−1〜13−Nのすべては、等価の構成を有していても良い。したがって、本明細書では、これらを総称して「圧縮器13」と呼ぶ場合がある。   All of the compressors 13-1 to 13-N may have an equivalent configuration. Therefore, in this specification, these may be collectively referred to as “compressor 13”.

伸長器12−1〜12−Nのすべては、等価の構成を有していても良い。したがって、本明細書では、これらを総称して「伸長器12」と呼ぶ場合がある。   All of the expanders 12-1 to 12-N may have an equivalent configuration. Therefore, in the present specification, these may be collectively referred to as “expander 12”.

シフト演算器11−1,11−2のすべては、等価の構成を有していても良い。したがって、本明細書では、これらを総称して「シフト演算器11」と呼ぶ場合がある。   All of the shift computing units 11-1 and 11-2 may have an equivalent configuration. Therefore, in this specification, these may be collectively referred to as “shift arithmetic unit 11”.

IR入力器14は、IR6から、当該IR6で生成された画像データを受信する。そして、IR入力器14は、入力された画像データを、サブメモリー8に格納する。   The IR input unit 14 receives image data generated by the IR 6 from the IR 6. Then, the IR input device 14 stores the input image data in the sub memory 8.

図3は、圧縮器13の機能を説明するための図である。図2および図3を参照して、圧縮器13は、サブメモリー8に格納された画像データを、圧縮して、メインメモリー4内のファイルメモリー41に格納する。動作制御部2は、原稿の画像900を、破線で示されたように複数のブロックに分割する。圧縮器13−1〜13−Nのそれぞれは、各ブロックの画像データを圧縮して、ファイルメモリー41に格納する。図3では、圧縮された各ブロックの画像データが、「圧縮データ(1)」〜「圧縮データ(N)」として示されている。   FIG. 3 is a diagram for explaining the function of the compressor 13. With reference to FIGS. 2 and 3, the compressor 13 compresses the image data stored in the sub memory 8 and stores the compressed image data in the file memory 41 in the main memory 4. The operation control unit 2 divides the document image 900 into a plurality of blocks as indicated by broken lines. Each of the compressors 13-1 to 13 -N compresses the image data of each block and stores it in the file memory 41. In FIG. 3, the compressed image data of each block is shown as “compressed data (1)” to “compressed data (N)”.

図4は、シフト演算器11の機能を説明するための図である。図2および図4を参照して、伸長器12−1,12−2のそれぞれは、メインメモリー4に格納された互いに異なるブロックの画像データ(圧縮された画像データ)を伸長して、シフト演算器11−1,11−2のそれぞれに出力する(図4中の矢印E1,E2)。   FIG. 4 is a diagram for explaining the function of the shift computing unit 11. 2 and 4, each of the decompressors 12-1 and 12-2 decompresses the image data (compressed image data) of different blocks stored in the main memory 4 and performs a shift operation. To each of the devices 11-1 and 11-2 (arrows E1 and E2 in FIG. 4).

シフト演算器11−1は、伸長器12−1から伸長された画像データを受信するとともに、当該画像データに対応する画像データを、サブメモリー8から読み出す(図4中の「Read」、矢印R1)。読み出される画像データは、原稿において伸長された画像データが領域と同じ領域に対応する画像データ、および、当該「同じ領域に対応する画像データ」に対する拡張部分の画像データである。そして、シフト演算器11−1は、サブメモリー8から読み出した画像データと、伸長器12から入力された画像データとをバッファに格納する。そして、シフト演算器11−1は、バッファに格納した2つの画像データを利用して、上記画像データが属するジョブ等における設定に従った演算(シフト演算、および、論理演算(AND/OR/OVERWRITE))を施す。そして、シフト演算器11−1は、演算の結果として得られた画像データを、サブメモリー8に書き込む(図4中の「WRITE」、矢印W1)。   The shift computing unit 11-1 receives the decompressed image data from the decompressor 12-1, and reads out the image data corresponding to the image data from the sub memory 8 ("Read" in FIG. 4, arrow R1). ). The image data to be read out is image data corresponding to the same area as the area where the image data expanded in the document is, and image data of an extended portion with respect to the “image data corresponding to the same area”. The shift calculator 11-1 stores the image data read from the sub memory 8 and the image data input from the decompressor 12 in a buffer. Then, the shift computing unit 11-1 uses the two image data stored in the buffer to perform operations (shift operation and logical operation (AND / OR / OVERWRITE) according to the setting of the job to which the image data belongs. )). Then, the shift calculator 11-1 writes the image data obtained as a result of the calculation into the sub memory 8 (“WRITE” in FIG. 4, arrow W1).

シフト演算器11−2も、シフト演算器11−1と同様に、伸長器12−2から画像データを受信し、サブメモリー8から画像データを読み込み(図4中の「READ」、矢印R2)、演算処理を実行し、そして、演算処理後の画像データをサブメモリー8に書き込む(図4中の「WRITE」、矢印W2)。   Similarly to the shift calculator 11-1, the shift calculator 11-2 receives the image data from the decompressor 12-2 and reads the image data from the sub memory 8 (“READ” in FIG. 4, arrow R2). Then, the arithmetic processing is executed, and the image data after the arithmetic processing is written in the sub memory 8 (“WRITE” in FIG. 4, arrow W2).

図4中の画像データDA10は、伸長器12−1が伸長するメインメモリー4中の圧縮画像データである。また、画像データDA20は、伸長器12−2が伸長するメインメモリー4中の圧縮画像データである。   Image data DA10 in FIG. 4 is compressed image data in the main memory 4 that is expanded by the expander 12-1. The image data DA20 is compressed image data in the main memory 4 that is expanded by the expander 12-2.

また、伸長器12−1,12−2からシフト演算器11−1,11−2に送られた、伸長後の画像データのそれぞれを示す画像の領域が、領域AR11,AR21で示されている。領域AR12,AR22のそれぞれは、領域AR11,AR21のそれぞれに、上記した拡張部分が加えられた領域である。なお、領域AR11,AR21のそれぞれは、画像データDA10,DA20のそれぞれの伸長データがシフト処理された後の領域を示す。主走査方向(図4の右方向)のシフト量は「SR01」である。副走査方向(図4の下方向)のシフト量は「SD01」である。   In addition, areas AR11 and AR21 indicate image areas indicating the image data after expansion sent from the decompressors 12-1 and 12-2 to the shift computing units 11-1 and 11-2. . Each of the areas AR12 and AR22 is an area obtained by adding the above-described extension portion to each of the areas AR11 and AR21. Each of the areas AR11 and AR21 indicates an area after the decompressed data of the image data DA10 and DA20 is shifted. The shift amount in the main scanning direction (right direction in FIG. 4) is “SR01”. The shift amount in the sub-scanning direction (downward in FIG. 4) is “SD01”.

サブメモリー8における、シフト演算器11−1による画像データの読み出し領域および書き込み領域が、領域AR14で示されている。また、サブメモリー8における、シフト演算器11−2による画像データの読み出し領域および書き込み領域が、領域AR24で示されている。領域AR14,AR24の中のそれぞれは、領域AR12,AR22のそれぞれに対応する。領域AR14,AR24の中の領域AR13,AR23のそれぞれは、領域AR11,AR21のそれぞれに対応する。   A read area and a write area for image data by the shift computing unit 11-1 in the sub memory 8 are indicated by an area AR14. In addition, a read area and a write area for image data by the shift computing unit 11-2 in the sub memory 8 are indicated by an area AR24. Each of the areas AR14 and AR24 corresponds to each of the areas AR12 and AR22. Each of the areas AR13 and AR23 in the areas AR14 and AR24 corresponds to each of the areas AR11 and AR21.

図4において説明された圧縮データの伸長において、画像データDA10の点P11に相当する点は、領域AR11では点P12であり、領域AR13では点P13である。また、画像データDA20の点P21に相当する点は、領域AR21では点P22であり、領域AR23では点P23である。   In the decompression of the compressed data described in FIG. 4, the point corresponding to the point P11 of the image data DA10 is the point P12 in the area AR11 and the point P13 in the area AR13. The point corresponding to the point P21 of the image data DA20 is the point P22 in the area AR21 and the point P23 in the area AR23.

なお、サブメモリー8は、たとえばDDR等のように、シフト演算器11によるデータの書き込みによる一回のデータの書き込みのデータ量を所定の量(たとえば、64bit)に限定するタイプのメモリーである。このことから、シフト演算器11−1,11−2からサブメモリー8への画像データの一回の書き込みのデータ量は、所定の量(たとえば、64bit)とされる。   The sub-memory 8 is a type of memory that limits the data amount of one-time data writing by the shift computing unit 11 to a predetermined amount (for example, 64 bits), such as DDR. From this, the data amount of one-time writing of the image data from the shift computing units 11-1 and 11-2 to the sub memory 8 is a predetermined amount (for example, 64 bits).

[処理対象のブロックの設定]
MFP10において、サブメモリー8への画像データの書き込みに複数のシフト演算器11が利用される際の、各シフト演算器11の処理対象のブロックの設定について説明する。
[Setting of processing target block]
The setting of the block to be processed by each shift computing unit 11 when a plurality of shift computing units 11 are used for writing image data to the sub memory 8 in the MFP 10 will be described.

図4に示されたように、シフト演算器11は、あるブロックの画像データに加えて、当該ブロックについての拡張部分の画像データを、1回の書き込みで、サブメモリー8に書き込む。したがって、書き込み対象のブロックが隣接する画像データを扱う2以上のシフト演算器11が同時に書き込みを行う場合、当該2以上のシフト演算器11のそれぞれの処理対象の拡張部分同士が、同時に、当該2以上のシフト演算器11による書き込みおよび読み込みの対象となり得る。このことを、図5〜図8を参照して、より詳細に説明する。   As shown in FIG. 4, the shift computing unit 11 writes the image data of the extended portion for the block in addition to the image data of a certain block in the sub memory 8 by one writing. Therefore, when two or more shift computing units 11 that handle image data adjacent to a block to be written perform writing simultaneously, the extended portions to be processed of the two or more shift computing units 11 are simultaneously The above shift arithmetic unit 11 can be a target of writing and reading. This will be described in more detail with reference to FIGS.

図5は、2つのシフト演算器11の動作タイミングの一例を示す図である。図6〜図8のそれぞれは、サブメモリー8上に書き込まれた画像データの、形成される画像における配置を模式的に示す図である。   FIG. 5 is a diagram illustrating an example of operation timings of the two shift calculators 11. Each of FIGS. 6 to 8 is a diagram schematically showing the arrangement of image data written on the sub memory 8 in the formed image.

図5では、シフト演算器11−1の動作状態が線L1で示されている。また、シフト演算器11−2の動作状態が線L2で示されている。シフト演算器11−1,11−2のそれぞれの動作状態は、「High」または「Low」で示されている。「High」は、画像データの読み込みおよび書き込みの動作を実行している状態を示す。「Low」は、これらの動作を実行していない状態を示す。   In FIG. 5, the operation state of the shift computing unit 11-1 is indicated by a line L1. The operation state of the shift computing unit 11-2 is indicated by a line L2. Each operation state of the shift computing units 11-1 and 11-2 is indicated by “High” or “Low”. “High” indicates a state in which image data reading and writing operations are being performed. “Low” indicates a state in which these operations are not executed.

図5に示された例では、まず、シフト演算器11−1とシフト演算器11−2の双方の動作状態が、「Low」である。そして、時刻T1で、シフト演算器11−2の動作状態が「High」になる。つまり、シフト演算器11−2が(あるブロックについての)動作を開始する。その後、時刻T2において、シフト演算器11−1の動作状態が「High」になる。つまり、シフト演算器11−1が(別のブロックについての)動作を開始する。その後、時刻T3において、シフト演算器11−2が動作を終了する(動作状態が「Low」)。その後、時刻T4において、シフト演算器11−1が動作を終了する(動作状態が「Low」)。つまり、図5に示された例では、時刻T2から時刻T3までの間、シフト演算器11−1とシフト演算器11−2の双方が動作する。   In the example shown in FIG. 5, first, the operating states of both the shift computing unit 11-1 and the shift computing unit 11-2 are “Low”. At time T1, the operation state of the shift computing unit 11-2 becomes “High”. That is, the shift computing unit 11-2 starts an operation (for a certain block). Thereafter, at time T2, the operation state of the shift computing unit 11-1 becomes “High”. That is, the shift computing unit 11-1 starts an operation (for another block). Thereafter, at time T3, the shift computing unit 11-2 finishes the operation (the operation state is “Low”). Thereafter, at time T4, the shift computing unit 11-1 finishes the operation (the operation state is “Low”). That is, in the example shown in FIG. 5, both the shift computing unit 11-1 and the shift computing unit 11-2 operate from time T2 to time T3.

シフト演算器11−1の処理対象の画像領域とシフト演算器11−2の処理対象の画像領域とは、図4において領域AR13と領域AR14として示されたように、隣接する。このときに生じ得る不具合について、図6および図7を参照して説明する。   The image area to be processed by the shift computing unit 11-1 and the image area to be processed by the shift computing unit 11-2 are adjacent to each other as shown as the area AR13 and the area AR14 in FIG. Problems that may occur at this time will be described with reference to FIGS.

シフト演算器11−1とシフト演算器11−2が図5に示されたタイミングで動作した場合、時刻T1が到来すると、図6に示されるように、サブメモリー8では、領域AR24が処理対象となる。その後、時刻T2が到来すると、図7に示されるように、サブメモリー8では、さらに領域AR23が処理対象となる。領域AR24(破線)内の領域AR23と、領域AR14(二点鎖線)内の領域AR13とは隣接する。領域AR24は、領域AR23の外縁に位置する。領域AR14は、領域AR13の外縁に位置する。したがって、領域AR23と領域AR24とは、一部が重複する。当該重複する部分のうち、領域AR23に含まれる部分では、先にシフト演算器11−2によって書き込まれた画像データ(図7においてハッチングを付された部分の画像データ)が、シフト演算器11−1に上書きされる等して、画像が欠損するという不具合が生じるおそれがある。   When the shift computing unit 11-1 and the shift computing unit 11-2 operate at the timing shown in FIG. 5, when the time T1 arrives, the area AR24 is processed in the sub memory 8 as shown in FIG. It becomes. Thereafter, when the time T2 arrives, as shown in FIG. 7, in the sub memory 8, the area AR23 is further processed. The area AR23 in the area AR24 (broken line) and the area AR13 in the area AR14 (two-dot chain line) are adjacent to each other. The area AR24 is located on the outer edge of the area AR23. The area AR14 is located at the outer edge of the area AR13. Accordingly, the area AR23 and the area AR24 partially overlap. Among the overlapping portions, in the portion included in the area AR23, the image data previously written by the shift computing unit 11-2 (the image data of the hatched portion in FIG. 7) is the shift computing unit 11-. There is a possibility that an image is lost due to being overwritten by 1 or the like.

そこで、本実施の形態では、サブメモリー8への画像データの書き込みの際に、生成される画像において同時に動作する2以上のシフト演算器11の処理対象の領域が重ならないように、各シフト演算器11の処理対象の領域が決定される。より具体的には、新たにシフト演算器11に動作を開始させる場合、動作制御部2は、すでに動作している他のシフト演算器11が処理対象としている領域(ブロックおよびその拡張部分)から、拡張部分以上離れたブロックを、当該新たなシフト演算器11の処理対象として設定する。   Therefore, in the present embodiment, when writing image data to the sub-memory 8, each shift calculation is performed so that areas to be processed by two or more shift calculators 11 operating simultaneously in the generated image do not overlap. A region to be processed by the vessel 11 is determined. More specifically, when the shift computing unit 11 starts a new operation, the operation control unit 2 starts from a region (block and its extended portion) that is already processed by another shift computing unit 11 that is already operating. A block that is more than the extended portion is set as a processing target of the new shift computing unit 11.

たとえば、画像が図3に示されたようにブロックに分けられて処理される場合、動作制御部2は、動作中のシフト演算器11が処理対象としている領域から拡張部分以上離れた他のブロックを、新たに動作するシフト演算器11の処理対象とする。動作中のシフト演算器11の処理対象の領域と、新たに動作するシフト演算器11の処理対象のブロックとの位置関係を、図8を参照してより詳細に説明する。   For example, when an image is processed by being divided into blocks as shown in FIG. 3, the operation control unit 2 determines that another block separated from the region to be processed by the shift calculator 11 in operation by an extended portion or more. Is a processing target of the newly operated shift computing unit 11. The positional relationship between the area to be processed by the shift computing unit 11 in operation and the block to be processed by the newly operating shift computing unit 11 will be described in more detail with reference to FIG.

図8において、動作中のシフト演算器11の処理対象の領域が、領域AR24で示されている。領域AR24のうち、領域AR23は、原稿画像の1つのブロックに相当する領域であり、それ以外の領域は、当該ブロックの拡張部分に相当する領域である。領域AR34は、新たに動作するシフト演算器11の処理対象とされる領域である。領域AR34のうち、領域AR34が、原稿画像の1つのブロックに相当する領域であり、それ以外の領域は、当該ブロックの拡張部分に相当する領域である。   In FIG. 8, the area to be processed by the shift calculator 11 in operation is indicated by an area AR24. Of the area AR24, the area AR23 is an area corresponding to one block of the document image, and the other areas are areas corresponding to an extended portion of the block. The area AR34 is an area to be processed by the shift calculator 11 that operates anew. Of the area AR34, the area AR34 is an area corresponding to one block of the document image, and the other areas are areas corresponding to an extended portion of the block.

領域AR34が選択される条件は、領域AR34内の領域AR33の端部が、領域AR24内の領域AR23の端部よりも、主走査方向と副走査方向の双方において、拡張部分以上離れていることである。   The condition for selecting the area AR34 is that the end of the area AR33 in the area AR34 is more than the extended portion in both the main scanning direction and the sub-scanning direction than the end of the area AR23 in the area AR24. It is.

[画像形成動作]
次に、MFP10における画像形成動作の一例であるプリント動作について説明する。
[Image forming operation]
Next, a printing operation that is an example of an image forming operation in the MFP 10 will be described.

<ジョブ管理>
プリント動作では、MFP10は、プリンター7において用紙等の上に画像を形成して出力する。このようなプリント動作(プリントジョブ)の実行が指示されると、MFP10では、新たに開始するジョブを管理するための情報(ジョブ情報)が生成される。図9は、ジョブ情報の一例を模式的に示す図である。ジョブ情報は、たとえば、動作制御部2内に設けられる不揮発性のメモリーに格納される。
<Job management>
In the print operation, the MFP 10 forms an image on a sheet or the like in the printer 7 and outputs the image. When the execution of such a printing operation (print job) is instructed, the MFP 10 generates information (job information) for managing a newly started job. FIG. 9 is a diagram schematically illustrating an example of job information. The job information is stored, for example, in a non-volatile memory provided in the operation control unit 2.

図9に示されるように、ジョブ情報は、ジョブに関する管理項目として、ジョブ番号(ジョブNo.)、ページ数、ページ情報、原稿サイズ、原稿向き、出力用紙サイズ、シフト設定、トリミング設定、および、マスク設定を含む。   As shown in FIG. 9, job information includes job number (job No.), page number, page information, document size, document orientation, output paper size, shift setting, trimming setting, and management items related to the job. Includes mask settings.

「ジョブNo.」は、MFP10において実行したジョブの通し番号である。
「ページ数」は、実行するジョブにおける原稿のページ数である。
“Job No.” is a serial number of a job executed in the MFP 10.
“Number of pages” is the number of pages of the document in the job to be executed.

「ページ情報」は、原稿の各ページの画像データを特定する情報であり、たとえば、各ページの画像データに付された通し番号である。MFP10では、各ページの画像データに付された通し番号(画像データ管理情報No.)によって、たとえば、ファイルメモリー41における、原稿の各ページの圧縮された画像データが特定される。ページ情報は、図15を参照して後述する、原稿の各ページに対応する、圧縮された画像データを管理する情報(画像データ管理情報)の中の情報と対応する。   “Page information” is information for specifying image data of each page of the document, and is, for example, a serial number assigned to the image data of each page. In the MFP 10, for example, the compressed image data of each page of the document in the file memory 41 is specified by the serial number (image data management information No.) attached to the image data of each page. The page information corresponds to information in information (image data management information) for managing compressed image data corresponding to each page of the document, which will be described later with reference to FIG.

「原稿サイズ」は、原稿の用紙サイズである。用紙サイズは、「A4」等の用紙の大きさに加えて、用紙の向きの情報を含む。図10は、用紙の向きの情報を説明するための図である。図10に示されるように、用紙の向きの情報は、用紙の副走査方向の寸法の方が主走査方向の寸法よりも長い「Sef」(図10の原稿911)、および、用紙の主走査方向の寸法の方が副走査方向の寸法よりも長い「Lef」(図10の原稿912)を含む。   “Original size” is the paper size of the original. The paper size includes paper orientation information in addition to the paper size such as “A4”. FIG. 10 is a diagram for explaining the information on the paper orientation. As shown in FIG. 10, information on the orientation of the paper includes “Sef” (original 911 in FIG. 10) in which the dimension in the sub-scanning direction of the paper is longer than the dimension in the main scanning direction, and the main scanning of the paper It includes “Lef” (document 912 in FIG. 10) whose dimension in the direction is longer than the dimension in the sub-scanning direction.

「原稿向き」は、原稿の向きを示す。図11は、原稿の向きを説明するための図である。原稿の画像を正立させたときに、原稿が縦長になる「ポートレイト」(図11の原稿921)、および、原稿が横長になる「ランドスケープ」(図11の原稿922)を含む。   “Original orientation” indicates the orientation of the original. FIG. 11 is a diagram for explaining the orientation of the document. This includes a “portrait” (original 921 in FIG. 11) in which the original is vertically long when the image of the original is erected, and a “landscape” (original 922 in FIG. 11) in which the original is horizontally long.

「出力用紙サイズ」は、出力される画像が形成される用紙のサイズに加えて、図10を参照して説明した、用紙の向きの情報(「Sef」および「Lef」)を含む。「出力用紙サイズ」の設定値は、原稿が等倍で出力される場合には、「原稿の用紙サイズ」の設定値と等しくなり、原稿の出力倍率が1.0倍以外に設定された場合には、「原稿の用紙サイズ」の設定値と異なる。   The “output paper size” includes paper orientation information (“Sef” and “Lef”) described with reference to FIG. 10 in addition to the size of the paper on which the output image is formed. The setting value of “Output paper size” is equal to the setting value of “Original paper size” when the original is output at the same magnification, and the output magnification of the original is set to a value other than 1.0. Is different from the set value of “paper size of document”.

「シフト設定」は、原稿の画像を出力させる際にシフトさせる方向および量についての設定情報である。図9に示された例では、「シフト設定」は、主走査方向の設定値と副走査方向の設定値をと含む。図12は、シフト設定の設定内容を説明するための図である。図12では、横方向に主走査方向が定義され、縦方向に副走査方向が定義されている。図12に示された例では、画像930は出力される用紙上の画像を示されている。また、図12に示された例では、主走査方向のシフト量がx(mm)であり、副走査方向のシフト量がy(mm)である。このような設定によれば、たとえば、原稿中の点P01の画像が、出力される用紙上では点P02に位置する。   “Shift setting” is setting information about the direction and amount to be shifted when outputting an image of a document. In the example shown in FIG. 9, “shift setting” includes a setting value in the main scanning direction and a setting value in the sub-scanning direction. FIG. 12 is a diagram for explaining the setting contents of the shift setting. In FIG. 12, the main scanning direction is defined in the horizontal direction, and the sub-scanning direction is defined in the vertical direction. In the example shown in FIG. 12, the image 930 is an image on the output paper. In the example shown in FIG. 12, the shift amount in the main scanning direction is x (mm), and the shift amount in the sub-scanning direction is y (mm). According to such setting, for example, the image of the point P01 in the document is positioned at the point P02 on the output paper.

「トリミング設定」は、原稿において、出力の際にトリミングする領域の設定である。図13は、トリミング設定の内容を説明するための図である。図13では、原稿940のうち、領域941をトリミングする設定が示されている。当該設定の内容は、たとえば、トリミングする領域の左上の座標(図13中の「始点(i,j)」)と右下の座標(図13中の「終点(x,y)」)とを含む。   “Trimming setting” is a setting of a region to be trimmed at the time of output in a document. FIG. 13 is a diagram for explaining the contents of trimming settings. FIG. 13 shows a setting for trimming the region 941 in the document 940. The contents of the setting include, for example, the upper left coordinate (“start point (i, j)” in FIG. 13) and the lower right coordinate (“end point (x, y)” in FIG. 13) of the region to be trimmed. Including.

「マスク設定」は、原稿において、出力の際にマスキングする領域の設定である。図14は、マスク設定の内容を説明するための図である。図14では、原稿950のうち、領域951をマスキングする設定が示されている。当該設定の内容は、たとえば、マスキングする領域の左上の座標(図14中の「始点(i,j)」)と右下の座標(図14中の「終点(x,y)」)とを含む。   “Mask setting” is a setting of an area to be masked at the time of output in an original. FIG. 14 is a diagram for explaining the contents of the mask setting. FIG. 14 shows a setting for masking an area 951 in the document 950. The contents of the setting include, for example, the upper left coordinates (“start point (i, j)” in FIG. 14) and lower right coordinates (“end point (x, y)” in FIG. 14) of the area to be masked. Including.

<画像データの管理>
圧縮された画像データを管理する情報(画像データ管理情報)について説明する。画像データ管理情報は、原稿のページごとに定義される。図15は、画像データ管理情報の一例を模式的に示す図である。画像データ管理情報は、たとえば、動作制御部2内に設けられる不揮発性のメモリーに格納される。
<Management of image data>
Information for managing compressed image data (image data management information) will be described. The image data management information is defined for each page of the document. FIG. 15 is a diagram schematically illustrating an example of image data management information. The image data management information is stored, for example, in a non-volatile memory provided in the operation control unit 2.

図15に示されるように、画像データ管理情報は、画像データ管理情報番号(画像データ管理情報No.)、ジョブ番号(ジョブNo.)、ページ番号(ページNo.)、画像データサイズ、解像度、色、および、圧縮データ格納アドレスを含む。   As shown in FIG. 15, the image data management information includes an image data management information number (image data management information No.), a job number (job No.), a page number (page No.), an image data size, a resolution, Includes color and compressed data storage address.

「画像データ管理情報No.」は、原稿の中の、ファイルメモリー41に格納されたページを特定する情報である。   “Image data management information No.” is information for specifying a page stored in the file memory 41 in the document.

「ジョブNo.」は、ファイルメモリー41に格納されたページが属するジョブの通し番号であり、図9のジョブ情報における「ジョブ情報」に対応している。   “Job No.” is the serial number of the job to which the page stored in the file memory 41 belongs, and corresponds to “job information” in the job information of FIG.

「ページNo.」は、図15の画像データ管理情報に対応するページが当該ページの属するジョブにおいて何ページ目にあたるのかを示す。   “Page No.” indicates how many pages correspond to the page corresponding to the image data management information of FIG. 15 in the job to which the page belongs.

「画像データサイズ」は、図15の画像データ管理情報に対応するページの画像データのサイズを示す。   “Image data size” indicates the size of the image data of the page corresponding to the image data management information of FIG.

「解像度」は、図15の画像データ管理情報に対応するページの画像データの解像度を示す。   “Resolution” indicates the resolution of the image data of the page corresponding to the image data management information of FIG.

「色」は、図15の画像データ管理情報に対応するページの画像データの色の成分を示す。図15において、Yはイエローを示す。Mはマゼンタを示す。Cはシアンを示す。Kはブラックを示す。   “Color” indicates the color component of the image data of the page corresponding to the image data management information of FIG. In FIG. 15, Y indicates yellow. M represents magenta. C represents cyan. K represents black.

「圧縮データ格納アドレス」は、図15の画像データ管理情報に対応するページの画像データの、ファイルメモリー41における格納場所を示す。なお、図15では、「圧縮データ格納アドレス」は、ブロックごとの格納場所を含む。原稿の複数のブロックへの分割について、図16を参照して説明する。図16は、複数のブロックに分割された原稿の一例を示す図である。   The “compressed data storage address” indicates the storage location in the file memory 41 of the image data of the page corresponding to the image data management information of FIG. In FIG. 15, the “compressed data storage address” includes a storage location for each block. The division of a document into a plurality of blocks will be described with reference to FIG. FIG. 16 is a diagram illustrating an example of a document divided into a plurality of blocks.

図16に示されるように、原稿の画像900は、MFP10においてその画像データを処理される際に、破線で示されるように、複数のブロックへと分割され、ブロックごとのデータとして取り扱われる。「圧縮データ格納アドレス」では、各ブロックが、原稿における各ブロックの配置によって特定される。より具体的には、各ブロックは、主走査方向(図16の左右方向)の位置と、副走査方向(図16の上下方向)の位置とを用いた座標、つまり、(主走査方向の位置,副走査方向の位置)によって特定される。   As shown in FIG. 16, when the image data 900 is processed in the MFP 10, the document image 900 is divided into a plurality of blocks and handled as data for each block, as indicated by broken lines. In the “compressed data storage address”, each block is specified by the arrangement of each block in the document. More specifically, each block has coordinates using the position in the main scanning direction (left and right direction in FIG. 16) and the position in the sub scanning direction (up and down direction in FIG. 16), that is, (position in the main scanning direction). , Position in the sub-scanning direction).

図16において、たとえば「ブロック(0,1)」は、原稿の画像900において、主走査方向に1番目であって副走査方向に2番目に位置するブロックを意味する。   In FIG. 16, for example, “block (0, 1)” means a block located first in the main scanning direction and second in the sub-scanning direction in the document image 900.

<伸長処理に関する設定>
MFP10では、伸長処理に関する設定内容(伸長情報)に基づいて、伸長器12およびシフト演算器11は、画像データを処理する。図17は、伸長情報の一例を示す図である。伸長情報は、たとえば、動作制御部2内に設けられる不揮発性のメモリーに格納される。
<Settings related to decompression processing>
In the MFP 10, the decompressor 12 and the shift calculator 11 process the image data based on the setting content (decompression information) related to the decompression process. FIG. 17 is a diagram illustrating an example of decompression information. The decompression information is stored in, for example, a non-volatile memory provided in the operation control unit 2.

図17に示されるように、伸長情報は、伸長情報番号(伸長情報No.)、ジョブ番号(ジョブNo.)、ページ番号(ページNo.)、画像データ管理情報番号(画像データ管理情報No.)、回転角度、画像データサイズ、シフト設定、トリミング設定、マスク設定、および、ブロック情報を含む。   As shown in FIG. 17, the decompression information includes decompression information number (decompression information No.), job number (job No.), page number (page No.), image data management information number (image data management information No. ), Rotation angle, image data size, shift setting, trimming setting, mask setting, and block information.

伸長情報No.は、当該伸長情報の通し番号である。なお、伸長情報は、ジョブにおけるページごとに設定される。   Extension information No. Is a serial number of the decompression information. The decompression information is set for each page in the job.

ジョブNo.は、MFP10において実行したジョブの通し番号である。
ページNo.は、当該伸長情報が対応するページの、当該伸長情報が対応するページが属するジョブ(以下、「対応ジョブ」ともいう)における通し番号である。
Job No. Is a serial number of a job executed in the MFP 10.
Page No. Is a serial number in the job to which the page corresponding to the decompression information belongs (hereinafter also referred to as “corresponding job”).

画像データ管理情報No.は、各ページの画像データに付された通し番号である。
回転角度は、対応ジョブのジョブ情報(図9参照)において設定されている回転角度である。
Image data management information No. Is a serial number assigned to the image data of each page.
The rotation angle is a rotation angle set in the job information (see FIG. 9) of the corresponding job.

画像データサイズは、当該伸長情報が対応するページの画像データのサイズである。
シフト設定,トリミング設定,マスク設定のそれぞれは、対応ジョブのジョブ情報(図9参照)において設定されている「シフト設定」「トリミング設定」「マスク設定」の値である。
The image data size is the size of the image data of the page corresponding to the decompression information.
Each of the shift setting, trimming setting, and mask setting is a value of “shift setting”, “trimming setting”, and “mask setting” set in the job information of the corresponding job (see FIG. 9).

ブロック情報は、当該伸長情報が対応するページに属する複数のブロックのそれぞれの、伸長処理および演算処理の進捗を管理する情報である。ブロック情報は、伸長後ブロックと、原稿画像ブロックと、伸長実施情報とを含む。原稿画像ブロックは、図16に示されたような、原稿に対して設定された複数のブロックのそれぞれを特定する。伸長後ブロックは、原稿画像ブロックのそれぞれのブロックの伸長後のデータに対して設定される。図17の例では、伸長後ブロックは、原稿画像ブロックと同様に、主走査方向の位置と副走査方向の位置とを特定する座標形式で特定される。伸長実施情報は、各ブロックの伸長処理が完了したか否かを示す。「未」は、まだ伸長処理の対象になっていないことを示す。「完了」は、伸長処理が完了したことを示す。なお、伸長処理が実行されている最中のブロックの伸長実施情報は、「実行中」である。   The block information is information for managing the progress of decompression processing and arithmetic processing for each of a plurality of blocks belonging to the page to which the decompression information corresponds. The block information includes a post-decompression block, a document image block, and decompression execution information. The document image block specifies each of a plurality of blocks set for the document as shown in FIG. The decompressed block is set for data after decompression of each block of the document image block. In the example of FIG. 17, the decompressed block is specified in a coordinate format that specifies the position in the main scanning direction and the position in the sub-scanning direction, like the document image block. The decompression execution information indicates whether or not the decompression process for each block has been completed. “Not yet” indicates that it is not yet a target for decompression processing. “Completed” indicates that the decompression process has been completed. Note that the decompression execution information of the block in which decompression processing is being performed is “in progress”.

なお、原稿画像ブロックと伸長後ブロックとの関係は、たとえばジョブ情報において設定されている回転角度の値によっては、変化する場合がある。図18は、ジョブにおける回転角度の設定値が「90度」である場合の、原稿画像ブロックと伸長後ブロックとの関係を説明するための図である。   The relationship between the original image block and the post-decompression block may change depending on, for example, the value of the rotation angle set in the job information. FIG. 18 is a diagram for explaining the relationship between the original image block and the decompressed block when the setting value of the rotation angle in the job is “90 degrees”.

図18では、画像901は原稿画像を示す。画像902は、画像901がジョブ情報に従って90度回転された後で出力される画像を示す。図18では、画像901と画像902のそれぞれに関連付けられて、主走査方向のブロック番号と副走査方向のブロック番号が示されている。   In FIG. 18, an image 901 indicates a document image. An image 902 indicates an image that is output after the image 901 is rotated 90 degrees according to the job information. In FIG. 18, the block number in the main scanning direction and the block number in the sub-scanning direction are shown in association with the image 901 and the image 902, respectively.

図18から理解されるように、原稿画像(画像901)における各ブロックのブロック番号は、出力画像(画像902)における各ブロックのブロック番号は異なる。たとえば、原稿画像におけるブロック(0,0)は、出力画像におけるブロック(0,4)に対応する。また、原稿画像におけるブロック(1,1)は、出力画像におけるブロック(1,3)に対応する。   As understood from FIG. 18, the block number of each block in the original image (image 901) is different from the block number of each block in the output image (image 902). For example, the block (0, 0) in the document image corresponds to the block (0, 4) in the output image. The block (1, 1) in the document image corresponds to the block (1, 3) in the output image.

<伸長器/シフト演算器の動作管理>
MFP10では、複数の伸長器12と複数のシフト演算器11の動作が、動作制御部2内に設けられる不揮発性のメモリーに格納される情報(動作情報)を用いて管理される。図19は、動作情報の一例を示す図である。
<Operation management of decompressor / shift calculator>
In the MFP 10, the operations of the plurality of decompressors 12 and the plurality of shift calculators 11 are managed using information (operation information) stored in a nonvolatile memory provided in the operation control unit 2. FIG. 19 is a diagram illustrating an example of operation information.

MFP10では、各伸長器12がどの(どちらの)シフト演算器11にデータを出力するかが固定されている。そして、図19の動作情報では、複数の伸長器12のそれぞれが、各伸長器12が伸長したデータの出力先のシフト演算器11と関連付けられている。より具体的には、MFP10に設けられたN個の伸長器12のうち、その半分(ここでは、M個という)は、シフト演算器11−1に関連付けられている。そして、MFP10に設けられたN個の伸長器12のうち残りの半分は、シフト演算器11−2に関連付けられている。図19では、各伸長器12および各シフト演算器11は、図2中の符号で示されている。   In the MFP 10, to which (which) shift computing unit 11 each decompressor 12 outputs data is fixed. In the operation information of FIG. 19, each of the plurality of decompressors 12 is associated with the shift operation unit 11 that is the output destination of the data decompressed by each decompressor 12. More specifically, half of the N decompressors 12 provided in the MFP 10 (herein referred to as M) is associated with the shift computing unit 11-1. The remaining half of the N decompressors 12 provided in the MFP 10 is associated with the shift computing unit 11-2. In FIG. 19, each decompressor 12 and each shift calculator 11 are indicated by reference numerals in FIG. 2.

図19では、「動作情報」として、伸長器12およびそれに関連付けられたシフト演算器11のその時点での動作状態が登録されている。伸長器12およびシフト演算器11が動作を実行している場合、動作状態の値は「動作中」である。伸長動作を実行していない場合、動作状態の値は「停止」である。図19では、少なくとも、伸長器12−1とシフト演算器11−1とが動作中であること、伸長器12−2が動作中ではないこと、および、伸長器12−Nとシフト演算器11−2が動作中ではないこと、が示されている。   In FIG. 19, the operation state at that time of the decompressor 12 and the shift calculator 11 associated therewith is registered as “operation information”. When the decompressor 12 and the shift calculator 11 are performing an operation, the value of the operation state is “in operation”. When the decompression operation is not executed, the value of the operation state is “stop”. In FIG. 19, at least that the expander 12-1 and the shift calculator 11-1 are operating, the expander 12-2 is not operating, and the expander 12-N and the shift calculator 11 -2 is not active.

図20〜図22を参照して後述するように、動作制御部2は、画像形成処理において、複数の伸長器12と複数のシフト演算器11の動作状況に応じて、図19の動作情報の内容を適宜更新する。   As will be described later with reference to FIGS. 20 to 22, the operation control unit 2 performs the operation information of FIG. 19 according to the operation status of the plurality of decompressors 12 and the plurality of shift calculators 11 in the image forming process. Update the content as appropriate.

[画像形成処理]
MFP10は、ファイルメモリー41(図2参照)に圧縮データを格納された画像を、プリンター7から出力する。ここで、当該画像の出力のためにMFP10において実行される処理(画像形成処理)について、図20〜図22を主に参照して説明する。図20〜図22は、画像形成処理のフローチャートである。図20〜図22の画像形成処理は、たとえば、実行中のジョブについて、ページごとに実行される。
[Image formation processing]
The MFP 10 outputs, from the printer 7, an image whose compressed data is stored in the file memory 41 (see FIG. 2). Here, processing (image forming processing) executed in the MFP 10 for outputting the image will be described with reference mainly to FIGS. 20 to 22 are flowcharts of the image forming process. The image forming process in FIGS. 20 to 22 is executed for each page for a job being executed, for example.

MFP10の動作制御部2は、外部の装置からMFP10に対してジョブの実行の指示が入力されたこと、または、ユーザーIF3に対してジョブの開始の指示が入力されたことによって、画像形成ジョブを開始する。画像形成ジョブにおいて、動作制御部2は、実行中のジョブに含まれる先頭のページから順に、画像形成処理の対象のページを設定する。そして、対象のページを設定すると、動作制御部2は、当該ページについての画像形成処理を開始する。   The operation control unit 2 of the MFP 10 executes an image forming job when an instruction to execute the job is input from the external device to the MFP 10 or an instruction to start the job is input to the user IF 3. Start. In the image forming job, the operation control unit 2 sets pages to be subjected to image forming processing in order from the first page included in the job being executed. When the target page is set, the operation control unit 2 starts an image forming process for the page.

まず図20を参照して、ステップS10で、動作制御部2は、開始を指示されたジョブ情報(図9参照)に従って伸長情報(図17参照)を生成する。そして、制御は、ステップS20へ進められる。   First, referring to FIG. 20, in step S10, the operation control unit 2 generates decompression information (see FIG. 17) according to job information (see FIG. 9) instructed to start. And control is advanced to step S20.

ステップS20では、動作制御部2は、伸長情報(図17参照)を参照し、伸長処理がまだ実行されていない(伸長実施情報の値が「未」)ブロックが存在するか否かを判断する。そのようなブロックが存在すると判断すると(ステップS20でYES)、動作制御部2は、ステップS30へ制御を進める。一方、そのようなブロックが存在しないと判断すると(ステップS20でNO)、動作制御部2は、ステップS180へ制御を進める。   In step S20, the operation control unit 2 refers to the decompression information (see FIG. 17), and determines whether or not there is a block for which decompression processing has not yet been executed (the decompression execution information value is “not yet”). . If it is determined that such a block exists (YES in step S20), operation controller 2 advances the control to step S30. On the other hand, when determining that such a block does not exist (NO in step S20), operation controller 2 advances the control to step S180.

ステップS180では、動作制御部2は、ステップS10において生成した伸長情報を上記した不揮発性メモリーから削除して、画像形成処理を終了させる。実行中のジョブにおいて、未出力のページが残っている場合には、次のページについての画像形成処理が実行される。実行中のジョブにおいて未出力のページが残っていない場合には、当該ジョブは終了する。   In step S180, the operation control unit 2 deletes the decompression information generated in step S10 from the nonvolatile memory described above, and ends the image forming process. If an unoutput page remains in the job being executed, the image forming process for the next page is executed. If no unoutput page remains in the job being executed, the job ends.

ステップS30では、動作制御部2は、伸長器12−1〜12−Nのうち動作が停止中の伸長器12があるか否かを判断する。より具体的には、動作制御部2は、動作情報(図19参照)において「動作状態」の値が「停止」である伸長器12があるか否かを判断する。動作制御部2がそのような伸長器12があると判断すると(ステップS30でYES)、制御はステップS40へ進められる。動作制御部2がそのような伸長器12はないと判断すると(ステップS30でNO)、制御はステップS150(図22参照)へ進められる。   In step S30, the operation control unit 2 determines whether there is an expander 12 whose operation is stopped among the expanders 12-1 to 12-N. More specifically, the motion control unit 2 determines whether or not there is an expander 12 whose “motion state” value is “stop” in the motion information (see FIG. 19). If the operation control unit 2 determines that such an expander 12 is present (YES in step S30), the control proceeds to step S40. If the operation control unit 2 determines that there is no such expander 12 (NO in step S30), the control proceeds to step S150 (see FIG. 22).

ステップS40では、動作制御部2は、停止中の伸長器12のうち先頭のものを選択する。「先頭」とは、たとえば伸長器12−1〜12−Nのそれぞれに順に番号が割り振られている場合、最も番号が若い、という意味である。そして、制御は、ステップS50へ進められる。   In step S40, the operation control unit 2 selects the first one of the decompressors 12 that are stopped. “Top” means that, for example, when numbers are sequentially assigned to the decompressors 12-1 to 12-N, the numbers are the smallest. And control is advanced to step S50.

ステップS50では、動作制御部2は、伸長情報(図17参照)のブロック情報を参照して、まだ伸長処理の対象とされていないブロックの中から主走査方向の先頭にあるブロック(最も主走査方向のブロック番号が若いブロック)を選択する。そして、制御は、ステップS60へ進められる。図20中の「バンド」は、「ブロック番号」と同義である。   In step S50, the operation control unit 2 refers to the block information of the decompression information (see FIG. 17), and selects the block at the head in the main scanning direction (most main scanning) from among the blocks not yet subjected to decompression processing. Select the block with the smallest block number in the direction). And control is advanced to step S60. “Band” in FIG. 20 is synonymous with “block number”.

ステップS60では、動作制御部2は、伸長情報(図17参照)のブロック情報を参照して、ステップS50で選択されたブロック(バンド)の中から、まだ伸長処理の対象とされていないブロックの中から主走査方向の先頭にあるブロック(最も主走査方向のブロック番号が若いブロック)を選択する。そして、制御は、ステップS70へ進められる。   In step S60, the operation control unit 2 refers to the block information of the decompression information (see FIG. 17), and selects a block that has not yet been subject to decompression processing from the blocks (bands) selected in step S50. The block at the head in the main scanning direction is selected from among them (the block with the smallest block number in the main scanning direction). Then, the control proceeds to step S70.

ステップS70では、動作制御部2は、これから伸長処理を実行するブロックと当該伸長処理を実行させる伸長器12を設定する。つまり、動作制御部2は、ステップS60で選択されたブロックを、ステップS50で選択された伸長器12に伸長させることを設定する。そして、制御は、ステップS80(図21参照)に進められる。   In step S <b> 70, the operation control unit 2 sets a block from which decompression processing will be performed and a decompressor 12 that performs the decompression processing. In other words, the operation control unit 2 sets the decompression unit 12 selected in step S50 to decompress the block selected in step S60. Then, the control proceeds to step S80 (see FIG. 21).

ステップS80では、動作制御部2は、動作情報(図19参照)を参照して、現在動作を実行中のシフト演算器11があるか否かを判断する。動作実行中のシフト演算器11があると判断すると(ステップS80でYES)、動作制御部2は、ステップS90へ制御を進める。動作実行中のシフト演算器11はないと判断すると(ステップS80でNO)、動作制御部2は、ステップS130へ制御を進める。   In step S80, the operation control unit 2 refers to the operation information (see FIG. 19) and determines whether there is a shift calculator 11 that is currently executing the operation. If it is determined that there is a shift calculator 11 that is executing an operation (YES in step S80), operation controller 2 advances the control to step S90. If it is determined that there is no shift calculator 11 that is executing the operation (NO in step S80), the operation control unit 2 advances the control to step S130.

ステップS90では、動作制御部2は、動作情報(図19参照)を参照して、動作中のシフト演算器11の処理対象となっているブロック(伸長ブロック)を特定する。そして、制御は、ステップS100へ進められる。   In step S90, the motion control unit 2 refers to the motion information (see FIG. 19) and identifies a block (decompression block) that is a processing target of the shift calculator 11 that is operating. Then, control proceeds to step S100.

ステップS100では、動作制御部2は、ステップS70で設定したブロックが、ステップS90で特定したブロックに対して、サブメモリー8の書き込み位置について、拡張部分以上離れているか否かを判断する。当該判断は、図8を参照して説明した判断に相当する。拡張部分以上離れていると判断すると(ステップS100でYES)、動作制御部2は、ステップS130へ制御を進める。一方、拡張部分以上離れていないと判断すると(ステップS100でNO)、動作制御部2は、ステップS110へ制御を進める。   In step S100, the operation control unit 2 determines whether or not the block set in step S70 is separated from the block specified in step S90 by the extension portion or more with respect to the writing position of the sub memory 8. This determination corresponds to the determination described with reference to FIG. If it is determined that the distance is greater than or equal to the extended portion (YES in step S100), operation controller 2 advances the control to step S130. On the other hand, if it is determined that the distance is not greater than the extended portion (NO in step S100), operation control unit 2 advances control to step S110.

ステップS110では、動作制御部2は、伸長情報(図17参照)のブロック情報を参照して、まだ伸長処理の対象とされていない次のブロックを選択する。「次のブロック」とは、まだ伸長処理の対象とされていないブロックであって、副走査方向のブロック番号が最も若いものの中で、最も主走査方向のブロック番号が若いブロックである。また、ステップS110では、動作制御部2は、ステップS70で伸長対象として設定したブロックをステップS110で選択したブロックへと変更する。そして、制御は、ステップS120へ進められる。   In step S110, the operation control unit 2 refers to the block information of the decompression information (see FIG. 17) and selects the next block that has not yet been subject to decompression processing. The “next block” is a block that has not been subjected to decompression processing yet, and has the smallest block number in the main scanning direction among the smallest block numbers in the sub scanning direction. In step S110, the operation control unit 2 changes the block set as the decompression target in step S70 to the block selected in step S110. Then, the control proceeds to step S120.

ステップS120では、動作制御部2は、ステップS110において、上記条件に合致するブロックがあったか否かを判断する。そして、そのようなブロックがあると判断すると(ステップS120でYES)、動作制御部2は、ステップS80へ制御を戻す。一方、そのようなブロックがないと判断すると(ステップS120でNO)、動作制御部2は、ステップS150(図22参照)へ制御を進める。   In step S120, the operation control unit 2 determines whether or not there is a block that matches the above condition in step S110. If it is determined that there is such a block (YES in step S120), operation control unit 2 returns control to step S80. On the other hand, when determining that there is no such block (NO in step S120), operation controller 2 advances the control to step S150 (see FIG. 22).

ステップS130では、動作制御部2は、ステップS70で設定した伸長器12とシフト演算器11について、動作情報(図19参照)の動作状態を「動作中」に更新する。そして、制御はステップS140へ進められる。   In step S130, the operation control unit 2 updates the operation state of the operation information (see FIG. 19) to “in operation” for the expander 12 and the shift calculator 11 set in step S70. Then, control proceeds to step S140.

ステップS140では、動作制御部2は、ステップS70で設定した伸長器12とシフト演算器11を、圧縮データの処理のために起動する。処理対象の圧縮データは、ステップS70で設定されたブロックのものである。ただし、ステップS110において対象のブロックが更新されていれば、更新後のブロックの圧縮データが処理対象となる。そして、制御は、ステップS150(図22参照)へ進められる。   In step S140, the operation control unit 2 activates the decompressor 12 and the shift calculator 11 set in step S70 for processing compressed data. The compressed data to be processed is that of the block set in step S70. However, if the target block has been updated in step S110, the compressed data of the updated block becomes the processing target. Then, the control proceeds to step S150 (see FIG. 22).

図22を参照して、ステップS150では、動作制御部2は、動作中であった伸長器12の動作の完了を検出したか否かを判断する。そして、動作中の伸長器12についての動作の完了を検出しなければ、動作制御部2は、ステップS150での判断を継続する。そして、伸長器12の動作の完了を検出すれば、動作制御部2は、ステップS160へ制御を進める。   Referring to FIG. 22, in step S150, operation control unit 2 determines whether or not the completion of the operation of expander 12 that has been operating has been detected. If the completion of the operation of the expander 12 in operation is not detected, the operation control unit 2 continues the determination in step S150. If the completion of the operation of the decompressor 12 is detected, the operation control unit 2 advances the control to step S160.

ステップS160では、動作制御部2は、実行中であった伸長器12およびシフト演算器11の伸長を完了させる。そして、制御は、ステップS170へ進められる。   In step S160, the operation control unit 2 completes the decompression of the decompressor 12 and the shift calculator 11 that were being executed. Then, control proceeds to step S170.

ステップS170では、動作制御部2は、動作が完了した伸長器12およびシフト演算器11についての動作情報(図19参照)における「動作状態」の値を「停止」へと変更する。そして、制御はステップS10(図20)へ戻される。   In step S <b> 170, the operation control unit 2 changes the value of “operation state” in the operation information (see FIG. 19) for the decompressor 12 and the shift calculator 11 that have completed the operation to “stop”. Control is then returned to step S10 (FIG. 20).

[実施例]
以上説明した本実施の形態では、カラーの画像データ(たとえば、YMCK系の画像データ)の取り扱いについて、たとえば2つの実施例が考えられる。1つ目の実施例(以下、「実施例1」という)は、全ての色のデータが、1つの圧縮器13の入力とされ、また、1つの伸長器12の入力とされる例である。2つ目の実施例(以下、「実施例2」という)は、色ごとのデータ(Yデータ、Mデータ、Cデータ、および、Kデータ)が、別々の圧縮器13に入力され、そして、別々の伸長器12に入力される例である。
[Example]
In the present embodiment described above, for example, two examples can be considered for handling color image data (for example, YMCK image data). The first embodiment (hereinafter referred to as “embodiment 1”) is an example in which all color data are input to one compressor 13 and input to one decompressor 12. . In the second embodiment (hereinafter referred to as “embodiment 2”), data for each color (Y data, M data, C data, and K data) are input to separate compressors 13, and This is an example of input to separate expanders 12.

2つの実施例における、データ圧縮およびデータ伸長の処理内容について、説明する。
<データ圧縮>
図23は、カラーの画像データの圧縮についての2つの実施例を説明するための図である。
Processing contents of data compression and data expansion in the two embodiments will be described.
<Data compression>
FIG. 23 is a diagram for explaining two examples of color image data compression.

実施例1では、図23に示されるように、サブメモリー8に格納された、あるブロックの4つの色の画像データ(Y色に対応するデータ8Y、M色に対応するデータ8M、C色に対応するデータ8C、および、K色に対応するデータ8K)は、1つの圧縮器13(図23では、圧縮器13−N)に入力される。圧縮器13は、出力データとして、1つの圧縮データ(圧縮データ(N))を出力する。   In the first embodiment, as shown in FIG. 23, image data of four colors of a certain block (data 8Y corresponding to Y color, data 8M corresponding to M color, and C color stored in the sub-memory 8). Corresponding data 8C and data 8K corresponding to K color) are input to one compressor 13 (compressor 13-N in FIG. 23). The compressor 13 outputs one compressed data (compressed data (N)) as output data.

実施例2では、サブメモリー8に格納された、あるブロックの4つの色の画像データ(Y色に対応するデータ8Y、M色に対応するデータ8M、C色に対応するデータ8C、および、K色に対応するデータ8K)のそれぞれは、4つの圧縮器13(図23では、圧縮器13−1,13−2,13−3,13−4)に入力される。圧縮器13−1は、Y色の画像データの圧縮データ(圧縮データ(NY))を出力する。圧縮器13−2は、M色の画像データの圧縮データ(圧縮データ(NM))を出力する。圧縮器13−3は、C色の画像データの圧縮データ(圧縮データ(NC))を出力する。圧縮器13−4は、K色の画像データの圧縮データ(圧縮データ(NK))を出力する。   In the second embodiment, image data of four colors of a block (data 8Y corresponding to Y color, data 8M corresponding to M color, data 8C corresponding to C color, and K stored in the sub-memory 8) Each of the data 8K corresponding to the color is input to four compressors 13 (in FIG. 23, the compressors 13-1, 13-2, 13-3, and 13-4). The compressor 13-1 outputs compressed data (compressed data (NY)) of Y-color image data. The compressor 13-2 outputs compressed data (compressed data (NM)) of M-color image data. The compressor 13-3 outputs compressed data (compressed data (NC)) of C-color image data. The compressor 13-4 outputs compressed data (compressed data (NK)) of K-color image data.

なお、実施例2では、画像データ管理情報(図15参照)の各ブロックの圧縮データ格納アドレスは、図24に示されるように、色番号0〜3の、4つの格納アドレスを含む。4つの格納アドレスは、YMCKそれぞれの色の圧縮データの格納アドレスである。   In the second embodiment, the compressed data storage address of each block of the image data management information (see FIG. 15) includes four storage addresses of color numbers 0 to 3, as shown in FIG. The four storage addresses are storage addresses for compressed data of each color of YMCK.

<データ伸長>
図25は、カラーの画像データの伸長についての2つの実施例を説明するための図である。
<Data decompression>
FIG. 25 is a diagram for explaining two examples of decompression of color image data.

実施例1を説明するために、図25では、圧縮データ(N1)と圧縮データ(N2)とが示されている。圧縮データ(N1)および圧縮データ(N2)は、いずれも、4色の情報を含む。各データは、それぞれが、伸長器12で伸長された後、シフト演算器11で演算処理され、4つの色のそれぞれの伸長画像データが出力される。各伸長画像データは、サブメモリー8の各色に対応する領域に、書き込まれる。   In order to explain the first embodiment, FIG. 25 shows compressed data (N1) and compressed data (N2). Each of the compressed data (N1) and the compressed data (N2) includes information of four colors. Each data is decompressed by the decompressor 12 and then subjected to arithmetic processing by the shift computing unit 11 to output decompressed image data of each of the four colors. Each decompressed image data is written in an area corresponding to each color in the sub memory 8.

図25に示された例では、圧縮データ(N1)は、伸長器12−1で伸長された後、シフト演算器11−1に入力される。シフト演算器11−1からは、4つの色のそれぞれの伸長画像データが出力される。また、圧縮データ(N2)は、伸長器12−2で伸長された後、シフト演算器11−2に入力される。シフト演算器11−2からは、4つの色のそれぞれの伸長画像データが出力される。   In the example shown in FIG. 25, the compressed data (N1) is expanded by the expander 12-1, and then input to the shift calculator 11-1. From the shift computing unit 11-1, decompressed image data of each of the four colors is output. The compressed data (N2) is expanded by the expander 12-2 and then input to the shift calculator 11-2. The shift computing unit 11-2 outputs decompressed image data of each of the four colors.

そして、シフト演算器11−1とシフト演算器11−2とが同時に処理を行う場合には、処理対象となるブロックが、図8を参照して説明されたように調整される。   Then, when the shift computing unit 11-1 and the shift computing unit 11-2 perform processing simultaneously, the block to be processed is adjusted as described with reference to FIG.

実施例2を説明するために、図25では、圧縮データY、圧縮データM、圧縮データY、および、圧縮データKが示されている。圧縮データYは伸長器12−1で、圧縮データMは伸長器12−2で、圧縮データYは伸長器12−3で、そして、圧縮データKは伸長器12−4で、それぞれ伸長処理される。   In order to explain the second embodiment, FIG. 25 shows compressed data Y, compressed data M, compressed data Y, and compressed data K. The compressed data Y is decompressed by the decompressor 12-1, the compressed data M is decompressed by the decompressor 12-2, the compressed data Y is decompressed by the decompressor 12-3, and the compressed data K is decompressed by the decompressor 12-4. The

図25に示された例では、伸長器12−1と伸長器12−2からのデータが、シフト演算器11−1に入力される。また、伸長器12−3と伸長器12−4からのデータが、シフト演算器11−2に入力される。シフト演算器11−1,11−2のそれぞれは、入力された伸長データに演算処理を施した後、サブメモリー8の各データの色が対応する領域に書き込む。   In the example shown in FIG. 25, the data from the expander 12-1 and the expander 12-2 are input to the shift calculator 11-1. Data from the decompressor 12-3 and the decompressor 12-4 is input to the shift computing unit 11-2. Each of the shift arithmetic units 11-1 and 11-2 performs arithmetic processing on the input decompressed data, and then writes it in the area corresponding to the color of each data in the sub memory 8.

そして、シフト演算器11−1とシフト演算器11−2とが同時に処理を行う場合には、処理対象となるブロックが、図8を参照して説明されたように調整される。   Then, when the shift computing unit 11-1 and the shift computing unit 11-2 perform processing simultaneously, the block to be processed is adjusted as described with reference to FIG.

今回開示された各実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   Each embodiment disclosed this time must be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 ASIC、2 動作制御部、4 メインメモリー、7 プリンター、8 サブメモリー、10 MFP、11,11−1,11−2 シフト演算器、12,12−1〜12−N 伸長器、13,13−1〜13−N 圧縮器、14 入力器、15 プリンター出力器、41 ファイルメモリー。   1 ASIC, 2 operation control unit, 4 main memory, 7 printer, 8 sub memory, 10 MFP, 11, 11-1, 11-2 shift arithmetic unit, 12, 12-1 to 12-N decompressor, 13, 13 -1 to 13-N compressor, 14 input device, 15 printer output device, 41 file memory.

Claims (8)

処理対象の画像データにおける複数の部分のそれぞれについてシフト演算処理を実行する2以上のシフト演算器と、
各前記シフト演算器における画像処理後のデータを出力するためのメモリと、
前記2以上のシフト演算器の動作を制御するための制御装置とを備えた画像処理装置において、
前記シフト演算器は、前記部分よりも予め定められた拡張部分だけ延長された領域に対応する画像データを前記メモリから読み込み、当該読み込んだ画像データと前記部分のシフト演算処理後の画像データとを用いて論理演算処理することによって書き込み用の画像データを生成し、当該書き込み用の画像データを前記メモリに書き込むように構成されており、
前記制御装置は、各前記シフト演算器に、前記複数の部分のうち、前記2以上のシフト演算器のうち動作中のものによって処理対象とされている前記部分に対して少なくとも前記拡張部分以上離間している部分について、シフト演算処理を実行させるように構成されている、画像処理装置。
Two or more shift calculators that perform shift calculation processing on each of the plurality of portions in the image data to be processed;
A memory for outputting data after image processing in each of the shift computing units;
An image processing apparatus comprising a control device for controlling operations of the two or more shift computing units,
The shift calculator reads image data corresponding to an area extended by a predetermined extension portion from the portion from the memory, and reads the read image data and image data after the shift calculation processing of the portion. It is configured to generate image data for writing by performing logical operation processing using the image data, and write the image data for writing into the memory,
The control device is arranged such that each shift arithmetic unit is separated by at least the extension portion from the portion that is the object of processing by the operating unit of the two or more shift arithmetic units among the plurality of portions. An image processing apparatus configured to cause shift calculation processing to be performed on a portion that is being processed.
前記処理対象の画像データは、画像が走査されることによって生成され、
前記制御装置は、前記複数の部分のうち、前記走査の副走査方向の先頭に近い部分から優先的に、各前記シフト演算器の処理対象とするように構成されている、請求項1に記載の画像処理装置。
The image data to be processed is generated by scanning an image,
2. The control device according to claim 1, wherein the control device is configured so as to be preferentially processed by each of the shift calculators from a portion close to a head in the sub-scanning direction of the scan among the plurality of portions. Image processing apparatus.
前記画像データは、2以上の色のデータを含み、
前記シフト演算器は、各前記部分の前記2以上の色のデータを1回のシフト演算処理のための入力として受け付ける、請求項1または請求項2に記載の画像処理装置。
The image data includes data of two or more colors,
The image processing apparatus according to claim 1, wherein the shift calculator accepts the data of the two or more colors of each of the portions as an input for one shift calculation process.
前記画像データは、1以上の色のデータを含み、
前記シフト演算器は、各前記部分の画像データについて、各前記色ごとに、1回のシフト演算処理のための入力として受け付ける、請求項1または請求項2に記載の画像処理装置。
The image data includes data of one or more colors,
The image processing apparatus according to claim 1, wherein the shift calculator accepts the image data of each portion as an input for one shift calculation process for each of the colors.
前記シフト演算器は、さらに、画像データに対して、回転処理、トリミング処理、またはマスク処理の機能を有するように構成されている、請求項1〜請求項4のいずれか1項に記載の画像処理装置。   The image according to any one of claims 1 to 4, wherein the shift computing unit is further configured to have a function of rotation processing, trimming processing, or mask processing on image data. Processing equipment. 前記処理対象の画像データを、所定の処理を施した後、各前記シフト演算器へ出力する2以上のデータ処理器をさらに備え、
前記2以上のデータ処理器のそれぞれは、各前記シフト演算器に対応して設けられ、
各前記データ処理器は、当該前記データ処理器が対応する前記シフト演算器に、前記所定の処理後のデータを出力する、請求項1〜請求項5のいずれか1項に記載の画像処理装置。
The image data to be processed is further provided with two or more data processors that perform predetermined processing and then output to each of the shift computing units,
Each of the two or more data processors is provided corresponding to each shift arithmetic unit,
6. The image processing apparatus according to claim 1, wherein each of the data processors outputs the data after the predetermined processing to the shift computing unit to which the data processor corresponds. .
前記データ処理器は、データ伸長器であり、
前記処理対象の画像データは、圧縮された画像データであり、
前記データ処理器は、各前記部分の圧縮された画像データを伸長した後、当該データ処理器が対応する前記シフト演算器へと出力する、請求項6に記載の画像処理装置。
The data processor is a data decompressor;
The image data to be processed is compressed image data,
The image processing apparatus according to claim 6, wherein the data processor decompresses the compressed image data of each of the portions and then outputs the decompressed image data to the corresponding shift calculator.
画像データを処理するための画像処理装置と、前記画像処理装置によって処理された画像データに用いて画像を出力する画像出力装置を備えた画像形成装置であって、
前記画像処理装置は、
処理対象の画像データにおける複数の部分のそれぞれについてシフト演算処理を実行する2以上のシフト演算器と、
各前記シフト演算器における画像処理後のデータを出力するためのメモリと、
前記2以上のシフト演算器の動作を制御するための制御装置とを備え、
前記シフト演算器は、前記部分よりも予め定められた拡張部分だけ延長された領域に対応する画像データを前記メモリから読み込み、当該読み込んだ画像データと前記部分のシフト演算処理後の画像データとを用いて論理演算処理することによって書き込み用の画像データを生成し、当該書き込み用の画像データを前記メモリに書き込むように構成されており、
前記制御装置は、各前記シフト演算器に、前記複数の部分のうち、前記2以上のシフト演算器のうち動作中のものによって処理対象とされている前記部分に対して少なくとも前記拡張部分以上離間している部分について、シフト演算処理を実行させるように構成されており、
前記画像出力装置は、前記シフト演算器による書き込みが完了した画像データを用いて、画像を出力する、画像形成装置。
An image forming apparatus comprising: an image processing apparatus for processing image data; and an image output apparatus that outputs an image using the image data processed by the image processing apparatus,
The image processing apparatus includes:
Two or more shift calculators that perform shift calculation processing on each of the plurality of portions in the image data to be processed;
A memory for outputting data after image processing in each of the shift computing units;
A control device for controlling the operation of the two or more shift computing units,
The shift calculator reads image data corresponding to an area extended by a predetermined extension portion from the portion from the memory, and reads the read image data and image data after the shift calculation processing of the portion. It is configured to generate image data for writing by performing logical operation processing using the image data, and write the image data for writing into the memory,
The control device is arranged such that each shift arithmetic unit is separated by at least the extension portion from the portion that is the object of processing by the operating unit of the two or more shift arithmetic units among the plurality of portions. It is configured to execute shift calculation processing for the part that is
The image output apparatus outputs an image using the image data that has been written by the shift computing unit.
JP2013212952A 2013-10-10 2013-10-10 Image processing apparatus and image forming apparatus Expired - Fee Related JP6135440B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013212952A JP6135440B2 (en) 2013-10-10 2013-10-10 Image processing apparatus and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013212952A JP6135440B2 (en) 2013-10-10 2013-10-10 Image processing apparatus and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2015076800A JP2015076800A (en) 2015-04-20
JP6135440B2 true JP6135440B2 (en) 2017-05-31

Family

ID=53001332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013212952A Expired - Fee Related JP6135440B2 (en) 2013-10-10 2013-10-10 Image processing apparatus and image forming apparatus

Country Status (1)

Country Link
JP (1) JP6135440B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056447A (en) * 2002-07-19 2004-02-19 Canon Inc Image processing device, image processing method, computer-readable storage medium, and program
JP6071208B2 (en) * 2012-02-17 2017-02-01 キヤノン株式会社 Projection device

Also Published As

Publication number Publication date
JP2015076800A (en) 2015-04-20

Similar Documents

Publication Publication Date Title
JP4405884B2 (en) Drawing processing circuit and image output control device
US10762401B2 (en) Image processing apparatus controlling the order of storing decompressed data, and method thereof
JP5522890B2 (en) Image processing apparatus and method
JP4594042B2 (en) Image processing method, image processing apparatus, and computer program
US9172839B2 (en) Image forming apparatus, control method and storage medium
JP6544905B2 (en) Image processing apparatus, image processing method, program
JP6135440B2 (en) Image processing apparatus and image forming apparatus
JP2018106222A (en) Information processing apparatus and communication control method
JP6904717B2 (en) Image processing equipment, its control method, and programs
JP5560785B2 (en) Information processing apparatus, image forming apparatus, and information processing method
JP2015022363A (en) Data transfer controller, data transfer control method, and program
JP5936363B2 (en) Image processing apparatus and image processing method
US20150269463A1 (en) Buffer management technology in image forming apparatus
JP2000255111A (en) Image processing apparatus and method
JP6882099B2 (en) Image processing equipment, image processing methods and programs
JP5045036B2 (en) Data processing device
JP4495048B2 (en) Data transfer apparatus, operation display apparatus using the same, and image forming apparatus
JP6015478B2 (en) Control device, control method, and printer driver program
JP2012227598A (en) Image processor, image forming apparatus, image processing method, image processing program and recording medium
JP2005047137A (en) Image arrangement method, image arrangement device, and image arrangement program
JP6191106B2 (en) Image processing apparatus and image processing method
JP6775558B2 (en) Image stretcher and its control method and program
JP2014069526A (en) Drawing processor, image forming apparatus, computer program, and drawing processing method
JP5841902B2 (en) Image forming apparatus
JP2016136359A (en) Image processing apparatus, control method thereof, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170104

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170410

R150 Certificate of patent or registration of utility model

Ref document number: 6135440

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees