JP2011049893A - Image processor and image forming apparatus - Google Patents
Image processor and image forming apparatus Download PDFInfo
- Publication number
- JP2011049893A JP2011049893A JP2009197372A JP2009197372A JP2011049893A JP 2011049893 A JP2011049893 A JP 2011049893A JP 2009197372 A JP2009197372 A JP 2009197372A JP 2009197372 A JP2009197372 A JP 2009197372A JP 2011049893 A JP2011049893 A JP 2011049893A
- Authority
- JP
- Japan
- Prior art keywords
- line
- block
- data
- buffer memory
- image processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、画像処理装置および画像形成装置に関するものである。 The present invention relates to an image processing apparatus and an image forming apparatus.
ラインメモリのサイズを小さくするために、画像を複数のブロックに分割しブロックごとに画像処理を施す技術が提案されている(例えば特許文献1参照)。この技術によれば、ラインメモリのサイズは、主走査方向におけるブロックの長さ分で済むため、ラインメモリのサイズが小さくなる。 In order to reduce the size of the line memory, a technique for dividing an image into a plurality of blocks and performing image processing for each block has been proposed (for example, see Patent Document 1). According to this technique, the size of the line memory can be reduced by the length of the block in the main scanning direction.
また、ある画像処理装置において、RGBの各センサチップのスキャン方向における読み取り位置を合わせるために、副走査方向におけるスキャン速度に応じて、フィールドメモリを使用して、スキャンにより得られたラインデータをディレイさせる技術が提案されている(例えば特許文献2参照)。 In addition, in a certain image processing apparatus, in order to match the reading position of each RGB sensor chip in the scanning direction, the line data obtained by scanning is delayed using a field memory according to the scanning speed in the sub-scanning direction. The technique to make is proposed (for example, refer patent document 2).
画像形成装置では、カラーで原稿をスキャンし、スキャンにより得られた画像データを使用して、ブロックごとに画像処理を行う場合がある。例えば、コピー処理の場合、原稿スキャンにより得られた画像データに対して、ブロックごとにデータ処理を行い、データ処理後の画像データを使用して、原稿のコピーを印刷する。 In an image forming apparatus, a document is scanned in color, and image processing may be performed for each block using image data obtained by scanning. For example, in the case of copy processing, data processing is performed for each block on image data obtained by document scanning, and a copy of the document is printed using the image data after data processing.
画像形成装置ではラインスキャナが使用されるため、画像データは、ラインデータとして、ライン単位で生成される。このような場合、ラインスキャナにおいて、複数の色に対応する複数のラインセンサを使用するため、ラインセンサの読み取り位置のずれに応じて、フィールドメモリを使用してラインデータをバッファリングしつつ複数色のラインデータを同期させる。そして、この画像データに対して、ブロックごとにデータ処理を施す場合、各色について、副走査方向におけるブロックの長さ以上の数のラインデータをバッファメモリに格納し、バッファメモリからブロックごとに画像データ(つまり、ブロックデータ)を読み出し、そのブロックデータに対してデータ処理を行う。 Since the image forming apparatus uses a line scanner, the image data is generated in line units as line data. In such a case, since the line scanner uses a plurality of line sensors corresponding to a plurality of colors, a plurality of colors are used while buffering the line data using a field memory in accordance with the deviation of the reading position of the line sensor. Synchronize the line data. When this image data is subjected to data processing for each block, for each color, the number of line data equal to or greater than the length of the block in the sub-scanning direction is stored in the buffer memory, and the image data is stored for each block from the buffer memory. (That is, block data) is read and data processing is performed on the block data.
このように、ライン補正時およびブロック変換時にそれぞれ画像データがバッファリングされるため、必要なメモリサイズが大きくなるとともに、メモリアクセスが多くなり、一連の画像処理に遅延が生じてしまう。 As described above, since image data is buffered at the time of line correction and block conversion, the required memory size is increased, memory access is increased, and a series of image processing is delayed.
本発明は、上記の問題に鑑みてなされたものであり、小さいサイズのバッファメモリを使用し少ないメモリアクセスで、カラースキャンにより得られた画像データをブロックごとに処理することができる画像処理装置および画像形成装置を得ることを目的とする。 The present invention has been made in view of the above problems, and an image processing apparatus capable of processing image data obtained by color scanning on a block-by-block basis with a small memory access using a small size buffer memory. An object is to obtain an image forming apparatus.
上記の課題を解決するために、本発明では以下のようにした。 In order to solve the above problems, the present invention is configured as follows.
本発明に係る画像処理装置の1つは、ラインスキャナにおける複数色のラインセンサによる複数色のラインデータをそれぞれ、ラインセンサの間隔に対応するオフセット分だけアドレスをシフトさせて、バッファメモリに副走査方向に沿って順番に書き込むラスタ書込部と、バッファメモリに書き込まれた各色についての複数のラインデータからブロックデータを読み出すブロック読出部と、ブロック読出部により読み出されたブロックデータに対して所定のデータ処理を行うブロック画像処理部とを備える。
ものである。
One of the image processing apparatuses according to the present invention sub-scans the buffer memory by shifting the address of the line data of multiple colors by the line sensors of the multiple colors in the line scanner by an offset corresponding to the interval of the line sensors. A raster writing unit that writes data sequentially in the direction, a block reading unit that reads block data from a plurality of line data for each color written to the buffer memory, and a predetermined block data read by the block reading unit A block image processing unit for performing the data processing.
Is.
これにより、バッファメモリに対する1回の書き込みおよび1回の読み出しで、ライン間補正とブロック変換を行うため、バッファメモリが1つで済むとともに、バッファメモリへのメモリアクセスが少なくなる。このため、小さいサイズのバッファメモリを使用し少ないメモリアクセスで、カラースキャンにより得られた画像データをブロックごとに処理することができる。 As a result, line correction and block conversion are performed by one write and one read to the buffer memory, so that only one buffer memory is required and memory access to the buffer memory is reduced. For this reason, image data obtained by color scanning can be processed for each block with a small memory access using a small-sized buffer memory.
また、本発明に係る画像処理装置は、上記の画像処理装置に加え、次のようにしてもよい。この場合、画像処理装置は、ラインセンサの間隔に対応するオフセット分だけシフトさせたアドレスを計算するライン間補正アドレス計算部をさらに備える。そして、ラスタ書込部は、ライン間補正アドレス計算部により計算されたアドレスにラインデータを書き込む。 In addition to the image processing apparatus described above, the image processing apparatus according to the present invention may be configured as follows. In this case, the image processing apparatus further includes an interline correction address calculation unit that calculates an address shifted by an offset corresponding to the interval between the line sensors. Then, the raster writing unit writes the line data at the address calculated by the interline correction address calculation unit.
これにより、スキャン速度など種々の設定が変更された場合でも、ライン間補正アドレス計算部により書込アドレスを正確に特定することができる。 Accordingly, even when various settings such as the scan speed are changed, the write address can be accurately specified by the inter-line correction address calculation unit.
また、本発明に係る画像処理装置の1つは、ラインスキャナにおける複数色のラインセンサによる複数色のラインデータをそれぞれ、バッファメモリに副走査方向に沿って順番に書き込むラスタ書込部と、ラインセンサの間隔に対応するオフセット分だけアドレスをシフトさせつつ、バッファメモリに書き込まれた各色についての複数のラインデータからブロックデータを読み出すブロック読出部と、ブロック読出部により読み出されたブロックデータに対して所定のデータ処理を行うブロック画像処理部とを備える。 Also, one of the image processing apparatuses according to the present invention includes a raster writing unit for sequentially writing line data of a plurality of colors by a line sensor of a plurality of colors in a line scanner to a buffer memory in the sub-scanning direction, and a line A block reading unit that reads block data from a plurality of line data for each color written in the buffer memory while shifting an address by an offset corresponding to the sensor interval, and block data read by the block reading unit And a block image processing unit for performing predetermined data processing.
これにより、バッファメモリに対する1回の書き込みおよび1回の読み出しで、ライン間補正とブロック変換を行うため、バッファメモリが1つで済むとともに、バッファメモリへのメモリアクセスが少なくなる。このため、小さいサイズのバッファメモリを使用し少ないメモリアクセスで、カラースキャンにより得られた画像データをブロックごとに処理することができる。 As a result, line correction and block conversion are performed by one write and one read to the buffer memory, so that only one buffer memory is required and memory access to the buffer memory is reduced. For this reason, image data obtained by color scanning can be processed for each block with a small memory access using a small-sized buffer memory.
また、本発明に係る画像処理装置は、上記の画像処理装置に加え、次のようにしてもよい。この場合、画像処理装置は、ラインセンサの間隔に対応するオフセット分だけシフトさせたアドレスを計算するライン間補正アドレス計算部をさらに備える。そして、ブロック読出部は、ライン間補正アドレス計算部により計算されたアドレスからブロックデータを読み出す。 In addition to the image processing apparatus described above, the image processing apparatus according to the present invention may be configured as follows. In this case, the image processing apparatus further includes an interline correction address calculation unit that calculates an address shifted by an offset corresponding to the interval between the line sensors. The block reading unit reads block data from the address calculated by the interline correction address calculation unit.
これにより、スキャン速度など種々の設定が変更された場合でも、ライン間補正アドレス計算部により読出アドレスを正確に特定することができる。 Thereby, even when various settings such as the scan speed are changed, the read address can be accurately specified by the inter-line correction address calculation unit.
また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、ラスタ書込部は、バッファメモリにおける複数のバッファ領域のそれぞれに、バッファ領域に対応する色のラインデータを順番に書き込んでいく。 The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, the raster writing unit sequentially writes line data of a color corresponding to the buffer area to each of the plurality of buffer areas in the buffer memory.
また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、ブロック画像処理部は、ブロックデータをJPEG方式で圧縮する。 The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, the block image processing unit compresses the block data using the JPEG method.
本発明に係る画像形成装置は、複数色のラインセンサによる複数色のラインデータを出力するラインスキャナと、バッファメモリと、複数色のラインデータをそれぞれ、ラインセンサの間隔に対応するオフセット分だけアドレスをシフトさせて、バッファメモリに副走査方向に沿って順番に書き込むラスタ書込部と、バッファメモリに書き込まれた各色についての複数のラインデータからブロックデータを読み出すブロック読出部と、ブロック読出部により読み出されたブロックデータに対して所定のデータ処理を行うブロック画像処理部とを備える。 An image forming apparatus according to the present invention includes a line scanner that outputs line data of a plurality of colors by a line sensor of a plurality of colors, a buffer memory, and addresses of the line data of a plurality of colors by an offset corresponding to the interval between the line sensors. A raster writing unit that sequentially writes data in the buffer memory along the sub-scanning direction, a block reading unit that reads block data from a plurality of line data for each color written in the buffer memory, and a block reading unit A block image processing unit that performs predetermined data processing on the read block data.
これにより、バッファメモリに対する1回の書き込みおよび1回の読み出しで、ライン間補正とブロック変換を行うため、バッファメモリが1つで済むとともに、バッファメモリへのメモリアクセスが少なくなる。このため、小さいサイズのバッファメモリを使用し少ないメモリアクセスで、カラースキャンにより得られた画像データをブロックごとに処理することができる。 As a result, line correction and block conversion are performed by one write and one read to the buffer memory, so that only one buffer memory is required and memory access to the buffer memory is reduced. For this reason, image data obtained by color scanning can be processed for each block with a small memory access using a small-sized buffer memory.
また、本発明に係る画像形成装置は、複数色のラインセンサによる複数色のラインデータを出力するラインスキャナと、バッファメモリと、複数色のラインデータをそれぞれ、バッファメモリに副走査方向に沿って順番に書き込むラスタ書込部と、ラインセンサの間隔に対応するオフセット分だけアドレスをシフトさせつつ、バッファメモリに書き込まれた各色についての複数のラインデータからブロックデータを読み出すブロック読出部と、ブロック読出部により読み出されたブロックデータに対して所定のデータ処理を行うブロック画像処理部とを備える。 The image forming apparatus according to the present invention includes a line scanner that outputs line data of a plurality of colors by a line sensor of a plurality of colors, a buffer memory, and each of the line data of a plurality of colors in the buffer memory along the sub-scanning direction. A raster writing unit for writing sequentially, a block reading unit for reading block data from a plurality of line data for each color written in the buffer memory while shifting an address by an offset corresponding to the interval between line sensors, and block reading A block image processing unit that performs predetermined data processing on the block data read by the unit.
これにより、バッファメモリに対する1回の書き込みおよび1回の読み出しで、ライン間補正とブロック変換を行うため、バッファメモリが1つで済むとともに、バッファメモリへのメモリアクセスが少なくなる。このため、小さいサイズのバッファメモリを使用し少ないメモリアクセスで、カラースキャンにより得られた画像データをブロックごとに処理することができる。 As a result, line correction and block conversion are performed by one write and one read to the buffer memory, so that only one buffer memory is required and memory access to the buffer memory is reduced. For this reason, image data obtained by color scanning can be processed for each block with a small memory access using a small-sized buffer memory.
本発明によれば、小さいサイズのバッファメモリを使用し少ないメモリアクセスで、カラースキャンにより得られた画像データをブロックごとに処理することができる画像処理装置および画像形成装置を得ることができる。 According to the present invention, it is possible to obtain an image processing apparatus and an image forming apparatus capable of processing image data obtained by color scanning for each block with a small memory access using a small size buffer memory.
以下、図に基づいて本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
実施の形態1.
図1は、本発明の実施の形態1に係る画像形成装置の構成を示すブロック図である。この実施の形態1では、画像形成装置は、複合機である。図1に示すように、この画像形成装置は、ラインスキャナ1、画像処理装置2、バッファメモリ3、印刷装置4、通信装置5および記憶装置6を有する。
FIG. 1 is a block diagram showing a configuration of an image forming apparatus according to
ラインスキャナ1は、複数色(R(赤)、G(緑)およびB(青))のラインセンサ1R,1G,1Bを有する。ラインセンサ1R,1G,1Bは、CCD(Charge Coupled Device)などの光センサ素子を有する。ラインセンサ1R,1G,1Bは、それぞれ、主走査方向に沿って1ラインずつ原稿を読み取り、ラインスキャナ1は、ラインセンサ1R,1G,1Bにより読み取られた各色の1ラインのラインデータを出力する。ここでは、ラインデータは、高さが1画素であり幅が所定の画素数であるラスタデータである。図示せぬ駆動系がラインセンサ1R,1G,1Bまたは原稿を副走査方向に沿って移動させることにより、ラインセンサ1R,1G,1Bは原稿面の画像を読み取り、ラインスキャナ1は、ラインセンサ1R,1G,1Bにより読み取られた各色の1ラインのラインデータを副走査方向に沿って順番に出力する。
The
これらのラインセンサ1R,1G,1Bは、副走査方向において所定の間隔で配置されている。したがって、原稿のある位置は、ラインセンサ1R,1G,1Bによりそれぞれ異なるタイミングで読み取られる。したがって、RGBの画像データを同期させるために、後述するようにライン間補正が行われる。
These
また、画像処理装置2は、1つのバッファメモリ3を使用して、ライン間補正およびブロック変換を行うとともに、ブロックごとに画像データに対するデータ処理を行う。画像処理装置2は、ASIC(Application Specific Integrated Circuit)および/またはコンピュータ(つまり、プログラムを実行するCPU(Central Processing Unit)などのプロセッサ)を有し、各演算処理部を実現する。この実施の形態1では、画像処理装置2は、ライン間補正アドレス計算部11、ラスタ書込部12、ブロック読出部13、およびブロック画像処理部14を有する。
In addition, the
ライン間補正アドレス計算部11は、ラインセンサ1R,1G,1Bの間隔に対応するオフセット分だけシフトさせたアドレスを計算する演算処理部である。このアドレスのオフセット量は、副走査方向におけるスキャン速度およびラインセンサ1R,1G,1Bの間隔から得られるライン数(オフセットライン数)などに基づいて計算される。
The inter-line correction
例えば、スキャンの進行方向においてラインセンサ1R、ラインセンサ1G、ラインセンサ1Bの順番で配置されている場合、ラインセンサ1Rとラインセンサ1Bとの間のオフセット(つまり、RのラインデータとBのラインデータとの間のオフセット)、およびラインセンサ1Gとラインセンサ1Bとの間のオフセット(つまり、GのラインデータとBのラインデータとの間のオフセット)が計算される。図2は、図1におけるラインセンサ1R,1G,1Bの設置位置(読み取り位置)の違いに起因するラインデータのオフセットを説明する図である。
For example, when the
ラスタ書込部12は、ラインスキャナ1における複数色のラインセンサ1R,1G,1Bによる複数色のラインデータをそれぞれ、ラインセンサ1R,1G,1Bの間隔に対応するオフセット分だけアドレスをシフトさせて、バッファメモリ3に副走査方向に沿って順番に書き込む演算処理部である。この実施の形態1では、ラスタ書込部12は、ライン間補正アドレス計算部11により計算されたアドレスにラインデータを書き込む。この実施の形態1では、ラスタ書込部12は、バッファメモリ3における複数のバッファ領域のそれぞれに、バッファ領域に対応する色のラインデータを順番に書き込んでいく。
The
ブロック読出部13は、バッファメモリ3に書き込まれた各色についての複数のラインデータからブロックデータ(つまり、原稿画像における同一位置についてのRGB各色のブロックデータ)を読み出す演算処理部である。
The
ブロック画像処理部14は、ブロック読出部13により読み出されたブロックデータに対して所定のデータ処理を行う演算処理部である。この実施の形態1では、ブロック画像処理部14は、例えば、ブロックデータをJPEG方式で圧縮する。
The block
なお、これらの他に、画像処理装置2は、ブロック画像処理部14により処理された後のデータを印刷装置4用の制御データに変換する演算処理部、ブロック画像処理部14により処理された後のデータを通信装置5により送信したり記憶装置6に格納したりするための所定のファイル形式のファイルに変換する演算処理部などを有する。
In addition to these, the
また、バッファメモリ3は、ラインスキャナ1から出力されるラインデータを一時的に格納するメモリである。バッファメモリ3としては、例えばSRAM(Static Random Access Memory)が使用される。バッファメモリ3は、1つのメモリ素子のすべてのメモリ領域で構成されてもよいし、1つのメモリ素子の一部のメモリ領域で構成されてもよい。
The
また、印刷装置4は、画像処理装置2からの制御データに従って動作し、その制御データに従って印刷用紙に画像を印刷する装置である。また、通信装置5は、画像処理装置2により処理された画像データやその画像データを含むファイルを送信する装置である。通信装置5としては、例えば、モデム、ネットワークインタフェースなどが使用される。また、記憶装置6は、画像処理装置2により処理された画像データをファイルとして格納する装置である。記憶装置6としては、例えば、ハードディスクドライブ、不揮発性メモリ(例えばフラッシュメモリ)などが使用される。
The
次に、上記装置の動作について説明する。 Next, the operation of the above apparatus will be described.
ラインスキャナ1は、ラインセンサ1R,1G,1Bにより各時点において得られたRGBのラインデータを出力する。つまり、RGBそれぞれについてのi番目のラインデータは、同一の時点において得られたセンサ検出値に基づく画素値を有する。このため、ある時点で出力されるRGBのラインデータは、原稿画像における異なる位置のラインについてのセンサ検出値に基づく画素値を有する。
The
画像処理装置2では、ライン間補正アドレス計算部11が、RGBそれぞれのラインデータを書き込むバッファメモリ3のアドレスを計算する。スキャン方向においてRGBの順番でラインセンサ1R,1G,1Bが配列されている場合、RGB各色についてi番目のラインデータを書き込む領域の先頭アドレスXr,Xg,Xbは、次のように計算される。RGB各色についてのバッファ領域の先頭アドレスをXr0,Xg0,Xb0とし、1つのラインデータのサイズをLとし、ラインセンサ1Rとラインセンサ1Bとの間のオフセットライン数をN1とし、ラインセンサ1Gとラインセンサ1Bとの間のオフセットライン数をN2とすると、アドレスXr,Xg,Xbは、次式で計算される。
In the
Xr=Xr0+(i−1)×L
Xg=Xg0+(i−1+N2−N1)×L
Xb=Xb0+(i−1−N1)×L
Xr = Xr0 + (i−1) × L
Xg = Xg0 + (i-1 + N2-N1) * L
Xb = Xb0 + (i-1-N1) × L
そして、ラスタ書込部12は、RGBそれぞれについてライン間補正アドレス計算部11により計算されたアドレスからラインデータを書き込む。なお、Bについては、ラスタ書込部12は、原稿画像を含まない1番目からN1番目までのラインデータの書き込みを行わない。また、Gについては、ラスタ書込部12は、原稿画像を含まない1番目から(N1−N2)番目までのラインデータの書き込みを行わない。なお、(N1−N2)は、ラインセンサ1Rとラインセンサ1Gとの間のオフセットライン数である。
The
このようにすることで、バッファメモリ3への書き込み時にライン間補正が行われる。
By doing so, line-to-line correction is performed when writing to the
その後、ブロック読出部13は、バッファメモリ3から、ラインデータからなる画像データを、所定形状のブロックデータとして順番に読み出す。図3は、図1におけるブロック読出部13によるブロックデータの読み出しについて説明する図である。ブロックデータの画素群は、複数のラインにまたがる四角形の形状を有する。図3では、一例として、ブロックデータの画素群の形状は、縦横8画素の正方形となっている。
Thereafter, the
ブロック読出部13は、RGBのバッファ領域21R,21G,21Bの先頭アドレス、ブロックデータの形状などから、j番目(j=1,2,3,・・・)に読み出すブロックデータ31R,31G,31Bに属する画素のアドレスを特定し、ブロックデータ31R,31G,31Bを読み出す。この実施の形態1では、バッファ領域21R,21G,21Bの先頭からの、ブロックデータ31R,31G,31Bの相対アドレスは同一値となる。ブロック画像処理部14は、そのブロックデータ31R,31G,31Bに対して所定の処理(例えばJPEG圧縮)を行う。
The
なお、ブロック画像処理部14における処理の種類に応じて、j番目のブロックデータ31R,31G,31Bに属する画素と、それ以前および/またはそれ以降のブロックデータ31R,31G,31Bに属する画素とが重複するようにブロックデータ31R,31G,31Bを読み出してもよいし、重複しないようにブロックデータ31R,31G,31Bを読み出してもよい。
Depending on the type of processing in the block
その後、ブロック画像処理部14により処理された後のデータから、印刷装置4用の制御データが生成され印刷が実行されたり、ブロック画像処理部14により処理された後のデータから所定のファイル形式のファイルが生成され、通信装置5により送信されたり記憶装置6に格納されたりする。
Thereafter, control data for the
以上のように、上記実施の形態1によれば、ラスタ書込部12は、複数色のラインデータをそれぞれ、ラインセンサ1R,1G,1Bの間隔に対応するオフセット分だけアドレスをシフトさせて、バッファメモリ3に副走査方向に沿って順番に書き込む。そして、ブロック読出部13は、バッファメモリ3に書き込まれた各色についての複数のラインデータからブロックデータ31R,31G,31Bを読み出し、ブロック画像処理部14は、そのブロックデータ31R,31G,31Bに対して所定のデータ処理を行う。
As described above, according to the first embodiment, the
これにより、バッファメモリ3への書き込み時にライン間補正が行われ、バッファメモリ3からの読み出し時にブロック変換が行われる。したがって、バッファメモリ3に対する1回の書き込みおよび1回の読み出しで、ライン間補正とブロック変換を行うため、バッファメモリ3が1つで済むとともに、バッファメモリ3へのメモリアクセスが少なくなる。このため、小さいサイズのバッファメモリを使用し少ないメモリアクセスで、カラースキャンにより得られた画像データをブロックごとに処理することができる。また、バッファメモリ3の数を1つとすることができるため、装置のコストを低減することができる。
Thereby, line-to-line correction is performed at the time of writing to the
実施の形態2.
図4は、本発明の実施の形態2に係る画像形成装置の構成を示すブロック図である。この実施の形態4では、画像形成装置は、複合機である。図4に示すように、この画像形成装置は、ラインスキャナ1、画像処理装置31、バッファメモリ3、印刷装置4、通信装置5および記憶装置6を有する。なお、ラインスキャナ1、バッファメモリ3、印刷装置4、通信装置5および記憶装置6は、実施の形態1のものと同様である。
FIG. 4 is a block diagram showing the configuration of the image forming apparatus according to
画像処理装置31は、1つのバッファメモリ3を使用して、ライン間補正およびブロック変換を行うとともに、ブロックごとに画像データに対するデータ処理を行う。画像処理装置31は、ASICおよび/またはコンピュータを有し、各演算処理部を実現する。この実施の形態2では、画像処理装置31は、ライン間補正アドレス計算部41、ラスタ書込部42、ブロック読出部43、およびブロック画像処理部44を有する。
The
ライン間補正アドレス計算部41は、ラインセンサ1R,1G,1Bの間隔に対応するオフセット分だけシフトさせたアドレスを計算する演算処理部である。このオフセットは、副走査方向におけるスキャン速度およびラインセンサ1R,1G,1Bの間隔から得られるライン数などに基づいて計算される。
The inter-line correction
ラスタ書込部42は、ラインスキャナ1における複数色のラインセンサ1R,1G,1Bによる複数色のラインデータをそれぞれ、バッファメモリ3に副走査方向に沿って順番に書き込む演算処理部である。この実施の形態2では、ラスタ書込部42は、バッファメモリ3における複数のバッファ領域のそれぞれに、バッファ領域に対応する色のラインデータを順番に書き込んでいく。
The
ブロック読出部43は、ラインセンサ1R,1G,1Bの間隔に対応するオフセット分だけアドレスをシフトさせつつ、バッファメモリ3に書き込まれた各色についての複数のラインデータからブロックデータ(つまり、原稿画像における同一位置についてのRGB各色のブロックデータ)を読み出す演算処理部である。この実施の形態2では、ブロック読出部43は、ライン間補正アドレス計算部41により計算されたアドレスからブロックデータを読み出す。
The
ブロック画像処理部44は、ブロック読出部43により読み出されたブロックデータに対して所定のデータ処理を行う演算処理部である。この実施の形態2では、ブロック画像処理部44は、例えば、ブロックデータをJPEG方式で圧縮する。
The block
次に、上記装置の動作について説明する。 Next, the operation of the above apparatus will be described.
画像処理装置31では、ラスタ書込部42は、ラインデータ書込時にはライン補正を行わずに、RGBそれぞれについてラインデータをバッファメモリ3のバッファ領域21R,21G,21Bに順番に書き込む。
In the
スキャン方向においてRGBの順番でラインセンサ1R,1G,1Bが配列されている場合、RGB各色についてi番目のラインデータを書き込む領域の先頭アドレスXr,Xg,Xbは、次のように計算される。
When the
Xr=Xr0+(i−1)×L
Xg=Xg0+(i−1)×L
Xb=Xb0+(i−1)×L
Xr = Xr0 + (i−1) × L
Xg = Xg0 + (i−1) × L
Xb = Xb0 + (i−1) × L
そして、ブロックデータの読み出しのために、ライン間補正アドレス計算部41が、RGBそれぞれのブロックデータを読み出すバッファメモリ3のアドレスを計算する。このとき、ライン間補正アドレス計算部41は、ラインセンサ1R,1G,1Bの間隔に対応するオフセット分だけシフトさせたアドレスを計算する。
In order to read the block data, the inter-line correction
ブロック読出部43は、ライン間補正アドレス計算部41により計算されたバッファメモリ3におけるアドレスからブロックデータを読み出す。
The
図5は、図4におけるブロック読出部43によるブロックデータの読み出しについて説明する図である。スキャン方向においてRGBの順番でラインセンサ1R,1G,1Bが配列されている場合、図5に示すように、Rのブロックデータ31Rについては、オフセット分がゼロであり、Gのブロックデータ31Gについては、オフセットが(N1−N2)×Lと計算され、そのオフセット分だけ後ろのアドレスからブロックデータ31Gが読み出され、Bのブロックデータ31Bについては、オフセットがN1×Lと計算され、そのオフセット分だけ後ろのアドレスからブロックデータ31Bが読み出される。つまり、実施の形態1ではブロックデータ31R,31G,31Bの相対アドレスが同一値であるが、実施の形態2ではブロックデータ31R,31G,31Bの相対アドレスは、上述のオフセット量だけずれる。
FIG. 5 is a diagram for explaining reading of block data by the
そして、ブロック画像処理部44は、そのブロックデータ31R,31G,31Bに対して所定の処理(例えばJPEG圧縮)を行う。
Then, the block
なお、ブロック画像処理部44における処理の種類に応じて、j番目のブロックデータ31R,31G,31Bに属する画素と、それ以前および/またはそれ以降のブロックデータ31R,31G,31Bに属する画素とが重複するようにブロックデータ31R,31G,31Bを読み出してもよいし、重複しないようにブロックデータ31R,31G,31Bを読み出してもよい。
Depending on the type of processing in the block
その後、ブロック画像処理部44により処理された後のデータから、印刷装置4用の制御データが生成され印刷が実行されたり、ブロック画像処理部44により処理された後のデータから所定のファイル形式のファイルが生成され、通信装置5により送信されたり記憶装置6に格納されたりする。
Thereafter, control data for the
以上のように、上記実施の形態2によれば、ラスタ書込部42は、複数色のラインデータをそれぞれ、バッファメモリ3に副走査方向に沿って順番に書き込む。そして、ブロック読出部43は、ラインセンサ1R,1G,1Bの間隔に対応するオフセット分だけアドレスをシフトさせつつ、バッファメモリ3に書き込まれた各色についての複数のラインデータからブロックデータ31R,31G,31Bを読み出し、ブロック画像処理部44は、そのブロックデータ31R,31G,31Bに対して所定のデータ処理を行う。
As described above, according to the second embodiment, the
これにより、バッファメモリ3からの読み出し時にライン間補正およびブロック変換が行われる。したがって、バッファメモリ3に対する1回の書き込みおよび1回の読み出しで、ライン間補正とブロック変換を行うため、バッファメモリ3が1つで済むとともに、バッファメモリ3へのメモリアクセスが少なくなる。このため、小さいサイズのバッファメモリを使用し少ないメモリアクセスで、カラースキャンにより得られた画像データをブロックごとに処理することができる。また、バッファメモリ3の数を1つとすることができるため、装置のコストを低減することができる。
Thereby, line-to-line correction and block conversion are performed when reading from the
なお、上述の各実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。 Each embodiment described above is a preferred example of the present invention, but the present invention is not limited to these, and various modifications and changes can be made without departing from the scope of the present invention. It is.
例えば、上記各実施の形態では、ラインセンサ1R,1G,1Bの順番が、R、G、Bの順であるが、他の順番でもよい。また、ラインセンサ1R,1G,1Bは、等間隔に配置されていてもよいし、異なる間隔で配置されていてもよい。
For example, in the above-described embodiments, the order of the
また、上記各実施の形態において、ブロック画像処理部14,44は、ブロックデータに対して、フィルタ処理、補間処理、エッジ検出処理などを行うようにしてもよい。
In each of the above embodiments, the block
本発明は、例えば、プリンタ、コピー機、スキャナ機、複合機などの画像形成装置に適用可能である。 The present invention can be applied to an image forming apparatus such as a printer, a copier, a scanner, or a multifunction machine.
1 ラインスキャナ
1R,1G,1B ラインセンサ
2 画像処理装置
3 バッファメモリ
11,41 ライン間補正アドレス計算部
12,42 ラスタ書込部
13,43 ブロック読出部
14,44 ブロック画像処理部
21R,21G,21B バッファ領域
31R,31G,31B ブロックデータ
DESCRIPTION OF
Claims (8)
前記バッファメモリに書き込まれた各色についての複数のラインデータからブロックデータを読み出すブロック読出部と、
前記ブロック読出部により読み出された前記ブロックデータに対して所定のデータ処理を行うブロック画像処理部と、
を備えることを特徴とする画像処理装置。 A raster writing unit for sequentially writing the line data of a plurality of colors by a line sensor of a plurality of colors in the line scanner by an offset corresponding to the interval between the line sensors and sequentially writing the data in the buffer memory along the sub-scanning direction When,
A block reading unit that reads block data from a plurality of line data for each color written in the buffer memory;
A block image processing unit that performs predetermined data processing on the block data read by the block reading unit;
An image processing apparatus comprising:
前記ラスタ書込部は、前記ライン間補正アドレス計算部により計算されたアドレスに前記ラインデータを書き込むこと、
を特徴とする請求項1記載の画像処理装置。 An interline correction address calculating unit that calculates an address shifted by an offset corresponding to the interval of the line sensors;
The raster writing unit writes the line data to the address calculated by the inter-line correction address calculation unit;
The image processing apparatus according to claim 1.
前記ラインセンサの間隔に対応するオフセット分だけアドレスをシフトさせつつ、前記バッファメモリに書き込まれた各色についての複数のラインデータからブロックデータを読み出すブロック読出部と、
前記ブロック読出部により読み出された前記ブロックデータに対して所定のデータ処理を行うブロック画像処理部と、
を備えることを特徴とする画像処理装置。 A raster writing section for sequentially writing a plurality of color line data from a plurality of color line sensors in the line scanner along the sub-scanning direction to the buffer memory;
A block reading unit that reads block data from a plurality of line data for each color written in the buffer memory while shifting an address by an offset corresponding to the interval between the line sensors;
A block image processing unit that performs predetermined data processing on the block data read by the block reading unit;
An image processing apparatus comprising:
前記ブロック読出部は、前記ライン間補正アドレス計算部により計算されたアドレスから前記ブロックデータを読み出すこと、
を特徴とする請求項3記載の画像処理装置。 An interline correction address calculating unit that calculates an address shifted by an offset corresponding to the interval of the line sensors;
The block reading unit reads the block data from the address calculated by the inter-line correction address calculation unit;
The image processing apparatus according to claim 3.
バッファメモリと、
前記複数色のラインデータをそれぞれ、前記ラインセンサの間隔に対応するオフセット分だけアドレスをシフトさせて、前記バッファメモリに副走査方向に沿って順番に書き込むラスタ書込部と、
前記バッファメモリに書き込まれた各色についての複数のラインデータからブロックデータを読み出すブロック読出部と、
前記ブロック読出部により読み出された前記ブロックデータに対して所定のデータ処理を行うブロック画像処理部と、
を備えることを特徴とする画像形成装置。 A line scanner that outputs line data of multiple colors by a line sensor of multiple colors;
Buffer memory,
A raster writing unit for sequentially writing the line data of the plurality of colors by shifting an address by an offset corresponding to the interval of the line sensors and sequentially writing the buffer memory along the sub-scanning direction;
A block reading unit that reads block data from a plurality of line data for each color written in the buffer memory;
A block image processing unit that performs predetermined data processing on the block data read by the block reading unit;
An image forming apparatus comprising:
バッファメモリと、
前記複数色のラインデータをそれぞれ、前記バッファメモリに副走査方向に沿って順番に書き込むラスタ書込部と、
前記ラインセンサの間隔に対応するオフセット分だけアドレスをシフトさせつつ、前記バッファメモリに書き込まれた各色についての複数のラインデータからブロックデータを読み出すブロック読出部と、
前記ブロック読出部により読み出された前記ブロックデータに対して所定のデータ処理を行うブロック画像処理部と、
を備えることを特徴とする画像形成装置。 A line scanner that outputs line data of multiple colors by a line sensor of multiple colors;
Buffer memory,
A raster writing section for sequentially writing the line data of the plurality of colors into the buffer memory along a sub-scanning direction;
A block reading unit that reads block data from a plurality of line data for each color written in the buffer memory while shifting an address by an offset corresponding to the interval between the line sensors;
A block image processing unit that performs predetermined data processing on the block data read by the block reading unit;
An image forming apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009197372A JP2011049893A (en) | 2009-08-27 | 2009-08-27 | Image processor and image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009197372A JP2011049893A (en) | 2009-08-27 | 2009-08-27 | Image processor and image forming apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011049893A true JP2011049893A (en) | 2011-03-10 |
Family
ID=43835766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009197372A Pending JP2011049893A (en) | 2009-08-27 | 2009-08-27 | Image processor and image forming apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011049893A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10635955B1 (en) | 2019-05-31 | 2020-04-28 | Kyocera Document Solutions Inc. | Image forming method, apparatus, and program separating addresses for storing color tone data by shifting the relative address using an offset address |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001103237A (en) * | 1999-09-28 | 2001-04-13 | Fuji Photo Film Co Ltd | Image reader |
JP2007188361A (en) * | 2006-01-14 | 2007-07-26 | Sharp Corp | Memory control method, memory controller, and image processor |
-
2009
- 2009-08-27 JP JP2009197372A patent/JP2011049893A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001103237A (en) * | 1999-09-28 | 2001-04-13 | Fuji Photo Film Co Ltd | Image reader |
JP2007188361A (en) * | 2006-01-14 | 2007-07-26 | Sharp Corp | Memory control method, memory controller, and image processor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10635955B1 (en) | 2019-05-31 | 2020-04-28 | Kyocera Document Solutions Inc. | Image forming method, apparatus, and program separating addresses for storing color tone data by shifting the relative address using an offset address |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8605345B2 (en) | Image processing apparatus, image processing method and computer program product | |
US20110200253A1 (en) | Image processing apparatus and image processing method | |
JP2008022062A (en) | Image reading apparatus | |
JP6073674B2 (en) | Image processing apparatus and image forming apparatus | |
JP6343956B2 (en) | Read image processing apparatus, image reading apparatus, image forming apparatus, read image processing program, and read image processing method | |
JP2011049893A (en) | Image processor and image forming apparatus | |
JP5884362B2 (en) | Image processing method, image reading apparatus, and image processing program | |
US9811877B2 (en) | Image processing device selecting arrangement method for generating arranged image data | |
US8416469B2 (en) | Image processing apparatus, image processing method and computer program | |
JPH10285379A (en) | Original angle correction method and original angle correction system | |
JP2010103831A5 (en) | ||
JP2007110605A (en) | Image forming device | |
JP6025803B2 (en) | Image processing device | |
US7667870B1 (en) | White region identification to accelerate image processing for copies | |
JP5034131B2 (en) | Image processing controller, image processing method, and image processing program | |
JP6489911B2 (en) | Image processing apparatus and control method thereof | |
JP4316476B2 (en) | Image processing apparatus and image forming apparatus | |
JP6394079B2 (en) | Read image processing apparatus, image reading apparatus, image forming apparatus, read image processing program, and read image processing method | |
JP2009194423A (en) | Image processing apparatus and control method thereof, and asic device | |
JPH08332745A (en) | Copy printer and copy printing and reading apparatus | |
JP2000270211A (en) | Image processor | |
TWI445402B (en) | Image sensor | |
JP2001103238A (en) | Color image reader and memory controller used for it | |
JP2011171927A (en) | Device and method for reading image | |
JP2005073200A (en) | Defective pixel correction apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111025 |
|
A977 | Report on retrieval |
Effective date: 20120613 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120626 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121031 |