JP4312944B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP4312944B2 JP4312944B2 JP2000320199A JP2000320199A JP4312944B2 JP 4312944 B2 JP4312944 B2 JP 4312944B2 JP 2000320199 A JP2000320199 A JP 2000320199A JP 2000320199 A JP2000320199 A JP 2000320199A JP 4312944 B2 JP4312944 B2 JP 4312944B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- horizontal
- pixels
- vertical
- pulse
- 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
Links
- 238000012545 processing Methods 0.000 title claims description 74
- 238000012544 monitoring process Methods 0.000 claims description 91
- 238000003780 insertion Methods 0.000 claims description 74
- 230000037431 insertion Effects 0.000 claims description 74
- 238000006243 chemical reaction Methods 0.000 claims description 63
- 230000009467 reduction Effects 0.000 claims description 41
- 238000000034 method Methods 0.000 claims description 31
- 238000010586 diagram Methods 0.000 description 14
- 230000008521 reorganization Effects 0.000 description 10
- 238000012937 correction Methods 0.000 description 7
- 230000006866 deterioration Effects 0.000 description 6
- 230000003111 delayed effect Effects 0.000 description 5
- 238000012935 Averaging Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000010187 selection method Methods 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、特に文字や図形などが多く含まれるパソコン画像などを対象とし、入力画像の水平及び垂直画素数を他の水平及び垂直画素数に縮小又は拡大変換する解像度変換手段に特徴を有する画像処理装置に関する。
【0002】
【従来の技術】
近年、マルチメディア関連機器を中心に、ディジタルスチルカメラ,DVDといったディジタル画像・映像機器が急速に普及している。又、表示装置においても液晶ディスプレイ、プラズマディスプレイといったドットマトリックスタイプの表示装置が広がっている。そこで、画像データの画素数と表示装置の画素数が異なる場合、画像データの画素数を表示装置の画素数に合わせる処理、つまり画像データの解像度変換処理が必要になる。
【0003】
固有の画素数を有する表示デバイスに映像信号を表示させる従来の表示装置において、縮小解像度変換を行って映像を表示させる場合には、線形補間処理や平均値縮小法が一般的に用いられているが、解像度変換後の映像がぼけることになる。そこでPCT/JP99/01511の画像処理装置のように間引き画素前後の画素からの情報をもとに画素データを補正することが考えられた。以下、従来の画像処理として、PCT/JP99/01511の画像処理装置について、図9,図10を用いて動作を説明する。
【0004】
図9はPCT/JP99/01511の画像処理装置における画像縮小回路30の基本構成図である。このPCT/JP99/01511の画像処理装置における画像縮小回路30は、第1の遅延回路31、第2の遅延回路32、第3の遅延回路33、係数決定回路34、演算回路35、画像再編成回路36、間引きパルス発生回路37を含んで構成される。なお、第1の遅延回路31、第2の遅延回路32、第3の遅延回路33はいずれもフリップフロップ等から構成され、水平方向に画像縮小を行う場合は画素単位の遅延を行い、垂直方向に画像縮小を行う場合はライン単位の遅延を行う回路とする。
【0005】
入力信号であるディジタル原画像101は先ず第1の遅延回路31に入力され、第1の遅延回路31から1段遅延信号31aが出力され、1段遅延信号31aは第2の遅延回路32に入力され、第2の遅延回路32から2段遅延信号32aが出力され、2段遅延信号32aは第3の遅延回路33に入力され、第3の遅延回路33から3段遅延信号33aが出力される。
【0006】
そして、レジスタ、セレクタ、コンパレータ等から構成される係数決定回路34では、1段遅延信号31aと2段遅延信号32aの連続する2画素の信号レベルからその相関の濃度差に応じた係数を決定し、補正係数α信号34aを演算回路35に供給する。セレクタ、レジスタ、加算器等から構成される演算回路35は、間引きパルス37aのタイミングで連続する2画素を抜き取り、代わりに補間画素1画素を挿入して間引き画像信号35aを出力する。代わりに挿入される補間画素1画素は、抜き取られる連続する2画素とその前後の2画素の合計4画素と係数決定回路34で得られる補正係数α信号34aとから演算された画素である。抜き取られる連続する2画素は、1段遅延信号31aと2段遅延信号32aから、その前後の2画素はディジタル原画像信号101と3段遅延信号33aから同時に得られる。画像再編成回路36は演算回路35によって得られた間引き処理後の間引き画像信号35aを画像として再編成し、縮小画像信号103として出力する。
【0007】
係数発生回路34での補正係数αは、隣り合う2画素の相関の濃淡差に基づいて決定する。濃淡差がほぼ等しい場合は出力する補正係数αは0とし、隣り合う2画素の相関の濃淡の差が等しくないときは、濃度の差の検出を何段階かに分けてその差に応じて補間係数αを決定し、係数決定回路34より補間係数α信号34aとして出力する。又その相関の濃度差の検出にはある程度幅を持たせてある。
【0008】
又、演算回路35では連続する4画素信号となる3段遅延信号33a,2段遅延信号32a,1段遅延信号31a、ディジタル原画像101の画素値を夫々a,b,c,dとして、補間係数αが補間係数α信号34aにより入力された場合、(1+2α)×(b+c)÷2−a×α−d×αの計算式で補間画素1画素を生成する。補間係数αが0なら演算式は(b+c)÷2となり、補間画素は抜き取られる連続する2画素の単なる平均値になる。
【0009】
なお、間引きパルス発生回路37による間引きパルス37aは画像の縮小率に合わせて出力される。例えば4/5に縮小するのであれば5画素に1回の間引きパルス、2/3に縮小するのであれば3画素に1回の間引きパルスが出力される。
【0010】
図10を用いてPCT/JP99/01511の画像処理装置の縮小解像度変換について具体的に説明する。図10上段は入力されるディジタル原画像信号101の波形例である。図示の範囲では低レベル中に高レベルの太さや輝度などが異なるストライプが存在するパターンと、画素値が連続する高レベルから連続する低レベルへと変化するパターンと、画素値が低レベル〜高レベルへと変化するパターンなどが存在する。いずれのパターンも、輝度値が大きく変化するコントラストの高い部分を含む画像である。
【0011】
このような部分画像を上記した従来の解像度変換であるPCT/JP99/01511の画像処理装置によって3/4に縮小解像度変換を行うと、図10下段に示すような縮小画像信号103が出力される。ここで補間係数αは隣り合う2画素b,cの濃淡差がほぼ等しい場合は0とし、隣り合う2画素b,c濃淡の差が等しくないときは0.25としている。
【0012】
ディジタル原画像信号101の101aの部分を見ると隣り合う2画素b,cの値は50と100であり、濃淡差があると判断され補間係数αは0.25になる。そして得られる縮小画像信号103の103aでは、挿入された補間画素Bは(1+2α)×(b+c)÷2−a×α−d×αの計算式に値を代入して(1+2×0.25)×(50+100)÷2−50×0.25−50×0.25で、その結果は100となる。つまりグレーに白のラインがあるディジタル原画像101を縮小して縮小画像信号103に変換しても同じグレーに白のラインの画像になる。
【0013】
ディジタル原画像信号101の101fの部分を見ると隣り合う2画素b,cの値は50と100であり、濃淡差があると判断され補間係数αは0.25になる。そして得られる縮小画像信号103の103fでは置き換えられた補間画素Bは(1+2α)×(b+c)÷2−a×α−d×αの計算式に値を代入して(1+2×0.25)×(50+100)÷2−0×0.25−150×0.25で、結果は75となる。つまり黒から白に徐々に変化する部分のディジタル原画像101を縮小して縮小画像信号103に変換しても、同じ黒から白へ徐々に変化する画像になる。ただ変化の角度が大きくなるだけである。
【0014】
ところが、ディジタル原画像信号101の101bの部分を見ると隣り合う2画素b,cの値は100と150であり、濃淡差があると判断され補間係数αは0.25になる。そして得られる縮小画像信号103の103bでは挿入された補間画素Bは、(1+2α)×(b+c)÷2−a×α−d×αの計算式に値を代入して(1+2×0.25)×(100+150)÷2−50×0.25−50×0.25で、結果は165.5となる。つまりグレーに白のラインがあるディジタル原画像101を縮小して縮小画像信号103に変換すると、同じグレーに元の輝度より高い輝度のラインに変換されてしまうことになる。
【0015】
又、ディジタル原画像信号101の101dの部分を見ると隣り合う2画素b,cの値は150と50であり、濃淡差があると判断され補間係数αは0.25になる。そして得られる縮小画像信号103の103dでは挿入された補間画素Bは、(1+2α)×(b+c)÷2−a×α−d×αの計算式に値を代入して(1+2×0.25)×(150+50)÷2−150×0.25−50×0.25で、結果は100となる。つまり白から黒に変化する部分のディジタル原画像101を縮小して縮小画像信号103に変換すると、同じ白から黒に変化する部分に中間調のレベルが現れぼけたような信号に変換されてしまうことになる。
【0016】
PCT/JP99/01511の画像処理装置の縮小解像度変換によってディジタル原画像信号101の信号は101a,101b,101c,101d,101e,101fが夫々縮小画像103に変換すると、103a,103c,103fのように縮小による画質劣化を大幅に改善できる。しかし103dのように信号レベルが変化してエッジ部がぼけたり、103b,103eのように、元々同じ輝度であるべきドット又はストライプに輝度むらが生じたりする。
【0017】
【発明が解決しようとする課題】
このように、図10で示されたPCT/JP99/01511の画像処理装置の縮小解像度変換を用いて解像度変換を行うと、PCのテキスト画面や図形画像などにおいてはストライプやドットは輝度値が変化する事があり、エッジ部では中間調の階調が生じてしまう。このように縮小解像度では見難い表示画像になる部分が発生するという問題点があった。又これと同様の手法を用いて画像を拡大する場合にも同様の欠点があった。
【0018】
本発明は、このような従来の問題点に鑑みてなされたものであって、ディジタル画像の解像度を変換する際に、画像の先鋭度の劣化や輝度むらの発生を防ぎ、より原画に近い鮮明な画像を得ることのできる画像処理装置を実現することを目的とする。
【0019】
【課題を解決するための手段】
本願の請求項1の発明は、指定された変換倍率に応じてディジタル原画像を異なる画素数のディジタル画像に解像度変換する画像処理装置であって、前記ディジタル原画像に対して指定された縮小変換倍率に応じて間引きパルスを発生し出力する間引きパルス発生手段と、前記ディジタル原画像の画素信号のレベルを所定の画素数範囲に渡って監視し、所定画素数範囲の画素信号レベルを隣り合う画素間で比較検出して間引きパルスによる画素間引きの補間画素生成方式を決定するための波形情報を出力する波形監視手段と、前記波形監視手段で得られた波形情報を元に、間引きパルス入力時に連続する2画素を置き換える補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する補間画素選択手段と、を具備することを特徴とするものであり、ディジタル原画像の縮小解像度変換をする際に画像の先鋭度の劣化や輝度むらの発生を防ぐことができる。
【0020】
本願の請求項2の発明は、指定された変換倍率に応じてディジタル原画像を異なる画素数のディジタル画像に解像度変換する画像処理装置であって、前記ディジタル原画像に対して指定された拡大変換倍率に応じて画素挿入パルスを発生し出力する画素挿入パルス発生手段と、前記ディジタル原画像の画素信号のレベルを所定の画素数範囲に渡って監視し、所定画素数範囲の画素信号レベルを隣り合う画素間で比較検出して画素挿入パルスによる画素挿入の補間画素生成方式を決定するための波形情報を出力する波形監視手段と、前記波形監視手段で得られた波形情報を元に、画素挿入パルス入力時に連続する2画素間に挿入する補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する補間画素選択手段と、を具備することを特徴とするものであり、ディジタル原画像の拡大解像度変換をする際に画像の先鋭度の劣化や輝度むらの発生を防ぐことができる。
【0021】
本願の請求項3の発明は、請求項1の画像処理装置において、前記縮小変換倍率は、水平方向の縮小変換倍率と垂直方向の縮小変換倍率を指定するものとし、前記間引きパルス発生手段は、指定された水平方向の縮小変換倍率に基づいて前記水平方向についての水平方向間引きパルスを発生する水平方向間引きパルス発生手段と、指定された垂直方向の縮小変換倍率に基づいて前記垂直方向に付いての垂直方向間引きパルスを発生する垂直方向間引きパルス発生手段と、を有し、前記波形監視手段は、前記ディジタル原画像の画素信号のレベルを水平方向の複数画素範囲に渡って監視し、水平方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して水平方向間引きパルスによる水平方向画素間引きの水平方向補間画素生成方式を決定するための水平方向波形情報を出力する水平方向波形監視手段と、前記ディジタル原画像の画素信号のレベルを垂直方向の複数画素範囲に渡って監視し、垂直方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して垂直方向間引きパルスによる垂直方向画素間引きの垂直方向補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段と、を有し、前記補間画素選択手段は、前記水平方向波形監視手段で得られた水平方向波形情報を元に水平方向間引きパルス入力時に水平方向で連続する2画素を置き換える水平方向補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する水平方向補間画素選択手段と、前記垂直方向波形監視手段で得られた垂直方向波形情報を元に垂直方向間引きパルス入力時に垂直方向で連続する2画素を置き換える垂直方向補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する垂直方向補間画素選択手段と、を有することを特徴とするものであり、ディジタル原画像を水平方向と垂直方向に個別に縮小解像度変換をする際に画像の先鋭度の劣化や輝度むらの発生を防ぐことができる。
【0022】
本願の請求項4の発明は、請求項2の画像処理装置において、前記拡大変換倍率は、水平方向の拡大変換倍率と垂直方向の拡大変換倍率を指定するものとし、前記画素挿入パルス発生手段は、指定された水平方向の拡大変換倍率に基づいて前記水平方向についての水平方向画素挿入パルスを発生する水平方向画素挿入パルス発生手段と、指定された垂直方向の拡大変換倍率に基づいて前記垂直方向に付いての垂直方向画素挿入パルスを発生する垂直方向画素挿入パルス発生手段と、を有し、前記波形監視手段は、前記ディジタル原画像の画素信号のレベルを水平方向の複数画素範囲に渡って監視し、水平方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して水平方向画素挿入パルスによる水平方向画素挿入の水平方向補間画素生成方式を決定のための水平方向波形情報を出力する水平方向波形監視手段と、前記ディジタル原画像の画素信号のレベルを垂直方向の複数画素範囲に渡って監視し、垂直方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して垂直方向画素挿入パルスによる垂直方向画素挿入の垂直方向補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段と、を有し、前記補間画素選択手段は、前記水平方向波形監視手段で得られた水平方向波形情報を元に水平方向画素挿入パルス入力時に水平方向で連続する2画素間に挿入する水平方向補間画素としして、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する水平方向補間画素選択手段と、前記垂直方向波形監視手段で得られた垂直方向波形情報を元に垂直方向画素挿入パルス入力時に垂直方向で連続する2画素間に挿入する垂直方向補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する垂直方向補間画素選択手段と、を有することを特徴とするものであり、ディジタル原画像を水平方向と垂直方向に個別に拡大解像度変換をする際に画像の先鋭度の劣化や輝度むらの発生を防ぐことができる。
【0023】
本願の請求項5の発明は、指定された変換倍率に応じてディジタル原画像を異なる画素数のディジタル画像に解像度変換する画像処理装置であって、指定された水平方向の縮小変換倍率に基づいて前記水平方向についての水平方向画素間引きパルスを発生する水平方向画素間引きパルス発生手段と、指定された垂直方向の拡大変換倍率に基づいて前記垂直方向についての垂直方向画素挿入パルスを発生する垂直方向画素挿入パルス発生手段と、前記ディジタル原画像の画素信号のレベルを水平方向の複数画素範囲に渡って監視し、水平方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して水平方向画素間引きパルスによる水平方向画素間引きの水平方向補間画素生成方式を決定するための水平方向波形情報を出力する水平方向波形監視手段と、前記ディジタル原画像の画素信号のレベルを垂直方向の複数画素範囲に渡って監視し、垂直方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して垂直方向画素挿入パルスによる垂直方向画素挿入の垂直方向補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段と、前記水平方向波形監視手段で得られた水平方向波形情報を元に水平方向画素間引きパルス入力時に水平方向で連続する2画素を置き換える水平方向補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する水平方向補間画素選択手段と、前記垂直方向波形監視手段で得られた垂直方向波形情報を元に垂直方向画素挿入パルス入力時に垂直方向で連続する2画素間に挿入する垂直方向補間画素として、前記2画素と前記2画素の平均値の3つのうちのいずれかを選択する垂直方向補間画素選択手段と、を有することを特徴とするものであり、ディジタル原画像を水平方向に縮小解像度変換を行い、垂直方向に拡大解像度変換をする際に画像の先鋭度の劣化や輝度むらの発生を防ぐことができる。
【0024】
本願の請求項6の発明は、指定された変換倍率に応じてディジタル原画像を異なる画素数のディジタル画像に解像度変換する画像処理装置であって、指定された水平方向の拡大変換倍率に基づいて前記水平方向についての水平方向画素挿入パルスを発生する水平方向画素挿入パルス発生手段と、指定された垂直方向の縮小変換倍率に基づいて前記垂直方向に付いての垂直方向画素間引きパルスを発生する垂直方向画素間引きパルス発生手段と、前記ディジタル原画像の画素信号のレベルを水平方向の複数画素範囲に渡って監視し、水平方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して水平方向画素挿入パルスによる水平方向画素挿入の水平方向補間画素生成方式を決定するための水平方向波形情報を出力する水平方向波形監視手段と、前記ディジタル原画像の画素信号のレベルを垂直方向の複数画素範囲に渡って監視し、垂直方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して垂直方向画素間引きパルスによる垂直方向画素間引きの垂直方向補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段と、前記水平方向波形監視手段で得られた水平方向波形情報を元に水平方向画素挿入パルス入力時に水平方向で連続する2画素間に挿入する水平方向補間画素として、前記2画素と前記2画素の平均値の3つのうちのいずれかを選択する水平方向補間画素選択手段と、前記垂直方向波形監視手段で得られた垂直方向波形情報を元に垂直方向画素間引きパルス入力時に垂直方向で連続する2画素を置き換える垂直方向補間画素として、前記2画素と前記2画素の平均値の3つのうちのいずれかを選択する垂直方向補間画素選択手段と、を有することを特徴とするものであり、ディジタル原画像を水平方向に拡大解像度変換を行い、垂直方向に縮小解像度変換をする際に画像の先鋭度の劣化や輝度むらの発生を防ぐことができる。
【0025】
本願の請求項7の発明は、請求項1の画像処理装置において、前記波形監視手段は、前記ディジタル原画像の画素信号を夫々1画素,2画素,3画素分遅延した出力を出す第1,第2,第3の遅延回路と、前記ディジタル原画像の画像信号と前記第1の遅延回路の出力とを比較する第1の比較器と、前記第2,第3の遅延回路の出力を比較する第2の比較器と、を具備するものであり、前記補間画素選択手段は、前記第1,第2の比較器の出力が実質的に等しい場合には、夫々前記第1又は第2の遅延回路出力を選択し、前記第1の比較器により前記第1の遅延回路出力が大きい場合には、前記第2の比較器により前記第3の遅延回路出力が小さければ前記第1,第2の遅延回路出力のより大きい方を選択出力とし、前記第3の遅延回路出力が大きければ前記第1,第2の遅延回路出力の平均値を選択出力とし、前記第1の比較器より前記原ディジタル信号の出力が大きい場合には、第2の比較器より第3の遅延回路出力が小さければその平均値を選択出力し、前記第3の遅延回路出力が大きければ前記第1,第2の遅延回路出力のうち小さい方を選択し、前記第1,第2の遅延回路の出力に代えて補間画素とすることを特徴とするものである。
【0026】
本願の請求項8の発明は、請求項2の画像処理装置において、前記波形監視手段は、前記ディジタル原画像の画素信号を夫々1画素,2画素,3画素分遅延した出力を出す第1,第2,第3の遅延回路と、前記ディジタル原画像の画像信号と前記第1の遅延回路の出力とを比較する第1の比較器と、前記第2,第3の遅延回路の出力を比較する第2の比較器と、を具備するものであり、前記補間画素選択手段は、前記第1,第2の比較器の出力が実質的に等しい場合には、夫々前記第1又は第2の遅延回路出力を選択し、前記第1の比較器により前記第1の遅延回路出力が大きい場合には、前記第2の比較器により前記第3の遅延回路出力が小さければ前記第1,第2の遅延回路出力のより大きい方を選択出力とし、前記第3の遅延回路出力が大きければ前記第1,第2の遅延回路出力の平均値を選択出力とし、前記第1の比較器より前記原ディジタル信号の出力が大きい場合には、第2の比較器より第3の遅延回路出力が小さければその平均値を選択出力し、前記第3の遅延回路出力が大きければ前記第1,第2の遅延回路出力のうち小さい方を選択し、前記第1,第2の遅延回路の出力の間に挿入して補間画素とすることを特徴とするものである。
【0027】
【発明の実施の形態】
本発明の実施の形態1における画像処理装置について図1〜図5を用いて説明する。図1は本実施の形態における画像の縮小をする画像処理装置の基本構成図である。この画像処理装置は、第1の遅延回路10、第2の遅延回路11、第3の遅延回路12、波形監視回路13、間引きパルス発生回路14、平均値化回路15、補間選択回路16、画像再編成回路17を含んで構成される。
【0028】
遅延回路10,11,12はフリップフロップ等で構成され、直列接続されており、水平方向に画像縮小を行う場合は夫々1画素単位の遅延を行い、垂直方向に画像縮小を行う場合は夫々1ライン単位の遅延を行う回路である。波形監視回路13はディジタル原画像101、遅延回路10の出力する1段遅延信号10a、遅延回路11の出力する2段遅延信号11a、遅延回路12の出力する3段遅延信号12aを入力し、水平方向又は垂直方向に波形監視を行い、波形情報信号13aを生成する回路である。遅延回路10、遅延回路11、遅延回路12、及び波形監視回路13は、ディジタル原画像101の画素信号のレベルを所定の画素数範囲に渡って監視し、画素信号レベルを隣り合う画素間で大小判定を行いこれを波形情報信号13aとして出力する波形監視手段の機能を有している。
【0029】
間引きパルス発生回路14は、入力された縮小率に応じて、入力される同期信号102(水平方向に画像縮小を行う場合は水平同期信号、垂直方向に画像縮小を行う場合は垂直同期信号)を基準として間引きパルス14aを発生する間引きパルス発生手段であり、例えば水平方向に4/5に画像縮小するのであれば5画素に1画素分の間引きパルス、垂直方向に2/3に画像縮小するのであれば3ラインに1ライン分の間引きパルスが出力される。
【0030】
平均値化回路15は連続する2画素、即ち遅延回路11,12の出力の平均値を算出して平均値補間画素データ15aを出力するものである。補間選択回路16は、間引きパルス発生回路14からの間引きパルス14aの入力時において、連続する2画素を補間画素1画素に置き換えて間引き画像信号16aを出力する回路である。ここで連続する2画素を置き換える補間画素1画素は、波形監視回路13の出力である波形情報信号13aに基づいて、連続する2画素のどちらか一方あるいはその平均値のいずれかを選択して出力するものである。画像再編成回路17は、遅延回路10,11の出力10a,11aと補間選択回路16の出力とが入力され、間引き画像信号16aでの抜き取られた画素部分の時間補正などを含めて、画像として再編成し表示デバイスの各画素に対応したタイミングで表示デバイスへデータを出力する機能を有している。
【0031】
図2に波形監視回路13の一例を示す。第1の比較回路131はディジタル原画像101と1段遅延信号10aの大小比較を行い、第2の比較回路132は2段遅延信号11aと3段遅延信号12aの大小比較を行い、この結果を波形情報信号13aとして出力する。
【0032】
このように構成された画像処理装置の動作について説明する。ディジタル原画像101の信号は遅延回路10に入力される。遅延回路10から出力された1段遅延信号10aは遅延回路11に入力される。又遅延回路11で遅延された信号は2段遅延信号11aとして遅延回路12に入力される。遅延回路12で遅延された信号は3段遅延信号12aとして出力される。波形監視回路13は、ディジタル原画像101の信号、1段遅延信号10a、2段遅延信号11a、3段遅延信号12aを入力し、ディジタル原画像101における信号レベルでディジタル原画像101と1段遅延信号10aの大小比較と、2段遅延信号11aと3段遅延信号12aの大小比較を常時行う。
【0033】
図3は波形監視回路13の動作の一例を説明するタイムチャートである。波形監視回路13は、ディジタル原画像101と1段遅延信号10aと2段遅延信号11aと3段遅延信号12aとの連続する4画素を入力し、ディジタル原画像101と一段遅延信号10aの大小比較と、2段遅延信号11aと3段遅延信号12aの大小比較とを行い、波形情報信号13aとする。この例では3段遅延信号12aが2段遅延信号11aより小さいと判定される。比較画素間のレベル差が任意に設定された大小比較基準判定レベルαより差が大きく2段遅延信号11aが大きいからである。そして1段遅延信号10aはディジタル原画像101と等しいと判定される。ディジタル原画像101の方がやや大きいが、比較画素間のレベル差が任意に設定された大小比較基準判定レベルαより差が小さく実質的に等しいと判断できるからである。
【0034】
ここで大小比較基準判定レベルαを最適値に設定することによって、あるレベル以上の差がないと、大小判定の結果が有効にされないようにしている。これは、大小判定基準レベルαを設定せずに、僅かな信号レベル差を用いて大小判定を行うと、単なるノイズの信号をも大小判定の対象にしてしまい、誤判別を起こす可能性が大きくなるからである。いずれにしても、画質をよくするために最適な大小比較基準判定レベルαを設定することが望ましい。
【0035】
さて図1において、補間選択回路16は間引きパルス発生回路14からの間引きパルス14aのパルスが入力された時点で波形情報信号13aを元に、連続する2画素(1段遅延信号10a、2段遅延信号11a)を補間画素に置き換えて間引き画像信号16aを出力する。又、補間画素は図4に示すテーブルによって決定される。ここでaは3段遅延信号12a、bは2段遅延信号11a、cは1段遅延信号10a、dはディジタル原画像101とする。例えば、図4のテーブルよりa<bでc>dの場合は、夫々bとcが判定レベルαを超えて大きい方としており、これは間引きパルス14aのパルスが入力された時点で、3段遅延信号12aと2段遅延信号11aの大小比較で2段遅延信号11aが大きく、1段遅延信号10aとディジタル原画像101の大小比較で1段遅延信号10aが大きいとの波形情報信号13aが入力されると、補間選択回路16では2段遅延信号11aと1段遅延信号10aの信号レベルが大きい方を補間画素として選択して間引き画像信号16aを出力することを表す。又、図4のテーブルよりa<bでc<dの場合は(b+c)/2としており、これは間引きパルス14aが入力された時点で、3段遅延信号12aと2段遅延信号11aの大小比較で2段遅延信号11aが大きく、1段遅延信号10aとディジタル原画像101の大小比較でディジタル原画像信号101が大きいとの波形情報信号13aが入力されると、補間選択回路16では2段遅延信号11aと1段遅延信号10aの平均値を補間画素に選択する。即ち平均値化回路15の出力である平均値補間画素データ15aを間引き画像信号16aとして出力することを表す。
【0036】
次に画像再編成回路17は、ディジタル原画像信号101を遅延した1段又は遅延信号10a,11aと補間選択回路16の出力である間引き画像信号16aでの抜き取られた画素部分の時間補正などを含めて、画像として再編成し表示デバイスの各画素に対応したタイミングで表示デバイスへ縮小画像信号104を出力する。
【0037】
以上の解像度変換処理について、図5を用いて説明する。図5はディジタル画像信号の波形例である。図示の範囲では低レベル中に高レベルの太さや輝度などが異なるストライプが存在するパターンと、画素値が連続する高レベルから連続する低レベルへと変化するパターンと、画素値が低レベル〜高レベルへと変化するパターンなどが存在する。いずれのパターンも、輝度値が大きく変化するコントラストの高い部分を含む画像である。図5の上段に示すディジタル原画像信号101(101a、101b,101c,101d,101e,101f)を本実施の形態1による解像度変換処理によって3/4に解像度を変換すると、図5の下段に示す画像縮小信号104(104a,104b,104c,104d,104e,104f)が得られることを示す。ここでのディジタル原画像101は従来の解像度変換の説明で示した図10と同じものである。
【0038】
図5でディジタル原画像信号101aが縮小画像信号104aになることを説明する。ディジタル原画像信号101aでa点は3段遅延信号12aであり、b点は2段遅延信号11aであり、c点は1段遅延信号10aであり、d点はディジタル原画像信号101である。波形監視回路13でa点とb点の大小比較を行いa=bであると判定し、c点とd点の大小比較でc>dと判定する。この波形情報信号13aをもとにして、図4のテーブルにより補間選択回路16では縮小画像信号104aとして出力するための補間画素Bとして、c点の画素を選択して出力する。つまり4画素a,b,c,dを3画素a,B(=c),dに縮小して縮小画像信号104aが得られることになる。
【0039】
次に、ディジタル原画像信号101bが縮小画像信号104bになることを説明する。ディジタル原画像信号101aでa点は3段遅延信号12aであり、b点は2段遅延信号11aであり、c点は1段遅延信号10aであり、d点はディジタル原画像信号101である。波形監視回路13でa点とb点の大小比較を行いa<bであると判定し、c点とd点の大小比較でc>dと判定する。この波形情報信号13aをもとにして、図4のテーブルにより補間選択回路16では縮小画像信号104bとして出力するための補間画素Bとして、b点とc点の画素レベルの大きい方つまりc点を選択して出力する。つまり4画素a,b,c,dを3画素a,B=c,dに縮小した縮小画像信号104aが得られることになる。
【0040】
ディジタル原画像101を本実施の形態によって縮小解像度変換することにより、図5に示すように101aは104aに変換され、101cは104cに変換され、101fは104fに変換される。これは従来の解像度変換を用いた図10の結果と同じ結果が得られることになり、画像のドット部又はストライプ部において間引かれた場所の各画素信号のレベルのばらつきが無くなり、104fのようにエッジではない信号についてはほぼ自然な中間調が得られ、表示された縮小画像は非常に見やすい。
【0041】
そして、ディジタル原画像101を本実施の形態によって縮小解像度変換することにより、図5に示すように101bは104bに変換され、101eは104eに変換される。これはディジタル原画像101の101bと104e部分の最高輝度のレベルが保持され、元の輝度より高い輝度のラインに変換される従来の解像度変換にはない見やすい縮小画像が得られる。
【0042】
又、ディジタル原画像101を本実施の形態によって縮小解像度変換することにより、図5に示すように101dは104dに変換される。これは画素値が連続する高レベルから連続する低レベルへと急に変化するパターンのエッジ部を保持することができる。
【0043】
以上の説明では画像における水平方向の処理を基本に説明してきたが、垂直方向の縮小においても同様の処理を行うことが可能である。
【0044】
次に実施の形態2について説明する。前述した実施の形態1では、ディジタル原画像101を縮小する画像処理装置について説明したが、実施の形態2はディジタル原画像101を拡大する画像処理装置である。図6はその構成を示すブロック図である。この画像処理装置は、第1の遅延回路20、第2の遅延回路21、第3の遅延回路22、波形監視回路23、挿入パルス発生回路24、平均値化回路25、補間選択回路26、画像再編成回路27を含んで構成される。
【0045】
遅延回路20,21,22はフリップフロップ等で構成され、水平方向に画像縮小を行う場合は夫々1画素単位の遅延を行い、垂直方向に画像縮小を行う場合は夫々1ライン単位の遅延を行う回路である。波形監視回路23はディジタル原画像101、遅延回路20の出力する1段遅延信号20a、遅延回路21の出力する2段遅延信号21a、遅延回路22の出力する3段遅延信号22aを入力し、水平方向又は垂直方向に波形監視を行い、波形情報信号23aを生成する回路であって、図2と同様の構成を有している。遅延回路20、遅延回路21、遅延回路22、及び波形監視回路23は、ディジタル原画像101の画素信号のレベルを所定の画素数範囲に渡って監視し、画素信号レベルを隣り合う画素間で大小判定を行いこれを波形情報信号23aとして出力する波形監視手段の機能を有している。
【0046】
挿入パルス発生回路24は、入力された拡大率に応じて、入力される同期信号102(水平方向に画像拡大を行う場合は水平同期信号、垂直方向に画像拡大を行う場合は垂直同期信号)を基準として挿入パルス24aを発生する挿入パルス発生手段であり、例えば水平方向に5/4に画像拡大するのであれば4画素に1画素分の画素挿入パルス、垂直方向に3/2に画像縮小するのであれば2ラインに1ライン分の画素挿入パルスが出力される。
【0047】
平均値化回路25は連続する2画素、即ち遅延回路21,22の出力の平均値を算出して平均値補間画素データ25aを出力するものである。補間選択回路26は、挿入パルス発生回路24からの挿入パルス24aの入力時において、連続する2画素の間に補間画素1画素を挿入する挿入画像信号26aを出力する回路である。ここで連続する2画素に挿入する補間画素1画素は、波形監視回路23の出力である波形情報信号23aに基づいて連続する2画素のどちらか一方あるいはその平均値のいずれかを選択して出力するものである。選択方法は図4のテーブルと同様とする。画像再編成回路27は、遅延回路20,21の出力20a,21aと補間選択回路26の出力26aとが入力され、挿入画像信号26aで挿入された画素部分の時間補正などを含めて、画像として再編成し表示デバイスの各画素に対応したタイミングで表示デバイスへデータを出力する機能を有している。
【0048】
次に2次元の縮小変換を行う本発明の実施の形態3による画像処理装置について説明する。図7はこの画像処理装置の構成を示すブロック図である。この画像処理装置では水平方向の画像縮小を行う処理ブロックDHに加え、水平方向に縮小した画像を入力として垂直方向に画像の縮小変換を行う画像処理ブロックDVの構成が付加されている。即ち図7の水平処理ブロックDHは図1に示すブロックと同一であり、遅延回路(D)10〜12は1画素分の画素信号を遅延するものとする。画像再編成回路17の出力104hは画像処理ブロックDVに加えられる。画像処理ブロックDVは垂直方向の遅延回路10v,11v,12vを有しており、これらは一垂直走査ライン分を遅延を行うものである。又波形監視回路13vについては波形監視回路13と同一であり、間引きパルス発生回路14vには垂直同期信号102vが入力される。間引きパルス発生回路14,14vには夫々水平方向の縮小変換倍率と垂直方向の縮小変換倍率を指定するものとする。
【0049】
間引きパルス発生回路14は水平方向について間引きパルスを出力する水平方向間引きパルス発生手段であり、間引きパルス発生回路14vは垂直方向について間引きパルスを出力する垂直方向間引きパルス発生手段である。又遅延回路10,11,12、波形監視回路13はディジタル原画像の画素信号のレベルを水平方向の所定の画素数範囲に渡って監視し、水平方向の所定画素数範囲の画素信号レベルを隣り合う画素間で比較検出して、水平間引きパルスによる画素間引きの補間画素生成方式を決定するための水平方向波形情報を出力する水平方向波形監視手段を構成している。又遅延回路10v,11v,12v、波形監視回路13vはディジタル原画像の画素信号のレベルを垂直方向の所定の画素数範囲に渡って監視し、垂直方向の所定画素数範囲の画素信号レベルを隣り合う画素間で比較検出して、垂直間引きパルスによる画素間引きの補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段を構成している。
【0050】
又補間選択回路16は、水平方向波形監視手段で得られた水平波形情報をもとに水平方向間引きパルス入力時に連続する2画素を置き換える水平補間画素を、前記2画素自体とその平均値の3つのうちどれかを選択する水平補間画素選択手段を構成している。更に補間選択回路16vは、垂直方向波形監視手段で得られた垂直波形情報をもとに垂直方向間引きパルス入力時に連続する2画素を置き換える垂直補間画素を、前記2画素自体、あるいは前記2画素の平均値の3つのうちどれかを選択する垂直補間画素選択手段を構成している。選択方法は図4のテーブルの通りとする。こうすれば間引きパルス発生回路14,14vに夫々水平方向,垂直方向の縮小率を設定することによって画像を2次元で縮小することができる。
【0051】
次に本発明の実施の形態4について説明する。この実施の形態では水平及び垂直方向の2次元の画像拡大を行う画像処理装置である。図8はこの画像処理装置の構成を示すブロック図である。この画像処理装置では図6に示す水平方向の拡大を行う処理装置に加え、水平方向に拡大した画像を入力として垂直方向に画像の拡大変換を行う画像処理装置の構成が付加されている。即ち図8の水平処理ブロックEHは図6に示すブロックと同一であり、遅延回路(D)10〜12は1画素分の画素信号を遅延するものとする。画像再編成回路17の出力105hは画像処理ブロックEVに加えられる。画像処理ブロックEVは垂直方向の遅延回路20v,21v,22vを有しており、これらは一垂直走査ライン分の遅延を行うものである。又波形監視回路23vについては波形監視回路23と同一であり、挿入パルス発生回路24vには垂直同期信号102vが入力される。挿入パルス発生回路24,24vには水平方向の拡大変換倍率と垂直方向の拡大変換倍率を指定するものとする。
【0052】
挿入パルス発生回路24は水平方向について画素挿入パルス出力を行う水平方向画素挿入パルス発生手段であり、挿入パルス発生回路24vは垂直方向について画素挿入パルス出力を行う垂直方向画素挿入パルス発生手段である。遅延回路20,21,22と波形監視回路23はディジタル原画像の画素信号のレベルを水平方向の所定の画素数範囲に渡って監視し、水平方向の所定画素数範囲の画素信号レベルを隣り合う画素間で比較検出して、水平画素挿入パルスによる画素挿入の補間画素生成方式を決定するための水平方向波形情報を出力する水平方向波形監視手段を構成している。又遅延回路20v,21v,22vと波形監視回路23vはディジタル原画像の画素信号のレベルを垂直方向の所定の画素数範囲に渡って監視し、垂直方向の所定画素数範囲の画素信号レベルを隣り合う画素間で比較検出して、垂直画素挿入パルスによる画素挿入の補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段を構成している。
【0053】
又補間選択回路26は、水平方向波形監視手段で得られた水平波形情報をもとに水平方向画素挿入パルス入力時に連続する2画素間に挿入する水平補間画素を、前記2画素自体とその平均値の3つのうちどれかを選択する水平補間画素選択手段を構成している。更に補間選択回路26vは、垂直方向波形監視手段で得られた垂直波形情報をもとに垂直方向間画素挿入パルス入力時に連続する2画素間に挿入する垂直補間画素を、前記2画素自体との平均値の3つのうちどれかを選択する垂直補間画素選択手段を構成している。
【0054】
又前述した実施の形態3,4では、2次元の縮小及び拡大をする画像処理装置について説明したが、水平方向の縮小回路DHと垂直方向の拡大回路DVを組み合わせたり、水平方向の拡大回路EHと垂直方向の縮小回路EVとを組み合わせて画像の倍率を変換することができる。
【0055】
【発明の効果】
以上詳述したように本願の請求項1,3,7の画像処理装置によれば、間引きを行う画素とその周辺の画素で大小比較判定を行い、その結果を基に補間画素のデータを選択する手法により、従来よりも鮮明な画像を縮小して表示することができる。又本願の請求項2,4,8の画像処理装置によれば、挿入する画素とその周辺の画素とで大小比較判定を行い、その結果を基に挿入画素のデータを選択することにより、従来よりも鮮明な画像を拡大して表示することが可能となる。更に請求項5の発明では、水平方向に縮小し、垂直方向に拡大することができ、請求項6の発明では、水平方向に拡大し、垂直方向に縮小する画像を鮮明に表示することができる。特に文字や図形などが多く含まれるパソコン画像などに適した解像度変換ができる。又、従来の解像度変換に比べて演算回路が非常に少ない構成で、上記の機能を実現できる。
【図面の簡単な説明】
【図1】本発明の実施の形態1における画像処理装置の全体構成を示すブロック図である。
【図2】本発明の実施の形態における画像処理装置の波形監視回路のブロック図である。
【図3】本実施の形態の画像処理装置に用いられる波形監視回路の動作説明図である。
【図4】本実施の形態の画像処理装置に用いられる補間選択回路の動作テーブルである。
【図5】本発明の実施の形態1における画像処理装置を用いて解像度変換したときの信号波形図である。
【図6】本発明の実施の形態2における画像処理装置の全体構成を示すブロック図である。
【図7】本発明の実施の形態3における画像処理装置の全体構成を示すブロック図である。
【図8】本発明の実施の形態4における画像処理装置の全体構成を示すブロック図である。
【図9】従来の形態における画像処理装置の全体構成を示すブロック図である。
【図10】従来の画像処理装置を用いて解像度変換したときの信号波形図である。
【符号の説明】
10,11,12,10v,11v,12v,20,21,22,20v,21v,22v,31,32,33 遅延回路
13,13v,23,23v 波形監視回路
14,14c,24,24v,37v 間引きパルス発生回路
15,15v,25,25v 平均値化回路
16 補間選択回路
17,17v,27,27v,36 画像再編成回路
34 係数決定回路
35 演算回路
101 ディジタル原画像
104 縮小画像
105 拡大画像[0001]
BACKGROUND OF THE INVENTION
The present invention is an image characterized by resolution conversion means for reducing or enlarging the horizontal and vertical pixel numbers of an input image to other horizontal and vertical pixel numbers, especially for personal computer images that contain a lot of characters and graphics. The present invention relates to a processing apparatus.
[0002]
[Prior art]
In recent years, digital image / video devices such as digital still cameras and DVDs have been rapidly spread mainly in multimedia related devices. In addition, dot matrix type display devices such as liquid crystal displays and plasma displays are also widespread in display devices. Therefore, when the number of pixels of the image data and the number of pixels of the display device are different, processing for matching the number of pixels of the image data with the number of pixels of the display device, that is, resolution conversion processing of the image data is necessary.
[0003]
In a conventional display device that displays a video signal on a display device having a unique number of pixels, linear interpolation processing and an average value reduction method are generally used when video is displayed by performing reduced resolution conversion. However, the video after resolution conversion will be blurred. Therefore, it has been considered to correct the pixel data based on information from pixels before and after the thinned-out pixel as in the case of an image processing apparatus of PCT / JP99 / 01511. Hereinafter, as conventional image processing, an operation of an image processing apparatus of PCT / JP99 / 01511 will be described with reference to FIGS.
[0004]
FIG. 9 is a basic configuration diagram of an image reduction circuit 30 in the image processing apparatus of PCT / JP99 / 01511. The image reduction circuit 30 in the PCT / JP99 / 01511 image processing apparatus includes a
[0005]
The digital
[0006]
A coefficient determination circuit 34 including a register, a selector, a comparator, and the like determines a coefficient corresponding to the density difference of the correlation from the signal levels of two consecutive pixels of the first stage delay signal 31a and the second
[0007]
The correction coefficient α in the coefficient generation circuit 34 is determined on the basis of the contrast difference between two adjacent pixels. When the difference in density is almost equal, the output correction coefficient α is set to 0. When the difference in density of the correlation between two adjacent pixels is not equal, the detection of the difference in density is divided into several stages and interpolated according to the difference. The coefficient α is determined, and output from the coefficient determination circuit 34 as an interpolation coefficient α signal 34a. In addition, the detection of the density difference of the correlation has a certain range.
[0008]
In the arithmetic circuit 35, the three-
[0009]
Note that the thinning pulse 37a by the thinning
[0010]
The reduction resolution conversion of the PCT / JP99 / 01511 image processing apparatus will be specifically described with reference to FIG. The upper part of FIG. 10 shows a waveform example of the input digital
[0011]
When such partial images are reduced to 3/4 by the above-described conventional resolution conversion PCT / JP99 / 01511 image processing apparatus, a reduced
[0012]
When the portion 101a of the digital
[0013]
When the portion 101f of the digital
[0014]
However, when the portion 101b of the digital
[0015]
When the 101d portion of the digital
[0016]
When the signals 101a, 101b, 101c, 101d, 101e, and 101f are converted into the reduced
[0017]
[Problems to be solved by the invention]
As described above, when the resolution conversion is performed using the reduced resolution conversion of the image processing apparatus of PCT / JP99 / 01511 shown in FIG. 10, the brightness value of stripes and dots changes in the text screen or graphic image of the PC. This may cause halftone gradation at the edge. As described above, there is a problem that a portion that becomes a display image that is difficult to see at a reduced resolution occurs. Further, when the image is enlarged by using the same method as this, there is a similar drawback.
[0018]
The present invention has been made in view of such conventional problems, and when converting the resolution of a digital image, the sharpness of the image and the occurrence of uneven brightness are prevented, and the image is sharper than the original image. An object of the present invention is to realize an image processing apparatus capable of obtaining a clear image.
[0019]
[Means for Solving the Problems]
The invention of
[0020]
According to a second aspect of the present invention, there is provided an image processing apparatus for converting the resolution of a digital original image into a digital image having a different number of pixels in accordance with a designated conversion magnification, wherein the enlargement conversion designated for the digital original image is performed. A pixel insertion pulse generating means for generating and outputting a pixel insertion pulse in accordance with the magnification; and a pixel signal level of the digital original image is monitored over a predetermined pixel number range, and the pixel signal level in the predetermined pixel number range is adjacent to the pixel signal level. Waveform monitoring means for comparing and detecting matching pixels and outputting waveform information for determining an interpolation pixel generation method for pixel insertion by a pixel insertion pulse, and pixel insertion based on the waveform information obtained by the waveform monitoring means Interpolation pixel selection means for selecting any one of the two pixels and an average value of the two pixels as an interpolation pixel to be inserted between two consecutive pixels at the time of pulse input. That which is characterized, it is possible to prevent the occurrence of deterioration and luminance unevenness image sharpness when the enlargement resolution conversion of the digital original image.
[0021]
According to a third aspect of the present invention, in the image processing apparatus according to the first aspect, the reduction conversion magnification specifies a horizontal reduction conversion magnification and a vertical reduction conversion magnification, and the thinning pulse generation means includes: Horizontal decimation pulse generating means for generating a horizontal decimation pulse for the horizontal direction based on a designated horizontal reduction conversion magnification, and the vertical direction based on a designated vertical demagnification conversion magnification Vertical direction decimation pulse generating means for generating a vertical direction decimation pulse, and the waveform monitoring means monitors the level of the pixel signal of the digital original image over a plurality of horizontal pixel ranges. Horizontal pixel interpolation method for horizontal pixel decimation using horizontal decimation pulses by comparing and detecting pixel signal levels of multiple pixel ranges between adjacent pixels Horizontal waveform monitoring means for outputting horizontal waveform information for determination, and monitoring the level of the pixel signal of the digital original image over a plurality of vertical pixel ranges, and the pixel signal level of the plurality of vertical pixel ranges Vertical direction waveform monitoring means for comparing and detecting adjacent pixels and outputting vertical direction waveform information for determining a vertical direction interpolation pixel generation method of vertical direction pixel thinning by a vertical direction thinning pulse, and Interpolation pixel selection means, as the horizontal direction interpolation pixels that replace two consecutive pixels in the horizontal direction when a horizontal direction thinning pulse is input based on the horizontal direction waveform information obtained by the horizontal direction waveform monitoring means, Based on the vertical direction waveform information obtained by the horizontal direction interpolation pixel selection means for selecting any one of the three average values of the pixels and the vertical direction waveform monitoring means. Vertical interpolation pixel selection means for selecting one of the two pixels and an average value of the two pixels as a vertical interpolation pixel that replaces two consecutive pixels in the vertical direction when a vertical thinning pulse is input. This makes it possible to prevent deterioration of sharpness of the image and occurrence of luminance unevenness when the digital original image is subjected to reduction resolution conversion separately in the horizontal and vertical directions.
[0022]
According to a fourth aspect of the present invention, in the image processing apparatus of the second aspect, the enlargement conversion magnification specifies a horizontal enlargement conversion magnification and a vertical enlargement conversion magnification, and the pixel insertion pulse generating means includes: Horizontal pixel insertion pulse generating means for generating a horizontal pixel insertion pulse for the horizontal direction based on a designated horizontal enlargement conversion magnification, and the vertical direction based on a designated vertical enlargement conversion magnification Vertical direction pixel insertion pulse generating means for generating a vertical direction pixel insertion pulse attached to the waveform, and the waveform monitoring means sets the level of the pixel signal of the digital original image over a plurality of horizontal pixel ranges. Monitor and detect the pixel signal level of multiple pixel ranges in the horizontal direction between adjacent pixels and perform horizontal pixel interpolation by horizontal pixel insertion pulse by horizontal pixel insertion pulse Horizontal waveform monitoring means for outputting horizontal waveform information for determining a generation method; and monitoring the level of pixel signals of the digital original image over a plurality of vertical pixel ranges; Vertical direction waveform monitoring means for comparing and detecting a pixel signal level between adjacent pixels and outputting vertical direction waveform information for determining a vertical direction interpolation pixel generation method of vertical direction pixel insertion by a vertical direction pixel insertion pulse; And the interpolation pixel selection means is a horizontal interpolation pixel that is inserted between two consecutive pixels in the horizontal direction when a horizontal pixel insertion pulse is input based on the horizontal waveform information obtained by the horizontal waveform monitoring means. And a vertical direction obtained by the horizontal direction interpolation pixel selection means for selecting one of the two pixels and the average value of the two pixels, and the vertical waveform monitoring means. A vertical direction in which one of the two pixels and an average value of the two pixels is selected as a vertical direction interpolation pixel to be inserted between two consecutive pixels in the vertical direction when a vertical direction pixel insertion pulse is input based on shape information Interpolation pixel selection means, which prevents deterioration of sharpness of the image and occurrence of uneven brightness when converting an original digital image to enlargement and resolution separately in the horizontal and vertical directions Can do.
[0023]
The invention of
[0024]
The invention of
[0025]
According to a seventh aspect of the present invention, in the image processing apparatus according to the first aspect, the waveform monitoring means outputs first and second outputs of the pixel signal of the digital original image delayed by one pixel, two pixels, and three pixels, respectively. The second and third delay circuits, the first comparator that compares the image signal of the digital original image and the output of the first delay circuit, and the outputs of the second and third delay circuits are compared. A second comparator, wherein the interpolation pixel selection means is configured to output the first and second comparators when the outputs of the first and second comparators are substantially equal to each other. When the first delay circuit output is selected by the first comparator and the first delay circuit output is large by the first comparator, if the third delay circuit output is small by the second comparator, the first and second The larger one of the delay circuit outputs is selected output, and the third delay circuit output If it is larger, the average value of the first and second delay circuit outputs is used as a selected output. If the output of the original digital signal is larger than that of the first comparator, a third delay circuit is produced by the second comparator. If the output is small, the average value is selected and output. If the third delay circuit output is large, the smaller one of the first and second delay circuit outputs is selected. Instead of output, an interpolation pixel is used.
[0026]
According to an eighth aspect of the present invention, in the image processing apparatus according to the second aspect, the waveform monitoring means includes a first output for outputting a pixel signal of the digital original image delayed by one pixel, two pixels, and three pixels, respectively. The second and third delay circuits, the first comparator that compares the image signal of the digital original image and the output of the first delay circuit, and the outputs of the second and third delay circuits are compared. A second comparator, wherein the interpolation pixel selection means is configured to output the first and second comparators when the outputs of the first and second comparators are substantially equal to each other. When the first delay circuit output is selected by the first comparator and the first delay circuit output is large by the first comparator, if the third delay circuit output is small by the second comparator, the first and second The larger one of the delay circuit outputs is selected output, and the third delay circuit output If it is larger, the average value of the first and second delay circuit outputs is used as a selected output. If the output of the original digital signal is larger than that of the first comparator, a third delay circuit is produced by the second comparator. If the output is small, the average value is selected and output. If the third delay circuit output is large, the smaller one of the first and second delay circuit outputs is selected. It is characterized in that it is inserted between outputs to make an interpolation pixel.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
An image processing apparatus according to
[0028]
The
[0029]
The thinning
[0030]
The
[0031]
An example of the
[0032]
The operation of the image processing apparatus configured as described above will be described. The signal of the digital
[0033]
FIG. 3 is a time chart for explaining an example of the operation of the
[0034]
Here, by setting the magnitude comparison reference determination level α to an optimum value, the result of the magnitude determination is not validated unless there is a difference of a certain level or more. This is because, if the size determination is performed using a slight signal level difference without setting the size determination reference level α, a mere noise signal is also subject to the size determination, and there is a high possibility of erroneous determination. Because it becomes. In any case, it is desirable to set an optimum size comparison reference determination level α in order to improve the image quality.
[0035]
In FIG. 1, the
[0036]
Next, the
[0037]
The above resolution conversion process will be described with reference to FIG. FIG. 5 is a waveform example of a digital image signal. In the range shown in the figure, there is a pattern in which stripes with different thicknesses and brightness at different levels exist in the low level, a pattern in which the pixel value changes from a continuous high level to a continuous low level, and a pixel value from low to high There are patterns that change to levels. Each pattern is an image including a high-contrast portion where the luminance value greatly changes. When the digital original image signal 101 (101a, 101b, 101c, 101d, 101e, 101f) shown in the upper part of FIG. 5 is converted to 3/4 by the resolution conversion process according to the first embodiment, the lower part of FIG. It shows that the image reduction signal 104 (104a, 104b, 104c, 104d, 104e, 104f) is obtained. The digital
[0038]
It will be described with reference to FIG. 5 that the original digital image signal 101a becomes the reduced image signal 104a. In the digital original image signal 101a, point a is a three-
[0039]
Next, it will be described that the digital original image signal 101b becomes the reduced image signal 104b. In the digital original image signal 101a, point a is a three-
[0040]
By converting the original
[0041]
Then, by reducing the resolution of the original
[0042]
Further, by converting the original
[0043]
In the above description, the processing in the horizontal direction in the image has been basically described. However, the same processing can be performed in the reduction in the vertical direction.
[0044]
Next, a second embodiment will be described. In the first embodiment described above, the image processing apparatus that reduces the digital
[0045]
The
[0046]
The insertion
[0047]
The
[0048]
Next, an image processing apparatus according to
[0049]
The decimation
[0050]
Also, the
[0051]
Next, a fourth embodiment of the present invention will be described. In this embodiment, the image processing apparatus performs two-dimensional image enlargement in the horizontal and vertical directions. FIG. 8 is a block diagram showing the configuration of the image processing apparatus. In addition to the horizontal enlargement processing apparatus shown in FIG. 6, this image processing apparatus has a configuration of an image processing apparatus that performs an enlargement conversion of an image in the vertical direction with an image enlarged in the horizontal direction as an input. That is, the horizontal processing block EH in FIG. 8 is the same as the block shown in FIG. 6, and the delay circuits (D) 10 to 12 delay the pixel signal for one pixel. The output 105h of the
[0052]
The insertion
[0053]
Further, the
[0054]
In the third and fourth embodiments, the two-dimensional reduction and enlargement image processing apparatus has been described. However, the horizontal reduction circuit DH and the vertical enlargement circuit DV are combined, or the horizontal enlargement circuit EH. And the vertical reduction circuit EV can be combined to convert the magnification of the image.
[0055]
【The invention's effect】
As described in detail above, according to the image processing apparatus of
[Brief description of the drawings]
FIG. 1 is a block diagram showing the overall configuration of an image processing apparatus according to
FIG. 2 is a block diagram of a waveform monitoring circuit of the image processing apparatus according to the embodiment of the present invention.
FIG. 3 is an operation explanatory diagram of a waveform monitoring circuit used in the image processing apparatus according to the present embodiment.
FIG. 4 is an operation table of an interpolation selection circuit used in the image processing apparatus according to the present embodiment.
FIG. 5 is a signal waveform diagram when resolution conversion is performed using the image processing apparatus according to
FIG. 6 is a block diagram showing an overall configuration of an image processing apparatus according to
FIG. 7 is a block diagram showing an overall configuration of an image processing apparatus according to
FIG. 8 is a block diagram showing an overall configuration of an image processing apparatus according to
FIG. 9 is a block diagram illustrating an overall configuration of an image processing apparatus according to a conventional embodiment.
FIG. 10 is a signal waveform diagram when resolution conversion is performed using a conventional image processing apparatus.
[Explanation of symbols]
10, 11, 12, 10v, 11v, 12v, 20, 21, 22, 20v, 21v, 22v, 31, 32, 33 delay circuit
13, 13v, 23, 23v waveform monitoring circuit
14, 14c, 24, 24v, 37v thinning pulse generation circuit
15, 15v, 25, 25v averaging circuit
16 Interpolation selection circuit
17, 17v, 27, 27v, 36 Image reorganization circuit
34 Coefficient determination circuit
35 Arithmetic circuit
101 Digital original image
104 Reduced image
105 Enlarged image
Claims (8)
前記ディジタル原画像に対して指定された縮小変換倍率に応じて間引きパルスを発生し出力する間引きパルス発生手段と、
前記ディジタル原画像の画素信号のレベルを所定の画素数範囲に渡って監視し、所定画素数範囲の画素信号レベルを隣り合う画素間で比較検出して間引きパルスによる画素間引きの補間画素生成方式を決定するための波形情報を出力する波形監視手段と、
前記波形監視手段で得られた波形情報を元に、間引きパルス入力時に連続する2画素を置き換える補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する補間画素選択手段と、を具備することを特徴とする画像処理装置。An image processing apparatus for converting the resolution of a digital original image into a digital image having a different number of pixels according to a designated conversion magnification,
Thinning pulse generating means for generating and outputting a thinning pulse in accordance with a reduction conversion magnification designated for the digital original image;
A pixel signal level of the digital original image is monitored over a predetermined pixel number range, and a pixel signal level in the predetermined pixel number range is compared and detected between adjacent pixels, and an interpolated pixel generation method for pixel thinning by a thinning pulse is provided. Waveform monitoring means for outputting waveform information for determination;
Interpolation pixel selection that selects either one of the two pixels or the average value of the two pixels as an interpolation pixel that replaces two consecutive pixels when a thinning pulse is input based on the waveform information obtained by the waveform monitoring means And an image processing apparatus.
前記ディジタル原画像に対して指定された拡大変換倍率に応じて画素挿入パルスを発生し出力する画素挿入パルス発生手段と、
前記ディジタル原画像の画素信号のレベルを所定の画素数範囲に渡って監視し、所定画素数範囲の画素信号レベルを隣り合う画素間で比較検出して画素挿入パルスによる画素挿入の補間画素生成方式を決定するための波形情報を出力する波形監視手段と、
前記波形監視手段で得られた波形情報を元に、画素挿入パルス入力時に連続する2画素間に挿入する補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する補間画素選択手段と、を具備することを特徴とする画像処理装置。An image processing apparatus for converting the resolution of a digital original image into a digital image having a different number of pixels according to a designated conversion magnification,
Pixel insertion pulse generating means for generating and outputting a pixel insertion pulse in accordance with a magnification conversion magnification designated for the digital original image;
An interpolated pixel generation method for pixel insertion by a pixel insertion pulse by monitoring the pixel signal level of the digital original image over a predetermined pixel number range and comparing and detecting the pixel signal level of the predetermined pixel number range between adjacent pixels Waveform monitoring means for outputting waveform information for determining
Based on the waveform information obtained by the waveform monitoring means, one of the two pixels and the average value of the two pixels is selected as an interpolation pixel to be inserted between two consecutive pixels when a pixel insertion pulse is input. An image processing apparatus comprising: an interpolation pixel selection unit.
水平方向の縮小変換倍率と垂直方向の縮小変換倍率を指定するものとし、
前記間引きパルス発生手段は、
指定された水平方向の縮小変換倍率に基づいて前記水平方向についての水平方向間引きパルスを発生する水平方向間引きパルス発生手段と、
指定された垂直方向の縮小変換倍率に基づいて前記垂直方向に付いての垂直方向間引きパルスを発生する垂直方向間引きパルス発生手段と、を有し、
前記波形監視手段は、
前記ディジタル原画像の画素信号のレベルを水平方向の複数画素範囲に渡って監視し、水平方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して水平方向間引きパルスによる水平方向画素間引きの水平方向補間画素生成方式を決定するための水平方向波形情報を出力する水平方向波形監視手段と、
前記ディジタル原画像の画素信号のレベルを垂直方向の複数画素範囲に渡って監視し、垂直方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して垂直方向間引きパルスによる垂直方向画素間引きの垂直方向補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段と、を有し、
前記補間画素選択手段は、
前記水平方向波形監視手段で得られた水平方向波形情報を元に水平方向間引きパルス入力時に水平方向で連続する2画素を置き換える水平方向補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する水平方向補間画素選択手段と、
前記垂直方向波形監視手段で得られた垂直方向波形情報を元に垂直方向間引きパルス入力時に垂直方向で連続する2画素を置き換える垂直方向補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する垂直方向補間画素選択手段と、を有することを特徴とする請求項1記載の画像処理装置。The reduction conversion magnification is
Specify the horizontal reduction conversion ratio and the vertical reduction conversion ratio.
The thinning pulse generating means includes
Horizontal decimation pulse generating means for generating a horizontal decimation pulse for the horizontal direction based on a specified horizontal reduction conversion magnification;
Vertical direction decimation pulse generating means for generating a vertical decimation pulse for the vertical direction based on a specified vertical reduction conversion magnification, and
The waveform monitoring means includes
The pixel signal level of the digital original image is monitored over a plurality of pixel ranges in the horizontal direction, and the pixel signal levels in the plurality of pixel ranges in the horizontal direction are compared and detected between adjacent pixels, and the pixels in the horizontal direction by a horizontal decimation pulse Horizontal waveform monitoring means for outputting horizontal waveform information for determining a horizontal interpolation pixel generation method for thinning; and
The pixel signal level of the digital original image is monitored over a plurality of vertical pixel ranges, and the pixel signal level of the plurality of vertical pixel ranges is compared and detected between adjacent pixels, and a vertical pixel is generated by a vertical thinning pulse. Vertical direction waveform monitoring means for outputting vertical direction waveform information for determining a thinned vertical direction interpolation pixel generation method, and
The interpolation pixel selection means includes
Based on the horizontal waveform information obtained by the horizontal waveform monitoring means, a horizontal direction interpolation pixel that replaces two consecutive pixels in the horizontal direction when a horizontal direction thinning pulse is input is 3 of the average value of the two pixels and the two pixels. Horizontal direction interpolation pixel selection means for selecting one of the two,
Based on the vertical direction waveform information obtained by the vertical direction waveform monitoring means, as a vertical direction interpolation pixel that replaces two consecutive pixels in the vertical direction when a vertical direction thinning pulse is input, the average value of 3 of the two pixels and the two pixels is 3 The image processing apparatus according to claim 1, further comprising: a vertical direction interpolation pixel selection unit that selects one of the two.
水平方向の拡大変換倍率と垂直方向の拡大変換倍率を指定するものとし、
前記画素挿入パルス発生手段は、
指定された水平方向の拡大変換倍率に基づいて前記水平方向についての水平方向画素挿入パルスを発生する水平方向画素挿入パルス発生手段と、
指定された垂直方向の拡大変換倍率に基づいて前記垂直方向に付いての垂直方向画素挿入パルスを発生する垂直方向画素挿入パルス発生手段と、を有し、
前記波形監視手段は、
前記ディジタル原画像の画素信号のレベルを水平方向の複数画素範囲に渡って監視し、水平方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して水平方向画素挿入パルスによる水平方向画素挿入の水平方向補間画素生成方式を決定のための水平方向波形情報を出力する水平方向波形監視手段と、
前記ディジタル原画像の画素信号のレベルを垂直方向の複数画素範囲に渡って監視し、垂直方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して垂直方向画素挿入パルスによる垂直方向画素挿入の垂直方向補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段と、を有し、
前記補間画素選択手段は、
前記水平方向波形監視手段で得られた水平方向波形情報を元に水平方向画素挿入パルス入力時に水平方向で連続する2画素間に挿入する水平方向補間画素としして、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する水平方向補間画素選択手段と、
前記垂直方向波形監視手段で得られた垂直方向波形情報を元に垂直方向画素挿入パルス入力時に垂直方向で連続する2画素間に挿入する垂直方向補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する垂直方向補間画素選択手段と、を有することを特徴とする請求項2記載の画像処理装置。The magnification conversion magnification is
Suppose that you specify the horizontal scaling factor and the vertical scaling factor,
The pixel insertion pulse generating means includes
Horizontal pixel insertion pulse generating means for generating a horizontal pixel insertion pulse for the horizontal direction based on a specified horizontal magnification conversion factor;
Vertical pixel insertion pulse generating means for generating a vertical pixel insertion pulse for the vertical direction based on a specified vertical magnification conversion factor,
The waveform monitoring means includes
The pixel signal level of the digital original image is monitored over a plurality of horizontal pixel ranges, and the pixel signal level of the plurality of horizontal pixel ranges is compared and detected between adjacent pixels. Horizontal waveform monitoring means for outputting horizontal waveform information for determining a horizontal interpolation pixel generation method of pixel insertion; and
The pixel signal level of the digital original image is monitored over a plurality of vertical pixel ranges, and the pixel signal level in the vertical pixel range is compared and detected between adjacent pixels, and the vertical direction by the vertical pixel insertion pulse is detected. Vertical waveform monitoring means for outputting vertical waveform information for determining a vertical interpolation pixel generation method of pixel insertion, and
The interpolation pixel selection means includes
Based on the horizontal waveform information obtained by the horizontal waveform monitoring means, horizontal interpolation pixels to be inserted between two consecutive pixels in the horizontal direction when a horizontal pixel insertion pulse is input, the two pixels and the two pixels Horizontal direction interpolation pixel selection means for selecting any one of the three average values;
Based on the vertical direction waveform information obtained by the vertical direction waveform monitoring means, an average of the two pixels and the two pixels is used as a vertical direction interpolation pixel to be inserted between two consecutive pixels in the vertical direction when a vertical direction pixel insertion pulse is input. The image processing apparatus according to claim 2, further comprising: a vertical direction interpolation pixel selection unit that selects any one of three values.
指定された水平方向の縮小変換倍率に基づいて前記水平方向についての水平方向画素間引きパルスを発生する水平方向画素間引きパルス発生手段と、
指定された垂直方向の拡大変換倍率に基づいて前記垂直方向についての垂直方向画素挿入パルスを発生する垂直方向画素挿入パルス発生手段と、
前記ディジタル原画像の画素信号のレベルを水平方向の複数画素範囲に渡って監視し、水平方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して水平方向画素間引きパルスによる水平方向画素間引きの水平方向補間画素生成方式を決定するための水平方向波形情報を出力する水平方向波形監視手段と、
前記ディジタル原画像の画素信号のレベルを垂直方向の複数画素範囲に渡って監視し、垂直方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して垂直方向画素挿入パルスによる垂直方向画素挿入の垂直方向補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段と、
前記水平方向波形監視手段で得られた水平方向波形情報を元に水平方向画素間引きパルス入力時に水平方向で連続する2画素を置き換える水平方向補間画素として、前記2画素と前記2画素の平均値の3つのうちいずれかを選択する水平方向補間画素選択手段と、
前記垂直方向波形監視手段で得られた垂直方向波形情報を元に垂直方向画素挿入パルス入力時に垂直方向で連続する2画素間に挿入する垂直方向補間画素として、前記2画素と前記2画素の平均値の3つのうちのいずれかを選択する垂直方向補間画素選択手段と、を有することを特徴とする画像処理装置。An image processing apparatus for converting the resolution of a digital original image into a digital image having a different number of pixels according to a designated conversion magnification,
Horizontal pixel decimation pulse generating means for generating a horizontal pixel decimation pulse for the horizontal direction based on a specified horizontal reduction conversion magnification;
Vertical pixel insertion pulse generating means for generating a vertical pixel insertion pulse for the vertical direction based on a specified vertical magnification conversion factor;
The level of the pixel signal of the digital original image is monitored over a plurality of horizontal pixel ranges, and the pixel signal level of the plurality of horizontal pixel ranges is compared and detected between adjacent pixels, and the horizontal direction by horizontal pixel thinning pulses Horizontal waveform monitoring means for outputting horizontal waveform information for determining a horizontal interpolation pixel generation method of pixel thinning;
The pixel signal level of the digital original image is monitored over a plurality of vertical pixel ranges, and the pixel signal level in the vertical pixel range is compared and detected between adjacent pixels, and the vertical direction by the vertical pixel insertion pulse is detected. Vertical waveform monitoring means for outputting vertical waveform information for determining a vertical interpolation pixel generation method of pixel insertion;
Based on the horizontal waveform information obtained by the horizontal waveform monitoring means, horizontal interpolation pixels that replace two consecutive pixels in the horizontal direction when a horizontal pixel thinning pulse is input are used as an average value of the two pixels and the two pixels. Horizontal direction interpolation pixel selection means for selecting one of the three,
Based on the vertical direction waveform information obtained by the vertical direction waveform monitoring means, an average of the two pixels and the two pixels is used as a vertical direction interpolation pixel to be inserted between two consecutive pixels in the vertical direction when a vertical direction pixel insertion pulse is input. An image processing apparatus comprising: a vertical direction interpolation pixel selection unit that selects any one of three values.
指定された水平方向の拡大変換倍率に基づいて前記水平方向についての水平方向画素挿入パルスを発生する水平方向画素挿入パルス発生手段と、
指定された垂直方向の縮小変換倍率に基づいて前記垂直方向に付いての垂直方向画素間引きパルスを発生する垂直方向画素間引きパルス発生手段と、
前記ディジタル原画像の画素信号のレベルを水平方向の複数画素範囲に渡って監視し、水平方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して水平方向画素挿入パルスによる水平方向画素挿入の水平方向補間画素生成方式を決定するための水平方向波形情報を出力する水平方向波形監視手段と、
前記ディジタル原画像の画素信号のレベルを垂直方向の複数画素範囲に渡って監視し、垂直方向の複数画素範囲の画素信号レベルを隣り合う画素間で比較検出して垂直方向画素間引きパルスによる垂直方向画素間引きの垂直方向補間画素生成方式を決定するための垂直方向波形情報を出力する垂直方向波形監視手段と、
前記水平方向波形監視手段で得られた水平方向波形情報を元に水平方向画素挿入パルス入力時に水平方向で連続する2画素間に挿入する水平方向補間画素として、前記2画素と前記2画素の平均値の3つのうちのいずれかを選択する水平方向補間画素選択手段と、
前記垂直方向波形監視手段で得られた垂直方向波形情報を元に垂直方向画素間引きパルス入力時に垂直方向で連続する2画素を置き換える垂直方向補間画素として、前記2画素と前記2画素の平均値の3つのうちのいずれかを選択する垂直方向補間画素選択手段と、を有することを特徴とする画像処理装置。An image processing apparatus for converting the resolution of a digital original image into a digital image having a different number of pixels according to a designated conversion magnification,
Horizontal pixel insertion pulse generating means for generating a horizontal pixel insertion pulse for the horizontal direction based on a specified horizontal magnification conversion factor;
Vertical pixel decimation pulse generating means for generating a vertical pixel decimation pulse for the vertical direction based on a specified vertical reduction conversion magnification;
The pixel signal level of the digital original image is monitored over a plurality of horizontal pixel ranges, and the pixel signal level of the plurality of horizontal pixel ranges is compared and detected between adjacent pixels. Horizontal waveform monitoring means for outputting horizontal waveform information for determining a horizontal interpolation pixel generation method of pixel insertion;
The pixel signal level of the digital original image is monitored over a plurality of vertical pixel ranges, and the pixel signal level in the vertical pixel range is compared and detected between adjacent pixels, and the vertical direction by the vertical pixel thinning pulse is detected. Vertical waveform monitoring means for outputting vertical waveform information for determining a vertical interpolation pixel generation method of pixel thinning;
Based on the horizontal direction waveform information obtained by the horizontal direction waveform monitoring means, an average of the two pixels and the two pixels is used as a horizontal direction interpolation pixel to be inserted between two consecutive pixels in the horizontal direction when a horizontal direction pixel insertion pulse is input. Horizontal direction interpolation pixel selection means for selecting one of three values;
Based on the vertical waveform information obtained by the vertical waveform monitoring means, a vertical interpolation pixel that replaces two consecutive pixels in the vertical direction when a vertical pixel thinning pulse is input is used as an average value of the two pixels and the two pixels. An image processing apparatus comprising: a vertical direction interpolation pixel selection unit that selects any one of the three.
前記ディジタル原画像の画素信号を夫々1画素,2画素,3画素分遅延した出力を出す第1,第2,第3の遅延回路と、
前記ディジタル原画像の画像信号と前記第1の遅延回路の出力とを比較する第1の比較器と、
前記第2,第3の遅延回路の出力を比較する第2の比較器と、を具備するものであり、
前記補間画素選択手段は、
前記第1,第2の比較器の出力が実質的に等しい場合には、夫々前記第1又は第2の遅延回路出力を選択し、
前記第1の比較器により前記第1の遅延回路出力が大きい場合には、前記第2の比較器により前記第3の遅延回路出力が小さければ前記第1,第2の遅延回路出力のより大きい方を選択出力とし、前記第3の遅延回路出力が大きければ前記第1,第2の遅延回路出力の平均値を選択出力とし、
前記第1の比較器より前記原ディジタル信号の出力が大きい場合には、第2の比較器より第3の遅延回路出力が小さければその平均値を選択出力し、前記第3の遅延回路出力が大きければ前記第1,第2の遅延回路出力のうち小さい方を選択し、前記第1,第2の遅延回路の出力に代えて補間画素とするものであることを特徴とする請求項1記載の画像処理装置。The waveform monitoring means includes
First, second and third delay circuits for outputting outputs obtained by delaying pixel signals of the digital original image by 1 pixel, 2 pixels and 3 pixels, respectively;
A first comparator for comparing the image signal of the digital original image and the output of the first delay circuit;
A second comparator for comparing the outputs of the second and third delay circuits,
The interpolation pixel selection means includes
When the outputs of the first and second comparators are substantially equal, the first or second delay circuit output is selected respectively.
When the output of the first delay circuit is large by the first comparator, if the output of the third delay circuit is small by the second comparator, the output of the first and second delay circuits is larger. If the third delay circuit output is large, the average value of the first and second delay circuit outputs is the selection output.
When the output of the original digital signal is larger than that of the first comparator, if the output of the third delay circuit is smaller than that of the second comparator, the average value is selected and output, and the output of the third delay circuit is 2. If larger, the smaller one of the first and second delay circuit outputs is selected, and an interpolation pixel is used instead of the first and second delay circuit outputs. Image processing apparatus.
前記ディジタル原画像の画素信号を夫々1画素,2画素,3画素分遅延した出力を出す第1,第2,第3の遅延回路と、
前記ディジタル原画像の画像信号と前記第1の遅延回路の出力とを比較する第1の比較器と、
前記第2,第3の遅延回路の出力を比較する第2の比較器と、を具備するものであり、
前記補間画素選択手段は、
前記第1,第2の比較器の出力が実質的に等しい場合には、夫々前記第1又は第2の遅延回路出力を選択し、
前記第1の比較器により前記第1の遅延回路出力が大きい場合には、前記第2の比較器により前記第3の遅延回路出力が小さければ前記第1,第2の遅延回路出力のより大きい方を選択出力とし、前記第3の遅延回路出力が大きければ前記第1,第2の遅延回路出力の平均値を選択出力とし、
前記第1の比較器より前記原ディジタル信号の出力が大きい場合には、第2の比較器より第3の遅延回路出力が小さければその平均値を選択出力し、前記第3の遅延回路出力が大きければ前記第1,第2の遅延回路出力のうち小さい方を選択し、前記第1,第2の遅延回路の出力の間に挿入して補間画素とするものであることを特徴とする請求項2記載の画像処理装置。The waveform monitoring means includes
First, second and third delay circuits for outputting outputs obtained by delaying pixel signals of the digital original image by 1 pixel, 2 pixels and 3 pixels, respectively;
A first comparator for comparing the image signal of the digital original image and the output of the first delay circuit;
A second comparator for comparing the outputs of the second and third delay circuits,
The interpolation pixel selection means includes
When the outputs of the first and second comparators are substantially equal, the first or second delay circuit output is selected respectively.
When the output of the first delay circuit is large by the first comparator, if the output of the third delay circuit is small by the second comparator, the output of the first and second delay circuits is larger. If the third delay circuit output is large, the average value of the first and second delay circuit outputs is the selection output.
When the output of the original digital signal is larger than that of the first comparator, if the output of the third delay circuit is smaller than that of the second comparator, the average value is selected and output, and the output of the third delay circuit is If larger, the smaller one of the outputs of the first and second delay circuits is selected and inserted between the outputs of the first and second delay circuits to form an interpolation pixel. Item 3. The image processing apparatus according to Item 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000320199A JP4312944B2 (en) | 2000-10-20 | 2000-10-20 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000320199A JP4312944B2 (en) | 2000-10-20 | 2000-10-20 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002135569A JP2002135569A (en) | 2002-05-10 |
JP4312944B2 true JP4312944B2 (en) | 2009-08-12 |
Family
ID=18798517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000320199A Expired - Fee Related JP4312944B2 (en) | 2000-10-20 | 2000-10-20 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4312944B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006154759A (en) * | 2004-10-29 | 2006-06-15 | Fujitsu Ten Ltd | Image interpolation device and display device |
JP2006154756A (en) * | 2004-11-02 | 2006-06-15 | Fujitsu Ten Ltd | Video signal processing method, video signal processing device and display device |
JP5874721B2 (en) | 2013-12-25 | 2016-03-02 | コニカミノルタ株式会社 | Image processing apparatus, image correction method, and program |
-
2000
- 2000-10-20 JP JP2000320199A patent/JP4312944B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2002135569A (en) | 2002-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6421090B1 (en) | Motion and edge adaptive deinterlacing | |
US8189941B2 (en) | Image processing device, display device, image processing method, and program | |
US6788353B2 (en) | System and method for scaling images | |
CN102006397B (en) | Video field synchronizing signal generating circuit | |
JP2006203884A (en) | Method for edge-based pixel location, and interpolation | |
KR0184314B1 (en) | Generation device for character and picture data | |
US8270750B2 (en) | Image processor, display device, image processing method, and program | |
US20030099410A1 (en) | Image processing method and image processing apparatus | |
JP3492083B2 (en) | Image display device | |
KR100239357B1 (en) | Character processing method and apparatus of image display device | |
JP2007324763A (en) | Television receiver and television reception method | |
JP4312944B2 (en) | Image processing device | |
JPH08305330A (en) | Error diffusion method, error diffusion device and halftone processing method | |
JP2006308665A (en) | Image processing apparatus | |
JP4258976B2 (en) | Image processing apparatus and processing method | |
JP2008139828A (en) | Image processing apparatus, image processing method, electro-optical device and electronic device | |
JP4024643B2 (en) | Image signal processing device | |
JP2004236012A (en) | Image processing method and device thereof | |
JP2007060512A (en) | Scanning line interpolating circuit, scanning line interpolating method used therein, and image displaying apparatus | |
JP4272504B2 (en) | Scan line interpolation method | |
JP2000115720A (en) | Scanning line interpolation device and scanning line interpolation method | |
JP2005253030A (en) | Method and device for generating segmented and composited image | |
JP4460359B2 (en) | Video signal processing apparatus and video signal processing method | |
JPH07200810A (en) | Image handling device | |
JPH06337662A (en) | Generation device for character and picture data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070919 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090409 |
|
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: 20090421 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090514 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120522 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |