JP4973550B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4973550B2
JP4973550B2 JP2008061009A JP2008061009A JP4973550B2 JP 4973550 B2 JP4973550 B2 JP 4973550B2 JP 2008061009 A JP2008061009 A JP 2008061009A JP 2008061009 A JP2008061009 A JP 2008061009A JP 4973550 B2 JP4973550 B2 JP 4973550B2
Authority
JP
Japan
Prior art keywords
image data
unit
calculation
rectangular area
calculation result
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
JP2008061009A
Other languages
Japanese (ja)
Other versions
JP2009217584A (en
Inventor
満男 東井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2008061009A priority Critical patent/JP4973550B2/en
Publication of JP2009217584A publication Critical patent/JP2009217584A/en
Application granted granted Critical
Publication of JP4973550B2 publication Critical patent/JP4973550B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、画像処理装置に関する。   The present invention relates to an image processing apparatus.

近年、画像データを取得し、取得した画像データを画像形成し得る画像形成装置が普及している。   2. Description of the Related Art In recent years, image forming apparatuses that acquire image data and can form the acquired image data have become widespread.

画像形成装置は、主として取得部、画像処理部、出力部を備えて構成される。
取得部は画像データを取得し、画像処理部は取得された画像データに各種画像処理を施す。そして、出力部は画像処理が施された画像データを用紙上に画像形成して出力する。
The image forming apparatus mainly includes an acquisition unit, an image processing unit, and an output unit.
The acquisition unit acquires image data, and the image processing unit performs various types of image processing on the acquired image data. The output unit forms an image of the image data that has undergone image processing on a sheet and outputs the image.

通常、取得部は画像データをライン単位で取得する。ライン単位とは、主走査方向(横方向)を1ラインとする単位である。取得部は、1ライン取得するごとに副走査方向(縦方向)を切り替えて取得するラインを変更し、これを複数回行うことで全ての画像データを取得する。   Usually, the acquisition unit acquires image data in units of lines. The line unit is a unit in which the main scanning direction (horizontal direction) is one line. The acquisition unit changes the line to be acquired by switching the sub-scanning direction (vertical direction) every time one line is acquired, and acquires all image data by performing this multiple times.

また、出力部もライン単位で画像データを出力し、これを複数回行うことで全ライン分の画像データを用紙上に画像形成して出力する。従って、一連の画像形成処理の中で中間的処理を行う画像処理部もライン単位で画像処理する構成が一般的にとられている。   The output unit also outputs image data line by line, and by performing this a plurality of times, image data for all lines is formed on a sheet and output. Accordingly, an image processing unit that performs intermediate processing in a series of image forming processing is generally configured to perform image processing in units of lines.

ここで、画像処理部は、画像処理の一つである近傍処理を行う場合に複数ラインの画像データを一時的に記憶しておく必要があり、そのための記憶部を備える。近傍処理には、例えば文字強調処理、モアレ除去処理等がある。   Here, the image processing unit needs to temporarily store a plurality of lines of image data when performing proximity processing, which is one of image processing, and includes a storage unit for that purpose. Examples of the proximity processing include character enhancement processing and moire removal processing.

高速に近傍処理するためには、記憶部は高速転送が可能であり、かつ、十分な記憶容量を備えるものが好ましい。具体的にはFIFO(First In First Out)機能を有するRAM(Random Access Memory、以下「FIFO/RAM」という)を用いることで、高速に近傍処理を行うことができる。また、一般的には、このFIFO/RAMをASIC(Application Specific Integrated Circuit)内に備える構成とするのが一般的である。つまり、ソフト的に処理するのではなく、ハード的な処理を行う構成とする方が処理速度の観点から好ましい。   In order to perform proximity processing at high speed, it is preferable that the storage unit is capable of high-speed transfer and has a sufficient storage capacity. Specifically, by using a RAM (Random Access Memory, hereinafter referred to as “FIFO / RAM”) having a FIFO (First In First Out) function, it is possible to perform neighborhood processing at high speed. In general, the FIFO / RAM is generally provided in an ASIC (Application Specific Integrated Circuit). In other words, it is preferable from the viewpoint of processing speed that the hardware processing is performed instead of the software processing.

FIFO/RAMをASIC内に配置した場合、上述してきたように近傍処理を高速に行うことができる反面、画像処理部の生産コストや開発コストに多大な費用が必要となる。一般に、FIFO/RAMは性能が良いため高価だからである。
こうした問題点を解消すべく、矩形領域ごとに画像処理する画像処理部が特許文献1〜3に開示されている。
When the FIFO / RAM is arranged in the ASIC, the neighborhood processing can be performed at a high speed as described above, but a great amount of cost is required for the production cost and development cost of the image processing unit. This is because FIFO / RAM is generally expensive because of its good performance.
In order to solve such problems, Patent Documents 1 to 3 disclose image processing units that perform image processing for each rectangular region.

特許文献1〜3に記載の画像処理部は、画像処理を矩形領域ごとに行う。
矩形領域ごとの画像処理において、画像処理部はまず、取得部が取得した全ライン分の画像データを複数のm行n列の矩形領域に分割する。そして、分割した矩形領域ごとに画像処理を行う。なお、矩形領域内での画像処理は、通常のライン単位での処理と同様に、1ラインごとに各種画像処理が行われる。
The image processing units described in Patent Documents 1 to 3 perform image processing for each rectangular area.
In the image processing for each rectangular area, the image processing unit first divides the image data for all lines acquired by the acquiring unit into a plurality of m rows and n columns of rectangular regions. Then, image processing is performed for each divided rectangular area. Note that the image processing in the rectangular area is performed for each line in the same manner as in the normal line unit processing.

画像処理部は、矩形領域ごとに画像データを近傍処理する際、記憶しておく必要があるのは矩形領域内の複数ラインであって、取得部が取得した画像データの複数ラインを記憶しておく必要はない。つまり、近傍処理の際に記憶すべき画像データの容量を抑えることができるため、画像処理部は大容量の記憶部を備えずに済む。
特開2000−354168号公報 特開2000−351242号公報 特許第3510997号公報
When the image processing unit performs proximity processing on image data for each rectangular area, it is necessary to store a plurality of lines in the rectangular area, and store a plurality of lines of image data acquired by the acquisition unit. There is no need to keep it. That is, since the volume of image data to be stored in the vicinity processing can be suppressed, the image processing unit does not need to include a large-capacity storage unit.
JP 2000-354168 A JP 2000-351242 A Japanese Patent No. 3510997

ここで、特許文献1〜3の画像処理装置では、m行n列のタイル内の画像データについて近傍処理を施す場合、矩形領域外の画像データを必要とする場合がある。例えば、一の矩形領域と他の矩形領域との境界部分の画像データについて近傍処理する場合である。   Here, in the image processing apparatuses disclosed in Patent Documents 1 to 3, when performing neighborhood processing on image data in tiles of m rows and n columns, image data outside the rectangular region may be required. For example, it is a case where image data of a boundary portion between one rectangular area and another rectangular area is subjected to proximity processing.

このような場合、FIFO/RAMが記憶すべき画像データはm行n列に留まらず、例えばm+1行目の1ライン分の画像データについて記憶する必要がある。また、近傍処理を施すことにより算出したm+1行目の1ライン分の演算結果をFIFO/RAMに記憶する必要がある。   In such a case, the image data to be stored in the FIFO / RAM is not limited to m rows and n columns, and it is necessary to store, for example, image data for one line of the (m + 1) th row. Further, it is necessary to store the calculation result for one line of the (m + 1) th row calculated by performing the neighborhood processing in the FIFO / RAM.

従って、画像処理部は、矩形領域1つ分以上の画像データを余分に記憶するためのFIFO/RAMが必要となる。結果、FIFO/RAMの記憶容量は低減可能となるが、用いるFIFO/RAMの数は低減できていない。   Therefore, the image processing unit requires a FIFO / RAM for storing extra image data for one rectangular area or more. As a result, the storage capacity of the FIFO / RAM can be reduced, but the number of FIFO / RAMs used cannot be reduced.

本発明の目的は、一の矩形領域内の画像データに対し、演算処理して算出した演算結果を他の矩形領域内の画像データに対して用いることで、FIFO/RAMを削減し得る画像処理装置を提供することである。   An object of the present invention is to perform image processing that can reduce the FIFO / RAM by using the calculation result calculated by calculating the image data in one rectangular area for the image data in another rectangular area. Is to provide a device.

請求項1に記載の発明によれば、
第1記憶手段と、
前記第1記憶手段より低速な第2記憶手段と、
前記複数の矩形領域のうち、一の矩形領域における画像データを圧縮する圧縮手段と、
前記圧縮手段により圧縮された画像データを前記第2記憶手段に書き込み、当該第2記憶手段から圧縮された画像データを読み出す書込読取手段と、
前記書込読取手段により読み出された、圧縮された画像データを伸張する伸張手段と、
前記伸張手段により伸張された画像データに対して演算処理を施して一の矩形領域の演算結果を算出し、当該演算結果のうちの一部を前記第2記憶手段に記憶させ、残りの演算結果を前記第1記憶手段に記憶させる演算手段と、を備え、
前記演算手段は、前記第2記憶手段に記憶された一の矩形領域の演算結果の一部を、他の矩形領域における画像データの演算処理に用いる画像処理装置が提供される。
According to the invention of claim 1,
First storage means;
Second storage means slower than the first storage means;
Compression means for compressing image data in one rectangular area among the plurality of rectangular areas ;
A writing / reading unit that writes the image data compressed by the compression unit to the second storage unit and reads the compressed image data from the second storage unit;
Decompression means for decompressing compressed image data read by the writing and reading means;
A calculation process is performed on the image data expanded by the expansion unit to calculate a calculation result of one rectangular area, a part of the calculation result is stored in the second storage unit, and the remaining calculation result Calculating means for storing the first storage means in the first storage means ,
The calculation means is provided with an image processing apparatus that uses a part of the calculation result of one rectangular area stored in the second storage means for calculation processing of image data in another rectangular area .

請求項2に記載の発明によれば、請求項1に記載の発明において、
前記演算手段は、前記一の矩形領域における画像データに対して1行ごとに演算処理してm行分の演算結果を算出し、当該算出したm行分の演算結果のうち、m行目の演算結果を前記他の矩形領域における1行目の画像データに対して用いることにより、当該他の矩形領域における1行目の画像データに対して演算処理を施す画像処理装置が提供される。
According to the invention of claim 2, in the invention of claim 1,
The calculation means calculates the calculation result for m rows by performing calculation processing for each row on the image data in the one rectangular area, and among the calculated calculation results for the m rows, By using the calculation result for the image data of the first row in the other rectangular area, an image processing apparatus that performs the calculation process on the image data of the first line in the other rectangular area is provided.

請求項3に記載の発明によれば、請求項1又は2に記載の発明において、
前記他の矩形領域の1行目の画像データは、前記一の矩形領域のm行目の画像データと副走査方向に隣り合う画像処理装置が提供される。
According to the invention of claim 3, in the invention of claim 1 or 2,
An image processing apparatus is provided in which the first row of image data in the other rectangular area is adjacent to the mth row of image data in the one rectangular area in the sub-scanning direction.

請求項4に記載の発明によれば、請求項1〜3の何れか一項に記載の発明において、
前記演算手段は、前記矩形領域において算出した前記演算結果のうち、1行目からm−1行目までの演算結果を前記第1記憶手段に、又最終ラインのm行目の演算結果を前記第2記憶手段に、それぞれ出力し、
前記第1記憶手段及び前記第2記憶手段は、前記演算手段から出力される前記演算結果を記憶する画像処理装置が提供される。
According to the invention described in claim 4, in the invention described in any one of claims 1-3,
The calculation means stores the calculation results from the first line to the (m−1) th line among the calculation results calculated in the rectangular area in the first storage means, and the calculation result in the mth line of the last line. Respectively output to the second storage means,
The first storage unit and the second storage unit are provided with an image processing apparatus that stores the calculation result output from the calculation unit.

請求項5に記載の発明によれば、請求項4に記載の発明において、
前記演算手段は、前記矩形領域のm行目の演算結果を算出した後、次に処理する矩形領域のm行目の演算結果を算出し始めるまでに、前記矩形領域のm行目の演算結果を前記第2記憶手段に出力する画像処理装置が提供される。
According to the invention of claim 5, in the invention of claim 4,
The calculation means calculates the calculation result of the m-th row of the rectangular area after calculating the calculation result of the m-th line of the rectangular area and before calculating the calculation result of the m-th line of the rectangular area to be processed next. Is provided to the second storage means.

請求項6に記載の発明によれば、請求項4又は5の何れか一項に記載の発明において、
前記第2記憶手段は、前記演算手段が前記矩形領域の1行目の演算結果を算出してから、次に処理する矩形領域の1行目の演算結果を算出し始めるまでに、当該次に処理する矩形領域の1行目に用いる演算結果を前記演算手段に出力する画像処理装置が提供される。
According to the invention described in claim 6, in the invention described in any one of claims 4 or 5,
The second storage means calculates the calculation result of the first line of the rectangular area to be processed next after the calculation means calculates the calculation result of the first line of the rectangular area. An image processing apparatus is provided that outputs a calculation result used in the first line of a rectangular area to be processed to the calculation means.

請求項7に記載の発明によれば、請求項1〜6の何れか一項に記載の発明において、
前記演算手段は、前記矩形領域における画像データに対して誤差拡散処理を施して演算結果を算出し、当該算出した演算結果を前記他の矩形領域における画像データの誤差拡散処理に用いる画像処理装置が提供される。
According to the invention described in claim 7, in the invention described in any one of claims 1 to 6,
The calculation means performs an error diffusion process on the image data in the rectangular area to calculate a calculation result, and the image processing apparatus uses the calculated calculation result for the error diffusion process of the image data in the other rectangular area. Provided.

本発明によれば、矩形領域ごとに画像処理する画像処理装置において、一の矩形領域内の画像処理により得られた境界部分の演算結果を他の矩形領域での画像処理に用いることができる。つまり、他の矩形領域の境界部分の演算結果を高価な記憶部で記憶する必要がなくなる。よって、処理速度を維持しつつも、画像処理部の生産コストや開発コストの削減を図ることができる。 According to the present invention, in the image processing apparatus that performs image processing for each rectangular area, the calculation result of the boundary portion obtained by image processing in one rectangular area can be used for image processing in another rectangular area. That is, it is not necessary to store the calculation result of the boundary portion of another rectangular area in an expensive storage unit. Therefore, it is possible to reduce the production cost and development cost of the image processing unit while maintaining the processing speed.

以下、本実施形態における画像処理装置の最適な構成及び動作について、図面を用いて詳細に説明する。   Hereinafter, the optimum configuration and operation of the image processing apparatus according to the present embodiment will be described in detail with reference to the drawings.

まず、図1を参照して、本実施形態に係る画像形成装置100について説明する。
画像形成装置100は、取得部10、画像処理部20、出力部30、操作部40、表示部50、制御部60を備えて構成されている。
First, an image forming apparatus 100 according to the present embodiment will be described with reference to FIG.
The image forming apparatus 100 includes an acquisition unit 10, an image processing unit 20, an output unit 30, an operation unit 40, a display unit 50, and a control unit 60.

また、外部PC(Personal Computer)200は画像形成装置100と接続されている。外部PC200はPDL(Page Description Language)形式のデータを画像形成装置100に出力する。画像形成装置100は、PDL形式のデータを受信して画像データに変換し、これを画像処理して印刷処理することになる。
以下、画像形成装置100の各部について説明する。
An external PC (Personal Computer) 200 is connected to the image forming apparatus 100. The external PC 200 outputs data in PDL (Page Description Language) format to the image forming apparatus 100. The image forming apparatus 100 receives data in the PDL format, converts it into image data, performs image processing on this, and prints it.
Hereinafter, each part of the image forming apparatus 100 will be described.

取得部10は、コントローラ10a及びスキャナ部10bを備えて構成される。
コントローラ10aは、PDL形式に変換されたドキュメントデータをラスタライズして画像データを生成する。
The acquisition unit 10 includes a controller 10a and a scanner unit 10b.
The controller 10a rasterizes the document data converted into the PDL format to generate image data.

コントローラ10aは、生成した画像データを画像処理部20に出力する。
なお、コントローラ10aが出力する画像データは、C(シアン色)、M(マゼンダ色)、Y(黄色)、K(黒色)の4色の複数色から構成される印刷用の画像データである。
The controller 10a outputs the generated image data to the image processing unit 20.
Note that the image data output from the controller 10a is image data for printing composed of a plurality of four colors of C (cyan), M (magenta), Y (yellow), and K (black).

一方、スキャナ部10bは、まずスキャナ部10bが備える光学系により原稿を読み取り、アナログの画像データを生成する。   On the other hand, the scanner unit 10b first reads an original with an optical system provided in the scanner unit 10b, and generates analog image data.

次に、スキャナ部10bは、生成したアナログの画像データをA/D変換してR(赤色)、G(緑色)、B(青色)の3色から構成される画像データに変換する。そして、これを画像処理部20に出力する。なお、スキャナ部10bが出力するR、G、Bからなる画像データは表示用として用いられる。よって、画像処理部20は、必要に応じてR、G、BをY、M、C、Kからなる画像データに変換する。   Next, the scanner unit 10b performs A / D conversion on the generated analog image data to convert it into image data composed of three colors of R (red), G (green), and B (blue). Then, this is output to the image processing unit 20. The image data composed of R, G, and B output from the scanner unit 10b is used for display. Therefore, the image processing unit 20 converts R, G, and B into image data including Y, M, C, and K as necessary.

画像処理部20は、取得部10から出力された画像データに対して、各種画像処理を施す。各種画像処理には、例えば文字強調処理、モアレ除去処理等の近傍処理がある。また、誤差拡散処理も近傍処理の一つであり、本実施形態ではこの誤差拡散処理について画像処理部20とともに詳細に後述する。   The image processing unit 20 performs various image processing on the image data output from the acquisition unit 10. Various image processing includes, for example, neighborhood processing such as character enhancement processing and moire removal processing. The error diffusion process is also one of the neighborhood processes, and in the present embodiment, this error diffusion process will be described in detail later together with the image processing unit 20.

出力部30は、画像処理部20から画像処理が施された画像データを受信して、制御部60からの制御信号に従い印刷処理する。
以下、印刷処理について説明する。
The output unit 30 receives the image data that has been subjected to image processing from the image processing unit 20, and performs print processing in accordance with a control signal from the control unit 60.
Hereinafter, the printing process will be described.

出力部30は、電子写真方式による印刷処理を行い、例えばプリント用紙を収容する給紙部、感光ドラムを有する露光部、トナーを付着させる現像部、トナーを定着させる定着部等からなる(図示省略)。   The output unit 30 performs electrophotographic printing processing, and includes, for example, a paper feed unit that stores print paper, an exposure unit that includes a photosensitive drum, a developing unit that attaches toner, and a fixing unit that fixes toner (not illustrated). ).

出力部30は、プリントすべき画像データに基づいて、露光部において感光ドラム上にレーザ光等を照射して静電潜像を形成し、現像部がトナーを付着させる。そして、感光ドラム上に形成されたトナー像を給紙部から給紙されたプリント用紙に転写させ、この転写されたトナー像を定着部において定着させる。定着させた後、排紙トレイ等にプリント用紙を排紙させる。
以上が印刷処理の一連の流れである。
Based on the image data to be printed, the output unit 30 irradiates the photosensitive drum with laser light or the like at the exposure unit to form an electrostatic latent image, and the developing unit attaches toner. Then, the toner image formed on the photosensitive drum is transferred to the printing paper fed from the paper feeding unit, and the transferred toner image is fixed in the fixing unit. After fixing, the print paper is discharged to a paper discharge tray or the like.
The above is a series of printing processes.

制御部60は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備えて構成される。
CPUは、ROMに記憶されているシステムプログラムや各種制御プログラムを読み出して、RAMに展開する。そして、展開した各種プログラムとの協働により、画像形成装置100の各部を集中制御する。
The control unit 60 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.
The CPU reads the system program and various control programs stored in the ROM and expands them in the RAM. Then, the respective units of the image forming apparatus 100 are centrally controlled in cooperation with the developed various programs.

操作部40は、ユーザの操作指示を入力するためのものであり、各種キーや表示部50と一体に構成されるタッチパネル等を備える。操作部40は、操作に応じた操作信号を生成し、生成した操作信号を制御部60に出力する。   The operation unit 40 is for inputting user operation instructions, and includes various keys, a touch panel configured integrally with the display unit 50, and the like. The operation unit 40 generates an operation signal corresponding to the operation, and outputs the generated operation signal to the control unit 60.

表示部50は、LCD(Liquid Crystal Display)等を備えて構成される。
表示部50は制御部60から出力される制御信号を受信し、受信した制御信号に従って、LCD上に各種設定情報や動作状況等を表示する。
The display unit 50 includes an LCD (Liquid Crystal Display) or the like.
The display unit 50 receives the control signal output from the control unit 60, and displays various setting information, operation status, and the like on the LCD according to the received control signal.

次に、図2を参照して、画像処理部20について説明する。
画像処理部20は、ライン/タイル変換部20a、圧縮部20b、書込/読取部20c、伸張部20d、演算部20e、タイル/ライン変換部20f、第1記憶部20g、第2記憶部20hを備えて構成される。
Next, the image processing unit 20 will be described with reference to FIG.
The image processing unit 20 includes a line / tile conversion unit 20a, a compression unit 20b, a writing / reading unit 20c, an expansion unit 20d, a calculation unit 20e, a tile / line conversion unit 20f, a first storage unit 20g, and a second storage unit 20h. It is configured with.

ライン/タイル変換部20aは、取得部10がライン単位で取得した画像データを複数の矩形領域(以下、「タイル」という)に分割する処理を行う。タイルの大きさ、つまりタイルを構成する画素数は予め定められており、ライン/タイル変換部20aは予め定められている大きさに従って、複数のタイルに分割する。本実施形態では、タイルを8×8画素のタイルに分割するものとして説明する。   The line / tile conversion unit 20a performs a process of dividing the image data acquired by the acquisition unit 10 in units of lines into a plurality of rectangular regions (hereinafter referred to as “tiles”). The size of the tile, that is, the number of pixels constituting the tile is determined in advance, and the line / tile conversion unit 20a divides the tile into a plurality of tiles according to the predetermined size. In the present embodiment, description will be made assuming that the tile is divided into tiles of 8 × 8 pixels.

圧縮部20bは、タイルの圧縮処理を行う。
圧縮部20bは、圧縮した複数のタイルを書込/読取部20cに出力する。
The compression unit 20b performs tile compression processing.
The compression unit 20b outputs the compressed plurality of tiles to the writing / reading unit 20c.

書込/読取部20cは、圧縮部20bからタイル単位で出力される画像データを第2記憶部20hに書き込む処理を行う。
また、書込/読取部20cは、画像処理対象となる画像データを第2記憶部20hからタイル単位で読み出し、読み出した画像データをタイル単位で伸張部20dに出力する。
The writing / reading unit 20c performs a process of writing the image data output in units of tiles from the compression unit 20b to the second storage unit 20h.
In addition, the writing / reading unit 20c reads image data to be subjected to image processing from the second storage unit 20h in units of tiles, and outputs the read image data to the expansion unit 20d in units of tiles.

なお、画像データをタイル単位で書き込むとは、8×8画素の画像データを1つの単位として第2記憶部20hに書き込むことをいう。また、同様に、画像データをタイル単位で読み出すとは、8×8画素の画像データを1つの単位として読み出すことをいう。   Note that writing image data in units of tiles means writing image data of 8 × 8 pixels in the second storage unit 20h as one unit. Similarly, reading out image data in units of tiles means reading out image data of 8 × 8 pixels as one unit.

伸張部20dは、書込/読取部20cから出力されたタイル単位の画像データを画像処理に供するために伸張し、伸張した画像データを演算部20eに出力する。   The decompressing unit 20d decompresses the tile-unit image data output from the writing / reading unit 20c for use in image processing, and outputs the decompressed image data to the arithmetic unit 20e.

演算部20eは、伸張部20dからタイル単位で出力される画像データに対し、予め定められた画像処理を施す。予め定められた画像処理とは、例えば文字強調処理、モアレ除去処理等があり、演算部20eは各処理に応じた演算回路を備えて構成される。   The calculation unit 20e performs predetermined image processing on the image data output in units of tiles from the expansion unit 20d. The predetermined image processing includes, for example, character enhancement processing, moire removal processing, and the like, and the calculation unit 20e includes an arithmetic circuit corresponding to each processing.

また、演算部20eは、上述した文字強調処理等の他に、誤差拡散処理を施す演算回路を備える。誤差拡散処理を施す演算回路では、第1記憶部20g等を備えて構成される。本実施形態では、演算部20eが行う誤差拡散処理について図3を参照して詳細に後述する。   The arithmetic unit 20e includes an arithmetic circuit that performs error diffusion processing in addition to the character enhancement processing described above. The arithmetic circuit that performs error diffusion processing includes the first storage unit 20g and the like. In the present embodiment, error diffusion processing performed by the arithmetic unit 20e will be described in detail later with reference to FIG.

演算部20eは、画像データに対して各種画像処理を施した後、画像データをタイル単位でタイル/ライン変換部20fに出力する。   The arithmetic unit 20e performs various image processing on the image data, and then outputs the image data to the tile / line conversion unit 20f in units of tiles.

タイル/ライン変換部20fは、演算部20eからタイル単位で出力される画像データをライン単位に変換し、変換したライン単位の画像データを出力部30に出力する。   The tile / line conversion unit 20f converts the image data output in units of tiles from the calculation unit 20e into units of lines, and outputs the converted image data in units of lines to the output unit 30.

第1記憶部20gは、演算部20eが備える演算回路において、ASIC上に配置される記憶部である。また、第1記憶部20gは、高速転送可能なRAMで構成される。RAMは、FIFO動作による画像データの書き込み及び読み出しを行う。   The first storage unit 20g is a storage unit arranged on the ASIC in the arithmetic circuit provided in the arithmetic unit 20e. The first storage unit 20g is composed of a RAM capable of high-speed transfer. The RAM writes and reads image data by a FIFO operation.

第2記憶部20hは、外付けのDRAM(Dynamic RAM)を備えて構成される。
第2記憶部20hは、タイル変換された画像データをタイル単位で記憶し、また、演算部20eが演算処理して算出した演算結果を記憶する。さらに、第2記憶部20hは、演算部20eに必要な演算結果を出力する。
The second storage unit 20h includes an external DRAM (Dynamic RAM).
The second storage unit 20h stores tile-converted image data in units of tiles, and stores calculation results calculated by the calculation unit 20e. Furthermore, the 2nd memory | storage part 20h outputs a calculation result required for the calculating part 20e.

次に、図3を参照して、誤差拡散処理を行う演算部20eについて説明する。
誤差拡散処理を行う演算部20eは、加算部201、出力処理部202、DRAM書込/読取部203、第1記憶部20gを演算回路上に備えて構成される。また、DRAM書込/読取部203は、第2記憶部20hと接続されている。なお、演算部20eは、第1記憶部20gを除いた上述の各部を備えて構成されるとしてもよい。この場合、第1記憶部20gは外付けで加算部201及び出力処理部202と接続される。
Next, the calculation unit 20e that performs error diffusion processing will be described with reference to FIG.
The arithmetic unit 20e that performs error diffusion processing includes an adding unit 201, an output processing unit 202, a DRAM writing / reading unit 203, and a first storage unit 20g on an arithmetic circuit. The DRAM writing / reading unit 203 is connected to the second storage unit 20h. Note that the arithmetic unit 20e may include the above-described units other than the first storage unit 20g. In this case, the first storage unit 20g is externally connected to the adding unit 201 and the output processing unit 202.

加算部201は、伸張部20dからタイル単位で出力される画像データに対し、1ラインごとに演算結果(誤差データ)を加算する加算処理を行う。   The addition unit 201 performs addition processing for adding the calculation result (error data) for each line to the image data output in units of tiles from the expansion unit 20d.

加算処理は、タイル内の1ラインにおける全ての画素にそれぞれの誤差データが加算される。また、誤差データは、第1記憶部20gから出力され、又はDRAM書込/読取部203を介して第2記憶部20hから出力される。加算部201はこれらの誤差データを取得する。なお、誤差データについては後述する。
加算部201は、加算処理を施した画像データを出力処理部202に出力する。
In the addition process, each error data is added to all the pixels in one line in the tile. The error data is output from the first storage unit 20g or output from the second storage unit 20h via the DRAM writing / reading unit 203. The adding unit 201 acquires these error data. The error data will be described later.
The adding unit 201 outputs the image data subjected to the adding process to the output processing unit 202.

出力処理部202は、予め定められた複数の画素値を基準値とし、入力される画像データの画素値を各基準値のうち何れかの基準値に変換する変換処理を行う。   The output processing unit 202 performs a conversion process in which a plurality of predetermined pixel values are used as reference values, and the pixel values of input image data are converted into any of the reference values.

上述の変換処理について詳細に説明する。
まず、出力処理部202は、加算部201からタイル単位で出力される画像データを1ラインごとに取得する。そして、取得した1ラインの画像データのうち、各画素の画素値と予め定められた複数の基準値とを比較する。出力処理部202は、比較した結果、複数の基準値のうち最も近い基準値を決定する。そして、決定した基準値を画素値として置き換える。
以上が変換処理の一連の流れである。
The above conversion process will be described in detail.
First, the output processing unit 202 acquires the image data output in units of tiles from the addition unit 201 for each line. Then, the pixel value of each pixel in the acquired image data of one line is compared with a plurality of predetermined reference values. As a result of the comparison, the output processing unit 202 determines the closest reference value among the plurality of reference values. Then, the determined reference value is replaced with a pixel value.
The above is a series of conversion processes.

変換処理について具体的数値を用いて更に説明すると、基準値が「0、85、170、255」であって、入力される画像データにおける各画素値が「0、40、80、120、…」である場合、出力処理部202は、入力される画素値を「0、0、85、85、…」に変換する。   The conversion process will be further described using specific numerical values. The reference value is “0, 85, 170, 255”, and each pixel value in the input image data is “0, 40, 80, 120,. The output processing unit 202 converts the input pixel value to “0, 0, 85, 85,...”.

また、出力処理部202は、変換処理前の画像データと変換処理後の画像データとを画素ごとに比較して、両者の画素値の差を算出する。本実施形態において、ここで算出された差を誤差データということにする。   In addition, the output processing unit 202 compares the image data before the conversion process and the image data after the conversion process for each pixel, and calculates a difference between the two pixel values. In the present embodiment, the difference calculated here is referred to as error data.

上述の具体例を用いて説明すると、出力処理部202は変換処理前の画像データ「0、40、80、120、…」と変換処理後の画像データ「0、0、85、85、…」とを比較して、誤差データ「0、40、−5、35、…」を算出する。   To explain using the above-described specific example, the output processing unit 202 performs image data “0, 40, 80, 120,...” Before conversion processing and image data “0, 0, 85, 85,. And error data “0, 40, −5, 35,...” Is calculated.

出力処理部202は、算出した誤差データを第1記憶部20gに記憶させ、又はDRAM書込/読取部203を介して第2記憶部20hに出力して記憶させる。   The output processing unit 202 stores the calculated error data in the first storage unit 20g, or outputs and stores it in the second storage unit 20h via the DRAM writing / reading unit 203.

第1記憶部20gは、出力処理部202から出力される誤差データを取得して記憶する。なお、第1記憶部20gが記憶する誤差データは、タイル内の画像データのうち、1行目からm−1行目の誤差データである。   The first storage unit 20g acquires and stores error data output from the output processing unit 202. The error data stored in the first storage unit 20g is the error data from the first line to the (m-1) th line in the image data in the tile.

第2記憶部20hは、DRAM書込/読取部203を介して、出力処理部202から出力される誤差データを取得して記憶する。なお、第2記憶部20hが記憶する誤差データは、タイル内の画像データのうち、m行目の誤差データである。   The second storage unit 20 h acquires and stores error data output from the output processing unit 202 via the DRAM writing / reading unit 203. Note that the error data stored in the second storage unit 20h is the error data of the m-th row among the image data in the tile.

DRAM書込/読取部203は、出力処理部202から出力されるm行目の誤差データを第2記憶部20hに書き込む。また、DRAM書込/読取部203は、第2記憶部20hからm行目の誤差データを読み取り、読み取ったm行目の誤差データを加算部201に出力する。
以上が演算部20eの行う誤差拡散処理の一連の流れである。
The DRAM writing / reading unit 203 writes the mth row error data output from the output processing unit 202 to the second storage unit 20h. The DRAM writing / reading unit 203 reads the error data of the mth row from the second storage unit 20 h and outputs the read error data of the mth row to the adding unit 201.
The above is a series of flow of error diffusion processing performed by the arithmetic unit 20e.

次に、図4を参照して、上述してきた誤差拡散処理の概念図を示す。
なお、図4に示す画像データは、タイル内における1ライン分の画像データである。
Next, with reference to FIG. 4, a conceptual diagram of the error diffusion processing described above is shown.
Note that the image data shown in FIG. 4 is image data for one line in the tile.

加算部201は、入力画像データD1及び誤差データD2を有する。この両者を加算して算出した画像データD3を出力処理部202に出力する。   The adding unit 201 includes input image data D1 and error data D2. The image data D3 calculated by adding the two is output to the output processing unit 202.

出力処理部202は、加算された画像データD3における画素値を基準値S1と比較する。比較した結果、2値データD4及び誤差データD5を算出する。
出力処理部202は、2値データD4をタイル/ライン変換部20fに出力し、誤差データD5を第1記憶部20g又は第2記憶部20hに出力する。
The output processing unit 202 compares the pixel value in the added image data D3 with the reference value S1. As a result of the comparison, binary data D4 and error data D5 are calculated.
The output processing unit 202 outputs the binary data D4 to the tile / line conversion unit 20f, and outputs the error data D5 to the first storage unit 20g or the second storage unit 20h.

ここで、出力処理部202は、タイル内の1行目からm行目における誤差データのうち、1行目からm−1行目の誤差データを第1記憶部20gに出力する。また、出力処理部202は、m行目の誤差データを第2記憶部20hに出力する。   Here, the output processing unit 202 outputs error data from the first line to the m−1th line among the error data from the first line to the m-th line in the tile to the first storage unit 20g. Further, the output processing unit 202 outputs the error data of the m-th row to the second storage unit 20h.

1行目からm−1行目の誤差データは、第1記憶部20gに記憶された後、次の入力画像データが加算部201に入力されるまでに加算部201に出力される。加算部201は、上述したように、入力画像データD1と誤差データD2とを加算する処理を行う。
つまり、同一タイル内の1つのラインで算出された誤差データは、次のラインの処理で用いられることとなる。
The error data from the first line to the (m−1) th line is stored in the first storage unit 20 g and then output to the adding unit 201 until the next input image data is input to the adding unit 201. As described above, the adding unit 201 performs a process of adding the input image data D1 and the error data D2.
That is, the error data calculated for one line in the same tile is used in the next line process.

一方、m行目の誤差データは、第2記憶部20hに記憶された後、副走査方向に隣り合う他のタイルの1行目の処理において用いられることとなる。
以下、m行目の誤差データを用いる処理について、図5、6を参照して説明する。
On the other hand, the error data of the m-th row is stored in the second storage unit 20h and then used in the processing of the first row of another tile adjacent in the sub-scanning direction.
Hereinafter, processing using error data in the m-th row will be described with reference to FIGS.

まず、図5を参照して、全画像データとタイルとの関係について説明する。
上述してきたように、画像処理部20は、取得部10が取得した全画像データD10を複数のm行n列のタイルD11に分割し、分割したタイルD11ごとに画像処理を行う。
First, the relationship between all image data and tiles will be described with reference to FIG.
As described above, the image processing unit 20 divides all the image data D10 acquired by the acquisition unit 10 into a plurality of m rows and n columns of tiles D11, and performs image processing for each of the divided tiles D11.

本実施形態において、全画像データD10は8000×8000画素から構成され、タイルD11は、8行8列(8×8画素)から構成されるものとして説明する。   In the present embodiment, it is assumed that the entire image data D10 is composed of 8000 × 8000 pixels, and the tile D11 is composed of 8 rows and 8 columns (8 × 8 pixels).

画像処理部20は、主走査方向に「タイル1」、「タイル2」と処理していき、「タイル1000」まで画像処理を施した後、副走査方向に+1だけインクリメントする。そして、「タイル1001」から再度主走査方向に画像処理を行う。これを繰り返すことで、画像処理部20は、全画像データD10の画像処理を行う。   The image processing unit 20 processes “tile 1” and “tile 2” in the main scanning direction, performs image processing up to “tile 1000”, and then increments by +1 in the sub-scanning direction. Then, image processing is performed again from the “tile 1001” in the main scanning direction. By repeating this, the image processing unit 20 performs image processing of all the image data D10.

次に、図6を参照して、m行目の誤差データの処理について説明する。
タイル内の番号は、タイル番号と行番号を示す。例えば、「T1−1行目」は、タイル番号が1の1行目であることを表している。
Next, with reference to FIG. 6, processing of error data in the m-th row will be described.
The number in the tile indicates the tile number and the row number. For example, “T1-1 line” indicates that the tile number is the first line.

演算部20eは、タイル単位で入力される画像データをライン単位で演算処理する。例えば、T1−1行目の画像データを演算処理した場合、2値データD4及び誤差データD5を算出する。演算部20eは、このうち、誤差データD5をT1−2行目の画像データの演算処理に用いる。   The arithmetic unit 20e performs arithmetic processing on image data input in units of tiles in units of lines. For example, when the image data of the T1-1 line is arithmetically processed, binary data D4 and error data D5 are calculated. Of these, the arithmetic unit 20e uses the error data D5 for the arithmetic processing of the image data on the T1-2 line.

m行目の演算処理により算出した誤差データD5の処理について説明する。
演算部20eは、m行目の演算処理、例えばT1−8行目の演算処理により算出した誤差データD5を第2記憶部20hに記憶させる。T1−8行目の誤差データDを記憶させる処理に際して、演算部20eは、次に処理するタイルのm行目、つまりT2−8行目の誤差データD5を第2記憶部20hに記憶するまでに行えばよい。
The process of the error data D5 calculated by the m-th row calculation process will be described.
The calculation unit 20e stores the error data D5 calculated by the calculation process of the m-th row, for example, the calculation process of the T1-8th row, in the second storage unit 20h. In the process of storing the error data D in the T1-8th row, the arithmetic unit 20e stores the error data D5 in the mth row of the tile to be processed next, that is, the T2-8th row in the second storage unit 20h. You can go to

演算部20eは、T1001−1行目の画像データに演算処理を施す際、第2記憶部20hからT1−8行目の演算処理により算出した誤差データD5を読み出す。読み出す処理は、T1001−1行目の画像データに対して演算処理を開始するまでに読み出しておけばよい。   When the arithmetic unit 20e performs arithmetic processing on the image data of the T1001-1 line, the arithmetic unit 20e reads the error data D5 calculated by the arithmetic processing of the T1-8 line from the second storage unit 20h. The reading process may be performed before the calculation process is started on the image data on the T1001-1 line.

演算部20eは、読み出したT1−8行目の誤差データD5をT1001−1行目の画像データに加算し、加算後の画像データと基準値とを比較して、上述したように、2値データD4及び誤差データD5を算出する。   The arithmetic unit 20e adds the read error data D5 in the T1-8th row to the image data in the T1001-1 row, compares the added image data with the reference value, and outputs the binary data as described above. Data D4 and error data D5 are calculated.

以上のように、本実施形態によれば、一のタイル内の画像データに対して演算処理を施して算出した演算結果を第1記憶部20gと第2記憶部20hとに分けて出力することができる。つまり、第1記憶部20gの数を削減し、削減した分の記憶すべき必要な演算結果を第2記憶部20hに記憶させることができる。第1記憶部20gは高速転送可能なFIFO/RAMで構成される記憶部であり、第2記憶部20hは第1記憶部20gよりも低速転送のDRAMで構成される記憶部である。よって、画像処理部20の生産コストや開発コストの低減を図ることができる。更に、第2記憶部20hに記憶させた演算結果を他のタイル内の画像データに対して用いることができる。   As described above, according to the present embodiment, the calculation result calculated by performing the calculation process on the image data in one tile is output separately to the first storage unit 20g and the second storage unit 20h. Can do. That is, the number of first storage units 20g can be reduced, and the necessary calculation results to be stored can be stored in the second storage unit 20h. The first storage unit 20g is a storage unit configured by a FIFO / RAM capable of high-speed transfer, and the second storage unit 20h is a storage unit configured by a DRAM that transfers at a lower speed than the first storage unit 20g. Therefore, the production cost and development cost of the image processing unit 20 can be reduced. Furthermore, the calculation results stored in the second storage unit 20h can be used for image data in other tiles.

また、他のタイル内の画像データに対して用いる演算結果は、タイル内のm行目の演算結果とする。本実施形態によれば、T1−8行目やT2−8行目、T1001−8行目等の演算結果を他のタイルの演算処理に用いることができる。   The calculation result used for the image data in the other tile is the calculation result of the mth row in the tile. According to the present embodiment, the calculation results of the T1-8th row, the T2-8th row, the T1001-8th row, and the like can be used for the calculation processing of other tiles.

また、タイル内のm行目の演算結果を用いる他のタイルの画像データは、m行目の画像データと副走査方向に隣り合うタイルの1行目の画像データとする。本実施形態によれば、T1−8行目の演算結果をT1001−1行目の画像データの演算処理に用いることができる。   Further, the image data of other tiles using the calculation result of the m-th row in the tile is the image data of the first row of the tile adjacent to the m-th row image data in the sub-scanning direction. According to this embodiment, the calculation result of the T1-8th line can be used for the calculation process of the image data of the T1001-1 line.

また、1つのタイル内で算出した演算結果のうち、1行目からm−1行目までの演算結果とm行目の演算結果とを異なる記憶部に記憶させることができる。本実施形態によれば、T1−1行目からT1−7行目までの演算結果を第1記憶部20gに記憶させ、T1−8行目の演算結果を第2記憶部20hに記憶させることができる。   In addition, among the calculation results calculated within one tile, the calculation results from the first row to the (m−1) th row and the calculation result of the m-th row can be stored in different storage units. According to the present embodiment, the calculation results from the T1-1 line to the T1-7 line are stored in the first storage unit 20g, and the calculation result of the T1-8 line is stored in the second storage unit 20h. Can do.

また、第2記憶部20hの書込速度は、タイル内の1行目からm−1行目までの演算処理が完了するまでに直近で処理したタイルのm行目の演算結果を書き込める程度であればよい。本実施形態によれば、第2記憶部20hは、演算部20eがT2−1行目からT2−7行目までを演算処理し終えるまでに、T1−8行目の演算結果を記憶しておけばよい。   Further, the writing speed of the second storage unit 20h is such that the calculation result of the m-th row of the tile processed immediately before the calculation processing from the first row to the (m-1) -th row in the tile can be written. I just need it. According to the present embodiment, the second storage unit 20h stores the calculation result of the T1-8 line until the calculation unit 20e finishes the calculation process from the T2-1 line to the T2-7 line. Just keep it.

また、第2記憶部20hが備える出力速度は、1行目の演算処理を終えた後、2行目からm行目までの演算処理が完了するまでに次に処理するタイルの1行目の演算結果を出力できる程度であればよい。本実施形態によれば、第2記憶部20hは、演算部20eがT1―2行目からT1−8行目までを演算処理し終えるまでに、T2−1行目の演算結果を出力しておけばよい。   The output speed of the second storage unit 20h is the first row of the tile to be processed next after the calculation processing from the second row to the m-th row is completed after the calculation processing of the first row is completed. It is sufficient if the calculation result can be output. According to this embodiment, the second storage unit 20h outputs the calculation result of the T2-1 line until the calculation unit 20e finishes the calculation process from the T1-2 line to the T1-8 line. Just keep it.

また、演算部20eは、本実施形態のように誤差拡散処理を行うことができ、一のタイル内で算出した誤差データを他のタイルの誤差拡散処理に用いることができる。   Further, the arithmetic unit 20e can perform error diffusion processing as in the present embodiment, and can use error data calculated in one tile for error diffusion processing of other tiles.

なお、本実施形態では、画像処理部20は演算部20eを備え、演算部20eは誤差拡散処理を行うこととしたが、本発明はこれに限らず、例えば演算処理を行わずに単にライン調整を可能とする画像処理部とすることも可能である。
以下、他の実施形態における画像処理部について説明する。
In this embodiment, the image processing unit 20 includes the calculation unit 20e, and the calculation unit 20e performs error diffusion processing. However, the present invention is not limited to this, and for example, line adjustment is simply performed without performing calculation processing. It is also possible to provide an image processing unit that enables
Hereinafter, an image processing unit according to another embodiment will be described.

図7に、他の実施形態における画像処理部21を示す。
図7に示す画像処理部21は、図2の画像処理部20に3つの周辺回路を更に備えて構成されるものである。また、図7の画像処理部21は、演算部20eを備えずに構成される。
FIG. 7 shows an image processing unit 21 in another embodiment.
The image processing unit 21 shown in FIG. 7 is configured by further including three peripheral circuits in the image processing unit 20 of FIG. Further, the image processing unit 21 in FIG. 7 is configured without the calculation unit 20e.

3つの周辺回路とは、文字用画像処理回路21a、写真用画像処理回路21b、写真/文字判別回路21cである。
以下、これら周辺回路を含む画像処理部21の処理について説明する。
The three peripheral circuits are a character image processing circuit 21a, a photo image processing circuit 21b, and a photo / character discrimination circuit 21c.
Hereinafter, processing of the image processing unit 21 including these peripheral circuits will be described.

文字用画像処理回路21aは、文字の輪郭を強調する処理を行う。フィルタのサイズは7×7(画素)のフィルタサイズを用い、対象画素を出力するために入力画素を3ライン分遅延させる処理を行う。   The character image processing circuit 21a performs processing for enhancing the outline of the character. A filter size of 7 × 7 (pixels) is used as the filter size, and processing for delaying the input pixels by three lines is performed in order to output the target pixel.

図8に、7×7のフィルタサイズを用いた文字用画像処理の概念図を示す。
図8に示すように、文字用画像処理回路21aは、対象画素P1を出力するため、対象画素P1のライン以降の画像データ(3ライン分)を遅延させる処理を行う。
FIG. 8 is a conceptual diagram of character image processing using a 7 × 7 filter size.
As shown in FIG. 8, the character image processing circuit 21a performs a process of delaying image data (for three lines) after the line of the target pixel P1 in order to output the target pixel P1.

写真用画像処理回路21bは、平均化処理を行う。フィルタのサイズは9×9のフィルタサイズを用い、対象画素を出力するために入力画素を4ライン分遅延させる処理を行う。   The photographic image processing circuit 21b performs an averaging process. A filter size of 9 × 9 is used as a filter size, and processing for delaying input pixels by four lines is performed in order to output a target pixel.

図9に、9×9のフィルタサイズを用いた写真用画像処理の概念図を示す。
図9に示すように、写真用画像処理回路21bは、対象画素P2を出力するため、対象画素P2のライン以降の画像データ(4ライン分)を遅延させる処理を行う。
FIG. 9 shows a conceptual diagram of photographic image processing using a 9 × 9 filter size.
As shown in FIG. 9, the photographic image processing circuit 21b performs a process of delaying image data (for four lines) after the line of the target pixel P2 in order to output the target pixel P2.

写真/文字判別回路21cは、中間調レベルの画素数をカウントする処理を行う。フィルタのサイズは9×9のフィルタサイズを用い、対象画素を出力するために入力画素を4ライン分遅延させる処理を行う。
4ライン分遅延させる際の写真/文字判別処理の概念図は、図9と同様である。
The photo / character discrimination circuit 21c performs a process of counting the number of pixels at the halftone level. A filter size of 9 × 9 is used as a filter size, and processing for delaying input pixels by four lines is performed in order to output a target pixel.
The conceptual diagram of the photo / character discrimination process when the line is delayed by 4 lines is the same as FIG.

このように、それぞれの回路においてフィルタサイズが異なる場合、遅延させる画像データのライン数も異なってくる。
そこで、画像処理部21は、文字用画像処理回路21aから出力される画像データを1ライン分遅延させる遅延処理を行う。なお、遅延処理については、演算部20eによる演算処理が行われない点を除いて、図2に示した画像処理部20の処理と同様である。
As described above, when the filter size is different in each circuit, the number of lines of image data to be delayed is also different.
Therefore, the image processing unit 21 performs a delay process for delaying the image data output from the character image processing circuit 21a by one line. The delay process is the same as the process of the image processing unit 20 illustrated in FIG. 2 except that the calculation process by the calculation unit 20e is not performed.

以上のように、他の実施例によれば、遅延させる画像データのライン数の整合性を図るべく、文字用画像処理回路21aから出力された画像データを1ライン分遅延させる遅延処理を行うことができる。つまり、本願発明は演算処理(誤差拡散処理)に限らず、遅延調整回路として適用することも可能である。   As described above, according to another embodiment, in order to achieve consistency in the number of lines of image data to be delayed, the delay process is performed to delay the image data output from the character image processing circuit 21a by one line. Can do. That is, the present invention is not limited to arithmetic processing (error diffusion processing) but can be applied as a delay adjustment circuit.

画像形成装置の機能ブロック図である。2 is a functional block diagram of the image forming apparatus. FIG. 画像処理部の機能ブロック図である。It is a functional block diagram of an image processing part. 演算部の機能ブロック図である。It is a functional block diagram of a calculating part. 誤差拡散処理の概念図である。It is a conceptual diagram of an error diffusion process. タイルの概念図である。It is a conceptual diagram of a tile. タイル及び誤差拡散処理の概念図である。It is a conceptual diagram of a tile and an error diffusion process. 他の実施形態における画像処理部の機能ブロック図である。It is a functional block diagram of the image processing part in other embodiments. 7×7のフィルタサイズを用いた画像処理の概念図である。It is a conceptual diagram of the image processing using a 7x7 filter size. 9×9のフィルタサイズを用いた画像処理の概念図である。It is a conceptual diagram of the image processing using a 9x9 filter size.

符号の説明Explanation of symbols

100 画像形成装置
10 取得部
20 画像処理部
30 出力部
40 操作部
50 表示部
60 制御部
20a ライン/タイル変換部
20b 圧縮部
20c 書込/読取部
20d 伸張部
20e 演算部
20f タイル/ライン変換部
20g 第1記憶部
20h 第2記憶部
201 加算部
202 出力処理部
203 DRAM書込/読取部
DESCRIPTION OF SYMBOLS 100 Image forming apparatus 10 Acquisition part 20 Image processing part 30 Output part 40 Operation part 50 Display part 60 Control part 20a Line / tile conversion part 20b Compression part 20c Writing / reading part 20d Expansion part 20e Calculation part 20f Tile / line conversion part 20g First storage unit 20h Second storage unit 201 Addition unit 202 Output processing unit 203 DRAM writing / reading unit

Claims (7)

全ライン分の画像データを複数のm行n列の矩形領域に分割し、当該分割した矩形領域ごとに画像処理する画像処理装置において、
第1記憶手段と、
前記第1記憶手段より低速な第2記憶手段と、
前記複数の矩形領域のうち、一の矩形領域における画像データを圧縮する圧縮手段と、
前記圧縮手段により圧縮された画像データを前記第2記憶手段に書き込み、当該第2記憶手段から圧縮された画像データを読み出す書込読取手段と、
前記書込読取手段により読み出された、圧縮された画像データを伸張する伸張手段と、
前記伸張手段により伸張された画像データに対して演算処理を施して一の矩形領域の演算結果を算出し、当該演算結果のうちの一部を前記第2記憶手段に記憶させ、残りの演算結果を前記第1記憶手段に記憶させる演算手段と、を備え、
前記演算手段は、前記第2記憶手段に記憶された一の矩形領域の演算結果の一部を、他の矩形領域における画像データの演算処理に用いる画像処理装置。
In an image processing apparatus that divides image data for all lines into a plurality of m rows and n columns of rectangular regions and performs image processing for each of the divided rectangular regions,
First storage means;
Second storage means slower than the first storage means;
Compression means for compressing image data in one rectangular area among the plurality of rectangular areas ;
A writing / reading unit that writes the image data compressed by the compression unit to the second storage unit and reads the compressed image data from the second storage unit;
Decompression means for decompressing compressed image data read by the writing and reading means;
A calculation process is performed on the image data expanded by the expansion unit to calculate a calculation result of one rectangular area, a part of the calculation result is stored in the second storage unit, and the remaining calculation result Calculating means for storing the first storage means in the first storage means ,
The said calculating means is an image processing apparatus which uses a part of calculation result of one rectangular area memorize | stored in the said 2nd memory | storage part for the calculation process of the image data in another rectangular area .
前記演算手段は、前記一の矩形領域における画像データに対して1行ごとに演算処理してm行分の演算結果を算出し、当該算出したm行分の演算結果のうち、m行目の演算結果を前記他の矩形領域における1行目の画像データに対して用いることにより、当該他の矩形領域における1行目の画像データに対して演算処理を施す請求項1に記載の画像処理装置。   The calculation means calculates the calculation result for m rows by performing calculation processing for each row on the image data in the one rectangular area, and among the calculated calculation results for the m rows, The image processing apparatus according to claim 1, wherein the calculation result is used for the first row of image data in the other rectangular area by using the calculation result for the first row of image data in the other rectangular area. . 前記他の矩形領域の1行目の画像データは、前記一の矩形領域のm行目の画像データと副走査方向に隣り合う請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the first row of image data in the other rectangular area is adjacent to the mth row of image data in the one rectangular area in the sub-scanning direction. 前記演算手段は、前記矩形領域において算出した前記演算結果のうち、1行目からm−1行目までの演算結果を前記第1記憶手段に、又最終ラインのm行目の演算結果を前記第2記憶手段に、それぞれ出力し、
前記第1記憶手段及び前記第2記憶手段は、前記演算手段から出力される前記演算結果を記憶する請求項1〜3の何れか一項に記載の画像処理装置。
The calculation means stores the calculation results from the first line to the (m−1) th line among the calculation results calculated in the rectangular area in the first storage means, and the calculation result in the mth line of the last line. Respectively output to the second storage means,
The image processing apparatus according to claim 1, wherein the first storage unit and the second storage unit store the calculation result output from the calculation unit.
前記演算手段は、前記矩形領域のm行目の演算結果を算出した後、次に処理する矩形領域のm行目の演算結果を算出し始めるまでに、前記矩形領域のm行目の演算結果を前記第2記憶手段に出力する請求項4に記載の画像処理装置。   The calculation means calculates the calculation result of the m-th row of the rectangular area after calculating the calculation result of the m-th line of the rectangular area and before calculating the calculation result of the m-th line of the rectangular area to be processed next. The image processing apparatus according to claim 4, wherein: 前記第2記憶手段は、前記演算手段が前記矩形領域の1行目の演算結果を算出してから、次に処理する矩形領域の1行目の演算結果を算出し始めるまでに、当該次に処理する矩形領域の1行目に用いる演算結果を前記演算手段に出力する請求項4又は5に記載の画像処理装置。   The second storage means calculates the calculation result of the first line of the rectangular area to be processed next after the calculation means calculates the calculation result of the first line of the rectangular area. The image processing apparatus according to claim 4 or 5, wherein a calculation result used for a first line of a rectangular area to be processed is output to the calculation means. 前記演算手段は、前記矩形領域における画像データに対して誤差拡散処理を施して演算結果を算出し、当該算出した演算結果を前記他の矩形領域における画像データの誤差拡散処理に用いる請求項1〜6の何れか一項に記載の画像処理装置。   The calculation means performs error diffusion processing on image data in the rectangular area to calculate a calculation result, and uses the calculated calculation result for error diffusion processing of image data in the other rectangular area. The image processing device according to claim 6.
JP2008061009A 2008-03-11 2008-03-11 Image processing device Expired - Fee Related JP4973550B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008061009A JP4973550B2 (en) 2008-03-11 2008-03-11 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008061009A JP4973550B2 (en) 2008-03-11 2008-03-11 Image processing device

Publications (2)

Publication Number Publication Date
JP2009217584A JP2009217584A (en) 2009-09-24
JP4973550B2 true JP4973550B2 (en) 2012-07-11

Family

ID=41189357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008061009A Expired - Fee Related JP4973550B2 (en) 2008-03-11 2008-03-11 Image processing device

Country Status (1)

Country Link
JP (1) JP4973550B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5797030B2 (en) * 2010-08-25 2015-10-21 キヤノン株式会社 Image processing apparatus and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08321951A (en) * 1995-05-26 1996-12-03 Sanyo Electric Co Ltd Image data processing unit
JP2005311745A (en) * 2004-04-22 2005-11-04 Olympus Corp Image processor
JP2007110419A (en) * 2005-10-13 2007-04-26 Kyocera Mita Corp Image magnification method

Also Published As

Publication number Publication date
JP2009217584A (en) 2009-09-24

Similar Documents

Publication Publication Date Title
US9734439B2 (en) Image processing apparatus and method thereof
JP5812669B2 (en) Image processing apparatus, image processing method, and computer program.
JP6632345B2 (en) Image processing apparatus, method, program and data structure
US20170208211A1 (en) Image processing apparatus, image processing method, and storage medium
JP6671990B2 (en) Image forming apparatus, image forming method, and computer program
JP4973550B2 (en) Image processing device
JP4378197B2 (en) Image information device
US9195160B2 (en) Image forming apparatus and image forming method for correcting registration deviation
JP2010074627A (en) Image processor and method of processing image
US8437046B2 (en) Image processing apparatus and method for outputting an image subjected to pseudo-halftone processing
US20070052982A1 (en) Color image forming apparatus and image forming method
JP5084688B2 (en) Image forming apparatus
JP4223049B2 (en) Image processing apparatus and image forming apparatus
US10571840B2 (en) Image processing apparatus, method of controlling the same, and storage medium
US10511739B1 (en) Image processing apparatus and image processing method for generating scaled image data
JP5696697B2 (en) Image processing apparatus and image processing method
JP6091481B2 (en) Image processing apparatus and screen display method
JP6658105B2 (en) Image forming apparatus, image forming method, and program
JP2006231854A (en) Image formation device and its controlling method
JP6210354B2 (en) Image processing apparatus and image processing method
JP2011148277A (en) Image forming apparatus, image forming method, and image forming program
JP2023025779A (en) Image processing device and data decompression method
JP5812928B2 (en) Display device and image forming apparatus having the same
JP5609189B2 (en) Image processing apparatus, image forming system, and image processing program
JP2010130103A (en) Apparatus and method for forming image

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111004

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111018

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111130

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111130

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

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

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

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees