JPH08111774A - Image reading device - Google Patents

Image reading device

Info

Publication number
JPH08111774A
JPH08111774A JP6245231A JP24523194A JPH08111774A JP H08111774 A JPH08111774 A JP H08111774A JP 6245231 A JP6245231 A JP 6245231A JP 24523194 A JP24523194 A JP 24523194A JP H08111774 A JPH08111774 A JP H08111774A
Authority
JP
Japan
Prior art keywords
pixel
image
circuit
output
interpolation
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
JP6245231A
Other languages
Japanese (ja)
Inventor
Atsushi Kubota
敦 久保田
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.)
TEC CORP
Original Assignee
TEC CORP
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 TEC CORP filed Critical TEC CORP
Priority to JP6245231A priority Critical patent/JPH08111774A/en
Publication of JPH08111774A publication Critical patent/JPH08111774A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4007Interpolation-based scaling, e.g. bilinear interpolation

Abstract

PURPOSE: To attain the conversion of image resolution with high resolution/ gradation performance by maintaining the image resolution performance to the thick lines as well as the characters and line drawings and also maintaining the image gradation performance to the photo images. CONSTITUTION: The pixel data nk, nk+1, nk+2 and nk+3 are successively stored in the delay circuits 17 to 14, and a pattern detection means 18 detects a density change pattern based on the output of each delay circuit and outputs a selection signal ss. At the same time, a linear interpolation means 20 performs the linear interpolation of (nk+1+nk+2)/2 based on the outputs of delay circuits 15 and 16. Then a switch circuit 19 selects the linear interpolation data received from the means 20, the output of the circuit 16 or the output of the circuit 16 to output them as the interpolation data based on the signal ss received from the means 18.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ラインイメージセンサ
をラスタ走査して画像を読取りつつ補間画素を挿入して
解像度変換する画像読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus for rasterizing a line image sensor to read an image and inserting interpolation pixels to convert the resolution.

【0002】[0002]

【従来の技術】例えば、ファクシミリ装置などでは原稿
の画像を1ラインずつ読取るライン画像読取り方式が採
用されている。この種の装置では、多数の光電変換素子
をライン上に配置したCCD(電荷結合素子)あるいは
PDA(フォト・ダイオード・アレイ)などのラインイ
メージセンサを備え、このラインイメージセンサ内の光
電変換素子の配列密度に対応するドット密度でラインイ
メージを読取るようになっている。
2. Description of the Related Art For example, a facsimile apparatus or the like employs a line image reading system for reading an image of an original one line at a time. This type of device is provided with a line image sensor such as a CCD (charge coupled device) or a PDA (photo diode array) in which a large number of photoelectric conversion elements are arranged on a line. A line image is read at a dot density corresponding to the array density.

【0003】このような構成ではラインイメージのドッ
ト密度はラインイメージセンサ内の光電変換素子の配列
密度に依存する。従って、読取りドット密度を高めるに
はラインイメージセンサの光電変換素子の配列密度を高
める必要がある。
In such a structure, the dot density of the line image depends on the arrangement density of the photoelectric conversion elements in the line image sensor. Therefore, in order to increase the read dot density, it is necessary to increase the array density of photoelectric conversion elements of the line image sensor.

【0004】しかし、ラインイメージセンサを高密度化
するには製造上の各種問題があるため、非常に高価なも
のとなり実用上課題がある。
However, there are various manufacturing problems in increasing the density of the line image sensor, which is very expensive and poses a practical problem.

【0005】このようなことから従来は、図10に示す
ように原画像をCCDラインイメージセンサ1により、
ラスタ走査して画像信号を得て、この画像信号をA/D
コンバータ2によりA/D変換し、nビットの各画素に
対応するデジタル画像データを形成し、このnビットの
画像データを、速度変換のために一旦メモリ3に格納
し、その後、補間処理回路4からの制御によってメモリ
3に格納された画像データを読出し、この読出した画像
データに所定の画像を加える補間挿入処理を行うことに
より、主走査方向に拡大、すなわち高解像度化された画
像信号を得るようにしていた。
Therefore, conventionally, as shown in FIG. 10, an original image is read by the CCD line image sensor 1.
The image signal is obtained by raster scanning and this image signal is A / D
A / D conversion is performed by the converter 2 to form digital image data corresponding to each n-bit pixel, the n-bit image data is temporarily stored in the memory 3 for speed conversion, and then the interpolation processing circuit 4 The image data stored in the memory 3 is read out under the control of 1), and an interpolation insertion process is performed to add a predetermined image to the read out image data, thereby obtaining an image signal enlarged in the main scanning direction, that is, a high-resolution image signal. Was doing.

【0006】例えば、A/Dコンバータ2から図11の
(a) に示すような〜…と連続する画素に対応する画
像データが出力された場合に、これらの画素の解像度を
2倍に高めるには図11の(b) に示すように各画素〜
…の間に同一の画素〜…を挿入することにより実
現している。
For example, from the A / D converter 2 shown in FIG.
As shown in (a), when image data corresponding to consecutive pixels such as ~ is output, in order to double the resolution of these pixels, each pixel can be increased as shown in (b) of FIG.
It is realized by inserting the same pixel to ... between.

【0007】しかしこの装置では拡大処理に伴う画像デ
ータの挿入補間処理のためにラインメモリが最低必要と
なり、また制御も複雑化するという問題があった。
However, this apparatus has a problem that the line memory is at least required for the insertion interpolation processing of the image data accompanying the enlargement processing, and the control becomes complicated.

【0008】そこで、特開平5−14691号公報で
は、図12に示すように、原画像をCCDラインイメー
ジセンサ5により、ラスタ走査して画像信号を得て、こ
の画像信号をA/Dコンバータ6によりA/D変換し、
nビットの各画素に対応するデジタル画像データを形成
し、このnビットの画像データをサンプリング回路7に
よりCCDラインイメージセンサ5の読取り速度より大
きい一定の速度でサンプリングし、さらにこのサンプリ
ング回路7の出力を間引き回路8により所定のタイミン
グで間引くことにより上述した課題の解決を図ってい
る。
Therefore, in Japanese Unexamined Patent Publication (Kokai) No. 5-14691, as shown in FIG. 12, an original image is raster-scanned by a CCD line image sensor 5 to obtain an image signal, and this image signal is converted into an A / D converter 6 A / D conversion by
Digital image data corresponding to each n-bit pixel is formed, the n-bit image data is sampled by the sampling circuit 7 at a constant speed higher than the reading speed of the CCD line image sensor 5, and further the output of the sampling circuit 7 The thinning circuit 8 thins out the signals at a predetermined timing to solve the above-mentioned problem.

【0009】例えばA/Dコンバータ6から図13の
(a) に示すような〜…と連続する画素に対応する画
像データが出力された場合に、これらの画素の解像度を
1.5倍に高めるには、サンプリング回路7によりA/
D変換速度の2倍の速度でサンプリングして図13の
(b) に示すような〜…の2倍に拡大した画
像データを得、これを間引き回路8により倍率3/4に
なるように間引く。すなわち、図13の(c) に示すよう
に例えば画素,,…を1つずつ間引く。こうして
ラスタ方向に1.5倍に拡大、すなわち1.5倍に解像
度を上げた画像データを得るようにしている。
For example, from the A / D converter 6 to FIG.
When the image data corresponding to the pixels continuous with ... as shown in (a) is output, in order to increase the resolution of these pixels by 1.5 times, the sampling circuit 7
Sampling at a speed twice the D conversion speed
As shown in (b), image data enlarged to 2 times of .about. is obtained, and the thinning circuit 8 thins out the image data so that the magnification becomes 3/4. That is, as shown in FIG. 13C, for example, pixels, ... Are thinned one by one. In this way, image data having a magnification of 1.5 times in the raster direction, that is, a resolution of 1.5 times is obtained.

【0010】[0010]

【発明が解決しようとする課題】しかしこの公報のよう
に、A/D変換した画像データを単純に拡大してから間
引きを行って高解像度の画像データを得るものでは、文
字や線画などに対しては細線情報を保存できるが、太線
などではジャギが発生して解像性が劣り、また写真画像
に対しては階調性が失われるという問題があった。
However, in the case of obtaining high-resolution image data by simply enlarging A / D-converted image data and then thinning it out as in this publication, characters and line drawings, etc. Although the thin line information can be stored, there is a problem that a thick line or the like causes jaggies and the resolution is inferior, and the gradation of a photographic image is lost.

【0011】そこで、請求項1対応の発明は、文字や線
画は勿論、太線などに対しても解像性を維持でき、また
写真画像に対しては階調性を維持でき、従って、解像性
及び階調性に優れた解像度変換ができる画像読取装置を
提供する。
Therefore, the invention according to claim 1 can maintain the resolution not only for characters and line drawings but also for thick lines and the like, and can also maintain the gradation for photographic images. Provided is an image reading device capable of resolution conversion excellent in image quality and gradation.

【0012】また、請求項2対応の発明は、文字や線画
は勿論、太線などに対しても解像性を維持でき、また写
真画像に対しては階調性を維持でき、従って、解像性及
び階調性に優れた解像度変換ができ、さらに解像度変換
する処理と解像度変換しない処理を任意に選択でき、汎
用性を向上できる画像読取装置を提供する。
In the invention according to claim 2, the resolution can be maintained not only for characters and line drawings, but also for thick lines and the like, and gradation can be maintained for photographic images. Provided is an image reading apparatus capable of performing resolution conversion excellent in image quality and gradation, and further capable of arbitrarily selecting resolution conversion processing and resolution conversion-free processing, thereby improving versatility.

【0013】[0013]

【課題を解決するための手段】請求項1対応の発明は、
ラインイメージセンサをラスタ走査して画像を読取りつ
つ補間画素を挿入して解像度変換する画像読取装置にお
いて、補間の対象となる画素を中心にラスタ方向に前後
にk(但し、kは整数)画素の画像濃度の変化パターン
を検出するパターン検出手段と、補間の対象となる画素
を含み隣接する前後の画素と線形補間する線形補間手段
と、パターン検出手段からの画像濃度の変化パターン検
出結果に基づいて線形補間手段が線形補間した結果及び
隣接する前後の画素個々のいずれかを選択する選択手段
とを備え、選択手段の選択結果から解像度変換した画素
を得るものである。
The invention according to claim 1 is
In an image reading apparatus for performing resolution conversion by inserting interpolation pixels while reading an image by raster scanning the line image sensor, k (where k is an integer) pixels in the raster direction are centered around the pixel to be interpolated. Based on the pattern detection means for detecting the change pattern of the image density, the linear interpolation means for linearly interpolating with the neighboring pixels including the pixel to be interpolated, and the detection result of the change pattern of the image density from the pattern detection means. The linear interpolation means is provided with a result of the linear interpolation and a selection means for selecting one of the adjacent pixels before and after the pixel, and the resolution-converted pixel is obtained from the selection result of the selection means.

【0014】請求項2対応の発明は、ラインイメージセ
ンサをラスタ走査して画像を読取りつつ補間画素を挿入
して解像度変換する画像読取装置において、補間の対象
となる画素を中心にラスタ方向に前後にk(但し、kは
整数)画素の画像濃度の変化パターンを検出するパター
ン検出手段と、補間の対象となる画素を含み隣接する前
後の画素と線形補間する線形補間手段と、パターン検出
手段からの画像濃度の変化パターン検出結果に基づいて
線形補間手段が線形補間した結果及び隣接する前後の画
素個々のいずれかを選択する機能と読取った画素を補間
の対象とせずにそのまま出力する機能を有する選択手段
と、この選択手段の各機能を切替え制御する切替え制御
手段とを備え、選択手段の選択機能を動作させるときに
は選択結果から挿入する補間画素を得るものである。
According to a second aspect of the present invention, in an image reading apparatus for performing resolution conversion by inserting interpolation pixels while reading an image by raster scanning a line image sensor, the pixels to be interpolated are centered in the front-back direction in the raster direction. A pattern detecting means for detecting a change pattern of image density of k (where k is an integer) pixels, a linear interpolating means for linearly interpolating adjacent pixels before and after including a pixel to be interpolated, and a pattern detecting means. The linear interpolation means has a function of selecting linearly interpolated results based on the detection result of the change pattern of the image density, and a function of selecting any of the adjacent pixels before and after, and a function of outputting the read pixel as it is without subjecting it to interpolation. The selection means and the switching control means for switching and controlling each function of the selection means are provided, and when the selection function of the selection means is operated, it is inserted from the selection result. It is intended to obtain the interpolated pixels.

【0015】[0015]

【作用】請求項1対応の発明においては、補間の対象と
なる画素を中心にラスタ方向に前後にk画素の画像濃度
の変化パターンを検出し、画像濃度の変化パターン検出
結果に基づいて線形補間手段が線形補間した結果を出力
するか、補間の対象となる画素を含む隣接する前後の画
素どちらかをそのまま出力するかを選択する。
According to the first aspect of the invention, the image density change pattern of k pixels is detected forward and backward in the raster direction around the pixel to be interpolated, and linear interpolation is performed based on the image density change pattern detection result. The means selects whether to output the result of the linear interpolation, or to directly output either the adjacent pixels before and after the pixel including the pixel to be interpolated.

【0016】請求項2対応の発明においては、さらに、
画像濃度の変化パターン検出結果に基づいて線形補間手
段が線形補間した結果を出力するか、補間の対象となる
画素を含む隣接する前後の画素どちらかをそのまま出力
するかを選択する処理と読取った画素を補間の対象とせ
ずにそのまま出力する処理とを任意に切り替えることが
できる。
In the invention corresponding to claim 2, further,
It was read as a process of selecting whether to output the result of the linear interpolation performed by the linear interpolation means based on the detection result of the change pattern of the image density, or to directly output either the adjacent pixels before and after the pixel including the pixel to be interpolated. It is possible to arbitrarily switch between the process of directly outputting the pixel without subjecting it to the interpolation.

【0017】[0017]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】(第1の実施例)この実施例は請求項1に
対応した実施例である。なお、この実施例は200dp
iのラインイメージセンサを使用して400dpiの解
像度の画像データを得る場合について述べる。
(First Embodiment) This embodiment is an embodiment corresponding to claim 1. In this example, 200 dp
A case where image data having a resolution of 400 dpi is obtained by using the line image sensor i will be described.

【0019】図1に示すように、1次元センサであるC
CDラインイメージセンサ11により原画像をラスタ走
査して読取るようになっている。前記ラインイメージセ
ンサ11からの画像信号をA/D変換器12によりアナ
ログ信号からデジタル信号に変換し、nビットのデジタ
ル画像データを出力するようになっている。
As shown in FIG. 1, the one-dimensional sensor C
The CD line image sensor 11 raster-scans and reads the original image. The image signal from the line image sensor 11 is converted from an analog signal to a digital signal by the A / D converter 12, and n-bit digital image data is output.

【0020】前記A/D変換器12からのデジタル画像
データを補正回路13に入力し、この補正回路13でシ
ェーディング補正やγ補正などの補正を行うようになっ
ている。
Digital image data from the A / D converter 12 is input to a correction circuit 13, and the correction circuit 13 performs corrections such as shading correction and γ correction.

【0021】前記補正回路13で補正したデジタル画像
データを例えば、D型フリップフロップで構成した4個
の遅延回路14,15,16,17に順次シフトして入
力している。
The digital image data corrected by the correction circuit 13 is sequentially shifted and input to four delay circuits 14, 15, 16, 17 constituted by D-type flip-flops, for example.

【0022】前記遅延回路14〜17の出力をパターン
検出手段18に供給し、前記遅延回路15,16の出力
をそのまま切換回路19に供給すると共に線形補間手段
20に供給している。
The outputs of the delay circuits 14 to 17 are supplied to the pattern detection means 18, and the outputs of the delay circuits 15 and 16 are supplied to the switching circuit 19 as they are and to the linear interpolation means 20.

【0023】21はタイミング回路で、このタイミング
回路21は、前記イメージラインセンサ11、A/D変
換器12、各遅延回路14〜17及び切換回路19の動
作タイミングを制御する信号を発生している。
Reference numeral 21 denotes a timing circuit, which generates signals for controlling the operation timing of the image line sensor 11, the A / D converter 12, the delay circuits 14 to 17 and the switching circuit 19. .

【0024】前記切換回路19は前記タイミング回路2
1からの制御クロック信号sに応動し、前記パターン検
出手段18からの選択信号ssに基づいて、前記線形補
間手段20からの信号を出力するか前記遅延回路15,
16の信号のどちらを出力か選択するようになってい
る。
The switching circuit 19 is the timing circuit 2
1 in response to the control clock signal s from the pattern detection means 18 and outputs the signal from the linear interpolation means 20 based on the selection signal ss from the pattern detection means 18 or the delay circuit 15,
Which of the 16 signals is to be output is selected.

【0025】前記ラインイメージセンサ11は図2の
(a) に示すスタート信号ににより、図2の(b) に示す駆
動クロックに同期してラスタ走査し、図2の(c) に示す
ような画像信号を出力する。なお、図2の(c) のxk 画
素の期間はクランプ期間であり、xd 画素はダミービッ
トである。従って、実際の画像信号はダミービットに後
に出力するようになる。
The line image sensor 11 shown in FIG.
With the start signal shown in FIG. 2A, raster scanning is performed in synchronization with the drive clock shown in FIG. 2B, and an image signal as shown in FIG. 2C is output. The period of the xk pixel in FIG. 2C is the clamp period, and the xd pixel is a dummy bit. Therefore, the actual image signal is output to the dummy bit later.

【0026】図2の(d) はサンプルホールド信号で、こ
の信号の立上がりエッジで画像信号を保持し、この保持
した信号を次段のA/D変換器12でnビットのデジタ
ル信号に変換する。このようにして補正回路13に1画
素目の画素信号から順次入力している。
2D shows a sample hold signal, which holds an image signal at the rising edge of this signal and converts the held signal into an n-bit digital signal by the A / D converter 12 in the next stage. . In this way, the pixel signals of the first pixel are sequentially input to the correction circuit 13.

【0027】補正回路13はnビットのデジタル信号か
らなる画像データを補正して図2の(e) に示す画像デー
タを出力する。この画像データは各遅延回路14〜17
に順次シフトして入力するが、各遅延回路14〜17は
図2の(l) に示すタイミング回路21からの制御クロッ
ク信号に同期してシフト動作を行い、図2の(f) 〜(i)
に示すように1画素ずつ遅延した画像データを出力す
る。
The correction circuit 13 corrects the image data consisting of an n-bit digital signal and outputs the image data shown in (e) of FIG. This image data is sent to each delay circuit 14-17.
The delay circuits 14 to 17 perform the shift operation in synchronization with the control clock signal from the timing circuit 21 shown in (l) of FIG. 2 to input (f) to (i of FIG. )
The image data delayed by one pixel is output as shown in FIG.

【0028】図2の(j) は読取り有効期間を示す信号
で、この信号がハイレベルのとき読取りが有効となり、
ローレベルのときは各遅延回路14〜17は初期化され
るようになっている。なお、図2の(k) は補間した画像
データを示している。
FIG. 2 (j) is a signal showing a read valid period. When this signal is at a high level, the reading becomes valid,
At the low level, the delay circuits 14 to 17 are initialized. 2 (k) shows the interpolated image data.

【0029】この装置では補間処理を図3に示すように
行う。図3の(a) は解像度変換する前の原画像の画素デ
ータで各画素データnk ,nk+1 ,nk+2 ,nk+3 がそ
れぞれ遅延回路14〜17にnk+3 ,nk+2 ,nk+1,
nk の順に入力されているとする。このとき補間の対象
となる画素をk+1番目の画素である遅延回路16の画
素nk+1 とすると、この画素nk+1 は補間されてnk+1
,n0k+1の画素データとなる。
In this apparatus, interpolation processing is performed as shown in FIG. 3A shows the pixel data of the original image before resolution conversion, and each pixel data nk, nk + 1, nk + 2, nk + 3 is input to the delay circuits 14 to nk + 3, nk + 2, nk + 1,
It is assumed that the data are input in the order of nk. At this time, if the pixel to be interpolated is the pixel nk + 1 of the delay circuit 16 which is the k + 1th pixel, this pixel nk + 1 is interpolated to nk + 1.
, N0k + 1 pixel data.

【0030】すなわち、各遅延回路14〜17の画素デ
ータはパターン検出手段18に供給されると共に、遅延
回路15,16の画素データはさらに線形補間手段20
及び切換回路19に供給される。
That is, the pixel data of each of the delay circuits 14 to 17 is supplied to the pattern detecting means 18, and the pixel data of the delay circuits 15 and 16 is further linearly interpolating means 20.
And to the switching circuit 19.

【0031】そしてタイミング回路21からの制御クロ
ック信号sがハイレベルのときには切換回路19は遅延
回路16の画素データnk+1 をそのまま出力し、制御ク
ロック信号sがローレベルのときには切換回路19はパ
ターン検出手段18のパターン検出結果に基づいて遅延
回路16の画素データnk+1 、遅延回路15の画素デー
タnk+2 、線形補間手段20の出力のいずれかを選択し
て出力する。
When the control clock signal s from the timing circuit 21 is at high level, the switching circuit 19 outputs the pixel data nk + 1 of the delay circuit 16 as it is, and when the control clock signal s is at low level, the switching circuit 19 is patterned. Based on the pattern detection result of the detection means 18, any one of the pixel data nk + 1 of the delay circuit 16, the pixel data nk + 2 of the delay circuit 15 and the output of the linear interpolation means 20 is selected and output.

【0032】そして各遅延回路14〜17の画素データ
を1画素ずつシフトして遅延回路16の画素データを補
間処理することにより、画素データは図3の(b) に示す
ようにnk ,n0k,nk+1 ,n0k+1,nk+2 ,n0k+2,
nk+3 ,n0k+3となる。これを1走査繰り返すことによ
り解像度を2倍にした画像データを得ることができる。
すなわち、200dpiを400dpiに変換できるこ
とになる。
By interpolating the pixel data of the delay circuit 16 by shifting the pixel data of each of the delay circuits 14 to 1 pixel by pixel, the pixel data are nk, n0k, as shown in FIG. 3 (b). nk + 1, n0k + 1, nk + 2, n0k + 2,
nk + 3 and n0k + 3. By repeating this one scan, it is possible to obtain image data having a resolution doubled.
That is, 200 dpi can be converted to 400 dpi.

【0033】前記パターン検出手段18ではパターン検
出は表1に基づいて行うようになっている。
The pattern detecting means 18 is adapted to detect the pattern based on Table 1.

【表1】 すなわち、画素nk と画素nk+1 との濃度値を比較しn
k ≦nk+1 であれば↑、nk >nk+1 であれば↓と判定
する。また、画素nk+1 と画素nk+2 との濃度値を比較
しnk+1 ≦nk+2 であれば↑、nk+1 >nk+2 であれば
↓と判定する。
[Table 1] That is, the density values of pixel nk and pixel nk + 1 are compared and n
If k ≦ nk + 1, ↑ is determined, and if nk> nk + 1, ↓ is determined. Further, the density values of the pixel nk + 1 and the pixel nk + 2 are compared, and if nk + 1 ≦ nk + 2, ↑ is determined, and if nk + 1> nk + 2, ↓ is determined.

【0034】また、画素nk+2 と画素nk+3 との濃度値
を比較しnk+2 ≦nk+3 であれば↑、nk+2 >nk+3 で
あれば↓と判定する。このような判定を行うことにより
表1に(a) 〜(h) で示すように8通りの変化パターンに
分類される。
Further, the density values of the pixel nk + 2 and the pixel nk + 3 are compared with each other, and if nk + 2 ≦ nk + 3, ↑ is determined, and if nk + 2> nk + 3, ↓ is determined. By making such a determination, as shown in Table 1 (a) to (h), eight types of change patterns are classified.

【0035】そして濃度値の大きさは黒濃度を表してい
るとすれば、判定結果が(a) の「↓↓↓」であれば主走
査方向に黒から白に滑らかに濃度が変化していると推測
し、画素n0k+1をnk+1 とnk+2 との線形補間、すなわ
ち、線形補間手段20で線形補間した(nk+1 +nk+2
)/2で補間する。このときパターン検出手段18か
ら切換回路19に供給する選択信号ssを「000」と
する。
Assuming that the magnitude of the density value represents the black density, if the determination result is “↓↓↓” in (a), the density changes smoothly from black to white in the main scanning direction. That the pixel n0k + 1 is linearly interpolated between nk + 1 and nk + 2, that is, linearly interpolated by the linear interpolating means 20 (nk + 1 + nk + 2).
) / 2 is interpolated. At this time, the selection signal ss supplied from the pattern detecting means 18 to the switching circuit 19 is set to "000".

【0036】また、判定結果が(b) の「↓↓↑」であれ
ば黒から変化する白のピーク値、すなわちnk+2 が最小
濃度値となる変化をしていると推測し、この場合は画素
n0k+1を最小値のnk+2 とする。このときパターン検出
手段18から切換回路19に供給する選択信号ssを
「001」とする。
If the determination result is "↓↓ ↑" in (b), it is estimated that the white peak value changing from black, that is, nk + 2 is the minimum density value. In this case, Sets the pixel n0k + 1 to the minimum value nk + 2. At this time, the selection signal ss supplied from the pattern detecting means 18 to the switching circuit 19 is set to "001".

【0037】また、判定結果が(c) の「↓↑↓」であれ
ば黒から始まるギザギザの変化をしていると推測し、こ
の場合は画素n0k+1をnk+1 とnk+2 との線形補間、す
なわち、線形補間手段20で線形補間した(nk+1 +n
k+2 )/2で補間する。このときパターン検出手段18
から切換回路19に供給する選択信号ssを「010」
とする。
If the determination result is "↓ ↑ ↓" in (c), it is assumed that there is a jagged change starting from black. In this case, the pixel n0k + 1 is changed to nk + 1 and nk + 2. Linear interpolation, that is, linear interpolation is performed by the linear interpolation means 20 (nk + 1 + n
Interpolate with k + 2) / 2. At this time, the pattern detection means 18
The selection signal ss supplied from the switch circuit 19 to the switching circuit 19 is "010".
And

【0038】また、判定結果が(d) の「↓↑↑」であれ
ば白ピーク値から黒に変化する、すなわち、nk+1 が最
大濃度値となる変化をしていると推測し、この場合は画
素n0k+1を最大値のnk+1 とする。このときパターン検
出手段18から切換回路19に供給する選択信号ssを
「011」とする。
If the determination result is "↓ ↑↑" in (d), it is presumed that the white peak value changes to black, that is, nk + 1 becomes the maximum density value. In this case, the pixel n0k + 1 is set to the maximum value nk + 1. At this time, the selection signal ss supplied from the pattern detecting means 18 to the switching circuit 19 is set to "011".

【0039】また、判定結果が(e) の「↑↓↓」であれ
ば黒ピーク値から白に変化する、すなわち、nk+1 が最
小濃度値となる変化をしていると推測し、この場合は画
素n0k+1を最小値のnk+1 とする。このときパターン検
出手段18から切換回路19に供給する選択信号ssを
「100」とする。
If the judgment result is (↑ ↓↓) in (e), it is presumed that the black peak value changes to white, that is, nk + 1 becomes the minimum density value. In this case, the pixel n0k + 1 is set to the minimum value nk + 1. At this time, the selection signal ss supplied from the pattern detecting means 18 to the switching circuit 19 is set to "100".

【0040】また、判定結果が(f) の「↑↓↑」であれ
ば白から始まるギザギザの変化をしていると推測し、こ
の場合は画素n0k+1をnk+1 とnk+2 との線形補間、す
なわち、線形補間手段20で線形補間した(nk+1 +n
k+2 )/2で補間する。このときパターン検出手段18
から切換回路19に供給する選択信号ssを「101」
とする。
If the judgment result is "↑ ↓ ↑" in (f), it is assumed that there is a jagged change starting from white. In this case, the pixel n0k + 1 is changed to nk + 1 and nk + 2. Linear interpolation, that is, linear interpolation is performed by the linear interpolation means 20 (nk + 1 + n
Interpolate with k + 2) / 2. At this time, the pattern detection means 18
The selection signal ss supplied from the switch circuit 19 to the switching circuit 19 is "101".
And

【0041】また、判定結果が(g) の「↑↑↓」であれ
ば白から変化する黒ピーク値、すなわちnk+2 が最大濃
度値となる変化をしていると推測し、この場合は画素n
0k+1を最大値のnk+2 とする。このときパターン検出手
段18から切換回路19に供給する選択信号ssを「1
10」とする。
If the determination result is “↑↑ ↓” of (g), it is estimated that the black peak value changing from white, that is, nk + 2 is the maximum density value. In this case, Pixel n
Let 0k + 1 be the maximum value nk + 2. At this time, the selection signal ss supplied from the pattern detecting means 18 to the switching circuit 19 is set to "1.
10 ".

【0042】また、判定結果が(h) の「↑↑↑」であれ
ば主走査方向に白から黒に滑らかに濃度が変化している
と推測し、この場合も画素n0k+1をnk+1 とnk+2 との
線形補間、すなわち、線形補間手段20で線形補間した
(nk+1 +nk+2 )/2で補間する。このときパターン
検出手段18から切換回路19に供給する選択信号ss
を「111」とする。
If the determination result is "↑↑↑" in (h), it is assumed that the density changes smoothly from white to black in the main scanning direction, and in this case as well, the pixel n0k + 1 is changed to nk +. Linear interpolation is performed between 1 and nk + 2, that is, (nk + 1 + nk + 2) / 2 which is linearly interpolated by the linear interpolating means 20. At this time, the selection signal ss supplied from the pattern detecting means 18 to the switching circuit 19
Is set to "111".

【0043】このように、遅延回路14〜17からの画
素データnk ,nk+1 ,nk+2 ,nk+3 から8種類の変
化パターンを分類し、それぞれの場合の推測されるパタ
ーンから補間方法を選択し、補間画素n0k+1を得るよう
にしている。
As described above, eight kinds of change patterns are classified from the pixel data nk, nk + 1, nk + 2, nk + 3 from the delay circuits 14 to 17, and the interpolation method is performed from the estimated pattern in each case. Is selected to obtain the interpolated pixel n0k + 1.

【0044】切換回路19は、図5に示すように、前記
パターン検出手段18からの3ビットの選択信号ssを
デコーダ回路22に入力し、出力端子Q0 〜Q7 から8
ビットの信号を出力している。すなわち、「000」は
「00000001」に変換され、「001」は「00
000010」に変換され、「010」は「00000
100」に変換され、「011」は「0000100
0」に変換され、「100」は「00010000」に
変換され、「101」は「00100000」に変換さ
れ、「110」は「01000000」に変換され、
「111」は「10000000」に変換される。
As shown in FIG. 5, the switching circuit 19 inputs the 3-bit selection signal ss from the pattern detecting means 18 to the decoder circuit 22 and outputs it from the output terminals Q0 to Q7 to 8.
Outputs a bit signal. That is, “000” is converted to “00000001” and “001” is converted to “00
Converted to "000010", and "010" becomes "00000"
Is converted to 100 "and" 011 "is converted to" 0000100 ".
"0", "100" is converted to "00010000", "101" is converted to "00100000", "110" is converted to "01000000",
“111” is converted to “10000000”.

【0045】そして、前記デコーダ回路22の出力端子
Q0 ,Q2 ,Q5 ,Q7 からの信号を4入力ナンドゲー
ト回路23に供給し、前記デコーダ回路22の出力端子
Q1,Q6 からの信号を2入力ナンドゲート回路24に
供給し、前記デコーダ回路22の出力端子Q3 ,Q4 か
らの信号を2入力ナンドゲート回路25に供給してい
る。
The signals from the output terminals Q0, Q2, Q5, and Q7 of the decoder circuit 22 are supplied to the 4-input NAND gate circuit 23, and the signals from the output terminals Q1 and Q6 of the decoder circuit 22 are input to the 2-input NAND gate circuit. 24, and the signals from the output terminals Q3 and Q4 of the decoder circuit 22 are supplied to the 2-input NAND gate circuit 25.

【0046】前記各ナンドゲート回路23,24,25
の出力をそれぞれ2入力アンドゲート回路26,27,
28の一方の入力端子に供給している。そして、前記ア
ンドゲート回路26の他方の入力端子に前記線形補間手
段20からの出力を供給し、前記アンドゲート回路27
の他方の入力端子に前記遅延回路16からの出力を供給
し、前記アンドゲート回路28の他方の入力端子に前記
遅延回路15からの出力を供給している。
Each of the NAND gate circuits 23, 24, 25
2 inputs AND gate circuits 26, 27,
28 is supplied to one of the input terminals. Then, the output from the linear interpolation means 20 is supplied to the other input terminal of the AND gate circuit 26, and the AND gate circuit 27 is supplied.
The output from the delay circuit 16 is supplied to the other input terminal of, and the output from the delay circuit 15 is supplied to the other input terminal of the AND gate circuit 28.

【0047】前記各アンドゲート回路26〜27の出力
は3入力オアゲート回路29を介して2入力アンドゲー
ト回路30の一方の入力端子に供給している。また、前
記遅延回路15からの出力を2入力アンドゲート回路3
1の一方の入力端子に供給している。
The outputs of the AND gate circuits 26 to 27 are supplied to one input terminal of a 2-input AND gate circuit 30 via a 3-input OR gate circuit 29. In addition, the output from the delay circuit 15 is fed to a 2-input AND gate circuit 3
1 is supplied to one input terminal.

【0048】そして、前記タイミング回路30からの制
御クロック信号sをインバータ回路32を介して前記ア
ンドゲート回路30の他方の入力端子に供給すると共に
前記アンドゲート回路31の他方の入力端子に直接供給
している。前記各アンドゲート回路30,31の出力は
2入力オアゲート回路33を介して切換回路19の外部
に出力するようになっている。
Then, the control clock signal s from the timing circuit 30 is supplied to the other input terminal of the AND gate circuit 30 through the inverter circuit 32 and directly to the other input terminal of the AND gate circuit 31. ing. The outputs of the AND gate circuits 30 and 31 are output to the outside of the switching circuit 19 via a 2-input OR gate circuit 33.

【0049】この切換回路19は、前記タイミング回路
30からの制御クロック信号sがハイレベルのときには
アンドゲート回路31及びオアゲート回路33を介して
前記遅延回路15の出力、すなわち、nk+1 の画素デー
タを出力し、前記タイミング回路30からの制御クロッ
ク信号sがローレベルのときにはデコーダ回路22の出
力、すなわち、前記パターン検出手段18からの選択信
号ssに基づいて、前記遅延回路15の出力、すなわ
ち、nk+1 の画素データ、前記遅延回路16の出力、す
なわち、nk+2 の画素データ、前記線形補間手段20の
出力のいずれかを選択してアンドゲート回路30及びオ
アゲート回路33を介して出力することになる。
This switching circuit 19 outputs the output of the delay circuit 15, that is, nk + 1 pixel data, via the AND gate circuit 31 and the OR gate circuit 33 when the control clock signal s from the timing circuit 30 is at a high level. When the control clock signal s from the timing circuit 30 is at a low level, the output of the decoder circuit 22, that is, the output of the delay circuit 15 based on the selection signal ss from the pattern detecting means 18, that is, The pixel data of nk + 1, the output of the delay circuit 16, that is, the pixel data of nk + 2 or the output of the linear interpolation means 20 is selected and output via the AND gate circuit 30 and the OR gate circuit 33. It will be.

【0050】この実施例において、例えば図4の(A) の
(a) に示すように原画像の濃度変化が滑らかに変化する
場合は、補間して解像度変換した後の画像データは(A)
の(b) に示すようになり、滑らかに変化する状態を維持
できる。これに対して従来は(A) の(c) に示すようにな
り、ジャギが発生して解像性が悪くなる。
In this embodiment, for example, as shown in FIG.
If the density change of the original image changes smoothly as shown in (a), the image data after interpolation and resolution conversion is (A)
As shown in (b) of, the state that changes smoothly can be maintained. On the other hand, in the conventional case, as shown in (c) of (A), jaggies occur and the resolution deteriorates.

【0051】また、図4の(B) の(a) に示すように原画
像の濃度変化が最大値を持つ場合は、補間して解像度変
換した後の画像データは(B) の(b) に示すようになる。
これは、(B) の(c) に示す従来と同等に変換される。
When the density change of the original image has the maximum value as shown in (a) of (B) of FIG. 4, the image data after interpolation and resolution conversion is (b) of (B). As shown in.
This is converted to the same as the conventional one shown in (c) of (B).

【0052】また、図4の(C) の(a) に示すように原画
像の濃度変化が急激に変化する場合は、補間して解像度
変換した後の画像データは(C) の(b) に示すように原画
像と同等に変換される。これに対して、従来では(C) の
(c) に示すように解像性が悪くなる。
When the density change of the original image changes rapidly as shown in (a) of (C) of FIG. 4, the image data after interpolation and resolution conversion is (b) of (C). As shown in, it is converted into the same as the original image. On the other hand, conventionally (C)
As shown in (c), the resolution is poor.

【0053】また、本実施例では解像性のみでなく写真
画像に対しては階調性を維持して解像度変換ができる。
Further, in this embodiment, not only the resolution but also the gradation of the photographic image can be maintained and the resolution can be converted.

【0054】(第2の実施例)この実施例は請求項2に
対応した実施例である。なお、この実施例も200dp
iのラインイメージセンサを使用して400dpiの解
像度の画像データを得る場合について述べ、前記実施例
と同一の部分には同一の符号を付して詳細な説明は省略
する。。
(Second Embodiment) This embodiment is an embodiment corresponding to claim 2. It should be noted that this embodiment also has 200 dp
A case where image data having a resolution of 400 dpi is obtained by using the i line image sensor will be described. The same parts as those in the above-described embodiment are designated by the same reference numerals and detailed description thereof will be omitted. .

【0055】これは図6に示すように、タイミング回路
として、切換回路191に解像度変換処理した画像デー
タを出力させるか解像度変換させない画像データを出力
させるかの選択を行わせる制御信号mも出力するタイミ
ング回路211を使用している。
As shown in FIG. 6, as a timing circuit, the switching circuit 191 also outputs a control signal m for selecting whether to output resolution-converted image data or output resolution-unconverted image data. The timing circuit 211 is used.

【0056】前記切換回路191は、図7に示すよう
に、前記タイミング回路211からの制御クロック信号
s及び制御信号mを2入力オアゲート回路34を介して
インバータ回路32及びアンドゲート回路31の他方の
入力端子に供給している。
As shown in FIG. 7, the switching circuit 191 receives the control clock signal s and the control signal m from the timing circuit 211 via the two-input OR gate circuit 34, and the other one of the inverter circuit 32 and the AND gate circuit 31. Supplying to the input terminal.

【0057】この実施例では、制御信号mがハイレベル
のときには制御クロック信号sがハイレベル、ローレベ
ルに変化するに関係なく、常に遅延回路15の出力、す
なわち、nk+1 の画素データが出力されることになる。
これはデータ補間されないことになり、従って解像度変
換は行われない。この処理は例えば、200dpiの画
像データをそのまま送信する場合に行われる。
In this embodiment, when the control signal m is at the high level, the output of the delay circuit 15, that is, the pixel data of nk + 1 is always output regardless of the change of the control clock signal s between the high level and the low level. Will be done.
This will result in no data interpolation and therefore no resolution conversion. This process is performed, for example, when 200-dpi image data is transmitted as it is.

【0058】また、制御信号mがローレベルのときには
制御クロック信号sがハイレベルに変化するか、ローレ
ベルに変化するかにより遅延回路15の出力nk+1 をそ
のまま出力させることと、遅延回路15の出力nk+1 、
遅延回路16の出力nk+2 、線形補間手段20の出力
(nk+1 +nk+2 )/2のいずれかを選択して出力させ
ることができ、画像を2倍に拡大した画像データを切換
回路191から出力させることができる。
When the control signal m is at low level, the output nk + 1 of the delay circuit 15 is output as it is depending on whether the control clock signal s changes to high level or low level, and the delay circuit 15 Output nk + 1,
Either the output nk + 2 of the delay circuit 16 or the output (nk + 1 + nk + 2) / 2 of the linear interpolation means 20 can be selected and output, and the image data obtained by doubling the image is switched. It can be output from 191.

【0059】このように、制御信号mによって読取った
原稿を解像度変換せずにそのまま画像処理する制御と、
高解像度に解像度変換する制御を選択できるので、例え
ば送信機能とコピー機能を有するファクシミリにこの装
置を適用すると、送信時には200dpiで原稿を読取
り解像度変換せずにそのまま送信し、コピー時には20
0dpiで読取った原稿を400dpiに解像度変換し
て出力することができ、汎用性を向上できる。
In this way, the control of directly processing the image read by the control signal m without converting the resolution is performed,
Since it is possible to select a control for converting the resolution to a high resolution, for example, when this apparatus is applied to a facsimile having a transmission function and a copy function, the original is read at 200 dpi at the time of transmission and the original is directly transmitted without resolution conversion, and at the time of copying,
A document read at 0 dpi can be resolution-converted to 400 dpi and output, which improves versatility.

【0060】なお、この実施例においても前記実施例と
同様の作用効果が得られるのは勿論である。
In this embodiment, it is of course possible to obtain the same effects as the above embodiment.

【0061】なお、前記各実施例では200dpiのラ
インイメージセンサを使用して400dpiの解像度の
画像データを得る場合について述べたが必ずしもこれに
限定するものではなく、200dpiのラインイメージ
センサを使用して300dpiの解像度の画像データを
得ることもできる。
In each of the above embodiments, the case where the image data having the resolution of 400 dpi is obtained by using the line image sensor of 200 dpi has been described. However, the present invention is not limited to this, and the line image sensor of 200 dpi is used. It is also possible to obtain image data having a resolution of 300 dpi.

【0062】例えばラインイメージセンサ11で読み込
んだ画素データが図8の(a) に示すように、nk ,nk+
1 ,nk+2 ,nk+3 であったとすると、この画素データ
が遅延回路17,16,15,14に順次格納され、パ
ターン検出手段18でパターン検出される。また、線形
補間手段は画素データnk+1 ,nk+2 を入力し、(2・
nk+1 +nk+2 )/3の線形補間データを作成して出力
する。
For example, the pixel data read by the line image sensor 11 is nk, nk + as shown in FIG.
If it is 1, nk + 2, nk + 3, this pixel data is sequentially stored in the delay circuits 17, 16, 15, and 14, and the pattern detection means 18 detects the pattern. Further, the linear interpolation means inputs pixel data nk + 1, nk + 2, and (2.
nk + 1 + nk + 2) / 3 linear interpolation data is created and output.

【0063】このときのパターン検出手段18によるパ
ターン検出とパターン検出手段18からの選択信号ss
よって切換回路が選択出力する補間データとの関係は表
2に示すようになる。
At this time, the pattern detection by the pattern detection means 18 and the selection signal ss from the pattern detection means 18 are performed.
Therefore, the relationship with the interpolation data selectively output by the switching circuit is as shown in Table 2.

【0064】[0064]

【表2】 すなわち、検出した変化パターンが(a) の「↓↓↓」の
ときには補間画素n0k+1を線形補間手段の出力である
(2・nk+1 +nk+2 )/2から得る。また、(b) の
「↓↓↑」のときには補間画素n0k+1を遅延回路15の
出力であるnk+2 から得る。また、(c) の「↓↑↓」の
ときには補間画素n0k+1を線形補間手段の出力である
(2・nk+1 +nk+2 )/2から得る。また、(d) の
「↓↑↑」のときには補間画素n0k+1を遅延回路16の
出力であるnk+1 から得る。また、(e) の「↑↓↓」の
ときには補間画素n0k+1を遅延回路16の出力であるn
k+1 から得る。また、(f) の「↑↓↑」のときには補間
画素n0k+1を線形補間手段の出力である(2・nk+1 +
nk+2 )/2から得る。また、(g) の「↑↑↓」のとき
には補間画素n0k+1を遅延回路15の出力であるnk+2
から得る。さらに、(h) の「↑↑↑」のときには補間画
素n0k+1を線形補間手段の出力である(2・nk+1 +n
k+2 )/2から得る。
[Table 2] That is, when the detected change pattern is "↓↓↓" in (a), the interpolated pixel n0k + 1 is obtained from (2nk + 1 + nk + 2) / 2 which is the output of the linear interpolation means. In the case of “↓↓ ↑” in (b), the interpolation pixel n0k + 1 is obtained from the output nk + 2 of the delay circuit 15. Further, in the case of "↓ ↑ ↓" in (c), the interpolation pixel n0k + 1 is obtained from the output of the linear interpolation means (2 · nk + 1 + nk + 2) / 2. Further, in the case of “↓ ↑↑” in (d), the interpolation pixel n0k + 1 is obtained from the output nk + 1 of the delay circuit 16. Further, in the case of “↑ ↓↓” in (e), the interpolation pixel n0k + 1 is the output n of the delay circuit 16.
Get from k + 1. Further, in the case of “↑ ↓ ↑” of (f), the interpolation pixel n0k + 1 is the output of the linear interpolation means (2 · nk + 1 +
nk + 2) / 2. When (↑) in (g), the interpolation pixel n0k + 1 is output from the delay circuit 15 as nk + 2.
Get from Further, in the case of "↑↑↑" in (h), the interpolation pixel n0k + 1 is the output of the linear interpolation means (2nk + 1 + n
Obtained from k + 2) / 2.

【0065】このような補間方法により画素データnk
,nk+1 ,nk+2 ,nk+3 を解像度変換した後の画素
データは、nk ,n0k ,nk+1 ,n0k+1,n0k+2,n
k+3 となり、画素データnk ,nk+1 ,nk+2 ,nk+3
との位置関係は図8の(b) に示すようになる。
Pixel data nk is obtained by such an interpolation method.
, Nk + 1, nk + 2, nk + 3, the pixel data after resolution conversion are nk, n0k, nk + 1, n0k + 1, n0k + 2, n.
k + 3 and pixel data nk, nk + 1, nk + 2, nk + 3
The positional relationship with and is as shown in FIG. 8 (b).

【0066】また、画素データnk ,nk+1 ,nk+2 ,
nk+3 と解像度変換後の画素データとの位置関係が図9
の(a) ,(b) に示すように1ドットずれた場合には、線
形補間手段は、(nk+1 +2・nk+2 )/3の線形補間
データを作成して出力する。そして、パターン検出手段
18によるパターン検出に基づく切換回路の補間データ
の選択は表3に示すようになる。
Further, the pixel data nk, nk + 1, nk + 2,
The positional relationship between nk + 3 and the pixel data after resolution conversion is shown in FIG.
When there is a 1-dot deviation as shown in (a) and (b), the linear interpolation means creates and outputs (nk + 1 + 2 · nk + 2) / 3 linear interpolation data. Then, the selection of the interpolation data of the switching circuit based on the pattern detection by the pattern detection means 18 is as shown in Table 3.

【0067】[0067]

【表3】 このような画素補間を行うことにより200dpiの画
像データを300dpiの画像データに解像度変換でき
る。
[Table 3] By performing such pixel interpolation, the resolution of the image data of 200 dpi can be converted into the image data of 300 dpi.

【0068】また、前記各実施例では補間の対象となる
画素nk+1 を含む4つの画素nk ,nk+1 ,nk+2 ,n
k+3 から濃度変化のパターンを検出するようにしたが必
ずしもこれに限定するものでないのは勿論である。
In each of the above embodiments, four pixels nk, nk + 1, nk + 2, n including the pixel nk + 1 to be interpolated are included.
Although the pattern of the density change is detected from k + 3, it is not limited to this, as a matter of course.

【0069】[0069]

【発明の効果】以上、請求項1対応の発明によれば、文
字や線画は勿論、太線などに対しても解像性を維持で
き、また写真画像に対しては階調性を維持でき、従っ
て、解像性及び階調性に優れた解像度変換ができる。
As described above, according to the invention according to claim 1, the resolution can be maintained not only for characters and line drawings but also for thick lines, and gradation can be maintained for photographic images. Therefore, resolution conversion excellent in resolution and gradation can be performed.

【0070】また、請求項2対応の発明によれば、文字
や線画は勿論、太線などに対しても解像性を維持でき、
また写真画像に対しては階調性を維持でき、従って、解
像性及び階調性に優れた解像度変換ができ、さらに解像
度変換する処理と解像度変換しない処理を任意に選択で
き、汎用性を向上できる。
According to the second aspect of the invention, the resolution can be maintained not only for characters and line drawings but also for thick lines.
In addition, gradation can be maintained for photographic images, and therefore resolution conversion with excellent resolution and gradation can be performed, and processing for resolution conversion and processing without resolution conversion can be arbitrarily selected, and versatility is improved. Can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例を示すブロック図。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】同実施例の各部の動作タイミングを示すタイミ
ング図。
FIG. 2 is a timing chart showing the operation timing of each unit of the embodiment.

【図3】同実施例の原画素と解像度変換後の画素の位置
関係を示す図。
FIG. 3 is a diagram showing a positional relationship between an original pixel and a pixel after resolution conversion in the embodiment.

【図4】同実施例の各種原画像に対する補間例とこれに
対応する従来の補間を示す図。
FIG. 4 is a diagram showing an example of interpolation for various original images of the embodiment and a conventional interpolation corresponding thereto.

【図5】同実施例の切換回路の具体的回路構成を示す
図。
FIG. 5 is a diagram showing a specific circuit configuration of a switching circuit of the embodiment.

【図6】本発明の第2の実施例を示すブロック図。FIG. 6 is a block diagram showing a second embodiment of the present invention.

【図7】同実施例の切換回路の具体的回路構成を示す
図。
FIG. 7 is a diagram showing a specific circuit configuration of a switching circuit of the embodiment.

【図8】200dpiの原画像を300dpiの画像に
解像度変換した後の原画像の画素と解像度変換した後の
画素との位置関係を示す図。
FIG. 8 is a diagram showing a positional relationship between pixels of an original image after resolution conversion of a 200 dpi original image into a 300 dpi image and pixels after resolution conversion thereof.

【図9】200dpiの原画像を300dpiの画像に
解像度変換した後の原画像の画素と解像度変換した後の
画素との位置関係の他の例を示す図。
FIG. 9 is a diagram showing another example of the positional relationship between the pixels of the original image after the resolution conversion of the 200 dpi original image into the 300 dpi image and the pixels after the resolution conversion.

【図10】従来例を示すブロック図。FIG. 10 is a block diagram showing a conventional example.

【図11】同従来例の補間拡大による解像度変換を説明
するための図。
FIG. 11 is a diagram for explaining resolution conversion by interpolation enlargement in the conventional example.

【図12】他の従来例を示すブロック図。FIG. 12 is a block diagram showing another conventional example.

【図13】同従来例の補間拡大による解像度変換を説明
するための図。
FIG. 13 is a diagram for explaining resolution conversion by interpolation enlargement in the conventional example.

【符号の説明】[Explanation of symbols]

11…CCDラインイメージセンサ 14〜17…遅延回路 18…パターン検出手段 19…切換回路 20…線形補間手段 11 ... CCD line image sensor 14-17 ... Delay circuit 18 ... Pattern detecting means 19 ... Switching circuit 20 ... Linear interpolation means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ラインイメージセンサをラスタ走査して
画像を読取りつつ補間画素を挿入して解像度変換する画
像読取装置において、補間の対象となる画素を中心にラ
スタ方向に前後にk(但し、kは整数)画素の画像濃度
の変化パターンを検出するパターン検出手段と、補間の
対象となる画素を含み隣接する前後の画素と線形補間す
る線形補間手段と、前記パターン検出手段からの画像濃
度の変化パターン検出結果に基づいて前記線形補間手段
が線形補間した結果及び前記隣接する前後の画素個々の
いずれかを選択する選択手段とを備え、前記選択手段の
選択結果から解像度変換した画素を得ることを特徴とす
る画像読取装置。
1. An image reading apparatus for performing resolution conversion by inserting interpolation pixels while reading an image by raster scanning a line image sensor and performing k conversion in the raster direction forward and backward in the raster direction around a pixel to be interpolated. Is a integer), a pattern detecting means for detecting a change pattern of image density of pixels, a linear interpolating means for linearly interpolating adjacent pixels before and after including a pixel to be interpolated, and a change in image density from the pattern detecting means. A linearly interpolating means based on a pattern detection result, and a selecting means for selecting one of the adjacent pixels before and after, and obtaining a pixel whose resolution is converted from the selection result of the selecting means. Characteristic image reading device.
【請求項2】 ラインイメージセンサをラスタ走査して
画像を読取りつつ補間画素を挿入して解像度変換する画
像読取装置において、補間の対象となる画素を中心にラ
スタ方向に前後にk(但し、kは整数)画素の画像濃度
の変化パターンを検出するパターン検出手段と、補間の
対象となる画素を含み隣接する前後の画素と線形補間す
る線形補間手段と、前記パターン検出手段からの画像濃
度の変化パターン検出結果に基づいて前記線形補間手段
が線形補間した結果及び前記隣接する前後の画素個々の
いずれかを選択する機能と読取った画素を補間の対象と
せずにそのまま出力する機能を有する選択手段と、この
選択手段の各機能を切替え制御する切替え制御手段とを
備え、前記選択手段の選択機能を動作させるときには選
択結果から挿入する補間画素を得ることを特徴とする画
像読取装置。
2. An image reading apparatus for performing resolution conversion by inserting interpolation pixels while reading an image by raster-scanning a line image sensor, and k (backward and backward) in the raster direction centering on a pixel to be interpolated. Is a integer), a pattern detecting means for detecting a change pattern of image density of pixels, a linear interpolating means for linearly interpolating adjacent pixels before and after including a pixel to be interpolated, and a change in image density from the pattern detecting means. A selection unit having a function of selecting the result of the linear interpolation by the linear interpolation unit based on the pattern detection result and any one of the adjacent pixels before and after, and a function of outputting the read pixel as it is without subjecting it to interpolation. And switching control means for switching and controlling each function of the selecting means, and when the selecting function of the selecting means is operated, it is inserted from the selection result. An image reading apparatus characterized by obtaining an interpolated pixel.
JP6245231A 1994-10-11 1994-10-11 Image reading device Pending JPH08111774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6245231A JPH08111774A (en) 1994-10-11 1994-10-11 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6245231A JPH08111774A (en) 1994-10-11 1994-10-11 Image reading device

Publications (1)

Publication Number Publication Date
JPH08111774A true JPH08111774A (en) 1996-04-30

Family

ID=17130614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6245231A Pending JPH08111774A (en) 1994-10-11 1994-10-11 Image reading device

Country Status (1)

Country Link
JP (1) JPH08111774A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999048277A1 (en) * 1998-03-17 1999-09-23 Matsushita Electric Industrial Co., Ltd. Image reader
US7542173B2 (en) 2003-08-26 2009-06-02 Seiko Epson Corporation Image processing device and image processing program causing computer to execute image processing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999048277A1 (en) * 1998-03-17 1999-09-23 Matsushita Electric Industrial Co., Ltd. Image reader
GB2341999A (en) * 1998-03-17 2000-03-29 Matsushita Electric Ind Co Ltd Image reader
GB2341999B (en) * 1998-03-17 2002-07-10 Matsushita Electric Ind Co Ltd Image reading apparatus
US6567192B1 (en) 1998-03-17 2003-05-20 Matsushita Electric Industrial Co., Ltd. Image reading apparatus
US7542173B2 (en) 2003-08-26 2009-06-02 Seiko Epson Corporation Image processing device and image processing program causing computer to execute image processing

Similar Documents

Publication Publication Date Title
JP3396992B2 (en) Image processing method and apparatus
JPH08111774A (en) Image reading device
US4860117A (en) Image processing method and system using multiple image sensors producing image data segments which are combined and subjected to optical processing
JPH0681243B2 (en) Image processing method
JP3669081B2 (en) Image processing device
JP3001274B2 (en) Image scaling processing method and apparatus
JP3478310B2 (en) Image editing device
JP3151225B2 (en) Image forming device
JP4437621B2 (en) Region detection apparatus and method
JP2578461B2 (en) Image input device
JP2555199B2 (en) Image reading method
JPH0413882Y2 (en)
JP2701310B2 (en) Halftone image generation method and apparatus
JP3032914B2 (en) Image reading processing device
JP4080726B2 (en) Image reduction method, image processing apparatus, and image processing apparatus control method
JPH08331364A (en) Image data processing unit
JP3005823B2 (en) Image reading processing device
JP3221152B2 (en) Facsimile machine
JPH09238258A (en) Image processing unit
JPH08125846A (en) Image processor
JPH07298039A (en) Scanner
JPS5924584B2 (en) Original reading method
JPH11234512A (en) Image processing unit
JPH06141168A (en) Picture element density converter
JP2002044421A (en) Image reader and its control method and image processor