JPS6354868A - Picture processor using processing clock corresponding to maximum magnification - Google Patents

Picture processor using processing clock corresponding to maximum magnification

Info

Publication number
JPS6354868A
JPS6354868A JP9442786A JP9442786A JPS6354868A JP S6354868 A JPS6354868 A JP S6354868A JP 9442786 A JP9442786 A JP 9442786A JP 9442786 A JP9442786 A JP 9442786A JP S6354868 A JPS6354868 A JP S6354868A
Authority
JP
Japan
Prior art keywords
clock
data
magnification
processing
image data
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
JP9442786A
Other languages
Japanese (ja)
Inventor
Yoshinori Abe
阿部 喜則
Masahiko Matsunawa
松縄 正彦
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP9442786A priority Critical patent/JPS6354868A/en
Publication of JPS6354868A publication Critical patent/JPS6354868A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the constitution of a circuit, a processing timing being not varied even when the magnification is varied by making a processing clock at a maximum magnification, N-times be a frequency of larger than the N-times of the synchronous clock of a picture signal. CONSTITUTION:Because an inside processing clock is made to be the clock CLK2 of the two times frequency of a transfer clock (synchronous clock) CLK1, a timing at a whole circuit does not vary even when the magnification varies within the extent of two times. Therefore, in the case of N-times of the magnification, it is enough for the clock of the frequency larger than N-times of the synchronous clock to be the processing clock. The clock CLK2 is used for an input to a counter 406. In this case, because the pitch of the magnification is one sixtyfourth, the data of a data selection ROM 405 come the repeat of the sixtyfour. Then, because the processing clock is made to be the two-times of the synchronous clock on the basis of a consideration that the magnification is up to two-times, the data increase in the case of enlarging, and the data are thinned out in the case of minifying.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、倍率を変更しても処理タイミングが変化しな
いようにした画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing apparatus in which processing timing does not change even if the magnification is changed.

〔発明の背景〕[Background of the invention]

従来から画像データを拡大縮小する画像処理装置として
は、特開昭56−146358が提案されている。
2. Description of the Related Art Japanese Patent Laid-Open No. 146358/1983 has been proposed as an image processing apparatus for enlarging/reducing image data.

これは倍率に応じてCCD等の画像読取素子からの続出
クロック(つまり転送りロック)を変化させることによ
り、その拡大や縮小の処理を行なうようにしたものであ
る。
This is designed to perform enlargement or reduction processing by changing successive clocks (that is, transfer locks) from an image reading element such as a CCD according to the magnification.

例えば、記録装置としてのレーザプリンタが一走査を行
なう時間をTw、−走査中に存在する画素数をNとする
と、そのプリンタの転送りロック周波数foは、 fo= N77w 同様に、CCDからの転送りロックをfとすると、f 
= N/T ただし、TはCCDが一走査を行なう期間である。
For example, if the time it takes for a laser printer as a recording device to perform one scan is Tw, and the number of pixels present during scanning is N, then the transfer lock frequency fo of the printer is fo = N77w Similarly, transfer from a CCD If the lock is f, then f
= N/T where T is the period during which the CCD performs one scan.

ここで、f>fo・・・縮小 f<fo・・・拡大 となる。Here, f>fo...Reduction f<fo...enlarge becomes.

しかしながら、この方式は転送りロックを変化させるた
めに、使用するCCDの露光量の制御が必要となり、回
路が複雑となるきらいがある。また、転送りロックの周
波数を変えるための回路が複雑で、特に倍率きざみを細
かくする場合に問題となる。更に、この方式では、単に
サンプリングにより拡大縮小を行っているので、処理後
の画質が良好ではなかった。
However, in this method, in order to change the transfer lock, it is necessary to control the exposure amount of the CCD used, and the circuit tends to be complicated. Furthermore, the circuit for changing the frequency of the transfer lock is complicated, which poses a problem especially when the magnification step is made fine. Furthermore, since this method performs scaling simply by sampling, the image quality after processing is not good.

そこで、発明者らは、読み取った画像情報の画素間のデ
ータを補間するための補間データをROMに予め用意し
ておき、読み取った画像データと設定した倍率条件に応
じた補間データ選択データとに基づいて、上記補間デー
タを読み出し、拡大縮小処理を行なうようにした補間法
を提案した。
Therefore, the inventors prepared interpolation data in the ROM in advance for interpolating the data between pixels of the read image information, and combined the read image data with the interpolation data selection data according to the set magnification condition. Based on this, we proposed an interpolation method that reads out the interpolated data and performs scaling processing.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、このような補間法を使用して拡大縮小
処理を行なうに際して、倍率を変化させても処理タイミ
ングが変化しないようにして、回路構成を簡単にするこ
とである。
An object of the present invention is to simplify the circuit configuration by preventing the processing timing from changing even if the magnification is changed when performing scaling processing using such an interpolation method.

〔発明の構成〕[Structure of the invention]

このために本発明は、最大倍率N倍における処理クロッ
クを、画像信号の同期クロックのN倍以上の周波数とし
た。
For this reason, in the present invention, the processing clock at the maximum magnification N times is set to a frequency that is N times or more higher than the synchronization clock of the image signal.

〔実施例〕 以下、本発明の詳細な説明する。〔Example〕 The present invention will be explained in detail below.

(1)3画像処理装置の基本構成 第1図にその画像処理装置のブロック図を示す。(1) Basic configuration of the three image processing devices FIG. 1 shows a block diagram of the image processing device.

1は指定倍率に応じた拡大縮小処理を原稿情報に施して
出力する画像読取装置、2はその画像読取装置1で得た
2値データにより記録を行なうレーザプリンタ、LED
プリンタ等の記録装置である。
1 is an image reading device that performs enlargement/reduction processing on document information according to a specified magnification and outputs the result; 2 is a laser printer and LED that performs recording using binary data obtained by the image reading device 1;
It is a recording device such as a printer.

画像読取装置1内には、原稿読取部3と拡大縮小回路4
とが内蔵されている。原稿読取部3は原稿をCCDで等
の光電変換素子を用いて読み取って電気信号に変換し、
A/D変換しシェーディング補正等を施した後に、オリ
ジナル画像データとして出力する。拡大縮小回路4は原
稿読取部3からのオリジナル画像データに対してタイミ
ング信号に同期して外部から設定された倍率に応じた拡
大縮小の処理を行なう。そして、この拡大成いは縮小さ
れた変換画像データは、後段の記録装置2に合わせて2
値データに変換される。
The image reading device 1 includes a document reading section 3 and an enlargement/reduction circuit 4.
is built-in. The document reading unit 3 reads the document using a photoelectric conversion element such as a CCD and converts it into an electrical signal.
After A/D conversion and shading correction, etc., the image data is output as original image data. The enlargement/reduction circuit 4 performs an enlargement/reduction process on the original image data from the document reading section 3 in accordance with a magnification set from the outside in synchronization with a timing signal. The converted image data, which has been enlarged or reduced, is then stored in two formats according to the recording device 2 at the subsequent stage.
Converted to value data.

(2)、原稿読取部 第2図にその構成を示す。原稿はCCD300で読み取
られ、アンプ301で所定のレベルまで増幅されてから
A/D変換器302に入力される。このA/D変換器3
02では、基準電源303の電圧を基準にして入力アナ
ログ信号がディジタル信号に変換される。
(2), Original reading section The configuration is shown in FIG. A document is read by a CCD 300, amplified to a predetermined level by an amplifier 301, and then input to an A/D converter 302. This A/D converter 3
At step 02, the input analog signal is converted into a digital signal using the voltage of the reference power supply 303 as a reference.

この例では、6ビツトで0から63レベルに変換される
。304はCCD300で読み取った画像信号の光学的
な照度ムラを補正するためのシェーディング補正回路で
あり、A/D変換器302で6ビツトのディジタル信号
に変換された画像信号を補正する。以後、このシェーデ
ィング補正された画像データをオリジナル画像データD
aと呼ぶ。このオリジナル画像データDaは拡大縮小回
路4に送られる。そして、以上の処理タイミングは同期
制御回路305からの信号により行なわれる。この同期
制御回路305は水晶発振器306からの信号を基準に
して動作する。
In this example, 6 bits convert from 0 to 63 levels. A shading correction circuit 304 corrects optical illuminance unevenness in the image signal read by the CCD 300, and corrects the image signal converted into a 6-bit digital signal by the A/D converter 302. Thereafter, this shading-corrected image data is used as original image data D.
Call it a. This original image data Da is sent to the enlargement/reduction circuit 4. The above processing timing is performed by a signal from the synchronization control circuit 305. This synchronous control circuit 305 operates based on a signal from a crystal oscillator 306.

第3図はこの同期制御回路305で発生するタイミング
信号を示すタイミングチャートである。CLKIは画像
転送りロックであり、A/D変換器302、シェーディ
ング補正回路304、その他のクロックとなる。また、
このクロ7りCLKIをカウントして水平同期信号1(
−3YNCが発生する。この信号H−5YNCはCCD
読出開始シフトパルスSHでもある。φ1、φ2は画像
転送りロックCLKIの2倍の周期の位相の異なる信号
であり、それぞれCCDの奇数部、偶数部のアナログシ
フトレジスタをシフトするためのクロックである。CC
D300からの読取画像データ信号VIDEOはシフト
パルスSHの出力から1番目の画像データが読み出され
順次2番目、3番目・・・と5000ビット読み出され
るが、1番目から4番目まではCCDのダミー画素であ
り、5番目から4756番目の区間だけ主走査有効信号
H−VALIDがアクティブとなり、取り出される。信
号R3はCCD 300’のシフトレジスタを各シフト
毎にリセットするパルスで、画像データの後縁で発生す
る。MWEはシェーディング開始信号で、画像読み取り
が始まった直後にアクティブになった最初のラインの信
号II−VALIDの区間で発生する。副走査の方向の
タイミングは、原稿の読取区間で副走査有効信号V−V
ALIDがアクティブとなる。
FIG. 3 is a timing chart showing timing signals generated in this synchronization control circuit 305. CLKI is an image transfer lock and serves as a clock for the A/D converter 302, shading correction circuit 304, and others. Also,
The horizontal synchronization signal 1 (
-3YNC occurs. This signal H-5YNC is a CCD
It is also a read start shift pulse SH. φ1 and φ2 are signals having a period twice that of the image transfer lock CLKI and different in phase, and are clocks for shifting the analog shift registers of the odd and even parts of the CCD, respectively. C.C.
In the read image data signal VIDEO from D300, the first image data is read out from the output of the shift pulse SH, and then the second, third, and so on, 5000 bits are read out, but the first to fourth bits are the dummy data of the CCD. The main scanning valid signal H-VALID becomes active only in the 5th to 4756th section and is extracted. Signal R3 is a pulse that resets the shift register of CCD 300' for each shift and occurs at the trailing edge of the image data. MWE is a shading start signal, which is generated in the section of the signal II-VALID of the first line that becomes active immediately after image reading starts. The timing of the sub-scanning direction is determined by the sub-scanning effective signal V-V during the document reading period.
ALID becomes active.

(3)、シェーディング補正 第4図にその原理を示す。原稿にランプを照射して反射
光をレンズで集光し画像を読み取る袋=においては、ラ
ンプ、レンズ等の光学的問題からシェーディングと呼ば
れる不均一な光像が得られる。第4図において、主走査
方向の画像データをVl、V2・・・Vnとすると、そ
の主走査方向の両端でレベルが下がっている。そこで、
これを補正するために、シェーディング補正回路304
では次のような処理を行っている。第4図でVRは画像
レベルの最大値、vlは図示していない基準としての均
一濃度の白色板の白色を読み込んだ時の1ビツト目の画
像レベルである。実際に画像を読み取った時の画像レベ
ルをdlとすると、補正された画像の階調レベルd1′
は次のようになる。
(3) Shading correction The principle of shading correction is shown in FIG. In a bag, in which an image is read by irradiating a lamp onto an original and condensing the reflected light with a lens, a non-uniform optical image called shading is obtained due to optical problems with the lamp, lens, etc. In FIG. 4, when the image data in the main scanning direction is Vl, V2, . . . Vn, the level is decreasing at both ends in the main scanning direction. Therefore,
In order to correct this, the shading correction circuit 304
The following processing is performed. In FIG. 4, VR is the maximum value of the image level, and vl is the 1st bit image level when reading the white color of a white board with uniform density as a reference (not shown). If the image level when the image is actually read is dl, then the tone level of the corrected image is d1'
becomes as follows.

di ’ =dlx VR/Vl この補正式が成立するように各ビット毎にその補正を行
なう。
di' = dlx VR/Vl Correction is performed for each bit so that this correction formula holds true.

第5図にシェーディング補正回路304の内部の構成を
示す。3042は白色板に対応する信号を1ライン読み
込むためのシェーディング量記憶RAM、3041は画
像読取時にシェーディング量記憶RAM3042に記憶
された情報を基に画像信号を補正するシェーディング補
正ROMである。
FIG. 5 shows the internal configuration of the shading correction circuit 304. 3042 is a shading amount storage RAM for reading one line of a signal corresponding to a white board, and 3041 is a shading correction ROM that corrects an image signal based on the information stored in the shading amount storage RAM 3042 when reading an image.

シェーディング補正に際しては、まず、白色板の1ライ
ン分の読取画像データがシェーディング量記憶RAM3
042に記憶される。このとき、同期制御回路305か
らシェーディング開始信号MWE 、アドレス信号AD
R、画像転送りフロックCLKIが入力され、その内の
信号MWE 、タフロックCLKIがナントゲート30
43を介してシェーディング量記憶RAM3042のラ
イトイネーブル端子Wに接続され、上記読取画像データ
がアドレス信号ADRで指定された番地に記憶される。
When performing shading correction, first, the read image data for one line of the white plate is stored in the shading amount storage RAM 3.
042. At this time, the shading start signal MWE and address signal AD are sent from the synchronization control circuit 305.
R, the image transfer block CLKI is input, and the signal MWE and tough block CLKI are input to the Nantes gate 30.
43 to the write enable terminal W of the shading amount storage RAM 3042, and the read image data is stored at the address specified by the address signal ADR.

次に、原稿読取時には、A/D変換された画像データが
シェーディング補正ROM3041のアドレス端子AO
−A5に入力する。また、シェーディング世紀[RAM
3042に記憶されているシェーディングデータは、ア
ドレス信号ADRにより制御されて、それぞれ端子11
01− l106からシェーディング補正ROM304
1の端子A6〜Allに出力する。シェーディング補正
ROM3041には、上記の補正式での演算が行なわれ
るように、予め計算されたデータが書き込まれている。
Next, when reading the original, the A/D converted image data is transferred to the address terminal AO of the shading correction ROM 3041.
-Enter in A5. Also, the shading century [RAM
The shading data stored in the terminals 3042 and 3042 are respectively controlled by the address signal ADR and sent to the terminals 11 and 11.
01-l106 to shading correction ROM304
1 to terminals A6 to All. Pre-calculated data is written in the shading correction ROM 3041 so that calculations using the above correction formula can be performed.

以上の結果、読取画像データとシェーディングデータと
をアドレス信号として、シェーディング補正ROM30
41がアクセスされ、出力端子01〜06からシェーデ
ィング補正されたオリジナル画像データDaが得られる
As a result of the above, using the read image data and shading data as address signals, the shading correction ROM 30
41 is accessed, and shading-corrected original image data Da is obtained from output terminals 01 to 06.

(4)、拡大縮小の原理 拡大縮小の原理は、例えば拡大(倍率124 /64で
のサンプリング)では、第6図に示すように行なう。す
なわち、この第6図はサンプリングのタイミングを示す
ものであるが、64/124 (=0.51613)を
サンプリングタイミングのステップ幅とし、オリジナル
画像データの隣接する画素データの位置の比較により、
予め決めた補間データを選択する選択データを求め、こ
れにより補間データを得て、これをを変換画像データと
する。この例では、オリジナル画像データをDo、Di
、D2.D3.D4とし、その各々の階調レベルを0.
F、F、O,Oとした。各オリジナル画像データ間の単
位距離は1である。よって、サンプリング位置により選
択データはノルマライズされて、 o、ooooo→0 (So) 0.51613−8(Sl) 1.03226→O(S2) 1.54839→8 (S3) となる。左側がサンプリング位置である。右側のカッコ
内はサンプリング順を示し、その左側の記号が選択デー
タを示す。この選択データによって得られる補間データ
、つまり変換画像データは第6図の例では0(So) 
、8(Sl) 、F(S2> 、F(S3)・・・とな
る。カッコの左側の記号がその変換画像データである。
(4) Principle of Enlargement/Reduction The principle of enlargement/reduction is as shown in FIG. 6, for example, when enlarging (sampling at a magnification of 124/64). That is, although this FIG. 6 shows the sampling timing, the step width of the sampling timing is set to 64/124 (=0.51613), and by comparing the positions of adjacent pixel data of the original image data,
Selection data for selecting predetermined interpolation data is obtained, thereby obtaining interpolation data, which is used as converted image data. In this example, the original image data is
, D2. D3. D4, and each gradation level is 0.
F, F, O, O. The unit distance between each original image data is 1. Therefore, the selected data is normalized according to the sampling position, and becomes o, ooooo→0 (So) 0.51613-8 (Sl) 1.03226→O(S2) 1.54839→8 (S3). The left side is the sampling position. The number in parentheses on the right side indicates the sampling order, and the symbol on the left side indicates the selected data. The interpolation data obtained by this selection data, that is, the converted image data is 0 (So) in the example of FIG.
, 8(Sl), F(S2>, F(S3)...) The symbol to the left of the parentheses is the converted image data.

一方、縮小(倍率33/64でのサンプリング)では、
第7図に示すように行なう。ステップ幅は、64/33
 (=1.93939)となる。各オリジナル画像デー
タは第6図と同一である。この場合は、オリジナル画像
データが間引かれ、得られる変換画像データの数は減少
する。この場合の選択データはノルマライズされて、 o、ooooo→0(So) 1.93939→F(Sl) 3.87879→E (S2) となり、変換画像データは0(So)、F(Sl)、0
(S2)・・・となる。
On the other hand, in reduction (sampling at a magnification of 33/64),
Proceed as shown in FIG. Step width is 64/33
(=1.93939). Each original image data is the same as in FIG. In this case, the original image data is thinned out, and the number of obtained converted image data is reduced. The selection data in this case is normalized and becomes o, ooooo → 0 (So) 1.93939 → F (Sl) 3.87879 → E (S2), and the converted image data is 0 (So), F (Sl) ,0
(S2)...

(5)、拡大縮小回路 以下の説明では入力されるオリジナル画像データDaは
4ビツト、倍率は0.5〜2.0で1.5%刻みである
とし、1.5%の近似として×764を用いる。
(5) Enlargement/reduction circuit In the following explanation, it is assumed that the input original image data Da is 4 bits, and the magnification is 0.5 to 2.0 in 1.5% increments, and as an approximation of 1.5%, Use.

原理的には、サンプリング周期が変わったのと同等の動
作をさせるように回路が構成されており、拡大時には変
換画像データはオリジナル画像データ数よりも増え、縮
小時にはオリジナル画像データが間引かれて変換画像デ
ータ数は減少する。
In principle, the circuit is configured to perform the same operation as if the sampling period had changed; when enlarging, the converted image data increases more than the original image data, and when reducing, the original image data is thinned out. The number of converted image data decreases.

そして、オリジナル画像の主走査方向の拡大縮小は、拡
大縮小回路4を用いて電気的に行ない、副走査方向の拡
大縮小はCCD300の露光時間は一定にしておいて副
走査の移動速度を変えて行なう。
The enlargement/reduction of the original image in the main scanning direction is electrically performed using the enlargement/reduction circuit 4, and the enlargement/reduction in the sub-scanning direction is performed by changing the moving speed of the sub-scanning while keeping the exposure time of the CCD 300 constant. Let's do it.

つまり、その副走査速度を遅くすると拡大、速くすると
縮小されることになる。
In other words, if the sub-scanning speed is slowed down, the image will be enlarged, and if it is made faster, it will be reduced.

タイミング発生回路400は原稿読取部3の同期制御回
路305から゛のタイミング信号であるクロックCLK
I、水平同期信号H−SYNC1主走査方向有効信号H
−VALID 、副走査方向有効信号V−VALIDを
基にして回路全体のタイミング信号を発生する。その信
号中にはクロックCLKIの二倍の周波数のクロックC
LK2もある。
The timing generation circuit 400 receives a clock CLK which is a timing signal from the synchronization control circuit 305 of the document reading section 3.
I, horizontal synchronization signal H-SYNC1 main scanning direction valid signal H
-VALID, a timing signal for the entire circuit is generated based on the sub-scanning direction valid signal V-VALID. In that signal, there is a clock C with twice the frequency of the clock CLKI.
There is also LK2.

入力する4ビツトのオリジナル画像データDaは、クロ
7りCIJIを受けるラッチ401,402によってシ
フトされて、1画素分だけずれたDal、Da2として
得られ、予め2点間の上記した補間データがテーブルと
して格納されている補間ROM403のアドレス信号と
なる。別表−1は補間データのテーブル内容の一部分を
示したもので、実際には別表−2の姿でROM403に
書き込まれていて、2点間の直線補間された補間データ
Dbが記憶されている。この補間ROM403のアドレ
スとしては、端子A4〜A7. A8〜Allに入力す
る2点の各々のオリジナル画像データDal。
The input 4-bit original image data Da is shifted by latches 401 and 402 that receive CIJI, and is obtained as Dal and Da2 shifted by one pixel. This becomes the address signal of the interpolation ROM 403 stored as . Attachment 1 shows part of the table contents of interpolated data, and is actually written in the ROM 403 in the form of Attachment 2, in which interpolated data Db obtained by linear interpolation between two points is stored. The addresses of this interpolation ROM 403 are terminals A4 to A7. Original image data Dal of each of the two points input to A8 to All.

Da2と、直線で補間したどの位置を出力するかの選択
データSD(端子AO〜A3に入力する)が与えられる
。そして、補間RO?I 403はこれら3者によるア
ドレスが与えられると予め記憶している4ビツトの補間
データDbをラッチ404に出力する。
Da2 and selection data SD (input to terminals AO to A3) indicating which linearly interpolated position is to be output are given. And interpolation RO? I 403 outputs 4-bit interpolation data Db stored in advance to latch 404 when addresses from these three parties are given.

一方、データ選択テーブル405は、外部から設定され
る倍率とタイミング発生回路400からのクロックCL
K2をカウントするカウント回路406のカウント値に
よりアドレスされ、テーブルから選択データ信号SDと
拡大縮小時の処理タイミング信号TDを出力する。処理
タイミング信号TDはラッチ407゜408でクロック
CLに2により同期をとられた後にゲート回路409に
入力し、そのクロックCLK2を通過させるかそれとも
遮断するかをコントロールする。ゲート回路409によ
りコントロールされたクロックが後記する書込みクロッ
クCLK3となる。
On the other hand, the data selection table 405 includes a magnification set externally and a clock CL from the timing generation circuit 400.
It is addressed by the count value of a count circuit 406 that counts K2, and outputs a selection data signal SD and a processing timing signal TD during enlargement/reduction from the table. The processing timing signal TD is synchronized with the clock CL by 2 in the latches 407 and 408, and then input to the gate circuit 409, which controls whether the clock CLK2 is passed or blocked. The clock controlled by the gate circuit 409 becomes a write clock CLK3, which will be described later.

別表−3に124/64 (拡大)、別表−4に33/
64 (縮小)の場合のデータ選択テーブル405のテ
ーブルの一部の内容を示した。これらにおいて、出力デ
ータ8ビツトの内、上位4ビツトが補間ROM403の
上記した選択データSDとなるデータ、下位4ビツト(
この場合は0,1のみ)が書込みクロックCLK3を出
力する’IJか、しない’OJかをコントロールするた
めの処理タイミングデータTDである。第9図(a)、
(b)に124/64 (拡大)、33/64  (縮
小)のタイミングチャートを示す。
124/64 (enlarged) in attached table-3, 33/ in attached table-4
Part of the contents of the data selection table 405 in the case of 64 (reduction) is shown. In these, among the 8 bits of output data, the upper 4 bits are the data that becomes the above-mentioned selection data SD of the interpolation ROM 403, and the lower 4 bits (
In this case, only 0 and 1) is processing timing data TD for controlling whether 'IJ' or 'OJ' outputs the write clock CLK3. Figure 9(a),
(b) shows a timing chart for 124/64 (enlarged) and 33/64 (reduced).

拡大(124/64)時に変換された画像データDbは
別表−5に示すようになる。この変換された変換画像デ
ータ5o−S9の時、書込みクロックCLK3が出力さ
れて、後段の2値化回路410に送られる。
The image data Db converted during enlargement (124/64) is shown in Appendix-5. At the time of the converted image data 5o-S9, the write clock CLK3 is outputted and sent to the binarization circuit 410 at the subsequent stage.

一方、縮小(33/64)の場合は間引きされるデータ
があるため、変換画像データDbは表−6に示すように
出力される。ここで、変換画像データが無効データ或い
は間引きデータの時は、書込みクロックCLK3は出力
されない。無効データとは回路の基準クロックCLK2
を基準クロックCLKIの2倍に合わせているために縮
小時に出力されるデータ、また間引きデータとは縮小時
にオリジナル画像データDaから変換画像データDbを
作らないタイミングで出力されるデータである。
On the other hand, in the case of reduction (33/64), since some data is thinned out, the converted image data Db is output as shown in Table 6. Here, when the converted image data is invalid data or thinned-out data, the write clock CLK3 is not output. Invalid data is the circuit reference clock CLK2.
data that is output during reduction because it is set to twice the reference clock CLKI, and thinned data is data that is output at a timing when converted image data Db is not created from original image data Da during reduction.

そして、上記のようにして拡大成いは縮小処理により得
られた変換画像データDbは、書込みクロックと同期し
て、後段の2値化回路410に送られ、を内蔵するディ
ザROM411の閾値と比較されて、2値データとして
記録装置2に出力される。ディザROM411は水平同
期信号H−5YNCをカウントする副走査カウンタ41
2と書込みクロックCLK3をカウントする主走査カウ
ンタ413のカウント値により、アドレスされる。
The converted image data Db obtained by the enlargement/reduction processing as described above is sent to the subsequent binarization circuit 410 in synchronization with the write clock, and is compared with the threshold value of the dither ROM 411 containing the and output to the recording device 2 as binary data. The dither ROM 411 is a sub-scanning counter 41 that counts the horizontal synchronization signal H-5YNC.
2 and the count value of the main scanning counter 413 that counts the write clock CLK3.

(6)0本発明の要点 以上のように、内部の処理クロックを、転送りロック(
同期クロック”) CLKIの2倍の周波数のクロック
CLK2としているので、倍率が2倍以内で変化しても
、回路全体でのタイミングが変化することはない。よっ
て、最大倍率N倍においては、同期クロックのN倍以上
の周波数のクロックを処理クロックとすればよい。
(6)0 Key points of the present invention As mentioned above, the internal processing clock can be transferred and locked (
Since the clock CLK2 has twice the frequency of CLKI ("synchronous clock"), the timing of the entire circuit will not change even if the magnification changes within 2 times. Therefore, at the maximum magnification N times, the synchronization A clock with a frequency N times or more higher than the clock may be used as the processing clock.

本実施例では、第8図のカウンタ406への入力に上記
クロックCLK2を使用している。本実施例では、倍率
の刻みが1764であるので、データ選択ROM405
のデータは64の繰り返しとなる。そして、倍率が2倍
までを考えて処理クロックを同期クロックの2倍として
いるので、前述したように拡大の場合はデータが増し、
縮小の場合には間引かれることになること前述した通り
であり、データ選択ROMは128の繰り返しとなる。
In this embodiment, the above clock CLK2 is used as an input to the counter 406 in FIG. In this embodiment, since the magnification step is 1764, the data selection ROM 405
The data is 64 repetitions. Since the processing clock is set to twice the synchronization clock considering the magnification up to 2x, as mentioned above, in the case of enlargement, the data increases,
As mentioned above, in the case of reduction, data will be thinned out, and the data selection ROM will have 128 repetitions.

第10図に拡大縮小されたデータの出力の状態をより簡
素化した説明図を示す。(a)は等倍であり、1:1で
出力されるためにデータ数の増減はない。
FIG. 10 shows an explanatory diagram that further simplifies the output state of scaled data. (a) is the same size and is output at a ratio of 1:1, so there is no increase or decrease in the number of data.

同期クロックの1サイクル間で入力データの前部分が出
力し、後部分は無効データとなる。
The first part of the input data is output during one cycle of the synchronous clock, and the second part becomes invalid data.

(′b)は拡大の例であり、倍率によって同期クロック
の1サイクル間で2個のデータが出力する。またデータ
が増えないタイミングでは、後部は無効データとなる。
('b) is an example of enlargement, and depending on the magnification, two pieces of data are output during one cycle of the synchronous clock. Furthermore, at a timing when data does not increase, the rear part becomes invalid data.

(C1は縮小の例であり、倍率によって同期クロックの
1サイクル間でデータが間引かれるタイミングが発生す
る。
(C1 is an example of reduction, and the timing at which data is thinned out during one cycle of the synchronization clock occurs depending on the magnification.

(6)、実施例の総括 以上のように、本実施例では、指定倍率に応じて全体の
倍率が変化することがないので、回路構成が簡単となる
。また、本実施例では、主走査方向(1次元)について
説明したが、副走査方向も含めた2次元方向で行っても
よい、また、本実施例では、ROMテーブルを用いて回
路を構成しているため、動作のタイミング取りが簡単と
なる。また、倍率による情報をデータ選択ROMとして
持っているので、特定の倍率でもその設定が可能となる
。更に、画像データを補間した後に異なる周期のクロッ
クでサンプリングする方式ではないので、補間ROM等
においても、特に高速のROMを用意する必要はなく、
例えば2倍までの拡大処理を行なう場合であれば、画像
読取りロックの2倍の速度があれば良い。更に、本実施
例では、完全に画像データを補間したデータを用いて拡
大縮小しているので、画質が良く高速処理が可能となる
(6) Summary of the Embodiment As described above, in this embodiment, the overall magnification does not change depending on the specified magnification, so the circuit configuration is simplified. In addition, although this embodiment has been described in the main scanning direction (one-dimensional), it may also be carried out in a two-dimensional direction including the sub-scanning direction.Also, in this embodiment, the circuit is configured using a ROM table. This makes it easy to determine the timing of the operation. Furthermore, since the data selection ROM has information on the magnification, it is possible to set a specific magnification. Furthermore, since the system does not interpolate the image data and then sample it with a clock of a different cycle, there is no need to prepare a particularly high-speed ROM for the interpolation ROM, etc.
For example, in the case of performing enlargement processing up to 2 times, a speed twice as fast as the image reading lock is sufficient. Furthermore, in this embodiment, since the image data is scaled up and down using completely interpolated data, the image quality is good and high-speed processing is possible.

〔発明の効果〕〔Effect of the invention〕

以上から本発明によれば、最大倍率N倍における処理ク
ロックを、画像信号の同期クロックのN倍以上の周波数
としたので、全体の処理タイミングが狂うことはないの
で、回路構成が簡単となる。
As described above, according to the present invention, since the processing clock at the maximum magnification N times is set to a frequency N times or more of the synchronization clock of the image signal, the overall processing timing does not go out of order, and the circuit configuration is simplified.

−則人二土〔その1)(補間テーブルの内容の例)別表
−1〔その2〕 −W人二上〔その3〕 一別l二土〔その4〕 4CF11.bUOUUC4υl’lZ、4;(’IF
)υし4?、l’1.3.J’151]υIJ41’?
14.、jlZ5LIWADR5+O+1  +2 +
3 ↓4 +5 ↓6  +7  +8  +9  +
A  +B  +C40+E  +F隣接オリジナル画
像データ 別表−3(+24/64のデータ選択R聞の内容)−別
スニョエ(33/64のデータ選択ROMの内容)別表
−5 別表−6
-Norito Nito [Part 1] (Example of the contents of the interpolation table) Attachment-1 [Part 2] -W Jinji [Part 3] Ichibetsul Nito [Part 4] 4CF11. bUOUUC4υl'lZ,4;('IF
)υshi4? , l'1.3. J'151]υIJ41'?
14. , jlZ5LIWADR5+O+1 +2 +
3 ↓4 +5 ↓6 +7 +8 +9 +
A +B +C40+E +F adjacent original image data Annex-3 (+24/64 data selection R content) - Separate sunye (33/64 data selection ROM content) Annex-5 Annex-6

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は画像処理装置の基本構成を示す図、第2図は原
稿読取装置の内部ブロック図、第3図(al、(blは
原稿読取のタイミングチャート、第4図はシェーディン
グ補正の原理の説明図、第5図はシェーディング補正回
路の詳細図、第6図は拡大倍率の場合のサンプリング説
明図、第7図は縮小倍率の場合のサンプリング説明図、
第8図は拡大縮小回路の回路図、第9図(al、(b)
は拡大、縮小のタイミングチャート、第10図(a)〜
(C1は拡大縮小の説明図である。 代理人 弁理士 長 尾 常 明 1      軒 第3図 (a) −V/ILID □■ ADRCLKI出E 第9図 (a) 1214/64 ハワイ二2コ (b) 33/S勾 11クィ二、1゛ 第10図 t:、、、、lイー3ノ 手続補正書動式、 1、事件の表示 昭和61年特許廓第094427号 2、発明の名称 最大倍率に応じた処理クロックを用いた画像処理装置3
、補正をする者 事件との関係  特許出願人 住  所  東京都新宿区西新宿1丁目26番2号名 
 称  (127)  小西六写真工業株式会社4、代
理人 住  所  8104東京都中央区銀座4丁目12番1
号ミズホ第一ビル 3階 203−545−81506
、補正により増加する発明の数   なし7、補正の対
象   明細書
Fig. 1 is a diagram showing the basic configuration of the image processing device, Fig. 2 is an internal block diagram of the document reading device, Fig. 3 (al, (bl) is a timing chart of document reading, and Fig. 4 is a diagram showing the principle of shading correction. 5 is a detailed diagram of the shading correction circuit, FIG. 6 is an explanatory diagram of sampling in the case of enlargement magnification, FIG. 7 is an explanatory diagram of sampling in the case of reduction magnification,
Figure 8 is a circuit diagram of the enlargement/reduction circuit, Figure 9 (al, (b)
is a timing chart of enlargement and reduction, Fig. 10(a) ~
(C1 is an explanatory diagram of enlargement/reduction. Agent Patent Attorney Tsuneaki Nagao 1 Figure 3 (a) -V/ILID □■ ADRCLKI OutE Figure 9 (a) 1214/64 Hawaii 22 ( b) 33/S gradient 11 Queen 2, 1゛Figure 10 t:,,,,l E3 procedure amendment form, 1. Indication of the case 1986 Patent Office No. 094427 2. Title of the invention Maximum Image processing device 3 using processing clock according to magnification
, Relationship with the case of the person making the amendment Patent applicant address: 1-26-2 Nishi-Shinjuku, Shinjuku-ku, Tokyo
Name (127) Konishiroku Photo Industry Co., Ltd. 4, Agent address 4-12-1, Ginza, Chuo-ku, Tokyo 8104
No. Mizuho Daiichi Building 3rd floor 203-545-81506
, Number of inventions increased by amendment None 7. Subject of amendment Description

Claims (1)

【特許請求の範囲】[Claims] (1)、光電変換素子を用いて得た原稿画像情報に所定
の倍率で拡大縮小処理を施す画像処理装置において、 最大倍率N倍における処理クロックを、画像信号の同期
クロックのN倍以上の周波数としたことを特徴とする画
像処理装置。
(1) In an image processing device that performs scaling processing at a predetermined magnification on document image information obtained using a photoelectric conversion element, the processing clock at the maximum magnification N times is set to a frequency N times or more of the synchronization clock of the image signal. An image processing device characterized by:
JP9442786A 1986-04-25 1986-04-25 Picture processor using processing clock corresponding to maximum magnification Pending JPS6354868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9442786A JPS6354868A (en) 1986-04-25 1986-04-25 Picture processor using processing clock corresponding to maximum magnification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9442786A JPS6354868A (en) 1986-04-25 1986-04-25 Picture processor using processing clock corresponding to maximum magnification

Publications (1)

Publication Number Publication Date
JPS6354868A true JPS6354868A (en) 1988-03-09

Family

ID=14109930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9442786A Pending JPS6354868A (en) 1986-04-25 1986-04-25 Picture processor using processing clock corresponding to maximum magnification

Country Status (1)

Country Link
JP (1) JPS6354868A (en)

Similar Documents

Publication Publication Date Title
US4712141A (en) Method and apparatus for interpolating image signals
JPH05260287A (en) Improvement of picture enlargement/reduction device
US4776031A (en) Image reading apparatus
JPH0573675A (en) Picture processor
JP2000013594A (en) Image processor, image processing method therefor and recording medium
JPS6354868A (en) Picture processor using processing clock corresponding to maximum magnification
JPS62252268A (en) Picture processor to expand reduce process original picture
JPS63107273A (en) Image processor with enhanced binarization of data
JPS62252265A (en) Inproved picture processor concerning data selecting table
US5262631A (en) Color image reading apparatus
JPS62252266A (en) Improved picture processor concerning interpolating table part
JPS62252267A (en) Picture processor having expanding reducing processing circuit
JPS62252264A (en) Picture reader whose part to obtain timing signal is improved
JP2744292B2 (en) Image processing device
JPS62169278A (en) Picture processor
JPH03128566A (en) Picture reader
JPH05108814A (en) Picture reader
JP2000188678A (en) Image processing unit and method for correcting tilting
JPS62252272A (en) Picture processor capable of attaching/detaching expanding reducing circuit
KR100374581B1 (en) Reducing method of digital image and device thereof
JP2853160B2 (en) High-resolution image reading circuit
JPS62221274A (en) Image processor capable of enlargement/reduction
JPS62157469A (en) Picture processor
JPS62221271A (en) Image processor capable of enlargement/reduction
JPS63208363A (en) Picture signal processing circuit