JP4295808B2 - Composite image processing circuit - Google Patents

Composite image processing circuit Download PDF

Info

Publication number
JP4295808B2
JP4295808B2 JP2008121342A JP2008121342A JP4295808B2 JP 4295808 B2 JP4295808 B2 JP 4295808B2 JP 2008121342 A JP2008121342 A JP 2008121342A JP 2008121342 A JP2008121342 A JP 2008121342A JP 4295808 B2 JP4295808 B2 JP 4295808B2
Authority
JP
Japan
Prior art keywords
image processing
processing unit
data
line
line buffer
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 - Lifetime
Application number
JP2008121342A
Other languages
Japanese (ja)
Other versions
JP2008228338A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008121342A priority Critical patent/JP4295808B2/en
Publication of JP2008228338A publication Critical patent/JP2008228338A/en
Application granted granted Critical
Publication of JP4295808B2 publication Critical patent/JP4295808B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、ラインバッファを利用して画像処理を行う画像処理装置に関する。   The present invention relates to an image processing apparatus that performs image processing using a line buffer.

フィルタ処理、階調処理等の画像処理においては、処理対象となる1画素だけでなく、その周辺に位置する複数の周辺画素を利用する場合がある。図9は、3x3のマトリクス処理における処理対象となる画素と、その周辺画素とを示す図である。3x3マトリクス処理では、処理対象の画素D11の処理に際し、その前後の画素D10、D12、1ライン上の画素D01およびその前後の画素D00、D02、1ライン下の画素D21およびその前後の画素D20、D22の画素データが参照され、利用される。   In image processing such as filter processing and gradation processing, not only one pixel to be processed but also a plurality of peripheral pixels located in the vicinity thereof may be used. FIG. 9 is a diagram illustrating a pixel to be processed in 3 × 3 matrix processing and its peripheral pixels. In the 3 × 3 matrix processing, when processing the pixel D11 to be processed, the pixels D10 and D12 before and after it, the pixel D01 on one line and the pixels D00 and D02 before and after it, the pixel D21 below the line and the pixel D20 before and after that, The pixel data of D22 is referred to and used.

画素(D0n、D1n(n:0,1,2))を含む、前ラインの画素の画素データは、ラインバッファと呼ばれるメモリ回路において保持(遅延)され、後の画像処理で使用される。ラインバッファは、目的とする画像処理の内容に応じてその記憶容量が決定される。例えば1インチに600画素が含まれる600DPIの精度で、A3判の短尺方向の画素を処理するには、約8KBのメモリが必要となる(約7500画素/ライン)。また同様に、A3判に対して、1200DPIの精度で画像処理を行う場合は、A3判の約2倍、16KBのラインバッファが必要である。   The pixel data of the pixels on the previous line including the pixels (D0n, D1n (n: 0, 1, 2)) is held (delayed) in a memory circuit called a line buffer and used in subsequent image processing. The storage capacity of the line buffer is determined according to the content of the target image processing. For example, in order to process pixels in the short direction of A3 size with an accuracy of 600 DPI in which 600 pixels are included in one inch, about 8 KB of memory is required (about 7500 pixels / line). Similarly, when image processing is performed with an accuracy of 1200 DPI for A3 size, a line buffer of 16 KB, which is about twice that of A3 size, is required.

画像処理の種類が増えると、必要なラインバッファの数も増加する。例えば、5種類の処理(例えば、ゲイン調整、5x5マトリックスのフィルタ処理、3x3マトリックスのノイズ除去、変倍処理、3x3マトリックスの誤差拡散処理)を行う場合は、全部で10本の8KBラインバッファが必要になる。よって、これらの処理を1チップの大規模集積回路(LSI)で実現するには、10本の8KBラインバッファをLSIに搭載しなければならない。A0判に対して、上述した5種類の画像処理を600DPIの精度で行う場合には、A0判の短尺方向をラインとして扱うため、データ量は、A3判の約3倍になる。よって、24KBのラインバッファが全部で10本必要となる。   As the number of types of image processing increases, the number of necessary line buffers also increases. For example, when performing five types of processing (for example, gain adjustment, 5 × 5 matrix filtering, 3 × 3 matrix noise removal, scaling, and 3 × 3 matrix error diffusion processing), a total of 10 8 KB line buffers are required. become. Therefore, in order to realize these processes with a single-chip large-scale integrated circuit (LSI), ten 8 KB line buffers must be mounted on the LSI. When the above-described five types of image processing are performed with an accuracy of 600 DPI for the A0 size, the short direction of the A0 size is handled as a line, so the data amount is about three times that of the A3 size. Therefore, a total of 10 24 KB line buffers are required.

なお、本願発明とは異なるが、1つのメモリを複数のラインバッファとして共有し、ラインバッファの数を低減する方法があった(例えば、特許文献1参照。)。しかし、複数の画像処理を同時に行う場合に対応できない。また、ラインバッファの削減手法を開示したものがあったが(例えば、特許文献2参照。)、画素数が増加してラインバッファの容量を越えた場合には対応できない。そして、ラインバッファの割り当てをビット方向に変更し、それにより画像処理毎の有効ビット数、すなわち画像処理の精度を変更する技術が開示されていたが(例えば、特許文献3参照。)、この場合にも同様に画素数の増加には対応できない。
特開平6−149994号公報 特開平7−44696号公報 特開平10−340340号公報
Although different from the present invention, there has been a method of reducing the number of line buffers by sharing one memory as a plurality of line buffers (see, for example, Patent Document 1). However, it cannot cope with a case where a plurality of image processes are performed simultaneously. Further, although there has been disclosed a method for reducing the line buffer (see, for example, Patent Document 2), it cannot cope with the case where the number of pixels increases to exceed the capacity of the line buffer. A technique has been disclosed in which the line buffer allocation is changed in the bit direction, thereby changing the number of effective bits for each image process, that is, the accuracy of the image process (see, for example, Patent Document 3). Similarly, the increase in the number of pixels cannot be accommodated.
JP-A-6-149994 Japanese Patent Laid-Open No. 7-44696 Japanese Patent Laid-Open No. 10-340340

上述のように、1チップで種々の画像処理に対応できるLSIを開発する場合には、各処理のうち、必要となる最大容量のラインバッファを搭載しなければならない。これでは、より精度の低い画像処理では、大容量のラインバッファを使い切ることがないため、ラインバッファの搭載によって製造コストのみが増加し、非効率的である。例えば、A3判の600DPI処理では、A3判の1200DPI処理で必要となるラインバッファ容量を使い切ることはない。   As described above, when developing an LSI capable of handling various image processing with one chip, it is necessary to mount a line buffer having the maximum capacity necessary for each processing. In this case, in the image processing with lower accuracy, since the large-capacity line buffer is not used up, the mounting of the line buffer increases only the manufacturing cost, which is inefficient. For example, the A3 size 600 DPI process does not use up the line buffer capacity required for the A3 size 1200 DPI process.

上述した問題に対しては、画像処理内容によって、LSIに搭載するラインバッファの容量または数を変更して、製造コストを最適化することも考えられる。例えば、高精度の処理を実現するグレードの高い機種に対しては、大容量かつ多数のラインバッファを搭載したLSIを開発し、一方、高精度の処理を行わない低グレードの機種に対しては、より小さい容量かつ少数のラインバッファを搭載したLSIを開発することもできる。しかし、機種ごとに最適なLSIを開発すると、今度は開発コストが増大する。   For the above-described problem, it may be possible to optimize the manufacturing cost by changing the capacity or number of line buffers mounted on the LSI depending on the contents of image processing. For example, for high-grade models that achieve high-precision processing, we have developed LSIs with large capacity and many line buffers, while for low-grade models that do not perform high-precision processing. An LSI having a smaller capacity and a small number of line buffers can be developed. However, if an optimum LSI is developed for each model, the development cost will increase.

本発明の目的は、画素数の増減、および、画像処理の種類の増減に対応し、かつ、製造コストおよび開発コストを含む全体コストの増加を最小限に抑えることである。   An object of the present invention is to cope with an increase / decrease in the number of pixels and an increase / decrease in the type of image processing, and to minimize an increase in overall cost including manufacturing cost and development cost.

本発明の複合画像処理回路は、入力された、画像を構成する複数の画素の画素データに、所定の画像処理を行って出力端から出力する、複数の画像処理回路で構成された複合画像処理回路において、
前記各画像処理回路は、
前記画素データを、画素のライン単位で、ラインデータとして保持する1つ以上のラインバッファからそれぞれなる第1及び第2の各ラインバッファ部と、
該各ラインバッファ部の少なくとも1つに保持されたラインデータを用いて、入力された画素データに、所定の第1画像処理を行って出力する第1の画像処理部と、
前記各ラインバッファ部の少なくとも1つに保持されたラインデータを用いて、該第1の画像処理部の出力データに対して、所定の第2画像処理を行って出力する第2の画像処理部と、
前記第1及び第2の各画像処理部と、前記第1及び第2の各ラインバッファ部との接続制御を行うバッファ選択器と、
前記第1及び第2の各画像処理部の各出力データのいずれか一方を排他的に選択して前記出力端から出力する第1の出力選択器と、
入力された前記画素データ、及び前記第1の画像処理部の出力データのいずれか一方を排他的に選択して前記第2の画像処理部に出力する第2の出力選択器と、
で構成され、
前記バッファ選択器は、前記第1の出力選択器が前記第2の画像処理部の出力データを前記出力端から出力する場合、前記第1のラインバッファ部を前記第1の画像処理部に接続すると共に前記第2のラインバッファ部を前記第2の画像処理部に接続し、前記第1の出力選択器が前記第1の画像処理部の出力データを前記出力端から出力する場合、前記第1及び第2の各ラインバッファ部をそれぞれ前記第1の画像処理部に接続するようにし、前記第2の出力選択器が前記入力された画素データを選択して出力する場合、前記第1及び第2の各ラインバッファ部をそれぞれ前記第2の画像処理部に接続し、前記第2の出力選択器が前記第1の画像処理部の出力データを選択して出力する場合、前記第1の出力選択器の選択動作に応じて、前記第1及び第2の各画像処理部と、前記第1及び第2の各ラインバッファ部との前記接続動作を行って、前記各第1の画像処理部及び各第2の画像処理部と、各第1のラインバッファ部及び各第2のラインバッファ部との接続制御を行うようにした複数の回路ブロックをそれぞれ備え、
前記各回路ブロックにおける、第1の画像処理部、第1の出力選択器、第2の画像処理部及び第2の出力選択器の直列回路が直列に接続され、前記バッファ選択器は、各第1の画像処理部及び各第2の画像処理部と、各第1のラインバッファ部及び各第2のラインバッファ部との接続制御を行うものである。
The composite image processing circuit of the present invention performs a predetermined image process on input pixel data of a plurality of pixels constituting an image and outputs the processed image data from an output terminal. In the circuit
Each of the image processing circuits
First and second line buffer units each including one or more line buffers that hold the pixel data as line data in units of pixel lines;
A first image processing unit that performs predetermined first image processing on the input pixel data using line data held in at least one of the line buffer units; and
A second image processing unit that performs predetermined second image processing on the output data of the first image processing unit using line data held in at least one of the line buffer units and outputs the second image processing unit When,
A buffer selector for controlling connection between each of the first and second image processing units and each of the first and second line buffer units;
A first output selector that exclusively selects one of the output data of each of the first and second image processing units and outputs the selected data from the output end;
A second output selector that exclusively selects one of the input pixel data and the output data of the first image processing unit and outputs the selected data to the second image processing unit;
Consisting of
The buffer selector connects the first line buffer unit to the first image processing unit when the first output selector outputs the output data of the second image processing unit from the output terminal. When the second line buffer unit is connected to the second image processing unit, and the first output selector outputs the output data of the first image processing unit from the output terminal, When the first and second line buffer units are connected to the first image processing unit, respectively, and the second output selector selects and outputs the input pixel data, the first and second line buffer units are connected to the first image processing unit. When each of the second line buffer units is connected to the second image processing unit, and the second output selector selects and outputs the output data of the first image processing unit, the first line buffer unit According to the selection operation of the output selector, Performing the connection operation between the first and second image processing units and the first and second line buffer units, the first image processing units and the second image processing units, and Each includes a plurality of circuit blocks configured to perform connection control with the first line buffer unit and each second line buffer unit,
A series circuit of a first image processing unit, a first output selector, a second image processing unit, and a second output selector in each circuit block is connected in series, and the buffer selector Connection control between one image processing unit and each second image processing unit, and each first line buffer unit and each second line buffer unit is performed .

バッファ選択器として選択器6を設け、第1の画像処理部を2以上のラインバッファにアクセス可能にした。これにより、1つのラインバッファのみを使用する場合と比較して、より多くのラインデータを利用する画像処理が可能になる。第1の画像処理部は、複数のラインバッファの1つに保持されたラインデータを用いても画像処理を行えるので、1つの画像処理回路で、種々の大きさの画像データに対応できる。なお、2以上のラインバッファの数は、第1の画像処理部における画像処理に必要なラインの数である。さらに、第2の画像処理部の画像処理をバイパスして、第1の画像処理部が画像処理した画素データを出力する出力経路を選択する出力選択器を有するので、有効にしたい画像処理を任意に選択できる。   A selector 6 is provided as a buffer selector so that the first image processing unit can access two or more line buffers. As a result, it is possible to perform image processing using more line data than when only one line buffer is used. Since the first image processing unit can perform image processing using line data held in one of a plurality of line buffers, one image processing circuit can handle image data of various sizes. The number of two or more line buffers is the number of lines necessary for image processing in the first image processing unit. Further, the image processing of the second image processing unit is bypassed, and the first image processing unit has an output selector that selects an output path for outputting the pixel data subjected to the image processing. Can be selected.

また、第2の画像処理部は、第1の画像処理部がアクセスするラインバッファとは異なるラインバッファに接続してラインデータを用いた画像処理を行うので、必要な全ての画像処理を行うことができる。   Further, the second image processing unit is connected to a line buffer different from the line buffer accessed by the first image processing unit and performs image processing using line data, so that all necessary image processing is performed. Can do.

2つの画像処理回路を使用して、各画像処理回路において、必要な画像処理を行うので、設計の変更を行うことなく、必要な全ての画像処理を実現できる。   Since necessary image processing is performed in each image processing circuit using two image processing circuits, all necessary image processing can be realized without changing the design.

画像処理部を、複数のラインバッファにアクセス可能にしたので、画像データの大きさに依存することのない画像処理を実現できる。通常の画像処理に対しては必要最小限のラインバッファしか搭載していないためコストの増加はない。また、大きな画像データを処理する場合は、同一の回路の一部の機能を選択して組み合わせ、複数の回路で全ての画像処理をおこなうため、新たな専用の回路を設計開発するコストが不要になる。   Since the image processing unit is made accessible to a plurality of line buffers, image processing independent of the size of the image data can be realized. There is no increase in cost because only the minimum necessary line buffer is installed for normal image processing. In addition, when processing large image data, it is not necessary to design and develop a new dedicated circuit because some of the functions of the same circuit are selected and combined and all the image processing is performed with multiple circuits. Become.

上述の画像処理回路を用いて画像処理を行うので、画像データが増加した場合でも、画像処理回路の数を追加すれば全ての画像処理を実現できる。そのため、画像をプリントするプリンタ、および、ファクシミリ装置等において利用された場合でも、機種のグレードによって新たな回路を設計開発する必要がなくなり、製造コストおよび開発コストを含む全体コストの増加を最小限に抑えることができる。   Since image processing is performed using the above-described image processing circuit, even when image data increases, all image processing can be realized by adding the number of image processing circuits. This eliminates the need to design and develop new circuits depending on the model grade even when used in printers and facsimile machines that print images, minimizing the increase in overall costs, including manufacturing and development costs. Can be suppressed.

以下、添付の図面を参照して、本発明の実施の形態1〜4を説明する。実施の形態1では、本発明の基本的な原理を説明する。実施の形態2および3は、実施の形態1の変形例、実施の形態4は、本発明の応用例である。添付の図面では、同じ機能を有する構成要素には、同じ参照符号を付している。   Embodiments 1 to 4 of the present invention will be described below with reference to the accompanying drawings. In Embodiment 1, the basic principle of the present invention will be described. The second and third embodiments are modifications of the first embodiment, and the fourth embodiment is an application example of the present invention. In the accompanying drawings, components having the same function are denoted by the same reference numerals.

(実施の形態1)
図1は、実施の形態1による、画像処理回路10の構成を示すブロック図である。画像処理回路10は、1つの大規模半導体集積回路(LSI)、または、ICチップ上に形成されており、処理の対象となる原画像データを受け取って所定の画像処理を行い、処理画像データとして出力する。原画像データは、例えば、スキャナ(図示せず)で読み取った画像を構成する複数の画素の画素データであり、または、コンピュータ(図示せず)から送信された複数の画素の画素データである。処理画像データは、後述する画像処理部により画像処理された画素の画素データである。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of an image processing circuit 10 according to the first embodiment. The image processing circuit 10 is formed on one large-scale semiconductor integrated circuit (LSI) or IC chip, receives original image data to be processed, performs predetermined image processing, and performs processing as image data. Output. The original image data is, for example, pixel data of a plurality of pixels constituting an image read by a scanner (not shown), or pixel data of a plurality of pixels transmitted from a computer (not shown). The processed image data is pixel data of pixels subjected to image processing by an image processing unit described later.

画像処理回路10は、2つの画像処理部2−1、2−2と、ラインバッファ4−1、4−2と、選択器6、8とを備えている。画像処理部2−1、2−2は、同一または異なる内容の画像処理を同時に処理し、処理画像データを出力する。例えば、画像処理部2−1は、ゲイン調整処理を行う回路、画像処理部2−2は、誤差拡散処理を行う回路である。ラインバッファ4−1、4−2は、8KBの記憶容量を備えており、それぞれ、例えば、1インチに600画素が含まれる600DPIの精度で、A3判の短尺方向の1ラインの画素(約7500画素)の画素データを記憶できる。すなわち、ラインバッファ4−1、4−2は、ライン単位で画像データを保持する。ライン単位の画像データは、ラインデータとも称される。選択器6は、画像処理部とラインバッファ4との間に設けられており、それぞれ複数存在する画像処理部とラインバッファとを選択的に接続する。選択器8は、画像処理部2−1および画像処理部2−2の出力に接続されており、いずれかの処理結果を処理画像データとして選択的に出力する。   The image processing circuit 10 includes two image processing units 2-1 and 2-2, line buffers 4-1 and 4-2, and selectors 6 and 8. The image processing units 2-1 and 2-2 simultaneously process image processing with the same or different contents and output processed image data. For example, the image processing unit 2-1 is a circuit that performs gain adjustment processing, and the image processing unit 2-2 is a circuit that performs error diffusion processing. Each of the line buffers 4-1 and 4-2 has a storage capacity of 8 KB. For example, each line buffer 4-1 and 4-2 has an accuracy of 600 DPI in which 600 pixels are included in one inch, and one line pixel (approximately 7500 in the A3 size). Pixel) pixel data can be stored. That is, the line buffers 4-1 and 4-2 hold the image data in units of lines. Image data in units of lines is also referred to as line data. The selector 6 is provided between the image processing unit and the line buffer 4 and selectively connects a plurality of existing image processing units and line buffers. The selector 8 is connected to the outputs of the image processing unit 2-1 and the image processing unit 2-2, and selectively outputs one of the processing results as processed image data.

以下、選択器6および8の選択動作を説明する。選択器6および選択器8は、画像処理回路10の外部に設けられた中央演算処理装置(CPU)等の制御部(図示せず)からの選択信号、レジスタ(図示せず)の値、または、画像処理回路10の外部に設けられた選択スイッチに基づいて、選択動作する。   Hereinafter, the selection operation of the selectors 6 and 8 will be described. The selector 6 and the selector 8 are a selection signal from a control unit (not shown) such as a central processing unit (CPU) provided outside the image processing circuit 10, a value of a register (not shown), or A selection operation is performed based on a selection switch provided outside the image processing circuit 10.

まず、選択器6は、2種類の選択動作を行う。すなわち、画像処理部2−1にラインバッファ4−1を接続し、画像処理部2−2にラインバッファ4−2を接続する、1対1の選択動作、および、ラインバッファ4−1、4−2を、16KBの容量を有する1つのラインバッファとして、1つの画像処理部(例えば、画像処理部画像処理部2−1)へ接続する、2対1の選択動作である。   First, the selector 6 performs two types of selection operations. That is, a one-to-one selection operation in which the line buffer 4-1 is connected to the image processing unit 2-1, and the line buffer 4-2 is connected to the image processing unit 2-2, and the line buffers 4-1, 4 and 4 are connected. -2 is a two-to-one selection operation in which one line buffer having a capacity of 16 KB is connected to one image processing unit (for example, the image processing unit image processing unit 2-1).

一方、選択器8も、2種類の選択動作を行う。すなわち、画像処理部2−1のみの処理結果を出力するバイパス選択動作、および、画像処理部2−2の処理結果を出力する直列処理選択動作である。選択器8がバイパス選択動作を行う場合には、画像処理部2−1の処理結果は、画像処理部2−2において処理されることなくバイパスされて、処理画像データとして出力される。上述の例でいえば、原画像データのゲイン調整処理のみが行われて出力される。選択器8が直列処理選択動作を行う場合には、画像処理部2−1の処理結果を、画像処理部2−2においてさらに処理した結果を出力する。上述の例でいえば、原画像データのゲイン調整処理、および、誤差拡散処理を行った後、処理画像データを出力することになる。   On the other hand, the selector 8 also performs two types of selection operations. That is, a bypass selection operation for outputting the processing result of only the image processing unit 2-1, and a serial processing selection operation for outputting the processing result of the image processing unit 2-2. When the selector 8 performs a bypass selection operation, the processing result of the image processing unit 2-1 is bypassed without being processed by the image processing unit 2-2 and is output as processed image data. In the above example, only the gain adjustment processing of the original image data is performed and output. When the selector 8 performs the serial processing selection operation, the processing result of the image processing unit 2-1 is further processed by the image processing unit 2-2. In the above example, the processed image data is output after performing the gain adjustment processing and error diffusion processing of the original image data.

選択器6および8を設けた理由は、画像処理回路10を、機能的に差異を設けられた複数種類の製品に利用できるようにするためである。例えば、バイパス選択動作のみ行うように選択器8を設定した場合と、直列処理選択動作を行うように選択器8を設定した場合とを比較すると、後者は、前者より複雑な画像処理を行うことができる。一方、1対1の選択動作のみを行うように選択器6を設定した場合と、2対1の選択動作を行うように選択器6を設定した場合とを比較すると、後者は、1つの画像処理部に利用可能なバッファ容量が前者の2倍あるので、2倍の画素数の画像処理を行うことができる。よって、いずれの場合も、前者の設定は、低機能機種に適し、後者の設定は、高機能機種に適しているといえる。なお、バイパス選択動作のみ行うように選択器8を設定した場合には、画像処理部2−2は利用されないため、その部品コスト(製造コスト)は無駄になる。しかし、1種類の画像処理回路10を製造すれば、機能的に差異を設けられた複数種類の製品に利用できるので、機能毎に画像処理回路を設計する必要がなくなり、開発コストを低減できる。よって、製造コストおよび開発コストを含む全体コストの増加を最小限に抑えられる。   The reason why the selectors 6 and 8 are provided is to enable the image processing circuit 10 to be used for a plurality of types of products having functional differences. For example, when the selector 8 is set to perform only the bypass selection operation and the selector 8 is set to perform the serial processing selection operation, the latter performs more complicated image processing than the former. Can do. On the other hand, comparing the case where the selector 6 is set to perform only the one-to-one selection operation and the case where the selector 6 is set to perform the two-to-one selection operation, the latter is one image. Since the buffer capacity available to the processing unit is twice that of the former, image processing with twice the number of pixels can be performed. Therefore, in either case, the former setting is suitable for a low-functional model, and the latter setting is suitable for a high-functional model. Note that when the selector 8 is set so as to perform only the bypass selection operation, the image processing unit 2-2 is not used, and the component cost (manufacturing cost) is wasted. However, if one type of image processing circuit 10 is manufactured, it can be used for a plurality of types of products having functional differences, so that it is not necessary to design an image processing circuit for each function, and development costs can be reduced. Therefore, an increase in overall cost including manufacturing cost and development cost can be minimized.

図2は、1対1の選択動作を行う選択器6と、直列処理選択動作を行う選択器8とを含む、画像処理回路10の構成を示すブロック図である。画像処理部2−1は、選択器6を介して、ラインバッファ4−1に記憶されたラインデータを読み出す。一方、画像処理部2−2は、選択器6を介して、ラインバッファ4−2に記憶されたラインデータを読み出す。画像処理部2−1が、ラインバッファ4−2にアクセスすることはない。画像処理部2−1および2−2は、それぞれ8KBのラインバッファにアクセスできるので、上述のように、例えば、600DPIの精度で、A3判の短尺方向の1ラインを保持できる。画像処理回路10は、画像処理部2−1および2−2で処理されたデータを、選択器8を介して処理画像データとして出力する。   FIG. 2 is a block diagram showing a configuration of an image processing circuit 10 including a selector 6 that performs a one-to-one selection operation and a selector 8 that performs a serial processing selection operation. The image processing unit 2-1 reads line data stored in the line buffer 4-1 via the selector 6. On the other hand, the image processing unit 2-2 reads line data stored in the line buffer 4-2 via the selector 6. The image processing unit 2-1 does not access the line buffer 4-2. Since each of the image processing units 2-1 and 2-2 can access a line buffer of 8 KB, as described above, for example, it can hold one line in the short direction of A3 size with an accuracy of 600 DPI. The image processing circuit 10 outputs the data processed by the image processing units 2-1 and 2-2 as processed image data via the selector 8.

一方、図3は、2対1の選択動作を行う選択器6と、バイパス選択動作を行う選択器8とを含む、画像処理回路10の構成を示すブロック図である。2対1の選択動作により、画像処理部2−1は、16KBの容量を有する1つのラインバッファとして、ラインバッファ4−1および4−2を使用できる。8KBのバッファを使用する1対1の選択動作時と比較すると、画像処理部2−1は、2倍のデータ量が必要な画像処理が可能になる。例えば、1200DPIの精度による画像処理を行うことができる。画像処理部2−1が画像処理を行った後は、画像処理部2−2の処理はバイパスされ、処理画像データとして出力される。   On the other hand, FIG. 3 is a block diagram showing a configuration of an image processing circuit 10 including a selector 6 that performs a 2-to-1 selection operation and a selector 8 that performs a bypass selection operation. With the 2-to-1 selection operation, the image processing unit 2-1 can use the line buffers 4-1 and 4-2 as one line buffer having a capacity of 16 KB. Compared with a one-to-one selection operation using an 8 KB buffer, the image processing unit 2-1 can perform image processing that requires twice as much data. For example, image processing with an accuracy of 1200 DPI can be performed. After the image processing unit 2-1 performs image processing, the processing of the image processing unit 2-2 is bypassed and output as processed image data.

なお、ラインバッファはFIFO形式のメモリで構成されることが多いが、FIFOを実現する回路の構成、メモリの種類は特に限定しない。例えば、ランダムアクセスメモリ(RAM)を利用してもよいし、レジスタを利用してもよい。さらに、ラインバッファのビット幅、ワードサイズも特に限定しない。   The line buffer is often configured with a FIFO memory, but the circuit configuration and memory type for realizing the FIFO are not particularly limited. For example, a random access memory (RAM) may be used or a register may be used. Further, the bit width and word size of the line buffer are not particularly limited.

(実施の形態2)
次に、画像処理回路10の変形例を説明する。図4は、実施の形態2による、画像処理回路40の構成を示すブロック図である。画像処理回路40の基本的な機能は実施の形態1の画像処理回路10(図1)と同じである。
(Embodiment 2)
Next, a modified example of the image processing circuit 10 will be described. FIG. 4 is a block diagram showing a configuration of the image processing circuit 40 according to the second embodiment. The basic function of the image processing circuit 40 is the same as that of the image processing circuit 10 (FIG. 1) of the first embodiment.

画像処理回路40が、画像処理回路10(図1)と異なるのは、選択器8−1を設けたことである。画像処理回路40では、選択器8−2が、図1に示す選択器8と同様の機能を有している。   The image processing circuit 40 is different from the image processing circuit 10 (FIG. 1) in that a selector 8-1 is provided. In the image processing circuit 40, the selector 8-2 has the same function as the selector 8 shown in FIG.

選択器8−1は、外部からの信号経路、および、画像処理部2−1の出力に接続されており、2種類の選択動作を行う。すなわち、入力された原画像データを画像処理部2−1で処理することなく次段へ送るバイパス選択動作、または、画像処理部2−1の処理結果を処理画像データとして出力する直列処理選択動作である。選択器8−1を設けたことにより、画像処理部2−2が原画像データを直接処理できるようになるので、選択器6は、画像処理部2−2からもラインバッファ4−1および4−2にアクセスできるように、1対1の選択動作、または、2対1の選択動作をさらに実行できる。実施の形態1の例を用いると、原画像データは、画像処理部2−1でゲイン調整処理されず、画像処理部2−2において誤差拡散処理を施される。   The selector 8-1 is connected to the signal path from the outside and the output of the image processing unit 2-1, and performs two types of selection operations. That is, the bypass selection operation for sending the input original image data to the next stage without being processed by the image processing unit 2-1, or the serial processing selection operation for outputting the processing result of the image processing unit 2-1 as processed image data It is. Since the selector 8-1 is provided, the image processor 2-2 can directly process the original image data. Therefore, the selector 6 also receives line buffers 4-1 and 4 from the image processor 2-2. -2 can be further performed so that a one-to-one selection operation or a two-to-one selection operation is performed. Using the example of the first embodiment, the original image data is not subjected to gain adjustment processing in the image processing unit 2-1, but is subjected to error diffusion processing in the image processing unit 2-2.

例えば、図5は、2対1の選択動作を行う選択器6と、バイパス選択動作および直列処理選択動作をそれぞれ行う選択器8−1、8−2とを含む、画像処理回路40の構成を示すブロック図である。図から理解されるように、選択器8−1のバイパス選択動作により、原画像データを受け取った画像処理部2−2は、2つのラインバッファ4−1および4−2を16KBの1つのバッファとして利用して、精度の高い画像処理を実現できる。   For example, FIG. 5 shows a configuration of an image processing circuit 40 including a selector 6 that performs a 2-to-1 selection operation, and selectors 8-1 and 8-2 that perform a bypass selection operation and a serial processing selection operation, respectively. FIG. As can be seen from the figure, the image processor 2-2 which received the original image data by the bypass selection operation of the selector 8-1 makes the two line buffers 4-1 and 4-2 one buffer of 16KB. Can be used as a high-accuracy image processing.

画像処理回路を複数組み合わせることにより、さらに多様な画像処理を行う画像処理回路を実現できる。図6は、2つの画像処理回路40−1、40−2を直列に接続した複合画像処理回路60の構成を示すブロック図である。画像処理回路40−1、40−2は、それぞれ、画像処理回路40(図4)で構成されているとする。画像処理回路40−1から出力され、画像処理回路40−2に入力されるデータは、図では中間データとして示している。   By combining a plurality of image processing circuits, an image processing circuit that performs more various image processing can be realized. FIG. 6 is a block diagram showing a configuration of a composite image processing circuit 60 in which two image processing circuits 40-1 and 40-2 are connected in series. Assume that each of the image processing circuits 40-1 and 40-2 includes an image processing circuit 40 (FIG. 4). Data output from the image processing circuit 40-1 and input to the image processing circuit 40-2 is shown as intermediate data in the figure.

画像処理部40−1の画像処理部2−1は、2つのラインバッファ4−1、4−2にアクセスできるので、1ラインのデータが16KBまでの画像処理が可能である。一方、画像処理部2−2の処理はバイパスされる。画像処理回路40−2については、図5に示す画像処理回路40であるから、その説明は省略する。   Since the image processing unit 2-1 of the image processing unit 40-1 can access the two line buffers 4-1 and 4-2, one line of data can be processed up to 16KB. On the other hand, the processing of the image processing unit 2-2 is bypassed. The image processing circuit 40-2 is the image processing circuit 40 shown in FIG.

2つの画像処理回路を接続することにより、画像処理部は、1ラインが2倍のデータ量(16KB)までの画像処理に対応できる。ラインバッファの容量を変更した、新たな画像処理回路を設計する必要がないので、設計開発のための費用を要することなく、処理画素数を増加できる。   By connecting two image processing circuits, the image processing unit can handle image processing up to twice the amount of data (16 KB) per line. Since it is not necessary to design a new image processing circuit in which the capacity of the line buffer is changed, the number of pixels to be processed can be increased without requiring a design and development cost.

(実施の形態3)
図7は、実施の形態3による、画像処理回路70の構成を示すブロック図である。画像処理回路70は、1つの大規模半導体集積回路(LSI)、またはICチップ上に形成されている。
(Embodiment 3)
FIG. 7 is a block diagram showing a configuration of the image processing circuit 70 according to the third embodiment. The image processing circuit 70 is formed on one large-scale semiconductor integrated circuit (LSI) or IC chip.

画像処理回路70は、画像処理部2−1〜2−5と、ラインバッファ4−1〜4−10と、選択器6と、選択器8−1〜8−5とを備えている。画像処理回路70は、画像処理回路40(図4)の画像処理部、ラインバッファ、および、選択器の数を、それぞれ、5個、10個、および、5個に増加して構成した回路である。   The image processing circuit 70 includes image processing units 2-1 to 2-5, line buffers 4-1 to 4-10, a selector 6, and selectors 8-1 to 8-5. The image processing circuit 70 is a circuit configured by increasing the number of image processing units, line buffers, and selectors of the image processing circuit 40 (FIG. 4) to 5, 10, and 5, respectively. is there.

画像処理部2−1〜2−5は、別個の5種類の画像処理、具体的には、それぞれ、ゲイン調整処理、3x3のマトリックスフィルタ処理、変倍処理、4x4マトリックスのノイズ除去処理、3x3マトリックスの誤差拡散処理を行う。各画像処理部は、別個に、任意の数のラインバッファにアクセスして、画像処理に必要なライン数の画像データを取得できる。処理内容に応じて必要とされるラインバッファのライン数が決まっているので、例えば、画像処理部2−4で3ライン分のデータが必要な場合には、各々が1ラインのデータを格納する3つのラインバッファを割り当てて、通常の大きさ(例えば1ラインが8KBのデータ)の画像を処理できる。なお、1ライン分のデータが2つのラインバッファに格納されている場合には、各ラインにつき2つのラインバッファを割り当てればよい。これにより、通常の2倍の品質または大きさ(例えば1ラインが16KBのデータ)の画像を処理できる。   The image processing units 2-1 to 2-5 include five different types of image processing, specifically, gain adjustment processing, 3 × 3 matrix filter processing, scaling processing, 4 × 4 matrix noise removal processing, and 3 × 3 matrix, respectively. The error diffusion process is performed. Each image processing unit can separately access an arbitrary number of line buffers and acquire image data of the number of lines necessary for image processing. Since the number of lines in the line buffer required according to the processing contents is determined, for example, when the image processing unit 2-4 needs three lines of data, each stores one line of data. By assigning three line buffers, it is possible to process an image having a normal size (for example, data in which one line is 8 KB). If data for one line is stored in two line buffers, two line buffers may be allocated for each line. As a result, an image having twice the normal quality or size (for example, data of 16 KB per line) can be processed.

例えば、1ラインが8KBのデータ、すなわち、1ラインがラインバッファ1つの容量と同じ場合の通常画像の場合、画像処理部2−1〜2−5が画像処理をするのに必要なライン数と、割り当てるラインバッファの数の関係は、以下の表1に示すとおりである。   For example, in the case of data of 8 KB for one line, that is, a normal image in which one line has the same capacity as one line buffer, the number of lines necessary for the image processing units 2-1 to 2-5 to perform image processing The relationship of the number of line buffers to be allocated is as shown in Table 1 below.

Figure 0004295808
Figure 0004295808

表1によれば、各画像処理部の処理が「有効」となっていることから、画像処理回路70が形成された1つのLSIで、1ラインが8KBまでの画像に対して全ての画像処理が実現できる。なお、選択器8−1〜8−5は、いずれも各画像処理部からの出力結果を受け取る経路を選択する。また選択器6は、表1の「ラインバッファ割り当て数」に示す数のラインバッファを、各画像処理部に接続するよう動作する。   According to Table 1, since the processing of each image processing unit is “valid”, all image processing is performed on an image of one line up to 8 KB by one LSI in which the image processing circuit 70 is formed. Can be realized. Note that each of the selectors 8-1 to 8-5 selects a route for receiving an output result from each image processing unit. The selector 6 operates to connect the number of line buffers shown in “Number of line buffer allocation” in Table 1 to each image processing unit.

次に、1ラインのデータが16KBの画像、すなわち、1ラインがラインバッファ2つの容量に等しい場合の通常画像の場合を考える。この場合は、表1の通常画像の2倍の大きさの画像を処理の対象として考える。   Next, consider the case of an image in which one line of data is 16 KB, that is, a normal image in which one line is equal to the capacity of two line buffers. In this case, an image having a size twice that of the normal image in Table 1 is considered as a processing target.

Figure 0004295808
Figure 0004295808

表2から明らかなように、画像処理部2−1〜2−3に、全てのラインバッファを割り当て、必要ラインに応じたデータを確保できる。よって、1ラインが16KBまでの画像に対しては、1つのLSIで画像処理部2−1〜2−3までの画像処理(ゲイン調整処理、3x3のマトリックスフィルタ処理、変倍処理)が実現できる。しかしこれは、換言すれば、1つのLSIでは画像処理部2−4および2−5の画像処理(4x4マトリックスのノイズ除去処理、3x3マトリックスの誤差拡散処理)がなされないことを意味する。よって、画像処理部2−4および2−5によりさらに画像処理を行うためには、新たな画像処理回路70を設けて、表3に示すパターンBの割り当てを行う必要がある。   As is apparent from Table 2, all line buffers are allocated to the image processing units 2-1 to 2-3, and data corresponding to necessary lines can be secured. Therefore, image processing (gain adjustment processing, 3 × 3 matrix filter processing, scaling processing) for the image processing units 2-1 to 2-3 can be realized with one LSI for an image of one line up to 16KB. . However, in other words, this means that image processing of the image processing units 2-4 and 2-5 (4 × 4 matrix noise removal processing and 3 × 3 matrix error diffusion processing) is not performed in one LSI. Therefore, in order to perform further image processing by the image processing units 2-4 and 2-5, it is necessary to provide a new image processing circuit 70 and assign the pattern B shown in Table 3.

Figure 0004295808
Figure 0004295808

表3に示すように、すでに処理が終了した画像処理部2−1〜2−3の処理を無効にし、ラインバッファを画像処理部2−4および2−5にのみ割り当てることにより、1つのLSIで1ラインが16KBまでの画像に対して、画像処理部2−4および2−5の画像処理を行うことができる。以上から、上述した2つのパターンAおよびBを組み合わせることにより、全5種類の画像処理を実現できる。   As shown in Table 3, by disabling the processing of the image processing units 2-1 to 2-3 that have already been processed and assigning the line buffer only to the image processing units 2-4 and 2-5, one LSI Thus, the image processing of the image processing units 2-4 and 2-5 can be performed on an image with one line up to 16KB. From the above, by combining the two patterns A and B described above, all five types of image processing can be realized.

最後に、1ラインのデータが24KBの画像、すなわち、1ラインがラインバッファ3つの容量に等しい場合の通常画像の処理を考える。これは、表1の通常画像の3倍の大きさを持つ画像の処理である。   Finally, consider the processing of a normal image in which one line of data is a 24 KB image, that is, one line is equal to the capacity of three line buffers. This is processing of an image having a size three times that of the normal image in Table 1.

Figure 0004295808
Figure 0004295808

表4から明らかなように、画像処理部2−1および2−2に、全てのラインバッファを割り当て、必要ラインに応じたデータを確保できる。よって、1ラインが24KBまでの画像に対しては、1つのLSIで画像処理部2−1および2−2の画像処理(ゲイン調整処理、3x3のマトリックスフィルタ処理)が実現できる。   As is apparent from Table 4, all line buffers are allocated to the image processing units 2-1 and 2-2, and data corresponding to necessary lines can be secured. Therefore, image processing (gain adjustment processing, 3 × 3 matrix filter processing) of the image processing units 2-1 and 2-2 can be realized with one LSI for an image of one line up to 24 KB.

さらに後続の処理を行うためには、新たな画像処理回路70を設けて、表5に示すパターンBの割り当てを行う必要がある。   Furthermore, in order to perform subsequent processing, it is necessary to provide a new image processing circuit 70 and assign the pattern B shown in Table 5.

Figure 0004295808
Figure 0004295808

表5に示すように、すでに処理が終了した画像処理部2−1および2−2の処理を無効にし、ラインバッファを画像処理部2−3に割り当てることにより、1つのLSIで1ラインが24KBまでの画像に対して、画像処理部2−3の画像処理(変倍処理)を行うことができる。なお、画像処理部2−3のみが有効とされ、画像処理部2−4が有効とされていない理由は、画像処理部2−3のライン割り当て後には、後続の画像処理部2−4に必要なライン数が確保できないからである。そこで、画像処理部2−4において画像処理を行うために、新たな画像処理回路70を設けて、表6に示すパターンCの割り当てを行う必要がある。   As shown in Table 5, by disabling the processing of the image processing units 2-1 and 2-2 that have already been processed and assigning a line buffer to the image processing unit 2-3, one line can be 24 KB in one LSI. Image processing (magnification processing) of the image processing unit 2-3 can be performed on the images up to the above. The reason why only the image processing unit 2-3 is enabled and the image processing unit 2-4 is not enabled is that the subsequent image processing unit 2-4 is assigned after the line allocation of the image processing unit 2-3. This is because the necessary number of lines cannot be secured. Therefore, in order to perform image processing in the image processing unit 2-4, it is necessary to provide a new image processing circuit 70 and assign the pattern C shown in Table 6.

Figure 0004295808
Figure 0004295808

第3の画像処理回路70が設けられた1つのLSIを用いると、1ラインが24KBまでの画像に対して画像処理部2−4の画像処理(4x4マトリックスのノイズ除去処理)が実現できる。さらに画像処理部2−5による画像処理を行うために、第4の画像処理回路70を設けて、表7に示すパターンDの割り当てを行う必要がある。   If one LSI provided with the third image processing circuit 70 is used, the image processing (4 × 4 matrix noise removal processing) of the image processing unit 2-4 can be realized for an image with one line up to 24 KB. Further, in order to perform image processing by the image processing unit 2-5, it is necessary to provide a fourth image processing circuit 70 and assign a pattern D shown in Table 7.

Figure 0004295808
となり、1つのLSIで1ラインが24KBまでの画像に対して画像処理部2−5の画像処理(3x3マトリックスの誤差拡散処理)が実現できる。
Figure 0004295808
Thus, the image processing (error diffusion processing of 3 × 3 matrix) of the image processing unit 2-5 can be realized for an image of one line up to 24 KB with one LSI.

以上から、1ライン当たり24KBのデータ量の画像に対して画像処理部2−1〜2−5の5種類の画像処理を行うには、画像処理回路70を4つ設け、上述した4つのパターンA〜Dを組み合わせればよいことが理解される。   From the above, in order to perform five types of image processing of the image processing units 2-1 to 2-5 on an image having a data amount of 24 KB per line, the four image processing circuits 70 are provided and the four patterns described above are provided. It will be understood that A to D may be combined.

(実施の形態4)
本実施の形態では、本発明の画像処理回路の応用例を説明する。
(Embodiment 4)
In this embodiment, an application example of the image processing circuit of the present invention will be described.

図8の(a)は、画像形成装であるコピー機の構成を示すブロック図である。コピー機は、スキャン部81と、実施の形態1〜3の画像処理回路が実装された画像処理チップ80と、プリントデータ生成部82と、プリント部83とを備えている。スキャン部81は、原稿を走査して原画像データを生成する。スキャン部81は、原稿に光を照射する露光ランプと、原稿からの反射光を集光するレンズアレイ、および集光された光を電気信号に変換するCCDイメージセンサを備えている(いずれも図示せず)。   FIG. 8A is a block diagram illustrating a configuration of a copier that is an image forming apparatus. The copier includes a scan unit 81, an image processing chip 80 on which the image processing circuit according to the first to third embodiments is mounted, a print data generation unit 82, and a print unit 83. The scanning unit 81 scans a document and generates original image data. The scanning unit 81 includes an exposure lamp that irradiates light on a document, a lens array that collects reflected light from the document, and a CCD image sensor that converts the collected light into an electrical signal (both shown in FIG. Not shown).

画像処理チップ80は、例えば、画像処理回路10(図1)、画像処理回路40(図2)、複合画像処理回路60(図6)、または、画像処理回路70(図7)を実装した1つのチップである。画像処理チップ80は、スキャン部81から原画像データを受け取り、画像処理回路70により画像処理した後、処理画像データを出力する。画像処理の具体例は、実施の形態1〜3で説明したので、省略する。   The image processing chip 80 includes, for example, the image processing circuit 10 (FIG. 1), the image processing circuit 40 (FIG. 2), the composite image processing circuit 60 (FIG. 6), or the image processing circuit 70 (FIG. 7). One chip. The image processing chip 80 receives original image data from the scanning unit 81, performs image processing by the image processing circuit 70, and then outputs processed image data. Since specific examples of image processing have been described in the first to third embodiments, a description thereof will be omitted.

プリントデータ生成部82は、画像処理チップ80から出力された処理画像データに対し、プリント出力のための処理、例えば、感光体の階調特性に応じた階調補正(γ補正)を行う。さらにプリントデータ生成部82は、階調補正後の画像データに基づいて、レーザダイオード駆動信号を生成する。このレーザダイオード駆動信号は、プリントデータとして出力される。プリント部83は、プリントデータ生成部82からプリントデータを受け取り、受け取ったプリントデータに基づいてプリントを行う。より具体的には、プリント部83は、プリントデータに基づいて、半導体レーザを発光させる。レーザ光は、帯電されて、かつ、回転駆動されている感光体ドラムを露光する。さらにトナーにより感光体ドラム上に静電潜像が現像された後、転写ドラムに巻きつけられた複写紙に転写される。   The print data generation unit 82 performs processing for print output on the processed image data output from the image processing chip 80, for example, gradation correction (γ correction) according to the gradation characteristics of the photoreceptor. Further, the print data generation unit 82 generates a laser diode drive signal based on the image data after gradation correction. This laser diode drive signal is output as print data. The print unit 83 receives print data from the print data generation unit 82, and performs printing based on the received print data. More specifically, the printing unit 83 causes the semiconductor laser to emit light based on the print data. The laser beam exposes a charged and rotating photosensitive drum. Further, the electrostatic latent image is developed on the photosensitive drum with toner, and then transferred onto a copy paper wound around a transfer drum.

図8の(b)は、画像形成装であるファクシミリ装置(FAX)の構成を示すブロック図である。ファクシミリ装置は、スキャン部84と、画像処理チップ80と、送信データ生成部85と、送信部86とを備えている。(a)との相違点は、プリントデータ生成部82およびプリント部83に代えて、FAX送信するための送信データ生成部85および送信部86を有することである。相違点のみを説明すると、送信データ生成部85は、画像処理チップ80から出力された処理画像データを受け取り、FAX送信のための所定の規格に合致したデータ処理、例えば、MH(Modified Huffman)処理、MR(Modified READ)処理等の冗長度抑圧符号化処理を行う。送信データ生成部85は、処理されたデータを送信データとして出力する。送信部86は、送信データ生成部85から受け取った送信データを、アナログまたはデジタルの信号回線を介して相手方へ送信する。   FIG. 8B is a block diagram illustrating a configuration of a facsimile machine (FAX) that is an image forming apparatus. The facsimile apparatus includes a scanning unit 84, an image processing chip 80, a transmission data generation unit 85, and a transmission unit 86. The difference from (a) is that instead of the print data generation unit 82 and the print unit 83, a transmission data generation unit 85 and a transmission unit 86 for FAX transmission are provided. Explaining only the difference, the transmission data generation unit 85 receives the processed image data output from the image processing chip 80, and performs data processing conforming to a predetermined standard for FAX transmission, for example, MH (Modified Huffman) processing. Redundancy suppression encoding processing such as MR (Modified READ) processing is performed. The transmission data generation unit 85 outputs the processed data as transmission data. The transmission unit 86 transmits the transmission data received from the transmission data generation unit 85 to the other party via an analog or digital signal line.

実施の形態1による画像処理回路の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image processing circuit according to a first embodiment. 1対1の選択動作を行う選択器と、直列処理選択動作を行う選択器とを含む、画像処理回路の構成を示すブロック図である。It is a block diagram which shows the structure of an image processing circuit including the selector which performs 1-to-1 selection operation, and the selector which performs serial processing selection operation. 2対1の選択動作を行う選択器と、バイパス選択動作を行う選択器とを含む、画像処理回路の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of an image processing circuit including a selector that performs a 2-to-1 selection operation and a selector that performs a bypass selection operation. 実施の形態2による画像処理回路の構成を示すブロック図である。FIG. 5 is a block diagram illustrating a configuration of an image processing circuit according to a second embodiment. 2対1の選択動作を行う選択器と、バイパス選択動作および直列処理選択動作をそれぞれ行う2つの選択器とを含む、画像処理回路の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of an image processing circuit including a selector that performs a 2-to-1 selection operation and two selectors that respectively perform a bypass selection operation and a serial processing selection operation. 2つの画像処理回路を直列に接続した複合画像処理回路の構成を示すブロック図である。It is a block diagram which shows the structure of the composite image processing circuit which connected two image processing circuits in series. 実施の形態3による画像処理回路の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of an image processing circuit according to a third embodiment. (a)は、コピー機の構成を示すブロック図である。(b)は、ファクシミリ装置の構成を示すブロック図である。(A) is a block diagram showing a configuration of a copier. FIG. 2B is a block diagram illustrating a configuration of the facsimile apparatus. 3x3のマトリクス処理における処理対象となる画素と、その周辺画素とを示す図である。It is a figure which shows the pixel used as the process target in 3x3 matrix processing, and its peripheral pixel.

符号の説明Explanation of symbols

2、2−n 画像処理部
4、4−n ラインバッファ
6 選択器
8、8−n 選択器
10 画像処理回路
40 画像処理回路
60 複合画像処理回路
2, 2-n image processing unit 4, 4-n line buffer 6 selector 8, 8-n selector 10 image processing circuit 40 image processing circuit 60 composite image processing circuit

Claims (1)

入力された、画像を構成する複数の画素の画素データに、所定の画像処理を行って出力端から出力する、複数の画像処理回路で構成された複合画像処理回路において、
前記各画像処理回路は、
前記画素データを、画素のライン単位で、ラインデータとして保持する1つ以上のラインバッファからそれぞれなる第1及び第2の各ラインバッファ部と、
該各ラインバッファ部の少なくとも1つに保持されたラインデータを用いて、入力された画素データに、所定の第1画像処理を行って出力する第1の画像処理部と、
前記各ラインバッファ部の少なくとも1つに保持されたラインデータを用いて、該第1の画像処理部の出力データに対して、所定の第2画像処理を行って出力する第2の画像処理部と、
前記第1及び第2の各画像処理部と、前記第1及び第2の各ラインバッファ部との接続制御を行うバッファ選択器と、
前記第1及び第2の各画像処理部の各出力データのいずれか一方を排他的に選択して前記出力端から出力する第1の出力選択器と、
入力された前記画素データ、及び前記第1の画像処理部の出力データのいずれか一方を排他的に選択して前記第2の画像処理部に出力する第2の出力選択器と、
で構成され、
前記バッファ選択器は、前記第1の出力選択器が前記第2の画像処理部の出力データを前記出力端から出力する場合、前記第1のラインバッファ部を前記第1の画像処理部に接続すると共に前記第2のラインバッファ部を前記第2の画像処理部に接続し、前記第1の出力選択器が前記第1の画像処理部の出力データを前記出力端から出力する場合、前記第1及び第2の各ラインバッファ部をそれぞれ前記第1の画像処理部に接続するようにし、前記第2の出力選択器が前記入力された画素データを選択して出力する場合、前記第1及び第2の各ラインバッファ部をそれぞれ前記第2の画像処理部に接続し、前記第2の出力選択器が前記第1の画像処理部の出力データを選択して出力する場合、前記第1の出力選択器の選択動作に応じて、前記第1及び第2の各画像処理部と、前記第1及び第2の各ラインバッファ部との前記接続動作を行って、前記各第1の画像処理部及び各第2の画像処理部と、各第1のラインバッファ部及び各第2のラインバッファ部との接続制御を行うようにした複数の回路ブロックをそれぞれ備え、
前記各回路ブロックにおける、第1の画像処理部、第1の出力選択器、第2の画像処理部及び第2の出力選択器の直列回路が直列に接続され、前記バッファ選択器は、各第1の画像処理部及び各第2の画像処理部と、各第1のラインバッファ部及び各第2のラインバッファ部との接続制御を行うことを特徴とする複合画像処理回路。
In the composite image processing circuit composed of a plurality of image processing circuits that perform predetermined image processing on the input pixel data of a plurality of pixels constituting the image and output from the output end ,
Each of the image processing circuits
First and second line buffer units each including one or more line buffers that hold the pixel data as line data in units of pixel lines;
A first image processing unit that performs predetermined first image processing on the input pixel data using line data held in at least one of the line buffer units; and
A second image processing unit that performs predetermined second image processing on the output data of the first image processing unit using line data held in at least one of the line buffer units and outputs the second image processing unit When,
A buffer selector for controlling connection between each of the first and second image processing units and each of the first and second line buffer units;
A first output selector that exclusively selects one of the output data of each of the first and second image processing units and outputs the selected data from the output end;
A second output selector that exclusively selects one of the input pixel data and the output data of the first image processing unit and outputs the selected data to the second image processing unit;
Consisting of
The buffer selector connects the first line buffer unit to the first image processing unit when the first output selector outputs the output data of the second image processing unit from the output terminal. When the second line buffer unit is connected to the second image processing unit, and the first output selector outputs the output data of the first image processing unit from the output terminal, When the first and second line buffer units are connected to the first image processing unit, respectively, and the second output selector selects and outputs the input pixel data, the first and second line buffer units are connected to the first image processing unit. When each of the second line buffer units is connected to the second image processing unit, and the second output selector selects and outputs the output data of the first image processing unit, the first line buffer unit According to the selection operation of the output selector, Performing the connection operation between the first and second image processing units and the first and second line buffer units, the first image processing units and the second image processing units, and Each includes a plurality of circuit blocks configured to perform connection control with the first line buffer unit and each second line buffer unit,
A series circuit of a first image processing unit, a first output selector, a second image processing unit, and a second output selector in each circuit block is connected in series, and the buffer selector A composite image processing circuit which performs connection control between one image processing unit and each second image processing unit, and each first line buffer unit and each second line buffer unit .
JP2008121342A 2008-05-07 2008-05-07 Composite image processing circuit Expired - Lifetime JP4295808B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008121342A JP4295808B2 (en) 2008-05-07 2008-05-07 Composite image processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008121342A JP4295808B2 (en) 2008-05-07 2008-05-07 Composite image processing circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002053734A Division JP4146654B2 (en) 2002-02-28 2002-02-28 Image processing circuit, composite image processing circuit, and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2008228338A JP2008228338A (en) 2008-09-25
JP4295808B2 true JP4295808B2 (en) 2009-07-15

Family

ID=39846315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008121342A Expired - Lifetime JP4295808B2 (en) 2008-05-07 2008-05-07 Composite image processing circuit

Country Status (1)

Country Link
JP (1) JP4295808B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5567790B2 (en) * 2009-05-18 2014-08-06 キヤノン株式会社 Image processing apparatus, control method therefor, and program
JP6225202B2 (en) * 2016-02-12 2017-11-01 キヤノン株式会社 Image processing apparatus, control method therefor, and program
JP7176355B2 (en) * 2018-10-31 2022-11-22 株式会社リコー IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM FOR IMAGE PROCESSING DEVICE
JP7242273B2 (en) * 2018-11-30 2023-03-20 コイト電工株式会社 Image processing device and image processing method

Also Published As

Publication number Publication date
JP2008228338A (en) 2008-09-25

Similar Documents

Publication Publication Date Title
JP4146654B2 (en) Image processing circuit, composite image processing circuit, and image forming apparatus
JP3660182B2 (en) Image processing device
JP4295808B2 (en) Composite image processing circuit
EP0540338B1 (en) Image processing apparatus
JP4027133B2 (en) Image processing device
US8724161B2 (en) Method, apparatus, and computer program product for processing image data of plural images to combine for output to a recording medium
JP4909839B2 (en) Image processing apparatus and image processing method
JP5245803B2 (en) Image processing apparatus and image processing module
JP2018118477A (en) Image processing device, control method and program of the same
JP4063840B2 (en) Image processing device
JP4253138B2 (en) Image forming apparatus
JP3670918B2 (en) Image processing device
JP2008044106A (en) Image forming apparatus, operating method of image forming apparatus, asic for image processing, operating method of asic for image processing, and program
JP4316476B2 (en) Image processing apparatus and image forming apparatus
JP4725799B2 (en) Image forming apparatus
JP2000069257A (en) Image processor
JP2002117396A (en) Image processing device
JP2009064341A (en) Data transfer system
JP5564998B2 (en) Image processing device and image processing apparatus
JP2002135544A (en) Image processing apparatus
JP2008171200A (en) Image processor, image processing method, program, and computer readable storage medium
JP2010147815A (en) Image processing apparatus and image processing module
JP2004222090A (en) Image forming apparatus
JP2005072987A (en) Image forming apparatus
JP2001186355A (en) Picture processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081014

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090224

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

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

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

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4295808

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130417

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140417

Year of fee payment: 5