JPS62252265A - Inproved picture processor concerning data selecting table - Google Patents
Inproved picture processor concerning data selecting tableInfo
- Publication number
- JPS62252265A JPS62252265A JP61094422A JP9442286A JPS62252265A JP S62252265 A JPS62252265 A JP S62252265A JP 61094422 A JP61094422 A JP 61094422A JP 9442286 A JP9442286 A JP 9442286A JP S62252265 A JPS62252265 A JP S62252265A
- Authority
- JP
- Japan
- Prior art keywords
- data
- magnification
- selecting
- circuit
- 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
Links
- 238000003705 background correction Methods 0.000 description 15
- 238000005070 sampling Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 5
- 102100040844 Dual specificity protein kinase CLK2 Human genes 0.000 description 4
- 102100040856 Dual specificity protein kinase CLK3 Human genes 0.000 description 4
- 101000749291 Homo sapiens Dual specificity protein kinase CLK2 Proteins 0.000 description 4
- 101000749304 Homo sapiens Dual specificity protein kinase CLK3 Proteins 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 210000002784 stomach Anatomy 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 101100328957 Caenorhabditis elegans clk-1 gene Proteins 0.000 description 1
- 210000003323 beak Anatomy 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
Landscapes
- Editing Of Facsimile Originals (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は倍率の精度が細かくなった場合でもメモリ容量
を増す必要がないようにした画像処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that does not require an increase in memory capacity even when the accuracy of magnification becomes finer.
従来から画像データを拡大縮小する画像処理装置として
は、特開昭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−N/7w
同様に、CCDからの転送りロックをfとすると、f
= N/T
ただし、TはCCDが一走査を行なう期間である。For example, if the time taken for one scan by a laser printer as a recording device is Tw, and the number of pixels present during scanning is N, then the printer's transfer opening/cutting frequency fo is fo-N/7w Similarly, If the transfer lock from the CCD 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 conditions. Based on this, we proposed a system in which the interpolated data is read out and enlarged/reduced.
この方式は、倍率に応じて転送りロックを変える必要が
ないために、複雑なりロック発生回路が不用となり、露
光量を制御する必要もなく、更に画質も良好となる。In this method, there is no need to change the transfer lock depending on the magnification, so there is no need for a complicated lock generation circuit, there is no need to control the exposure amount, and the image quality is also improved.
しかしながら、この方式では、上記した補間データを選
択するためのデータ選択テーブルをROMで構成して予
め倍率に応じた選択データを記憶させておく必要がある
ため、その選択テーブル用のROMに大きな容量が必要
となり、特に細かい倍率とする場合はそれが顕著となる
。However, in this method, it is necessary to configure a data selection table for selecting the interpolation data described above in ROM and store selection data according to the magnification in advance, so the ROM for the selection table has a large capacity. is necessary, and this becomes especially noticeable when using a fine magnification.
本発明の目的は、上記した問題点を解決し、更に倍率の
精度を細かくしてもテーブルの容量を増加させる必要が
ないようにすることである。An object of the present invention is to solve the above-mentioned problems and to make it unnecessary to increase the capacity of the table even if the precision of the magnification is made finer.
このために本発明は、複数の画像情報の補間を行なうた
めの補間テーブルと該補間テーブルから特定の補間デー
タを選択するためのデータ選択テーブルとを用いて画像
の拡大縮小処理を行なう画像処理装置において、
上記データ選択テーブルを書替え可能なメモリで構成し
、外部から指示された倍率条件により演算手段で演算し
た結果を選択データとして上記メモリに書き込むように
した。To this end, the present invention provides an image processing apparatus that performs image scaling processing using an interpolation table for interpolating a plurality of pieces of image information and a data selection table for selecting specific interpolation data from the interpolation table. In the present invention, the data selection table is constructed of a rewritable memory, and the result of calculation by the calculation means according to the magnification conditions instructed from the outside is written into the memory as selection data.
以下、本発明の詳細な説明する。 The present invention will be explained in detail below.
(1)3画像読取装置の基本構成 第1図にその画像読取装置のブロック図を示す。(1) Basic configuration of three image reading devices FIG. 1 shows a block diagram of the image reading 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, converts it into an electrical signal, and converts the document into an electrical signal.
/D conversion and shading correction, etc., and then 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. This enlarged or reduced converted image data is then converted into binary data in accordance with the recording device 2 at the subsequent stage.
(2)、原稿読取部
第2図にその構成を示す。原稿はCC0300で読み取
られ、アンプ301で所定のレベルまで増幅されてから
^/D変換器302に入力される。このA/D変換器3
02では、基準電源303の電圧を基準にして入力アナ
ログ信号がディジタル信号に変換される。(2), Original reading section The configuration is shown in FIG. A document is read by CC0300, amplified to a predetermined level by amplifier 301, and then input to ^/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、その他のクロックとなる。また、
このクロックCLKIをカウントして水平同期信号H−
SYNCが発生する。この信号ll−3YNCはCCD
読出開始シフトパルスSHでもある。φ11φ2は画像
転送りロックCLKIの1/2倍の周期の位相の異なる
信号であり、それぞれCCDの奇数部、偶数部のアナロ
グシフトレジスタをシフトするためのクロックである。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,
This clock CLKI is counted and the horizontal synchronization signal H-
SYNC occurs. This signal ll-3YNC is a CCD
It is also a read start shift pulse SH. φ11φ2 are signals having a period 1/2 times that of the image transfer lock CLKI and having different phases, and are clocks for shifting the analog shift registers of the odd and even parts of the CCD, respectively.
CCD300からの読取画像データ信号VIDEOはシ
フトパルスSHの出力から1番目の画像データが読み出
され順次2番目、3番目・・・と5000ビット読み出
されるが、1番目から4番目まではCCDのダミー画素
であり、5番目から4756番目の区間だけ主走査有効
信号H−VALIDがアクティブとなり、取り出される
。信号RSはCCD300のシフトレジスタを各シフト
毎にリセットするパルスで、画像データの後縁で発生す
る。MWEはシェーディング開始信号で、画像読み取り
が始まった直後にアクティブになった最初のラインの信
号H−VALIDの区間で発生する。副走査の方向のタ
イミングは、原稿の読取区間で副走査有効信号V−VA
LIDがアクティブとなる。In the read image data signal VIDEO from the CCD 300, 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 sequentially. The main scanning valid signal H-VALID becomes active only in the 5th to 4756th section and is extracted. Signal RS is a pulse that resets the shift register of CCD 300 for each shift, and is generated at the trailing edge of image data. MWE is a shading start signal, which is generated in the section of the first line signal H-VALID that becomes active immediately after image reading starts. The timing of the sub-scanning direction is determined by the sub-scanning valid signal V-VA during the document reading period.
LID 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 an apparatus that reads an image by irradiating a lamp onto a document and condensing the reflected light with a lens, an uneven optical image called shading is obtained due to optical problems with the lamp, lens, and the like. 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 image level of the first bit 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か
らシェーディング開始信号MWH、アドレス信号ADR
、画像転送りソロツクCLKIが入力され、その内の信
号MWE 、クツロックCLKIがナントゲート304
3を介してシェーディング量記憶RAM3042のライ
トイネーブル端子Wに接続され、上記読取画像データが
アドレス信号ADHで指定された番地に記憶される。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, a shading start signal MWH and an address signal ADR are sent from the synchronization control circuit 305.
, the image transfer solo lock CLKI is input, and the signals MWE and clock CLKI are input to the Nant gate 304.
3 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 ADH.
次に、原稿読取時には、A/D変換された画像データが
シェーディング補正ROM3041のアドレス端子へ〇
〜A5に入力する。また、シェーディング量記憶RAM
3042に記憶されているシェーディングデータは、ア
ドレス信号ADRにより制御されて、それぞれ端子T1
01〜l106からシェーディング補正ROM3041
の端子A6〜Allに出力する。シェーディング補正R
OM3041には、上記の補正式での演算が行なわれる
ように、予め計算されたデータが書き込まれている。Next, when reading a document, the A/D converted image data is input to address terminals 0 to A5 of the shading correction ROM 3041. In addition, shading amount storage RAM
The shading data stored in 3042 is controlled by the address signal ADR, and the shading data stored in each terminal T1 is controlled by the address signal ADR.
Shading correction ROM3041 from 01 to l106
output to terminals A6 to All. Shading correction R
Pre-calculated data is written in the OM 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,04とし、その各々の階調レベルをO,
F、F、0.Oとした。各オリジナル画像データ間の単
位距離は1である。よって、サンプリング位置により選
択データはノルマライズされて、
0.0QOQO−0(S(1)
0.5L613→8(SL)
1.03226−0(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, 04, and the respective gradation levels are O,
F, F, 0. It was set as O. The unit distance between each original image data is 1. Therefore, the selected data is normalized according to the sampling position and becomes 0.0QOQO-0(S(1) 0.5L613→8(SL) 1.03226-0(S2) 1.54839-8(S3). The left side is the sampling position.The brackets on the right side indicate the sampling order, and the symbol on the left side indicates the selected data.The interpolated data obtained by this selected data, that is, the converted image data, is 0 (SO )
, 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図と同一である。この場合は、オリジナル画像
データが間引かれ、得られる変換画像データの数は減少
する。この場合の選択データはノルマライズされて、
0.00000−0(So)
L、93939→F (SL)
3.87879→E (S2)
となり、変換画像データはO(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 0.00000-0(So) L, 93939→F (SL) 3.87879→E (S2), and the converted image data is O(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を用いて電気的に行ない・副走査方向の拡
大縮小はC0D300の露光時間は一定にしておいて副
走査の移動速度を変えて行なう。The enlargement/reduction of the original image in the main scanning direction is electrically performed using the enlargement/reduction circuit 4.The enlargement/reduction in the sub-scanning direction is performed by keeping the exposure time of the C0D 300 constant and changing the moving speed of the sub-scanning. 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からのタイミング信号であるクロックCLKI
、水平同期信号H−SYNC1主走査方向有効信号H−
VALID 、副走査方向有効信号V−VALIDを基
にして回路全体のタイミング信号を発生する。その信号
中にはクロックCLKIの二倍の周波数のクロックCL
K2もある。The timing generation circuit 400 receives a clock CLKI which is a timing signal from the synchronization control circuit 305 of the document reading section 3.
, horizontal synchronization signal H-SYNC1 main scanning direction valid signal H-
VALID, and 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 CL with twice the frequency of the clock CLKI.
There is also K2.
入力する4ビツトのオリジナル画像データDaは、クロ
ックCLKIを受けるラッチ401.402によってシ
フトされて、1画素分だけずれたDal 、Da2とし
て得られ、予め2点間の上記した補間データがテーブル
として格納されている補間ROM403のアドレス信号
となる。別表−1は補間データのテーブル内容の一部分
を示したもので、実際には別表−2の姿でROM403
に書き込まれていて、2点間の直線補間された補間デー
タobが記憶されている。この補間ROM403のアド
レスとしては、端子A4〜A7. A8〜Allに入力
する2点の各々のオリジナル画像データDal。The input 4-bit original image data Da is shifted by latches 401 and 402 that receive the clock CLKI, and is obtained as Dal and Da2 shifted by one pixel, and the above interpolated data between the two points is stored in advance as a table. This becomes the address signal of the interpolation ROM 403 that is currently being used. Attachment 1 shows a part of the table contents of interpolated data, and in reality, it is stored in ROM403 as shown in Attachment 2.
The interpolated data ob 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と、直線で補間したどの位置を出力するかの選択
データS口(端子AO〜八3に入力する)が与えられる
。そして、補間ROM 403はこれら3者によるアド
レスが与えられると予め記憶している4ビツトの補間デ
ータDbをラッチ404に出力する。Da2 and selection data S (input to terminals AO to 83) indicating which linearly interpolated position is to be output are given. When the interpolation ROM 403 receives the addresses from these three sources, it outputs the 4-bit interpolation data Db stored in advance to the latch 404.
一方、データ選択テーブル405は、外部から設定され
る倍率とタイミング発生回路400からのクロックCL
K2をカウントするカウント回路406のカウント値に
よりアドレスされ、テーブルから選択データ信号SDと
拡大縮小時の処理タイミング信号TOを出力する。処理
タイミング信号TOはラッチ407゜408でクロック
CLK2により同期をとられた後にゲート回路409に
入力し、そのクロックCLK2を通過させるかそれとも
遮断するかをコントロールする。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 the count circuit 406 that counts K2, and outputs the selection data signal SD and the processing timing signal TO during enlargement/reduction from the table. The processing timing signal TO is synchronized with the clock CLK2 by latches 407 and 408, and then input to the gate circuit 409, which controls whether the clock CLK2 is passed or blocked.
ゲート回路409によりコントロールされたクロックが
後記する書込みクロックCLK3となる。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を出
力する「1」か、しない「0」かをコントロールするた
めの処理タイミングデータTOである。第9図(al、
(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 the processing timing data TO for controlling whether the write clock CLK3 is output as "1" or "0" as not. Figure 9 (al,
(b) shows a timing chart for 124/64 (enlarged) and 33/64 (reduced).
拡大(124/64)時に変換された画像データDbは
別表−5に示すようになる。この変換された変換画像デ
ータSO−S9の時、書込みクロ7りCIJ3が出力さ
れて、後段の2値化回路410に送られる。The image data Db converted during enlargement (124/64) is shown in Appendix-5. At the time of this converted image data SO-S9, write black 7 CIJ3 is output and sent to the binarization circuit 410 at the subsequent stage.
一方、縮小(33/64)の場合は間引きされるデータ
があるため、変換画像データobは表−6に示すように
出力される。ここで、変換画像データが無効データ或い
は間引きデータの時は、書込みクロックCLK3は出力
されない。無効データとは回路の基準クロックCLK2
を基準クロックCLK 1の2倍に合わせているために
縮小時に出力されるデータ、また間引きデータとは縮小
時にオリジナル画像データDaから変換画像データDb
を作らないタイミングで出力されるデータである。On the other hand, in the case of reduction (33/64), since some data is thinned out, the converted image data ob 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 CLK 1, and thinned data refers to the converted image data Db from the original image data Da during reduction.
This is data that is output at a time when no data is generated.
そして、上記のようにして拡大成いは縮小処理により得
られた変換画像データDbは、書込みクロックと同期し
て、後段の2値化回路410に送られ、ディザROM4
11の値と比較されて、2値データとして記録装置2に
出力される。ディザROM411は水平同期信号!1−
5YNCをカウントする副走査カウンタ412と書込み
クロック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 stored in the dither ROM 4.
11 and output to the recording device 2 as binary data. Dither ROM411 is a horizontal synchronization signal! 1-
A sub-scanning counter 412 that counts 5YNC and a main-scanning counter 413 that counts the write clock CLK3.
It is addressed by the count value of .
(6)8本発明の要部
ところで、上記したように、倍率が0.5〜2.0倍で
1.5%刻み(X/64を用いる。)とすると、第8図
に示した拡大縮小回路4において、データ選択テーブル
405にROMを使用する場合には、12kX8バイト
必要である。現実的には、4に×8バイトのROMが3
個で構成される。(6) 8 Main parts of the present invention As mentioned above, if the magnification is 0.5 to 2.0 times in 1.5% increments (X/64 is used), the enlargement shown in FIG. In the reduction circuit 4, when a ROM is used for the data selection table 405, 12k×8 bytes are required. Realistically, 4 x 8-byte ROM is 3
Consists of individuals.
しかし、倍率刻みを上げて2倍の1%(X/128を用
いる。)にする場合を考えると、必要とするROMの容
量が増すことなにる。However, if we consider the case where the magnification step is increased to double 1% (using X/128), the required ROM capacity will increase.
よって、当然、ROMの必要個数も2倍の6個となり、
回路の面積が非常に大きくなり、信頼性も低下し実用的
でなくなる。また、倍率刻み以外の倍率(例えば用紙サ
イズA3−84への縮小)を用意すると、その値を記憶
するためのROMが新たに必要となる。Therefore, naturally, the required number of ROMs will be doubled to 6,
The area of the circuit becomes very large, and the reliability decreases, making it impractical. Further, if a magnification other than the magnification step (for example, reduction to paper size A3-84) is prepared, a new ROM is required to store the value.
そこで、本実施例では、第8図に示すように、データ選
択テーブル405の構成部分として、書替え可能なメモ
リとしてのデータ選択RAM4050を用いた。そして
、I10ボート4053を介して入力する倍率情報(経
路を・−・で示す。)に応じて、CPU4051により
補間ROM403用の選択データSO並びに処理タイミ
ング信号TDを演算して、このデータそのデータ選択R
AM4050に書き込むようにした。この書込み経路を
一一一一一で示す。Therefore, in this embodiment, as shown in FIG. 8, a data selection RAM 4050 as a rewritable memory is used as a component of the data selection table 405. Then, the CPU 4051 calculates the selection data SO and the processing timing signal TD for the interpolation ROM 403 in accordance with the magnification information input via the I10 port 4053 (the path is indicated by ...), and selects this data. R
I started writing to AM4050. This write path is indicated by 11111.
CPt14051での演算は、倍率の逆数がサンプリン
グ間隔となるので(例えば、124/64倍の場合は6
4/124=0.5613) 、オリジナル画像データ
とサンプリング位置により選択データS口及び処理タイ
ミングデータTDを求める。例えば、倍率として124
/64倍が指定された場合には別表−3の内容を、また
33764倍が指定された場合には別表−4の内容を出
力するようにして、これがデータ選択RAM4050に
書き込まれるようにした。この動作は、選択回路405
2によりCPU4051のアドレスバスが選択された状
態で行なわれる。In calculations with CPt14051, the reciprocal of the magnification becomes the sampling interval (for example, in the case of 124/64 times, 6
4/124=0.5613), the selection data S and processing timing data TD are determined from the original image data and the sampling position. For example, the magnification is 124
When /64 times is specified, the contents of Attached Table 3 are output, and when 33764 times is specified, the contents of Attached Table 4 are output, and these are written to the data selection RAM 4050. This operation is performed by the selection circuit 405
This is carried out with the address bus of the CPU 4051 selected by 2.
さて、倍率を指定することより、上記のようにしてその
指定した倍率に対応する選択データSrJや処理タイミ
ング信号TDがデータ選択RAM4050にデータ選択
テーブルとして記憶きれるので、次に拡大縮小の処理が
スタートすると、選択回路4052によりカウンタ回路
406のアドレスが選択され、データ選択RAM405
0に与えられて続出が行なわれる。Now, by specifying the magnification, the selection data SrJ and processing timing signal TD corresponding to the specified magnification can be stored in the data selection RAM 4050 as a data selection table as described above, so the scaling process starts next. Then, the selection circuit 4052 selects the address of the counter circuit 406, and the data selection RAM 405 selects the address of the counter circuit 406.
It is given to 0 and the continuation is performed.
よって、クロックCLK2がカウンタ回路406に入力
さ、れデータ選択RAM4050に上記のようにして書
き込まれている選択データSDや処理タイミング信号T
Dが読み出されて、補間ROM403やう・ノチ40B
に送出される。Therefore, the clock CLK2 is input to the counter circuit 406, and the selection data SD and processing timing signal T written in the data selection RAM 4050 as described above are inputted to the counter circuit 406.
D is read and the interpolation ROM 403 and Nochi 40B
will be sent to.
なお−、CPU421での演算に時間がかかる場合には
、基本パターンとしてROMによるテーブルを用意する
こともできる。更に、倍率演算用のCPU4051 ハ
単独で設けることもでき、或いは装置全体を制御するC
PUと共用することもできる。Note that if the calculation by the CPU 421 takes time, a ROM-based table may be prepared as a basic pattern. Furthermore, a CPU 4051 for magnification calculation can be provided alone, or a CPU 4051 for controlling the entire device can be provided.
It can also be shared with PU.
以上から本発明によれば、補間データを記憶しているメ
モリの補間データを選択するためのデータ選択テーブル
を書替え可能なメモリとし、外部から指示された拡大縮
小条件により演算手段で演算して該メモリに当該選択テ
ーブルを書き込むようにしたので、倍率の精度を細かく
した場合でもメモリの容量を増すことなくそのテーブル
を実現することができる。From the above, according to the present invention, the data selection table for selecting interpolation data in the memory storing interpolation data is made into a rewritable memory, and the calculation means calculates the data according to the enlargement/reduction conditions instructed from the outside. Since the selection table is written in the memory, even if the precision of the magnification is made finer, the table can be realized without increasing the memory capacity.
ww9MデW 寸”?’#IQつOつOつOつl’51
’つQフ*、、 ′W″胃ゞのの
ののりのののへへへ!!啼V5り1哨のロロロロロco
t’−e−−1lll m W −1’ u’s u
”+ tt”+ u’s u’> u”a ta”x
tn Clコ(コqコqコC;j w 、、、、、
、MF wい。。い。。いや
!!デ!嘴t1枦!!11啼雫11デ1デ!で!デ!r
−五人二重〔その3〕
−IUし=L〔その4〕
4L、I’ 11.)tlUUU t; 4
υF 12.43750 C4EF【選択データ
SD −
八DRS +O+1 +2 +3 +4 +
5 +隣接オリジナル画像データ
、−2(補間ROMの内容の例)
3 +7 +B +g +/l +13 +(: +[
l +E +FAABCCDIEE
+篭
ヘ ヘ\
コ 11
+(
5二〉へ へ\
コ11ww9M deW size"?'#IQtsuOtsuOtsuOtsul'51
'TsuQfu*,, 'W'' My stomach is soaring!! Rorororororo co of V5ri 1 post
t'-e--1llll m W -1'u's u
"+ tt"+ u's u'>u"ata"x
tn Clko(koqkoqkoC; j w ,,,,,
, MF lol. . stomach. . no! ! De! Beak t1! ! 11 drops 11 de 1 de! in! De! r
-Five people double [Part 3] -IUshi=L [Part 4] 4L, I' 11. )tlUUUt; 4
υF 12.43750 C4EF [Selection data SD - 8 DRS +O+1 +2 +3 +4 +
5 + adjacent original image data, -2 (example of interpolation ROM contents) 3 +7 +B +g +/l +13 +(: +[
l +E +FAABCCDIEE +basket hehe\ko 11 +(52>to he\ko11
第1図は画像読取装置の基本構成を示す図・第2図は原
稿読取装置の内部ブロック図、第3図(a)、(blは
原稿読取のタイミングチャート、第4図はシェーディン
グ補正の原理の説明図、第5図はシェーディング補正回
路の詳細図、第6図は拡大倍率の場合のサンプリング説
明図、第7図は縮小倍率の場合のサンプリング説明図、
第8図は拡大縮小回路の回路図、第9図(a)、(bl
は拡大、縮小のタイミングチャートである。
代理人 弁理士 長 尾 常 明
第1図
) イ色午
ADRCLKIMWE
第9図
(a)
n知江二±[
男θセとと立
手続補正書動式)
%式%
1、事件の表示
昭和61年特許願第094422号
2、発明の名称
データ選択テーブルについて改良した画像処理装置3、
補正をする者
事件との関係 特許出願人
住 所 東京都新宿区西新宿1丁目26番2号名
称 (127) 小西六写真工業株式会社4、代
理人Figure 1 is a diagram showing the basic configuration of the image reading device. Figure 2 is an internal block diagram of the document reading device. Figures 3 (a) and (bl are timing charts for document reading. Figure 4 is 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,
Fig. 8 is a circuit diagram of the enlargement/reduction circuit, Fig. 9 (a), (bl
is a timing chart of enlargement and reduction. Agent Patent Attorney Tsuneaki Nagao (Figure 1) Iirogo ADRCLKIMWE Figure 9 (a) Patent Application No. 094422 2, image processing device 3 with improved invention name data selection table;
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
Claims (2)
ブルと該補間テーブルから特定の補間データを選択する
ためのデータ選択テーブルとを用いて画像の拡大縮小処
理を行なう画像処理装置において、 上記データ選択テーブルを書替え可能なメモリで構成し
、外部から指示された倍率条件により演算手段で演算し
た結果を選択データとして上記メモリに書き込むように
したことを特徴とする画像処理装置。(1) In an image processing device that performs image scaling processing using an interpolation table for interpolating a plurality of image information and a data selection table for selecting specific interpolation data from the interpolation table, the above-mentioned An image processing apparatus characterized in that a data selection table is constructed of a rewritable memory, and the result of calculation by a calculation means according to an externally instructed magnification condition is written into the memory as selection data.
PUで成ることを特徴とする特許請求の範囲第1項記載
の画像処理装置。(2), the memory is comprised of RAM, and the calculation means is C
The image processing device according to claim 1, characterized in that it is made of PU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61094422A JPS62252265A (en) | 1986-04-25 | 1986-04-25 | Inproved picture processor concerning data selecting table |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61094422A JPS62252265A (en) | 1986-04-25 | 1986-04-25 | Inproved picture processor concerning data selecting table |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62252265A true JPS62252265A (en) | 1987-11-04 |
Family
ID=14109797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61094422A Pending JPS62252265A (en) | 1986-04-25 | 1986-04-25 | Inproved picture processor concerning data selecting table |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62252265A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62256179A (en) * | 1986-04-30 | 1987-11-07 | Ricoh Co Ltd | Variable power processor for picture data |
JPS62257275A (en) * | 1986-04-30 | 1987-11-09 | Ricoh Co Ltd | Variable power processor for image data |
-
1986
- 1986-04-25 JP JP61094422A patent/JPS62252265A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62256179A (en) * | 1986-04-30 | 1987-11-07 | Ricoh Co Ltd | Variable power processor for picture data |
JPS62257275A (en) * | 1986-04-30 | 1987-11-09 | Ricoh Co Ltd | Variable power processor for image data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5136665A (en) | Two-sided original reading apparatus | |
EP0198269A2 (en) | Method and apparatus for interpolating image signals | |
JPS62252265A (en) | Inproved picture processor concerning data selecting table | |
US5262631A (en) | Color image reading apparatus | |
JPS62252268A (en) | Picture processor to expand reduce process original picture | |
JPS63107273A (en) | Image processor with enhanced binarization of data | |
JPS6354868A (en) | Picture processor using processing clock corresponding to maximum magnification | |
JPH03128566A (en) | Picture reader | |
JPS62252267A (en) | Picture processor having expanding reducing processing circuit | |
JPS62252264A (en) | Picture reader whose part to obtain timing signal is improved | |
JPH06178202A (en) | Image reduction device | |
JPS62252272A (en) | Picture processor capable of attaching/detaching expanding reducing circuit | |
JPS62252266A (en) | Improved picture processor concerning interpolating table part | |
JP2744292B2 (en) | Image processing device | |
JPS62221270A (en) | Image processor capable of enlargement/reduction | |
JP2853160B2 (en) | High-resolution image reading circuit | |
JPS62221274A (en) | Image processor capable of enlargement/reduction | |
JPS62169278A (en) | Picture processor | |
JPS62200872A (en) | Correcting device for output signal of image pickup element | |
JPS6096065A (en) | Shading distortion correcting device | |
JPH0364165A (en) | Picture processing unit | |
JPS62221273A (en) | Image processor capable of enlargement/reduction | |
JPH02265367A (en) | Picture reader | |
JPH05199404A (en) | Variable enlargement processing method for image reader | |
JPS62221271A (en) | Image processor capable of enlargement/reduction |