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

Image processing apparatus and image forming apparatus Download PDF

Info

Publication number
JP4316476B2
JP4316476B2 JP2004334161A JP2004334161A JP4316476B2 JP 4316476 B2 JP4316476 B2 JP 4316476B2 JP 2004334161 A JP2004334161 A JP 2004334161A JP 2004334161 A JP2004334161 A JP 2004334161A JP 4316476 B2 JP4316476 B2 JP 4316476B2
Authority
JP
Japan
Prior art keywords
image processing
image
unit
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
JP2004334161A
Other languages
Japanese (ja)
Other versions
JP2006146468A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2004334161A priority Critical patent/JP4316476B2/en
Publication of JP2006146468A publication Critical patent/JP2006146468A/en
Application granted granted Critical
Publication of JP4316476B2 publication Critical patent/JP4316476B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像データの画像処理について、処理の対象となる注目画素の近傍の画素を用いて注目画素の画像処理を行う画像処理装置、及びこの画像処理装置を備える画像形成装置に関する。   The present invention relates to an image processing apparatus that performs image processing on a target pixel using pixels in the vicinity of the target pixel to be processed, and an image forming apparatus including the image processing apparatus.

処理の対象となる注目画素の近傍の画素を用いて注目画素の画像処理を行う近傍画像処理は、一般に用いられている画像処理方法で、カメラ、スキャナ等の各種画像入力装置や、画像の加工を行う画像加工装置、プリンタ、ディスプレイ等の画像出力装置等多くの機器で用いられている。   Neighboring image processing that performs image processing of a target pixel using pixels in the vicinity of the target pixel to be processed is a commonly used image processing method. Various image input devices such as cameras and scanners, and image processing It is used in many devices such as image processing devices that perform image processing, image output devices such as printers and displays.

近傍画像処理においては、注目画素の処理に遠くの画素を参照することはないため、複数のCPU(中央処理装置)に画像を分割させることができ、各分割単位の画像処理は、他の分割単位には依存しないので、各CPUにおいては、他のCPUと連携することなく処理を行うことができる。   In the near image processing, since a distant pixel is not referred to for the processing of the target pixel, the image can be divided by a plurality of CPUs (central processing units). Since it does not depend on the unit, each CPU can perform processing without cooperating with other CPUs.

また、画像データを適当に分割し(例えば複数の同じ大きさのスクェア領域に分割して各CPUに振り分ける。)、処理を行った場合には、空いているCPUや処理速度の速いCPUに多くの分割データを処理させることにより画像データ全体の処理をより早く終了することができる。   Further, when image data is appropriately divided (for example, divided into a plurality of square areas of the same size and distributed to each CPU), and processing is performed, it is often used for free CPUs or CPUs with high processing speed. By processing the divided data, the processing of the entire image data can be completed earlier.

図4は、画像データの分割イメージを示す図である。図全体は、1つの画像データを表し、細分化された各領域は画素を表している。画素31を注目画素とした場合、その周辺の網掛け領域の8つの画素32が例えば画素31の画像処理に用いられる近傍画素である。また、太線で区切られた各領域は、分割された画像データ(分割データ)で、この単位毎に各CPUに分散されて並列に画像処理が行われる。このとき、この分割データの最外縁にある画素に対する画像処理を行うには、(近傍画素として注目画素に隣接した8つの画素を用いる場合、)その1つ外側の(すなわち、太線の1つ外側の)画素を用いる必要があるため、各CPUには、その分割領域の1つ外側の画素列も渡す必要がある。したがって、実際には、太線周辺の網掛け領域の画素は各分割領域に対して2又は4回重複して取り込まれることとなる。   FIG. 4 is a diagram illustrating a divided image of image data. The whole figure represents one image data, and each subdivided area represents a pixel. When the pixel 31 is the target pixel, the eight pixels 32 in the surrounding shaded area are, for example, neighboring pixels used for image processing of the pixel 31. Each area delimited by the thick line is divided image data (divided data), and is distributed to each CPU for each unit and subjected to image processing in parallel. At this time, in order to perform image processing for the pixel at the outermost edge of the divided data (when eight pixels adjacent to the target pixel are used as neighboring pixels), one pixel outside (that is, one outside of the thick line) Since it is necessary to use pixels, it is also necessary to give each CPU a pixel row that is one outside of the divided area. Therefore, in practice, the pixels in the shaded area around the thick line are captured twice or four times for each divided area.

例えば、近傍画素として注目画素に隣接した8つの画素を用いる場合、斜線領域33に示す、分割データの3列の画素がCPUの内部メモリに格納されるデータである。このとき、真ん中の列の画素が処理される。真ん中の列の画素の処理が終了した後、上の列の画素が破棄され、斜線領域33の次の(下の)列の画素が内部メモリに取り込まれ、上記真ん中の列の次の(下の)列の画素の画像処理が行われる。   For example, when eight pixels adjacent to the target pixel are used as neighboring pixels, the three columns of divided data shown in the hatched area 33 are data stored in the internal memory of the CPU. At this time, the pixels in the middle column are processed. After the processing of the pixels in the middle column is finished, the pixels in the upper column are discarded, the pixels in the next (lower) column of the hatched area 33 are taken into the internal memory, and the next (lower) in the middle column is taken. Image processing of the pixels in the column (b) is performed.

しかしながら、上記のように各CPUに画像を分割して画像処理を行う場合、各分割単位の境界付近のデータは各CPUで重複して持つ必要がある。このためこの重複部分のデータは複数回、外部メモリ等の記憶手段からCPUの内部メモリに取り込まれるため、これに余分な時間がかかってしまうという問題がある。   However, when image processing is performed by dividing an image into each CPU as described above, data near the boundary of each division unit must be duplicated in each CPU. For this reason, since the data of the overlapping portion is fetched from the storage means such as the external memory into the internal memory of the CPU a plurality of times, there is a problem that it takes extra time.

本発明は、上記問題点に鑑みて成されたもので、画像処理をより速く行うことのできる画像処理装置、及びこの画像処理装置を備える画像形成装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus capable of performing image processing faster and an image forming apparatus including the image processing apparatus.

請求項1に係る画像処理装置は、画像処理の対象となる注目画素の値及びその近傍の画素の値を用いて注目画素の値を決定する画像処理装置において、
それぞれ内部メモリを備える複数の画像処理手段と、
前記各内部メモリの容量と、分割後の各画像データの主走査方向1ライン分に対する画像処理に必要な画素の合計サイズとがほぼ一致するように画像データを分割する分割手段と、
前記分割手段により分割された前記各画像データを、その主走査方向1ライン分に対する画像処理に必要な画素の合計サイズがほぼ一致する内部メモリの容量を備える前記画像処理手段にそれぞれ分散して画像処理を行わせる制御手段と、
前記各画像処理手段で処理された各画像データを1つの画像データに合成する合成手段とを備え
前記分割手段は、同一の画像処理手段で処理を行う分割後の画像データの副走査方向の長さがより長くなるように画像データを分割するものである。
The image processing apparatus according to claim 1 is an image processing apparatus that determines a value of a target pixel using a value of a target pixel to be subjected to image processing and a value of a pixel in the vicinity thereof.
A plurality of image processing means each having an internal memory;
Dividing means for dividing the image data so that the capacity of each internal memory and the total size of pixels necessary for image processing for one line in the main scanning direction of each divided image data substantially match;
Each of the image data divided by the dividing means is distributed to the image processing means having a capacity of an internal memory in which the total size of pixels necessary for image processing for one line in the main scanning direction is substantially the same. Control means for performing processing;
Combining each image data processed by each image processing means into one image data ,
The dividing means divides the image data so that the length of the divided image data processed by the same image processing means becomes longer in the sub-scanning direction .

この構成によれば、分割手段により分割された各画像データは、その主走査方向1ライン分に対する画像処理に必要な画素の合計サイズがほぼ一致する内部メモリの容量を備える前記画像処理手段に制御手段によりそれぞれ分散されて画像処理が行わされ、処理された画像データは合成手段により1つの画像データに合成される。   According to this configuration, each image data divided by the dividing unit is controlled by the image processing unit having a capacity of an internal memory in which the total size of pixels necessary for image processing for one line in the main scanning direction substantially matches. The image processing is performed by being distributed by each of the means, and the processed image data is combined into one image data by the combining means.

請求項に係る画像処理装置は、請求項に記載の画像処理装置であって、前記複数の各画像処理手段の処理速度を記憶する記憶手段を更に備え、前記分割手段は、前記記憶手段に記憶されている各画像処理手段の処理速度に基づき、当該画像処理が各画像処理手段において近い時期に終了するように画像データを分割するものである。 An image processing apparatus according to a second aspect is the image processing apparatus according to the first aspect , further comprising storage means for storing processing speeds of the plurality of image processing means, wherein the dividing means is the storage means. The image data is divided on the basis of the processing speed of each image processing means stored in the image processing so that the image processing is completed at a time close to each image processing means.

請求項に係る画像処理装置は、請求項1又は2に記載の画像処理装置であって、前記分割手段は、前記複数の画像処理手段のうち、処理中でない画像処理手段のみを対象として分割を行い、前記制御手段は、前記分割手段により分割された画像データを前記処理中でない画像処理手段のみに分散処理させるものである。 An image processing apparatus according to claim 3 is the image processing apparatus according to claim 1 or 2 , wherein the dividing unit divides only the image processing unit that is not being processed among the plurality of image processing units. The control means distributes the image data divided by the dividing means only to the image processing means not being processed.

請求項に係る画像処理装置は、請求項1〜のいずれかに記載の画像処理装置であって、前記分割手段は、前記複数の各画像処理手段の備える内部メモリの容量の最大公約数と、分割後の各画像データの主走査方向1ライン分に対する画像処理に必要な画素の合計サイズとがほぼ一致するように画像データを分割する細分割手段と、前記各内部メモリの容量と、分割後の各画像データの主走査方向1ライン分に対する画像処理に必要な画素の合計サイズとがほぼ一致するように、前記細分割手段により分割された画像データを結合する結合手段とを備える。 An image processing apparatus according to a fourth aspect is the image processing apparatus according to any one of the first to third aspects, wherein the dividing unit is a greatest common divisor of a capacity of an internal memory included in each of the plurality of image processing units. Subdivision means for dividing the image data so that the total size of pixels necessary for image processing for one line in the main scanning direction of each divided image data substantially matches, the capacity of each internal memory, The image processing apparatus includes a combining unit that combines the image data divided by the subdivision unit so that the total size of pixels necessary for image processing for one line in the main scanning direction of each divided image data is substantially the same.

この構成によれば、細分割手段により細かい単位の領域に画像データが分割され、この画像データが結合手段により結合されることで、各画像処理手段に対応するように元の画像データが分割される。   According to this configuration, the image data is divided into fine unit areas by the subdivision unit, and the image data is combined by the combining unit, whereby the original image data is divided so as to correspond to each image processing unit. The

請求項に係る画像形成装置は、請求項1〜のいずれかに記載の画像処理装置を備えるものである。この構成によれば、請求項1〜のいずれかの作用を奏する画像形成装置を提供することができる。 An image forming apparatus according to a fifth aspect includes the image processing apparatus according to any one of the first to fourth aspects. According to this configuration, it is possible to provide an image forming apparatus that exhibits any one of claims 1 to 4 .

請求項1に記載の発明によれば、画像データを主走査方向に分割することによって、他の画像処理手段との間で重複して読み込まれる領域をより少なくすることができ、その重複部分の画像データに対するアクセス時間を削減することができるので、より速く画像処理を行える画像処理装置を提供することができる。   According to the first aspect of the invention, by dividing the image data in the main scanning direction, it is possible to reduce the area that is redundantly read with other image processing means and Since the access time for the image data can be reduced, it is possible to provide an image processing apparatus that can perform image processing faster.

さらに、請求項に記載の発明によれば、画像データを副走査方向に分割することによって、同一又は他の画像処理手段との間で重複して読み込まれる領域をより少なくすることができ、その重複部分の画像データに対するアクセス時間を削減することができるので、より速く画像処理を行える画像処理装置を提供することができる。 Furthermore, according to the invention described in claim 1 , by dividing the image data in the sub-scanning direction, it is possible to reduce the area that is redundantly read between the same or other image processing means, Since the access time for the image data of the overlapping portion can be reduced, it is possible to provide an image processing apparatus that can perform image processing faster.

請求項に記載の発明によれば、各画像処理手段に分割された画像データに対する画像処理が近い時期(すなわち、ほぼ同時期)に終了するので、空いている画像処理手段(早く処理を終えてしまった画像処理手段)をつくることなく、資源(画像処理手段)をより有効に使用でき、より速く画像処理を行える画像処理装置を提供することができる。 According to the second aspect of the present invention, since the image processing for the image data divided by each image processing means is completed at a near time (that is, almost at the same time), a vacant image processing means (the processing is finished early). Therefore, it is possible to provide an image processing apparatus that can use resources (image processing means) more effectively and perform image processing faster without creating image processing means).

請求項に記載の発明によれば、処理中でない(空いている)画像処理手段のみを用いて画像処理を分散させて行うので、容易にかつより速く画像処理を行える画像処理装置を提供することができる。 According to the third aspect of the present invention, since image processing is performed using only image processing means that is not being processed (free), an image processing apparatus that can perform image processing easily and more quickly is provided. be able to.

請求項に記載の発明によれば、各画像処理手段に対応するように容易に画像データを分割することができる。 According to the fourth aspect of the present invention, the image data can be easily divided so as to correspond to each image processing means.

請求項に記載の発明によれば、請求項1〜4のいずれかの効果を奏する画像形成装置を提供することができる。 According to the fifth aspect of the present invention, it is possible to provide an image forming apparatus having the effect of any one of the first to fourth aspects.

以下、本発明に係る実施形態を図面に基づいて説明する。図1は、本発明の一実施形態に係る画像形成装置の一例である複合機の機能構成を示すブロック図である。複合機2は、複写機能、プリント機能、ファクシミリ機能等の複数の機能を備えるデジタル式の複写機である。複合機2は、画像データ取得部21、画像処理部1、及び画像出力部22を備える。   Embodiments according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a functional configuration of a multifunction peripheral that is an example of an image forming apparatus according to an embodiment of the present disclosure. The multifunction machine 2 is a digital copying machine having a plurality of functions such as a copying function, a printing function, and a facsimile function. The multifunction device 2 includes an image data acquisition unit 21, an image processing unit 1, and an image output unit 22.

画像データ取得部21は、ネットワーク又は電話回線等を通じて画像データを取得したり、図略の画像読取部により原稿から画像を読み取ることにより画像データを取得するものである。画像出力部22は、画像処理部1において画像処理された画像データを、記録紙に印刷して出力したり、ネットワーク又は電話回線等を通じて他の画像形成装置や情報処理装置(例えばPC(Personal Computer))等に送信して出力するものである。   The image data acquisition unit 21 acquires image data by acquiring image data through a network or a telephone line, or by reading an image from a document with an image reading unit (not shown). The image output unit 22 prints the image data processed by the image processing unit 1 on a recording sheet and outputs it, or outputs it to another image forming apparatus or information processing apparatus (for example, a PC (Personal Computer) via a network or a telephone line. )) Etc. and output.

画像処理部1は、画像データ取得部21により取得された画像データに対して画像処理を施すものである。ここで、画像処理とは例えば画像のノイズを除去したり、文字等のラインをスムースにする等の処理である。画像処理部1は、データ分割部12、処理制御部13、画像合成部14、処理ユニット部15,16,17、処理ユニット部状態取得部18、及び処理速度記憶部19を備える。画像処理部1は、複数の処理ユニット部を備え(本実施形態では3つ)、画像データを分割してその各画像データをその複数の処理ユニット部15,16,17に分散して画像処理を行う。   The image processing unit 1 performs image processing on the image data acquired by the image data acquisition unit 21. Here, the image processing is processing such as removing noise of an image or smoothing lines such as characters. The image processing unit 1 includes a data division unit 12, a processing control unit 13, an image composition unit 14, processing unit units 15, 16, 17, a processing unit unit state acquisition unit 18, and a processing speed storage unit 19. The image processing unit 1 includes a plurality of processing unit units (three in this embodiment), divides the image data, and distributes the image data to the plurality of processing unit units 15, 16, and 17 for image processing. I do.

処理ユニット部15,16,17は、画像処理を含む各種処理(例えばファクシミリ送受信処理等)を行う処理装置で、例えばCPU(Central Processing Unit)やASIC(Application Specific Integrated Circuit)である。各処理ユニット部15,16,17は、それぞれ画像処理専用のものであってもよいし、画像処理と共にその他の処理も行う汎用のものであってもよい。本実施形態においては、処理ユニット部15は画像処理専用で、処理ユニット部16,17は汎用のものとする。また、各処理ユニット部15,16,17は、一般にそれぞれ異なるサイズの内部メモリ151,161,171を備える。処理ユニット部15,16,17は、それぞれの備える内部メモリ151,161,171に対するアクセスは、外部の記憶装置(例えば外部メモリ)に対するより高速に行うことができる。そのため、内部メモリに格納されたデータだけを用いて処理を完結できる場合には、より高速に処理を行うことができる。本実施形態では、処理ユニット部16,17の内部メモリ161,171は、処理ユニット部15の内部メモリ151の2倍の容量を有することとする。加えて、各処理ユニット部15,16,17は、一般にそれぞれ異なる処理速度を有する。本実施形態では、処理ユニット部15,16は、処理ユニット部17の2倍の処理速度を有するものとする。   The processing unit units 15, 16, and 17 are processing devices that perform various types of processing including image processing (for example, facsimile transmission / reception processing), and are, for example, a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit). Each of the processing units 15, 16, and 17 may be dedicated for image processing, or may be a general-purpose device that performs other processing in addition to image processing. In this embodiment, the processing unit unit 15 is dedicated to image processing, and the processing unit units 16 and 17 are general-purpose units. In addition, the processing unit sections 15, 16, and 17 generally include internal memories 151, 161, and 171 having different sizes. The processing units 15, 16, and 17 can access the internal memories 151, 161, and 171 included in the processing units 15, 16, and 171 at higher speed with respect to an external storage device (for example, an external memory). Therefore, when processing can be completed using only data stored in the internal memory, processing can be performed at higher speed. In the present embodiment, the internal memories 161 and 171 of the processing unit units 16 and 17 have a capacity twice that of the internal memory 151 of the processing unit unit 15. In addition, the processing unit sections 15, 16, and 17 generally have different processing speeds. In the present embodiment, it is assumed that the processing unit units 15 and 16 have a processing speed twice that of the processing unit unit 17.

処理速度記憶部19は、画像処理部1の備える各処理ユニット部15,16,17の処理速度(例えばCPUの動作クロック数)を記憶するものである。処理ユニット部状態取得部18は、各処理ユニット部15,16,17が処理中であるか否かの状態を取得するものである。   The processing speed storage unit 19 stores the processing speed (for example, the number of operation clocks of the CPU) of each processing unit unit 15, 16, 17 included in the image processing unit 1. The processing unit unit state acquisition unit 18 acquires a state as to whether or not each processing unit unit 15, 16, 17 is processing.

データ分割部12は、処理ユニット部状態取得部18から各処理ユニット部15,16,17の状態を取得し、空いている(処理中でない)処理ユニット部に画像処理を分散した場合に、ほぼ同時期に画像処理が終了するように画像データを分割するものである。データ分割部12は、細分割部121及び結合部122を備える。細分割部121は、処理ユニット部状態取得部18から各処理ユニット部15,16,17の状態を取得し、空いている(処理中でない)処理ユニット部を当該画像処理を行う処理ユニット部として選択する。細分割部121は、前記選択された処理ユニット部(例えば処理ユニット部15,16,17)の各内部メモリのサイズの最大公約数(例えば処理ユニット部15の内部メモリのサイズ)に3ライン分(ここで、ラインとは、副走査方向に1画素分が主走査方向につながったものである。)が格納可能なライン長(画素数)から2画素引いた画素数(本実施形態では10画素)で主走査方向を分割する。そして、副走査方向を所定の任意の画素数(本実施形態では15画素)で分割する。   The data dividing unit 12 acquires the status of each of the processing unit units 15, 16, and 17 from the processing unit unit status acquisition unit 18, and when the image processing is distributed to the vacant (not processing) processing unit units, The image data is divided so that the image processing is completed at the same time. The data dividing unit 12 includes a fine dividing unit 121 and a combining unit 122. The subdivision unit 121 acquires the states of the processing unit units 15, 16, and 17 from the processing unit unit state acquisition unit 18, and sets the vacant (not processing) processing unit units as processing unit units that perform the image processing. select. The subdivision unit 121 divides the maximum common divisor (for example, the size of the internal memory of the processing unit unit 15) by 3 lines into the size of each internal memory of the selected processing unit unit (for example, the processing unit units 15, 16, and 17). (Here, a line is a line in which one pixel is connected in the main scanning direction in the sub-scanning direction.) The number of pixels (10 in this embodiment) obtained by subtracting two pixels from the storable line length (number of pixels). The main scanning direction is divided by pixel. Then, the sub-scanning direction is divided by a predetermined arbitrary number of pixels (15 pixels in the present embodiment).

結合部122は、処理速度記憶部19から前記選択された処理ユニット部15,16,17の処理速度を読み出す。そして、結合部122は、細分割部121が分割した各分割領域を、前記選択された処理ユニット部15,16,17の各内部メモリサイズに3ライン分が格納可能なライン長になるように主走査方向に結合し、さらに前記処理速度に基づき前記各処理ユニット部15,16,17における画像処理の終了時期がほぼ同時期になるように副走査方向に結合する。すなわち、結合部122は(処理ユニット部15,16の処理速度が処理ユニット部17の2倍の場合には)、処理ユニット部15に割り当てる分割領域としては、主走査方向に他の細分割領域とは結合せず、処理ユニット部16,17に割り当てる分割領域としては、主走査方向に2つずつの細分割領域を結合させ、かつ、処理ユニット部15,16に対応する分割領域はほぼ同じサイズで、処理ユニット部17に対応する分割領域は処理ユニット部15,16に対応する領域のほぼ半分になるように全領域を分割する。このとき、結合部122は、同じ処理ユニット部で処理する画像データの領域は副走査方向にできるだけつながったものにする。同じ処理ユニット部で処理する画像データは、縦につながっている限り、データを縦方向には重複して読み込む必要がないため、より速く画像処理を行うことができる。   The combining unit 122 reads the processing speeds of the selected processing unit units 15, 16 and 17 from the processing speed storage unit 19. Then, the combining unit 122 sets each divided area divided by the subdividing unit 121 to a line length that can store three lines in each internal memory size of the selected processing unit units 15, 16, and 17. They are combined in the main scanning direction, and are further combined in the sub-scanning direction based on the processing speed so that the end times of the image processing in the processing unit units 15, 16, and 17 are almost the same time. That is, the combining unit 122 (when the processing speed of the processing unit units 15 and 16 is twice that of the processing unit unit 17) is divided into other subdivided regions in the main scanning direction as divided regions to be allocated to the processing unit unit 15. Are divided into two subdivision areas in the main scanning direction, and the division areas corresponding to the processing unit sections 15 and 16 are substantially the same. The entire area is divided so that the divided area corresponding to the processing unit section 17 is approximately half of the area corresponding to the processing unit sections 15 and 16 in terms of size. At this time, the combining unit 122 makes the regions of the image data processed by the same processing unit unit as continuous as possible in the sub-scanning direction. As long as the image data to be processed by the same processing unit is connected vertically, it is not necessary to read the data redundantly in the vertical direction, so that the image processing can be performed faster.

図2は、画像分割の方法を示す図で、図2(a)は、分割の第1段階(すなわち、細分割部121による分割結果)、図2(b)は最終的な分割結果(すなわち、結合部122による結合結果)の一例を示している。図2に示される各図の全体は、画像の全体像を表しており、これを細分化した各領域はこの画像を構成する画素を表している。図2(b)に示す本実施形態における分割データは、図4に示す従来の分割データと比較して網掛け部分(すなわち重複部分)が少ないため、より速く画像処理を行うことができる。   2A and 2B are diagrams illustrating an image division method. FIG. 2A shows a first stage of division (that is, a division result by the fine division unit 121), and FIG. 2B shows a final division result (that is, a division result). , An example of a result of combining by the combining unit 122). Each figure shown in FIG. 2 represents the entire image, and each area obtained by subdividing the image represents pixels constituting the image. The divided data in the present embodiment shown in FIG. 2B has less shaded portions (that is, overlapping portions) than the conventional divided data shown in FIG. 4, so that image processing can be performed faster.

図1に戻り、処理制御部13は、データ分割部12で分割された各データを順次(1ラインずつ)各処理ユニット部15,16,17に与えて処理を行わせる。画像合成部14は、各処理ユニット部15,16,17で処理された画像データを各処理ユニット部から順次受信して、これを合成して1つの画像にする。すなわち、処理済みの各画素を元と同じ位置に来るように画像を合成する。画像合成部14は、処理済みの画像データの(分割前の画像内での)位置の情報をデータ分割部12から受信する。   Returning to FIG. 1, the processing control unit 13 sequentially applies the data divided by the data dividing unit 12 to the processing unit units 15, 16, and 17 (one line at a time) to perform processing. The image synthesizing unit 14 sequentially receives the image data processed by the processing unit units 15, 16, and 17 from the processing unit units, and synthesizes them to form one image. That is, the image is synthesized so that each processed pixel is at the same position as the original. The image composition unit 14 receives information on the position of the processed image data (within the image before the division) from the data division unit 12.

次に、画像形成装置2における画像処理の流れを説明する。図3は、画像形成装置2における画像処理の流れを示すフローチャートである。 Next, the flow of image processing in the image forming apparatus 2 will be described. Figure 3 is a flow chart showing the flow of image processing in the image forming apparatus 2.

ステップS1では、画像データ取得部21は、画像データを取得しデータ分割部12に送信する。ステップS2では、データ分割部12は、処理ユニット部状態取得部18から各処理ユニット部15,16,17の空き状態を取得する。ステップS3では、データ分割部12は、当該画像処理を行う処理ユニット部として、空いている処理ユニット部を選択する。データ分割部12は、画像データ取得部21から取得した画像データを、上記選択した各処理ユニット部に対応するように分割する。   In step S <b> 1, the image data acquisition unit 21 acquires image data and transmits it to the data division unit 12. In step S <b> 2, the data dividing unit 12 acquires the free state of each processing unit unit 15, 16, 17 from the processing unit unit state acquisition unit 18. In step S3, the data dividing unit 12 selects a free processing unit unit as a processing unit unit that performs the image processing. The data dividing unit 12 divides the image data acquired from the image data acquiring unit 21 so as to correspond to the selected processing unit units.

ステップS4では、処理制御部13は、データ分割部12により分割された、各処理ユニット部15,16,17に対応した各画像データの次の1ライン分を(1回目は3ライン分)、その対応した処理ユニット部に送信する。ステップS5では、各処理ユニット部15,16,17は1ライン分の画像処理を行う。ステップS6では、画像合成部14は、処理ユニット部15,16,17から処理の終わった1ライン分の画像データを受信し、この画像データに応じた格納位置に書き込む(すなわち、画像を合成する。)。ステップS7では、処理制御部13は、画像処理の行われていない画像データ(ライン)がまだあるか否かをチェックし、まだある場合には(ステップS7でYES)、ステップS4に戻る。ステップS7で、画像処理の行われていない画像データがもうない場合には(ステップS7でNO)、ステップS8へ進む。ステップS8では、画像合成部14は、合成した画像を画像出力部22へ送信し、画像出力部22は、この画像を(指示されている方法で)出力する。   In step S4, the processing control unit 13 performs the next one line of each image data corresponding to each processing unit unit 15, 16, and 17 divided by the data dividing unit 12 (first time is for three lines), Transmit to the corresponding processing unit. In step S5, each processing unit 15, 16, 17 performs image processing for one line. In step S6, the image synthesizing unit 14 receives image data for one line for which processing has been completed from the processing unit units 15, 16, and 17, and writes the image data in a storage position corresponding to the image data (that is, synthesizes the images). .) In step S7, the process control unit 13 checks whether there is still image data (line) for which image processing has not been performed. If there is still image data (YES in step S7), the process control unit 13 returns to step S4. If there is no more image data that has not undergone image processing in step S7 (NO in step S7), the process proceeds to step S8. In step S8, the image composition unit 14 transmits the synthesized image to the image output unit 22, and the image output unit 22 outputs this image (in the designated method).

このように本実施形態においては、使用できる処理ユニット部の備える内部メモリ部の容量に基づいて、画像データの主走査方向の分割位置を決定し、更に同じ処理ユニット部で処理する分割分に関しては副走査方向にはできるだけ分割しないようにしたので、画像を分割して処理させることにより、複数の分割分に重複して入る領域がより少なくなり、この部分を重複して読み出す必要がないので、処理速度をより速くすることができる。   As described above, in the present embodiment, the division position of the image data in the main scanning direction is determined based on the capacity of the internal memory unit included in the usable processing unit unit, and further, the division unit to be processed by the same processing unit unit. Since it was not divided as much as possible in the sub-scanning direction, by dividing the image and processing it, there are fewer areas that overlap into a plurality of divisions, and it is not necessary to read this part redundantly. The processing speed can be further increased.

なお、本発明は、上記実施形態のものに限定されるものではなく、以下に述べる態様を採用することができる。本実施形態においては、画素の画像処理に、注目画素の縦、横、斜め方向に隣接する8つの画素を近傍画素として用いたが、近傍画素は、必ずしもこの8つの画素である必要はなく、この8つの画素の更に外側の画素や、離れた場所にある画素であってもよい。処理ユニット部の内部メモリ部に読み込むラインは、注目画素及び近傍画素が含まれるラインであるので、近傍画素にどの画素を用いるかに応じて、処理ユニット部の内部メモリ部に読み込まれるライン及びライン数は異なる。   In addition, this invention is not limited to the thing of the said embodiment, The aspect described below can be employ | adopted. In the present embodiment, eight pixels adjacent in the vertical, horizontal, and diagonal directions of the target pixel are used as the neighboring pixels in the pixel image processing, but the neighboring pixels are not necessarily the eight pixels. It may be a pixel further outside these eight pixels or a pixel at a distant location. Since the line read into the internal memory unit of the processing unit unit is a line including the target pixel and the neighboring pixel, the line and line read into the internal memory unit of the processing unit unit according to which pixel is used as the neighboring pixel. The number is different.

上記実施形態においては、細分割部により一度細分割を行ってから、結合部により細分割領域を結合して最終的な分割領域を作成したが、必ずしも細分割を行う必要はなく、細分割(すなわち、最終的な分割領域より小さな、同じ形状及び大きさの領域への分割)を行うことなく、直接最終的な分割領域に分割を行うようにしてもよい。   In the above embodiment, the subdivision is performed once by the subdivision unit, and then the subdivision regions are combined by the combining unit to create the final subregion. However, subdivision is not necessarily performed. That is, the division may be directly performed on the final divided area without performing division into areas having the same shape and size smaller than the final divided area.

本発明に係る画像分割方法を常時行う必要はなく、処理を速く行う必要のあるときだけ行うようにしてもよい。例えば、コピー機能が使用される場合には、本発明に係る画像分割方法を用い、プリント機能が使用される場合には、本発明に係る画像分割方法を用いないようにしてもよい。   The image dividing method according to the present invention need not always be performed, and may be performed only when processing needs to be performed quickly. For example, the image dividing method according to the present invention may be used when the copy function is used, and the image dividing method according to the present invention may not be used when the print function is used.

本発明の一実施形態における画像形成装置の機能構成を示すブロック図である。1 is a block diagram illustrating a functional configuration of an image forming apparatus according to an embodiment of the present invention. 本発明の一実施形態における画像の分割例を示す図で、(a)は、画像分割の第1段階、(b)は、画像分割の最終結果を示す図である。2A and 2B are diagrams illustrating an example of image division according to an embodiment of the present invention, in which FIG. 3A is a diagram illustrating a first stage of image division, and FIG. 本発明の一実施形態における画像形成装置の処理の流れを示すフローチャートである。6 is a flowchart illustrating a processing flow of the image forming apparatus according to the embodiment of the present invention. 従来の画像処理装置における画像の分割例を示す図である。It is a figure which shows the example of an image division in the conventional image processing apparatus.

1 画像処理部(画像処理装置)
12 データ分割部
121 細分割部(細分割手段)
122 結合部(結合手段)
13 処理制御部
14 画像合成部
15,16,17 処理ユニット部(画像処理手段)
19 処理速度記憶部(記憶手段)
2 複合機(画像形成装置)
31 注目画素
32 近傍画素(近傍の画素)
1 Image processing unit (image processing device)
12 Data division unit 121 Subdivision unit (subdivision means)
122 coupling part (coupling means)
13 processing control unit 14 image composition unit 15, 16, 17 processing unit unit (image processing means)
19 Processing speed storage unit (storage means)
2 MFP (image forming device)
31 pixel of interest 32 neighboring pixels (neighboring pixels)

Claims (5)

画像処理の対象となる注目画素の値及びその近傍の画素の値を用いて注目画素の値を決定する画像処理装置において、
それぞれ内部メモリを備える複数の画像処理手段と、
前記各内部メモリの容量と、分割後の各画像データの主走査方向1ライン分に対する画像処理に必要な画素の合計サイズとがほぼ一致するように画像データを分割する分割手段と、
前記分割手段により分割された前記各画像データを、その主走査方向1ライン分に対する画像処理に必要な画素の合計サイズがほぼ一致する内部メモリの容量を備える前記画像処理手段にそれぞれ分散して画像処理を行わせる制御手段と、
前記各画像処理手段で処理された各画像データを1つの画像データに合成する合成手段とを備え
前記分割手段は、同一の画像処理手段で処理を行う分割後の画像データの副走査方向の長さがより長くなるように画像データを分割する画像処理装置。
In an image processing apparatus that determines a value of a target pixel using a value of a target pixel to be subjected to image processing and a value of a pixel in the vicinity thereof,
A plurality of image processing means each having an internal memory;
Dividing means for dividing the image data so that the capacity of each internal memory and the total size of pixels necessary for image processing for one line in the main scanning direction of each divided image data substantially match;
Each of the image data divided by the dividing means is distributed to the image processing means having a capacity of an internal memory in which the total size of pixels necessary for image processing for one line in the main scanning direction is substantially the same. Control means for performing processing;
Combining each image data processed by each image processing means into one image data ,
The division unit is an image processing apparatus that divides image data so that the length in the sub-scanning direction of the divided image data processed by the same image processing unit becomes longer .
前記複数の各画像処理手段の処理速度を記憶する記憶手段を更に備え、
前記分割手段は、前記記憶手段に記憶されている各画像処理手段の処理速度に基づき、当該画像処理が各画像処理手段において近い時期に終了するように画像データを分割する請求項1に記載の画像処理装置。
A storage means for storing the processing speed of each of the plurality of image processing means;
Said dividing means, based on the processing speed of the image processing unit stored in said storage means, according to claim 1 in which the image processing is to divide the image data so as to terminate at a time close in each image processing unit Image processing device.
前記分割手段は、前記複数の画像処理手段のうち、処理中でない画像処理手段のみを対象として分割を行い、
前記制御手段は、前記分割手段により分割された画像データを前記処理中でない画像処理手段のみに分散処理させる請求項1又は2に記載の画像処理装置。
The dividing unit divides only the image processing unit not being processed among the plurality of image processing units,
Said control means, the image processing apparatus according to the image data divided by said dividing means to claim 1 or 2 is dispersed only in the image processing unit not being the process.
前記分割手段は、前記複数の各画像処理手段の備える内部メモリの容量の最大公約数と、分割後の各画像データの主走査方向1ライン分に対する画像処理に必要な画素の合計サイズとがほぼ一致するように画像データを分割する細分割手段と、
前記各内部メモリの容量と、分割後の各画像データの主走査方向1ライン分に対する画像処理に必要な画素の合計サイズとがほぼ一致するように、前記細分割手段により分割された画像データを結合する結合手段とを備える請求項1〜のいずれかに記載の画像処理装置。
The dividing unit has a maximum common divisor of the capacity of the internal memory included in each of the plurality of image processing units and a total size of pixels necessary for image processing for one line in the main scanning direction of each divided image data. Subdivision means for dividing the image data to match,
The image data divided by the subdivision means is arranged so that the capacity of each internal memory and the total size of pixels necessary for image processing for one line in the main scanning direction of each divided image data are substantially the same. the image processing apparatus according to any one of claims 1 to 3, and a coupling means for coupling to.
請求項1〜のいずれかに記載の画像処理装置を備える画像形成装置。 An image forming apparatus including an image processing apparatus according to any one of claims 1-4.
JP2004334161A 2004-11-18 2004-11-18 Image processing apparatus and image forming apparatus Expired - Fee Related JP4316476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004334161A JP4316476B2 (en) 2004-11-18 2004-11-18 Image processing apparatus and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004334161A JP4316476B2 (en) 2004-11-18 2004-11-18 Image processing apparatus and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2006146468A JP2006146468A (en) 2006-06-08
JP4316476B2 true JP4316476B2 (en) 2009-08-19

Family

ID=36626089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004334161A Expired - Fee Related JP4316476B2 (en) 2004-11-18 2004-11-18 Image processing apparatus and image forming apparatus

Country Status (1)

Country Link
JP (1) JP4316476B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5754214B2 (en) * 2011-03-31 2015-07-29 富士通株式会社 Image processing apparatus and image processing program

Also Published As

Publication number Publication date
JP2006146468A (en) 2006-06-08

Similar Documents

Publication Publication Date Title
US9531911B2 (en) Data processing apparatus, data processing method and storage medium for storing image data
JP2009151571A (en) Image data supply device and method
JP2007200170A (en) Image processor and image processing program
JP4027133B2 (en) Image processing device
JP2001157042A (en) Image processor, image processing method and computer- readable recording medium recorded with program for executing computer the method
JP4316476B2 (en) Image processing apparatus and image forming apparatus
US8724161B2 (en) Method, apparatus, and computer program product for processing image data of plural images to combine for output to a recording medium
JP2000354168A (en) Image processing unit and copy system
JP2000351242A (en) Image forming apparatus
JP4402676B2 (en) Image processing apparatus and image processing method
JPH11168610A (en) Image processor
JP7249504B2 (en) Image processing device
JP2012227598A (en) Image processor, image forming apparatus, image processing method, image processing program and recording medium
US7145700B1 (en) Image processing system including synchronous type processing unit and asynchronous type processing unit and image processing method
JP2006135825A (en) Image interpolation processing apparatus
JP4725799B2 (en) Image forming apparatus
JP3887135B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing program for causing computer to execute the method
JP4375159B2 (en) Image processing device
JP3785295B2 (en) Image processing device
JP2007194955A (en) Image processing device
JP4158695B2 (en) Image processing method and image processing apparatus
JPH0622128A (en) Picture processing unit
JP2006092506A (en) Image processor
JP4840033B2 (en) Image processing program and image processing apparatus
JP4390822B2 (en) Image processing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090402

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: 20090519

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090520

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120529

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130529

Year of fee payment: 4

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130529

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130529

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140529

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees