JP5705143B2 - Image reading device - Google Patents
Image reading device Download PDFInfo
- Publication number
- JP5705143B2 JP5705143B2 JP2012013676A JP2012013676A JP5705143B2 JP 5705143 B2 JP5705143 B2 JP 5705143B2 JP 2012013676 A JP2012013676 A JP 2012013676A JP 2012013676 A JP2012013676 A JP 2012013676A JP 5705143 B2 JP5705143 B2 JP 5705143B2
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- image data
- compressed
- attribute data
- memory area
- 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
- Storing Facsimile Image Data (AREA)
Description
本発明は、画像読取装置に関するものである。 The present invention relates to an image reading apparatus.
画像読取装置では、例えばRGB値などといった各画素の画像情報を含む画像データと、例えば文字領域に属するか否かなどといった各画素の属性情報を含む属性データが生成される(例えば特許文献1〜4参照)。
In the image reading apparatus, image data including image information of each pixel such as an RGB value, for example, and attribute data including attribute information of each pixel such as whether or not belonging to a character area are generated (for example,
ある画像処理装置では、画像データおよび属性データのそれぞれについてメモリー領域が予め設定され、そのメモリー領域内に圧縮後の画像データおよび圧縮後の属性データがそれぞれ記憶される(例えば特許文献1,2参照)。
In an image processing apparatus, a memory area is set in advance for each of image data and attribute data, and the compressed image data and the compressed attribute data are stored in the memory area (see, for example,
また、ある画像処理装置は、画像データおよび属性データを圧縮後に記憶する場合、1ラインごとに、圧縮済みの画像データおよび圧縮済みの属性データを連続させて記憶する(例えば特許文献3参照)。 In addition, when storing image data and attribute data after compression, a certain image processing apparatus stores compressed image data and compressed attribute data continuously for each line (see, for example, Patent Document 3).
特許文献1,2の技術では、画像データおよび属性データの圧縮率はデータ内容によって変化するため、上述のメモリー領域のサイズは、最低圧縮率の場合でも画像データおよび属性データがそれぞれ記憶可能なサイズとされる。そのため、実際の圧縮率に応じた未使用分がメモリー領域に発生してしまう。
In the techniques of
特許文献3の技術のように、1バンドごとに画像データおよび属性データを連続させてページメモリーに記憶する場合、圧縮が完了するまで1バンド分の圧縮後の画像データのサイズが不明であるため、画像データの圧縮および書込が完了するまで、属性データの圧縮および書込を開始できず図4に示すように遅延が生じてしまう。
As in the technique of
なお、特許文献4に記載の技術は、固定長の画像データおよび属性データについてのものであり、圧縮によりサイズが変動する画像データおよび属性データについてのものではない。
The technique described in
本発明は、上記の問題に鑑みてなされたものであり、ページメモリー領域の使用効率が高く、圧縮後の画像データおよび属性データの書込に発生する遅延が短くて済む画像読取装置を得ることを目的とする。 The present invention has been made in view of the above-described problems, and provides an image reading apparatus that has high use efficiency of a page memory area and can reduce delay in writing of compressed image data and attribute data. With the goal.
上記の課題を解決するために、本発明では以下のようにした。 In order to solve the above problems, the present invention is configured as follows.
本発明に係る画像読取装置は、画像読取により生成された画像データおよび属性データのうちの画像データ用の複数のバッファー領域を有する第1バッファーと、その属性データ用の複数のバッファー領域を有する第2バッファーと、その画像データを圧縮し、圧縮された画像データを第1バッファーの複数のバッファー領域に順番に書き込む画像データ圧縮部と、その属性データを圧縮し、圧縮された属性データを第2バッファーの複数のバッファー領域に順番に書き込む属性データ圧縮部と、第1バッファーの複数のバッファー領域のいずれかへの書込が完了した圧縮された画像データ、および第2バッファーの複数のバッファー領域のいずれかへの書込が完了した圧縮された属性データを読み出してページメモリー領域へ連続させて書き込むコピー処理部と備える。 An image reading apparatus according to the present invention includes a first buffer having a plurality of buffer areas for image data out of image data and attribute data generated by image reading, and a first buffer having a plurality of buffer areas for the attribute data. Two buffers, an image data compression unit that compresses the image data, and sequentially writes the compressed image data into a plurality of buffer areas of the first buffer, compresses the attribute data, and stores the compressed attribute data in the second An attribute data compressing unit for sequentially writing to a plurality of buffer areas of the buffer, compressed image data that has been written to any of the plurality of buffer areas of the first buffer, and a plurality of buffer areas of the second buffer Read the compressed attribute data that has been written to any of them and write it continuously to the page memory area. It includes a writing copy processing unit.
これにより、圧縮された画像データおよび属性データが第1バッファーおよび第2バッファーに一旦記憶され、連続させてページメモリー領域に書き込まれる。このため、画像データ圧縮部と属性データ圧縮部とが遅延なく並行して動作可能となる。したがって、ページメモリー領域の使用効率が高くなるとともに、圧縮後の画像データおよび属性データの書込に発生する遅延が短くて済む。 As a result, the compressed image data and attribute data are temporarily stored in the first buffer and the second buffer, and continuously written in the page memory area. For this reason, the image data compression unit and the attribute data compression unit can operate in parallel without delay. Therefore, the use efficiency of the page memory area is increased, and the delay occurring in writing the compressed image data and attribute data can be shortened.
また、画像読取装置は、圧縮された画像データおよび圧縮された属性データの、ページメモリー領域への書込位置を指定する制御部をさらに備える。そして、制御部は、第1バッファーの複数のバッファー領域に記憶されている圧縮された画像データのサイズ、および/または第2バッファーの複数のバッファー領域に記憶されている圧縮された属性データのサイズに基づいて、ページメモリー領域への書込位置を特定する。そして、ページメモリー領域は、複数チャネルのメモリーに確保され、コピー処理部は、圧縮された画像データと圧縮された属性データを並行してページメモリー領域へ書き込む。 Also, images reading apparatus further comprises a compressed image data and compressed attribute data, the control unit that specifies the writing position to the page memory region. Then, the control unit is configured to compress the compressed image data stored in the plurality of buffer areas of the first buffer and / or compress the attribute data stored in the plurality of buffer areas of the second buffer. Based on the above, the writing position to the page memory area is specified. The page memory area is secured in a memory of a plurality of channels, and the copy processing unit writes the compressed image data and the compressed attribute data in the page memory area in parallel.
これにより、ページメモリー領域への圧縮された画像データと圧縮された属性データの書込を並行して行える。 Thereby, the compressed image data and the compressed attribute data can be written to the page memory area in parallel.
本発明に係る画像読取装置は、画像読取により生成された画像データおよび属性データのうちの画像データ用の複数のバッファー領域を有する第1バッファーと、その属性データ用の複数のバッファー領域を有する第2バッファーと、その画像データを圧縮し、圧縮された画像データを第1バッファーの複数のバッファー領域に順番に書き込む画像データ圧縮部と、その属性データを圧縮し、圧縮された属性データを第2バッファーの複数のバッファー領域に順番に書き込む属性データ圧縮部と、第1バッファーの複数のバッファー領域のいずれかへの書込が完了した圧縮された画像データ、および第2バッファーの複数のバッファー領域のいずれかへの書込が完了した圧縮された属性データを読み出してページメモリー領域へ連続させて書き込むコピー処理部と備える。そして、コピー処理部は、第1バッファーの複数のバッファー領域に記憶されている圧縮された画像データのサイズ、および/または第2バッファーの複数のバッファー領域に記憶されている圧縮された属性データのサイズに基づいて、ページメモリー領域への書込位置を特定する。さらに、ページメモリー領域は、複数チャネルのメモリーに確保され、コピー処理部は、圧縮された画像データと圧縮された属性データを並行してページメモリー領域へ書き込む。 An image reading apparatus according to the present invention includes a first buffer having a plurality of buffer areas for image data out of image data and attribute data generated by image reading , and a first buffer having a plurality of buffer areas for the attribute data. Two buffers, an image data compression unit that compresses the image data, and sequentially writes the compressed image data into a plurality of buffer areas of the first buffer, compresses the attribute data, and stores the compressed attribute data in the second An attribute data compressing unit for sequentially writing to a plurality of buffer areas of the buffer, compressed image data that has been written to any of the plurality of buffer areas of the first buffer, and a plurality of buffer areas of the second buffer Read the compressed attribute data that has been written to any of them and write it continuously to the page memory area. It includes a writing copy processing unit. The copy processing unit then stores the size of the compressed image data stored in the plurality of buffer areas of the first buffer and / or the compressed attribute data stored in the plurality of buffer areas of the second buffer. Based on the size, the writing position to the page memory area is specified. Further, the page memory area is secured in a memory of a plurality of channels, and the copy processing unit writes the compressed image data and the compressed attribute data in the page memory area in parallel.
これにより、ページメモリー領域への圧縮された画像データと圧縮された属性データの書込を並行して行える。 Thereby, the compressed image data and the compressed attribute data can be written to the page memory area in parallel.
また、本発明に係る画像読取装置は、上記の画像読取装置のいずれかに加え、次のようにしてもよい。この場合、画像データおよび属性データは、1バンドごとに圧縮される。第1バッファーの複数のバッファー領域のそれぞれは、最低圧縮率での1バンド分の圧縮された画像データを記憶可能なサイズを有し、第2バッファーの複数のバッファー領域のそれぞれは、最低圧縮率での1バンド分の圧縮された属性データを記憶可能なサイズを有する。そして、画像データ圧縮部は、1バンドずつ、圧縮された画像データを第1バッファーの複数のバッファー領域に順番に書き込み、属性データ圧縮部は、1バンドずつ、圧縮された属性データを第2バッファーの複数のバッファー領域に順番に書き込む。 The image reading apparatus according to the present invention may be as follows in addition to any of the image reading apparatuses described above. In this case, the image data and the attribute data are compressed for each band. Each of the plurality of buffer areas of the first buffer has a size capable of storing compressed image data for one band at the minimum compression ratio, and each of the plurality of buffer areas of the second buffer has a minimum compression ratio. 1 has a size capable of storing compressed attribute data for one band. The image data compression unit sequentially writes the compressed image data for each band to the plurality of buffer areas of the first buffer, and the attribute data compression unit stores the compressed attribute data for each band for the second buffer. Are sequentially written to the multiple buffer areas.
本発明によれば、画像読取装置において、ページメモリー領域の使用効率が高くなるとともに、圧縮後の画像データおよび属性データの書込に発生する遅延が短くなる。 According to the present invention, in the image reading apparatus, the use efficiency of the page memory area is increased, and the delay occurring in writing of the compressed image data and attribute data is shortened.
以下、図に基づいて本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態に係る画像読取装置の構成を示すブロック図である。図1に示す画像読取装置は、互いに接続された、スキャナー部1、画像処理部2、メモリー3、主制御部4、および出力部5を有する。
FIG. 1 is a block diagram showing a configuration of an image reading apparatus according to an embodiment of the present invention. The image reading apparatus shown in FIG. 1 includes a
スキャナー部1は、原稿のページ画像を光学的に読み取り、そのページ画像の画像データおよび属性データを生成し出力する。画像データは、例えばRGB値などといった各画素の画像情報を含むデータであって、属性データは、例えば文字領域に属するか否かなどといった各画素の属性情報を含むデータである。
The
また、画像処理部2は、画像データに対して所定の処理を施す。画像処理部2は、スキャナー部1により出力された画像データ、またはスキャナー部1により出力された画像データに対して前段の処理が施された画像データに対して所定の処理を施す。画像処理部2は、その所定の処理後の画像データをメモリー3内の所定のメモリー領域に書き込んでいく。例えば、画像処理部2は、1または複数のASIC(Application Specific Integrated Circuit)で構成される。
The image processing unit 2 performs predetermined processing on the image data. The image processing unit 2 performs predetermined processing on the image data output from the
また、メモリー3は、DRAM(Dynamic Random Access Memory)などの揮発性メモリーである。メモリー3において、画像処理部2などによる処理に要求されるメモリー領域が適宜確保される。
The
図2は、図1に示す画像読取装置における各種メモリー領域およびデータフローについて説明するブロック図である。 FIG. 2 is a block diagram for explaining various memory areas and data flow in the image reading apparatus shown in FIG.
図2において、CCD(Charge Coupled Device)11は、光学的に得られたページ画像を電気信号として出力する撮像素子である。読込用ASIC12は、CCD11からの電気信号から画像データおよび属性データを生成して出力する回路である。CCD11および読込用ASIC12は、スキャナー部1に含まれる。
In FIG. 2, a CCD (Charge Coupled Device) 11 is an image sensor that outputs an optically obtained page image as an electrical signal. The
ワークメモリー領域13は、メモリー3において確保され、読込用ASIC12の出力バッファーおよびコーデック用ASIC14の入力バッファーとして使用される。ワークメモリー領域13は、圧縮されていない画像データ(つまり、RAWデータ)用のバッファーとして使用される複数のバッファー領域を有し、ダブルバッファーまたはリングバッファーとして機能する。各バッファー領域は、1バンド分の画像データ(固定長)を記憶可能なサイズを有する。なお、1バンドは、所定数のラインからなる。
The
コーデック用ASIC14は、画像データの圧縮を行う回路である。コーデック用ASIC14は、例えばJPEG(Joint Photographic Experts Group)などの圧縮方式で画像データの圧縮を行う。コーデック用ASIC14は、1バンドごとに画像データの圧縮を行う。 The codec ASIC 14 is a circuit that compresses image data. The codec ASIC 14 compresses image data by a compression method such as JPEG (Joint Photographic Experts Group). The codec ASIC 14 compresses image data for each band.
ワークメモリー領域15は、メモリー3において確保され、コーデック用ASIC14の出力バッファーおよびコピー処理回路16の入力バッファーとして使用される。ワークメモリー領域15は、圧縮された画像データを記憶するための複数(図2では、2つ)のバッファー領域15a,15bを有する。バッファー領域15a,15bは、ダブルバッファーとして使用される。なお、バッファー領域の数を3以上として、リングバッファーとして使用するようにしてもよい。各バッファー領域15a,15bは、最低圧縮率で圧縮された1バンド分の画像データを記憶可能なサイズを有する。
The
コーデック用ASIC14は、圧縮された画像データをワークメモリー領域15の複数のバッファー領域15a,15bに順番に繰り返し書き込む。つまり、コーデック用ASIC14は、あるバンドの圧縮された画像データをバッファー領域15aに書き込み、その次のバンドの圧縮された画像データをバッファー領域15bに書き込み、さらに次のバンドの圧縮された画像データをバッファー領域15aに書き込む。
The codec ASIC 14 repeatedly writes the compressed image data to the plurality of
一方、ワークメモリー領域17は、メモリー3において確保され、読込用ASIC12の出力バッファーおよびコーデック用ASIC18の入力バッファーとして使用される。ワークメモリー領域17は、圧縮されていない属性データ用のバッファーとして使用される複数のバッファー領域を有し、ダブルバッファーまたはリングバッファーとして機能する。各バッファー領域は、1バンド分の属性データ(固定長)を記憶可能なサイズを有する。なお、1バンドは、画像データの1バンドと同一の所定数のラインからなる。
On the other hand, the
コーデック用ASIC18は、属性データの圧縮を行う回路である。コーデック用ASIC18は、例えばランレングス法などの圧縮方式で属性データの圧縮を行う。コーデック用ASIC18は、1バンドごとに属性データの圧縮を行う。
The
ワークメモリー領域19は、メモリー3において確保され、コーデック用ASIC18の出力バッファーおよびコピー処理回路16の入力バッファーとして使用される。ワークメモリー領域19は、圧縮された属性データを記憶するための複数(図2では、2つ)のバッファー領域19a,19bを有する。バッファー領域19a,19bは、ダブルバッファーとして使用される。なお、バッファー領域の数を3以上として、リングバッファーとして使用するようにしてもよい。各バッファー領域19a,19bは、最低圧縮率で圧縮された1バンド分の属性データを記憶可能なサイズを有する。
The
コーデック用ASIC18は、圧縮された属性データをワークメモリー領域19の複数のバッファー領域19a,19bに順番に繰り返し書き込む。つまり、コーデック用ASIC18は、あるバンドの圧縮された属性データをバッファー領域19aに書き込み、その次のバンドの圧縮された属性データをバッファー領域19bに書き込み、さらに次のバンドの圧縮された属性データをバッファー領域19aに書き込む。
The
コピー処理部16は、例えばASICで構成され、ワークメモリー領域15のバッファー領域15a,15bのいずれかへの書込が完了した圧縮された画像データ、およびワークメモリー領域19のバッファー領域19a,19bのいずれかへの書込が完了した圧縮された属性データを読み出してページメモリー領域20へ隙間なく連続させて書き込む。
The
なお、コーデック用ASIC14,18およびコピー処理回路16は、スキャナー部1に含まれていてもよいし、画像処理部2に含まれていてもよい。
The
ページメモリー領域20は、メモリー3において確保され、コーデック用ASIC14により圧縮された画像データおよびコーデック用ASIC18により圧縮された属性データを記憶するためのメモリー領域である。ページメモリー領域20は、少なくとも1ページ分の圧縮された画像データおよび属性データを連続させて記憶可能なサイズを有する。
The
図1に戻り、主制御部4は、スキャナー部1、画像処理部2、メモリー3、および出力部5を制御する。また、主制御部4は、メモリー3において画像処理部2に要求されるメモリー領域(ワークメモリー領域13,15,17,19、ページメモリー領域20など)を確保する。また、出力部5は、画像処理部2による画像処理後の画像データを出力する。
Returning to FIG. 1, the
また、この実施の形態では、主制御部4は、圧縮された画像データおよび圧縮された属性データの、ページメモリー領域20への書込位置を、コピー処理回路16に指定する。主制御部4は、ワークメモリー領域15のバッファー領域15a,15bに記憶されている圧縮された画像データのサイズ、および/またはワークメモリー領域19のバッファー領域19a,19bに記憶されている圧縮された属性データのサイズに基づいて、ページメモリー領域20への書込位置を特定する。この場合、主制御部4は、コーデック用ASIC14,18から、圧縮された画像データおよび属性データのサイズを取得してもよいし、バッファー領域15a,15b,19a,19bに記憶されている圧縮された画像データおよび属性データのサイズを直接的にまたは間接的に(コピー処理回路16を介して)取得してもよい。
Further, in this embodiment, the
なお、ページメモリー領域20に記憶された画像データおよび属性データは、読み出されて伸張された後、画像処理部2により所定の画像処理が施される。主制御部4は、各バンドの画像データ(圧縮済み)および属性データ(圧縮済み)の書込位置およびサイズを管理しており、主制御部4は、各バンドの画像データ(圧縮済み)および属性データ(圧縮済み)の読出位置およびサイズを、画像処理部2に対して指定する。
The image data and attribute data stored in the
次に、上記画像読取装置の動作について説明する。 Next, the operation of the image reading apparatus will be described.
主制御部4は、ページメモリー領域20を確保し、そのアドレス情報(先頭アドレスおよびサイズ、あるいは先頭アドレスおよび終端アドレス)をコピー処理部16にセットする。また、主制御部4は、ワークメモリー領域13を確保し、そのワークメモリー領域13のアドレス情報(先頭アドレスおよびサイズ、あるいは先頭アドレスおよび終端アドレス)を読込用ASIC12およびコーデック用ASIC14にセットし、ワークメモリー領域15を確保し、そのワークメモリー領域15のアドレス情報(先頭アドレスおよびサイズ、あるいは先頭アドレスおよび終端アドレス)をコーデック用ASIC14およびコピー処理回路16にセットする。さらに、主制御部4は、ワークメモリー領域17を確保し、そのワークメモリー領域17のアドレス情報(先頭アドレスおよびサイズ、あるいは先頭アドレスおよび終端アドレス)を読込用ASIC12およびコーデック用ASIC18にセットし、ワークメモリー領域19を確保し、そのワークメモリー領域19のアドレス情報(先頭アドレスおよびサイズ、あるいは先頭アドレスおよび終端アドレス)をコーデック用ASIC18およびコピー処理回路16にセットする。
The
そして、コーデック用ASIC14とコーデック用ASIC18は並行して以下のように動作する。
The codec ASIC 14 and the
主制御部4は、1バンドごとに、コーデック用ASIC14に、圧縮指令を供給する。コーデック用ASIC14は、主制御部4からの指令に従って、1バンド分の画像データをワークメモリー領域13から読み出して圧縮し、1バンド分の圧縮済みの画像データをバッファー領域15a,15bのいずれかに書き込む。コーデック用ASIC14は、圧縮後、圧縮後の1バンド分の画像データのサイズを主制御部4に通知する。
The
また、主制御部4は、1バンドごとに、コーデック用ASIC18に、圧縮指令を供給する。コーデック用ASIC18は、主制御部4からの指令に従って、1バンド分の属性データをワークメモリー領域17から読み出して圧縮し、1バンド分の圧縮済みの属性データをバッファー領域19a,19bのいずれかに書き込む。コーデック用ASIC18は、圧縮後、圧縮後の1バンド分の属性データのサイズを主制御部4に通知する。
Further, the
なお、1バンド分の圧縮前の画像データのサイズは一定であるが、1バンド分の圧縮済みの画像データのサイズは一定ではない。同様に、1バンド分の圧縮前の属性データのサイズは一定であるが、1バンド分の圧縮済みの属性データのサイズは一定ではない。 Note that the size of the image data before compression for one band is constant, but the size of the compressed image data for one band is not constant. Similarly, the size of attribute data before compression for one band is constant, but the size of attribute data after compression for one band is not constant.
また、主制御部4は、コピー指令をコピー処理回路16に供給し、コピー処理回路16は、その指令により指定されたバッファー領域内の画像データまたは属性データを読み出し、その指令により指定された、ページメモリー領域20の書込位置に書き込む。主制御部4は、コピー処理回路16に、圧縮された画像データおよび属性データを1バンドごとに隙間なく連続させて書き込ませる。
Further, the
なお、図2では、ページメモリー領域20において画像データおよび属性データが交互に記憶されているが、交互にならなくてもよい。例えば、ワークメモリー領域15,19への書込が完了した順に画像データおよび属性データをページメモリー領域20へ書き込むようにしてもよい。つまり、例えば、第iバンドの画像データ、第iバンドの属性データ、第(i+1)バンドの属性データ、第(i+1)バンドの画像データという順番に記憶してもよい。
In FIG. 2, the image data and the attribute data are alternately stored in the
このとき、主制御部4は、ワークメモリー領域15のバッファー領域15a,15bに記憶されている圧縮された画像データのサイズ、および/またはワークメモリー領域19のバッファー領域19a,19bに記憶されている圧縮された属性データのサイズに基づいて、ページメモリー領域20への書込位置を特定する。
At this time, the
図3は、コーデック用ASIC14,18とコピー処理回路16の動作の一例を説明するタイミングチャートである。
FIG. 3 is a timing chart for explaining an example of operations of the
主制御部4は、例えば図3に示すように、コーデック用ASIC14,18とコピー処理回路16を動作させる。コーデック用ASIC14とコーデック用ASIC18は並行して動作し、ほぼ同様の時間で1バンド分の圧縮処理および圧縮後のデータの出力を行い、1バンドずつ、ワークメモリー領域15,19への書込が完了すると、圧縮されたデータのサイズおよびその書込完了を主制御部4に通知する。
The
さらに、主制御部4は、その書込完了通知に対応してコピー指令をコピー処理回路16に供給する。コピー処理回路16は、そのコピー指令に従って、コーデック用ASIC14,18が圧縮処理を行っているバンド(第iバンド)の1つ前のバンド(第(i−1)バンド)、つまり書込完了したバンドについての、ページメモリー領域20への圧縮された画像データおよび属性データの書込を並行して行う。
Further, the
図3に示す場合では、圧縮された画像データおよび属性データの、ページメモリー領域20への書込をシーケンシャルに行っているが、メモリー3が複数のチャネルでのアクセスが可能なものである場合には、圧縮された画像データの書込と圧縮された属性データの書込とを並行して行うようにしてもよい。
In the case shown in FIG. 3, the compressed image data and attribute data are sequentially written to the
以上のように、上記実施の形態によれば、コーデック用ASIC14は、画像データを圧縮し、圧縮された画像データをワークメモリー領域15の複数のバッファー領域15a,15bに順番に書き込み、コーデック用ASIC18は、属性データを圧縮し、圧縮された属性データをワークメモリー領域19の複数のバッファー領域19a,19bに順番に書き込む。コピー処理部16は、ワークメモリー領域15の複数のバッファー領域15a,15bのいずれかへの書込が完了した圧縮された画像データ、およびワークメモリー領域19の複数のバッファー領域19a,19bのいずれかへの書込が完了した圧縮された属性データを読み出してページメモリー領域20へ連続させて書き込む。
As described above, according to the above-described embodiment, the codec ASIC 14 compresses image data, writes the compressed image data in the plurality of
これにより、圧縮された画像データおよび属性データがワークメモリー領域15,19に一旦記憶され、連続させてページメモリー領域20に書き込まれる。このため、コーデック用ASIC14,18が遅延なく並行して動作可能となる。したがって、ページメモリー領域20の使用効率が高くなるとともに、圧縮後の画像データおよび属性データの書込に発生する遅延が短くて済む。
As a result, the compressed image data and attribute data are temporarily stored in the
なお、上述の実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。 The above-described embodiments are preferred examples 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. is there.
例えば、上記実施の形態では、主制御部4がページメモリー領域20への書込位置を特定しているが、その代わりに、コピー処理回路16が、書込位置を特定するようにしてもよい。その場合、コピー処理回路16は、その書込位置を主制御部4に通知する。
For example, in the above embodiment, the
また、上記実施の形態において、主制御部4がコピー処理回路16を内蔵するようにしてもよい。
In the above embodiment, the
本発明は、例えば、画像読取機能を有するスキャナー、複写機、複合機などに適用可能である。 The present invention can be applied to, for example, a scanner, a copying machine, and a multifunction machine having an image reading function.
4 主制御部(制御部の一例)
14 コーデック用ASIC(画像データ圧縮部の一例)
15 ワークメモリー領域(第1バッファーの一例)
16 コピー処理回路(コピー処理部の一例)
18 コーデック用ASIC(属性データ圧縮部の一例)
19 ワークメモリー領域(第2バッファーの一例)
20 ページメモリー領域
4 Main control unit (an example of control unit)
14 ASIC for codec (an example of image data compression unit)
15 Work memory area (example of first buffer)
16 Copy processing circuit (an example of a copy processing unit)
18 ASIC for codec (example of attribute data compression unit)
19 Work memory area (example of second buffer)
20 page memory area
Claims (3)
前記属性データ用の複数のバッファー領域を有する第2バッファーと、
前記画像データを圧縮し、圧縮された画像データを前記第1バッファーの前記複数のバッファー領域に順番に書き込む画像データ圧縮部と、
前記属性データを圧縮し、圧縮された属性データを前記第2バッファーの前記複数のバッファー領域に順番に書き込む属性データ圧縮部と、
前記第1バッファーの前記複数のバッファー領域のいずれかへの書込が完了した前記圧縮された画像データ、および前記第2バッファーの前記複数のバッファー領域のいずれかへの書込が完了した前記圧縮された属性データを読み出してページメモリー領域へ連続させて書き込むコピー処理部と、
前記圧縮された画像データおよび前記圧縮された属性データの、前記ページメモリー領域への書込位置を指定する制御部とを備え、
前記制御部は、前記第1バッファーの前記複数のバッファー領域に記憶されている前記圧縮された画像データのサイズ、および/または前記第2バッファーの前記複数のバッファー領域に記憶されている前記圧縮された属性データのサイズに基づいて、前記ページメモリー領域への書込位置を特定し、
前記ページメモリー領域は、複数チャネルのメモリーに確保され、
前記コピー処理部は、前記圧縮された画像データと前記圧縮された属性データを並行して前記ページメモリー領域へ書き込むこと、
を特徴とする画像読取装置。 A first buffer having a plurality of buffer areas for image data of image data and attribute data generated by image reading;
A second buffer having a plurality of buffer areas for the attribute data;
An image data compression unit that compresses the image data and sequentially writes the compressed image data into the plurality of buffer areas of the first buffer;
An attribute data compression unit that compresses the attribute data and sequentially writes the compressed attribute data into the plurality of buffer areas of the second buffer;
The compressed image data that has been written to any of the plurality of buffer areas of the first buffer, and the compression that has been written to any of the plurality of buffer areas of the second buffer A copy processing unit that reads out the attribute data that has been read and writes it continuously to the page memory area
A control unit for designating a writing position of the compressed image data and the compressed attribute data in the page memory area;
The control unit is configured to store the compressed image data size stored in the buffer areas of the first buffer and / or the compressed data stored in the buffer areas of the second buffer. Based on the size of the attribute data specified, the write position to the page memory area is specified,
The page memory area is secured in a memory of a plurality of channels,
The copy processing unit writes the compressed image data and the compressed attribute data to the page memory area in parallel;
An image reading apparatus.
前記属性データ用の複数のバッファー領域を有する第2バッファーと、
前記画像データを圧縮し、圧縮された画像データを前記第1バッファーの前記複数のバッファー領域に順番に書き込む画像データ圧縮部と、
前記属性データを圧縮し、圧縮された属性データを前記第2バッファーの前記複数のバッファー領域に順番に書き込む属性データ圧縮部と、
前記第1バッファーの前記複数のバッファー領域のいずれかへの書込が完了した前記圧縮された画像データ、および前記第2バッファーの前記複数のバッファー領域のいずれかへの書込が完了した前記圧縮された属性データを読み出してページメモリー領域へ連続させて書き込むコピー処理部とを備え、
前記コピー処理部は、前記第1バッファーの前記複数のバッファー領域に記憶されている前記圧縮された画像データのサイズ、および/または前記第2バッファーの前記複数のバッファー領域に記憶されている前記圧縮された属性データのサイズに基づいて、前記ページメモリー領域への書込位置を特定し、
前記ページメモリー領域は、複数チャネルのメモリーに確保され、
前記コピー処理部は、前記圧縮された画像データと前記圧縮された属性データを並行して前記ページメモリー領域へ書き込むこと、
を特徴とする画像読取装置。 A first buffer having a plurality of buffer areas for image data of image data and attribute data generated by image reading;
A second buffer having a plurality of buffer areas for the attribute data;
An image data compression unit that compresses the image data and sequentially writes the compressed image data into the plurality of buffer areas of the first buffer;
An attribute data compression unit that compresses the attribute data and sequentially writes the compressed attribute data into the plurality of buffer areas of the second buffer;
The compressed image data that has been written to any of the plurality of buffer areas of the first buffer, and the compression that has been written to any of the plurality of buffer areas of the second buffer A copy processing unit that reads out the attribute data that has been read and writes it continuously to the page memory area,
The copy processing unit is configured to store the compressed image data size stored in the plurality of buffer areas of the first buffer and / or the compression stored in the plurality of buffer areas of the second buffer. Based on the size of the attribute data that has been specified, the write position to the page memory area is specified,
The page memory area is secured in a memory of a plurality of channels,
The copy processing unit writes the compressed image data and the compressed attribute data to the page memory area in parallel;
Images reader said.
前記第1バッファーの前記複数のバッファー領域のそれぞれは、最低圧縮率での1バンド分の前記圧縮された画像データを記憶可能なサイズを有し、
前記第2バッファーの前記複数のバッファー領域のそれぞれは、最低圧縮率での1バンド分の前記圧縮された属性データを記憶可能なサイズを有し、
前記画像データ圧縮部は、1バンドずつ、前記圧縮された画像データを前記第1バッファーの前記複数のバッファー領域に順番に書き込み、
前記属性データ圧縮部は、1バンドずつ、前記圧縮された属性データを前記第2バッファーの前記複数のバッファー領域に順番に書き込むこと、
を特徴とする請求項1または請求項2記載の画像読取装置。 The image data and the attribute data are compressed for each band,
Each of the plurality of buffer areas of the first buffer has a size capable of storing the compressed image data for one band at a minimum compression rate,
Each of the plurality of buffer areas of the second buffer has a size capable of storing the compressed attribute data for one band at a minimum compression rate,
The image data compression unit sequentially writes the compressed image data to the plurality of buffer areas of the first buffer, band by band,
The attribute data compression unit sequentially writes the compressed attribute data to the plurality of buffer areas of the second buffer, one band at a time;
The image reading apparatus according to claim 1 or claim 2 wherein.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012013676A JP5705143B2 (en) | 2012-01-26 | 2012-01-26 | Image reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012013676A JP5705143B2 (en) | 2012-01-26 | 2012-01-26 | Image reading device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013153359A JP2013153359A (en) | 2013-08-08 |
JP5705143B2 true JP5705143B2 (en) | 2015-04-22 |
Family
ID=49049373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012013676A Expired - Fee Related JP5705143B2 (en) | 2012-01-26 | 2012-01-26 | Image reading device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5705143B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016052110A (en) * | 2014-09-02 | 2016-04-11 | コニカミノルタ株式会社 | Image processing method, image forming method, image processing apparatus, and image forming apparatus |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003046789A (en) * | 2001-08-02 | 2003-02-14 | Canon Inc | Image coding apparatus and image decoding apparatus |
JP3984817B2 (en) * | 2001-11-05 | 2007-10-03 | キヤノン株式会社 | Image processing apparatus and method, medium, and program |
JP3954032B2 (en) * | 2004-01-09 | 2007-08-08 | シャープ株式会社 | Image coding apparatus, image coding method, image coding program, and computer-readable recording medium on which image coding program is recorded |
JP4845826B2 (en) * | 2007-07-26 | 2011-12-28 | 株式会社リコー | Image processing apparatus and image processing method |
JP2011066524A (en) * | 2009-09-15 | 2011-03-31 | Ricoh Co Ltd | Image forming device, control method for image forming device, and program |
-
2012
- 2012-01-26 JP JP2012013676A patent/JP5705143B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2013153359A (en) | 2013-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4245139B2 (en) | Image processing device | |
US8531538B2 (en) | Image processing apparatus, imaging apparatus, and image processing method | |
JP5566411B2 (en) | Image reading device | |
JP5705143B2 (en) | Image reading device | |
US20150120683A1 (en) | Data compression apparatus, data compression method, and non-transitory computer readable medium | |
JP5635551B2 (en) | Image processing apparatus and image forming apparatus | |
US8867104B2 (en) | Image scanning apparatus | |
JP5145278B2 (en) | Image processing device | |
JP5697588B2 (en) | Image reading device | |
JP5705142B2 (en) | Image reading device | |
JP5205317B2 (en) | Image processing device | |
US8520964B2 (en) | Image processing apparatus | |
JP4906097B2 (en) | Memory interface unit and memory unit | |
JP2007235851A (en) | Image processing device, image processing method, program, and recording medium | |
JP5145277B2 (en) | Image processing device | |
JP5892956B2 (en) | Image processing device | |
JP5705104B2 (en) | Image reading device | |
JP6008770B2 (en) | Image forming apparatus | |
JP3690102B2 (en) | Image processing apparatus and image processing method | |
JP2006180161A (en) | Color image processor | |
JP2014107615A (en) | Image reader | |
JP2006054774A (en) | Data transfer control apparatus and data transfer method | |
JPH07141388A (en) | Electronic filing device | |
JPH0723192A (en) | Image memory device | |
JPS63300363A (en) | Image processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131219 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141127 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150108 |
|
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: 20150129 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150224 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5705143 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |