JP6135440B2 - Image processing apparatus and image forming apparatus - Google Patents
Image processing apparatus and image forming apparatus Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 21
- 238000004364 calculation method Methods 0.000 claims description 13
- 239000003086 colorant Substances 0.000 claims description 13
- 238000009966 trimming Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 claims description 7
- 230000006837 decompression Effects 0.000 description 44
- 238000010586 diagram Methods 0.000 description 22
- 238000013523 data management Methods 0.000 description 20
- 101100217231 Caenorhabditis elegans asic-1 gene Proteins 0.000 description 12
- 238000013500 data storage Methods 0.000 description 6
- 230000015572 biosynthetic process Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 238000013144 data compression Methods 0.000 description 3
- 238000007906 compression Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
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.
従来の画像処理装置において、シフト演算器は、書き込み先のメモリーの種類(たとえば、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.
以下、本開示に係る画像処理装置および画像形成装置について、図面を参照して説明する。なお、各図において、同様の作用および機能を奏する構成要素については、同じ符号を付し、その説明は繰返さない。 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
動作制御部2は、CPU(Central Processing Unit)等の演算装置を備え、ASIC1の動作を制御する。より具体的には、動作制御部2は、ASIC1のレジスターを書き換えることによって、ASIC1の動作を制御する。
The
MFP10では、IR6は、画像を読み込んで、画像データ(元データ)を生成する。ASIC1は、IR6が生成した元データを、圧縮して、メインメモリー4へ格納する。ASIC1は、さらに、メインメモリー4に格納されたデータ(圧縮後の元データ)を、伸長し、印刷ジョブごとに画像処理を施して、サブメモリー8に格納する。そして、ASIC1は、画像処理後のデータを、プリンター7へ出力する。プリンター7は、ASIC1から入力されたデータに基づいて、画像を形成し、出力する。これにより、MFP10は、IR6において入力された画像を、プリンター7から出力する。
In the
[ASICの構成]
次に、図1のASIC1の構成をより詳細に説明する。図2は、ASIC1の構成を示す図である。
[Configuration of ASIC]
Next, the configuration of the
図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
圧縮器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 “
伸長器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 “
シフト演算器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
IR入力器14は、IR6から、当該IR6で生成された画像データを受信する。そして、IR入力器14は、入力された画像データを、サブメモリー8に格納する。
The IR input unit 14 receives image data generated by the
図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
図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
シフト演算器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
シフト演算器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
また、伸長器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
図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
[処理対象のブロックの設定]
MFP10において、サブメモリー8への画像データの書き込みに複数のシフト演算器11が利用される際の、各シフト演算器11の処理対象のブロックの設定について説明する。
[Setting of processing target block]
The setting of the block to be processed by each
図4に示されたように、シフト演算器11は、あるブロックの画像データに加えて、当該ブロックについての拡張部分の画像データを、1回の書き込みで、サブメモリー8に書き込む。したがって、書き込み対象のブロックが隣接する画像データを扱う2以上のシフト演算器11が同時に書き込みを行う場合、当該2以上のシフト演算器11のそれぞれの処理対象の拡張部分同士が、同時に、当該2以上のシフト演算器11による書き込みおよび読み込みの対象となり得る。このことを、図5〜図8を参照して、より詳細に説明する。
As shown in FIG. 4, the
図5は、2つのシフト演算器11の動作タイミングの一例を示す図である。図6〜図8のそれぞれは、サブメモリー8上に書き込まれた画像データの、形成される画像における配置を模式的に示す図である。
FIG. 5 is a diagram illustrating an example of operation timings of the two
図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
そこで、本実施の形態では、サブメモリー8への画像データの書き込みの際に、生成される画像において同時に動作する2以上のシフト演算器11の処理対象の領域が重ならないように、各シフト演算器11の処理対象の領域が決定される。より具体的には、新たにシフト演算器11に動作を開始させる場合、動作制御部2は、すでに動作している他のシフト演算器11が処理対象としている領域(ブロックおよびその拡張部分)から、拡張部分以上離れたブロックを、当該新たなシフト演算器11の処理対象として設定する。
Therefore, in the present embodiment, when writing image data to the
たとえば、画像が図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
図8において、動作中のシフト演算器11の処理対象の領域が、領域AR24で示されている。領域AR24のうち、領域AR23は、原稿画像の1つのブロックに相当する領域であり、それ以外の領域は、当該ブロックの拡張部分に相当する領域である。領域AR34は、新たに動作するシフト演算器11の処理対象とされる領域である。領域AR34のうち、領域AR34が、原稿画像の1つのブロックに相当する領域であり、それ以外の領域は、当該ブロックの拡張部分に相当する領域である。
In FIG. 8, the area to be processed by the
領域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
<ジョブ管理>
プリント動作では、MFP10は、プリンター7において用紙等の上に画像を形成して出力する。このようなプリント動作(プリントジョブ)の実行が指示されると、MFP10では、新たに開始するジョブを管理するための情報(ジョブ情報)が生成される。図9は、ジョブ情報の一例を模式的に示す図である。ジョブ情報は、たとえば、動作制御部2内に設けられる不揮発性のメモリーに格納される。
<Job management>
In the print operation, the
図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
“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
「原稿サイズ」は、原稿の用紙サイズである。用紙サイズは、「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” (
「原稿向き」は、原稿の向きを示す。図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
「トリミング設定」は、原稿において、出力の際にトリミングする領域の設定である。図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
「マスク設定」は、原稿において、出力の際にマスキングする領域の設定である。図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
<画像データの管理>
圧縮された画像データを管理する情報(画像データ管理情報)について説明する。画像データ管理情報は、原稿のページごとに定義される。図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
図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
「ジョブNo.」は、ファイルメモリー41に格納されたページが属するジョブの通し番号であり、図9のジョブ情報における「ジョブ情報」に対応している。
“Job No.” is the serial number of the job to which the page stored in the
「ページ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
図16に示されるように、原稿の画像900は、MFP10においてその画像データを処理される際に、破線で示されるように、複数のブロックへと分割され、ブロックごとのデータとして取り扱われる。「圧縮データ格納アドレス」では、各ブロックが、原稿における各ブロックの配置によって特定される。より具体的には、各ブロックは、主走査方向(図16の左右方向)の位置と、副走査方向(図16の上下方向)の位置とを用いた座標、つまり、(主走査方向の位置,副走査方向の位置)によって特定される。
As shown in FIG. 16, when the
図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
<伸長処理に関する設定>
MFP10では、伸長処理に関する設定内容(伸長情報)に基づいて、伸長器12およびシフト演算器11は、画像データを処理する。図17は、伸長情報の一例を示す図である。伸長情報は、たとえば、動作制御部2内に設けられる不揮発性のメモリーに格納される。
<Settings related to decompression processing>
In the
図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
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
図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
MFP10では、各伸長器12がどの(どちらの)シフト演算器11にデータを出力するかが固定されている。そして、図19の動作情報では、複数の伸長器12のそれぞれが、各伸長器12が伸長したデータの出力先のシフト演算器11と関連付けられている。より具体的には、MFP10に設けられたN個の伸長器12のうち、その半分(ここでは、M個という)は、シフト演算器11−1に関連付けられている。そして、MFP10に設けられたN個の伸長器12のうち残りの半分は、シフト演算器11−2に関連付けられている。図19では、各伸長器12および各シフト演算器11は、図2中の符号で示されている。
In the
図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
図20〜図22を参照して後述するように、動作制御部2は、画像形成処理において、複数の伸長器12と複数のシフト演算器11の動作状況に応じて、図19の動作情報の内容を適宜更新する。
As will be described later with reference to FIGS. 20 to 22, the
[画像形成処理]
MFP10は、ファイルメモリー41(図2参照)に圧縮データを格納された画像を、プリンター7から出力する。ここで、当該画像の出力のためにMFP10において実行される処理(画像形成処理)について、図20〜図22を主に参照して説明する。図20〜図22は、画像形成処理のフローチャートである。図20〜図22の画像形成処理は、たとえば、実行中のジョブについて、ページごとに実行される。
[Image formation processing]
The
MFP10の動作制御部2は、外部の装置からMFP10に対してジョブの実行の指示が入力されたこと、または、ユーザーIF3に対してジョブの開始の指示が入力されたことによって、画像形成ジョブを開始する。画像形成ジョブにおいて、動作制御部2は、実行中のジョブに含まれる先頭のページから順に、画像形成処理の対象のページを設定する。そして、対象のページを設定すると、動作制御部2は、当該ページについての画像形成処理を開始する。
The
まず図20を参照して、ステップS10で、動作制御部2は、開始を指示されたジョブ情報(図9参照)に従って伸長情報(図17参照)を生成する。そして、制御は、ステップS20へ進められる。
First, referring to FIG. 20, in step S10, the
ステップS20では、動作制御部2は、伸長情報(図17参照)を参照し、伸長処理がまだ実行されていない(伸長実施情報の値が「未」)ブロックが存在するか否かを判断する。そのようなブロックが存在すると判断すると(ステップS20でYES)、動作制御部2は、ステップS30へ制御を進める。一方、そのようなブロックが存在しないと判断すると(ステップS20でNO)、動作制御部2は、ステップS180へ制御を進める。
In step S20, the
ステップS180では、動作制御部2は、ステップS10において生成した伸長情報を上記した不揮発性メモリーから削除して、画像形成処理を終了させる。実行中のジョブにおいて、未出力のページが残っている場合には、次のページについての画像形成処理が実行される。実行中のジョブにおいて未出力のページが残っていない場合には、当該ジョブは終了する。
In step S180, the
ステップ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
ステップS40では、動作制御部2は、停止中の伸長器12のうち先頭のものを選択する。「先頭」とは、たとえば伸長器12−1〜12−Nのそれぞれに順に番号が割り振られている場合、最も番号が若い、という意味である。そして、制御は、ステップS50へ進められる。
In step S40, the
ステップS50では、動作制御部2は、伸長情報(図17参照)のブロック情報を参照して、まだ伸長処理の対象とされていないブロックの中から主走査方向の先頭にあるブロック(最も主走査方向のブロック番号が若いブロック)を選択する。そして、制御は、ステップS60へ進められる。図20中の「バンド」は、「ブロック番号」と同義である。
In step S50, the
ステップS60では、動作制御部2は、伸長情報(図17参照)のブロック情報を参照して、ステップS50で選択されたブロック(バンド)の中から、まだ伸長処理の対象とされていないブロックの中から主走査方向の先頭にあるブロック(最も主走査方向のブロック番号が若いブロック)を選択する。そして、制御は、ステップS70へ進められる。
In step S60, the
ステップS70では、動作制御部2は、これから伸長処理を実行するブロックと当該伸長処理を実行させる伸長器12を設定する。つまり、動作制御部2は、ステップS60で選択されたブロックを、ステップS50で選択された伸長器12に伸長させることを設定する。そして、制御は、ステップS80(図21参照)に進められる。
In step S <b> 70, the
ステップS80では、動作制御部2は、動作情報(図19参照)を参照して、現在動作を実行中のシフト演算器11があるか否かを判断する。動作実行中のシフト演算器11があると判断すると(ステップS80でYES)、動作制御部2は、ステップS90へ制御を進める。動作実行中のシフト演算器11はないと判断すると(ステップS80でNO)、動作制御部2は、ステップS130へ制御を進める。
In step S80, the
ステップS90では、動作制御部2は、動作情報(図19参照)を参照して、動作中のシフト演算器11の処理対象となっているブロック(伸長ブロック)を特定する。そして、制御は、ステップS100へ進められる。
In step S90, the
ステップS100では、動作制御部2は、ステップS70で設定したブロックが、ステップS90で特定したブロックに対して、サブメモリー8の書き込み位置について、拡張部分以上離れているか否かを判断する。当該判断は、図8を参照して説明した判断に相当する。拡張部分以上離れていると判断すると(ステップS100でYES)、動作制御部2は、ステップS130へ制御を進める。一方、拡張部分以上離れていないと判断すると(ステップS100でNO)、動作制御部2は、ステップS110へ制御を進める。
In step S100, the
ステップS110では、動作制御部2は、伸長情報(図17参照)のブロック情報を参照して、まだ伸長処理の対象とされていない次のブロックを選択する。「次のブロック」とは、まだ伸長処理の対象とされていないブロックであって、副走査方向のブロック番号が最も若いものの中で、最も主走査方向のブロック番号が若いブロックである。また、ステップS110では、動作制御部2は、ステップS70で伸長対象として設定したブロックをステップS110で選択したブロックへと変更する。そして、制御は、ステップS120へ進められる。
In step S110, the
ステップS120では、動作制御部2は、ステップS110において、上記条件に合致するブロックがあったか否かを判断する。そして、そのようなブロックがあると判断すると(ステップS120でYES)、動作制御部2は、ステップS80へ制御を戻す。一方、そのようなブロックがないと判断すると(ステップS120でNO)、動作制御部2は、ステップS150(図22参照)へ制御を進める。
In step S120, the
ステップS130では、動作制御部2は、ステップS70で設定した伸長器12とシフト演算器11について、動作情報(図19参照)の動作状態を「動作中」に更新する。そして、制御はステップS140へ進められる。
In step S130, the
ステップS140では、動作制御部2は、ステップS70で設定した伸長器12とシフト演算器11を、圧縮データの処理のために起動する。処理対象の圧縮データは、ステップS70で設定されたブロックのものである。ただし、ステップS110において対象のブロックが更新されていれば、更新後のブロックの圧縮データが処理対象となる。そして、制御は、ステップS150(図22参照)へ進められる。
In step S140, the
図22を参照して、ステップS150では、動作制御部2は、動作中であった伸長器12の動作の完了を検出したか否かを判断する。そして、動作中の伸長器12についての動作の完了を検出しなければ、動作制御部2は、ステップS150での判断を継続する。そして、伸長器12の動作の完了を検出すれば、動作制御部2は、ステップS160へ制御を進める。
Referring to FIG. 22, in step S150,
ステップS160では、動作制御部2は、実行中であった伸長器12およびシフト演算器11の伸長を完了させる。そして、制御は、ステップS170へ進められる。
In step S160, the
ステップS170では、動作制御部2は、動作が完了した伸長器12およびシフト演算器11についての動作情報(図19参照)における「動作状態」の値を「停止」へと変更する。そして、制御はステップS10(図20)へ戻される。
In step S <b> 170, the
[実施例]
以上説明した本実施の形態では、カラーの画像データ(たとえば、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 “
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,
実施例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,
なお、実施例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
<データ伸長>
図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
図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
そして、シフト演算器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以上のシフト演算器のうち動作中のものによって処理対象とされている前記部分に対して少なくとも前記拡張部分以上離間している部分について、シフト演算処理を実行させるように構成されている、画像処理装置。 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以上の色のデータを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または請求項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.
前記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.
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)
| 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 |
-
2013
- 2013-10-10 JP JP2013212952A patent/JP6135440B2/en not_active Expired - Fee Related
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 |