JP2009147986A - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP2009147986A
JP2009147986A JP2009078886A JP2009078886A JP2009147986A JP 2009147986 A JP2009147986 A JP 2009147986A JP 2009078886 A JP2009078886 A JP 2009078886A JP 2009078886 A JP2009078886 A JP 2009078886A JP 2009147986 A JP2009147986 A JP 2009147986A
Authority
JP
Japan
Prior art keywords
image data
image
processing
filter
filtering
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
Application number
JP2009078886A
Other languages
Japanese (ja)
Other versions
JP2009147986A5 (en
Inventor
Hiroyuki Baba
裕行 馬場
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009078886A priority Critical patent/JP2009147986A/en
Publication of JP2009147986A publication Critical patent/JP2009147986A/en
Publication of JP2009147986A5 publication Critical patent/JP2009147986A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing device for filtering image data by a single filtering means while properly switching filtering before the image data are compressed and after the image data are expanded. <P>SOLUTION: In an image reading device 1, inputted digital image data are subjected to lossy compression in a compression section 63 and stored in a storage section 64. The compressed image data in the storage section 64 are expanded in an expansion section 65 and outputted. When predetermined filtering is performed on the digital image data in a filtering section 62, the filtering is performed by properly switching pre-filtering performed before the image data are compressed and post-filtering performed after the image data are expanded. Therefore, pre-filtering and post-filtering can be properly switched by the single filtering section 62 according to characteristics of the image data to be processed, thereby improving image quality at low cost. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像処理装置に関し、詳細には、画像データに対するフィルタ処理を、1つのフィルタ処理部で画像データの圧縮前と伸長後に適宜切り換えて行う画像処理装置に関する。   The present invention relates to an image processing apparatus, and more particularly, to an image processing apparatus that performs filter processing on image data by appropriately switching before and after compression of image data by a single filter processing unit.

スキャナ、複写装置等の画像処理装置においては、読み取った画像を圧縮処理して一旦画像メモリに蓄積し、その後、画像メモリから圧縮データを読み出して伸長して、記録出力に供したり、コンピュータ等の外部装置に出力している。
このように画像を圧縮・伸長する場合、主に圧縮伸長の前後で原画像と同一の画像になるかならないかで、可逆圧縮と非可逆圧縮に分けることができる。
一方、ディジタルデータを扱う画像処理装置においては、エッジ強調処理等のフィルタ処理は重要な機能である。
そして、例えば、多値画像の蓄積を行なうプリンタ機能、スキャナ機能、ファクシミリ機能等の複合機能を備えたMFPシステムにおいては、フィルタ処理と圧縮伸長処理の位置関係によって、図9に示すフィルタ前処理タイプと、図10に示すフィルタ後処理タイプの2つのタイプに分けることができる。
In an image processing apparatus such as a scanner or a copying apparatus, the read image is compressed and temporarily stored in an image memory. Thereafter, the compressed data is read out from the image memory and decompressed for use in recording output, or in a computer or the like. Outputting to an external device.
When the image is compressed / expanded in this way, it can be divided into lossless compression and lossy compression depending on whether the image is the same as the original image before or after compression / expansion.
On the other hand, in an image processing apparatus that handles digital data, filter processing such as edge enhancement processing is an important function.
For example, in an MFP system having a composite function such as a printer function for accumulating multi-valued images, a scanner function, and a facsimile function, the filter preprocessing type shown in FIG. 9 depends on the positional relationship between the filter processing and compression / decompression processing. And the two types of filter post-processing types shown in FIG.

フィルタ前処理タイプでは、図9に示すように、MFPシステム100は、読取装置101で読み取った画像データに対して、フィルタ処理部102でフィルタ処理を行ない、フィルタ処理した8bitデータを圧縮器(符号化器)103で圧縮して外部記憶装置104に蓄積する。MFPシステム100は、その後、外部記憶装置104から蓄積データを読み出して、伸長器(復号器)105で伸長して、この伸長した8bitデータに対して階調変換処理部106で階調変換処理(誤差拡散処理)を行い、書込装置107で、プリント出力する。
また、フィルタ後処理タイプでは、図10に示すように、読取装置101で読み取った画像データを圧縮器103で圧縮した8bitデータを外部記憶装置104に蓄積する。MFPシステム100は、その後、蓄積データを外部記憶装置104から読み出して、伸長器105で伸長した8bitデータに対して、フィルタ処理部102でフィルタ処理を行ない、階調変換処理部106で階調変換処理(誤差拡散処理)を行って、書込装置107でプリント出力する。なお、図9と図10とでは、同じ構成部分には、同じ符号を付している。
In the filter preprocessing type, as shown in FIG. 9, the MFP system 100 performs filter processing on the image data read by the reading device 101 by the filter processing unit 102, and compresses the 8-bit data by the compressor (code). Compressor) 103 and store in external storage device 104. Thereafter, the MFP system 100 reads the accumulated data from the external storage device 104, decompresses it with the decompressor (decoder) 105, and performs gradation conversion processing (with gradation conversion processing unit 106 on the expanded 8-bit data ( Error diffusion processing) is performed, and the writing device 107 prints out.
In the post-filter processing type, as shown in FIG. 10, 8-bit data obtained by compressing image data read by the reading device 101 by the compressor 103 is stored in the external storage device 104. The MFP system 100 then reads the accumulated data from the external storage device 104, performs filter processing on the 8-bit data decompressed by the decompressor 105, and performs tone conversion by the tone conversion processing unit 106. Processing (error diffusion processing) is performed, and the writing device 107 prints out. In FIG. 9 and FIG. 10, the same components are denoted by the same reference numerals.

そして、圧縮器103と伸長器105による圧縮伸長の部分が可逆圧縮の場合は、フィルタ前処理タイプとフィルタ後処理タイプとでは、プリント出力の結果は、同じになる。ところが、圧縮伸長の部分が非可逆圧縮を行なう場合では、フィルタ前処理タイプとフィルタ後処理タイプとでは、プリント出力結果は同じにならず、異なった画質となる。このように非可逆圧縮の場合に、フィルタ前処理タイプとフィルタ後処理タイプとでプリント出力結果が異なったものとなるのは、非可逆圧縮が、一部の周波数成分の損失と引き換えに、蓄積される画像データサイズを小さくしているためである。
このように、非可逆圧縮による蓄積を行なうシステムでは、圧縮伸長を中心として、フィルタの処理が前か後ろかが、出力データの特性に大きな影響を与えるが重要な要素となる。
そして、一般的に、非可逆圧縮は、高周波成分が損失されることが多く、例えば、文字のエッジの先鋭度が下がる傾向にある。
そこで、エッジの先鋭度が下がることを補正するために、図11に示すように、読取装置101で読み取った画像データに、予め非可逆圧縮による高周波成分の損失を考慮して、フィルタ処理部102で、強めのエッジ強調フィルタ処理を原画像に施し、その後、圧縮部103で圧縮して外部記憶装置104に記憶する。この外部記憶装置104の画像データを伸長器105で伸長し、プリンタγ変換部108でプリンタγ変換処理を施し、さらに、階調変換処理部106で階調変換処理を行って、書込装置107でプリント出力する。
このようにすると、前段でフィルタ処理を行なった場合、失われた情報に対してエッジ強調しても文字の先鋭度の向上に限度が生じることを回避して、文字の先鋭度の劣化を抑制し、画質を向上させることができる。
When the compression / decompression portion by the compressor 103 and the decompressor 105 is lossless compression, the print output results are the same for the filter preprocessing type and the filter postprocessing type. However, when the compression / decompression part performs irreversible compression, the print output result is not the same between the pre-filter processing type and the post-filter processing type, resulting in different image quality. In this way, in the case of lossy compression, the print output results differ between the filter preprocessing type and the filter postprocessing type because the lossy compression is stored in exchange for the loss of some frequency components. This is because the image data size to be processed is reduced.
As described above, in a system that performs accumulation by lossy compression, whether the filter processing is performed before or after the compression and decompression has a large influence on the characteristics of the output data is an important factor.
In general, irreversible compression often loses high-frequency components. For example, the sharpness of the edge of a character tends to decrease.
Therefore, in order to correct the reduction in the sharpness of the edge, as shown in FIG. 11, the filter processing unit 102 takes into account the loss of high-frequency components due to lossy compression in advance in the image data read by the reading apparatus 101. Thus, a strong edge enhancement filter process is applied to the original image, and then compressed by the compression unit 103 and stored in the external storage device 104. The image data in the external storage device 104 is decompressed by the decompressor 105, the printer γ conversion unit 108 performs printer γ conversion processing, and the gradation conversion processing unit 106 performs gradation conversion processing. Print out with.
In this way, when filtering is performed in the previous stage, even if edge enhancement is applied to the lost information, it is avoided that there is a limit in improving the sharpness of the character, and deterioration of the sharpness of the character is suppressed. In addition, the image quality can be improved.

また、エッジか非エッジかによって画像処理(例えば、出力の濃度を調整するためのプリンタγ変換テーブル)を切り換える処理(以下、適応γ変換処理という。)を行なう場合、コストダウンのためフィルタ処理のFIFOを使ってエッジか否かを判定する場合がある。
例えば、図12に示すように、読取装置101で読み取った画像データを、そのまま圧縮部103で圧縮して外部記憶装置104に記憶する。この外部記憶装置104の画像データを伸長器105で伸長し、フィルタ処理部102でフィルタ処理を行った後、フィルタ処理部102のFIFOを使ってエッジか否かを判定して、当該判定結果に応じて、適応γ変換部109で適応γ変換処理を行い、さらに、階調変換処理部106で階調変換処理を行って、書込装置107でプリント出力する。
このように処理を行なうと、文字部と絵柄部によって使用されるγ変換テーブルが異なるので、それぞれの領域に適した濃度を得ることができ、文字・写真混在の原稿の画像の画質を向上させることができる。
ところが、プリンタγ変換処理は、印刷の濃度を調整する機能であるため、8bitデータを蓄積する画像処理装置、例えば、上記各図のMFPシステム100においては、予め前段でプリンタγ変換処理を行うことができず、必ず後段で行なう必要がある。
そして、フィルタ後処理タイプでは、フィルタ処理と適応γ変換処理の双方を後段で行なうこととなる。
Further, when performing processing (hereinafter referred to as adaptive γ conversion processing) for switching image processing (for example, a printer γ conversion table for adjusting output density) depending on whether it is edge or non-edge, filter processing is performed for cost reduction. In some cases, the FIFO is used to determine whether or not an edge is detected.
For example, as shown in FIG. 12, the image data read by the reading device 101 is directly compressed by the compression unit 103 and stored in the external storage device 104. After the image data in the external storage device 104 is decompressed by the decompressor 105 and subjected to filter processing by the filter processing unit 102, it is determined whether or not it is an edge using the FIFO of the filter processing unit 102, and the determination result is obtained. Accordingly, the adaptive γ conversion unit 109 performs adaptive γ conversion processing, the gradation conversion processing unit 106 performs gradation conversion processing, and the writing device 107 performs print output.
If the processing is performed in this way, the γ conversion table used for the character portion and the pattern portion is different, so that a density suitable for each region can be obtained, and the image quality of a mixed character / photo original is improved. be able to.
However, since the printer γ conversion process is a function for adjusting the print density, an image processing apparatus that accumulates 8-bit data, for example, the MFP system 100 shown in each of the above drawings, performs the printer γ conversion process in advance in the preceding stage. It is necessary to do it later.
In the filter post-processing type, both the filter processing and the adaptive γ conversion processing are performed in the subsequent stage.

しかしながら、上記従来の技術にあっては、画質を向上させるためには、フィルタ前処理タイプとフィルタ後処理タイプの双方を、画像に応じて適宜切り換えて行う必要があるが、フィルタ前処理タイプとフィルタ後処理タイプを適宜切り換えて行うには、図13に示すように、前段と後段の双方にフィルタ処理部102a、102bを設ける必要があり、それぞれのフィルタ処理部102a、102bにFIFOを用意する必要がある。その結果、画像処理装置のコストが高くなるという問題があった。
そこで、本発明は、1つのフィルタ処理手段を前段と後段で使用し、文字原稿に特化したフィルタ前処理タイプと、文字写真混在原稿に適したフィルタ後処理タイプを適宜切り換えて実施して、安価に画質を向上させることのできる画像処理装置を提供することを目的としている。
具体的には、請求項1記載の発明は、入力されるデジタル画像データを圧縮手段で非可逆圧縮して画像データ蓄積手段に蓄積し、当該画像データ蓄積手段の圧縮された画像データを伸長手段で伸長して出力するとともに、フィルタ処理手段でデジタル画像データに所定のフィルタ処理を施すに際して、当該フィルタ処理を、圧縮手段による圧縮前に行うフィルタ前処理と、当該フィルタ処理を伸長手段による伸長後に行うフィルタ後処理と、を適宜切り換えて行うことにより、1つのフィルタ処理手段で、処理対象の画像データの特性に応じてフィルタ前処理とフィルタ後処理を適宜切り換えて行い、安価に画像品質を向上させて、安価に利用者の期待する特性の出力を得ることのできる画像処理装置を提供することを目的としている。
請求項2記載の発明は、画像データの情報が主に文字情報であると、当該画像データに対しては、フィルタ前処理を行うことにより、主たる情報が文字である画像データの文字の先鋭度を向上させ、安価に画像品質をより一層向上させることのできる画像処理装置を提供することを目的としている。
請求項3記載の発明は、画像データの情報が主に文字情報と写真情報であると、当該画像データに対しては、フィルタ後処理を行うことにより、主たる情報が文字と写真である画像データの文字の先鋭度の向上と網点写真のモアレの削減を行い、文字と写真の両方の画像品質を安価に向上させて、安価に画像品質をより一層向上させることのできる画像処理装置を提供することを目的としている。
However, in the above conventional technique, in order to improve the image quality, it is necessary to switch both the filter preprocessing type and the filter postprocessing type appropriately according to the image. In order to switch the filter post-processing type appropriately, as shown in FIG. 13, it is necessary to provide the filter processing units 102a and 102b in both the previous stage and the subsequent stage, and a FIFO is prepared for each of the filter processing units 102a and 102b. There is a need. As a result, there is a problem that the cost of the image processing apparatus is increased.
Therefore, the present invention uses one filter processing means in the former stage and the latter stage, and implements by appropriately switching between a filter preprocessing type specialized for character originals and a filter postprocessing type suitable for character photo mixed originals, An object of the present invention is to provide an image processing apparatus capable of improving image quality at low cost.
Specifically, according to the first aspect of the present invention, the input digital image data is irreversibly compressed by the compression means and stored in the image data storage means, and the compressed image data of the image data storage means is expanded. When the digital image data is subjected to predetermined filter processing by the filter processing unit, the filter processing is performed before compression by the compression unit, and the filter processing is performed after the expansion by the expansion unit. By appropriately switching between post-filter processing to be performed, one filter processing means switches between pre-filter processing and post-filter processing according to the characteristics of the image data to be processed, thereby improving image quality at low cost. Thus, an object of the present invention is to provide an image processing apparatus that can obtain an output having characteristics expected by a user at low cost.
According to the second aspect of the present invention, when the image data information is mainly character information, the image sharpness of the image data whose main information is characters is obtained by performing pre-filtering processing on the image data. An object of the present invention is to provide an image processing apparatus that can further improve image quality at low cost.
According to a third aspect of the present invention, when image data information is mainly text information and photo information, post-filter processing is performed on the image data so that the main information is text data and photo. An image processing device that improves the sharpness of characters and reduces the moire of halftone photos, improves the image quality of both characters and photos at a low cost, and further improves the image quality at a low cost The purpose is to do.

上記の課題を解決するために、請求項1記載の発明の画像処理装置は、入力されるデジタル画像データを圧縮手段で非可逆圧縮して画像データ蓄積手段に蓄積し、当該画像データ蓄積手段の圧縮された画像データを伸長手段で伸長して出力するとともに、デジタル画像データに所定のフィルタ処理を施すフィルタ処理手段を備えた画像処理装置であって、前記フィルタ処理手段による前記フィルタ処理を、前記圧縮手段による圧縮前に行うフィルタ前処理と、当該フィルタ処理を前記伸長手段による伸長後に行うフィルタ後処理と、に適宜切り換えて行うことにより、上記目的を達成している。
上記構成によれば、入力されるデジタル画像データを圧縮手段で非可逆圧縮して画像データ蓄積手段に蓄積し、当該画像データ蓄積手段の圧縮された画像データを伸長手段で伸長して出力するとともに、フィルタ処理手段でデジタル画像データに所定のフィルタ処理を施すに際して、当該フィルタ処理を、圧縮手段による圧縮前に行うフィルタ前処理と、当該フィルタ処理を伸長手段による伸長後に行うフィルタ後処理と、を適宜切り換えて行うので、1つのフィルタ処理手段で、処理対象の画像データの特性に応じてフィルタ前処理とフィルタ後処理を適宜切り換えて行うことができ、安価に画像品質を向上させて、安価に利用者の期待する特性の出力を得ることができる。
この場合、例えば、請求項2に記載するように、前記画像処理装置は、前記画像データの情報が主に文字情報であると、当該画像データに対しては、前記フィルタ前処理を行うものであってもよい。
上記構成によれば、画像データの情報が主に文字情報であると、当該画像データに対しては、フィルタ前処理を行うので、主たる情報が文字である画像データの文字の先鋭度を向上させることができ、安価に画像品質をより一層向上させることができる。
また、例えば、請求項3に記載するように、前記画像処理装置は、前記画像データの情報が主に文字情報と写真情報であると、当該画像データに対しては、前記フィルタ後処理を行うものであってもよい。
上記構成によれば、画像データの情報が主に文字情報と写真情報であると、当該画像データに対しては、フィルタ後処理を行うので、主たる情報が文字と写真である画像データの文字の先鋭度の向上と網点写真のモアレの削減を行うことができ、文字と写真の両方の画像品質を安価に向上させて、安価に画像品質をより一層向上させることができる。
In order to solve the above-mentioned problems, an image processing apparatus according to the first aspect of the present invention is an irreversible compression of input digital image data by a compression unit and stores the digital image data in the image data storage unit. The compressed image data is decompressed by the decompression means and output, and the image processing apparatus includes a filter processing means for performing a predetermined filter process on the digital image data, wherein the filter processing by the filter processing means The above object is achieved by appropriately switching between pre-filter processing performed before compression by the compression means and post-filter processing performed after decompression by the decompression means.
According to the above configuration, the input digital image data is irreversibly compressed by the compression means and stored in the image data storage means, and the compressed image data of the image data storage means is decompressed by the decompression means and output. When the filter processing means performs predetermined filter processing on the digital image data, the filter processing is performed before the compression by the compression means, and the filter post-processing is performed after the decompression means performs the filter processing. Since switching is performed as appropriate, it is possible to switch between pre-filter processing and post-filter processing according to the characteristics of the image data to be processed with a single filter processing means, thereby improving image quality at low cost and low cost. Output of the characteristics expected by the user can be obtained.
In this case, for example, as described in claim 2, the image processing apparatus performs the pre-filtering process on the image data when the information on the image data is mainly character information. There may be.
According to the above configuration, if the image data information is mainly character information, filter preprocessing is performed on the image data, so that the sharpness of the characters of the image data whose main information is characters is improved. The image quality can be further improved at a low cost.
Further, for example, as described in claim 3, when the information of the image data is mainly character information and photo information, the image processing device performs the post-filtering process on the image data. It may be a thing.
According to the above configuration, if the image data information is mainly character information and photo information, post-filtering processing is performed on the image data, so that the main information is the character data of the image data. The sharpness can be improved and the moire of the halftone dot photo can be reduced. The image quality of both characters and photos can be improved at low cost, and the image quality can be further improved at low cost.

このように、請求項1記載の発明の画像処理装置によれば、入力されるデジタル画像データを圧縮手段で非可逆圧縮して画像データ蓄積手段に蓄積し、当該画像データ蓄積手段の圧縮された画像データを伸長手段で伸長して出力するとともに、フィルタ処理手段でデジタル画像データに所定のフィルタ処理を施すに際して、当該フィルタ処理を、圧縮手段による圧縮前に行うフィルタ前処理と、当該フィルタ処理を伸長手段による伸長後に行うフィルタ後処理と、を適宜切り換えて行うので、1つのフィルタ処理手段で、処理対象の画像データの特性に応じてフィルタ前処理とフィルタ後処理を適宜切り換えて行うことができ、安価に画像品質を向上させて、安価に利用者の期待する特性の出力を得ることができる。
請求項2記載の発明の画像処理装置によれば、画像データの情報が主に文字情報であると、当該画像データに対しては、フィルタ前処理を行うので、主たる情報が文字である画像データの文字の先鋭度を向上させることができ、安価に画像品質をより一層向上させることができる。
請求項3記載の発明の画像処理装置によれば、画像データの情報が主に文字情報と写真情報であると、当該画像データに対しては、フィルタ後処理を行うので、主たる情報が文字と写真である画像データの文字の先鋭度の向上と網点写真のモアレの削減を行うことができ、文字と写真の両方の画像品質を安価に向上させて、安価に画像品質をより一層向上させることができる。
Thus, according to the image processing apparatus of the first aspect of the present invention, the input digital image data is irreversibly compressed by the compression means and stored in the image data storage means, and the compressed image data storage means is compressed. The image data is decompressed by the decompression means and output, and when the filter processing means performs predetermined filter processing on the digital image data, the filter processing is performed before the compression by the compression means, and the filter processing is performed. Since the post-filter processing performed after decompression by the decompression means is switched as appropriate, one filter processing means can switch between pre-filter processing and post-filter processing according to the characteristics of the image data to be processed. Therefore, it is possible to improve the image quality at low cost and to obtain an output having the characteristics expected by the user at low cost.
According to the image processing apparatus of the second aspect of the invention, if the image data information is mainly character information, the image data is mainly processed because the filter pre-processing is performed on the image data. The sharpness of the characters can be improved, and the image quality can be further improved at a low cost.
According to the image processing apparatus of the third aspect of the invention, if the information of the image data is mainly character information and photo information, post-filtering processing is performed on the image data. It can improve the sharpness of text in image data and reduce the moire of halftone photos, improve the image quality of both text and photos at low cost, and further improve the image quality at low cost. be able to.

本発明の画像処理装置の一実施の形態を適用した画像読取装置の要部概略構成正面図。1 is a schematic front view of a main part of an image reading apparatus to which an embodiment of an image processing apparatus of the present invention is applied. 図1の画像読取装置のブックモードでの読取動作時の要部概略構成正面図。FIG. 2 is a front view of a schematic configuration of a main part during a reading operation in a book mode of the image reading apparatus of FIG. 1. 図1の画像読取装置のADFモードでの読取動作時の要部概略構成正面図。FIG. 2 is a front view of a schematic configuration of a main part during a reading operation in an ADF mode of the image reading apparatus of FIG. 1. 図1の画像読取装置の要部回路ブロック構成図。FIG. 2 is a main part circuit block configuration diagram of the image reading apparatus in FIG. 1. 図4の画像処理部の詳細な回路ブロック構成図。FIG. 5 is a detailed circuit block configuration diagram of the image processing unit in FIG. 4. 図5の画像処理部のさらに詳細な回路ブロック構成図。FIG. 6 is a more detailed circuit block diagram of the image processing unit in FIG. 5. 図1の画像読取装置の機能ブロック構成図。FIG. 2 is a functional block configuration diagram of the image reading apparatus in FIG. 1. 図7のフィルタ処理部の画像パスの切換を示す模式図。FIG. 8 is a schematic diagram illustrating image path switching of the filter processing unit in FIG. 7. 従来のフィルタ前処理タイプの画像処理装置のブロック構成図。The block block diagram of the image processing apparatus of the conventional filter pre-processing type. 従来のフィルタ後処理タイプの画像処理装置のブロック構成図。The block block diagram of the image processing apparatus of the conventional filter post-processing type. 従来のプリンタγ変換処理を行うフィルタ前処理タイプの画像処理装置のブロック構成図。FIG. 10 is a block diagram of a conventional filter preprocessing type image processing apparatus that performs printer γ conversion processing. 従来の適応γ変換処理を行うフィルタ後処理タイプの画像処理装置のブロック構成図。The block block diagram of the image processing apparatus of the filter post-processing type which performs the conventional adaptive (gamma) conversion process. 従来の前処理用と後処理用の2つのフィルタ処理部を備えた画像処理装置のブロック構成図。The block block diagram of the image processing apparatus provided with the two filter processing parts for the conventional pre-processing and post-processing.

以下、本発明の好適な実施の形態を添付図面に基づいて詳細に説明する。なお、以下に述べる実施の形態は、本発明の好適な実施の形態であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの態様に限られるものではない。
図1〜図8は、本発明の画像処理装置の一実施の形態を示す図であり、図1は、本発明の画像処理装置の一実施の形態を適用した画像読取装置1の正面概略構成図である。
図1において、画像読取装置1は、本体筐体2の上部に原稿読取台3が設けられており、原稿読取台3には、通常、コンタクトガラスが配設されている。原稿読取台3の上部は、開閉可能な原稿押さえ板4が設けられており、原稿押さえ板4は、原稿読取台3上にセットされた原稿Gを原稿読取台3のコンタクトガラスに密着させるように押さえつける。
図1の本体筐体2の右側上部には、自動給紙装置(ADF)5が配設されており、自動給紙装置5は、ADFユニット6と原稿台7とを備えている。ADFユニット6内にはステッピングモータ8が備えられており、原稿台7上には、複数枚の原稿Gが重ねて載置される。自動給紙装置5は、原稿台7上に載置された複数枚の原稿Gを、ADFユニット6で、1枚ずつ分離して、ステッピングモータ8により回転駆動される分離ローラ17と搬送ローラ18、19(図3参照)により原稿読取台3を通過させて図示しない排紙トレイ上に搬送する。
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described in detail with reference to the accompanying drawings. The embodiments described below are preferred embodiments of the present invention, and thus various technically preferable limitations are given. However, the scope of the present invention is particularly limited in the following description. As long as there is no description which limits, it is not restricted to these aspects.
1 to 8 are diagrams showing an embodiment of an image processing apparatus of the present invention. FIG. 1 is a schematic front view of an image reading apparatus 1 to which an embodiment of the image processing apparatus of the present invention is applied. FIG.
In FIG. 1, the image reading apparatus 1 is provided with a document reading table 3 on an upper portion of a main body housing 2, and the document reading table 3 is usually provided with a contact glass. An openable / closable document pressing plate 4 is provided on the upper side of the document reading table 3, and the document pressing plate 4 is configured to bring the document G set on the document reading table 3 into close contact with the contact glass of the document reading table 3. Press down on.
An automatic paper feeder (ADF) 5 is disposed on the upper right side of the main body housing 2 in FIG. 1, and the automatic paper feeder 5 includes an ADF unit 6 and a document table 7. A stepping motor 8 is provided in the ADF unit 6, and a plurality of documents G are stacked on the document table 7. The automatic paper feeder 5 separates a plurality of documents G placed on the document table 7 one by one by the ADF unit 6 and is separated by a separation roller 17 and a transport roller 18 that are driven to rotate by a stepping motor 8. , 19 (see FIG. 3), the paper is passed through the document reading table 3 and conveyed onto a paper discharge tray (not shown).

原稿読取台3のADFユニット6側の端部には、シェーディング補正用の白基準板9が配設されている。また、自動給紙装置5は、原稿押さえ板4と一体構造となっており、原稿押さえ板4を開く際、自動給紙装置5も一緒に開閉動作される。
本体筐体2の内部には、第1走行体10、第2走行体11、レンズ12、CCD(Charge Coupled Device)13及びステッピングモータ14等からなる露光走査光学系15が配設されており、第1走行体10は、光源10aとミラー10bを、また、第2走行体11は、ミラー11a、11bを、それぞれ搭載している。
露光走査光学系15は、第1走行体10と第2走行体がステッピングモータ14により水平方向(副走査方向)に移動され、第1走行体10上の光源10a、例えば、蛍光灯等から原稿読取台3上に載置された原稿Gに光を照射して、当該原稿Gで反射された光の反射光を第1走行体10上のミラー10bで第2走行体11方向に反射し、第2走行体11上のミラー11a及びミラー11bで第1走行体10から入射される光を順次反射して、レンズ12方向に出射させる。レンズ12は、第2走行体11から入射される光をCCD13に集光して照射させる。CCD(ラインセンサ)13は、1次元に複数の光電変換素子としてCCD素子が配列されており、レンズ12から入射される入射光を光電変換して、アナログの画像データ(画像信号)を出力する。また、露光走査光学系15は、白基準板9に光を照射して、当該白基準板9からの反射光を上記同様にCCD13に入射し、CCD13から白基準データとして出力する。
そして、画像読取装置1は、原稿読取モードとして、図2に示すように、原稿押さえ板4を開いて原稿読取台3上に載置された原稿Gの画像を読み取るブックモードと、図3に示すように、自動給紙装置2を用いて、ADFユニット6のステッピングモータ8により複数のローラ17〜19を回転駆動させて原稿台7上に載置された複数枚の原稿Gを1枚ずつ所定の読取位置に搬送し、停止する第1走行体10の光源10aから原稿Gに光を照射して、原稿Gの画像を読み取るADFモードとがある。
A white reference plate 9 for shading correction is disposed at the end of the document reading table 3 on the ADF unit 6 side. The automatic paper feeder 5 has an integrated structure with the document pressing plate 4. When the document pressing plate 4 is opened, the automatic paper feeder 5 is also opened and closed together.
An exposure scanning optical system 15 including a first traveling body 10, a second traveling body 11, a lens 12, a CCD (Charge Coupled Device) 13, a stepping motor 14, and the like is disposed inside the main body housing 2. The first traveling body 10 is equipped with a light source 10a and a mirror 10b, and the second traveling body 11 is equipped with mirrors 11a and 11b.
In the exposure scanning optical system 15, the first traveling body 10 and the second traveling body are moved in the horizontal direction (sub-scanning direction) by the stepping motor 14, and a document is emitted from a light source 10 a on the first traveling body 10, for example, a fluorescent lamp. The original G placed on the reading table 3 is irradiated with light, and the reflected light of the light reflected by the original G is reflected by the mirror 10b on the first traveling body 10 toward the second traveling body 11, The light incident from the first traveling body 10 is sequentially reflected by the mirror 11 a and the mirror 11 b on the second traveling body 11 and emitted in the direction of the lens 12. The lens 12 collects and irradiates the light incident from the second traveling body 11 on the CCD 13. The CCD (line sensor) 13 has a plurality of one-dimensional CCD elements arranged as photoelectric conversion elements, photoelectrically converts incident light incident from the lens 12, and outputs analog image data (image signal). . Further, the exposure scanning optical system 15 irradiates the white reference plate 9 with light, and the reflected light from the white reference plate 9 enters the CCD 13 as described above, and outputs the white reference data from the CCD 13.
Then, as shown in FIG. 2, the image reading apparatus 1 opens a document pressing plate 4 and reads a book G image placed on the document reading table 3 as shown in FIG. As shown, a plurality of documents G placed on the document table 7 are moved one by one by rotating the plurality of rollers 17 to 19 by the stepping motor 8 of the ADF unit 6 using the automatic paper feeder 2. There is an ADF mode in which an image of the original G is read by irradiating the original G with light from the light source 10a of the first traveling body 10 which is transported to a predetermined reading position and stopped.

画像読取装置1は、ブックモードでは、図2に示したように、原稿押さえ板4を開いて原稿読取台3上に原稿Gがセットされると、光源10aを点灯させて、まず、白基準板9の読み取りを行って、シェーディング補正用の基準データを取得し、その後、ステッピングモータ14を駆動させて、第1走行体10及び第2走行体11を、原稿GからCCD13までの光路長が一定となる状態で副走査方向に移動して、原稿読取台3上の原稿Gの画像を読み取る。
また、画像読取装置1は、ADFモードでは、図3に示したように、原稿台7上に複数枚の原稿Gがセットされると、まず、光源10aを点灯させて、白基準板9の読み取りを行った後、ステッピングモータ8を駆動させて、原稿台7にセットされた原稿Gを分離ローラ17で1枚ずつ分離して、搬送ローラ18、19で搬送していき、第1走行体10の所定の読み取り位置まで搬送する。このとき、原稿Gは一定速度で搬送され、第1走行体10及び第2走行体11は停止したままで、第1走行体10上の光源10aから当該搬送される原稿Gに光を照射して、当該原稿Gで反射された原稿Gからの光をミラー10b及び第2走行体11上のミラー11a、11bで反射して、レンズ12を通してCCD13に入射させ、CCD13で光電変換して、原稿Gの画像を読み取る。
In the book mode, as shown in FIG. 2, the image reading apparatus 1 opens the document pressing plate 4 and sets the document G on the document reading table 3, turns on the light source 10a, and starts with the white reference. The reading of the plate 9 is performed to obtain reference data for shading correction, and then the stepping motor 14 is driven so that the first traveling body 10 and the second traveling body 11 have an optical path length from the document G to the CCD 13. The image of the original G on the original reading table 3 is read by moving in the sub-scanning direction in a constant state.
In the ADF mode, as shown in FIG. 3, when a plurality of documents G are set on the document table 7, the image reading apparatus 1 first turns on the light source 10 a to turn on the white reference plate 9. After reading, the stepping motor 8 is driven to separate the document G set on the document table 7 one by one by the separation roller 17 and conveyed by the conveyance rollers 18 and 19, and the first traveling body. Transport to 10 predetermined reading positions. At this time, the document G is conveyed at a constant speed, and the first traveling body 10 and the second traveling body 11 are stopped, and light is applied to the conveyed document G from the light source 10a on the first traveling body 10. Then, the light from the original G reflected by the original G is reflected by the mirror 10b and the mirrors 11a and 11b on the second traveling body 11, is incident on the CCD 13 through the lens 12, is photoelectrically converted by the CCD 13, and the original G image is read.

上記画像読取装置1は、図4に示すように回路ブロック構成されており、CPU(Central Processing Unit)20、ROM(Read Only Memory)21、RAM(Random Access Memory)22、光源ドライバ23、光源10a、CCD駆動部24、CCD13、画像処理部25、スキャンバッファ26、バッファコントローラ27、I/Fコントローラ28、モータドライバ29、ステッピングモータ14、モータドライバ30及びステッピングモータ8等を備えている。
ROM21内には、画像読取装置1としての基本処理プログラムや後述するフィルタ切換処理プログラム等の各種プログラム及びこれらの各種プログラムを実行するのに必要な各種データが格納されており、RAM22は、画像読取装置1の動作上必要な各種データを記憶する。CPU20は、ROM21内のプログラムに基づいて、RAM22をワークメモリとして利用しつつ、画像読取装置1の各部を制御して、画像読取装置1としてのシーケンスを実行するとともに、後述するフィルタ切換処理を行う。
上記光源10aは、CPU20の制御下で、光源ドライバ23により点灯・消灯制御され、CCD13は、CCD駆動部24により駆動されて、光電変換した画像データを画像処理部25に出力する。
上記ステッピングモータ8は、モータドライバ30により駆動され、ステッピングモータ14は、モータドライバ29により駆動される。
画像処理部25には、スキャナバッファ(画像データ蓄積手段)26が接続されており、画像処理部25は、図5に示すように、アナログビデオ処理部41、シェーディング補正処理部42、画像データ処理部43、タイミング発生部44及び2値化処理部45等を備えている。
The image reading apparatus 1 has a circuit block configuration as shown in FIG. 4, and includes a central processing unit (CPU) 20, a read only memory (ROM) 21, a random access memory (RAM) 22, a light source driver 23, and a light source 10a. , A CCD drive unit 24, a CCD 13, an image processing unit 25, a scan buffer 26, a buffer controller 27, an I / F controller 28, a motor driver 29, a stepping motor 14, a motor driver 30, a stepping motor 8, and the like.
The ROM 21 stores various programs such as a basic processing program as the image reading device 1 and a filter switching processing program to be described later, and various data necessary for executing these various programs. Various data necessary for the operation of the device 1 are stored. Based on the program in the ROM 21, the CPU 20 controls each part of the image reading device 1 while using the RAM 22 as a work memory, executes a sequence as the image reading device 1, and performs a filter switching process to be described later. .
The light source 10 a is controlled to be turned on / off by the light source driver 23 under the control of the CPU 20, and the CCD 13 is driven by the CCD driving unit 24 and outputs the photoelectrically converted image data to the image processing unit 25.
The stepping motor 8 is driven by a motor driver 30, and the stepping motor 14 is driven by a motor driver 29.
A scanner buffer (image data storage unit) 26 is connected to the image processing unit 25, and the image processing unit 25 includes an analog video processing unit 41, a shading correction processing unit 42, an image data processing unit, as shown in FIG. Unit 43, timing generation unit 44, binarization processing unit 45, and the like.

アナログビデオ処理部41には、CCD13の出力するアナログの画像信号Saが入力され、アナログビデオ処理部41は、アナログの画像信号Saをデジタル変換してデジタルの画像データとしてシェーディング補正処理部42に出力する。
シェーディング補正処理部42は、白基準板9を読み取った際の画像データを内部RAMに基準データとして記憶し、原稿Gを読み取った際の画像データに当該基準データに基づいてシェーディング補正を施して、シェーディング補正後の画像データを画像データ処理部43に出力する。
画像データ処理部43は、シェーディング補正処理部42でシェーディング補正された画像データに、タイミング発生部44から入力されるイネーブル信号ENに基づいて、各種画像処理を施して、2値化処理部45に出力し、2値化処理部(圧縮手段、伸長手段)45は、画像処理された画像データを非可逆的に圧縮することで2値データあるいは多値データに変換してスキャナバッファ26に出力し、また、スキャナバッファ26の圧縮された画像データを伸長する。画像データ処理部43は、例えば、ラインバッファに数ライン分の画像データを記憶させて、マトリックスを形成し、画像データに空間フィルタ処理等を施す。また、タイミング発生部44は、モータドライバ29及びモータドライバ30にステッピングパルスSPを出力してモータドライバ29及びモータドライバ30を介してステッピングモータ14及びステッピングモータ8の駆動タイミングを制御する。
The analog video processing unit 41 receives the analog image signal Sa output from the CCD 13, and the analog video processing unit 41 converts the analog image signal Sa to digital and outputs it as digital image data to the shading correction processing unit 42. To do.
The shading correction processing unit 42 stores image data when the white reference plate 9 is read as reference data in the internal RAM, performs shading correction on the image data when the original G is read based on the reference data, The image data after shading correction is output to the image data processing unit 43.
The image data processing unit 43 performs various types of image processing on the image data that has been subjected to the shading correction by the shading correction processing unit 42 based on the enable signal EN input from the timing generation unit 44, and outputs to the binarization processing unit 45. The binarization processing unit (compression unit, decompression unit) 45 outputs the processed image data to binary data or multi-value data by irreversibly compressing the image data and outputs the data to the scanner buffer 26. Also, the compressed image data in the scanner buffer 26 is decompressed. For example, the image data processing unit 43 stores image data for several lines in a line buffer, forms a matrix, and performs a spatial filter process on the image data. The timing generation unit 44 outputs stepping pulses SP to the motor driver 29 and the motor driver 30 and controls the driving timing of the stepping motor 14 and the stepping motor 8 via the motor driver 29 and the motor driver 30.

画像処理部25で、画像処理の行われた画像データSbは、バッファコントローラ27の制御下でスキャンバッファ26に蓄積され、I/Fコントローラ28を介して図示しない他の情報処理装置、例えば、パーソナルコンピュータ等に出力される。
この画像処理部25は、詳細には、図6に示すように、プリアンプ回路51、可変増幅回路52、A/Dコンバータ53、黒演算回路54、シェーディング補正演算回路55及びラインバッファ56等を備えている。
画像読取装置1は、光源10aで原稿読取台3上にある原稿Gを照射した反射光を、シェーディング調整板16を通して、レンズ12によって集光し、CCD13に結像する。なお、図6では、説明簡単化のために、反射光を折り返すためのミラーは省略している。また、シェーディング調整板16は、CCD13の中央部と端部での反射光量の差を無くすための光量調整の役割を果たすものである。すなわち、シェーディング演算処理において、あまりにCCD13の中央部と端部で反射光量の差が有りすぎると、歪を多く含んだ演算結果しか得られないため、シェーディング調整板16で、予め反射光量の差を無くした後に、シェーディング演算処理を行う。
そして、プリアンプ回路51と可変増幅回路52が上記アナログビデオ処理部41を構成し、A/Dコンバータ53、黒演算回路54、シェーディング補正演算回路55及びラインバッファ56が上記シェーディング補正処理部42を構成している。
そして、画像データ処理部43はシェーディング補正処理部42から入力されるシェーディング補正された画像データに対して、エッジか非エッジかによって画像処理を切り換える適応γ変換処理等の各種データ処理を行い、特に、エッジ強調フィルタ処理等のフィルタ処理を行う。
The image data Sb that has been subjected to image processing by the image processing unit 25 is accumulated in the scan buffer 26 under the control of the buffer controller 27, and other information processing apparatus (not shown) such as a personal computer via the I / F controller 28. It is output to a computer etc.
Specifically, as shown in FIG. 6, the image processing unit 25 includes a preamplifier circuit 51, a variable amplifier circuit 52, an A / D converter 53, a black arithmetic circuit 54, a shading correction arithmetic circuit 55, a line buffer 56, and the like. ing.
In the image reading apparatus 1, the reflected light irradiated on the original G on the original reading table 3 by the light source 10 a is condensed by the lens 12 through the shading adjustment plate 16 and imaged on the CCD 13. In FIG. 6, a mirror for folding the reflected light is omitted for the sake of simplicity. The shading adjustment plate 16 plays a role of adjusting the amount of light for eliminating the difference in the amount of reflected light between the central portion and the end portion of the CCD 13. That is, in the shading calculation process, if there is too much difference in the amount of reflected light between the central part and the end of the CCD 13, only a calculation result including a large amount of distortion can be obtained. After the elimination, shading calculation processing is performed.
The preamplifier circuit 51 and the variable amplifier circuit 52 constitute the analog video processing unit 41, and the A / D converter 53, the black arithmetic circuit 54, the shading correction arithmetic circuit 55, and the line buffer 56 constitute the shading correction processing unit 42. is doing.
Then, the image data processing unit 43 performs various data processing such as adaptive γ conversion processing for switching the image processing depending on whether it is edge or non-edge on the shading corrected image data input from the shading correction processing unit 42, Filter processing such as edge enhancement filter processing is performed.

画像データ処理部43は、このフィルタ処理を行うか否か、また、どのようなフィルタ処理を行うか否かがCPU20により制御される。
したがって、画像読取装置1は、機能的に、図7に示すように、読取部61、フィルタ処理部62、圧縮部63、記憶部64、伸長部65、適応γ変換部66、階調変換処理部67及び出力部68等で表すことができる。
そして、フィルタ処理部62は、読取部61で読み取った画像データを圧縮部63で圧縮して記憶部64に記憶する前段階の処理でフィルタ処理を行うフィルタ前処理と、記憶部64に記憶した画像データを伸長部65で伸長した後段の画像データに対してフィルタ処理を行って、その後、適応γ変換部66で適応γ変換処理を行い、階調変換処理部67で階調変換処理を行って、出力部68から出力するフィルタ後処理のいずれのフィルタ処理を行うかをCPU20の制御下で切り換えて処理する。
The image data processing unit 43 is controlled by the CPU 20 whether or not to perform this filtering process and what filtering process to perform.
Therefore, the image reading apparatus 1 functionally includes a reading unit 61, a filter processing unit 62, a compression unit 63, a storage unit 64, an expansion unit 65, an adaptive γ conversion unit 66, and a gradation conversion process, as shown in FIG. It can be expressed by the section 67 and the output section 68.
The filter processing unit 62 compresses the image data read by the reading unit 61 using the compression unit 63 and stores it in the storage unit 64. The filter processing unit 62 stores the filter data in the storage unit 64. Filter processing is performed on the subsequent image data obtained by decompressing the image data by the decompression unit 65, then adaptive γ conversion processing is performed by the adaptive γ conversion unit 66, and gradation conversion processing is performed by the gradation conversion processing unit 67. Thus, which of the post-filter processes output from the output unit 68 is to be performed is switched under the control of the CPU 20.

すなわち、フィルタ処理部62は、図8に示すように、例えば、切換用のレジスタAとレジスタBの切換を行うことで、フィルタ処理を行うフィルタ演算部70への画像データの流れを切り換えて、フィルタ前処理とフィルタ後処理を切り換えて行う。例えば、フィルタ処理部62は、レジスタB側に接続すると、前段では、前段入力からの画像データは、フィルタ演算部70に入らずに前段出力から記憶部64側に抜け、記憶部64側からの後段入力からの画像データがレジスタBを介してフィルタ演算部70に入って、フィルタ演算部70でフィルタ処理が行われた後、後段出力から出て、フィルタ後処理を行うことになる。また、フィルタ処理部62は、フィルタ前処理を行うときには、レジスタA側に接続し、前段入力からの画像データは、まず、フィルタ演算部70に入って、フィルタ演算部70でフィルタ処理が行われた後、前段出力から記憶部64側に抜けてフィルタ前処理を行う。そして、記憶部64からの画像データが後段入力から入力される際に、レジスタA側のままであると、記憶部64側からの後段入力からの画像データがレジスタAを介して後段出力からそのまま出ることとなる。なお、フィルタ前処理の行われた画像データが記憶部64側の後段入力から入力される際に、レジスタB側に切り換わると、フィルタ後処理を行うこととなり、フィルタ前処理とフィルタ後処理の双方を行う。   That is, as shown in FIG. 8, the filter processing unit 62 switches the flow of image data to the filter operation unit 70 that performs filter processing by switching between the register A and the register B for switching, for example, Switch between pre-filter processing and post-filter processing. For example, when the filter processing unit 62 is connected to the register B side, in the previous stage, the image data from the previous stage input does not enter the filter operation unit 70 and passes from the previous stage output to the storage unit 64 side, and from the storage unit 64 side. The image data from the subsequent stage input enters the filter calculation unit 70 via the register B, and after the filter processing is performed by the filter calculation unit 70, the image data is output from the subsequent stage output and the filter post-processing is performed. Further, the filter processing unit 62 is connected to the register A side when performing the filter preprocessing, and the image data from the previous stage input first enters the filter calculation unit 70 and the filter calculation unit 70 performs the filter processing. After that, the pre-filter processing is performed from the pre-stage output to the storage unit 64 side. Then, when the image data from the storage unit 64 is input from the subsequent stage input, if it remains on the register A side, the image data from the subsequent stage input from the storage unit 64 side is directly output from the subsequent stage output via the register A. Will come out. In addition, when the image data on which the filter preprocessing has been performed is input from the latter stage input on the storage unit 64 side, if it is switched to the register B side, the filter postprocessing is performed, and the filter preprocessing and the filter postprocessing are performed. Do both.

次に、本実施の形態の作用を説明する。本実施の形態の画像読取装置1は、フィルタ処理部62としての画像データ処理部43を1つのみ備え、圧縮伸長の前にフィルタ処理を行うか、圧縮伸長の後にフィルタ処理を行うかを適宜切り換えて行う。
すなわち、画像読取装置1は、原稿読取モードとして、図2に示したブックモードと、図3に示したADFモードとがある。画像読取装置1は、ブックモードでは、図2に示したように、原稿押さえ板4を開いて原稿読取台3上に原稿Gがセットされると、光源10aを点灯させて、まず、白基準板9の読み取りを行って、シェーディング補正用の基準データを取得し、その後、ステッピングモータ14を駆動させて、第1走行体10及び第2走行体11を、原稿GからCCD13までの光路長が一定となる状態で副走査方向に移動して、原稿読取台3上の原稿Gの画像を読み取る。また、画像読取装置1は、ADFモードでは、図3に示したように、原稿台7上に複数枚の原稿Gがセットされると、まず、光源10aを点灯させて、白基準板9の読み取りを行った後、ステッピングモータ8を駆動させて、原稿台7にセットされた原稿Gを分離ローラ17で1枚ずつ分離して、搬送ローラ18、19で搬送していき、第1走行体10の所定の読み取り位置まで搬送する。このとき、原稿Gは一定速度で搬送され、第1走行体10及び第2走行体11は停止したままで、第1走行体10上の光源10aから当該搬送される原稿Gに光を照射して、当該原稿Gで反射された原稿Gからの光をミラー10b及び第2走行体11上のミラー11a、11bで反射して、レンズ12を通してCCD13に入射させ、CCD13で光電変換して、原稿Gの画像を読み取る。
Next, the operation of the present embodiment will be described. The image reading apparatus 1 according to the present embodiment includes only one image data processing unit 43 as the filter processing unit 62, and appropriately determines whether to perform filter processing before compression or decompression or to perform filter processing after compression or decompression. Change over.
That is, the image reading apparatus 1 has a book mode shown in FIG. 2 and an ADF mode shown in FIG. 3 as document reading modes. In the book mode, as shown in FIG. 2, the image reading apparatus 1 opens the document pressing plate 4 and sets the document G on the document reading table 3, turns on the light source 10a, and starts with the white reference. The reading of the plate 9 is performed to obtain reference data for shading correction, and then the stepping motor 14 is driven so that the first traveling body 10 and the second traveling body 11 have an optical path length from the document G to the CCD 13. The image of the original G on the original reading table 3 is read by moving in the sub-scanning direction in a constant state. In the ADF mode, as shown in FIG. 3, when a plurality of documents G are set on the document table 7, the image reading apparatus 1 first turns on the light source 10 a to turn on the white reference plate 9. After reading, the stepping motor 8 is driven to separate the document G set on the document table 7 one by one by the separation roller 17 and conveyed by the conveyance rollers 18 and 19, and the first traveling body. Transport to 10 predetermined reading positions. At this time, the document G is conveyed at a constant speed, and the first traveling body 10 and the second traveling body 11 are stopped, and light is applied to the conveyed document G from the light source 10a on the first traveling body 10. Then, the light from the original G reflected by the original G is reflected by the mirror 10b and the mirrors 11a and 11b on the second traveling body 11, is incident on the CCD 13 through the lens 12, is photoelectrically converted by the CCD 13, and the original G image is read.

CCD13は、このようにして読み取った原稿Gの画像データを画像処理部25に出力し、画像処理部25は、図5に示したように、アナログビデオ処理部41、シェーディング補正処理部42、画像データ処理部43、タイミング発生部44及び2値化処理部45等を備えている。
アナログビデオ処理部41は、CCD13から入力されるアナログの画像信号Saをデジタル変換してデジタルの画像データとしてシェーディング補正処理部42に出力し、シェーディング補正処理部42は、白基準板9を読み取った際の画像データを内部RAM(図6では、ラインバッファ56)に基準データとして記憶して、原稿Gを読み取った際の画像データに当該基準データに基づいてシェーディング補正を施して、シェーディング補正後の画像データを画像データ処理部43に出力する。
The CCD 13 outputs the image data of the original G read in this way to the image processing unit 25, and the image processing unit 25, as shown in FIG. 5, the analog video processing unit 41, the shading correction processing unit 42, the image A data processing unit 43, a timing generation unit 44, a binarization processing unit 45, and the like are provided.
The analog video processing unit 41 digitally converts the analog image signal Sa input from the CCD 13 and outputs the digital image data to the shading correction processing unit 42. The shading correction processing unit 42 reads the white reference plate 9. Is stored as reference data in the internal RAM (line buffer 56 in FIG. 6), shading correction is performed on the image data when the original G is read based on the reference data, and the shading corrected The image data is output to the image data processing unit 43.

画像データ処理部43は、シェーディング補正処理部42でシェーディング補正された画像データに、タイミング発生部44から入力されるイネーブル信号ENに基づいて、各種画像処理、特に、フィルタ処理を施して、2値化処理部45に出力し、2値化処理部45は、画像処理された画像データを2値データあるいは多値データに変換してスキャナバッファ26に出力する。
そして、画像データ処理部43は、図7に示した記憶部64であるスキャナバッファ26に圧縮した画像データを蓄積する前にフィルタ処理を行うフィルタ前処理と、圧縮してスキャナバッファ26に蓄積した画像データを伸長した後にフィルタ処理するフィルタ後処理とを、図8に示したように、CPU20の制御下で、レジスタAとレジスタBを切り換えることで、適宜切り換えて処理する。
例えば、画像データ処理部43は、原稿Gの情報の多くが文字情報であると、フィルタ前処理を行い、原稿Gの情報の多くが文字と写真であると、フィルタ後処理を行う。このフィルタ前処理とフィルタ後処理は、一方のみを行ってもよいし、両方を行ってもよい。また、フィルタ前処理とフィルタ後処理は、画像読取装置1のユーザが、画像読取装置1に読み取らせる原稿Gの情報から判断して、画像読取装置1の操作部から指示操作を行い、当該操作に応じてCPU20がフィルタ前処理とフィルタ後処理の切換制御してもよいし、画像読取装置1、例えば、画像データ処理部43が原稿Gの画像から適宜判断して、CPU20がフィルタ前処理とフィルタ後処理の切換制御してもよい。
The image data processing unit 43 performs various types of image processing, particularly filter processing, on the image data that has been subjected to the shading correction by the shading correction processing unit 42 based on the enable signal EN input from the timing generation unit 44, and performs binary processing. The binarization processing unit 45 converts the image data subjected to the image processing into binary data or multivalued data, and outputs the data to the scanner buffer 26.
Then, the image data processing unit 43 compresses and stores the compressed image data in the scanner buffer 26 and the filter preprocessing for performing the filter processing before storing the compressed image data in the scanner buffer 26 which is the storage unit 64 shown in FIG. As shown in FIG. 8, post-filtering processing for filtering after decompressing the image data is performed by switching the register A and the register B as appropriate under the control of the CPU 20.
For example, the image data processing unit 43 performs pre-filter processing if much of the information on the original G is character information, and performs post-filter processing if much of the information on the original G is text and photographs. Only one or both of the pre-filter processing and post-filter processing may be performed. Further, the pre-filtering process and the post-filtering process are determined by the user of the image reading apparatus 1 from the information on the original G to be read by the image reading apparatus 1, and an instruction operation is performed from the operation unit of the image reading apparatus 1. The CPU 20 may perform switching control between filter pre-processing and filter post-processing according to the above, or the image reading apparatus 1, for example, the image data processing unit 43 may appropriately determine from the image of the document G, and the CPU 20 may perform the filter pre-processing. Switching control of filter post-processing may be performed.

このように、本実施の形態の画像読取装置1は、入力されるデジタル画像データを非可逆圧縮してスキャナバッファ26に蓄積し、フナバッファ26の圧縮された画像データを伸長して出力するとともに、フィルタ処理手段である画像データ処理部43でデジタル画像データに所定のフィルタ処理を施すに際して、当該フィルタ処理を、画像データの圧縮前に行うフィルタ前処理と、当該フィルタ処理を画像データの伸長後に行うフィルタ後処理と、を適宜切り換えて行っている。
したがって、1つのフィルタ処理手段である画像データ処理部43で、処理対象の画像データの特性に応じてフィルタ前処理とフィルタ後処理を適宜切り換えて行うことができ、安価に画像品質を向上させて、安価に利用者の期待する特性の出力を得ることができる。
As described above, the image reading apparatus 1 according to the present embodiment irreversibly compresses input digital image data and stores it in the scanner buffer 26, and decompresses and outputs the compressed image data in the funa buffer 26. When performing predetermined filter processing on the digital image data by the image data processing unit 43 serving as filter processing means, the filter processing is performed before the compression of the image data, and the filter processing is performed after the image data is expanded. The filter post-processing to be performed is appropriately switched.
Therefore, the image data processing unit 43, which is one filter processing means, can appropriately switch between pre-filter processing and post-filter processing according to the characteristics of the image data to be processed, thereby improving image quality at low cost. Therefore, it is possible to obtain an output having characteristics expected by the user at low cost.

また、本実施の形態の画像読取装置1は、画像データの情報が主に文字情報であると、当該画像データに対しては、フィルタ前処理を行っている。
したがって、主たる情報が文字である画像データの文字の先鋭度を向上させることができ、安価に画像品質をより一層向上させることができる。
さらに、本実施の形態の画像読取装置1は、画像データの情報が主に文字情報と写真情報であると、当該画像データに対しては、フィルタ後処理を行っている。
したがって、主たる情報が文字と写真である画像データの文字の先鋭度の向上と網点写真のモアレの削減を行うことができ、文字と写真の両方の画像品質を安価に向上させて、安価に画像品質をより一層向上させることができる。
以上、本発明者によってなされた発明を好適な実施の形態に基づき具体的に説明したが、本発明は上記のものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。
Further, when the image data information is mainly character information, the image reading apparatus 1 of the present embodiment performs pre-filter processing on the image data.
Therefore, it is possible to improve the sharpness of characters of image data whose main information is characters, and to further improve the image quality at low cost.
Furthermore, when the image data information is mainly text information and photographic information, the image reading apparatus 1 according to the present embodiment performs post-filtering processing on the image data.
Therefore, it is possible to improve the sharpness of characters in image data whose main information is characters and photos and reduce the moire of halftone photos, and to improve the image quality of both characters and photos at a low cost. The image quality can be further improved.
The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to the above, and various modifications can be made without departing from the scope of the invention. Needless to say.

1 画像読取装置、2 本体筐体、3 原稿読取台、4 原稿押さえ板、5 自動給紙装置(ADF)、6 ADFユニット、7 原稿台、8 ステッピングモータ、9 白基準板、10 第1走行体、10a 光源、10b ミラー、11 第2走行体、11a、11b ミラー、12 レンズ、13 CCD、14 ステッピングモータ、15 露光走査光学系、16 原稿、17 分離ローラ、18、19 搬送ローラ、20 CPU、21 ROM、22 RAM、23 光源ドライバ、24 CCD駆動部、25 画像処理部、26 スキャンバッファ、27 バッファコントローラ、28 I/Fコントローラ、29 モータドライバ、30 モータドライバ、41 アナログビデオ処理部、42 シェーディング補正処理部、43 画像データ処理部、44 タイミング発生部、45 2値化処理部、51 プリアンプ回路、52 可変増幅回路、53 A/Dコンバータ、54 黒演算回路、55 シェーディング補正演算回路、56 ラインバッファ、61 読取部、62 フィルタ処理部、63 圧縮部、64 記憶部、65 伸長部、66 適応γ変換部、67 階調変換処理部、68 出力部、70 フィルタ演算部、A、B レジスタ DESCRIPTION OF SYMBOLS 1 Image reading device 2, Main body case 3, Document reading stand, 4 Document pressing plate, 5 Automatic paper feeder (ADF), 6 ADF unit, 7 Document stand, 8 Stepping motor, 9 White reference plate, 10 1st driving | running | working Body, 10a light source, 10b mirror, 11 second traveling body, 11a, 11b mirror, 12 lens, 13 CCD, 14 stepping motor, 15 exposure scanning optical system, 16 original, 17 separation roller, 18, 19 transport roller, 20 CPU , 21 ROM, 22 RAM, 23 Light source driver, 24 CCD drive unit, 25 Image processing unit, 26 Scan buffer, 27 Buffer controller, 28 I / F controller, 29 Motor driver, 30 Motor driver, 41 Analog video processing unit, 42 Shading correction processing unit, 43 image data processing unit, 44 timing generation unit, 45 binarization processing unit, 51 preamplifier circuit, 52 variable amplification circuit, 53 A / D converter, 54 black arithmetic circuit, 55 shading correction arithmetic circuit, 56 line buffer, 61 reading unit, 62 filter processing unit , 63 compression unit, 64 storage unit, 65 decompression unit, 66 adaptive γ conversion unit, 67 gradation conversion processing unit, 68 output unit, 70 filter operation unit, A, B register

Claims (3)

入力されるデジタル画像データを圧縮手段で非可逆圧縮して画像データ蓄積手段に蓄積し、当該画像データ蓄積手段の圧縮された画像データを伸長手段で伸長して出力するとともに、デジタル画像データに所定のフィルタ処理を施すフィルタ処理手段を備えた画像処理装置であって、前記フィルタ処理手段による前記フィルタ処理を、前記圧縮手段による圧縮前に行うフィルタ前処理と、当該フィルタ処理を前記伸長手段による伸長後に行うフィルタ後処理と、に適宜切り換えて行うことを特徴とする画像処理装置。   The input digital image data is irreversibly compressed by the compression means and stored in the image data storage means. The compressed image data of the image data storage means is decompressed by the decompression means and output, and the digital image data is predetermined as digital image data. An image processing apparatus comprising filter processing means for performing the filter processing of the filter, wherein the filter processing by the filter processing means is performed before compression by the compression means, and the filter processing is decompressed by the decompression means. An image processing apparatus that performs switching to post-filtering processing to be performed later. 前記画像処理装置は、前記画像データの情報が主に文字情報であると、当該画像データに対しては、前記フィルタ前処理を行うことを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein when the information of the image data is mainly character information, the image processing apparatus performs the pre-filtering process on the image data. 前記画像処理装置は、前記画像データの情報が主に文字情報と写真情報であると、当該画像データに対しては、前記フィルタ後処理を行うことを特徴とする請求項1記載の画像処理装置。   2. The image processing apparatus according to claim 1, wherein the image processing apparatus performs the post-filtering process on the image data when the information of the image data is mainly character information and photographic information. .
JP2009078886A 2009-03-27 2009-03-27 Image processing device Pending JP2009147986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009078886A JP2009147986A (en) 2009-03-27 2009-03-27 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009078886A JP2009147986A (en) 2009-03-27 2009-03-27 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007281003A Division JP4313408B2 (en) 2007-10-29 2007-10-29 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2009147986A true JP2009147986A (en) 2009-07-02
JP2009147986A5 JP2009147986A5 (en) 2009-09-24

Family

ID=40917980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009078886A Pending JP2009147986A (en) 2009-03-27 2009-03-27 Image processing device

Country Status (1)

Country Link
JP (1) JP2009147986A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0410771A (en) * 1990-04-27 1992-01-14 Canon Inc Image processor
JPH06339020A (en) * 1993-05-31 1994-12-06 Canon Inc Picture processing method and device
JPH07307869A (en) * 1994-05-13 1995-11-21 Fuji Xerox Co Ltd Image processing unit
JPH11341285A (en) * 1998-03-27 1999-12-10 Ricoh Co Ltd Picture processor
JP2001309183A (en) * 2000-04-24 2001-11-02 Canon Inc Image processing unit and method
JP2001352453A (en) * 2000-06-07 2001-12-21 Ricoh Co Ltd Image-reproducing device
JP2002209209A (en) * 2001-01-04 2002-07-26 Nec Corp Image companding system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0410771A (en) * 1990-04-27 1992-01-14 Canon Inc Image processor
JPH06339020A (en) * 1993-05-31 1994-12-06 Canon Inc Picture processing method and device
JPH07307869A (en) * 1994-05-13 1995-11-21 Fuji Xerox Co Ltd Image processing unit
JPH11341285A (en) * 1998-03-27 1999-12-10 Ricoh Co Ltd Picture processor
JP2001309183A (en) * 2000-04-24 2001-11-02 Canon Inc Image processing unit and method
JP2001352453A (en) * 2000-06-07 2001-12-21 Ricoh Co Ltd Image-reproducing device
JP2002209209A (en) * 2001-01-04 2002-07-26 Nec Corp Image companding system

Similar Documents

Publication Publication Date Title
JP2002247371A (en) Image processor and recording medium having recorded image processing program
EP1542447B1 (en) Image data processing device, image data processing method, program, recording medium, and image reading device
JP2010114578A (en) Image processing apparatus
JP4050578B2 (en) Image processing apparatus and image processing method
JP2008227625A (en) Image processor, image processing method, image processing program and recording medium
JP4313408B2 (en) Image processing apparatus and image processing method
JPH11355570A (en) Image reader
JP2009147986A (en) Image processing device
US11146709B2 (en) Image reading apparatus, control method for controlling image reading apparatus, and storage medium
US7236275B2 (en) Image reading apparatus and method of reading images
JP2003333327A (en) Image reader and copying machine
JP2006135631A (en) Image reading device
JP2003234902A (en) Image processing apparatus
JP3569059B2 (en) Image reading device
JP2004229204A (en) Image processing apparatus
JP2004266522A (en) Digital picture reader
JP2008236045A (en) Image processor, image forming apparatus, image processing method, image processing program and recording medium
JPH11187207A (en) Image reader
JP3880793B2 (en) Image processing apparatus and image forming apparatus
JP2004235968A (en) Image processor
JP3846630B2 (en) Film scanner
JP2004172807A (en) Image reading apparatus
JP2002262086A (en) Image processor
JP2000059621A (en) Image reader
JP2021082967A (en) Document reading device, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090327

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120228