JP2014045309A - Image reading device - Google Patents
Image reading device Download PDFInfo
- Publication number
- JP2014045309A JP2014045309A JP2012186214A JP2012186214A JP2014045309A JP 2014045309 A JP2014045309 A JP 2014045309A JP 2012186214 A JP2012186214 A JP 2012186214A JP 2012186214 A JP2012186214 A JP 2012186214A JP 2014045309 A JP2014045309 A JP 2014045309A
- Authority
- JP
- Japan
- Prior art keywords
- image reading
- image data
- image
- synchronization signal
- line
- 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
Landscapes
- Facsimile Scanning Arrangements (AREA)
- Storing Facsimile Image Data (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、画像読取装置に関するものである。 The present invention relates to an image reading apparatus.
原稿の両面を同時に読み取り可能な画像読取装置では、両面を同時に読み取るときに、片面を読み取るときの2倍の画像データが生成され、装置内で転送される。 In an image reading apparatus capable of reading both sides of a document at the same time, when reading both sides simultaneously, twice as much image data as when reading one side is generated and transferred in the apparatus.
そのような場合、ある画像読取装置では、画像データの転送レートを2倍とすることで、後段の処理で遅延が生じないようにしている(例えば特許文献1,2参照)。
In such a case, in a certain image reading apparatus, the transfer rate of the image data is doubled so that no delay occurs in subsequent processing (for example, see
画像読取装置では、固有の解像度(最大解像度)で生成された画像データが間引かれることがある。例えば、ユーザにより設定された解像度が最大解像度より低い場合には、設定された解像度に応じて、所定割合のライン分の画像データが間引かれる。 In an image reading apparatus, image data generated at a specific resolution (maximum resolution) may be thinned out. For example, when the resolution set by the user is lower than the maximum resolution, image data for a predetermined proportion of lines is thinned out according to the set resolution.
例えば、装置の最大解像度が600dpiである場合に、設定された解像度が300dpiであるとき、2ライン分の画像データのうちの、1ライン分の画像データが間引かれ、間引かれた後の残りの1ライン分の画像データがバスを介してメモリーなどに転送される。このため、間欠的に画像データが転送される。 For example, when the maximum resolution of the apparatus is 600 dpi and the set resolution is 300 dpi, one line of image data out of two lines of image data is thinned out, and after the thinned out The remaining one line of image data is transferred to a memory or the like via the bus. For this reason, image data is transferred intermittently.
したがって、原稿両面の画像を並行して読み込む場合、表面の画像データと、裏面の画像データとがそれぞれ間欠的にバスを介してメモリーなどに転送される。 Therefore, when images on both sides of the document are read in parallel, the image data on the front side and the image data on the back side are intermittently transferred to a memory or the like via the bus.
このため、転送すべき画像データ量は少ないものの、表面の画像データが転送される期間において裏面の画像データも転送されると、その期間の、バスやメモリーなどのリソースの負荷が大きくなってしまい、そのリソースを使用した他のデータの転送に支障をきたす可能性がある。 For this reason, although the amount of image data to be transferred is small, if the image data on the back side is also transferred during the period in which the image data on the front side is transferred, the load on resources such as the bus and memory during that period increases. The transfer of other data using the resource may be hindered.
本発明は、上記の問題に鑑みてなされたものであり、表面と裏面の画像データのデータ転送量が少ないにも拘わらず発生するリソースの負荷の一時的な増加を抑制する画像読取装置を得ることを目的とする。 The present invention has been made in view of the above problems, and provides an image reading apparatus that suppresses a temporary increase in resource load that occurs despite the small amount of data transfer of front and back image data. For the purpose.
上記の課題を解決するために、本発明では以下のようにした。 In order to solve the above problems, the present invention is configured as follows.
本発明に係る画像読取装置は、原稿の表面および裏面のうちの一方のための第1画像読取ユニットと、原稿の表面および裏面のうちの他方のための第2画像読取ユニットとを備える。第1画像読取ユニットは、原稿の先端が検出されると第1垂直同期信号をアサートする第1タイミング信号生成部と、第1垂直同期信号に基づくタイミングで、各Nライン分の画像データからMライン分の画像データを間引き、間引き後の(N−M)ライン分の画像データを出力する第1間引き手段とを有する。また、第2画像読取ユニットは、原稿の先端が検出されると第2垂直同期信号をアサートする第2タイミング信号生成部と、第2垂直同期信号に基づくタイミングで、各Nライン分の画像データからMライン分の画像データを間引き、間引き後の(N−M)ライン分の画像データを出力する第2間引き手段とを有する。そして、第2タイミング信号生成部は、第1画像読取ユニットから(N−M)ライン分の画像データが出力されていない期間に第2画像読取ユニットから出力される画像データ量が増加するように、第2垂直同期信号のアサートタイミングを遅延させる。 An image reading apparatus according to the present invention includes a first image reading unit for one of the front and back surfaces of a document, and a second image reading unit for the other of the front and back surfaces of the document. The first image reading unit includes a first timing signal generation unit that asserts a first vertical synchronization signal when the leading edge of the document is detected, and M data from image data for each N lines at a timing based on the first vertical synchronization signal. First thinning means for thinning out image data for lines and outputting image data for (NM) lines after thinning. The second image reading unit also includes a second timing signal generation unit that asserts a second vertical synchronization signal when the leading edge of the document is detected, and image data for each of N lines at a timing based on the second vertical synchronization signal. And second thinning means for thinning out the image data for M lines and outputting the image data for (N−M) lines after thinning. The second timing signal generation unit increases the amount of image data output from the second image reading unit during a period in which (NM) lines of image data are not output from the first image reading unit. The delay timing of the second vertical synchronization signal is delayed.
これにより、表面の画像データの転送と裏面の画像データの転送とが重なる期間が少なくなり、データ転送量が少ないにも拘わらず発生するリソースの負荷の一時的な増加が抑制される。また、第2垂直同期信号のタイミングを制御することで、第2画像読取ユニットからのデータ出力のタイミングを制御するため、データ出力のタイミングを制御するために画像データを一時的に記憶するバッファーを設ける必要がない。 As a result, the period in which the transfer of the image data on the front side and the transfer of the image data on the back side overlap is reduced, and a temporary increase in resource load that occurs despite the small amount of data transfer is suppressed. In addition, by controlling the timing of the second vertical synchronization signal, the timing of data output from the second image reading unit is controlled, so that a buffer for temporarily storing image data for controlling the timing of data output is provided. There is no need to provide it.
また、本発明に係る画像読取装置は、上記の画像読取装置に加え、次のようにしてもよい。この場合、第2間引き手段には、水平同期信号に同期して1ライン分ずつ画像データが供給される。そして、第2タイミング信号生成部は、(a)水平同期信号を生成し、(b)水平同期信号に基づいて、第1垂直同期信号のアサートからの、水平同期信号によるライン数をカウントし、(c)そのライン数に基づいて、第2垂直同期信号のアサートタイミングを決定する。 In addition to the above image reading apparatus, the image reading apparatus according to the present invention may be as follows. In this case, the second thinning means is supplied with image data for each line in synchronization with the horizontal synchronizing signal. Then, the second timing signal generation unit (a) generates a horizontal synchronization signal, (b) counts the number of lines by the horizontal synchronization signal from the assertion of the first vertical synchronization signal based on the horizontal synchronization signal, (C) The assert timing of the second vertical synchronization signal is determined based on the number of lines.
また、本発明に係る画像読取装置は、上記の画像読取装置に加え、次のようにしてもよい。この場合、第1間引き手段には、第1水平同期信号に同期して1ライン分ずつ画像データが供給され、第2間引き手段には、第2水平同期信号に同期して1ライン分ずつ画像データが供給される。また、第1タイミング信号生成部は、第1水平同期信号を生成し、第2タイミング信号生成部は、第2水平同期信号を生成する。そして、第1水平同期信号と第2水平同期信号は同期している。 In addition to the above image reading apparatus, the image reading apparatus according to the present invention may be as follows. In this case, the image data for one line is supplied to the first thinning means in units of one line in synchronization with the first horizontal synchronizing signal, and the image for one line is supplied to the second thinning means in synchronization with the second horizontal synchronizing signal. Data is supplied. The first timing signal generation unit generates a first horizontal synchronization signal, and the second timing signal generation unit generates a second horizontal synchronization signal. The first horizontal synchronization signal and the second horizontal synchronization signal are synchronized.
これにより、表面の画像データの転送と裏面の画像データの転送とが重なる期間がより少なくなる。 Thereby, the period in which the transfer of the image data on the front side and the transfer of the image data on the back side overlap is reduced.
また、本発明に係る画像読取装置は、上記の画像読取装置に加え、次のようにしてもよい。この場合、第1間引き手段および第2間引き手段は、解像度変換のためにMラインの画像データを間引く。 In addition to the above image reading apparatus, the image reading apparatus according to the present invention may be as follows. In this case, the first thinning unit and the second thinning unit thin out M line image data for resolution conversion.
また、本発明に係る画像読取装置は、上記の画像読取装置に加え、次のようにしてもよい。この場合、画像読取装置は、バスに接続されたメインメモリーをさらに備える。そして、第1画像読取ユニットおよび第2画像読取ユニットは、間引き後の(N−M)ライン分の画像データを、そのバスを介してメインメモリーにそれぞれ出力する。 In addition to the above image reading apparatus, the image reading apparatus according to the present invention may be as follows. In this case, the image reading apparatus further includes a main memory connected to the bus. Then, the first image reading unit and the second image reading unit respectively output (NM) line image data after thinning to the main memory via the bus.
これにより、バスおよびメインメモリーの負荷の一時的な増加が抑制される。 As a result, a temporary increase in the load on the bus and the main memory is suppressed.
また、本発明に係る画像読取装置は、上記の画像読取装置に加え、次のようにしてもよい。この場合、画像読取装置は、バスに接続されたロッシー圧縮方式の画像圧縮回路をさらに備える。第1間引き手段および第2間引き手段は、そのロッシー圧縮方式で不要なMラインの画像データを間引き、第1画像読取ユニットおよび第2画像読取ユニットは、間引き後の(N−M)ライン分の画像データを、そのバスを介して画像圧縮回路にそれぞれ出力する。 In addition to the above image reading apparatus, the image reading apparatus according to the present invention may be as follows. In this case, the image reading apparatus further includes a lossy compression type image compression circuit connected to the bus. The first decimation unit and the second decimation unit decimate unnecessary M line image data by the lossy compression method, and the first image reading unit and the second image reading unit store (NM) lines after decimation. The image data is output to the image compression circuit via the bus.
これにより、表面および裏面の画像データを画像圧縮回路へ転送する際のバスの負荷の一時的な増加が抑制される。 This suppresses a temporary increase in bus load when transferring image data on the front and back surfaces to the image compression circuit.
また、本発明に係る画像読取装置は、上記の画像読取装置に加え、次のようにしてもよい。この場合、上述のロッシー圧縮方式は、サンプリングファクターが4:2:0であるJPEG方式であり、第1間引き手段および第2間引き手段は、画像データのうちの色データについて、各2ライン分のうち不要な1ライン分の色データを間引き、第1画像読取ユニットおよび第2画像読取ユニットは、画像圧縮回路に、間引き後の1ライン分の色データをそれぞれ出力する。そして、第2タイミング信号生成部は、第1画像読取ユニットから1ライン分の色データが出力されていない期間に第2画像読取ユニットから1ライン分の色データが出力されるように、第2垂直同期信号を生成する。 In addition to the above image reading apparatus, the image reading apparatus according to the present invention may be as follows. In this case, the above-described lossy compression method is a JPEG method with a sampling factor of 4: 2: 0, and the first thinning unit and the second thinning unit use two lines for color data in the image data. Of these, the unnecessary color data for one line is thinned out, and the first image reading unit and the second image reading unit respectively output the thinned color data for one line to the image compression circuit. The second timing signal generator is configured to output the second line of color data from the second image reading unit during a period when the first line of color data is not output from the first image reading unit. A vertical synchronization signal is generated.
本発明によれば、画像読取装置において、表面と裏面の画像データのデータ転送量が少ないにも拘わらず発生するリソースの負荷の一時的な増加が抑制される。 According to the present invention, in the image reading apparatus, a temporary increase in resource load that occurs even though the data transfer amount of the front and back image data is small is suppressed.
以下、図に基づいて本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
実施の形態1.
図1は、本発明の実施の形態1に係る画像読取装置の構成を示すブロック図である。この画像読取装置は、スキャナー、コピー機、ファクシミリ機、複合機などであり、1回の搬送で原稿の両面(表面と裏面)の画像を並行して読み取る。
FIG. 1 is a block diagram showing a configuration of an image reading apparatus according to
図1に示す画像読取装置は、原稿の表面の画像を光学的に読み取るラインセンサー11と、ラインセンサー11を駆動し原稿表面の画像データを生成する駆動回路12と、駆動回路12から画像データを取得しその画像データに対して各種処理を行い、処理後の画像データを出力する画像読取ユニット13とを有する。
The image reading apparatus shown in FIG. 1 includes a
ラインセンサー11は、1ラインずつ原稿画像を光学的に読み取る。実施の形態1では、ラインセンサー11は、CCD(Charge Coupled Device)方式のラインメモリーである。
The
また、図1に示す画像読取装置は、原稿の裏面の画像を光学的に読み取るラインセンサー21と、ラインセンサー21を駆動し原稿裏面の画像データを生成する駆動回路22と、駆動回路22から画像データを取得しその画像データに対して各種処理を行い、処理後の画像データを出力する画像読取ユニット23とを有する。
The image reading apparatus shown in FIG. 1 includes a
ラインセンサー21は、1ラインずつ原稿画像を光学的に読み取る。実施の形態1では、ラインセンサー21は、CIS(Contact Image Sensor)方式のラインメモリーである。実施の形態1では、裏面用のラインセンサー21は、原稿の搬送経路において、表面用のラインセンサー11より下流側に配置されている。
The
画像読取ユニット13,23は、バス31に接続されており、バス31を介して画像データを出力する。このバス31には、さらに、メインメモリー32、CPU(Central Processing Unit)33、ハードディスクドライブ34、印刷装置35、および通信装置36が接続されている。
The
つまり、CPU33、ハードディスクドライブ34、印刷装置35、および通信装置36は、バス31および/またはメインメモリー32を、画像読取ユニット13,23と共用しているデバイスである。これらのデバイスは、画像読取ユニット13,23とは非同期にバス31を介してデータ転送を行うため、画像読取ユニット13,23によりバス31の帯域使用量は、時間軸において平準化されていることが好ましい。
That is, the
メインメモリー32は、DRAM(Dynamic Random Access Memory)などの揮発性メモリーである。
The
CPU33は、ハードディスクドライブ34やバス31に接続された図示せぬROMからプログラムをメインメモリー32にロードし、そのプログラムを実行して各種処理を実行する。例えば、CPU33は、メインメモリー32をワークメモリーとして使用して、色変換、スクリーン処理などの、印刷用画像データを生成するための処理を実行する。その際、CPU33は、バス31を介してメインメモリー32にアクセスする。
The
ハードディスクドライブ34は、バス31を介して供給される画像データを記憶する不揮発性の記憶装置である。
The
印刷装置35は、バス31を介して供給される印刷用画像データに基づく画像を印刷用紙に印刷する。
The
通信装置36は、ネットワークインターフェイス、周辺機器インターフェイスなどであり、バス31を介して供給される画像データを外部の装置に送信する。
The
ここで、画像読取ユニット13,23の構成について説明する。
Here, the configuration of the
画像読取ユニット13は、タイミング信号生成部41、データ読取部42、画像処理部43、解像度変換部44、およびダイレクトメモリーアクセスコントローラー(DMAC)45を有する。
The
タイミング信号生成部41は、画像読取ユニット13用の垂直同期信号VSYNC_1と水平同期信号HSYNC_1を生成する。タイミング信号生成部41は、所定の周期で周期的にパルス状の水平同期信号HSYNC_1を出力し、原稿先端が検出されると、水平同期信号HSYNC_1に合わせて垂直同期信号VSYNC_1をアサートする。この垂直同期信号VSYNC_1および水平同期信号HSYNC_1は、データ読取部42に供給される。また、この垂直同期信号VSYNC_1は、画像読取ユニット23のタイミング信号生成部51に供給される。
The
データ読取部42は、垂直同期信号VSYNC_1がアサートされると、水平同期信号HSYNC_1に同期して繰り返し駆動回路12から1ライン分の画像データを取得し、画像処理部43に出力する。
When the vertical synchronization signal VSYNC_1 is asserted, the
画像処理部43は、データ読取部42からの画像データに対して、所定の画像処理(シェーディング補正など)を施し、画像処理後の画像データを解像度変換部44に出力する。したがって、解像度変換部44には、水平同期信号HSYNC_1に同期して1ライン分ずつ画像データが供給される。
The
解像度変換部44は、ユーザ操作などによる設定により指定された解像度に、画像処理部43からの画像データの解像度を変換し、変換後の画像データを、DMAC45でメインメモリー32に出力する。
The
具体的には、解像度変換部44は、画像処理部43からの画像データの解像度を、N分の(N−M)に低くする場合(N>M、N,Mは整数)、垂直同期信号VSYNC_1に基づくタイミングで、各Nライン分の画像データからMライン分の画像データを間引き、間引き後の(N−M)ライン分の画像データを出力する。
Specifically, when the resolution of the image data from the
DMAC45は、バス31に接続されたデバイス(メインメモリー32など)に対してデータを転送する回路である。
The
これにより、水平同期信号HSYNC_1に同期して、原稿表面の処理後の画像データがバス31を介してメインメモリー32に転送される。
As a result, the processed image data on the document surface is transferred to the
また、画像読取ユニット23は、タイミング信号生成部51、データ読取部52、画像処理部53、解像度変換部54、およびDMAC55を有する。
The
タイミング信号生成部51は、画像読取ユニット23用の垂直同期信号VSYNC_2と水平同期信号HSYNC_2を生成する。タイミング信号生成部51は、所定の周期で周期的にパルス状の水平同期信号HSYNC_2を出力し、原稿先端が検出されると、水平同期信号HSYNC_2に合わせて垂直同期信号VSYNC_2をアサートする。この垂直同期信号VSYNC_2および水平同期信号HSYNC_2は、データ読取部52に供給される。
The
なお、実施の形態1では、水平同期信号HSYNC_1と水平同期信号HSYNC_2は、同一の周期を有している。また、水平同期信号HSYNC_1と水平同期信号HSYNC_2は、同期している。したがって、水平同期信号HSYNC_1をタイミング信号生成部41からタイミング信号生成部51へ供給し、水平同期信号HSYNC_2として使用するようにしてもよい。
In the first embodiment, the horizontal synchronization signal HSYNC_1 and the horizontal synchronization signal HSYNC_2 have the same period. Further, the horizontal synchronization signal HSYNC_1 and the horizontal synchronization signal HSYNC_2 are synchronized. Therefore, the horizontal synchronization signal HSYNC_1 may be supplied from the timing
タイミング信号生成部51は、画像読取ユニット13から(N−M)ライン分の画像データがバス31を介して出力されていない期間に画像読取ユニット23からバス31を介して出力される画像データ量が増加するように、垂直同期信号VSYNC_2のアサートタイミングを遅延させる。
The timing
実施の形態1では、タイミング信号生成部51は、画像読取ユニット13から(N−M)ライン分の画像データが出力されていない期間に、画像読取ユニット23から、(N−M)ライン分のうちの少なくとも1ライン分の画像データが出力されるように、垂直同期信号VSYNC_2を生成する。
In the first embodiment, the timing
実施の形態1では、タイミング信号生成部51は、水平同期信号HSYNC_2に基づいて、垂直同期信号VSYNC_1のアサートからの、水平同期信号HSYNC_2によるライン数をカウントし、そのライン数に基づいて、垂直同期信号VSYNC_2のアサートのタイミングを決定する。
In the first embodiment, the timing
データ読取部52は、垂直同期信号VSYNC_2がアサートされると、水平同期信号HSYNC_2に同期して繰り返し駆動回路22から1ライン分の画像データを取得し、画像処理部53に出力する。
When the vertical synchronization signal VSYNC_2 is asserted, the
画像処理部53は、データ読取部52からの画像データに対して、所定の画像処理(シェーディング補正など)を施し、画像処理後の画像データを解像度変換部54に出力する。したがって、解像度変換部54には、水平同期信号HSYNC_2に同期して1ライン分ずつ画像データが供給される。
The
解像度変換部54は、ユーザ操作などによる設定により指定された解像度に、画像処理部53からの画像データの解像度を変換し、変換後の画像データを、DMAC55でメインメモリー32に出力する。
The
具体的には、解像度変換部54は、画像処理部53からの画像データの解像度を、N分の(N−M)に低くする場合(N>M、N,Mは整数)、垂直同期信号VSYNC_2に基づくタイミングで、各Nライン分の画像データからMライン分の画像データを間引き、間引き後の(N−M)ライン分の画像データを出力する。
Specifically, when the resolution of the image data from the
DMAC55は、バス31に接続されたデバイス(メインメモリー32など)に対してデータを転送する回路である。
The
これにより、タイミング信号生成部51により生成された水平同期信号HSYNC_2に同期して、原稿裏面の処理後の画像データがバス31を介してメインメモリー32に転送される。その際、主に、画像読取ユニット13から画像データが出力されていない期間に画像読取ユニット13から画像データが出力され、画像読取ユニット13から画像データが出力されている期間には画像読取ユニット23から画像データが出力されないようにしている。
Thus, the processed image data on the back side of the document is transferred to the
次に、上記画像読取装置の動作について説明する。 Next, the operation of the image reading apparatus will be described.
図2は、図1における裏面用の画像読取ユニット23におけるタイミング信号生成部51の動作を説明するフローチャートである。図3は、解像度を2分の1に変換する場合の、図1における画像読取ユニット13,23の動作を説明するタイミングチャートである。
FIG. 2 is a flowchart for explaining the operation of the timing
画像読取ユニット13では、垂直同期信号VSYNC_1がアサートすると、垂直同期信号HSYNC_1に同期して、データ読取部42が、1ライン分の画像データを取得し、画像処理部43が、その画像データに対して画像処理を施し、画像処理後の画像データを解像度変換部44に出力する。解像度変換部44は、設定により指定された解像度変換率(N−M)/Nに基づき、そのラインの画像データを間引くか否かを判定し、そのラインの画像データを間引くと判定した場合には、そのラインの画像データを破棄し、そのラインの画像データを間引かないと判定した場合には、そのラインの画像データをDMAC45でバス31を介してメインメモリー32に出力する。
In the
例えば図3に示すように、解像度変換率(N−M)/Nが1/2である場合、解像度変換部44は、1ライン置きに、1ライン分の処理後の画像データDATA_1を出力する。
For example, as shown in FIG. 3, when the resolution conversion rate (N−M) / N is ½, the
一方、画像読取ユニット23では、図2に示すように、タイミング信号生成部51は、まず、解像度変換が設定されているか否かを判定し(ステップS1)、解像度変換が設定されている場合、画像読取ユニット13の垂直同期信号VSYNC_1を監視し(ステップS2)、垂直同期信号VSYNC_1がアサートされると(図3における時刻Tv1)、水平同期信号HSYNC_2のカウントを開始する(ステップS3)。
On the other hand, in the
そして、タイミング信号生成部51は、垂直同期信号VSYNC_2のデフォルトのアサートタイミング(図3における時刻Td1または時刻Td2)になると(ステップS4)、水平同期信号HSYNC_2のカウントを終了し(ステップS5)、水平同期信号HSYNC_2のカウント数に基づいて、垂直同期信号VSYNC_2のアサートタイミングを、デフォルトのタイミングから遅延させるか否かを判定する(ステップS6)。なお、デフォルトのアサートタイミングは、原稿先端が検出されるタイミングに依存して変換する。
Then, when the timing
垂直同期信号VSYNC_2のアサートタイミングを、デフォルトのタイミングからずらさないと判定した場合(図3における時刻Td1の場合)、タイミング信号生成部51は、ただちに垂直同期信号VSYNC_2をアサートする(ステップS7)。
When it is determined that the assert timing of the vertical synchronization signal VSYNC_2 is not shifted from the default timing (at time Td1 in FIG. 3), the timing
一方、垂直同期信号VSYNC_2のアサートタイミングを、デフォルトのタイミングから遅延させると判定した場合(図3における時刻Td2の場合)、タイミング信号生成部51は、垂直同期信号VSYNC_2のアサートタイミングを1ライン分遅延させる(ステップS8)。
On the other hand, when it is determined that the assertion timing of the vertical synchronization signal VSYNC_2 is delayed from the default timing (at time Td2 in FIG. 3), the
例えば、解像度変換率(N−M)/Nが1/2である場合、タイミング信号生成部51は、カウント数が偶数であるときには、水平同期信号HSYNC_2の1周期分(つまり、1ライン分)、垂直同期信号VSYNC_2のアサートタイミングを遅延させ、カウント数が奇数であるときには、垂直同期信号VSYNC_2をただちにアサートする。これにより、図3に示すように、画像読取ユニット13から1ライン分の処理後の画像データDATA_1が出力されていない期間において、1ライン分の処理後の画像データDATA_2がバス31を介してメインメモリー32に出力される。
For example, when the resolution conversion rate (N−M) / N is ½, the timing
なお、解像度変換が設定されていない場合(ステップS1)、垂直同期信号VSYNC_2のアサートのデフォルトタイミング(ステップS9)で、垂直同期信号VSYNC_2がアサートされる(ステップS10)。 If resolution conversion is not set (step S1), the vertical synchronization signal VSYNC_2 is asserted (step S10) at the default timing of assertion of the vertical synchronization signal VSYNC_2 (step S9).
以上のように、上記実施の形態1に係る画像読取装置は、原稿の表面および裏面のうちの一方のための画像読取ユニット13と、他方のための画像読取ユニット23とを備える。
As described above, the image reading apparatus according to the first embodiment includes the
画像読取ユニット13では、タイミング信号生成部41は、原稿の先端が検出されると垂直同期信号VSYNC_1をアサートし、解像度変換部44は、垂直同期信号VSYNC_1に基づくタイミングで、各Nライン分の画像データからMライン分の画像データを間引き、間引き後の(N−M)ライン分の画像データを出力する。
In the
画像読取ユニット23では、タイミング信号生成部51は、原稿の先端が検出されると垂直同期信号VSYNC_2をアサートし、解像度変換部54は、垂直同期信号VSYNC_2に基づくタイミングで、各Nライン分の画像データからMライン分の画像データを間引き、間引き後の(N−M)ライン分の画像データを出力する。
In the
そして、タイミング信号生成部51は、画像読取ユニット13から(N−M)ライン分の画像データが出力されていない期間に画像読取ユニット23から出力される画像データ量が増加するように、垂直同期信号VSYNC_2のアサートタイミングを遅延させる。
Then, the timing
これにより、表面の画像データの転送と裏面の画像データの転送とが重なる期間が少なくなり、データ転送量が少ないにも拘わらず発生するリソースの負荷の一時的な増加が抑制される。また、垂直同期信号VSYNC_2のアサートタイミングを制御することで、画像読取ユニット23からのデータ出力のタイミングを制御するため、データ出力のタイミングを制御するために画像データを一時的に記憶するバッファーを設ける必要がない。
As a result, the period in which the transfer of the image data on the front side and the transfer of the image data on the back side overlap is reduced, and a temporary increase in resource load that occurs despite the small amount of data transfer is suppressed. Further, in order to control the timing of data output from the
さらに、実施の形態1では、解像度変換部44,54は、解像度変換のためにMラインの画像データを間引き、間引き後の(N−M)ライン分の画像データを、バス31を介してメインメモリー32にそれぞれ出力する。したがって、実施の形態1では、バス31およびメインメモリー32の負荷の一時的な増加が抑制される。
Further, in the first embodiment, the
実施の形態2.
本発明の実施の形態2に係る画像読取装置では、表面用の画像読取ユニットおよび裏面用の画像読取ユニットからバスを介して、ロッシー(Lossy)圧縮方式の画像圧縮回路へ、そのロッシー圧縮方式で不要なラインの画像データを間引いた後の画像データが転送される。 In the image reading apparatus according to the second embodiment of the present invention, the image reading unit for the front surface and the image reading unit for the back surface are connected to the lossy compression method image compression circuit via the bus by the lossy compression method. The image data after thinning out the image data of unnecessary lines is transferred.
図4は、本発明の実施の形態2に係る画像読取装置の構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of the image reading apparatus according to
実施の形態2では、画像圧縮回路71が、バス31に接続されており、バス31を介して供給される間引き済みの画像データをそのロッシー圧縮方式を圧縮する。画像圧縮回路71は、互いに独立して、ロッシー圧縮方式で表面の画像データと裏面の画像データを圧縮する。実施の形態2では、このロッシー圧縮方式は、サンプリングファクターが4:2:0であるJPEG方式である。
In the second embodiment, the
また、実施の形態2に係る画像読取装置は、表面用の画像読取ユニット13aと、裏面用の画像読取ユニット23aとを有する。
The image reading apparatus according to the second embodiment includes a front-side
画像読取ユニット13aは、画像読取ユニット13と同様の構成要素を有するとともに、解像度変換部44の後段に、そのロッシー圧縮方式で不要なMラインの画像データを間引くライン間引き部81を有する。ライン間引き部81は、間引き後の画像データをDMAC45で画像圧縮回路71に出力する。
The
また、画像読取ユニット23aは、画像読取ユニット23と同様の構成要素を有するとともに、解像度変換部54の後段に、そのロッシー圧縮方式で不要なMラインの画像データを間引くライン間引き部91を有する。ライン間引き部91は、間引き後の画像データをDMAC55で画像圧縮回路71に出力する。
The
サンプリングファクターが4:2:0であるJPEG方式では、1ライン分の色データ(YUVデータのうちのUデータとVデータ)が1ライン置きに間引かれる。実施の形態2では、画像読取ユニット13a,23aにおいてライン間引き部81,91により、1ライン分の色データが1ライン置きに間引かれ、1ライン置きに1ライン分の色データが、画像圧縮回路71へ転送される。
In the JPEG system with a sampling factor of 4: 2: 0, color data for one line (U data and V data in YUV data) is thinned out every other line. In the second embodiment, in the
タイミング信号生成部51aは、タイミング信号生成部51と同様に、水平同期信号HSYNC_2と垂直同期信号VSYNC_2を生成する。ただし、タイミング信号生成部51aは、画像読取ユニット13aから1ライン分の色データが出力されていない期間に画像読取ユニット23aから1ライン分の色データが出力されるように、垂直同期信号VSYNC_2を生成する。
Similar to the timing
なお、実施の形態2に係る画像読取装置のその他の構成および動作については実施の形態1のものと同様であるので、その説明を省略する。 Since the other configuration and operation of the image reading apparatus according to the second embodiment are the same as those of the first embodiment, description thereof is omitted.
以上のように、上記実施の形態2に係る画像読取装置は、バス31に接続されたロッシー圧縮方式の画像圧縮回路71を備える。そして、ライン間引き部81,91は、そのロッシー圧縮方式で不要なMラインの画像データを間引き、画像読取ユニット13a,23aは、間引き後の(N−M)ライン分の画像データを、バス31を介して画像圧縮回路71にそれぞれ出力する。
As described above, the image reading apparatus according to the second embodiment includes the lossy compression type
したがって、実施の形態2では、表面および裏面の画像データを画像圧縮回路71へ転送する際のバス31の負荷の一時的な増加が抑制される。
Therefore, in the second embodiment, a temporary increase in the load on 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.
例えば、上記の各実施の形態では、表面のラインセンサー11が裏面のラインセンサー21より原稿の搬送経路の上流側に配置されており、表面の垂直同期信号VSYNC_1が裏面の垂直同期信号VSYNC_2より早くアサートされる。上記の各実施の形態において、裏面のラインセンサーが表面のラインセンサーより原稿の搬送経路の上流側に配置されており、裏面の垂直同期信号VSYNCが表面の垂直同期信号VSYNCより早くアサートされるように構成されている場合、同様にして、裏面の画像読取ユニットから(N−M)ライン分の画像データが出力されていない期間に表面の画像読取ユニットから出力される画像データ量が増加するように、表面の垂直同期信号VSYNCのアサートタイミングを遅延させる。
For example, in each of the above-described embodiments, the front
また、上記の各実施の形態では、解像度を2分の1にする例を示しているが、3分の1、6分の1などの解像度変換率でも同様に処理可能である。 Further, in each of the above embodiments, an example in which the resolution is halved is shown, but the same processing can be performed with a resolution conversion rate such as 1/3 or 1/6.
本発明は、例えば、原稿の両面の画像を並行して読み取る画像読取装置に適用可能である。 The present invention is applicable to, for example, an image reading apparatus that reads images on both sides of a document in parallel.
13 画像読取ユニット(第1画像読取ユニットの一例)
23 画像読取ユニット(第2画像読取ユニットの一例)
31 バス
32 メインメモリー
41 タイミング信号生成部(第1タイミング信号生成部の一例)
44 解像度変換部(第1間引き手段の一例)
51,51a タイミング信号生成部(第2タイミング信号生成部の一例)
54 解像度変換部(第2間引き手段の一例)
71 画像圧縮回路
81 ライン間引き部(第1間引き手段の一例)
91 ライン間引き部(第2間引き手段の一例)
13 Image reading unit (an example of a first image reading unit)
23 Image reading unit (an example of a second image reading unit)
31
44 Resolution converter (an example of first decimation means)
51, 51a Timing signal generator (an example of a second timing signal generator)
54 Resolution converter (an example of second thinning means)
71
91 Line thinning section (an example of second thinning means)
Claims (7)
前記原稿の先端が検出されると第2垂直同期信号をアサートする第2タイミング信号生成部と、前記第2垂直同期信号に基づくタイミングで、各Nライン分の画像データからMライン分の画像データを間引き、間引き後の(N−M)ライン分の画像データを出力する第2間引き手段とを有する、前記原稿の表面および裏面のうちの他方のための第2画像読取ユニットとを備え、
前記第2タイミング信号生成部は、前記第1画像読取ユニットから前記(N−M)ライン分の画像データが出力されていない期間に前記第2画像読取ユニットから出力される画像データ量が増加するように、前記第2垂直同期信号のアサートタイミングを遅延させること、
を特徴とする画像読取装置。 A first timing signal generation unit that asserts a first vertical synchronization signal when the leading edge of the document is detected, and image data for M lines from image data for N lines at a timing based on the first vertical synchronization signal. A first image reading unit for one of the front side and the back side of the document, the first thinning unit outputting thinning and (NM) lines of image data after thinning;
A second timing signal generator that asserts a second vertical synchronization signal when the leading edge of the document is detected, and image data for M lines from image data for each N lines at a timing based on the second vertical synchronization signal. And a second image reading unit for the other of the front surface and the back surface of the document, and a second thinning means for outputting image data for (NM) lines after thinning.
The second timing signal generation unit increases the amount of image data output from the second image reading unit during a period in which the image data for the (N−M) lines is not output from the first image reading unit. Delaying the assertion timing of the second vertical synchronization signal,
An image reading apparatus.
前記第2タイミング信号生成部は、(a)前記水平同期信号を生成し、(b)前記水平同期信号に基づいて、前記第1垂直同期信号のアサートからの、前記水平同期信号によるライン数をカウントし、(c)前記ライン数に基づいて、前記第2垂直同期信号のアサートタイミングを決定すること、
を特徴とする請求項1記載の画像読取装置。 The second thinning means is supplied with image data line by line in synchronization with a horizontal synchronizing signal,
The second timing signal generation unit (a) generates the horizontal synchronization signal, and (b) determines the number of lines by the horizontal synchronization signal from the assertion of the first vertical synchronization signal based on the horizontal synchronization signal. Counting, and (c) determining assertion timing of the second vertical synchronization signal based on the number of lines;
The image reading apparatus according to claim 1.
前記第2間引き手段には、第2水平同期信号に同期して1ライン分ずつ画像データが供給され、
前記第1タイミング信号生成部は、前記第1水平同期信号を生成し、
前記第2タイミング信号生成部は、前記第2水平同期信号を生成し、
前記第1水平同期信号と前記第2水平同期信号は同期していること、
を特徴とする請求項1記載の画像読取装置。 The first thinning means is supplied with image data line by line in synchronization with the first horizontal synchronizing signal,
The second thinning means is supplied with image data line by line in synchronization with the second horizontal synchronizing signal,
The first timing signal generator generates the first horizontal synchronization signal;
The second timing signal generation unit generates the second horizontal synchronization signal;
The first horizontal synchronizing signal and the second horizontal synchronizing signal are synchronized;
The image reading apparatus according to claim 1.
前記第1画像読取ユニットおよび前記第2画像読取ユニットは、間引き後の前記(N−M)ライン分の画像データを、前記バスを介して前記メインメモリーにそれぞれ出力すること、
を特徴とする請求項1から請求項4のうちのいずれか1項記載の画像読取装置。 A main memory connected to the bus
The first image reading unit and the second image reading unit respectively output image data for the (NM) lines after thinning to the main memory via the bus;
The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus.
前記第1間引き手段および前記第2間引き手段は、前記ロッシー圧縮方式で不要な前記Mラインの画像データを間引き、
前記第1画像読取ユニットおよび前記第2画像読取ユニットは、間引き後の前記(N−M)ライン分の画像データを、前記バスを介して前記画像圧縮回路にそれぞれ出力すること、
を特徴とする請求項1記載の画像読取装置。 Further comprising a lossy compression image compression circuit connected to the bus,
The first thinning means and the second thinning means thin out unnecessary M line image data in the lossy compression method,
The first image reading unit and the second image reading unit respectively output image data for the (N−M) lines after thinning to the image compression circuit via the bus;
The image reading apparatus according to claim 1.
前記第1間引き手段および前記第2間引き手段は、前記画像データのうちの色データについて、各2ライン分のうち不要な1ライン分の色データを間引き、
前記第1画像読取ユニットおよび前記第2画像読取ユニットは、前記画像圧縮回路に、間引き後の前記1ライン分の色データをそれぞれ出力し、
前記第2タイミング信号生成部は、前記第1画像読取ユニットから前記1ライン分の色データが出力されていない期間に前記第2画像読取ユニットから前記1ライン分の色データが出力されるように、前記第2垂直同期信号を生成すること、
を特徴とする請求項6記載の画像読取装置。 The lossy compression method is a JPEG method with a sampling factor of 4: 2: 0,
The first thinning means and the second thinning means thin out unnecessary color data for one line out of two lines for color data in the image data,
The first image reading unit and the second image reading unit respectively output the color data for the one line after thinning to the image compression circuit,
The second timing signal generator is configured to output the color data for one line from the second image reading unit during a period when the color data for the one line is not output from the first image reading unit. Generating the second vertical synchronization signal;
The image reading apparatus according to claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012186214A JP2014045309A (en) | 2012-08-27 | 2012-08-27 | Image reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012186214A JP2014045309A (en) | 2012-08-27 | 2012-08-27 | Image reading device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014045309A true JP2014045309A (en) | 2014-03-13 |
Family
ID=50396296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012186214A Pending JP2014045309A (en) | 2012-08-27 | 2012-08-27 | Image reading device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014045309A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019153826A (en) * | 2018-02-28 | 2019-09-12 | セイコーエプソン株式会社 | Image reading device |
-
2012
- 2012-08-27 JP JP2012186214A patent/JP2014045309A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019153826A (en) * | 2018-02-28 | 2019-09-12 | セイコーエプソン株式会社 | Image reading device |
JP7024500B2 (en) | 2018-02-28 | 2022-02-24 | セイコーエプソン株式会社 | Image reader |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102459917B1 (en) | Image signal processor and devices having the same | |
US20190215413A1 (en) | Image forming apparatus for controlling image reading apparatus depending on image processing capability of the image forming apparatus, image reading apparatus, control method thereof, and storage medium | |
JP2010141687A (en) | Information processing apparatus, buffer control method, and computer program | |
US11363158B2 (en) | Multifunction apparatus executing plurality of image processes in parallel, control method therefor, and storage medium storing control program therefor | |
KR20140102605A (en) | Image processing device | |
TW201811057A (en) | Image frame processing method | |
US7038719B2 (en) | Image sensing apparatus, image processing method, recording medium, and program | |
JP6743427B2 (en) | Information processing apparatus, imaging system, and data transfer method | |
US11363154B2 (en) | Image processing apparatus capable of performing plurality of pieces of processing in parallel, control method for the image processing apparatus, and storage medium | |
US11134165B2 (en) | Image processing apparatus having functions including scan function, control method thereof, and storage medium storing program for executing control method | |
JP2014045309A (en) | Image reading device | |
JP6539509B2 (en) | Data transfer apparatus and data transfer method | |
US9485381B1 (en) | Scanner interface and protocol | |
JP2008005415A (en) | Apparatus and method for transferring encoded data | |
JP6473049B2 (en) | Display control apparatus and imaging apparatus | |
JP5930834B2 (en) | Image processing apparatus, image processing method, and control method for image processing apparatus | |
JP5272977B2 (en) | CONTROL DEVICE, IMAGE READING DEVICE, IMAGE FORMING DEVICE, AND IMAGE READING DEVICE CONTROL METHOD | |
US20140095744A1 (en) | Data transfer device and method | |
JP2014236299A (en) | Image processing apparatus and data transfer method | |
JP6021556B2 (en) | Image processing device | |
JP2005031759A (en) | Image processor and image processing method to which spatial filter is applied | |
US8792144B2 (en) | Image reading device and image reading method | |
JP2012037434A (en) | Image data transfer apparatus and control method thereof | |
JP2020010172A (en) | Image reading device | |
US20120206755A1 (en) | Image forming apparatus |