JP2606094B2 - Image sampling circuit - Google Patents

Image sampling circuit

Info

Publication number
JP2606094B2
JP2606094B2 JP21694393A JP21694393A JP2606094B2 JP 2606094 B2 JP2606094 B2 JP 2606094B2 JP 21694393 A JP21694393 A JP 21694393A JP 21694393 A JP21694393 A JP 21694393A JP 2606094 B2 JP2606094 B2 JP 2606094B2
Authority
JP
Japan
Prior art keywords
flip
flop
output
circuit
sampling clock
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
Application number
JP21694393A
Other languages
Japanese (ja)
Other versions
JPH0758948A (en
Inventor
俊明 熊川
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP21694393A priority Critical patent/JP2606094B2/en
Publication of JPH0758948A publication Critical patent/JPH0758948A/en
Application granted granted Critical
Publication of JP2606094B2 publication Critical patent/JP2606094B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は画像データを読み取るス
キャナ装置に係り、特にこのスキャナ装置における画像
サンプリング回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scanner for reading image data, and more particularly to an image sampling circuit in the scanner.

【0002】[0002]

【従来の技術】近年、スキャナ装置ではディジタル処理
技術を使用して高画品質化のための画像処理が種々利用
されている。この場合、画像データをディジタル処理す
る際にサンプリングし画素単位のデータとする必要があ
る。そして、サンプリングは1ラインに同期したクロッ
ク発生源から供給され、画像データをフリップフロップ
を使用してラッチすることにより実現される。この際、
サンプリングクロック1周期の前半に画像データの変化
点が位置する場合と後半に位置する場合では、最大1画
素分に近いサンプリング位置誤差が発生することにな
り、線画画像等において、いわゆる、サンプリングジッ
タとなり、特に走査ラインと直交する線に凸凹が目立っ
てしまう。
2. Description of the Related Art In recent years, various types of image processing for improving image quality have been used in scanner apparatuses using digital processing technology. In this case, when digitally processing the image data, it is necessary to perform sampling to obtain data in pixel units. Sampling is supplied from a clock generation source synchronized with one line, and is realized by latching image data using a flip-flop. On this occasion,
When the change point of the image data is located in the first half of one cycle of the sampling clock and in the latter half, a sampling position error close to a maximum of one pixel occurs, and so-called sampling jitter occurs in a line drawing image or the like. In particular, unevenness is conspicuous particularly on a line orthogonal to the scanning line.

【0003】従来、このサンプリングジッタを低減する
方法として、サンプリングクロックの位相を遅延線等を
使用して複数タイミング用意して1周期の中で最も近い
位相のクロックを判断し、画像データを出力する方法が
ある。この方法の場合、サンプリングクロック回路以後
で使用する画素クロックにはそのサンプリングクロック
をそのまま使用することから、クロックの位相が画像デ
ータにより変化するため、後段の画像処理回路の構成が
困難である。
Conventionally, as a method of reducing the sampling jitter, a plurality of timings of a sampling clock phase are prepared using a delay line or the like, a clock having the closest phase in one cycle is determined, and image data is output. There is a way. In the case of this method, since the sampling clock is used as it is for the pixel clock used after the sampling clock circuit, the phase of the clock changes depending on the image data, so that it is difficult to configure the image processing circuit at the subsequent stage.

【0004】[0004]

【発明が解決しようとする課題】この従来のサンプリン
グ回路では、回路構成が複雑な上に、サンプリング回路
以後で使用する画素クロックには、サンプリングクロッ
クをそのまま使用することから、クロックの位相が画像
データにより変化するため、後段の画像処理回路の構成
が複雑になるという問題があった。本発明はかかる問題
を解決するためになされたもので、画像データをサンプ
リングする場合に、サンプリングクロックの1周期分の
サンプリングジッタを低減する画像サンプリング回路を
得ることを目的とする。
In this conventional sampling circuit, the circuit configuration is complicated and the pixel clock used after the sampling circuit uses the sampling clock as it is. Therefore, there is a problem that the configuration of the subsequent image processing circuit becomes complicated. The present invention has been made to solve such a problem, and an object of the present invention is to provide an image sampling circuit that reduces sampling jitter for one cycle of a sampling clock when sampling image data.

【0005】[0005]

【課題を解決するための手段】本発明の画像サンプリン
グ回路は、画像データをサンプリングクロックの立上り
の位相でラッチする第1のフリップフロップと、この第
1のフリップフロップからのデータをサンプリングクロ
ックの立下りの位相でラッチする第2のフリップフロッ
プと、上記第1および第2のフリップフロップの出力の
排他的論理和を求める第1の排他的論理和回路と、上記
サンプリングクロックの立上りの位相で動作するフリッ
プフロップの出力をサンプリングクロックの立上りでさ
らに1画素分シフトする第3のフリップフロップと、上
記1画素分シフトされた第3のフリップフロップの出力
を一方の入力とし、上記サンプリングクロックの立下り
で動作する第2のフリップフロップの出力を他方の入力
とし排他的論理和を求める第2の排他的論理和回路と、
上記第1および第2の排他的論理和回路の出力から画像
データの変化点がサンプリングクロックの1周期の前半
か後半かを判別する選択信号を生成する選択論理生成回
路と、上記第1のフリップフロップの出力と上記第3の
フリップフロップの出力とのいずれかを選択する選択回
路とを備えるものである。また、選択回路は、第1のフ
リップフロップの出力と第2のフリップフロップの出力
が一致し、かつ第2のフリップフロップの出力と第3の
フリップフロップの出力が一致したとき、第1のフリッ
プフロップの出力と第2のフリップフロップの出力が一
致し、かつ第2のフリップフロップの出力と第3のフリ
ップフロップの出力が不一致のとき、および第1のフリ
ップフロップの出力と第2のフリップフロップの出力が
不一致であり、かつ第2のフリップフロップの出力と第
3のフリップフロップの出力が不一致のときは、それぞ
れ第3のフリップフロップの出力を選択し、第1のフリ
ップフロップの出力と第2のフリップフロップの出力が
不一致であり、かつ第2のフリップフロップの出力と第
3のフリップフロップの出力が一致しているときは、第
1のフリップフロップの出力を選択するものである。
An image sampling circuit according to the present invention comprises: a first flip-flop for latching image data at a rising phase of a sampling clock; and data from the first flip-flop for rising a sampling clock. A second flip-flop that latches at a downstream phase, a first exclusive-OR circuit that obtains an exclusive OR of outputs of the first and second flip-flops, and an operation at a rising phase of the sampling clock A third flip-flop that shifts the output of the flip-flop to be shifted by one pixel at the rising edge of the sampling clock, and takes the output of the third flip-flop shifted by one pixel as one input, and outputs the falling edge of the sampling clock. The exclusive OR of the output of the second flip-flop operating on A second exclusive OR circuit for calculating,
A selection logic generation circuit for generating a selection signal for determining whether the change point of the image data is the first half or the second half of one cycle of the sampling clock from the outputs of the first and second exclusive OR circuits, and the first flip-flop And a selection circuit for selecting one of the output of the third flip-flop and the output of the third flip-flop. Further, the selection circuit includes a first circuit.
Output of flip-flop and output of second flip-flop
And the output of the second flip-flop and the third
When the outputs of the flip-flops match, the first flip
The output of the flip-flop and the output of the second flip-flop
The output of the second flip-flop and the third flip-flop.
When the flip-flop outputs do not match and when the first
The output of the flip-flop and the output of the second flip-flop are
Mismatch and the output of the second flip-flop is
When the outputs of the flip-flops 3 do not match,
Select the output of the third flip-flop, and
The output of the flip-flop and the output of the second flip-flop are
Mismatch and the output of the second flip-flop is
When the outputs of the third flip-flops match,
This selects the output of one flip-flop.

【0006】[0006]

【作用】本発明においては、1/2画素前の画像データ
を参照しサンプリングタイミングを選択する。
According to the present invention, the sampling timing is selected with reference to the image data before 1/2 pixel.

【0007】[0007]

【実施例】つぎに本発明について図面を参照して説明す
る。図1は本発明の一実施例を示すブロック図である。
この図1において、1は画像データをサンプリングクロ
ックの立上りの位相でラッチするフリップフロップ、2
はこのフリップフロップ1からのデータをサンプリング
クロックの立下りの位相でラッチするフリップフロッ
プ、3はフリップフロップ1の出力とフリップフロップ
2の出力の排他的論理和を求める排他的論理和回路、4
はサンプリングクロックの立上りの位相で動作するフリ
ップフロップ1の出力をサンプリングクロックの立上り
でさらに1画素分シフトするフリップフロップ、5は1
画素分シフトされたフリップフロップ4の出力を一方の
入力とし、サンプリングクロックの立下りで動作するフ
リップフロップ2の出力を他方の入力とし排他的論理和
を求める排他的論理和回路、6は排他的論理和回路3の
出力と排他的論理和回路5の出力から画像データの変化
点がサンプリングクロックの1周期の前半か後半かを判
別する選択信号を生成する選択論理生成回路、7はサン
プリングクロックの立上り位相で動作するフリップフロ
ップ1の出力とサンプリングクロックの立上り位相で動
作するフリップフロップ1の出力をさらに1画素分シフ
トするフリップフロップ4の出力とのいずれかを選択す
る選択回路、8はサンプリングクロックSCKを反転す
る反転回路である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention.
In FIG. 1, reference numeral 1 denotes a flip-flop for latching image data at the rising phase of a sampling clock;
Is an flip-flop that latches the data from the flip-flop 1 at the falling phase of the sampling clock, 3 is an exclusive-OR circuit for obtaining the exclusive-OR of the output of the flip-flop 1 and the output of the flip-flop 2,
Is a flip-flop that shifts the output of the flip-flop 1 operating at the rising phase of the sampling clock by one pixel at the rising of the sampling clock, and 5 is 1
An exclusive-OR circuit for obtaining an exclusive-OR by using the output of the flip-flop 4 shifted by the pixel as one input and the output of the flip-flop 2 operating at the falling edge of the sampling clock as the other input, and 6 is an exclusive OR circuit A selection logic generation circuit that generates a selection signal for determining whether the change point of the image data is the first half or the second half of one cycle of the sampling clock based on the output of the OR circuit 3 and the output of the exclusive OR circuit 5; A selection circuit for selecting one of the output of the flip-flop 1 operating at the rising phase and the output of the flip-flop 4 shifting the output of the flip-flop 1 operating at the rising phase of the sampling clock by one pixel, and 8 is the sampling clock This is an inversion circuit that inverts SCK.

【0008】つぎにこの図1に示す実施例の動作を図2
を参照して説明する。図2は図1の動作説明に供する説
明図で、SCKはサンプリングクロックを示し、iDは
入力画像データを示す。まず、端子T1 から入力される
入力画像データiDはフリップフロップ1において端子
2 から入力されるサンプリングクロックSCKの立上
り位相でラッチされる。これを信号Aとする。この信号
Aはフリップフロップ4においてサンプリングクロック
SCKの立上り位相でさらにラッチされ信号Cとなり、
排他的論理和回路5と選択回路7に入力される。また、
信号AはサンプリングクロックSCKの立下りで動作す
るフリップフロップ2と排他的論理和回路3および選択
回路7に入力される。
Next, the operation of the embodiment shown in FIG. 1 will be described with reference to FIG.
This will be described with reference to FIG. FIG. 2 is an explanatory diagram for explaining the operation of FIG. 1. In FIG. 2, SCK indicates a sampling clock, and iD indicates input image data. First, the input image data iD input from the terminal T 1 is latched in the flip-flop 1 at the rising phase of the sampling clock SCK input from the terminal T 2 . This is signal A. This signal A is further latched by the flip-flop 4 at the rising phase of the sampling clock SCK to become a signal C,
It is input to the exclusive OR circuit 5 and the selection circuit 7. Also,
The signal A is input to the flip-flop 2, which operates at the falling edge of the sampling clock SCK, the exclusive OR circuit 3, and the selection circuit 7.

【0009】つぎに、排他的論理和回路3は信号Aと信
号Bが一致しているか否かを求め、排他的論理和回路5
は信号Bと信号Cが一致しているか否かを求める。この
両排他的論理和回路3,5の各出力は選択論理生成回路
6に入力される。そして、この選択論理生成回路6は以
下の条件にて選択信号SELを生成する。
Next, the exclusive OR circuit 3 determines whether or not the signal A and the signal B are coincident with each other.
Determines whether signal B and signal C match. Each output of the exclusive OR circuits 3 and 5 is input to the selection logic generating circuit 6. Then, the selection logic generation circuit 6 generates the selection signal SEL under the following conditions.

【0010】ケース1として信号A=信号B,かつ信号
B=信号Cならば信号Cを選択する信号が選択回路7に
入力される。ケース2として信号A=信号B,かつ信号
B≠信号Cならば信号Cを選択する信号が選択回路7に
入力される。ケース3として信号A≠信号B,かつ信号
B=信号Cならば信号Aを選択する信号が選択回路7に
入力される。ケース4として信号A≠信号B,かつ信号
B≠信号Cならば信号Cを選択する信号が選択回路7に
入力される。
In case 1, if signal A = signal B and signal B = signal C, a signal for selecting signal C is input to selection circuit 7. In case 2, if signal A = signal B and signal B ≠ signal C, a signal for selecting signal C is input to selection circuit 7. In case 3, if signal A ≠ signal B and signal B = signal C, a signal for selecting signal A is input to selection circuit 7. In case 4, if signal A ≠ signal B and signal B ≠ signal C, a signal for selecting signal C is input to selection circuit 7.

【0011】図2はケース3の場合を示したものであ
り、入力画像データiDの変化点がサンプリングクロッ
クSCKの1周期の前半にある。この場合、信号Cをサ
ンプリング回路出力とせずに信号Aを選択することによ
りサンプリングジッタが低減されることになる。そし
て、選択回路7からの選択出力は端子T3 に出力画像デ
ータoDとして送出される。
FIG. 2 shows the case of Case 3, in which the change point of the input image data iD is in the first half of one cycle of the sampling clock SCK. In this case, by selecting the signal A without using the signal C as the output of the sampling circuit, the sampling jitter is reduced. The selection output from the selection circuit 7 is sent to the terminal T 3 as the output image data oD.

【0012】[0012]

【発明の効果】以上説明したように本発明は、1/2画
素前の画素データを参照し、サンプリングタイミングを
選択するようにしたので、線画画像等において「ガタツ
キ」いわゆるサンプリングジッタを簡単な回路構成で低
減することができる効果がある。また、サンプリングク
ロックの位相は変えないため、後段の画像処理回路の構
成も簡単になるという効果を有する。
As described above, according to the present invention, the sampling timing is selected by referring to the pixel data before 1/2 pixel, so that the "jittering" so-called sampling jitter in the line drawing image or the like can be simplified. There is an effect that can be reduced by the configuration. Further, since the phase of the sampling clock is not changed, there is an effect that the configuration of the subsequent image processing circuit is simplified.

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

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

【図2】図1の動作説明に供する説明図である。FIG. 2 is an explanatory diagram for explaining the operation of FIG. 1;

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

1,2 フリップフロップ 3 排他的論理和回路 4 フリップフロップ 5 排他的論理和回路 6 選択論理生成回路 7 選択回路 1, 2 flip-flop 3 exclusive OR circuit 4 flip-flop 5 exclusive OR circuit 6 selection logic generation circuit 7 selection circuit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像データをサンプリングクロックの立
上りの位相でラッチする第1のフリップフロップと、こ
の第1のフリップフロップからのデータをサンプリング
クロックの立下りの位相でラッチする第2のフリップフ
ロップと、前記第1および第2のフリップフロップの出
力の排他的論理和を求める第1の排他的論理和回路と、
前記サンプリングクロックの立上りの位相で動作するフ
リップフロップの出力をサンプリングクロックの立上り
でさらに1画素分シフトする第3のフリップフロップ
と、前記1画素分シフトされた第3のフリップフロップ
の出力を一方の入力とし、前記サンプリングクロックの
立下りで動作する第2のフリップフロップの出力を他方
の入力とし排他的論理和を求める第2の排他的論理和回
路と、前記第1および第2の排他的論理和回路の出力か
ら画像データの変化点がサンプリングクロックの1周期
の前半か後半かを判別する選択信号を生成する選択論理
生成回路と、前記第1のフリップフロップの出力と前記
第3のフリップフロップの出力とのいずれかを選択する
選択回路とを備えることを特徴とする画像サンプリング
回路。
1. A first flip-flop for latching image data at a rising phase of a sampling clock, and a second flip-flop for latching data from the first flip-flop at a falling phase of the sampling clock. A first exclusive-OR circuit for obtaining an exclusive-OR of outputs of the first and second flip-flops;
A third flip-flop that shifts the output of the flip-flop operating at the rising phase of the sampling clock by one pixel at the rising edge of the sampling clock, and outputs the output of the third flip-flop shifted by one pixel to one A second exclusive OR circuit which takes an output of a second flip-flop operating at the falling edge of the sampling clock as the other input and obtains an exclusive OR, and the first and second exclusive logics A selection logic generation circuit for generating a selection signal for determining whether the change point of the image data is the first half or the second half of one cycle of the sampling clock from the output of the sum circuit, the output of the first flip-flop and the third flip-flop And a selection circuit for selecting any one of the above-mentioned outputs.
【請求項2】 請求項1において、 前記選択回路は、 第1のフリップフロップの出力と第2のフリップフロッ
プの出力が一致し、かつ第2のフリップフロップの出力
と第3のフリップフロップの出力が一致したとき、第1
のフリップフロップの出力と第2のフリップフロップの
出力が一致し、かつ第2のフリップフロップの出力と第
3のフリップフロップの出力が不一致のとき、および第
1のフリップフロップの出力と第2のフリップフロップ
の出力が不一致であり、かつ第2のフリップフロップの
出力と第3のフリップフロップの出力が不一致のとき
は、それぞれ前記第3のフリップフロップの出力を選択
し、 第1のフリップフロップの出力と第2のフリップフロッ
プの出力が不一致であり、かつ第2のフリップフロップ
の出力と第3のフリップフロップの出力が一致している
ときは、前記第1のフリップフロップの出力を選択する ことを特徴とする画像サンプリング回路。
2. The circuit according to claim 1, wherein said selection circuit comprises an output of a first flip-flop and a second flip-flop.
The outputs of the flip-flops match and the output of the second flip-flop
When the output of the third flip-flop matches the output of the third flip-flop,
Output of the second flip-flop and the output of the second flip-flop
The outputs match, and the output of the second flip-flop and the
When the outputs of the third flip-flops do not match, and
Output of one flip-flop and second flip-flop
Are inconsistent, and the output of the second flip-flop is
When the output does not match the output of the third flip-flop
Selects the output of the third flip-flop respectively
And, the output of the first flip-flop and the second flip
The outputs of the flip-flops do not match and the second flip-flop
And the output of the third flip-flop match.
An image sampling circuit for selecting an output of the first flip-flop .
JP21694393A 1993-08-10 1993-08-10 Image sampling circuit Expired - Lifetime JP2606094B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21694393A JP2606094B2 (en) 1993-08-10 1993-08-10 Image sampling circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21694393A JP2606094B2 (en) 1993-08-10 1993-08-10 Image sampling circuit

Publications (2)

Publication Number Publication Date
JPH0758948A JPH0758948A (en) 1995-03-03
JP2606094B2 true JP2606094B2 (en) 1997-04-30

Family

ID=16696367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21694393A Expired - Lifetime JP2606094B2 (en) 1993-08-10 1993-08-10 Image sampling circuit

Country Status (1)

Country Link
JP (1) JP2606094B2 (en)

Also Published As

Publication number Publication date
JPH0758948A (en) 1995-03-03

Similar Documents

Publication Publication Date Title
US6845490B2 (en) Clock switching circuitry for jitter reduction
US6362898B1 (en) Pulse width position modulator and clock skew synchronizer
JP2606094B2 (en) Image sampling circuit
JP2018137694A (en) Semiconductor device and data synchronization method
JPH10210368A (en) Image-pickup device having programmable clock signal producing function
JP2004254007A (en) Jitter canceling method and apparatus
JPH0226260B2 (en)
JP2918906B2 (en) Image processing method and apparatus
JP2642100B2 (en) Synchronization circuit
JPH10226104A (en) Video clock synchronous circuit
US6492858B1 (en) Semiconductor integrated circuit and method for generating a control signal therefor
JPH08130534A (en) Data transmission adaptive system and data transmitter provided with the system
JPH08237104A (en) Bit phase detection circuit and bit phase synchronization circuit
JPH10257307A (en) Phase-matching circuit
JPH10126595A (en) Image data processing unit
JP4391074B2 (en) Synchronizer
JPH09200491A (en) Scan synchronizing signal generating circuit
EP1051022A2 (en) Clock signal generator
JP2007087338A (en) Clock synchronizing circuit, and on-screen display circuit
JPS59211164A (en) Sampling method of picture data
JPH0636028A (en) Histogram generating device
JPH0546275A (en) Device and method for data processing
JPH03190491A (en) Synchronizing circuit
JPH0816142A (en) Digital video data correction circuit
JPH08102851A (en) Method for processing image magnification