JP3788563B2 - Image data scaling device - Google Patents

Image data scaling device Download PDF

Info

Publication number
JP3788563B2
JP3788563B2 JP22214499A JP22214499A JP3788563B2 JP 3788563 B2 JP3788563 B2 JP 3788563B2 JP 22214499 A JP22214499 A JP 22214499A JP 22214499 A JP22214499 A JP 22214499A JP 3788563 B2 JP3788563 B2 JP 3788563B2
Authority
JP
Japan
Prior art keywords
line
image data
lines
output
scaling
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 - Fee Related
Application number
JP22214499A
Other languages
Japanese (ja)
Other versions
JP2001053959A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP22214499A priority Critical patent/JP3788563B2/en
Publication of JP2001053959A publication Critical patent/JP2001053959A/en
Application granted granted Critical
Publication of JP3788563B2 publication Critical patent/JP3788563B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像変倍のための画像データの電気的変倍処理に関し、より詳細には、これに限定する意図ではないが、画像読取りの高速化又は高精細化のために複数nライン分の画像読取を同時に行なって並行してデジタル処理して複数系統の画像データを並行生成するとか、あるいは、原稿画像データに限らず、コンピュ−タ上で生成する画像データを、高速処理するために、あるいは、2次元輝度又は濃度分布を参照する処理を行なうために、該処理段に対して複数nライン分の画像データを同時に与え、又は、該処理段から同時に出力する場合に、該画像データに変倍処理を施す装置に関する。この変倍装置は、例えば、画像データ(デジタル画像情報)をデジタル論理処理によって変倍するデジタル複写機,ファクシミリ,イメージスキャナ,プリンタ,画像編集システム等に適用し得る。
【0002】
【従来技術】
特許第2789560号公報には、原稿スキャナで単ライン読取を繰返し行なって、ビデオ信号をデジタルデータすなわち画像データに変換し、画像データにシェ−ディング補正を施し、そして主走査方向の変倍処理とMTF補正ならびに副走査方向の変倍処理とMTF補正をして、更に、記録用の処理を加えてプリンタに与える画像データ処理が開示されている。デジタル変倍処理の数種が詳しく説明され、また、変倍と、それによる画質の劣化を補償するMTF補正を同時に行なう変倍処理も説明されている。
【0003】
特許第2582058号公報には、画像データの電気的変倍処理を簡単に行なうために、少くとも1走査ライン分の容量を有するラインメモリ,変倍コントローラ,変倍処理および第1〜第3セレクタを組合せた変倍制御装置が開示されている。
【0004】
【発明が解決しようとする課題】
しかしながらいずれも、変倍処理が、単ライン画像データの遂次入力を想定しているので、変倍処理段の前段の画像データ処理から並行して同時に複数nラインの画像データが出力される場合に、適用し得ない。
【0005】
ところで、副走査方向の高精度変倍では、次々に更新して行く処理対象ライン(注目ライン)のみならず、その近傍のラインの画像データも参照する必要があり、注目ラインを中心とする数ラインの画像データが必要となる。またMTF補正処理では、同様に、注目ラインを中心とする数ラインの画像データが必要となる。したがって、前段の画像データ処理から並行して同時に複数nラインの画像データが得られることは、一面において、高精度変倍、あるいは、高精度変倍と変倍による画質低下を補償するMTF補正との同時一括処理、の実現には好都合な面もある。
【0006】
本発明は、変倍処理段の前段が並行して同時に複数nラインの画像データを出力する場合に適した変倍装置を提供することを第1の目的とし、注目ラインとその前後数ラインの画像データを要する高精度変倍処理、ならびに、変倍とMTF補正との同時一括処理、に適した変倍装置を提供することを第2の目的とする。
【0007】
【課題を解決するための手段】
(1)複数ライン画像データに対して画像処理を行って第1の画像データとして出力する画像処理手段 (1) ;該第1の画像データを第2の画像データとして収納するメモリ手段(2);前記第1及び第2の画像データの中から所定数ラインを選択して出力する出力手段(3,6);および、該出力手段により出力された複数ラインの画像データを変倍処理する変倍手段(4,5);を備え、前記出力手段は、ライン出力制御情報 (h,g) に従って、出力する複数ラインの中心となる注目ラインを設定し、該注目ラインに基づいて前記変倍手段が処理可能なライン数分の画像データを選択する選択処理を実行し、前記注目ラインを変更して前記選択処理を繰り返す、ことを特徴とする画像デ−タの変倍装置。
【0008】
なお、理解を容易にするためにカッコ内には、図面に示し後述する実施例の対応要素の符号又は対応事項を、参考までに付記した。
【0009】
これによれば、メモリ手段(2)には前回の書込みまでの先行nライン以上(7ライン)の第2の画像データがあり、今回入力される複数nライン(4ライン)分の第1の画像データを合わせると、前後2nライン以上(11ライン)の画像データの中の、任意の複数ラインの画像データを、出力手段(3,6)にて、変倍手段(4,5)に与えることができる。したがって、変倍手段(4,5)は、注目ラインを中心とする数ラインの画像データを同時に必要とする副走査方向の高精度変倍を行なうことができ、また、その直前又は直後もしくは変倍と同時に、注目ラインを中心とする数ラインの画像データを同時に必要とするMTF補正を行なうことができる。すなわち、変倍処理段の前段の画像処理手段 (1) による画像データ処理から並行して同時に複数nラインの画像データが出力される場合に適合した、高精度の変倍処理を実現することができる。
【0010】
【発明の実施の形態】
前記ライン出力制御情報は、画像の拡大(h=L)か否(h=H)を示す情報(h)および出力ライン更新(g=H)か否(g=L)を示す情報(g)を含み;前記出力手段(3,6)は、前記ライン出力制御情報(h,g)が拡大(h=L)かつ出力ライン更新(g=H)のときに前記選択処理を繰り返す(図2,図4の(b))ことを特徴とする上記(1)記載の画像デ−タの変倍装置。
【0011】
これによれば、変倍手段(4,6)が、ライン出力制御情報(h,g)で出力手段(3,6)を制御して、拡大の場合の、同一ライン画像データの重複(繰返し)出力を各ライン宛てに行なって、所要拡大倍率対応のライン数の画像データを同時出力手段(3,6)から得ることができる。
【0012】
例えば3/2の拡大(h=L)の場合、変倍手段(4,5)は、原画像の第1,2ラインを注目ラインとする変倍手段(4,5)への画像データ入力のときには、出力ライン更新(g=H) 力手段(3,6)に与え、第2ラインの入力を終えたときに出力ライン更新否(g=L)を出力手段(3,6)に与え、原画像の第3,4ラインを注目ラインとする変倍手段(4,5)への画像データ入力のときには、出力ライン更新(g=H)を出力手段(3,6)に与え、第4ラインの入力を終えたときに出力ライン更新否(g=L)を出力手段(3,6)に与えるという具合に、原画像の偶数番ラインの入力を終える毎に出力ライン更新否(g=L)を出力手段(3,6)に与えてその直前に入力した偶数番ラインの入力をもう1回重複して行なうことにより、つまり、原画像データのラインの切換わりに合わせて、出力ライン更新要否信号gを、H,H,L,H,H,L,・・・と切換えることによって、3/2の拡大処理用のライン数の画像データを変倍手段(4,5)に入力することができる。変倍手段(4,5)の重複摘出ラインの選択処理と、出力手段(3,6)の実際のライン選択処理が共に簡単である。
【0013】
前記ライン出力制御情報(h,g)は、画像の縮小(h=H)か否(h=L)を示す情報(h)およびライン間引き(g=L)か否否(g=H)を示す情報(g)を含み;前記出力手段(3,6)は、ライン出力制御情報(h,g)が縮小(h=H)かつライン間引き(g=L)のときに前記選択処理を繰り返すことを特徴とする上記(1)記載の画像デ−タの変倍装置。
【0014】
これによれば、変倍手段(4,5)が、ライン出力制御情報(h,g)で出力手段(3,6)を制御して、縮小の場合の、所定ラインの間引きを行なって、所要縮小倍率対応のライン数の画像データを出力手段(3,6)から得ることができる。
【0015】
例えば2/3の縮小(h=H)の場合、変倍手段(4,5)は、原画像の第1,2ラインを注目ラインとする変倍手段(4,5)への画像データ入力のときには、ライン間引き否(g=H)を出力手段(3,6)に与え、第2ラインの入力を終えたときにライン間引き(g=L)を出力手段(3,6)に与え、原画像の第3,4ラインを注目ラインとする変倍手段(4,5)への画像データ入力のときには、ライン間引き否(g=H)を出力手段(3,6)に与え、第4ラインの入力を終えたときにライン間引き(g=L)を出力手段(3,6)に与えるという具合に、原画像の偶数番ラインの入力を終える毎にライン間引き(g=L)を出力手段(3,6)に与えて、第3,6,9,・・・ラインの間引きを行なうことにより、つまり、原画像データのラインの切換わりに合わせて、ライン間引き要否信号gを、H,H,L,H,H,L,・・・と切換えることによって、2/3の縮小処理用のライン数の画像データを変倍手段(4,5)に入力することができる。変倍手段(4,5)の間引きラインの選択処理と、出力手段(3,6)の実際のライン間引き処理が共に簡単である。
【0016】
本発明の他の目的および特徴は、図面を参照した以下の実施例の説明より明らかになろう。
【0017】
【実施例】
図1に本発明の一実施例の機能構成を示す。この実施例の変倍装置7には、前段の画像処理1から、相異なり隣接する4ラインの画像データが同時に並行して与えられる。画像処理1は、例えば、原稿スキャナで読取ったビデオ信号をデジタル変換した画像データをシェ−ディング補正する処理である。ただし、画像データの変倍処理は、画像データの流れの中の任意の箇所で行なうことができるので、本実施例の変倍装置7の入力画像データは、シェ−ディング補正出力に限定されない。
【0018】
2は7ラインそれぞれのメモリ領域m1〜m7を有するラインメモリ、3はラインデータセレクタ、4は変倍補正装置、5は変倍コントローラ、6はラインメモリコントローラである。画像処理1が同時出力する4ラインの画像データは、ラインデータセレクタ3の入力ポートi8〜i11に出力されると共にラインメモリ2のm4〜m7に書込まれる。このとき、m1〜m7のライン画像データはセレクタi1〜17に出力されると共に、m5のライン画像データはm1に、m6の画像データはm2に、m7のライン画像データはm3に書込まれる。
【0019】
ラインデータセレクタ3は、ラインメモリコントローラ6が指定する入力ポート4ポート(i1〜i11の中の4つ)に到来する画像データを、出力ポートO1〜O4に出力する、データバス選択接続を行なうものである。出力ポートO1〜O4の画像データは、変倍補正装置4に与えられる。
【0020】
以下においては、前段の画像処理1が出力する画像データを原画像データと称し、ラインデータセレクタ3が出力する画像データを処理用画像データと称す。変倍補正装置4が出力する画像データを、変倍後画像データと称すが、等倍の場合には、実質上の画像拡大,縮小となる画像データ処理は行なわれていないものとなる。ただし、倍率対応(この場合は等倍用)のMTF補正処理は施こされたものである。
【0021】
ラインメモリm1〜m7の各ライン画像データと、4ラインの原画像データの総計11ライン(i1〜i11)の画像データの、どの4ラインを変倍補正装置4に与えるかは、拡大(等倍を含む)時と縮小時の変倍制御データからわかる注目ライン位置によって異なり、注目ラインのライン画像データがラインメモリm2〜m5のいずれかにある場合はラインメモリ2より4ラインを用意し読み出しを行う。注目ラインのライン画像データがラインメモリm6又はm7にある場合は、ラインメモリ2より3ラインもしくは2ラインを用意し読み出しを行う。ここで、注目ラインとは、変倍補正装置4で変倍補正を行なう対象の1ラインであり、以下においては、L1,L2,・・・等、原画像データのラインNo.で表わす。
【0022】
変倍補正装置4は、入力1ライン分のラインメモリを内蔵しており、前回の4ライン入力の最後尾No.のライン画像データを保持し、このライン画像データと、今回入力される4ラインのライン画像データを合せた計5ラインの画像データに対して、指定倍率に対応する主走査方向の画素の補間(画像データの2度書き,3度書き,),間引きを行ない、すなわち、主走査方向の画像データの拡大,縮小を行ない、そして5ラインの中央のラインすなわち注目ライン上の画素(画像データ)を、主走査方向でその先頭の画素から、順次に注目画素(処理対象画素)に定め、注目画素を中心とする5×5画素マトリクスを該5ライン画素領域上に区画し、該マトリクスの中の、指定倍率対応のサンプリング点の画素の画像データを、指示倍率対応の、MTF補正も同時に加えた変倍補正式に代入して、注目画素の補正画像データ(変倍後画像データ)を算出し、これを注目画素として出力する。このとき変倍補正装置4に入力される画像データは4ライン分、装置4内部に保持する先行1ライン分を加えて、計5ラインを参照ラインとするが、変倍補正装置4の出力は、注目ライン対応の1ライン分の変倍後画像データ出力(単ライン出力)となる。
【0023】
図4の(a)には、等倍(本実施例では拡大に含まれる)のときの、原画像データのライン(前段の画像処理1の出力ライン)と、ラインデータセレクタ3の出力ポートO1〜O4から変倍補正装置4に入力される処理用画像データのラインとを示し、図4の(b)には3/2倍の拡大の場合を、また、図5には、2/3の縮小の場合を示す。これらの図面上で、点々塗りつぶしを施したラインが、注目ラインである。
【0024】
例えば図4の(a)の左端は、一頁の画像の最初の4ラインL1〜L4を前段の画像処理1が出力している間に、それに同期して、最先端のラインL1を注目ラインとして、ラインメモリm7(i7)のライン画像データ(頁先頭で、実際の画像データが存在しないので空白で示す)と、上記4ラインL1〜L4の中の前3ラインL1〜L3をメモリコントローラ6およびラインデータセレクタ3で選択して、変倍補正装置4に出力していることを示す。このとき同時に、メモリm5,m6およびm7のライン画像データをメモリm1,m2およびm3に書込み、かつ、各メモリm4〜m7に、原画像データの4ラインL1〜L4の各ライン画像データを書込む。
【0025】
その右側のブロックは、前段の画像処理1の画像データ出力は無く、その間に、注目ラインをL2に変更して、ラインメモリm4〜m7の4ラインL1〜L4の画像データを、ラインデータセレクタ3の入力ポートi4〜i7,出力ポートO1〜O4を経由して、変倍補正装置4に出力していることを示す。
【0026】
次に変倍補正装置4が必要とするラインは、注目ラインL3を含むL2〜L5であるが、L5のライン画像データはメモリ2に存在しない。そこでメモリコントローラ6は、前段の画像処理1が、次のラインL5〜L8を出力するのを待ち、画像処理1が次のラインL5〜L8を出力するときに、それに同期して、ラインメモリm5〜m7のL2〜L4のライン画像データ(i5〜i7)と、新たな4ラインL5〜L8の中の第1ラインL5をメモリコントローラ6およびラインデータセレクタ3で選択して、原画像データのラインNo.L3を注目ラインとして、変倍補正装置4に出力する。このとき同時に、メモリm5,m6およびm7のライン画像データをメモリm1,m2およびm3に書込み、かつ、各メモリm4〜m7に、原画像データの4ラインL5〜L8の各ライン画像データを書込む。これが完了した時点で、ラインメモリm1〜m7には、L2〜L8のライン画像データがある。
【0027】
これらのライン画像データに基づいて、注目ラインを各L4,L5およびL6とする、1回の転送ラインが、L3〜L6(i2〜i5),L4〜L7(i3〜i6)およびL5〜L8(i4〜i7)の、3回の転送が可能であるので、メモリコントローラ6は、この3回の転送を行なう。
【0028】
以下同様にして、次の4ライン(L9〜L12)の原画像データを前段の画像処理1が出力している間に、注目ラインを次のライン(L7)とする4ライン(L6〜L9)の処理用画像データを変倍補正装置4に出力(転送)し、これを完了すると、注目ラインを順次進めて3回の転送を行なう。以下同様である。
【0029】
図4の(b)に示す3/2の拡大のときには、原画像データの奇数番ラインに関しては、それを注目ラインとする1回の4ライン分の処理対象データ転送を、変倍補正装置4に対して行なうが、原画像データの偶数番ラインに関しては、それを注目ラインとする2回の4ライン分の処理対象データ転送を、変倍補正装置4に対して行なう。この2回の繰返し転送指示のために、制御信号gが用いられ、これを変倍コントローラ5が生成してメモリコントローラ6に与える。メモリコントローラ6が、制御信号gがHのときには、注目ラインを1ライン分進めて、それと、その前の1ラインおよび後の2ライン、計4ラインの処理対象データ転送を、変倍補正装置4に対して行なうが、制御信号gがLのときには、注目ラインを進めることなく、上記4ラインの処理対象データ転送を、変倍補正装置4に対して行なう。変倍コントローラ5は、上述の3/2の拡大のときには、ライン単位で、制御信号gを、H,H,L/H,H,L/H,H,L/・・・と切換える。
【0030】
変倍コントローラ5は、2/1の拡大のときにはラインの切換り毎に、制御信号gをH/L,L/Hと交互に切換える。これにより原画像データの各ラインを注目ラインとするデータ転送が、各注目ライン毎に2回繰返えされる。5/2の拡大のときには、ラインの切換り毎に、制御信号gをH,L,H,L,H/H,L,H,L,H/H,L,H,L,H/・・・と切換える。3の倍数No.のラインのみが、それを注目ラインとする1回の、4ライン同時の処理対象データ転送となり、他のNo.のラインは、それを注目ラインとする2回の、4ライン同時の処理対象データ転送となる。このように制御信号gを操作することにより、任意の拡大倍率の、処理対象データ転送を行なうことができる。
【0031】
図5に示す2/3の縮小のときには、原画像データの、第3番ラインL3およびその倍数No.のラインに関しては、それを注目ラインとする1回の4ライン分の処理対象データ転送は、行なわない。他のラインについては行なう。縮小の場合にも、制御信号gが用いられるが、そのレベルL/Hが意味する指示が、拡大の場合とは異なる。メモリコントローラ6が、縮小(h=H)の場合には、制御信号gがHのときには、注目ラインを1ライン分進めて、それと、その前の1ラインおよび後の2ライン、計4ラインの処理対象データ転送を、変倍補正装置4に対して行なうが、制御信号gがLのときには、注目ラインを進めるが、4ラインの処理対象データ転送は行なわない。すなわち、3の倍数No.のラインは、注目ラインから間引かれる。変倍コントローラ5は、上述の2/3の縮小のときには、ライン単位で、制御信号gを、H,H,L/H,H,L/H,H,L/・・・と切換える。
【0032】
変倍コントローラ5は、1/2の縮小のときにはラインの切換り毎に、制御信号gをH/L,L/Hと交互に切換える。これにより偶数番ラインを注目ラインから間引いたデータ転送が行なわれる。2/5の縮小のときには、ラインの切換り毎に、制御信号gをH,L,H,L,L/H,L,H,L,L/H,L,H,L,L/・・・と切換える。このように制御信号gを操作することにより、任意の縮小倍率の、処理対象データ転送を行なうことができる。
【0033】
変倍コントローラ5は、指示倍率に対応して、それが等倍又は拡大のときは低レベルL、縮小のときにH、の制御信号hを生成して、これを上述の制御信号gと共に、メモリコントローラ6に与える。
【0034】
図2および図3に、メモリコントローラ6の、1頁画像データ入力の始点から終了までの、ライン画像データの入,出力制御の概要を示す。
【0035】
図2をまず参照すると、1頁画像データ入力スタ−トが報知されるとメモリコントローラ6は、ラインメモリ2をクリアし(ステップ1)、注目ラインNo.レジスタOLNo.に、第1ライン(L1)を示す1を書込み(ステップ)、選択入力ポート始点レジスタINに入力ポートi7を書込んで、ラインデータセレクタ3の入力ポートi7,i8,i9およびi10を、それぞれ出力ポートO1,O2,O3およびO4に接続する。そして制御信号ラインを介して、前段の画像処理1に、レディを報知する(ステップ3)。
【0036】
前段の画像処理1が、4ラインL1〜L4の出力を開始するのを待ってコントローラ6は、それが開始されると、4ラインL1〜L4をラインメモリm4〜m7に書込むと共に、m5〜m7のデータをm1〜m3に書込み、しかも、メモリm7のラインデータと3ラインL1〜L3のラインデータを、設定した接続(i7〜i10/O1〜O4)に従って、変倍補正装置4に出力する(ステップ5)。この状態を、図4および図5の最左端に示す。
【0037】
ライン全長につきこれが終わると、コントローラ6は、画像処理1に、ビジィを報知し、変倍コントローラ5の出力h,gを読込む(ステップ6)。そして制御信号hが、拡大(等倍を含む)を指示するLであると、制御信号gを参照してそれがHであると、注目ラインNo.を1つ進めて(ステップ7〜9)、注目ラインをL2とするラインL1〜L4の出力(i4〜i7/O1〜O4)を設定し(ステップ10)、この出力が可能であるので、ラインメモリm4〜m7のデータ(L1〜L4)を読出して出力する(ステップ11,12)。そして変倍コントローラ5の制御信号h,gを読込む(ステップ13)。そして拡大(h=L)に変更がない(ステップ14)と、gのレベルを参照して(ステップ15)、それがHであると、注目ラインNo.を1つ進めて(ステップ16)、転送する4ラインの摘出ポートも1つ進めて(ステップ17)、頁エンドをチェックして(18)、頁エンドでないと、摘出ポートの最後尾が、ラインメモリ2を外れるものであるかをチェックする(ステップ11)。ラインメモリ2を外れると、前段の画像処理1からの出力が必要であるので、メモリコントローラ6は、画像処理1にレディを報知し(ステップ19A)、画像処理1が次の4ライン(L5〜L8)を出力するのを待つ(ステップ19B)。
【0038】
画像処理1が次の4ライン(L5〜L8)を出力するときに、それに同期して、ラインメモリm5〜m7のL2〜L4のライン画像データ(i5〜i7)と、新たな4ラインL5〜L8の中の第1ラインL5を、原画像データのラインNo.L3を注目ラインとして、変倍補正装置4に出力する。このとき同時に、メモリm5,m6およびm7のライン画像データをメモリm1,m2およびm3に書込み、かつ、各メモリm4〜m7に、原画像データの4ラインL5〜L8の各ライン画像データを書込む(ステップ20)。これが完了した時点で、ラインメモリm1〜m7には、7ライン(L2〜L8)のライン画像データがあり、次の注目ラインのデータはラインメモリm3(i3)にあって、次に転送すべき4ラインのデータは、メモリm2〜m5(i2〜i5)にある。そこでメモリコントローラ6は、画像処理1にビジィを報知し、選択入力ポート始点レジスタINに入力ポートi2を書込み、ラインデータセレクタ3の入力ポートi2,i3,i4およびi5を、それぞれ出力ポートO1,O2,O3およびO4に接続する(ステップ21)。
【0039】
g=Hが継続すると、この段階では3回の転送が可能であるので、メモリコントローラ6は、ステップ15,16,17,18,11〜14を、注目ラインを進めつつ3回繰返して、3回の転送を行なう。g=Lのときは、注目ラインを進めないで転送のみを行なう(ステップ15から18にスキップ)。4ライン一括転送の最後尾ラインが、ラインメモリ2に無いものとなるときには、これをステップ11で検知して、画像処理1にレディを報知し(19A)、画像処理1が4ラインのデータを出力するとき、それに同期して、ラインメモリm5〜m7の各ライン画像データ(i5〜i7)と、新たな4ラインの中の最先頭ラインを変倍補正装置4に出力する。このとき同時に、メモリm5,m6およびm7のライン画像データをメモリm1,m2およびm3に書込み、かつ、各メモリm4〜m7に、原画像データの4ラインL5〜L8の各ライン画像データを書込む(ステップ20)。制御信号hがH(縮小)に切換わると、これをステップ14で検出して、図3のステップ29にジャンプする。
【0040】
上述のように、制御信号h=L(拡大)であると、変倍コントローラ5がライン単位で与える制御信号gに応答して、それがHであると注目ラインの1インクレメントをして、注目ライン,その前の1ラインおよび後の2ライン、計4ラインの、変倍補正装置4への転送を行なう(ステップ15〜17,18,11〜13;図4の(a),(b))。制御信号gがLであると、注目ラインを進めることなく、該4ラインの転送を行なう(ステップ16,17をスキップ;図4の(b))。転送予定4ラインの最後のラインがラインメモリ2に存在しないものとなるときには、前段の処理装置1が新たに4ラインを出力するのを待ち、この出力があるときに同時に変倍補正装置4への転送を行なう(ステップ11,19A,19B,20,21)。
【0041】
図3を参照する。制御信号h=H(縮小)で、1頁の画像データの出力が開始されたときには、メモリコントローラ6は、図2のステップ7から図3のステップ22に進んで、注目ラインを進めてこれに合せて、4ライン選択ポートも進める(ステップ23)。選択ポートが一部でもラインメモリ2を外れるかをチェックして(ステップ24)、外れていないと制御信号gを参照して(ステップ25)、それがHであると4ラインのデータ出力を行ない(ステップ26)、制御信号gがLであるとこのデータ出力は行なわず、次に進んで変倍コントローラ5が与えている制御信号h,gを読込む(ステップ27)。そして、制御信号h=H(縮小)が継続していると、注目ラインを1インクレメントし(ステップ28,29)、4ライン選択ポートも進める(ステップ30)。
【0042】
次に転送すべき4ラインのいずれかのライン画像データがラインメモリ2に無いものとなると、処理装置1にレディを報知して(ステップ32A)それが4ラインの画像データの同時出力を開始するのを待ち(32B)、制御信号g=Hであると、処理装置1が4ラインのデータを同時出力するのに同期して、ラインメモリm5〜m7の各ライン画像データ(i5〜i7)と、新たな4ラインの中の最先頭ラインを変倍補正装置4に出力する。このとき同時に、メモリm5,m6およびm7のライン画像データをメモリm1,m2およびm3に書込み、かつ、各メモリm4〜m7に、原画像データの4ラインL5〜L8の各ライン画像データを書込む(ステップ34)。制御信号g=Lであったときには、ラインメモリ2に対するライン画像データの読出しおよび書込みは同様に行なうが、変倍補正装置4には画像データを出力しない(ステップ35)。ラインメモリ2に対するライン画像データの読出しおよび書込みを終了すると、メモリコントローラ6は、画像処理1にビジィを報知し、選択入力ポート始点レジスタINに入力ポートi2を書込み、ラインデータセレクタ3の入力ポートi2,i3,i4およびi5を、それぞれ出力ポートO1,O2,O3およびO4に接続する(ステップ36)。
【0043】
次にメモリコントローラ6は、ステップ27〜31,24,25,26を、注目ラインを進めつつ(ステップ29)3回繰返す。この間、g=Hのときは、変倍補正装置4への4ライン同時転送を行ない(ステップ26)、g=Lのときはこれは行なわない。すなわちステップ26をスキップする。次に転送予定の4ラインの最後尾ラインが、ラインメモリ2に無いものとなるときには、これをステップ24で検知して、上述のステップ33〜36の処理を行なう。制御信号hがL(拡大)に切換わると、これをステップ28で検出して、図2のステップ15にジャンプする。
【0044】
上述のように、制御信号h=H(縮小)であると、変倍コントローラ5がライン単位で与える制御信号gに応答して、それがHであると、注目ライン,その前の1ラインおよび後の2ライン、計4ラインの、変倍補正装置4への転送を行ない(ステップ26,34)、そして注目ラインのインクレメントをする(ステップ29,30;図5)。制御信号gがLであると、注目ラインを進めるが、変倍補正装置4への4ラインの転送は行なわない(ステップ26をスキップ,ステップ35;図5)。転送予定4ラインのいずれかのラインがラインメモリ2に存在しないものとなるときには、前段の処理装置1が新たに4ラインを出力するのを待ち、制御信号g=Hであれば、処理装置1が4ラインを出力するときに同時に変倍補正装置4への4ラインの転送を行なう(ステップ34)が、制御信号g=Lであると、変倍補正装置4への転送は行なわない(ステップ35)。
【図面の簡単な説明】
【図1】 本発明の一実施例の機能構成の概要を示すブロック図である。
【図2】 図1に示すメモリコントローラ6のライン画像データ転送制御の概要の一部を示すフロ−チャ−トである。
【図3】 図1に示すメモリコントローラ6のライン画像データ転送制御の概要の残部を示すフロ−チャ−トである。
【図4】 (a)は、変倍コントローラ5がメモリコントローラ6に制御信号h=L(拡大指示)を与え、しかももう1つの制御信号gを連続してHとして与えている、実質上等倍指示のときの、前段の画像処理1の出力画像データと、データセレクタ3が変倍補正装置4へ出力する画像データを、原画像上のライン番号で示すタイムチャ−トである。(b)は、変倍コントローラ5がメモリコントローラ6に制御信号h=L(拡大指示)を与え、しかももう1つの制御信号gをH,Lと切換えて3/2の拡大をするときの、前段の画像処理1の出力画像データと、データセレクタ3が変倍補正装置4へ出力する画像データを、原画像上のライン番号で示すタイムチャ−トである。
【図5】 変倍コントローラ5がメモリコントローラ6に制御信号h=H(縮小指示)を与え、しかももう1つの制御信号gをH,Lと切換えて2/3の縮小をするときの、前段の画像処理1の出力画像データと、データセレクタ3が変倍補正装置4へ出力する画像データを、原画像上のライン番号で示すタイムチャ−トである。
【符号の説明】
2:ラインメモリ
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to electrical scaling processing of image data for image scaling, and more specifically, although not intended to be limited to this, a plurality of n lines can be processed for high-speed or high-definition image reading. In order to perform high-speed processing of image data generated on a computer, not only original image data, but also to simultaneously generate digital data in parallel and simultaneously process multiple image readings, Alternatively, in order to perform processing referring to two-dimensional luminance or density distribution, image data for a plurality of n lines is simultaneously given to the processing stage, or the image data is output simultaneously from the processing stage. The present invention relates to an apparatus for performing a magnification change process on an image. This scaling device can be applied to, for example, a digital copying machine, a facsimile, an image scanner, a printer, an image editing system, etc. that scales image data (digital image information) by digital logic processing.
[0002]
[Prior art]
  In Japanese Patent No. 2789560, single line reading is repeatedly performed by an original scanner, a video signal is converted into digital data, that is, image data, shading correction is performed on the image data, and scaling processing in the main scanning direction is performed. Image data processing that performs MTF correction, scaling processing in the sub-scanning direction, and MTF correction, and further adds recording processing to the printer is disclosed. Several types of digital scaling processing are described in detail, and scaling processing that simultaneously performs scaling and MTF correction that compensates for degradation of image quality due to the scaling is also described.
[0003]
  Japanese Patent No. 2582058 discloses a line memory having a capacity of at least one scanning line, a magnification controller, a magnification process, and first to third selectors in order to easily perform an electric magnification process of image data. A zooming control device combining the above is disclosed.
[0004]
[Problems to be solved by the invention]
  However, in any case, since the scaling process assumes sequential input of single-line image data, a plurality of n lines of image data are output simultaneously in parallel from the image data processing preceding the scaling process stage. It cannot be applied.
[0005]
  By the way, in the high-precision scaling in the sub-scanning direction, it is necessary to refer not only to the processing target line (target line) updated one after another, but also to the image data of the neighboring lines. Line image data is required. Similarly, in the MTF correction process, several lines of image data centered on the target line are required. Therefore, the fact that a plurality of n-line image data can be obtained simultaneously in parallel with the image data processing in the previous stage means that, on one side, MTF correction that compensates for high-precision scaling or high-precision scaling and image quality degradation due to scaling. There is also an advantageous aspect for realizing simultaneous batch processing.
[0006]
  The first object of the present invention is to provide a zooming apparatus suitable for the case where the preceding stage of the zooming process stage outputs image data of a plurality of n lines simultaneously in parallel. A second object of the present invention is to provide a scaling device suitable for high-precision scaling processing that requires image data and simultaneous batch processing of scaling and MTF correction.
[0007]
[Means for Solving the Problems]
  (1) Multiple linesofimage dataImage processing means for performing image processing on the image and outputting it as first image data (1) The firstImage dataAs second image dataStoring memory means (2);A predetermined number of lines from the first and second image dataSelect to outputoutputMeans (3, 6); and the output meansByoutputMulti-lineScaling the image dataMagnificationMeans (4,5);The output means is line output control information. (h, g) In accordance with the above, a target line as a center of the plurality of lines to be output is set, and a selection process is performed to select image data for the number of lines that can be processed by the scaling unit based on the target line, and the target line is changed. And repeating the selection process.A scaling device for image data.
[0008]
  In addition, in order to make an understanding easy, the code | symbol or corresponding matter of the corresponding | compatible element of the Example shown in drawing and mentioned later is added in the parenthesis for reference.
[0009]
  According to this, the memory means (2) has more than the preceding n lines (7 lines) until the previous writing.SecondThere is image data, and this time input for multiple n lines (4 lines)FirstWhen combining the image data, arbitrary multiple lines of image data of 2n lines or more (11 lines), OutBy force means (3, 6)Double handCan be given to stage (4,5). Therefore, strangeDouble handThe stage (4, 5) can perform high-precision scaling in the sub-scanning direction that requires several lines of image data centered on the target line, and immediately before or immediately after or simultaneously with scaling. It is possible to perform MTF correction that simultaneously requires several lines of image data centered on the line of interest. In other words, before the scaling process stageImage processing means (1) byIt is possible to realize a highly accurate scaling process suitable for a case where a plurality of n lines of image data are output simultaneously in parallel with the image data processing.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
  (2)SaidLine output control information includes information (h) indicating whether the image is enlarged (h = L) (h = H) and information (g) indicating whether the output line is updated (g = H) (g = L). Including;SaidOutput means (3, 6), when the line output control information (h, g) is expanded (h = L) and the output line is updated (g = H)Repeat the selection process(Fig. 2, Fig. 4 (b))It is characterized byThe image data scaling device described in (1) above.
[0011]
  According to this, strangeDouble handStage (4,6) is line output control information (h, g)OutBy controlling the force means (3, 6), duplicate (repeated) output of the same line image data in the case of enlargement is performed to each line, and image data of the number of lines corresponding to the required enlargement magnification is simultaneously output means ( Can be obtained from 3,6).
[0012]
  For example, when the magnification is 3/2 (h = L),Double handStage (4,5) is a variable with the first and second lines of the original image as the target line.Double handWhen inputting image data to stage (4, 5), update output line (g = H)The OutOutput line update rejection (g = L) when input to the second line is finished.OutIs applied to the force means (3, 6), and the third and fourth lines of the original image are used as the target line.Double handWhen inputting image data to stage (4, 5), update output line (g = H)OutOutput line update rejection (g = L) when input to the fourth line is finished.OutOutput line update rejected (g = L) every time input of even-numbered lines of the original image is finished, such as giving to the power means (3, 6)OutThe output of the output line update necessity signal is performed by repeating the input of the even-numbered line input immediately before the input to the output means (3, 6), that is, in accordance with the switching of the lines of the original image data. By switching g to H, H, L, H, H, L,..., the image data of the number of lines for 3/2 enlargement processing is changed.Double handCan be input to stage (4,5). StrangeDouble handSelection process of duplicate extraction line of stage (4,5), OutBoth the actual line selection processes of the force means (3, 6) are simple.
[0013]
  (3)SaidLine output control information (h, g) indicates information (h) indicating whether the image is reduced (h = H) or not (h = L) and whether or not line thinning (g = L) is determined (g = H) Including information (g);SaidOutput means (3, 6) is when line output control information (h, g) is reduced (h = H) and line thinning (g = L)Repeat the selection processAn image data scaling device according to (1) above, characterized in that:
[0014]
  According to this, strangeDouble handStage (4,5) is line output control information (h, g)OutBy controlling the force means (3, 6), thinning out the predetermined lines in the case of reduction, image data of the number of lines corresponding to the required reduction magnificationOutIt can be obtained from the force means (3, 6).
[0015]
  For example, in the case of 2/3 reduction (h = H)Double handStage (4,5) is a variable with the first and second lines of the original image as the target line.Double handWhen inputting image data to the stage (4, 5), the line skipping rejection (g = H)outputGiven to the means (3,6), when the input of the second line is finished, line thinning (g = L)OutIs applied to the force means (3, 6), and the third and fourth lines of the original image are used as the target line.Double handWhen image data is input to stage (4, 5), line thinning is rejected (g = H)OutTo the force means (3, 6), and when the fourth line is finished, the line is thinned out (g = L)OutEach time the input of the even-numbered line of the original image is finished, the line is thinned out (g = L).OutBy applying the thinning out of the third, sixth, ninth,... Lines, that is, in accordance with the switching of the lines of the original image data, By switching to H, H, L, H, H, L,..., The image data of the number of lines for 2/3 reduction processing is changed.Double handCan be input to stage (4,5). StrangeDouble handSelection process of thinning line of stage (4,5), OutThe actual line thinning process of the force means (3, 6) is simple.
[0016]
  Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.
[0017]
【Example】
  FIG. 1 shows a functional configuration of an embodiment of the present invention. To the zooming device 7 of this embodiment, four adjacent lines of image data are simultaneously provided in parallel from the previous image processing 1. The image processing 1 is a process for correcting shading of image data obtained by digitally converting a video signal read by a document scanner, for example. However, since the scaling process of the image data can be performed at an arbitrary position in the flow of the image data, the input image data of the scaling apparatus 7 of the present embodiment is not limited to the shedding correction output.
[0018]
  2 is a line memory having memory areas m1 to m7 for 7 lines, 3 is a line data selector, 4 is a variable power correction device, 5 is a variable power controller, and 6 is a line memory controller. The four lines of image data simultaneously output by the image processing 1 are output to the input ports i8 to i11 of the line data selector 3 and are written to m4 to m7 of the line memory 2. At this time, the line image data of m1 to m7 are output to the selectors i1 to 17, the line image data of m5 is written to m1, the image data of m6 is written to m2, and the line image data of m7 is written to m3.
[0019]
  The line data selector 3 performs data bus selection connection for outputting image data arriving at four input ports (four of i1 to i11) designated by the line memory controller 6 to output ports O1 to O4. It is. The image data of the output ports O1 to O4 is given to the magnification correction device 4.
[0020]
  In the following, the image data output by the preceding image processing 1 is referred to as original image data, and the image data output by the line data selector 3 is referred to as processing image data. The image data output from the magnification correction device 4 is referred to as post-magnification image data. However, in the case of the same magnification, image data processing for substantial image enlargement / reduction is not performed. However, the MTF correction processing corresponding to the magnification (in this case, for equal magnification) has been performed.
[0021]
  Which line of the line image data in the line memories m1 to m7 and the total of 11 lines (i1 to i11) of the original image data of 4 lines is to be given to the magnification correcting device 4 is enlarged (same size) When the line image data of the target line is in one of the line memories m2 to m5, four lines are prepared from the line memory 2 and read out. Do. When the line image data of the target line is in the line memory m6 or m7, 3 lines or 2 lines are prepared from the line memory 2 and read out. Here, the target line is one line to be subjected to the magnification correction by the magnification correction device 4, and in the following, the line numbers of the original image data such as L1, L2,. It expresses by.
[0022]
  The zoom correction device 4 has a built-in line memory for one input line. Line image data, and this line image data and the 4 lines of line image data input this time are combined into a total of 5 lines of image data. The image data is written twice, written three times), thinned out, that is, the image data is enlarged or reduced in the main scanning direction, and the pixel (image data) on the center line of five lines, ie, the pixel on the target line The target pixel (processing target pixel) is sequentially determined from the top pixel in the main scanning direction, and a 5 × 5 pixel matrix centered on the target pixel is partitioned on the 5-line pixel region. Then, the image data of the pixel at the sampling point corresponding to the designated magnification is substituted into the magnification correction formula corresponding to the designated magnification and simultaneously added with the MTF correction, and the corrected image data (image data after scaling) of the target pixel is substituted. ) Is calculated and output as the pixel of interest. At this time, the image data input to the magnification correction device 4 is added to four lines and the preceding one line held in the device 4 to make a total of five lines as reference lines. Then, the image data after scaling is output (single line output) for one line corresponding to the target line.
[0023]
  4A shows the original image data line (the output line of the image processing 1 in the previous stage) and the output port O1 of the line data selector 3 at the same magnification (included in the enlargement in this embodiment). FIG. 4 (b) shows a case of 3/2 times enlargement, and FIG. 5 shows 2/3. This shows the case of reduction. On these drawings, a line that is filled with dots is a noticed line.
[0024]
  For example, the left end of FIG. 4A shows the first four lines L1 to L4 of an image of one page while the image processing 1 in the previous stage is outputting, and the most advanced line L1 is synchronized with the line of interest. The line image data in the line memory m7 (i7) (shown as blank because there is no actual image data at the top of the page) and the previous three lines L1 to L3 among the four lines L1 to L4 The line data selector 3 indicates that the data is output to the magnification correction device 4. At the same time, the line image data in the memories m5, m6 and m7 are written into the memories m1, m2 and m3, and the line image data of the four lines L1 to L4 of the original image data are written into the memories m4 to m7. .
[0025]
  In the right block, there is no image data output of the image processing 1 in the preceding stage, and during that time, the line of interest is changed to L2, and the image data of the four lines L1 to L4 of the line memories m4 to m7 is changed to the line data selector 3 It is shown that the data is output to the zoom correction device 4 via the input ports i4 to i7 and the output ports O1 to O4.
[0026]
  Next, the lines required by the magnification correction device 4 are L2 to L5 including the target line L3, but the line image data of L5 does not exist in the memory 2. Therefore, the memory controller 6 waits for the previous image processing 1 to output the next lines L5 to L8. When the image processing 1 outputs the next lines L5 to L8, the memory controller 6 synchronizes with the line memory m5. The line image data (i5 to i7) of L2 to L4 of .about.m7 and the first line L5 among the new four lines L5 to L8 are selected by the memory controller 6 and the line data selector 3, and the line of the original image data No. L3 is output to the zoom correction device 4 with the line of interest as the target line. At the same time, the line image data in the memories m5, m6, and m7 are written in the memories m1, m2, and m3, and the line image data for the four lines L5 to L8 of the original image data are written in the memories m4 to m7. . When this is completed, the line memories m1 to m7 have L2 to L8 line image data.
[0027]
  Based on these line image data, the transfer lines of L3 to L6 (i2 to i5), L4 to L7 (i3 to i6), and L5 to L8 (with L4, L5, and L6 as the target line) Since i4 to i7) can be transferred three times, the memory controller 6 performs these three transfers.
[0028]
  Thereafter, in the same manner, while the original image data of the next four lines (L9 to L12) is being output by the previous image processing 1, the four lines (L6 to L9) are used as the next line (L7). The processing image data is output (transferred) to the magnification correcting device 4, and when this is completed, the attention line is sequentially advanced and transferred three times. The same applies hereinafter.
[0029]
  In the case of 3/2 enlargement shown in FIG. 4B, for the odd-numbered lines of the original image data, processing data transfer for one line for four lines using the odd-numbered lines as a target line is performed. However, with respect to the even-numbered line of the original image data, the processing target data for two lines, which are used as the target line, is transferred to the magnification correction device 4. The control signal g is used for the two repetitive transfer instructions, which is generated by the magnification controller 5 and supplied to the memory controller 6. When the control signal g is H, the memory controller 6 advances the target line by one line, and transfers the processing target data of the preceding one line and the next two lines, a total of four lines, to the scaling correction device 4. However, when the control signal g is L, the processing line data transfer of the above four lines is performed to the magnification correction device 4 without advancing the target line. The magnification controller 5 switches the control signal g to H, H, L / H, H, L / H, H, L /... For each line when the magnification is 3/2.
[0030]
  The magnification change controller 5 alternately switches the control signal g between H / L and L / H every time the line is switched when the magnification is 2/1. As a result, the data transfer using each line of the original image data as the target line is repeated twice for each target line. When the magnification is 5/2, the control signal g is changed to H, L, H, L, H / H, L, H, L, H / H, L, H, L, H /.・ Switch to Multiple of 3 Only the line of No. 1 becomes the processing target data transfer of 4 lines at the same time, using it as the target line. This line is the processing target data transfer of four lines at the same time, with the line of interest as the target line. By manipulating the control signal g in this way, it is possible to transfer the processing target data at an arbitrary magnification.
[0031]
  At the time of 2/3 reduction shown in FIG. 5, the third line L3 of the original image data and its multiple No. For this line, the processing target data for four lines is not transferred once, with this line as the target line. Repeat for other lines. In the case of reduction, the control signal g is also used, but the instruction that the level L / H means is different from that in the case of enlargement. When the memory controller 6 is reduced (h = H), when the control signal g is H, the target line is advanced by one line, and the preceding one line and the following two lines, that is, a total of four lines. The processing target data is transferred to the magnification correction device 4. When the control signal g is L, the line of interest is advanced, but the four lines of processing target data are not transferred. That is, a multiple of 3 This line is thinned out from the attention line. The magnification changing controller 5 switches the control signal g to H, H, L / H, H, L / H, H, L /.
[0032]
  The magnification controller 5 alternately switches the control signal g between H / L and L / H every time the line is switched when the reduction is ½. As a result, data transfer is performed by thinning out even-numbered lines from the target line. At the time of 2/5 reduction, the control signal g is changed to H, L, H, L, L / H, L, H, L, L / H, L, H, L, L /.・ Switch to By manipulating the control signal g in this way, it is possible to transfer the data to be processed at an arbitrary reduction ratio.
[0033]
  The magnification controller 5 generates a control signal h of a low level L when it is equal or enlarged, and H when it is reduced, and this is combined with the above-described control signal g. This is given to the memory controller 6.
[0034]
  2 and 3 show an outline of input / output control of the line image data from the start point to the end of the one-page image data input of the memory controller 6. FIG.
[0035]
  Referring first to FIG. 2, when the one-page image data input start is notified, the memory controller 6 clears the line memory 2 (step 1), and the target line No. Register OLNo. 1 is written to indicate the first line (L1) (step2), The input port i7 is written to the selected input port start point register IN, and the input ports i7, i8, i9 and i10 of the line data selector 3 are connected to the output ports O1, O2, O3 and O4, respectively. Then, the ready is notified to the image processing 1 in the previous stage through the control signal line (step 3).
[0036]
  The controller 6 waits for the preceding image processing 1 to start outputting the four lines L1 to L4. When the controller 6 starts the output, the controller 6 writes the four lines L1 to L4 into the line memories m4 to m7 and m5 to m5. The data of m7 is written to m1 to m3, and the line data of the memory m7 and the line data of 3 lines L1 to L3 are output to the magnification correction device 4 according to the set connection (i7 to i10 / O1 to O4). (Step 5). This state is shown at the leftmost end in FIGS.
[0037]
  When this is completed for the entire line length, the controller 6 notifies the image processing 1 of busyness and reads the outputs h and g of the magnification controller 5 (step 6). If the control signal h is L indicating enlargement (including equal magnification), if the control signal g is H with reference to the control signal g, the target line No. 1 (steps 7 to 9), the outputs (i4 to i7 / O1 to O4) of the lines L1 to L4 with the target line as L2 are set (step 10), and this output is possible. Data (L1 to L4) in the memories m4 to m7 are read and output (steps 11 and 12). Then, the control signals h and g of the magnification controller 5 are read (step 13). If there is no change in the enlargement (h = L) (step 14), the level of g is referred to (step 15). 1 (Step 16), the transfer port of 4 lines to be transferred is also advanced by 1 (Step 17), the page end is checked (18), and if it is not the page end, the end of the extraction port is the line. It is checked whether or not the memory 2 is removed (step 11). Since the output from the image processing 1 in the previous stage is necessary when the line memory 2 is removed, the memory controller 6 notifies the image processing 1 of the ready (step 19A), and the image processing 1 detects the next four lines (L5 to L5). It waits for the output of L8) (step 19B).
[0038]
  When the image processing 1 outputs the next four lines (L5 to L8), the line image data (i5 to i7) of L2 to L4 of the line memories m5 to m7 and the new four lines L5 and 5 are synchronized with it. The first line L5 in L8 is designated as the line number of the original image data. L3 is output to the zoom correction device 4 with the line of interest as the target line. At the same time, the line image data in the memories m5, m6, and m7 are written in the memories m1, m2, and m3, and the line image data for the four lines L5 to L8 of the original image data are written in the memories m4 to m7. (Step 20). When this is completed, there are 7 lines (L2 to L8) of line image data in the line memories m1 to m7, and the data of the next line of interest is in the line memory m3 (i3) and should be transferred next. The four lines of data are in the memories m2 to m5 (i2 to i5). Therefore, the memory controller 6 notifies the image processing 1 of busy, writes the input port i2 to the selected input port start point register IN, and sets the input ports i2, i3, i4 and i5 of the line data selector 3 to the output ports O1, O2 respectively. , O3 and O4 (step 21).
[0039]
  If g = H continues, three transfers are possible at this stage, so the memory controller 6 repeats steps 15, 16, 17, 18, and 11-14 three times while advancing the line of interest. Transfer once. When g = L, only transfer is performed without advancing the line of interest (skip from step 15 to step 18). When the last line of the 4-line batch transfer is not in the line memory 2, this is detected in step 11, and the ready is notified to the image processing 1 (19A), and the image processing 1 sends the data of 4 lines. At the time of output, the line image data (i5 to i7) in the line memories m5 to m7 and the topmost line among the new four lines are output to the magnification correction device 4 in synchronization with the output. At the same time, the line image data in the memories m5, m6, and m7 are written in the memories m1, m2, and m3, and the line image data for the four lines L5 to L8 of the original image data are written in the memories m4 to m7. (Step 20). When the control signal h is switched to H (reduction), this is detected in step 14 and the process jumps to step 29 in FIG.
[0040]
  As described above, when the control signal h = L (enlargement), in response to the control signal g given by the scaling controller 5 in line units, if it is H, the increment of the line of interest is performed. The line of interest, the preceding one line and the following two lines, a total of four lines, are transferred to the magnification correction device 4 (steps 15 to 17, 18, 11 to 13; (a) and (b) of FIG. )). When the control signal g is L, the four lines are transferred without advancing the line of interest (steps 16 and 17 are skipped; FIG. 4B). When the last 4 lines to be transferred do not exist in the line memory 2, it waits for the processing apparatus 1 in the previous stage to output 4 lines, and when there is this output, simultaneously to the magnification correction apparatus 4. Is transferred (steps 11, 19A, 19B, 20, 21).
[0041]
  Please refer to FIG. When the output of one page of image data is started with the control signal h = H (reduction), the memory controller 6 proceeds from step 7 in FIG. 2 to step 22 in FIG. In addition, the 4-line selection port is also advanced (step 23). It is checked whether or not the selected port is out of the line memory 2 (step 24). If not, the control signal g is referred to (step 25), and if it is H, 4 lines of data are output. (Step 26) If the control signal g is L, this data output is not performed, and the control signal h, g given by the zoom controller 5 is read next (Step 27). If the control signal h = H (reduction) continues, the line of interest is incremented by 1 (steps 28 and 29), and the 4-line selection port is also advanced (step 30).
[0042]
  When any line image data of the four lines to be transferred is not present in the line memory 2, the processor 1 is notified of the ready (step 32A), which starts the simultaneous output of the four lines of image data. (32B), and if the control signal g = H, the line image data (i5 to i7) in the line memories m5 to m7 are synchronized with the simultaneous output of the four lines of data by the processing device 1. The topmost line among the new four lines is output to the magnification correction device 4. At the same time, the line image data in the memories m5, m6, and m7 are written in the memories m1, m2, and m3, and the line image data for the four lines L5 to L8 of the original image data are written in the memories m4 to m7. (Step 34). When the control signal g = L, the line image data is read and written in the line memory 2 in the same manner, but the image data is not output to the magnification correction device 4 (step 35). When the reading and writing of the line image data to the line memory 2 are completed, the memory controller 6 notifies the image processing 1 of busy, writes the input port i2 to the selected input port start point register IN, and inputs the input port i2 of the line data selector 3 , I3, i4 and i5 are connected to output ports O1, O2, O3 and O4, respectively (step 36).
[0043]
  Next, the memory controller 6 repeats steps 27 to 31, 24, 25 and 26 three times while advancing the line of interest (step 29). During this time, when g = H, four lines are simultaneously transferred to the magnification correction device 4 (step 26), and when g = L, this is not performed. That is, step 26 is skipped. Next, when the last four lines to be transferred do not exist in the line memory 2, this is detected in step 24, and the above-described processing in steps 33 to 36 is performed. When the control signal h is switched to L (enlarged), this is detected in step 28, and the process jumps to step 15 in FIG.
[0044]
  As described above, when the control signal h = H (reduction), in response to the control signal g given by the scaling controller 5 in units of lines, if it is H, the line of interest, the previous line, and The latter two lines, a total of four lines, are transferred to the magnification correction device 4 (steps 26 and 34), and the line of interest is incremented (steps 29 and 30; FIG. 5). When the control signal g is L, the target line is advanced, but the four lines are not transferred to the magnification correction device 4 (step 26 is skipped, step 35; FIG. 5). When any one of the four lines scheduled for transfer does not exist in the line memory 2, the processing apparatus 1 waits for the processing apparatus 1 in the previous stage to output four lines, and if the control signal g = H, the processing apparatus 1 4 outputs 4 lines simultaneously to the variable magnification correction device 4 (step 34), but if the control signal g = L, the transfer to the magnification correction device 4 is not performed (step 34). 35).
[Brief description of the drawings]
FIG. 1 is a block diagram showing an outline of a functional configuration of an embodiment of the present invention.
2 is a flowchart showing a part of the outline of line image data transfer control of the memory controller 6 shown in FIG. 1; FIG.
FIG. 3 is a flowchart showing the remainder of the outline of the line image data transfer control of the memory controller 6 shown in FIG. 1;
FIG. 4 (a) shows that the magnification controller 5 gives a control signal h = L (enlargement instruction) to the memory controller 6 and also gives another control signal g as H continuously. This is a time chart showing the output image data of the preceding image processing 1 and the image data output from the data selector 3 to the magnification correction device 4 when the magnification instruction is given, by line numbers on the original image. (B) shows the case where the magnification controller 5 gives the control signal h = L (enlargement instruction) to the memory controller 6 and the other control signal g is switched between H and L to enlarge 3/2. This is a time chart showing the output image data of the previous image processing 1 and the image data output from the data selector 3 to the scaling correction device 4 by line numbers on the original image.
FIG. 5 shows a previous stage when the magnification controller 5 gives a control signal h = H (reduction instruction) to the memory controller 6 and the other control signal g is switched between H and L and reduced by 2/3. The output image data of the image processing 1 and the image data output by the data selector 3 to the magnification correction device 4 are time charts indicated by line numbers on the original image.
[Explanation of symbols]
  2: Line memory

Claims (3)

複数ライン画像データに対して画像処理を行って第1の画像データとして出力する画像処理手段;該第1の画像データを第2の画像データとして収納するメモリ手段;前記第1及び第2の画像データの中から所定数ラインを選択して出力する出力手段;および、該出力手段により出力された複数ラインの画像データを変倍処理する変倍手段;を備え、前記出力手段は、ライン出力制御情報に従って、出力する複数ラインの中心となる注目ラインを設定し、該注目ラインに基づいて前記変倍手段が処理可能なライン数分の画像データを選択する選択処理を実行し、前記注目ラインを変更して前記選択処理を繰り返す、ことを特徴とする画像デ−タの変倍装置。 Image processing means for performing image processing on a plurality of lines of image data and outputting as first image data; memory means for storing the first image data as second image data ; the first and second output means for outputting from the image data by selecting the predetermined number of lines; and, scaling means for scaling the image data of a plurality of lines output by the output means; wherein the output means comprises line output In accordance with the control information, a target line that is the center of a plurality of lines to be output is set, and a selection process is performed to select image data for the number of lines that can be processed by the scaling unit based on the target line, and the target line The image data scaling device is characterized in that the selection process is repeated with the change made . 前記ライン出力制御情報は、画像の拡大か否を示す情報および出力ライン更新か否を示す情報を含み;前記出力手段は、前記ライン出力制御情報が拡大かつ出力ライン更新のときに前記選択処理を繰り返すことを特徴とする請求項1記載の画像デ−タの変倍装置。 It said line output control information includes information indicating whether information and output line update indicating the whether image enlargement; and the output means, the selection process when the line output control information is large and the output line update 2. The image data scaling device according to claim 1, wherein the image data scaling device is repeated . 前記ライン出力制御情報は、画像の縮小か否を示す情報およびライン間引きか否を示す情報を含み;前記出力手段は、ライン出力制御情報が縮小かつライン間引きのときに前記選択処理を繰り返すことを特徴とする請求項1記載の画像デ−タの変倍装置。 It said line output control information includes information indicating whether information and line-thinning indicates the reduction whether the image; and the output means, that the line output control information repeats the selection process when the reduced and line thinning 2. A zooming apparatus for image data according to claim 1, wherein:
JP22214499A 1999-08-05 1999-08-05 Image data scaling device Expired - Fee Related JP3788563B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22214499A JP3788563B2 (en) 1999-08-05 1999-08-05 Image data scaling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22214499A JP3788563B2 (en) 1999-08-05 1999-08-05 Image data scaling device

Publications (2)

Publication Number Publication Date
JP2001053959A JP2001053959A (en) 2001-02-23
JP3788563B2 true JP3788563B2 (en) 2006-06-21

Family

ID=16777878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22214499A Expired - Fee Related JP3788563B2 (en) 1999-08-05 1999-08-05 Image data scaling device

Country Status (1)

Country Link
JP (1) JP3788563B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4543109B2 (en) * 2008-03-28 2010-09-15 シャープ株式会社 Image processing apparatus and image forming apparatus
JP6465669B2 (en) * 2015-01-26 2019-02-06 キヤノン株式会社 Image processing apparatus and image processing method
JP2023082579A (en) * 2021-12-02 2023-06-14 京セラドキュメントソリューションズ株式会社 Image processing apparatus

Also Published As

Publication number Publication date
JP2001053959A (en) 2001-02-23

Similar Documents

Publication Publication Date Title
JPS6361381A (en) Image processor
JP3788563B2 (en) Image data scaling device
JP3843477B2 (en) Image processor
EP0510182B1 (en) Image scaling for thermal printers and the like
JP2982509B2 (en) Image reduction processing method
JP2860985B2 (en) Document reading device
JP2002199209A (en) Image processing apparatus
JP2582058B2 (en) Image data scaling controller
JP3698196B2 (en) Image processing apparatus and image input apparatus
JP4945462B2 (en) Image scaling processing method, image scaling processing apparatus, image processing apparatus, and image forming apparatus
JP4137491B2 (en) Image scaling device for multiple bit width pixels
JPH11168610A (en) Image processor
JPS63220670A (en) Inter-line interprolating method for image signal line
JP2005269502A (en) Image processing apparatus and image processing method
JP4375159B2 (en) Image processing device
JP3607308B2 (en) Image processing device
JPH08125848A (en) Image processor
JP3659016B2 (en) Color image processing device
JPS58184871A (en) Method and apparatus of picture element density conversion
JPH0420224B2 (en)
JP2006092506A (en) Image processor
JP2000137803A (en) Interface device and image forming device
JP2903175B2 (en) Image processing device
JPH09331445A (en) Image processor
JPH0676051A (en) Parallel picture processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060221

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060322

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120407

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140407

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees