JP3422901B2 - Image scanner - Google Patents
Image scannerInfo
- Publication number
- JP3422901B2 JP3422901B2 JP33058496A JP33058496A JP3422901B2 JP 3422901 B2 JP3422901 B2 JP 3422901B2 JP 33058496 A JP33058496 A JP 33058496A JP 33058496 A JP33058496 A JP 33058496A JP 3422901 B2 JP3422901 B2 JP 3422901B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- circuit
- interpolation
- density
- coefficient
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Input (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、イメージスキャナ
に関し、特に、最適の信号処理により解像度を向上した
イメージスキャナに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image scanner, and more particularly to an image scanner having a resolution improved by optimal signal processing.
【0002】[0002]
【従来の技術】コンピュータにイメージデータを入力す
る画像入力装置の1つに、電子ファイリング装置におけ
るデータ入力に用いられるイメージスキャナがある。例
えば銀行、保険会社等の金融業においては、業務上発生
する膨大な数の契約書等の帳票に記載された事項をコン
ピュータに入力する必要がある。そこで、この入力を正
確かつ高速に行うと共に検索機能等を実現するために、
電子ファイリング装置により帳票の記載事項をそのまま
イメージデータとしてコンピュータに入力して、電子フ
ァイリングシステムを構築する。イメージスキャナは帳
票の記載事項をイメージデータとして入力するための必
須の装置である。2. Description of the Related Art One of image input devices for inputting image data to a computer is an image scanner used for data input in an electronic filing device. For example, in a financial industry such as a bank or an insurance company, it is necessary to input to a computer the items described in a huge number of contracts and other forms generated in business. Therefore, in order to perform this input accurately and at high speed and to realize the search function etc.,
An electronic filing system is constructed by directly inputting the description items on a form as image data into a computer by an electronic filing device. The image scanner is an indispensable device for inputting the description items on the form as image data.
【0003】イメージスキャナは以下のようにしてイメ
ージデータを取り込む。例えば、オペレータがイメージ
スキャナの給紙部に複数の帳票を載置する。イメージス
キャナがその給紙部から読み取り部に1枚の帳票を供給
(給紙)する。読み取り部のラインセンサ(CCD)は
帳票上の文字等の画像データを読み取り、これをコンピ
ュータで処理可能なイメージデータ(デジタルデータ)
の形態にしてホストコンピュータにデータ転送する。読
み取りが終わった帳票はイメージスキャナの用紙排出部
に排出される。The image scanner takes in image data as follows. For example, an operator places a plurality of forms on the paper feed unit of the image scanner. The image scanner supplies (feeds) one sheet from the paper feeding unit to the reading unit. The line sensor (CCD) of the reading unit reads the image data such as characters on the form and the image data (digital data) that can be processed by the computer
Then, the data is transferred to the host computer. The scanned form is ejected to the paper ejection section of the image scanner.
【0004】[0004]
【発明が解決しようとする課題】ところで、一般的に、
イメージスキャナに対しては読み取ったイメージデータ
の画像品質を高くすることが常に要求される。即ち、多
数のイメージスキャナが競合している中で、装置の価格
が同一であれば高解像度のイメージスキャナにより多く
の需要が集まる。イメージスキャナの解像度は、基本的
には、その読み取り手段の光学系の読み取り精度により
定まる。従って、イメージスキャナの解像度を高めるた
めには、その読み取り手段の光学系としてより読み取り
精度の良いものを用いればよい。By the way, in general,
An image scanner is always required to improve the image quality of read image data. That is, even if a large number of image scanners are competing with each other, if the price of the device is the same, more demand will be placed on the high resolution image scanner. The resolution of the image scanner is basically determined by the reading accuracy of the optical system of the reading means. Therefore, in order to increase the resolution of the image scanner, an optical system having a better reading accuracy may be used as the optical system of the reading means.
【0005】しかし、より解像度の高い光学系を用いる
と、イメージスキャナのコストが大きく増加してしま
い、現実的でない。従って、読み取り手段の光学系の構
成を変更することなく、解像度を高くすることが望まし
い。即ち、光学系の改善により直接的に解像度を向上さ
せるのではなく、解像度を向上するための信号処理を行
うことにより、間接的に解像度を高くする必要がある。However, using an optical system having a higher resolution is not realistic because the cost of the image scanner increases greatly. Therefore, it is desirable to increase the resolution without changing the configuration of the optical system of the reading means. That is, instead of directly improving the resolution by improving the optical system, it is necessary to indirectly increase the resolution by performing signal processing for improving the resolution.
【0006】一方、イメージスキャナに対しては画像デ
ータの読み取り速度の向上も常に要求される。即ち、解
像度と同様に、読み取り速度の早いイメージスキャナに
より多くの需要が集まる。従って、信号処理により解像
度を向上させる場合でも、当該信号処理が読み取り速度
の高速化の妨げになってはならない。換言すれば、当該
信号処理が複雑なものであれば、画像データの量の増加
に伴いリアルタイムでの信号処理が不可能になる。この
ような観点から、解像度を向上するための信号処理とし
て最適な信号処理を実現する必要がある。On the other hand, the image scanner is always required to improve the reading speed of image data. That is, much demand is placed on the image scanner, which has a high reading speed as well as the resolution. Therefore, even when the resolution is improved by the signal processing, the signal processing should not prevent the reading speed from increasing. In other words, if the signal processing is complicated, real-time signal processing becomes impossible as the amount of image data increases. From this point of view, it is necessary to realize optimum signal processing as signal processing for improving resolution.
【0007】本発明は、読み取った画像データについて
最適の信号処理を行うことにより解像度を向上したイメ
ージスキャナを提供することを目的とする。また、本発
明は、読み取った画像データについて最適の信号処理を
行うことにより解像度を向上すると共に読み取り速度を
高速化することが可能なイメージスキャナを提供するこ
とを目的とする。An object of the present invention is to provide an image scanner having an improved resolution by performing optimum signal processing on read image data. Another object of the present invention is to provide an image scanner capable of improving the resolution and increasing the reading speed by performing optimum signal processing on the read image data.
【0008】[0008]
【課題を解決するための手段】図1は本発明の原理構成
図であり、本発明によるイメージスキャナ100の構成
を示す。このイメージスキャナ100は、用紙300の
画像データを読み取る読み取り手段1と、読み取り手段
1の読み取った画像データに所定の演算を施してイメー
ジデータを形成する信号処理手段5とを備える。信号処
理手段5は、読み取り手段1の読み取った画像データに
所定の処理を施してイメージデータを形成するデータ信
号形成回路52と、データ信号形成回路52の形成した
イメージデータに所定の演算を施して二値化画像データ
を形成する高解像度化処理回路51とを備える。FIG. 1 is a block diagram of the principle of the present invention, showing the configuration of an image scanner 100 according to the present invention. The image scanner 100 includes a reading unit 1 that reads the image data of the paper 300, and a signal processing unit 5 that forms image data by performing a predetermined calculation on the image data read by the reading unit 1. The signal processing means 5 performs a predetermined process on the image data read by the reading means 1 to form image data and a data signal forming circuit 52, and performs a predetermined operation on the image data formed by the data signal forming circuit 52. And a high resolution processing circuit 51 that forms binarized image data.
【0009】高解像度化処理回路51は、読み取り手段
1が読み取った画像データについて、強調処理を行な
い、この後、強調の度合いを表す強調係数と強調係数を
修正する係数と当該画像データの前後の所定の個数の画
像データとを用いた補間処理を行い、強調補間画像デー
タを形成する強調補間処理回路40と、読み取り手段1
が読み取った画像データについての浮動スライスレベル
であって、当該画像データの近傍の画像データの値に応
じてそのレベルが変動する浮動スライスレベルを、浮動
の度合いを表す浮動係数と、浮動係数を修正する係数
と、固定スライスレベルである更に他の係数と、強調補
間処理回路40からの強調補間画像データにおける当該
画像データの前後の所定の個数の画像データとを用いて
求め、所定の場合には固定スライスレベルを出力する浮
動スライス回路60と、浮動スライス回路60からの浮
動スライスレベルを用いて、強調補間処理回路40から
の強調補間画像データの二値化を行い二値化画像データ
を形成する二値化密度変換回路70とを備える。[0009] High-resolution processing circuit 51, the image data reading means 1 has read, subjected to enhancement processing, after this, the coefficients and the image data to modify the emphasis coefficient as the emphasis coefficient representing the degree of emphasis of the front and rear Interpolation processing using a predetermined number of image data to form emphasized interpolation image data, and an emphasis interpolation processing circuit 40, and a reading unit 1.
The floating slice level of the image data read by, and the floating slice level whose level fluctuates according to the value of the image data in the vicinity of the image data, the floating coefficient indicating the degree of floating, and the floating coefficient are corrected. And a further coefficient that is a fixed slice level, and a predetermined number of image data before and after the image data in the emphasized interpolation image data from the emphasis interpolation processing circuit 40. The floating slice circuit 60 that outputs a fixed slice level and the floating slice level from the floating slice circuit 60 are used to binarize the emphasized interpolation image data from the emphasis interpolation processing circuit 40 to form binarized image data. And a binarization density conversion circuit 70.
【0010】本発明のイメージスキャナ100によれ
ば、読み取ったイメージデータを強調処理及び補間処理
して強調補間画像データを形成し、更に、この強調補間
画像データを浮動スライスレベルを用いてスライスして
二値化する。この浮動スライスレベルは当該イメージデ
ータの近傍のイメージデータの値に応じて変動する。従
って、これにより、擬似的に解像度を高くすることがで
きる。これにより、読み取り手段1の光学系の構成を変
更することなく解像度を高くすることができる。即ち、
光学系の改善によることなく信号処理を行うことにより
擬似的に解像度を高くすることができる。従って、イメ
ージスキャナ100のコストを大きく増加させることな
く解像度を向上させることができる。According to the image scanner 100 of the present invention, the read image data is enhanced and interpolated to form enhanced interpolated image data, and the enhanced interpolated image data is sliced using the floating slice level. Binarize. This floating slice level changes according to the value of image data in the vicinity of the image data. Therefore, this can increase the resolution in a pseudo manner. Thereby, the resolution can be increased without changing the configuration of the optical system of the reading unit 1. That is,
By performing signal processing without improving the optical system, pseudo resolution can be increased. Therefore, the resolution can be improved without significantly increasing the cost of the image scanner 100.
【0011】また、本発明のイメージスキャナ100の
行う信号処理は簡潔なものであるので、画像データの量
が増加してもリアルタイムでの信号処理が可能である。
従って、当該信号処理が読み取り速度の高速化の妨げに
なることはない。即ち、解像度を向上するための信号処
理として最適な信号処理を採用して、解像度を向上する
と共に読み取り速度を高速化することが可能である。Further, since the signal processing performed by the image scanner 100 of the present invention is simple, the signal processing can be performed in real time even if the amount of image data increases.
Therefore, the signal processing does not prevent the reading speed from increasing. That is, it is possible to adopt the optimum signal processing as the signal processing for improving the resolution to improve the resolution and increase the reading speed.
【0012】[0012]
【発明の実施の形態】最初に、説明の便宜上、本発明の
イメージスキャナ100における両面読み取りモードと
片面読み取りモードについて説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS First, for convenience of explanation, a double-sided reading mode and a single-sided reading mode in the image scanner 100 of the present invention will be described.
【0013】図2及び図3はイメージスキャナ100の
構造を示す。イメージスキャナ100は、その筺体18
0内に(第1の)読み取り手段1の主要部である表面用
光学ユニット(キャリア)10と、(第2の)読み取り
手段2の主要部である裏面用光学ユニット20とを備え
る。表面用光学ユニット10及び裏面用光学ユニット2
0は、各々、画像データを読み取るための周知の光源、
レンズ系、ラインセンサ(CCD)を備える。2 and 3 show the structure of the image scanner 100. The image scanner 100 has a housing 18
In FIG. 0, a front surface optical unit (carrier) 10 which is a main part of the (first) reading means 1 and a back surface optical unit 20 which is a main part of the (second) reading means 2 are provided. Front-side optical unit 10 and back-side optical unit 2
0 is a well-known light source for reading image data,
A lens system and a line sensor (CCD) are provided.
【0014】裏面用光学ユニット20は、両面読み取り
モードにおいてのみ用いられるので、筺体180に対し
て固定的に設けられる。表面用光学ユニット10は、両
面読み取りモード及び片面読み取りモードの双方におい
て用いられるので、所定方向に移動可能に(キャリア型
として)設けられる。即ち、表面用光学ユニット10
は、両面読み取りモードにおいては図2に示す位置にあ
って、第1の読み取り手段1の主要部として用いられ、
また、片面読み取りモードにおいては図2に示す矢印方
向に移動させられて用いられる。The back side optical unit 20 is used only in the double-sided reading mode, and thus is fixedly provided to the housing 180. Since the front surface optical unit 10 is used in both the double-sided reading mode and the single-sided reading mode, it is provided so as to be movable in a predetermined direction (as a carrier type). That is, the surface optical unit 10
Is used as a main part of the first reading means 1 at the position shown in FIG. 2 in the double-sided reading mode,
Further, in the single-sided reading mode, it is used by being moved in the arrow direction shown in FIG.
【0015】両面読み取りモードにおいて、図2及び図
3に示すように、用紙300は用紙スタッカ181上に
複数枚載置され、1枚づつ自動的に第1及び第2の読み
取り手段1及び2へ供給される。従って、両面読み取り
モードはADF(Auto Document Feeder)モードでもあ
る。用紙300は、主としてピックローラ147、フィ
ードローラ148及び149からなる用紙供給手段7に
より、第1及び第2の読み取り手段1及び2に供給され
る。即ち、用紙供給手段7は予め定められた方向(副走
査方向)に予め定められた所定の速度で用紙を送ること
により用紙300を供給する。具体的には、用紙300
はピックローラ147により1枚づつピックされ、フィ
ードローラ148により所定の読み取り位置を経てフィ
ードローラ149に送られ、読み取り終了により用紙排
出台182上に排出される。従って、この間用紙300
が所定方向に移動させられ、第1及び第2の読み取り手
段1及び2は固定されている。用紙300の移動の速度
は予め定められた一定の速度とされる。In the double-sided reading mode, as shown in FIGS. 2 and 3, a plurality of sheets 300 are placed on the sheet stacker 181 and are automatically transferred to the first and second reading units 1 and 2 one by one. Supplied. Therefore, the double-sided reading mode is also the ADF (Auto Document Feeder) mode. The sheet 300 is supplied to the first and second reading units 1 and 2 by the sheet supply unit 7 mainly including the pick roller 147 and the feed rollers 148 and 149. That is, the paper supply unit 7 supplies the paper 300 by feeding the paper in a predetermined direction (sub-scanning direction) at a predetermined speed. Specifically, the paper 300
Are picked up one by one by the pick roller 147, sent to the feed roller 149 through a predetermined reading position by the feed roller 148, and discharged onto the paper discharge table 182 after the reading is completed. Therefore, during this period, the paper 300
Is moved in a predetermined direction, and the first and second reading means 1 and 2 are fixed. The speed of movement of the paper 300 is a predetermined constant speed.
【0016】第1及び第2の読み取り手段1及び2は、
各々、予め定められた所定の読み取り位置において用紙
300の画像データを読み取る。ここで、図3に示すよ
うに、第1及び第2の読み取り手段1及び2の読み取り
位置が、用紙300の供給方向において互いに少し異な
るようにされる。具体的には、第1の読み取り手段1の
読み取り位置が、第2の読み取り手段2の読み取り位置
よりも用紙300の供給方向において少し上流側とされ
る。The first and second reading means 1 and 2 are
The image data of the sheet 300 is read at each of predetermined reading positions. Here, as shown in FIG. 3, the reading positions of the first and second reading units 1 and 2 are made slightly different from each other in the feeding direction of the sheet 300. Specifically, the reading position of the first reading unit 1 is slightly upstream of the reading position of the second reading unit 2 in the sheet feeding direction.
【0017】片面読み取りモードにおいて、図2に示す
ように、用紙300はオペレータにより平板状のプラテ
ン(プラテンガラス)183上に1枚だけ載置される。
この時、用紙300の表面が下側(プラテン183側)
とされる。表面用光学ユニット10が、片面読み取りモ
ードの開始に先立ってプラテン183下の開始の位置に
移動させられ、片面読み取りモード期間中に図2の矢印
と同方向(副走査方向)に所定の速度で移動させられ
る。表面用光学ユニット10の移動は(ステッピング)
モータ145及びベルト146により行われる。この
間、用紙300はプラテン183上に固定されている。In the single-sided reading mode, as shown in FIG. 2, only one sheet of paper 300 is placed on the plate-shaped platen (platen glass) 183 by the operator.
At this time, the surface of the paper 300 is on the lower side (the platen 183 side)
It is said that The front surface optical unit 10 is moved to the start position under the platen 183 prior to the start of the single-sided reading mode, and during the single-sided reading mode, at a predetermined speed in the same direction as the arrow in FIG. 2 (sub-scanning direction). Can be moved. Movement of the surface optical unit 10 (stepping)
It is performed by the motor 145 and the belt 146. During this time, the sheet 300 is fixed on the platen 183.
【0018】なお、副走査方向は用紙300の送り方向
及び表面用光学ユニット10の移動方向であり、用紙3
00の縦方向に一致する。また、主走査方向は第1及び
第2の読み取り手段1及び2における読み取りのライン
の方向であり、用紙300の横方向に一致し、従って副
走査方向に直行する。The sub-scanning direction is the feeding direction of the paper 300 and the moving direction of the front surface optical unit 10, and the paper 3
00 in the vertical direction. Further, the main scanning direction is the direction of the reading line in the first and second reading means 1 and 2, which corresponds to the lateral direction of the paper 300, and thus goes straight in the sub scanning direction.
【0019】図4はイメージスキャナ100の構成を示
す。このイメージスキャナ100はホストコンピュータ
200に接続されて、イメージデータをホストコンピュ
ータ200にデータ転送する。これにより、ホストコン
ピュータ200に用紙300から読み取ったイメージデ
ータが入力される。FIG. 4 shows the structure of the image scanner 100. The image scanner 100 is connected to the host computer 200 and transfers image data to the host computer 200. As a result, the image data read from the paper 300 is input to the host computer 200.
【0020】マイクロプロセッサ8は、読み取り制御手
段4、信号処理手段5、データ転送手段6及び用紙供給
手段7を制御することにより、イメージスキャナ100
の全体の制御を行う。また、マイクロプロセッサ8は、
オペレータによるイメージスキャナ100の外部からの
所定の指示入力に応じて、両面読み取りモードと片面読
み取りモードとの切り換えを行う。即ち、これらのモー
ドの実行に必要な制御信号を形成して読み取り制御手段
4、信号処理手段5、データ転送手段6及び用紙供給手
段7に入力する。更に、マイクロプロセッサ8は、オペ
レータによるイメージスキャナ100の外部からの所定
の指示入力に応じて、高解像度化処理における密度指定
を行う。The microprocessor 8 controls the reading control means 4, the signal processing means 5, the data transfer means 6 and the paper feeding means 7 to make the image scanner 100.
Take overall control of. In addition, the microprocessor 8
Switching between the double-sided reading mode and the single-sided reading mode is performed according to a predetermined instruction input from the outside of the image scanner 100 by the operator. That is, the control signals necessary for executing these modes are formed and input to the reading control means 4, the signal processing means 5, the data transfer means 6 and the paper supply means 7. Further, the microprocessor 8 designates the density in the high resolution processing according to a predetermined instruction input from the outside of the image scanner 100 by the operator.
【0021】第1の読み取り手段1は、ラインセンサ、
増幅器及びアナログデジタル変換部からなる(図示せ
ず)。ラインセンサはCCDからなり、用紙300上の
画像データに対応した画像信号(アナログ信号)を出力
する。ラインセンサのアナログ出力は、増幅器で所定の
レベルにまで増幅され、アナログデジタル変換部でデジ
タル信号に変換された上で信号処理手段5に入力され
る。このデジタル信号は例えば1画素あたり8ビット
(256階調)の信号とされる。The first reading means 1 is a line sensor,
It consists of an amplifier and an analog-to-digital converter (not shown). The line sensor is composed of a CCD and outputs an image signal (analog signal) corresponding to the image data on the paper 300. The analog output of the line sensor is amplified to a predetermined level by an amplifier, converted into a digital signal by an analog-digital conversion unit, and then input to the signal processing means 5. This digital signal is, for example, a signal of 8 bits (256 gradations) per pixel.
【0022】第2の読み取り手段2も第1の読み取り手
段1と同様の構成とされる。従って、信号処理手段5に
は、両面読み取りモードにおいては、第1の読み取り手
段1からの用紙300の表面のデジタル信号と第2の読
み取り手段2からの用紙300の裏面のデジタル信号と
が略並列に入力され、また、片面読み取りモードにおい
ては、第1の読み取り手段1からの用紙300の表面の
デジタル信号(のみ)が入力される。The second reading means 2 has the same structure as the first reading means 1. Therefore, in the double-sided reading mode, the signal processing unit 5 substantially parallels the digital signal of the front side of the sheet 300 from the first reading unit 1 and the digital signal of the back side of the sheet 300 from the second reading unit 2. Further, in the single-sided reading mode, the digital signal (only) of the surface of the sheet 300 from the first reading unit 1 is input.
【0023】読み取り制御手段4は、第1及び第2の読
み取り手段1及び2のラインセンサ、増幅器及びアナロ
グデジタル変換部を制御するために必要な制御信号を形
成し、これらを制御する。また、読み取り制御手段4
は、モータ145を制御するために必要な制御信号を形
成しモータ145を制御する。なお、実際は、読み取り
制御手段4は第1及び第2の読み取り手段1及び2に対
応して設けられる。モータ145としては、両面読み取
りモードにおいて用紙300の供給を行うADF系の
(ステッピング)モータ、片面読み取りモードにおいて
第1の読み取り手段1を副走査方向に駆動する(ステッ
ピング)モータ等が設けられる。The reading control means 4 forms and controls the control signals necessary for controlling the line sensor, the amplifier and the analog-digital conversion section of the first and second reading means 1 and 2. Further, the reading control means 4
Controls the motor 145 by forming a control signal necessary for controlling the motor 145. It should be noted that the reading control means 4 is actually provided corresponding to the first and second reading means 1 and 2. As the motor 145, an ADF system (stepping) motor that supplies the sheet 300 in the double-sided reading mode, a motor (stepping) that drives the first reading unit 1 in the sub-scanning direction in the single-sided reading mode, and the like are provided.
【0024】信号処理手段5は、第1及び第2の読み取
り手段1及び2から入力されたデジタル信号について所
定の演算を施すことにより所定の信号処理を行って、最
適化されたイメージデータを形成する。信号処理手段5
の高解像度化処理回路51(図1参照)は入力されたイ
メージデータ(デジタル信号)に基づいて、その解像度
を高くする高解像度化処理を行い、更にこれを二値化
(白又は黒の二値)する二値化処理を行う。高解像度化
処理回路51が行う信号処理は簡潔な処理であるので、
第1及び第2の読み取り手段1及び2から従来の2倍の
画像データが入力されても、リアルタイムでこれを処理
して二値化信号を形成することができる。信号処理手段
5のデータ信号形成回路52(図1参照)は、高解像度
化処理回路51へのイメージデータを形成する。例えば
周知のシェーディング補正処理、ガンマ変換による階調
補正処理等を行うことにより、最適化されたイメージデ
ータを形成する。なお、実際は、信号処理手段5は第1
及び第2の読み取り手段1及び2の各々に対応して2系
統設けられるが、この2系統においてその一部の処理回
路を共有する構成とされる。The signal processing unit 5 performs predetermined signal processing by performing a predetermined calculation on the digital signals input from the first and second reading units 1 and 2 to form optimized image data. To do. Signal processing means 5
The high resolution processing circuit 51 of FIG. 1 (see FIG. 1) performs high resolution processing for increasing the resolution based on the input image data (digital signal), and further binarizes it (white or black binary signal). Value) to perform a binarization process. Since the signal processing performed by the high resolution processing circuit 51 is simple processing,
Even if image data that is twice as large as the conventional image data is input from the first and second reading units 1 and 2, it can be processed in real time to form a binarized signal. The data signal forming circuit 52 (see FIG. 1) of the signal processing means 5 forms image data for the high resolution processing circuit 51. For example, well-known shading correction processing, gradation correction processing by gamma conversion, and the like are performed to form optimized image data. Note that, in reality, the signal processing means 5 has the first
Also, two systems are provided corresponding to each of the second reading means 1 and 2, but a part of the processing circuit is shared by these two systems.
【0025】データ転送手段6は信号処理手段5から入
力された最適化イメージデータをホストコンピュータ2
00にデータ転送する。転送すべきイメージデータは、
両面読み取りモードにおいては第1及び第2の読み取り
手段1及び2からの用紙300の表面及び裏面のイメー
ジデータであり、片面読み取りモードにおいては第1の
読み取り手段1からの用紙300の表面のイメージデー
タ(のみ)である。The data transfer means 6 sends the optimized image data input from the signal processing means 5 to the host computer 2
Data transfer to 00. The image data to be transferred is
In the double-sided reading mode, the image data of the front surface and the back surface of the sheet 300 from the first and second reading units 1 and 2, and in the single-sided reading mode, the image data of the front surface of the sheet 300 from the first reading unit 1. (Only).
【0026】図5乃至図8は高解像度化処理について示
す。特に、図5は高解像度化処理回路51の構成を示
し、図6及び図7は高解像度化処理による画像データの
処理の状態を示し、図8は高解像度化処理の結果を概念
的に示す。図6及び図7は連続して1つの図を構成し、
同一の主走査方向( 即ち、読み取りの同一ライン) にお
ける画像データについての処理を示す。5 to 8 show the resolution increasing process. In particular, FIG. 5 shows the configuration of the high resolution processing circuit 51, FIGS. 6 and 7 show the processing state of image data by the high resolution processing, and FIG. 8 conceptually shows the result of the high resolution processing. . 6 and 7 successively form one figure,
The processing for image data in the same main scanning direction (that is, the same line for reading) is shown.
【0027】図5に示すように、高解像度化処理回路5
1は、遅延回路30、強調補間処理回路40、浮動スラ
イス回路60、二値化密度変換回路70及び密度制御信
号生成回路90からなる。As shown in FIG. 5, a high resolution processing circuit 5
1 includes a delay circuit 30, an emphasis interpolation processing circuit 40, a floating slice circuit 60, a binarization density conversion circuit 70, and a density control signal generation circuit 90.
【0028】遅延回路30には、データ信号形成回路5
2からの画像データ(原画像データX)が入力される。
原画像データXは、その各々が1画素分の画像データで
あり、8ビット(256階調)のデジタルデータからな
る。原画像データXは、図6に示すように、その主走査
方向において、・・・X 2(n−1)、X2n、X 2(n+1)、
X 2(n+2)・・・のように並んでいる。The delay circuit 30 includes a data signal forming circuit 5
The image data from 2 (original image data X) is input.
The original image data X is image data for one pixel, and is composed of 8-bit (256 gradations) digital data. As shown in FIG. 6, the original image data X has ... X 2 (n−1), X 2n, X 2 (n + 1), ...
Lined up like X 2 (n + 2).
【0029】ラインセンサの読み取ったアナログ信号を
変換して得たデジタル信号を原画像データといいXで表
す。ここで、n は正の整数であり、その上限はラインセ
ンサの1ラインの画素の数による。読み取った画素Xの
添字を2n等(即ち、偶数)で表すのは、これらの間に補
間された画像データを挿入する際の表現上の便宜のため
である。以下の説明において、説明の便宜上、現時点に
おいて高解像度化処理の対象となっている画素(注目す
る画素)はX2nであるとする。A digital signal obtained by converting an analog signal read by the line sensor is referred to as original image data and is represented by X. Here, n is a positive integer, and its upper limit depends on the number of pixels in one line of the line sensor. The subscript of the read pixel X is represented by 2n or the like (that is, an even number) for the convenience of expression when inserting the interpolated image data therebetween. In the following description, for convenience of explanation, it is assumed that the pixel (pixel of interest) that is the target of the high-resolution processing at present is X2n.
【0030】予め定められた所定のタイミングで、原画
像データXが遅延回路30から強調補間処理回路40に
入力される。なお、遅延回路30からは、当該注目画素
X2nの他に、処理に必要なその前後の複数の画素の原画
像データも出力される。強調補間処理回路40は、原画
像データXについての補間処理及び強調処理を行い、強
調補間画像データZを形成して出力する。この強調補間
画像データZは二値化密度変換回路70に入力される。
強調補間処理回路40は補間処理回路41と強調処理回
路42とからなる。補間処理回路41は原画像データX
の補間処理を当該注目画素及びその次の画素の画像デー
タを用いて行い、補間画像データYを形成する。補間画
像データYは、各々の原画像データXの間に1個の補間
データが挿入されるため、原画像データXの2倍のデー
タ量となる。即ち、擬似的に2倍の解像度となる。強調
処理回路42は、補間処理回路41の出力する補間画像
データYの強調処理を当該注目画素の前後の画素の画像
データを用いて行い、強調画像データ(即ち、強調補間
画像データ)Zを形成する。The original image data X is input from the delay circuit 30 to the emphasis interpolation processing circuit 40 at a predetermined timing. Note that the delay circuit 30 outputs the original image data of a plurality of pixels before and after the pixel required for processing, in addition to the pixel of interest X2n. The emphasis interpolation processing circuit 40 performs interpolation processing and emphasis processing on the original image data X to form and output the emphasis interpolation image data Z. This emphasized interpolation image data Z is input to the binarization density conversion circuit 70.
The emphasis interpolation processing circuit 40 includes an interpolation processing circuit 41 and an emphasis processing circuit 42. The interpolation processing circuit 41 uses the original image data X
Interpolation processing is performed using the image data of the pixel of interest and the next pixel, and the interpolated image data Y is formed. Since one piece of interpolation data is inserted between each piece of the original image data X, the interpolation image data Y has a data amount twice as large as the original image data X. That is, the resolution is pseudo double. The enhancement processing circuit 42 performs enhancement processing of the interpolation image data Y output from the interpolation processing circuit 41 using image data of pixels before and after the pixel of interest, and forms enhanced image data (that is, enhanced interpolation image data) Z. To do.
【0031】具体的には、補間処理回路41は、注目画
素についてのデータ補間処理を行って、注目画素X2nと
その1個後の画素X 2(n+1)との間を補間する画素の値
を求める。このために、補間処理回路41は当該補間画
素Y2n+1 を求めるための所定の演算Y2n+1 =(X2n
+X 2(n+1))/2を行う。従って、この処理は注目画
素X2nについてその隣接する1個後の画素X 2(n+1)の
画像データとの平均値を求める処理である。この処理を
順に繰り返すことにより、図6に示すように、その主走
査方向において、・・・Y 2(n−1)、Y 2(n−1)+1 、
Y2n、Y2n+1、Y 2(n+1)、Y 2(n+1)+1 、Y 2(n
+2)・・・のように並ぶ補間画像データYを得る。な
お、読み取った画像データX2n等については、その補間
の必要がないので、X2n=Y2n等の関係にある。Specifically, the interpolation processing circuit 41 performs a data interpolation process on the pixel of interest to determine the value of the pixel which is to be interpolated between the pixel of interest X2n and the pixel X2 (n + 1) one pixel after that. Ask. Therefore, the interpolation processing circuit 41 performs a predetermined operation Y2n + 1 = (X2n for obtaining the interpolation pixel Y2n + 1.
+ X 2 (n + 1)) / 2. Therefore, this process is a process of obtaining the average value of the pixel of interest X2n and the image data of the pixel X2 (n + 1) that is one pixel after the pixel of interest X2n. By repeating this processing in order, as shown in FIG. 6, in the main scanning direction, ... Y 2 (n−1), Y 2 (n−1) +1,
Y2n, Y2n + 1, Y2 (n + 1), Y2 (n + 1) +1, Y2 (n
+2) ... Interpolated image data Y arranged in sequence is obtained. Since the read image data X2n and the like do not need to be interpolated, there is a relationship such as X2n = Y2n.
【0032】強調処理回路42は、画像強調処理を行っ
て、注目画素X2nの補間画像データY2nをこれを強調す
る値に変更する。このために、強調処理回路42は、補
間画像データY2nを強調するための所定の演算Z2n=K
×Y2n+(1−K)×(Y 2(n−1)+Y 2(n+1))/2
を行う。従って、この処理は信号振幅を大きくする処理
であり、強調された信号を、注目画素X2nの前後1個の
画素の画像データY 2(n−1)及びY 2(n+1)を変数とす
る関数として求める処理である。The enhancement processing circuit 42 performs image enhancement processing to change the interpolated image data Y2n of the pixel of interest X2n to a value that enhances it. Therefore, the emphasis processing circuit 42 performs a predetermined calculation Z2n = K for emphasizing the interpolated image data Y2n.
XY2n + (1-K) x (Y2 (n-1) + Y2 (n + 1)) / 2
I do. Therefore, this process is a process for increasing the signal amplitude, and the emphasized signal is a function with the image data Y 2 (n−1) and Y 2 (n + 1) of one pixel before and after the pixel of interest X 2n as variables. Is a process for obtaining.
【0033】ここで、強調処理回路42は予め装置の特
性により定められた又はオペレータが指示する強調係数
Kを用いる。強調係数Kは強調の度合いを表す。強調係
数Kの値が「1」より大きい程、強調の効果は大きくな
るが、強調係数Kの値が余り大きいと逆に階調性を乱す
ので、その値は装置の特性によって又はオペレータ指示
によって適切な値に定められる。この処理を順に繰り返
すことにより、図6に示すように、その主走査方向にお
いて、・・・Z 2(n−1)、Z 2(n−1)+1 、Z2n、Z2n
+1 、Z 2(n+1)、Z 2(n+1)+1 、Z 2(n+2)・・・
のように並ぶ強調画像データZを得る。Here, the emphasis processing circuit 42 uses an emphasis coefficient K which is predetermined by the characteristics of the apparatus or which is designated by the operator. The emphasis coefficient K represents the degree of emphasis. As the value of the emphasis coefficient K is larger than “1”, the effect of the emphasis becomes larger, but if the value of the emphasis coefficient K is too large, the gradation is conversely disturbed. Therefore, the value depends on the characteristics of the device or the operator's instruction. It is set to an appropriate value. By repeating this processing in order, as shown in FIG. 6, in the main scanning direction, ... Z 2 (n−1), Z 2 (n−1) +1, Z 2n, Z 2n
+1, Z 2 (n + 1), Z 2 (n + 1) +1, Z 2 (n + 2) ...
The emphasized image data Z arranged as shown in FIG.
【0034】一方、予め定められた所定のタイミング
で、強調画像データZが浮動スライス回路60に入力さ
れる。浮動スライス回路60は、強調画像データZにつ
いての浮動スライス処理を、当該注目画素の強調画像デ
ータZ2nの前後複数個(例えば2個)分の画素の画像デ
ータを用いて行い、浮動スライスレベルFを形成して出
力する。この浮動スライスレベルFも二値化密度変換回
路70に入力される。On the other hand, the emphasized image data Z is input to the floating slice circuit 60 at a predetermined timing. The floating slice circuit 60 performs floating slice processing on the emphasized image data Z using the image data of a plurality of (for example, two) pixels before and after the emphasized image data Z2n of the pixel of interest, and sets the floating slice level F. Form and output. This floating slice level F is also input to the binarization density conversion circuit 70.
【0035】具体的には、浮動スライス回路60は、注
目画素X2nについての浮動スライス処理を行って、注目
画素X2n(又はその強調画像データZ2n)を二値化する
ためのスライスレベル(浮動スライスレベル)F2nを求
める。このために、浮動スライス回路60は当該スライ
スレベルF2nを求めるための所定の演算F2n=(1−
T)×S+T×(Z max_2n+Z min_2n)/2を行
う。ここで、Z max_2n及びZ min_2nは、各々、注目
する画素X2nの前後複数個、例えば2個の画素の画像デ
ータZ2 (n−2)、Z2 (n−1)、Z2 (n+1)、Z2 (n+2)
の内の最大値及び最小値である。従って、この処理は浮
動スライスレベルFを注目画素の前後4個の画像データ
を変数とする関数として求める処理である。なお、係数
Sは定数であり、予め装置の特性によって定められる又
はオペレータが指示するスライスレベルである(図8
(B)参照)。Specifically, the floating slice circuit 60 performs a floating slice process on the target pixel X2n to binarize the target pixel X2n (or its emphasized image data Z2n) (floating slice level). ) Find F2n. Therefore, the floating slice circuit 60 performs a predetermined calculation F2n = (1-
T) × S + T × (Z max — 2n + Z min — 2n) / 2. Here, Z max — 2n and Z min — 2n are image data Z2 (n−2), Z2 (n−1), Z2 (n + 1), and Z2 (Z2 (n−2), Z2 (n−1), Z2 ( n + 2)
Is the maximum and minimum value of Therefore, this process is a process for obtaining the floating slice level F as a function having four image data before and after the pixel of interest as variables. The coefficient S is a constant and is a slice level that is determined in advance by the characteristics of the apparatus or is instructed by the operator (FIG. 8).
(See (B)).
【0036】ここで、浮動スライス回路60は予め装置
特性により定められた又はオペレータが指示する係数T
を用いる。係数Tは浮動(変動)の度合いを表す。係数
Kの値が「0」より大きい程、浮動(変動)スライスの
効果は大きくなるが、係数Tの値が余り大きいと逆に階
調性を乱すので、その値は装置特性によって又はオペレ
ータ指示的によって適切な値に定められる。この処理を
順に繰り返すことにより、図7に示すように、その主走
査方向において、・・・F 2(n−1)、F 2(n−1)+1 、
F2n、F2n+1 、F 2(n+1)、F 2(n+1)+1 、F 2(n
+2)・・・のように並ぶ浮動スライスレベルFを得る。Here, the floating slice circuit 60 has a coefficient T which is predetermined by the device characteristics or which is designated by the operator.
To use. The coefficient T represents the degree of floating (fluctuation). As the value of the coefficient K is larger than “0”, the effect of the floating (fluctuation) slice becomes larger, but if the value of the coefficient T is too large, the gradation is conversely disturbed. It is set to an appropriate value depending on the target. By repeating this processing in order, as shown in FIG. 7, in the main scanning direction ... F 2 (n−1), F 2 (n−1) +1,
F2n, F2n + 1, F2 (n + 1), F2 (n + 1) +1, F2 (n
+2) ... Floating slice level F is obtained.
【0037】二値化密度変換回路70は、浮動スライス
回路60からの浮動スライスレベルFを用いて強調補間
処理回路40からの強調画像データZについての二値化
を行い二値化画像データBを形成し、密度制御信号生成
回路90からの密度制御信号を用いて二値化画像データ
Bについての密度制御を行い密度変換画像データBを形
成して出力する。なお、密度変換画像データBも二値化
された画像データでありその密度が異なるのみであるの
で、記号Bで表される。The binarization density conversion circuit 70 binarizes the emphasized image data Z from the emphasizing interpolation processing circuit 40 using the floating slice level F from the floating slice circuit 60 to obtain the binarized image data B. Then, the density control signal from the density control signal generation circuit 90 is used to control the density of the binarized image data B to form and output the density converted image data B. It should be noted that the density-converted image data B is also binarized image data and has only different densities, and therefore is represented by the symbol B.
【0038】二値化密度変換回路70は二値化処理回路
71と密度変換処理回路72とからなる。二値化処理回
路71は、浮動スライス回路60からの浮動スライスレ
ベルFを用いて強調補間処理回路40からの強調画像デ
ータZについての二値化を行い二値化画像データBを形
成する。密度変換処理回路72は、密度制御信号生成回
路90からの密度制御信号を用いて二値化処理回路71
からの二値化画像データBについての密度制御を行い密
度変換画像データBを形成する。The binarization density conversion circuit 70 comprises a binarization processing circuit 71 and a density conversion processing circuit 72. The binarization processing circuit 71 binarizes the enhanced image data Z from the enhancement interpolation processing circuit 40 using the floating slice level F from the floating slice circuit 60 to form binarized image data B. The density conversion processing circuit 72 uses the density control signal from the density control signal generation circuit 90 to perform the binarization processing circuit 71.
The density control is performed on the binarized image data B from 1 to 3 to form the density converted image data B.
【0039】具体的には、二値化処理回路71は、注目
画素X2nの二値化処理を行って、その強調画像データZ
2nを二値信号とする。このために、二値化処理回路71
は強調画像データZ2nを当該データに対応する浮動スラ
イスレベルF2nでスライスする。従って、Z2n>F2nな
らばB2n=1(例えば、黒に相当する)とし、それ以外
ならばB2n=0(例えば、白に相当する)とする。この
処理を繰り返すことにより、図7に示すように、その主
走査方向において、・・・B 2(n−1)=白、B2(n−1)
+1 =白、B2n=黒、B2n+1 =白、B 2(n+1)=白、
B 2(n+1)+1=黒、B 2(n+2)=黒・・・のように並
ぶ二値化画像データBを得る。Specifically, the binarization processing circuit 71 performs the binarization processing of the pixel of interest X2n and outputs the emphasized image data Z.
Let 2n be a binary signal. For this purpose, the binarization processing circuit 71
Slices the emphasized image data Z2n at the floating slice level F2n corresponding to the data. Therefore, if Z2n> F2n, B2n = 1 (e.g., corresponding to black), and otherwise, B2n = 0 (e.g., corresponding to white). By repeating this process, as shown in FIG. 7, in the main scanning direction, ... B 2 (n−1) = white, B 2 (n−1)
+ 1 = white, B2n = black, B2n + 1 = white, B2 (n + 1) = white,
Binarized image data B arranged as B 2 (n + 1) + 1 = black, B 2 (n + 2) = black ...
【0040】密度変換処理回路72は、密度変換処理を
行って、二値化処理回路71からの二値化画像データB
のデータ密度を変換する。このために、密度変換処理回
路72は、密度制御信号生成回路90からの密度制御信
号に従って二値化画像データBから所定の割合でデータ
を抜き捨てる(間引く)と共に、所定の場合には密度制
御信号に従って抜き捨てるべき当該データの変更を行
う。The density conversion processing circuit 72 performs the density conversion processing and the binarized image data B from the binarization processing circuit 71.
Convert the data density of. Therefore, the density conversion processing circuit 72 extracts (thinning) data from the binarized image data B at a predetermined ratio according to the density control signal from the density control signal generation circuit 90, and, in a predetermined case, controls the density. Change the data that should be discarded according to the signal.
【0041】一方、密度制御信号生成回路90は、マイ
クロプロセッサ8からの密度指定に従って密度制御信号
(ZOOM)を形成する。ここで、密度指定のためのオ
ペレータの指示入力は、例えば出力される画像の解像度
を600dpi(ドットパーインチ)、300dpi等
と指定する入力により行われる。例えばラインセンサの
読み取りの性能(解像度)が400dpiである場合、
本発明の補間処理により800dpi(2倍の解像度)
の補間画像データYを形成し、これを用いて当該解像度
の二値化画像データBを形成した後、これを用いて改め
て指定された読み取り密度(解像度)の二値化画像デー
タ(密度変換画像データ)Bを形成する。即ち、強調画
像データZを浮動スライスレベルFにより二値化した
後、その密度変換を行う。なお、オペレータはラインセ
ンサの読み取りの性能を意識する必要はない。On the other hand, the density control signal generation circuit 90 forms the density control signal (ZOOM) according to the density designation from the microprocessor 8. Here, the operator's instruction input for specifying the density is performed, for example, by inputting the resolution of the output image as 600 dpi (dot per inch), 300 dpi, or the like. For example, when the reading performance (resolution) of the line sensor is 400 dpi,
800 dpi (double the resolution) by the interpolation processing of the present invention
Of the interpolated image data Y, the binary image data B of the resolution is formed using the interpolated image data Y, and the binary image data of the read density (resolution) newly designated by using the interpolated image data Y Data) B is formed. That is, the emphasized image data Z is binarized by the floating slice level F, and then the density conversion is performed. The operator does not need to be aware of the reading performance of the line sensor.
【0042】例えば、ラインセンサの解像度(原画像デ
ータX)が400dpiであり、密度指定の指示入力の
解像度が600dpiである場合、密度制御信号は以下
のように形成される。即ち、補間画像データY及び二値
化画像データBは800dpiであるから、二値化画像
データBから4個に1個の割合でデータを抜き捨てれば
(4個に3個の割合で取り集めれば)600dpiの密
度のデータが得られる。従って、密度制御信号は、二値
化画像データBに同期して出力され、二値化画像データ
Bの4個毎に1回その抜き捨てを指示する信号(例えば
ハイレベル)とされ、その他は抜き捨てずに密度変換画
像データBとしての取り集めを指示する信号(例えばロ
ウレベル)とされる。この密度制御信号に従って、図7
に示すように、二値化画像データBの4個毎に1個の割
合で、例えば二値化画像データB2n、B 2(n+2)が抜き
捨てられる。なお、これを図7においては「抜」という
字を付して表し、これ以外のデータには「取」という字
を付して表す。For example, when the resolution of the line sensor (original image data X) is 400 dpi and the resolution of the density designation instruction input is 600 dpi, the density control signal is formed as follows. That is, since the interpolated image data Y and the binarized image data B are 800 dpi, if the data is discarded from the binarized image data B at a rate of one in four (collected at a rate of three in four). For example, data with a density of 600 dpi is obtained. Therefore, the density control signal is output in synchronization with the binarized image data B, and is a signal (for example, high level) for instructing the discarding once for every four binarized image data B, and the others. It is a signal (for example, low level) for instructing collection as the density-converted image data B without discarding. According to this density control signal, FIG.
As shown in, the binary image data B 2n, B 2 (n + 2), for example, is discarded at a rate of one for every four binary image data B. It should be noted that in FIG. 7, this is represented by adding the character "extract", and the other data is represented by adding the character "take".
【0043】しかし、このまま二値化画像データB2nを
抜き捨てたのでは、当該データが黒の孤立点(その前後
の2個の画像データの二値化データ「白」と異なる値
「黒」を有する二値化データ)を表すものであるので、
本来その位置にあるべき黒の表示が欠落してしまい、画
像としては欠陥のあるものになる。However, if the binarized image data B2n is discarded as it is, the data has a black isolated point (a value "black" different from the binarized data "white" of the two image data before and after it). Since it represents the binary data that it has,
The black display, which should have existed at that position, is missing, resulting in a defective image.
【0044】そこで、密度変換処理回路72は、黒又は
白の孤立点のデータを抽出し、当該位置にあるデータが
抜き捨ての対象である場合には抜き捨てるべきデータの
変更を行う。即ち、当該二値化画像データB2nを抜き捨
てることなく残し、当該データの直後の二値化画像デー
タB2n+1(又は直前の二値化画像データB (2n−1)+
1)を抜き捨てる。これにより、原画像に忠実なイメー
ジデータを得ることができる。二値化画像データB 2(n
+2)は、孤立点にあるデータではないので、そのまま抜
き捨てられる。以上の処理を繰り返すことにより、図7
に示すように、その主走査方向において、・・・B 2(n
−1)=白、B 2(n−1)+1 =白、B2n=黒、B 2(n+1)
=白、B 2(n+1)+1 =黒・・・のように並ぶ密度変換
画像データBを得る。Therefore, the density conversion processing circuit 72 extracts the data of the black or white isolated point, and changes the data to be discarded when the data at that position is the target of the discarding. That is, the binarized image data B2n is left without being discarded, and the binarized image data B2n + 1 immediately after the data (or the binarized image data B (2n-1) + immediately before the binarized image data B2n +
Discard 1). As a result, image data faithful to the original image can be obtained. Binarized image data B 2 (n
+2) is not the data at the isolated point, so it is discarded as it is. By repeating the above processing, FIG.
, In the main scanning direction, ... B 2 (n
−1) = white, B 2 (n−1) + 1 = white, B 2n = black, B 2 (n + 1)
= Density, B 2 (n + 1) +1 = black ...
【0045】本発明のイメージスキャナ100によれ
ば、その解像度をラインセンサの読み取りの性能と独立
に規定し、所定の範囲において可変にでき、更に、その
値をイメージスキャナ100の外部からオペレータが指
定することができる。また、本発明のイメージスキャナ
100は一旦2倍の解像度の画像データを形成してこれ
を用いて指定された読み取り密度のイメージデータを形
成する。従って、読み取りにおける量子化誤差等による
信号の劣化を吸収して、原画像に忠実な又は鮮明なイメ
ージデータを得ることができる。更に、密度変換におい
て原画像に表れる白又は黒の孤立点のデータが削除され
ることなく残されるので、イメージスキャナ100の解
像度をラインセンサの性能とは独立に規定しても、原画
像に忠実なイメージデータを得ることができる。According to the image scanner 100 of the present invention, its resolution can be defined independently of the reading performance of the line sensor and can be varied within a predetermined range, and the value can be specified by the operator from outside the image scanner 100. can do. Further, the image scanner 100 of the present invention temporarily forms image data having a double resolution and then uses this to form image data having a designated reading density. Therefore, it is possible to absorb the deterioration of the signal due to the quantization error in the reading and to obtain the image data which is faithful or clear to the original image. Furthermore, since the data of white or black isolated points appearing in the original image in the density conversion remains without being deleted, even if the resolution of the image scanner 100 is defined independently of the performance of the line sensor, it is faithful to the original image. Image data can be obtained.
【0046】図8に示すように、本発明のイメージスキ
ャナ100により用紙300上に印字又は手書きされた
(テストパターン)文字「MARS」を読み取る。この
時、図8(A)に示す読み取りラインにおける原画像デ
ータXは、図8(B)に示すように、明確な二値信号と
はならない。即ち、当該画素の周囲の影響を受けて変動
する。例えば、「M」の中央部は本来黒であるべき部分
が欠落して白と読み取られ易く、「A」の中央部は本来
白であるべき部分が塗りつぶされて黒と読み取られ易
い。即ち、「抜け」や「つぶれ」の代表的な例である。As shown in FIG. 8, the image scanner 100 of the present invention reads the character "MARS" printed or handwritten (test pattern) on the paper 300. At this time, the original image data X on the reading line shown in FIG. 8A does not become a clear binary signal as shown in FIG. 8B. That is, it changes under the influence of the surroundings of the pixel. For example, in the central portion of "M", the portion that should originally be black is missing and is easily read as white, and in the central portion of "A", the portion that is originally white is painted out and is easily read as black. That is, this is a typical example of “missing” and “crushing”.
【0047】そこで、図8(C)に示すように、原画像
データXの振幅を大きくして強調画像データZとすると
共に、当該振幅を大きくした方向にスライスレベルを少
し変動させて浮動スライスレベルとする。これにより、
原画像データの抜けやつぶれを防止することができる。
更に、浮動スライスにより「M」の中央部の先端のよう
な孤立点も正確に黒として二値化でき、原画像に忠実な
イメージデータを得ることができる。Therefore, as shown in FIG. 8C, the amplitude of the original image data X is increased to the emphasized image data Z, and the slice level is slightly changed in the direction in which the amplitude is increased to change the floating slice level. And This allows
It is possible to prevent the original image data from being lost or crushed.
Furthermore, an isolated point such as the tip of the central portion of "M" can be accurately binarized as black by the floating slice, and image data faithful to the original image can be obtained.
【0048】図9は高解像度化回路の実際の構成を示
し、図5と対比されるものである。図9において、遅延
回路30には、データ信号形成回路52からの画素X2n
等の画像データ(原画像データX2n等)が入力される。
遅延回路30からは、注目画素X2nの他に、その前後2
個分の画素の原画像データX 2(n−2)、X 2(n−1)、X
2(n+1)及びX 2(n+2)が出力される。この時、遅延回
路30には、当該画素X2nの3個後の原画像データX 2
(n+3)が入力される。FIG. 9 shows an actual configuration of the high resolution circuit, which is to be compared with FIG. In FIG. 9, the delay circuit 30 includes a pixel X2n from the data signal forming circuit 52.
Image data such as (original image data X2n) is input.
From the delay circuit 30, in addition to the target pixel X2n, 2
Original image data X 2 (n−2), X 2 (n−1), X
2 (n + 1) and X2 (n + 2) are output. At this time, the delay circuit 30 stores the original image data X 2 after the pixel X 2n three times.
(n + 3) is input.
【0049】原画像データX 2(n−1)、X2n、X 2(n+
1)が強調補間処理回路40に入力される。図5との対比
から判るように、実際は、原画像データXについて先に
強調処理を行って強調画像データを得た後に、当該強調
画像データを用いた補間処理が行われ補間画像データが
形成される。また、係数Kの他に修正係数Gが用いら
れ、これを用いて係数Kが修正される。従って、強調補
間処理回路40は、注目画素の画像データX2nについて
の補間処理及び強調処理を、当該画像データX2n及びそ
の前後1個分の画素の画像データX 2(n−1)及びX 2(n
+1)と所定の係数K及びGを用いて行う。Original image data X 2 (n−1), X 2n, X 2 (n +
1) is input to the emphasis interpolation processing circuit 40. As can be seen from the comparison with FIG. 5, in practice, the original image data X is first subjected to the emphasis process to obtain the emphasized image data, and then the interpolation process using the emphasized image data is performed to form the interpolated image data. It Further, the correction coefficient G is used in addition to the coefficient K, and the coefficient K is corrected using this. Therefore, the enhancement interpolation processing circuit 40 performs the interpolation process and the enhancement process on the image data X2n of the pixel of interest, and the image data X2 (n-1) and X2 (of the image data X2n and one pixel before and after the image data X2n. n
+1) and predetermined coefficients K and G.
【0050】一方、原画像データX2 (n−2)、X2 (n−
1)、X2 (n+1)、X2 (n+2)が浮動スライス回路60に
入力される。図5との対比から判るように、実際は、浮
動スライス処理は、強調画像データについてではなく、
当該原画像データXについて行われ浮動スライスレベル
Fが形成される。また、係数Tの他に修正係数Hが用い
られ、これを用いて係数Tが修正される。更に所定の係
数Sが用いられる。従って、浮動スライス回路60は、
画像データX2nについての浮動スライス処理を、当該画
像データX2nの前後2個分の画素の画像データと所定の
係数T、S及びHを用いて行う。On the other hand, the original image data X2 (n-2), X2 (n-)
1), X2 (n + 1), and X2 (n + 2) are input to the floating slice circuit 60. As can be seen from the comparison with FIG. 5, the floating slice processing is not actually performed on the emphasized image data,
A floating slice level F is formed on the original image data X. Further, the correction coefficient H is used in addition to the coefficient T, and the coefficient T is corrected using this. Furthermore, a predetermined coefficient S is used. Therefore, the floating slice circuit 60 is
The floating slice process for the image data X2n is performed using the image data of two pixels before and after the image data X2n and the predetermined coefficients T, S and H.
【0051】強調補間処理回路40の出力(以下、これ
をZで表す)と浮動スライス回路60からの浮動スライ
スレベルFとが二値化密度変換回路70に入力される。
図5との対比から判るように、実際は、強調補間画像デ
ータZについて密度変換処理と二値化処理とが同時に行
われ二値化画像データが形成される。また、浮動スライ
スレベルF及び密度制御信号が二値化密度変換回路70
に入力される。従って、二値化密度変換回路70は、注
目画素の画像データX2nについての密度変換処理及び二
値化処理を、当該画像データX2nとその浮動スライスレ
ベルF及び密度制御信号を用いて行う。The output of the emphasis interpolation processing circuit 40 (hereinafter, this is represented by Z) and the floating slice level F from the floating slice circuit 60 are input to the binarization density conversion circuit 70.
As can be seen from the comparison with FIG. 5, in reality, the density interpolation processing and the binarization processing are simultaneously performed on the emphasized interpolation image data Z to form the binarized image data. Further, the floating slice level F and the density control signal are converted into a binary density conversion circuit 70.
Entered in. Therefore, the binarization density conversion circuit 70 performs the density conversion process and the binarization process on the image data X2n of the pixel of interest using the image data X2n, its floating slice level F, and the density control signal.
【0052】図10は強調補間処理回路40の構成を示
し、図11は浮動スライス回路60の構成を示し、図1
2は二値化密度変換回路70及び密度制御信号生成回路
90の構成を示す。FIG. 10 shows the configuration of the emphasis interpolation processing circuit 40, FIG. 11 shows the configuration of the floating slice circuit 60, and FIG.
Reference numeral 2 shows the configurations of the binarized density conversion circuit 70 and the density control signal generation circuit 90.
【0053】図10に示すように、原画像データX 2(n
−1)及びX 2(n+1)が加算器43に入力され、その出力
として(X 2(n−1)+X 2(n+1))/2が得られる。こ
の値と原画像データX2nとが減算器44に入力され、X
2n−(X 2(n−1)+X 2(n+1))/2が出力される。こ
の値と係数K’とが乗算器45に入力され、K’×(X
2n−(X 2(n−1)+X 2(n+1))/2)が出力される。
この値と注目画素X2nとが加算器47に入力され、その
出力としてK’×(X2n−(X 2(n−1)+X 2(n+1))
/2)+X2n=K×X2n+(1−K)×(X 2(n−1)+
X 2(n+1))/2が得られる。即ち、強調画像データZ
である。この値と原画像データX2nとが選択器48に入
力され、比較器46の出力によりその一方が選択的に出
力される。ここで、K’=K−1である。As shown in FIG. 10, the original image data X 2 (n
−1) and X 2 (n + 1) are input to the adder 43, and the output thereof is (X 2 (n−1) + X 2 (n + 1)) / 2. This value and the original image data X2n are input to the subtractor 44, and X
2n- (X2 (n-1) + X2 (n + 1)) / 2 is output. This value and the coefficient K ′ are input to the multiplier 45, and K ′ × (X
2n- (X2 (n-1) + X2 (n + 1)) / 2) is output.
This value and the pixel of interest X2n are input to the adder 47, and K '* (X2n- (X2 (n-1) + X2 (n + 1)) is output as the output.
/ 2) + X2n = K * X2n + (1-K) * (X2 (n-1) +
X 2 (n + 1)) / 2 is obtained. That is, the emphasized image data Z
Is. This value and the original image data X2n are input to the selector 48, and one of them is selectively output by the output of the comparator 46. Here, K '= K-1.
【0054】比較器46には、減算器44の出力X2n−
(X 2(n−1)+X 2(n+1))/2と係数Gとが入力さ
れ、比較される。前者の値が係数Gより小さい場合、係
数Kの値を「1」とするような選択信号が出力される
(即ち、原画像データX2nを選択する)。これ以外の場
合、係数Kの値をそのままとするような選択信号が出力
される(即ち、加算器47の出力K×X2n+(1−K)
×(X 2(n−1)+X 2(n+1))/2を選択する)。係数
Gは当該イメージスキャナ100に固有のS/N比等か
ら決定される値である。係数Gの値が小さい程、有効な
微小信号を検出することができるが、逆に無効なノイズ
をも検出することになるので、装置の特性により又はオ
ペレータ指示により定められる。The comparator 46 outputs to the output X2n- of the subtractor 44.
(X2 (n-1) + X2 (n + 1)) / 2 and the coefficient G are input and compared. When the former value is smaller than the coefficient G, a selection signal for setting the value of the coefficient K to "1" is output (that is, the original image data X2n is selected). In other cases, a selection signal that leaves the value of the coefficient K as it is (that is, the output of the adder 47 is K × X2n + (1-K)).
× (X 2 (n−1) + X 2 (n + 1)) / 2 is selected). The coefficient G is a value determined from the S / N ratio or the like peculiar to the image scanner 100. The smaller the value of the coefficient G, the more effective the minute signal can be detected. However, since the ineffective noise is also detected on the contrary, it is determined by the characteristics of the device or by the operator's instruction.
【0055】従って、選択器48の出力は、比較器46
の出力が係数Kの値を「1」とするような選択信号であ
る場合には原画像データX2nとされ、これ以外の場合に
は強調画像データZとされる。選択器48の出力は遅延
回路49に入力され、半位相ずらしたタイミングで出力
される。即ち、注目画素の原画像データX2n又はその強
調画像データZとその1個後の画素の原画像データX 2
(n+1)又はその強調画像データZとが加算器50に半位
相ずれたタイミングで入力され、その出力としてこれら
の2個のデータの平均値((X2n又はZ2n)+(X 2(n
+1)又はZ 2(n+1)))/2又は(X2n又はZ2n)その
ものが出力される。即ち、強調補間画像データZであ
る。Therefore, the output of the selector 48 is the output of the comparator 46.
Is output as the original image data X2n when it is a selection signal for setting the value of the coefficient K to "1", and is otherwise emphasized image data Z. The output of the selector 48 is input to the delay circuit 49 and is output at the timing shifted by half the phase. That is, the original image data X2n of the pixel of interest or its emphasized image data Z and the original image data X2 of the pixel one after that.
(n + 1) or its emphasized image data Z is input to the adder 50 at a timing shifted by a half phase, and the average value ((X2n or Z2n) + (X2 (n
+1) or Z 2 (n + 1)) / 2 or (X 2n or Z 2n) itself is output. That is, the emphasized interpolation image data Z.
【0056】このように、強調画像データZとしては、
強調された信号の平均値のみならず、原画像データX2n
の平均値が出力される場合がある。そして、これを用い
て補間処理を行うので、強調補間画像データZとしては
原画像データX2n又はその強調データの平均値が用いら
れる。これが強調処理を補間処理に先立って行う理由で
あり、このようにすることにより経験的により鮮明なイ
メージデータが得られる。なお、このような構成により
ハードウェア量も少なくしている。In this way, as the emphasized image data Z,
Not only the average value of the emphasized signal, but the original image data X2n
The average value of may be output. Since the interpolation processing is performed using this, the original image data X2n or the average value of the emphasized data is used as the emphasized interpolated image data Z. This is the reason why the enhancement process is performed prior to the interpolation process, and by doing so, empirically clearer image data can be obtained. Note that the hardware amount is also reduced by such a configuration.
【0057】図11に示すように、原画像データX2 (n
−2)、X2 (n−1)、X2 (n+1)、X2 (n+2)が最大値/
最小値検出回路61に入力される。最大値/最小値検出
回路61により検出された4個の原画像データのうちの
最大値(X max 2n)及び最小値(X min 2n)が、減
算器62及び加算器64に入力される。As shown in FIG. 11, the original image data X2 (n
-2), X2 (n-1), X2 (n + 1), X2 (n + 2) are maximum values /
It is input to the minimum value detection circuit 61. The maximum value (X max of the four original image data detected by the maximum / minimum value detection circuit 61 2n) and minimum value (X min 2n) is input to the subtractor 62 and the adder 64.
【0058】減算器62の出力する(最大値−最小値)
=X max 2n−X min 2nと係数Hとが比較器63に入
力され、比較される。前者の値が係数Hより小さい場
合、後述の係数Tの値が「0」とされるような選択信号
が出力される(即ち、係数Sを選択する)。これ以外の
場合、係数Tの値はそのままとされるような選択信号が
出力される(即ち、(1−T)×S+T×(X max 2n
+X min 2n)/2を選択する)。係数Hは有効な画像
情報を識別するためのものである。係数Hの値が小さい
程、有効な微小信号を検出することができるが、逆に無
効なノイズをも検出することになるので、その値は装置
の特性により又はオペレータ指示により定められる。一
方、加算器64の出力する(最大値+最小値)/2=
(X max 2n+X min 2n)/2は減算器65に入力され
て係数Sとの差が出力される。この差(X max 2n+X
min 2n)/2−Sと係数Tとが乗算器66に入力さ
れ、T×((Xmax 2n+X min 2n)/2−S)が出
力される。この出力と係数Sとが加算器67に入力さ
れ、S+T×((X max 2n+X min 2n)/2−S)
=(1−T)×S+T×(X max 2n+X min 2n)/
2が出力される。即ち、浮動スライスFである。この出
力と係数Sとが選択器68に入力される。Output from subtractor 62 (maximum value-minimum value)
= X max 2n-X min 2n and coefficient H enter comparator 63
Forced and compared. When the former value is smaller than the coefficient H
Selection signal such that the value of the coefficient T described later is "0"
Is output (that is, the coefficient S is selected). Other than this
In this case, if the selection signal that leaves the value of the coefficient T unchanged
It is output (that is, (1-T) × S + T × (X max 2n
+ X min Select 2n) / 2). Coefficient H is a valid image
It is for identifying information. The value of coefficient H is small
The more effective a minute signal can be detected, the contrary
Effective noise is also detected, so the value is
Or by operator instructions. one
Output from the adder 64 (maximum value + minimum value) / 2 =
(X max 2n + X min 2n) / 2 is input to the subtractor 65
And the difference from the coefficient S is output. This difference (X max 2n + X
min 2n) / 2−S and the coefficient T are input to the multiplier 66.
T × ((Xmax 2n + X min 2n) / 2-S) appears
I will be forced. This output and the coefficient S are input to the adder 67.
S + T × ((X max 2n + X min 2n) / 2-S)
= (1−T) × S + T × (X max 2n + X min 2n) /
2 is output. That is, the floating slice F. This out
The force and the coefficient S are input to the selector 68.
【0059】従って、選択器68の出力は、比較器63
の出力が係数Tの値を「0」とするような選択信号であ
る場合には固定スライスレベルSとされ、これ以外の場
合には浮動スライスFとされる。このように、浮動スラ
イスFとしては、浮動処理されたスライス信号のみなら
ず、固定スライスレベルSがそのまま出力される場合が
ある。そして、これを用いてスライス処理が行われる。
これにより、経験的により鮮明なイメージデータが得ら
れる。なお、このような構成によりハードウェア量も少
なくしている。Therefore, the output of the selector 68 is the output of the comparator 63.
Is a fixed slice level S when the output of is a selection signal that sets the value of the coefficient T to "0", and is a floating slice F in other cases. As described above, as the floating slice F, not only the slice signal subjected to the floating process but also the fixed slice level S may be output as it is. Then, the slice processing is performed using this.
As a result, empirically clearer image data can be obtained. Note that the hardware amount is also reduced by such a configuration.
【0060】図12において、マイクロプロセッサ8か
らの密度指定の制御信号が密度制御信号形成回路90の
加算器91に入力される。例えば、前述のように、ライ
ンセンサの解像度が400dpiで密度指定の指示入力
の解像度が600dpiである場合、強調補間画像デー
タZから4個に1個の割合でデータを抜き捨てれば(言
い換えれば800個に600個の割合で取り集めれば)
600dpiの密度が実現できる。そこで、密度指定と
してセットされる値は「600」とされる。In FIG. 12, the control signal for designating the density from the microprocessor 8 is input to the adder 91 of the density control signal forming circuit 90. For example, as described above, when the resolution of the line sensor is 400 dpi and the resolution of the density designation instruction input is 600 dpi, one out of every four pieces of the emphasized interpolation image data Z is discarded (in other words, 800). If you collect 600 per piece)
A density of 600 dpi can be realized. Therefore, the value set as the density designation is set to "600".
【0061】減算器93からの出力は加算器91に入力
される。これは(800dpiの)強調補間画像データ
Zに同期して出力される「−0」又は「−800」の減
算値である。加算器91は当該タイミングで加算値を出
力する。この加算値出力は比較器92及び減算器93に
入力される。減算器93は比較器92の出力(ZOO
M)の指示によって、加算器91の値から「800」又
は「0」を引いた値を出力する。例えばZOOMがハイ
レベルならば、「800」を加算器91の値から引いた
値を出力する。The output from the subtractor 93 is input to the adder 91. This is a subtraction value of "-0" or "-800" that is output in synchronization with the (800 dpi) emphasized interpolation image data Z. The adder 91 outputs the added value at the timing. This added value output is input to the comparator 92 and the subtractor 93. The subtractor 93 outputs the output of the comparator 92 (ZOO
According to the instruction of M), a value obtained by subtracting “800” or “0” from the value of the adder 91 is output. For example, if ZOOM is at high level, a value obtained by subtracting "800" from the value of the adder 91 is output.
【0062】比較器92は、比較対象値「800」と加
算器91の加算値とを比較し、加算値が800未満であ
る場合には抜き捨てを指示する(例えばロウレベルの)
密度制御信号(ZOOM)を出力し、これ以外の場合に
はそのままの出力を指示する即ち取り集めを指示する
(例えばハイレベルの)密度制御信号を出力する。この
密度制御信号は二値化密度変換回路70及び減算器93
に入力される。The comparator 92 compares the comparison value "800" with the added value of the adder 91, and when the added value is less than 800, instructs the discard (for example, at the low level).
A density control signal (ZOOM) is output, and in other cases, a density control signal is output as it is, that is, a density control signal (for example, at a high level) that directs collection is output. This density control signal is supplied to the binarized density conversion circuit 70 and the subtractor 93.
Entered in.
【0063】減算器93は、密度制御信号が抜き捨てを
指示する場合にはその保持している内容を出力し、これ
以外の場合には(その保持している内容−800)を出
力する。The subtractor 93 outputs the held content when the density control signal indicates the discard, and outputs (the held content-800) otherwise.
【0064】以上により、密度制御信号は、800dp
iの強調補間画像データZに同期して、例えばその80
0個に600個の割合で取り集めを指示する出力(例え
ばハイレベル)とされ、これが繰り返される。なお、密
度指定の指示入力の解像度が800dpiである場合に
は、抜き捨ての必要がないので、比較器92は取り集め
を指示する信号(例えば、ハイレベル)のみを出力する
ようにされる。From the above, the density control signal is 800 dp
In synchronization with the emphasized interpolation image data Z of i, for example, 80
It is an output (for example, high level) instructing collection at a ratio of 0 to 600, and this is repeated. When the resolution of the density designation instruction input is 800 dpi, it is not necessary to discard it, so that the comparator 92 outputs only a signal (for example, high level) instructing collection.
【0065】一方、強調補間処理回路40からの強調補
間画像データZ及び浮動スライス回路60からの浮動ス
ライスFが比較器73に入力され、比較される。比較器
73の出力は、強調補間画像データZが浮動スライスF
より大きい場合には「黒(又は1)」とされ、これ以外
の場合には「白(又は0)」とされる。即ち、二値化画
像データB(に等しいデータ)が出力される。この出力
は遅延回路74に入力される。遅延回路74は所定のタ
イミングで当該注目画素の二値化画像データBとその前
後1個の二値化画像データBとを出力する。この出力及
び密度制御信号形成回路90からの密度制御信号(ZO
OM)が孤立点検出回路75に入力される。孤立点検出
回路75は、密度制御信号が抜き捨てを指示する信号で
ある場合には入力された3個の二値化画像データBを比
較して当該注目画素が孤立点であるか否かを検出し孤立
点であるか否かを指示する信号を出力し、これ以外の場
合には孤立点検出を行うことなく孤立点でないことを指
示する信号を出力する。従って、例えば図7の二値化画
像データB2nについては孤立点であることを指示する信
号が出力され、二値化画像データB 2(n+2)については
孤立点でないことを指示する信号が出力される。この出
力は選択器77に入力される。On the other hand, the emphasized interpolation image data Z from the emphasis interpolation processing circuit 40 and the floating slice F from the floating slice circuit 60 are input to the comparator 73 for comparison. The output of the comparator 73 is such that the emphasized interpolation image data Z is a floating slice F.
If it is larger, it is set to "black (or 1)", and otherwise it is set to "white (or 0)". That is, the binarized image data B (data equal to) is output. This output is input to the delay circuit 74. The delay circuit 74 outputs the binarized image data B of the pixel of interest and the one binarized image data B before and after it at a predetermined timing. This output and the density control signal (ZO
OM) is input to the isolated point detection circuit 75. When the density control signal is a signal for instructing discarding, the isolated point detection circuit 75 compares the input three binarized image data B and determines whether or not the pixel of interest is an isolated point. A signal that indicates whether or not it is an isolated point is detected and is output. In other cases, a signal that indicates that it is not an isolated point is output without performing isolated point detection. Therefore, for example, for the binarized image data B2n in FIG. 7, a signal indicating that it is an isolated point is output, and for the binarized image data B2 (n + 2), a signal indicating that it is not an isolated point is output. It This output is input to the selector 77.
【0066】強調補間処理回路40からの強調補間画像
データZは遅延回路76に入力される。遅延回路76は
所定のタイミングで当該注目画素の強調補間画像データ
Zとその1個後の画素の強調補間画像データZとを出力
する。この出力は選択器77に入力される。選択器77
は、孤立点検出回路75の出力が孤立点でないことを指
示する信号である場合には当該注目画素及びその1個後
の画素の強調補間画像データZをその順序のまま出力
し、孤立点検出回路75の出力が孤立点であることを指
示する信号である場合には当該注目画素及びその1個後
の画素の強調補間画像データZをその順序を入れ替えて
出力する。従って、例えば図7の二値化画像データB2n
についてはその1個後の二値化画像データB2n+1と入
れ替えて出力し、二値化画像データB 2(n+2)について
はその1個後の二値化画像データと入れ替えないでその
ままの順で出力する。The emphasized interpolation image data Z from the emphasis interpolation processing circuit 40 is input to the delay circuit 76. The delay circuit 76 outputs the emphasized interpolated image data Z of the pixel of interest and the emphasized interpolated image data Z of the pixel immediately after that at a predetermined timing. This output is input to the selector 77. Selector 77
When the output of the isolated point detection circuit 75 is a signal indicating that the isolated point is not an isolated point, the emphasized interpolation image data Z of the pixel of interest and the pixel one pixel after that is output in that order to detect the isolated point. When the output of the circuit 75 is a signal indicating that the pixel is an isolated point, the emphasized interpolation image data Z of the pixel of interest and the pixel one pixel after the pixel of interest are rearranged and output. Therefore, for example, the binarized image data B2n of FIG.
Is output after being replaced with the binarized image data B 2n + 1 immediately after that, and the binarized image data B 2 (n + 2) is output in the same order without being replaced with the binarized image data 1 after that. To do.
【0067】選択器77からの強調補間画像データZ、
浮動スライス回路60からの浮動スライスF、密度制御
信号形成回路90からの密度制御信号が比較器78に入
力される。比較器78は、密度制御信号が抜き捨てを指
示する信号である場合には強調補間画像データZを浮動
スライスFと比較する処理を行うことなく対応する二値
化画像データを出力せず、これ以外の場合には強調補間
画像データZを浮動スライスFと比較して二値化処理を
行う。従って、この場合の比較器78の出力は、強調補
間画像データZが浮動スライスFより大きい場合には
「黒」とされ、これ以外の場合には「白」とされる。即
ち、二値化画像データBが出力される。この出力は遅延
回路(図示せず)に入力され、出力のタイミングを調整
した後に出力される。Enhanced interpolation image data Z from the selector 77,
The floating slice F from the floating slice circuit 60 and the density control signal from the density control signal forming circuit 90 are input to the comparator 78. When the density control signal is a signal instructing the discarding, the comparator 78 does not perform the process of comparing the emphasized interpolation image data Z with the floating slice F and does not output the corresponding binarized image data. In other cases, the emphasized interpolation image data Z is compared with the floating slice F and binarization processing is performed. Therefore, the output of the comparator 78 in this case is “black” when the emphasized interpolated image data Z is larger than the floating slice F, and is “white” otherwise. That is, the binarized image data B is output. This output is input to a delay circuit (not shown) and output after adjusting the output timing.
【0068】従って、例えば図7の二値化画像データB
2nについてはその1個後の二値化画像データB2n+1と
入れ替えて出力されている。これは、当該二値化画像デ
ータB2nが孤立点であり、かつ、密度制御信号が抜き捨
てを指示する位置に当該二値化画像データB2nが存在す
るためである。選択器77における入れ替えの結果、二
値化画像データB2n+1(入れ替え後にB2nに位置して
いる)が抜き捨てられ、孤立点である二値化画像データ
B2n(入れ替え後にB2n+1に位置している)は抜き捨
てられることなく、図7に示すように、密度変換画像デ
ータBとして出力される。なお、これを図7において、
二値化画像データB2nについては「抜−取」と表し、二
値化画像データB2n+1については「取−抜」と表して
いる。Therefore, for example, the binarized image data B of FIG.
For 2n, the binarized image data B2n + 1 immediately after that is replaced and output. This is because the binarized image data B2n is an isolated point, and the binarized image data B2n is present at the position where the density control signal indicates the discarding. As a result of the replacement in the selector 77, the binarized image data B2n + 1 (located at B2n after the replacement) is discarded and the binarized image data B2n (located at B2n + 1 after the replacement) is an isolated point. The density-converted image data B is output without being discarded as shown in FIG. In addition, in FIG.
The binarized image data B2n is represented by "pull-out", and the binarized image data B2n + 1 is represented by "pull-out".
【0069】一方、二値化画像データB 2(n+2)につい
てはその1個後の二値化画像データと入れ替えないでそ
のままの順で出力されている。これは当該二値化画像デ
ータB 2(n+2)が孤立点でないためである。なお、密度
制御信号が抜き捨てを指示しない位置に当該二値化画像
データBが存在する場合にも、入れ替えなしでそのまま
の順で出力される。従って、二値化画像データB 2(n+
1)は抜き取られる。しかし、当該データは孤立点でない
ため、図7に示すように、その1個前の密度変換画像デ
ータB 2(n+1)+1が「黒」として出力されるので、本
来存在する黒の画像が密度変換及び補間処理によっても
失われることなく表示される。On the other hand, the binarized image data B 2 (n + 2) is output in that order without being replaced with the binarized image data immediately after it. This is because the binarized image data B 2 (n + 2) is not an isolated point. Even if the binarized image data B is present at a position where the density control signal does not instruct to be discarded, the binarized image data B is output in that order without replacement. Therefore, the binarized image data B 2 (n +
1) is removed. However, since the data is not an isolated point, the density-converted image data B 2 (n + 1) +1 immediately before the data is output as “black” as shown in FIG. It is displayed without loss even by conversion and interpolation processing.
【0070】[0070]
【発明の効果】以上説明したように、本発明によれば、
用紙の表面及び裏面の画像データを読み取る両面読み取
りモードを備えるイメージスキャナにおいて、当該画像
データの近傍の画像データの値に応じてそのレベルが変
動する浮動スライスレベルを用いて強調処理及び補間処
理により得た強調補間画像データの二値化を行うことに
より、擬似的に解像度を高くすると共に当該画像データ
に対する近傍の画素の影響を排除することができるの
で、光学系の構成を変更することなく信号処理により解
像度を高くすることができ、イメージスキャナのコスト
を大きく増加させることなく解像度を向上させることが
できる。また、この信号処理は簡潔なものであるので、
画像データの量が増加してもリアルタイムで信号処理を
することができ、解像度を向上するための信号処理とし
て最適な信号処理を採用して、イメージスキャナのコス
トを大きく増加させることなく解像度の向上と読み取り
速度の高速化を両立することができる。As described above, according to the present invention,
In an image scanner equipped with a double-sided reading mode that reads the image data on the front and back sides of the paper, it is obtained by emphasizing and interpolating using a floating slice level whose level fluctuates according to the value of image data near the image data. By binarizing the emphasized interpolated image data, it is possible to artificially increase the resolution and eliminate the influence of neighboring pixels on the image data. Therefore, the signal processing can be performed without changing the configuration of the optical system. Can increase the resolution, and the resolution can be improved without significantly increasing the cost of the image scanner. Also, since this signal processing is simple,
Signal processing can be performed in real time even if the amount of image data increases, and optimal signal processing is adopted as signal processing to improve resolution, improving resolution without significantly increasing the cost of the image scanner. It is possible to achieve both high reading speed and high reading speed.
【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.
【図2】イメージスキャナ構造説明図である。FIG. 2 is an explanatory diagram of an image scanner structure.
【図3】イメージスキャナ構造説明図である。FIG. 3 is an explanatory diagram of a structure of an image scanner.
【図4】イメージスキャナ構成図である。FIG. 4 is a configuration diagram of an image scanner.
【図5】高解像度化処理回路構成図である。FIG. 5 is a configuration diagram of a high resolution processing circuit.
【図6】高解像度化処理説明図である。FIG. 6 is an explanatory diagram of high resolution processing.
【図7】高解像度化処理説明図である。FIG. 7 is an explanatory diagram of high resolution processing.
【図8】高解像度化処理説明図である。FIG. 8 is an explanatory diagram of high resolution processing.
【図9】高解像度化処理回路構成図である。FIG. 9 is a configuration diagram of a high resolution processing circuit.
【図10】強調補間処理回路構成図である。FIG. 10 is a block diagram of an emphasis interpolation processing circuit.
【図11】浮動スライス回路構成図である。FIG. 11 is a configuration diagram of a floating slice circuit.
【図12】二値化密度変換回路構成図である。FIG. 12 is a configuration diagram of a binarization density conversion circuit.
1 第1の読み取り手段 8 マイクロプロセッサ 30 遅延回路 40 強調補間処理回路 41 補間処理回路 42 強調処理回路 51 高解像度化処理回路 52 データ信号形成回路 60 浮動スライス回路 70 二値化密度変換回路 71 二値化処理回路 72 密度変換処理回路 90 密度制御信号生成回路 100 イメージスキャナ 200 ホストコンピュータ 300 用紙 1 First reading means 8 microprocessors 30 delay circuits 40 emphasis interpolation processing circuit 41 Interpolation processing circuit 42 emphasis processing circuit 51 High resolution processing circuit 52 data signal forming circuit 60 floating slice circuits 70 Binary density conversion circuit 71 Binarization processing circuit 72 Density conversion processing circuit 90 Density control signal generation circuit 100 image scanner 200 host computer 300 sheets
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 - 5/50 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06T 1/00-5/50
Claims (3)
段と、 前記読み取り手段の読み取った画像データに所定の演算
を施してイメージデータを形成する信号処理手段とを備
えるイメージスキャナであって、 前記信号処理手段が、 前記読み取り手段の読み取った画像データに所定の処理
を施してイメージデータを形成するデータ信号形成回路
と、 前記データ信号形成回路の形成したイメージデータに所
定の演算を施して二値化画像データを形成する高解像度
化処理回路とを備え、 前記高解像度化処理回路が、 前記読み取り手段が読み取った画像データについて、強
調処理を行ない、この後、強調の度合いを表す強調係数
と前記強調係数を修正する係数と当該画像データの前後
の所定の個数の画像データとを用いた補間処理を行い、
強調補間画像データを形成する強調補間処理回路と、 前記読み取り手段が読み取った画像データについての浮
動スライスレベルであって、当該画像データの近傍の画
像データの値に応じてそのレベルが変動する浮動スライ
スレベルを、浮動の度合いを表す浮動係数と、前記浮動
係数を修正する係数と、固定スライスレベルである更に
他の係数と、前記強調補間処理回路からの強調補間画像
データにおける当該画像データの前後の所定の個数の画
像データとを用いて求め、所定の場合には固定スライス
レベルを出力する浮動スライス回路と、 前記浮動スライス回路からの浮動スライスレベルを用い
て、前記強調補間処理回路からの強調補間画像データの
二値化を行い二値化画像データを形成する二値化密度変
換回路とを備えることを特徴とするイメージスキャナ。1. An image scanner, comprising: reading means for reading image data on a sheet; and signal processing means for forming image data by performing a predetermined operation on the image data read by the reading means. A data signal forming circuit for forming image data by performing a predetermined process on the image data read by the reading unit; and a binary image by performing a predetermined operation on the image data formed by the data signal forming circuit. A resolution-enhancing processing circuit for forming data, wherein the resolution-enhancing processing circuit performs an enhancement process on the image data read by the reading means, and thereafter, an enhancement coefficient indicating the degree of enhancement and the enhancement coefficient. Performs an interpolation process using a coefficient for correcting and a predetermined number of image data before and after the image data,
An enhancement interpolation processing circuit that forms enhanced interpolation image data, and a floating slice level for the image data read by the reading unit, the floating slice level varying according to the value of image data in the vicinity of the image data. The level is a floating coefficient that represents the degree of floating, a coefficient that modifies the floating coefficient, yet another coefficient that is a fixed slice level, and a value before and after the image data in the emphasized interpolation image data from the emphasis interpolation processing circuit. A floating slice circuit that outputs a fixed slice level in a predetermined case using a predetermined number of image data and a floating slice level from the floating slice circuit is used to perform emphasis interpolation from the emphasis interpolation processing circuit. And a binarization density conversion circuit for binarizing the image data to form binarized image data. Image scanner.
指定の指示入力に従って密度制御信号を形成する密度制
御信号生成回路を備え、 前記二値化密度変換回路が、前記密度制御信号に従っ
て、前記強調補間処理回路からの強調補間画像データか
ら所定の割合でデータを抜き捨て、当該密度制御信号に
対応したデータ密度の密度変換画像データを形成するこ
とを特徴とする請求項1に記載のイメージスキャナ。2. The resolution increasing processing circuit further includes a density control signal generation circuit that forms a density control signal according to a density designation instruction input, and the binarization density conversion circuit according to the density control signal, The image according to claim 1 , wherein the enhanced interpolation image data from the enhanced interpolation processing circuit is discarded at a predetermined ratio to form density-converted image data having a data density corresponding to the density control signal. Scanner.
間処理回路からの強調補間画像データにおける孤立点を
検出し、当該孤立点に存在する強調補間画像データが前
記抜き捨ての対象である場合にその位置を変更すること
を特徴とする請求項2に記載のイメージスキャナ。3. The binarization density conversion circuit detects an isolated point in the enhanced interpolation image data from the enhanced interpolation processing circuit, and the enhanced interpolation image data existing at the isolated point is the object of the discarding. The image scanner according to claim 2 , wherein the position is changed in some cases.
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33058496A JP3422901B2 (en) | 1996-12-11 | 1996-12-11 | Image scanner |
| DE19758688A DE19758688B4 (en) | 1996-12-11 | 1997-12-10 | Document scanner and image processor - has reading unit and associated signal processor to create image data, with amplifier and interpolator including variable signal level control |
| DE1997155910 DE19755910B4 (en) | 1996-12-11 | 1997-12-10 | image scanner |
| US08/989,139 US6122077A (en) | 1996-12-11 | 1997-12-11 | Image scanner |
| US09/497,401 US6333795B1 (en) | 1996-12-11 | 2000-02-03 | Image scanner |
| US09/826,912 US6760131B2 (en) | 1996-12-11 | 2001-04-06 | Image scanner |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33058496A JP3422901B2 (en) | 1996-12-11 | 1996-12-11 | Image scanner |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH10171970A JPH10171970A (en) | 1998-06-26 |
| JP3422901B2 true JP3422901B2 (en) | 2003-07-07 |
Family
ID=18234290
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33058496A Expired - Lifetime JP3422901B2 (en) | 1996-12-11 | 1996-12-11 | Image scanner |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3422901B2 (en) |
-
1996
- 1996-12-11 JP JP33058496A patent/JP3422901B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH10171970A (en) | 1998-06-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6760131B2 (en) | Image scanner | |
| US4447830A (en) | Image scanning apparatus and method | |
| JP2575476B2 (en) | Image signal processing method and apparatus | |
| US6469801B1 (en) | Scanner with prepress scaling mode | |
| EP1102468B1 (en) | Image scanning apparatus, image forming apparatus, image forming system, image scanning control method, and storage medium | |
| EP1307039A2 (en) | Image processing apparatus and image scanning apparatus | |
| US7483176B2 (en) | Image processing apparatus and method | |
| EP0999697A3 (en) | An image scanner having image correcting function | |
| JP3710452B2 (en) | Image reading apparatus, data interpolation method, and control program | |
| US5086486A (en) | Apparatus for reading a document and processing the image | |
| JP3422901B2 (en) | Image scanner | |
| JP2000059611A (en) | Tilt correction device and image reader | |
| JP2996692B2 (en) | Picture reader | |
| US7336390B2 (en) | Method and apparatus for reducing multi-bit image data | |
| US6496274B1 (en) | Scanner with prepress mode | |
| JP2003198777A (en) | Image processing device | |
| JPH09233323A (en) | Digital image reader | |
| JP2002290727A (en) | Image processing method, apparatus, storage medium, and program | |
| JP3451490B2 (en) | Image information processing method | |
| JP3493086B2 (en) | Image reading device | |
| JP3210378B2 (en) | Image input device | |
| JP2001111821A (en) | Image reading device | |
| JP3526216B2 (en) | Image processing device | |
| JP2900343B2 (en) | Image processing device | |
| JPH07322061A (en) | Method and device for distinguishing characters and photographs |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120425 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120425 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130425 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130425 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140425 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term |