JP4973550B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- 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
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,
特許文献1〜3に記載の画像処理部は、画像処理を矩形領域ごとに行う。
矩形領域ごとの画像処理において、画像処理部はまず、取得部が取得した全ライン分の画像データを複数のm行n列の矩形領域に分割する。そして、分割した矩形領域ごとに画像処理を行う。なお、矩形領域内での画像処理は、通常のライン単位での処理と同様に、1ラインごとに各種画像処理が行われる。
The image processing units described in
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.
画像処理部は、矩形領域ごとに画像データを近傍処理する際、記憶しておく必要があるのは矩形領域内の複数ラインであって、取得部が取得した画像データの複数ラインを記憶しておく必要はない。つまり、近傍処理の際に記憶すべき画像データの容量を抑えることができるため、画像処理部は大容量の記憶部を備えずに済む。
ここで、特許文献1〜3の画像処理装置では、m行n列のタイル内の画像データについて近傍処理を施す場合、矩形領域外の画像データを必要とする場合がある。例えば、一の矩形領域と他の矩形領域との境界部分の画像データについて近傍処理する場合である。
Here, in the image processing apparatuses disclosed in
このような場合、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
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
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
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
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
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
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
The
また、外部PC(Personal Computer)200は画像形成装置100と接続されている。外部PC200はPDL(Page Description Language)形式のデータを画像形成装置100に出力する。画像形成装置100は、PDL形式のデータを受信して画像データに変換し、これを画像処理して印刷処理することになる。
以下、画像形成装置100の各部について説明する。
An external PC (Personal Computer) 200 is connected to the
Hereinafter, each part of the
取得部10は、コントローラ10a及びスキャナ部10bを備えて構成される。
コントローラ10aは、PDL形式に変換されたドキュメントデータをラスタライズして画像データを生成する。
The
The
コントローラ10aは、生成した画像データを画像処理部20に出力する。
なお、コントローラ10aが出力する画像データは、C(シアン色)、M(マゼンダ色)、Y(黄色)、K(黒色)の4色の複数色から構成される印刷用の画像データである。
The
Note that the image data output from the
一方、スキャナ部10bは、まずスキャナ部10bが備える光学系により原稿を読み取り、アナログの画像データを生成する。
On the other hand, the
次に、スキャナ部10bは、生成したアナログの画像データをA/D変換してR(赤色)、G(緑色)、B(青色)の3色から構成される画像データに変換する。そして、これを画像処理部20に出力する。なお、スキャナ部10bが出力するR、G、Bからなる画像データは表示用として用いられる。よって、画像処理部20は、必要に応じてR、G、BをY、M、C、Kからなる画像データに変換する。
Next, the
画像処理部20は、取得部10から出力された画像データに対して、各種画像処理を施す。各種画像処理には、例えば文字強調処理、モアレ除去処理等の近傍処理がある。また、誤差拡散処理も近傍処理の一つであり、本実施形態ではこの誤差拡散処理について画像処理部20とともに詳細に後述する。
The
出力部30は、画像処理部20から画像処理が施された画像データを受信して、制御部60からの制御信号に従い印刷処理する。
以下、印刷処理について説明する。
The
Hereinafter, the printing process will be described.
出力部30は、電子写真方式による印刷処理を行い、例えばプリント用紙を収容する給紙部、感光ドラムを有する露光部、トナーを付着させる現像部、トナーを定着させる定着部等からなる(図示省略)。
The
出力部30は、プリントすべき画像データに基づいて、露光部において感光ドラム上にレーザ光等を照射して静電潜像を形成し、現像部がトナーを付着させる。そして、感光ドラム上に形成されたトナー像を給紙部から給紙されたプリント用紙に転写させ、この転写されたトナー像を定着部において定着させる。定着させた後、排紙トレイ等にプリント用紙を排紙させる。
以上が印刷処理の一連の流れである。
Based on the image data to be printed, the
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
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
操作部40は、ユーザの操作指示を入力するためのものであり、各種キーや表示部50と一体に構成されるタッチパネル等を備える。操作部40は、操作に応じた操作信号を生成し、生成した操作信号を制御部60に出力する。
The
表示部50は、LCD(Liquid Crystal Display)等を備えて構成される。
表示部50は制御部60から出力される制御信号を受信し、受信した制御信号に従って、LCD上に各種設定情報や動作状況等を表示する。
The
The
次に、図2を参照して、画像処理部20について説明する。
画像処理部20は、ライン/タイル変換部20a、圧縮部20b、書込/読取部20c、伸張部20d、演算部20e、タイル/ライン変換部20f、第1記憶部20g、第2記憶部20hを備えて構成される。
Next, the
The
ライン/タイル変換部20aは、取得部10がライン単位で取得した画像データを複数の矩形領域(以下、「タイル」という)に分割する処理を行う。タイルの大きさ、つまりタイルを構成する画素数は予め定められており、ライン/タイル変換部20aは予め定められている大きさに従って、複数のタイルに分割する。本実施形態では、タイルを8×8画素のタイルに分割するものとして説明する。
The line /
圧縮部20bは、タイルの圧縮処理を行う。
圧縮部20bは、圧縮した複数のタイルを書込/読取部20cに出力する。
The
The
書込/読取部20cは、圧縮部20bからタイル単位で出力される画像データを第2記憶部20hに書き込む処理を行う。
また、書込/読取部20cは、画像処理対象となる画像データを第2記憶部20hからタイル単位で読み出し、読み出した画像データをタイル単位で伸張部20dに出力する。
The writing /
In addition, the writing /
なお、画像データをタイル単位で書き込むとは、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
伸張部20dは、書込/読取部20cから出力されたタイル単位の画像データを画像処理に供するために伸張し、伸張した画像データを演算部20eに出力する。
The decompressing
演算部20eは、伸張部20dからタイル単位で出力される画像データに対し、予め定められた画像処理を施す。予め定められた画像処理とは、例えば文字強調処理、モアレ除去処理等があり、演算部20eは各処理に応じた演算回路を備えて構成される。
The
また、演算部20eは、上述した文字強調処理等の他に、誤差拡散処理を施す演算回路を備える。誤差拡散処理を施す演算回路では、第1記憶部20g等を備えて構成される。本実施形態では、演算部20eが行う誤差拡散処理について図3を参照して詳細に後述する。
The
演算部20eは、画像データに対して各種画像処理を施した後、画像データをタイル単位でタイル/ライン変換部20fに出力する。
The
タイル/ライン変換部20fは、演算部20eからタイル単位で出力される画像データをライン単位に変換し、変換したライン単位の画像データを出力部30に出力する。
The tile /
第1記憶部20gは、演算部20eが備える演算回路において、ASIC上に配置される記憶部である。また、第1記憶部20gは、高速転送可能なRAMで構成される。RAMは、FIFO動作による画像データの書き込み及び読み出しを行う。
The
第2記憶部20hは、外付けのDRAM(Dynamic RAM)を備えて構成される。
第2記憶部20hは、タイル変換された画像データをタイル単位で記憶し、また、演算部20eが演算処理して算出した演算結果を記憶する。さらに、第2記憶部20hは、演算部20eに必要な演算結果を出力する。
The
The
次に、図3を参照して、誤差拡散処理を行う演算部20eについて説明する。
誤差拡散処理を行う演算部20eは、加算部201、出力処理部202、DRAM書込/読取部203、第1記憶部20gを演算回路上に備えて構成される。また、DRAM書込/読取部203は、第2記憶部20hと接続されている。なお、演算部20eは、第1記憶部20gを除いた上述の各部を備えて構成されるとしてもよい。この場合、第1記憶部20gは外付けで加算部201及び出力処理部202と接続される。
Next, the
The
加算部201は、伸張部20dからタイル単位で出力される画像データに対し、1ラインごとに演算結果(誤差データ)を加算する加算処理を行う。
The
加算処理は、タイル内の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
The adding
出力処理部202は、予め定められた複数の画素値を基準値とし、入力される画像データの画素値を各基準値のうち何れかの基準値に変換する変換処理を行う。
The
上述の変換処理について詳細に説明する。
まず、出力処理部202は、加算部201からタイル単位で出力される画像データを1ラインごとに取得する。そして、取得した1ラインの画像データのうち、各画素の画素値と予め定められた複数の基準値とを比較する。出力処理部202は、比較した結果、複数の基準値のうち最も近い基準値を決定する。そして、決定した基準値を画素値として置き換える。
以上が変換処理の一連の流れである。
The above conversion process will be described in detail.
First, the
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
また、出力処理部202は、変換処理前の画像データと変換処理後の画像データとを画素ごとに比較して、両者の画素値の差を算出する。本実施形態において、ここで算出された差を誤差データということにする。
In addition, the
上述の具体例を用いて説明すると、出力処理部202は変換処理前の画像データ「0、40、80、120、…」と変換処理後の画像データ「0、0、85、85、…」とを比較して、誤差データ「0、40、−5、35、…」を算出する。
To explain using the above-described specific example, the
出力処理部202は、算出した誤差データを第1記憶部20gに記憶させ、又はDRAM書込/読取部203を介して第2記憶部20hに出力して記憶させる。
The
第1記憶部20gは、出力処理部202から出力される誤差データを取得して記憶する。なお、第1記憶部20gが記憶する誤差データは、タイル内の画像データのうち、1行目からm−1行目の誤差データである。
The
第2記憶部20hは、DRAM書込/読取部203を介して、出力処理部202から出力される誤差データを取得して記憶する。なお、第2記憶部20hが記憶する誤差データは、タイル内の画像データのうち、m行目の誤差データである。
The
DRAM書込/読取部203は、出力処理部202から出力されるm行目の誤差データを第2記憶部20hに書き込む。また、DRAM書込/読取部203は、第2記憶部20hからm行目の誤差データを読み取り、読み取ったm行目の誤差データを加算部201に出力する。
以上が演算部20eの行う誤差拡散処理の一連の流れである。
The DRAM writing /
The above is a series of flow of error diffusion processing performed by the
次に、図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
出力処理部202は、加算された画像データD3における画素値を基準値S1と比較する。比較した結果、2値データD4及び誤差データD5を算出する。
出力処理部202は、2値データD4をタイル/ライン変換部20fに出力し、誤差データD5を第1記憶部20g又は第2記憶部20hに出力する。
The
The
ここで、出力処理部202は、タイル内の1行目からm行目における誤差データのうち、1行目からm−1行目の誤差データを第1記憶部20gに出力する。また、出力処理部202は、m行目の誤差データを第2記憶部20hに出力する。
Here, the
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
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
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
本実施形態において、全画像データ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
次に、図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
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
演算部20eは、T1001−1行目の画像データに演算処理を施す際、第2記憶部20hからT1−8行目の演算処理により算出した誤差データD5を読み出す。読み出す処理は、T1001−1行目の画像データに対して演算処理を開始するまでに読み出しておけばよい。
When the
演算部20eは、読み出したT1−8行目の誤差データD5をT1001−1行目の画像データに加算し、加算後の画像データと基準値とを比較して、上述したように、2値データD4及び誤差データD5を算出する。
The
以上のように、本実施形態によれば、一のタイル内の画像データに対して演算処理を施して算出した演算結果を第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
また、他のタイル内の画像データに対して用いる演算結果は、タイル内の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
また、第2記憶部20hの書込速度は、タイル内の1行目からm−1行目までの演算処理が完了するまでに直近で処理したタイルのm行目の演算結果を書き込める程度であればよい。本実施形態によれば、第2記憶部20hは、演算部20eがT2−1行目からT2−7行目までを演算処理し終えるまでに、T1−8行目の演算結果を記憶しておけばよい。
Further, the writing speed of the
また、第2記憶部20hが備える出力速度は、1行目の演算処理を終えた後、2行目からm行目までの演算処理が完了するまでに次に処理するタイルの1行目の演算結果を出力できる程度であればよい。本実施形態によれば、第2記憶部20hは、演算部20eがT1―2行目からT1−8行目までを演算処理し終えるまでに、T2−1行目の演算結果を出力しておけばよい。
The output speed of the
また、演算部20eは、本実施形態のように誤差拡散処理を行うことができ、一のタイル内で算出した誤差データを他のタイルの誤差拡散処理に用いることができる。
Further, the
なお、本実施形態では、画像処理部20は演算部20eを備え、演算部20eは誤差拡散処理を行うこととしたが、本発明はこれに限らず、例えば演算処理を行わずに単にライン調整を可能とする画像処理部とすることも可能である。
以下、他の実施形態における画像処理部について説明する。
In this embodiment, the
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
The
3つの周辺回路とは、文字用画像処理回路21a、写真用画像処理回路21b、写真/文字判別回路21cである。
以下、これら周辺回路を含む画像処理部21の処理について説明する。
The three peripheral circuits are a character
Hereinafter, processing of the
文字用画像処理回路21aは、文字の輪郭を強調する処理を行う。フィルタのサイズは7×7(画素)のフィルタサイズを用い、対象画素を出力するために入力画素を3ライン分遅延させる処理を行う。
The character
図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
写真用画像処理回路21bは、平均化処理を行う。フィルタのサイズは9×9のフィルタサイズを用い、対象画素を出力するために入力画素を4ライン分遅延させる処理を行う。
The photographic
図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
写真/文字判別回路21cは、中間調レベルの画素数をカウントする処理を行う。フィルタのサイズは9×9のフィルタサイズを用い、対象画素を出力するために入力画素を4ライン分遅延させる処理を行う。
4ライン分遅延させる際の写真/文字判別処理の概念図は、図9と同様である。
The photo /
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
以上のように、他の実施例によれば、遅延させる画像データのライン数の整合性を図るべく、文字用画像処理回路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
100 画像形成装置
10 取得部
20 画像処理部
30 出力部
40 操作部
50 表示部
60 制御部
20a ライン/タイル変換部
20b 圧縮部
20c 書込/読取部
20d 伸張部
20e 演算部
20f タイル/ライン変換部
20g 第1記憶部
20h 第2記憶部
201 加算部
202 出力処理部
203 DRAM書込/読取部
DESCRIPTION OF
Claims (7)
第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記憶手段及び前記第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.
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)
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)
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 |
-
2008
- 2008-03-11 JP JP2008061009A patent/JP4973550B2/en not_active Expired - Fee Related
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 |