JP3623463B2 - Image resolution conversion apparatus and method - Google Patents
Image resolution conversion apparatus and method Download PDFInfo
- Publication number
- JP3623463B2 JP3623463B2 JP2001153389A JP2001153389A JP3623463B2 JP 3623463 B2 JP3623463 B2 JP 3623463B2 JP 2001153389 A JP2001153389 A JP 2001153389A JP 2001153389 A JP2001153389 A JP 2001153389A JP 3623463 B2 JP3623463 B2 JP 3623463B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- pixel data
- target pixel
- adjacent
- image
- 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
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)
- Editing Of Facsimile Originals (AREA)
- Color Image Communication Systems (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は画像の解像度変換装置及びその方法に関し、特に図形を拡大する際に図形の輪郭部などが変色やぼけることがなく解像度変換の処理を実行することが可能な画像の解像度変換装置及びその方法に関する。
【0002】
【従来の技術】
最近、CG(コンピュータ・グラフィックス)の技術を応用したディジタル画像処理は目覚しく進歩しており、単に画像を拡大するだけでなく、拡大した画像をぼけることなく高精細に表示することが強く要望されている。
【0003】
次に図13を参照して、従来の画像の解像度変換装置について説明すると、図13は従来の画像の解像度変換装置を示す回路ブロック図であり、画像制御用CPU1は、各種レジスタ手段2とカラーパレット処理手段6と混合手段131の各手段及び表示メモリ7を制御するためのCPU制御信号S1を出力する。
【0004】
また各種レジスタ手段2は、データ所得要求信号S131を受けて各種レジスタ手段を構成するレジスタにCPU制御信号S1により設定された図形情報を含むレジスタ制御信号S2を、読み出し手段3に出力する。
【0005】
さらに読み出し手段3は、レジスタ制御信号S2を入力し、図形のアドレス信号に対応するCGアドレス信号S3をCGメモリ5に、書き込み制御信号S4をカラーパレット処理手段6にそれぞれ出力する。そしてCGメモリ5は、読み出し手段3からのCGアドレス信号S3に応答して、カラーパレット処理手段6にカラーパレットアドレスS5を出力する。
【0006】
カラーパレット処理手段6は、カラーパレットアドレスS5と書き込み制御信号S4とCPU制御信号S1とを参照し、表示メモリ7に画像書き込み信号S6を出力する。混合手段131は、後に図16を用いて説明する図形データの拡大と混合の方法を用いて、CPU制御信号S1と、表示メモリ7から出力される画像データS132とを参照し、画像データS132の拡大処理を実行すると共に、画像データS132を構成する隣接画素データどうしの混合処理を行って拡大混合画像データS133を生成し、この拡大混合画像データS133を表示メモリ7に出力する。
【0007】
表示メモリ7は、画像書き込み信号S6により、表示メモリを構成するバッファメモリ(図示せず)に画像を1画面分蓄積する。そしてこのバッファメモリに格納された画像データから、画像データを構成する画素データが順次混合手段131に読み出され、混合手段131で生成された拡大混合画像データS133がバッファメモリに上書き状態で格納される。
【0008】
表示メモリ7は、CPU制御信号S1に応答して1画面分の拡大混合画像データS133から順次画像表示信号S7を生成し、この画像表示信号S7をカラー画像を表示するためのカラー画像表示装置8に出力する。
【0009】
またCGメモリ5は、図5(a)に示すように表示すべきキャラクタなどの画像をブロック単位で格納しており、具体的には図5(b)に示すようにブロックを構成する各画素毎にカラーパレットのアドレスを指定するカラーパレットアドレスが設定されている。図5の場合、ブロックは8画素×8画素で構成されており、左上隅の画素のカラーパレットアドレスは“0”であり、このカラーパレットアドレスに対応する色は図5(b)からわかるように白である。
【0010】
またカラーパレット処理手段6は、CGメモリ5から出力されるカラーパレットアドレスS5を入力し、カラーパレット処理手段6を構成する図6のカラーパレットを参照して、CGメモリ5に格納されている図形データをカラー画像表示装置8に表示する画素毎の色情報に順次変換する。
【0011】
次に図13〜図16を参照して、従来の画像の解像度変換方法について説明すると、図14は従来の画像の解像度変換方法を示すフローチャートであり、ステップST1において、画像制御用CPU1は、画像処理する図形の座標位置や使用するテクスチャ等の詳細データを各種レジスタ手段2に、カラーパレット処理手段6に表示色を指定するためのパレット値をそれぞれ設定する。また混合手段131には解像度を変換するか否かの情報、また解像度を変換するとした場合は拡大率または縮小率などの設定を行う。
【0012】
次にステップST2において、読み出し手段3は各種レジスタ手段2に対しデータ取得要求信号S131を出力し、各種レジスタ手段2に設定された図形の詳細データを取り出す。
【0013】
続いてステップST3において、読み出し手段3はレジスタ制御信号S2を参照して、CGメモリ5に格納されている図形のアドレス信号であるCGアドレス信号S3を算出する。またカラーパレット処理手段6に、カラーパレット処理手段6の制御を行うための書き込み制御信号S4を同時に出力する。
【0014】
次にステップST5において、CGメモリ5はCGアドレス信号S3を参照してカラーパレットアドレスS5を生成し、このカラーパレットアドレスS5をカラーパレット処理手段6に出力する。そしてステップST6で、カラーパレット処理手段6はカラーパレットアドレスS5と、書き込み制御信号S4とを参照し、カラーパレットアドレスから色情報に変換する。一例を説明すると、図5(b)の左上隅の画素のカラーパレットアドレスは“0”であり、図6からカラーパレットアドレスが“0”のパレット値はF、すなわち白のデータとなる。これは、図5(a)の左上隅の画素の白に対応する。
【0015】
次にステップST7において、画像書き込み信号S6を参照して、図形を構成する全ての画素データを変換した色情報を、画素毎に順次表示メモリ7に格納する。
【0016】
続いてステップST8において、ステップST2〜ステップST7の処理を完了した図形が画面を構成する最後の図形であるか否か、すなわちステップST2〜ステップST7の処理がなされていない未処理の図形が存在するか否かについて判定する。
【0017】
ステップST8で未処理の図形が存在すると判定された場合、ステップST10で処理すべき次の図形を選択し、この図形に対してステップST2〜ステップST7の処理を行う。
【0018】
次にステップST8で、ステップST2〜ステップST7の処理がなされなかった図形が存在しない、すなわちステップST7で処理した図形が最終図形であると判定された場合、ステップST141で、表示メモリ7に格納され図形データに対して混合処理を行う。
【0019】
次に図14のステップST141の詳細処理を示すフローチャートである図15と、図16とを参照して、混合処理について説明する。
【0020】
図16(a)は、図形の一部を構成する画素A,D,Eを示しており、図16(b)に示すようにこの図形が水平方向、垂直方向にそれぞれ2倍に拡大されるものとして説明する。
【0021】
最初にステップST151で、画面を構成する図形のうち処理対象である対象図形に対し拡大処理、すなわち解像度変換を行うか否かを判定し、解像度変換を行わないと判定された場合は、図15に示す混合処理は行わずに、図14のステップST9における表示処理を実行する。
【0022】
一方ステップST151で、解像度変換を行うと判定された場合は、ステップST152で、画素Aを4画素分に拡大した画素A1〜A4のうちの画素A1に対し、画素Aの画素データであるaを設定する。
【0023】
次にステップST153で、画素A2に、画素データaと画素Dの画素データdとの平均値(a+d)/2を設定し、同様にステップST154で、画素A4に、画素データaと画素Eの画素データeとの平均値(a+e)/2を設定する。
【0024】
そしてステップST155で、画素A3に、画素A2の画素データa2と画素A4の画素データa4との平均値(a2+a4)/2を設定する。このような処理により、画素Aに対応する画素データaは、水平方向および垂直方向にそれぞれ2倍に拡大された画素データa、(a+d)/2、(a+e)/2、(a2+a4)/2として表示される。
【0025】
図15のステップST155の処理終了後、図14のステップST9において、表示メモリ7内のフィールドバッファまたはフレームバッファに格納されている拡大混合画像データから画像表示信号S7を生成し、画像表示信号S7をカラー画像表示装置8に出力し表示画面の表示を行う。その後ステップST1の処理に戻って、同様な処理を繰り返し行うことで、1画面毎に画像を次々とカラー画像表示装置8に表示する。
【0026】
【発明が解決しようとする課題】
上記に説明した従来の画像の解像度変換装置及びその方法は、拡大処理に伴って補間する新しい画素データを、隣接する画素の画素データを平均化することにより生成するため、図16に示すように画像のエッジ部分の色が期待する色から変色してしまったり、ぼけてしまうという問題がある。
【0027】
すなわち、画素データ(a+d)/2、(a+e)/2、(a2+a4)/2は、元々原画像には無い画素データであり、自然画像の場合はさほど不自然とならないものの、CGを用いたアニメーションでは、輪郭部分において不自然な画像となる。アニメーション用の画像を生成する場合、従来は画像の輪郭部である程度変色したり、ぼけたりすることは許容されていたが、最近のアニメーション用の画像処理では、高精細であることが強く要求されており、画像の拡大処理に伴って発生するエッジ部分の変色およびぼけを改善することが強く求められている。
【0028】
このため本発明の目的は、画像の拡大処理に伴って発生する輪郭部分の変色およびぼけを改善する解像度変換装置及びその方法を提供することにある。
【0029】
また本発明の目的は、図形を構成する対象画素の画素データと、対象画素に隣接した隣接画素の画素データとが所定の一致条件を満たすか否かを判定し、所定の一致条件を満たすと判定された場合は、補間対象の補間対象画素に隣接画素の画素データを設定し、所定の一致条件を満たさないと判定された場合は、補間対象画素に対象画素の元の画素データを設定することで画像の拡大処理に伴って発生する輪郭部分の変色およびぼけを改善した解像度変換装置及びその方法を提供することにある。
【0030】
【課題を解決するための手段】
そのため本発明による解像度変換方法は、画像を水平方向又は垂直方向に拡大する際に、前記画像を構成する対象画素に対して補間対象画素を生成し、この補間対象画素に所定の画素データを設定することにより解像度の変換を行う画像の解像度変換方法であって、
前記対象画素の画素データと、前記対象画素に隣接した隣接画素の画素データとが所定の一致条件を満たすか否かを判定し、前記一致条件を満たすと判定された場合は、前記補間対象画素に隣接画素の画素データを設定し、前記一致条件を満たさないと判定された場合は、前記補間対象画素に前記対象画素の画素データを設定することを特徴としている。
【0031】
また本発明による解像度変換装置は、図形情報を含むレジスタ制御信号を出力する各種レジスタ手段と、
前記レジスタ制御信号を入力し、図形のアドレス信号に対応するCGアドレス信号を出力する読み出し手段と、
画像を水平方向又は垂直方向に拡大する際に、前記画像を構成する対象画素の画素データと、前記対象画素に隣接した隣接画素の画素データとが所定の一致条件を満たすか否かを判定し、前記一致条件を満たすと判定された場合は、前記対象画素に対しての補間処理を行う補間対象画素に前記隣接画素の画素データを、前記一致条件を満たさないと判定された場合は、前記補間対象画素に前記対象画素の画素データをそれぞれ設定するように、前記CGアドレス信号を参照して修飾CGアドレス信号を生成する画像解析手段と、
前記修飾CGアドレス信号を参照してカラーパレットに対する修飾カラーパレットアドレスを生成するCGメモリと、
前記修飾カラーパレットアドレスを参照して、画素データから色情報に変換し画像書き込み信号を生成するカラーパレット処理手段と、
前記画像書き込み信号を参照して、カラー画像表示装置に表示画面を生成する表示手段と、を有する。
【0032】
【発明の実施の形態】
次に、本発明の第1の実施の形態による解像度変換装置ついて図面を参照して説明する。
【0033】
図1は本発明の第1の実施の形態による解像度変換装置を示すブロック図であり、図13と共通の構成要素には共通の参照文字/数字を付してある。
【0034】
図1において、画像制御用CPU1は、各種レジスタ手段2とカラーパレット処理手段6と画像解析手段4の各手段及び表示メモリ7を制御するためのCPU制御信号S1を出力する。
【0035】
また各種レジスタ手段2は、データ所得要求信号S131を受けて、各種レジスタ手段2を構成するレジスタ(図示せず)に格納された図形情報を含むレジスタ制御信号S2を、読み出し手段3に出力する。
【0036】
さらに読み出し手段3は、レジスタ制御信号S2を入力し、図形のアドレス信号に対応するCGアドレス信号S3を画像解析手段4に、書き込み制御信号S4をカラーパレット処理手段6にそれぞれ出力する。そして画像解析手段4は、読み出し手段3からのCGアドレス信号S3とCPU制御信号S1を入力して、後に説明する図形データの拡大処理の際に実行する画素データの補間方法に従って修飾CGアドレス信号S8を生成し、この修飾CGアドレス信号S8をCGメモリ5に出力する。
【0037】
CGメモリ5は、画像解析手段4から出力される修飾CGアドレス信号S8に応答して、カラーパレット処理手段6に修飾カラーパレットアドレスS51を出力する。
【0038】
カラーパレット処理手段6は、修飾カラーパレットアドレスS51と書き込み制御信号S4とCPU制御信号S1とを参照して画像書き込み信号S61を生成し、表示メモリ7に画像書き込み信号S61を出力する。
【0039】
表示メモリ7は、画像書き込み信号S61により表示メモリを構成するバッファメモリ(図示せず)に1画面分の画像を蓄積し、CPU制御信号S1に応答して1画面分の画像表示信号S7を順次カラー画像を表示するためのカラー画像表示装置8に出力する。
【0040】
またCGメモリ5は、図5(a)に示すように表示すべきキャラクタなどの画像をブロック単位で格納しており、具体的には図5(b)に示すようにブロックを構成する各画素毎にカラーパレットのアドレスを指定するカラーパレットアドレスが設定されている。
【0041】
またカラーパレット処理手段6は、CGメモリ5から出力される修飾カラーパレットアドレスS51を入力し、カラーパレット処理手段6を構成する図6のカラーパレットを参照して、CGメモリ5に格納されている図形データをカラー画像表示装置8に表示する色情報に変換する。
【0042】
画像解析手段4は、後に図3及び図4を用いて説明する画素データの補間方法に従って生成した修飾CGアドレス信号をCGメモリ5に出力する。これにより本発明の解像度変換装置は、図形の輪郭部がぼけずに図形を拡大表示することが可能である。
【0043】
次に本発明による解像度変換装置を用いた解像度変換方法について、図1〜図4を参照して説明する。なお図14と共通の構成要素には共通の参照文字/数字を付してある。
【0044】
図2は、本発明の解像度変換方法を示すフローチャートであり、ステップST1において、画像制御用CPU1は、画像処理する図形の座標位置や使用するテクスチャ等の詳細データを各種レジスタ手段2に、カラーパレット処理手段6に表示色を指定するためのパレット値をそれぞれ設定する。また画像解析手段4には解像度を変換するか否かの情報、また解像度を変換する場合は拡大率または縮小率などの設定を行う。
【0045】
次にステップST2において、読み出し手段3は各種レジスタ手段2に対しデータ取得要求信号S131を出力し、各種レジスタ手段2に設定された図形の詳細データを取り出す。
【0046】
続いてステップST3において、読み出し手段3はレジスタ制御信号S2を参照して、CGメモリ5に格納されている図形のアドレス信号を算出する。またカラーパレット処理手段6に、カラーパレット処理手段6の制御を行うための書き込み制御信号S4を同時に出力する。画素データを補間し図形を拡大処理する場合は、この書き込み制御信号により、カラーパレット処理手段6に対して画素データの補間処理を実行するよう制御する。
【0047】
次にステップST4において、後で図3,4を用いて詳細に説明する解像度の変換を行った後、ステップST5において、CGメモリ5は画像解析手段4から出力された修飾CGアドレス信号S8を受け、修飾カラーパレットアドレスS51をカラーパレット処理手段6に出力する。
【0048】
そしてステップST6で、カラーパレット処理手段6は修飾カラーパレットアドレスS51と、書き込み制御信号S4とを受け、従来の変換方法と同様に、修飾カラーパレットアドレスから色情報に変換する。
【0049】
次にステップST7において、カラーパレット処理手段6は画像書き込み信号S61に応答して、図形を構成する図形データから変換した色情報を、全ての図形データに対して画素毎に順次表示メモリ7に格納する。
【0050】
続いてステップST8において、ステップST2〜ステップST7の処理を完了した図形が画面を構成する最後の図形であるか否か、すなわちステップST2〜ステップST7の処理がなされていない未処理の図形が存在するか否かについて判定する。
【0051】
ステップST8で未処理の図形が存在すると判定された場合、ステップST10で処理すべき次の図形を選択し、この図形に対してステップST2〜ステップST7の処理を行う。
【0052】
次にステップST8で、ステップST2〜ステップST7の処理がなされなかった図形が存在しない、すなわちステップST7で処理した図形が最終図形であると判定された場合、ステップST9において、表示メモリ7内のフィールドバッファまたはフレームバッファに格納されている画像データから画像表示信号S7を生成し、画像表示信号S7をカラー画像表示装置8に出力し表示画面の表示を行う。その後ステップST1の処理に戻って、同様な処理を繰り返し行うことで、1画面毎に画像を次々とカラー画像表示装置8に表示する。
【0053】
次に図2のステップST4の解像度変換処理について、図3,4を参照して詳細に説明する。
【0054】
図3は本発明による解像度変換方法を示すフローチャートであり、始めにステップST41において、画像制御用CPU1は、解像度変換を行うか否かを判定し、解像度変換を行う場合は、CPU制御信号S1により、画像解析手段4に解像度変換を実行するよう制御を行う。
【0055】
画像解析手段4は、図形を構成する対象画素に着目し、この対象画素に隣接する隣接画素の画素データと対象画素の画素データとを比較し、特定の隣接画素のグループでこのグループの中の画素データが等しい場合、補間対象の画素に対しグループの中の画素データを設定する。
【0056】
従来技術による画像の解像度変換装置及びその方法では、対象画素の画素データと隣接画素の画素データとを混合し、混合した画素データを補間対象画素に設定していたが、本発明による画像の解像度変換装置及びその方法では、上記に述べた方法により、対象画素の画素データと隣接画素の画素データとの混合色が生成されないので、図形を拡大した場合に図形と図形の背景との輪郭部において、色が変色してしまうという問題が発生せず、また混合することにより輪郭部がぼけるという問題も改善される。
【0057】
また対象画素の画素データと隣接画素の画素データは、それぞれの画素データに対応するCGアドレス信号S3を参照して比較が行われる。
【0058】
ステップST41において、解像度変換を実行しないと判定された場合は、画像解析手段4は、CGアドレス信号S3をそのまま修飾アドレス信号S8としてCGメモリ5に出力し、CGメモリ5は、図2のステップST5で修飾カラーパレットアドレスS51を出力する。
【0059】
図3のステップST41で解像度変換を実行すると判定された場合は、ステップST42で補間対象画素データを全て初期化する。図4(a)は、図形の一部を構成する画素A〜Iからなる3×3の画素配列を表し、着目する対象画素をAとし、この対象画素Aに隣接する隣接画素をB,C,D,E,F,G,H,Iとして表している。
【0060】
いま、画素A〜Iを含む図形を水平方向および垂直方向にそれぞれ2倍に拡大する場合を考える。この場合、対象画素Aに対し、補間を行うべき補間対象画素は、図4(b)に示したようにA1〜A4となる。
【0061】
次にステップST42において、画素A1〜A4に初期値φを設定する。この初期値φは、画素A1〜A4に表示する画素データが未設定であることを表す。
【0062】
次にステップST43で、対象画素の水平方向および垂直方向に隣接する画素の画素データおよび対象画素の画素データとが全て等しいか否かを判定する。図4(c)では、隣接画素B,C,D,Eと対象画素Aの画素データが互いに等しいので、ステップST410で補間対象画素の全てに対象画素データを設定する。すなわち、画素A1〜A4に対し、対象画素Aの画素データを設定する。
【0063】
次にステップST43において、対象画素の水平方向および垂直方向に隣接する画素の画素データおよび対象画素の画素データのうち、異なる画素データがあると判定された場合、ステップST44で対象画素に対し斜め方向に隣接する全画素の画素データおよび対象画素の画素データとが全て等しいか否かを判定し、全て等しいと判定された場合は、ステップST410で補間対象画素の全てに対象画素データを設定し、ステップST49で次の補間対象画素を選択する。
【0064】
図4(d)の場合、対象画素に対し斜め方向に隣接する全画素F,G,H,Iおよび対象画素Aの各画素データは全て等しいので、画素A1〜A4に対し、対象画素Aの画素データを設定する。
【0065】
次にステップST44で対象画素に対し斜め方向に隣接する全画素の画素データおよび対象画素の画素データのうち、異なる画素データがあると判定された場合、ステップST45で対象画素に対し、第1の斜め方向に隣接する画素の画素データが等しいか否かを判定し、等しいと判定された場合は、ステップST411で対象画素と第1の斜め方向に隣接する画素との間に位置する補間対象画素に、対象画素データを設定した後ステップST46の処理を実行する。
【0066】
図4(e)の場合、対象画素に対し第1の斜め方向に隣接する画素F,Hの各画素データは等しいので、画素A1,A3に対し、対象画素Aの画素データを設定する。
【0067】
次にステップST45で対象画素に対し、第1の斜め方向に隣接する画素の画素データが異なると判定された場合、ステップST46で、対象画素に対し、第2の斜め方向に隣接する画素の画素データが等しいか否かを判定し、等しいと判定された場合は、ステップST412で対象画素と第2の斜め方向に隣接する画素との間に位置する補間対象画素に、対象画素データを設定した後ステップST47の処理を実行する。
【0068】
図4(f)の場合、対象画素に対し第2の斜め方向に隣接する画素G,Iの各画素データは等しいので、画素A2,A4に対し、対象画素Aの画素データを設定する。
【0069】
次にステップST46で、対象画素に対し、第2の斜め方向に隣接する画素の画素データが異なると判定された場合、ステップST47で、対象画素に対し水平方向および垂直方向に隣接する隣接画素のうち、互いに隣接する隣接画素の画素データが等しく、かつ画素データが等しい隣接画素どうしを結ぶ直線に最も近い補間対象画素に、既に画素データが設定されていないかについて判定する。
【0070】
そしてこの判定条件を満たす場合は、ステップST413で隣接する隣接画素どうしを結ぶ直線に最も近い補間対象画素に、隣接対象画素の画素データを設定し、次のステップST48の処理を実行する。
【0071】
より具体的に説明すると図4(g)で、対象画素Aに対し水平方向および垂直方向に隣接する隣接画素B〜Iのうち、互いに隣接する隣接画素B,Cの画素データが等しく、かつ画素データが等しい隣接画素B,Cどうしを結ぶ直線に最も近い補間対象画素A1に、既に画素データが設定されていないと判定された場合、ステップST413で補間対象画素A1に、隣接対象画素B,Cの画素データを設定し、次のステップST48の処理を実行する。
【0072】
図4(h)〜(j)についても、図4(g)と同様に判定し、ステップST413の処理を行う。
【0073】
次にステップST47の条件を満たさない場合は、ステップST48において、補間対象画素に画素データが設定されているか否かについて判定し、既に補間対象画素に画素データが設定されていると判定された場合は、ステップST49で次の補間対象画素を選択し、補間対象画素に画素データが設定されていないと判定された場合は、ステップST414で補間対象画素に対象画素データを設定する。
【0074】
より具体的に説明すると図4(k)で、補間対象画素A1に画素データが設定されていないと判定された場合は、ステップST414で補間対象画素A1に対象画素Aの画素データを設定する。
【0075】
また図4(l)で、補間対象画素A2に画素データが設定されていないと判定され、ステップST414で補間対象画素A2に対象画素Aの画素データを設定される。
【0076】
さらに図4(m)の場合、補間対象画素A1およびA3に画素データが設定されていないと判定され、ステップST414で補間対象画素A1およびA3に対象画素Aの画素データを設定される。また図4(n)の場合、補間対象画素A1〜A4に画素データが設定されていないと判定され、ステップST414で補間対象画素A1〜A4に対象画素Aの画素データを設定される。
【0077】
以上説明したように、本発明の第1の実施の形態による画像の解像度変換装置及びその方法は、図1〜図4で説明した解像度変換の方法に従って画像解析手段4で生成した修飾CGアドレス信号S8をCGメモリ5に供給し、さらにCGメモリ5は修飾CGアドレス信号S8に対応した修飾カラーパレットアドレスS51をカラーパレット処理手段6に対して出力することで、対象画素の画素データと隣接画素の画素データとの混合色が生成されず、図形を拡大した場合に図形と図形の背景との輪郭部において、色が変色してしまうという問題が発生しないという特徴がある。
【0078】
また図形を拡大した場合に対象画素の画素データと隣接画素の画素データとの混合色が生成され、図形と図形の背景との輪郭部がぼけるという問題も改善される。
【0079】
次に本発明の第2の実施の形態による画像の解像度変換装置及びその方法について、図7および図8を参照して説明する。
【0080】
図7は本発明の第2の実施の形態による画像の解像度変換装置を表す回路ブロック図であり、図8は本発明の第2の実施の形態による画像の解像度変換方法を表すフローチャートである。
【0081】
図1に示す画像の解像度変換装置において、画像解析手段4はCGアドレス信号S3から補間対象画素を含む各画素に対しての修飾CGアドレス信号S8を生成しているが、図7に示す画像の解像度変換装置においては、画像解析手段41はCGメモリ5から出力されるカラーパレットアドレスS5から補間対象画素を含む各画素に対しての修飾カラーパレットアドレスS52を生成している点が図1の構成と異なる。
【0082】
画像解析手段41は、図1の画像解析手段4と同様に1〜図4で説明した解像度変換の方法に従って、カラーパレットアドレスS5から修飾カラーパレットアドレスS52を生成し、この修飾カラーパレットアドレスS52をカラーパレット処理手段6に供給することで、第1の実施の形態による画像の解像度変換装置と同様に、対象画素の画素データと隣接画素の画素データとの混合色が生成されず、図形を拡大した場合に図形と図形の背景との輪郭部において、色が変色してしまうという問題が発生しないという特徴がある。
【0083】
また図1から図7の回路構成の変更に伴って、図8のステップST5において生成したカラーパレットアドレスを参照して、ステップST4Aにおいて画像解析手段41での解像度変換処理を行い、修飾カラーパレットアドレスを生成する。そして、ステップST61において、カラーパレット処理手段6は修飾カラーパレットアドレスS52から色情報に変換する。
【0084】
次に本発明の第3の実施の形態による画像の解像度変換装置及びその方法について、図9および図10を参照して説明する。
【0085】
図9は本発明の第3の実施の形態による画像の解像度変換装置を表す回路ブロック図であり、図10は本発明の第3の実施の形態による画像の解像度変換方法を表すフローチャートである。
【0086】
図9に示す画像の解像度変換装置においては、画像解析手段42は、カラーパレット処理手段6から出力される画像書き込み信号S6から補間対象画素を含む各画素に対しての修飾画像書き込み信号S61を生成している点が図1の構成と異なる。
【0087】
画像解析手段42は、図1の画像解析手段4と同様に1〜図4で説明した解像度変換の方法に従って、画像書き込み信号S6から修飾画像書き込み信号S61を生成しこの修飾画像書き込み信号S61を表示メモリ7に供給することで、第1の実施の形態による画像の解像度変換装置と同様に、対象画素の画素データと隣接画素の画素データとの混合色が生成されず、図形を拡大した場合に図形と図形の背景との輪郭部において、色が変色してしまうという問題が発生しないという特徴がある。
【0088】
また図1から図9の回路構成の変更に伴って、図10のステップST6において生成した画像書き込み信号S6を参照して、ステップST4Bにおいて画像解析手段42での解像度変換処理を行い、修飾画像書き込み信号S61を生成する。そしてステップST7において、表示メモリ7は、修飾画像書き込み信号S61により表示メモリを構成するバッファメモリに画像を1画面分蓄積し、ステップST9で画像表示信号S7をカラー画像表示装置8に出力する。
【0089】
次に本発明の第4の実施の形態による画像の解像度変換装置及びその方法について、図11および図12を参照して説明する。
【0090】
図11は本発明の第4の実施の形態による画像の解像度変換装置を表す回路ブロック図であり、図12は本発明の第4の実施の形態による画像の解像度変換方法を表すフローチャートである。
【0091】
図11に示す画像の解像度変換装置においては、画像解析手段43は、表示メモリ7から出力される画像データS132から補間対象画素を含む各画素に対しての修飾画像データS111を生成している点が図1の構成と異なる。
【0092】
画像解析手段43は、図1の画像解析手段4と同様に1〜図4で説明した解像度変換の方法に従って、画像データS132から修飾画像データS111を生成しこの修飾画像データS111を表示メモリ7に格納することで、第1の実施の形態による画像の解像度変換装置と同様に、対象画素の画素データと隣接画素の画素データとの混合色が生成されず、図形を拡大した場合に図形と図形の背景との輪郭部において、色が変色してしまうという問題が発生しないという特徴がある。
【0093】
また図1から図11の回路構成の変更に伴って、図12のステップST1〜ST8において1画面を構成する全ての図形に対して、図形を構成する全画素の画素データを表示メモリに描画した後に、表示メモリに格納された画像データS132に対して、ステップST4Cにおいて画像解析手段43での解像度変換処理を行い1画面分の修飾画像データS111を生成し、表示メモリ7に修飾画像データS111を格納する。そしてステップST9で画像表示信号S7をカラー画像表示装置8に出力する。
【0094】
なお上記の説明において、対象画素の画素データ、または隣接画素の画素データとを相互に比較し、これらの画素データが厳密に等しいか否かを判定したが、比較する画素データの差分を演算し、この差分が許容値以下であれば、比較する画素データどうしが等しいとして判定するようにしても良い。
【0095】
この場合の許容値については、図形を基にして構成するアニメーションなどの画面の画質要求仕様などを考慮して決定する。
【0096】
【発明の効果】
以上説明したように、本発明による画像の解像度変換装置及びその方法は、図形を拡大処理する際に対象画素の画素データと隣接画素の画素データとの混合色が生成されず、図形と図形の背景との輪郭部において色が変色するのを防止することができる。
【0097】
また図形を拡大した場合に対象画素の画素データと隣接画素の画素データとの混合色が生成され、図形と図形の背景との輪郭部がぼけるという問題を改善することができる。
【図面の簡単な説明】
【図1】本発明による画像の解像度変換装置の第1の実施の形態を示す回路ブロック図である。
【図2】本発明による画像の解像度変換方法の第1の実施の形態を示すフローチャートである。
【図3】図2のステップST4における解像度変換処理を詳細に説明するためのフローチャートである。
【図4】本発明による解像度変換処理を具体的に説明するための説明図である。
【図5】図形とCGメモリ内のカラーパレットアドレスとの関係を説明するための、図形イメージおよびCGメモリの構成図である。
【図6】カラーパレットの構成図である。
【図7】本発明による画像の解像度変換装置の第2の実施の形態を示す回路ブロック図である。
【図8】本発明による画像の解像度変換方法の第2の実施の形態を示すフローチャートである。
【図9】本発明による画像の解像度変換装置の第3の実施の形態を示す回路ブロック図である。
【図10】本発明による画像の解像度変換方法の第3の実施の形態を示すフローチャートである。
【図11】本発明による画像の解像度変換装置の第4の実施の形態を示す回路ブロック図である。
【図12】本発明による画像の解像度変換方法の第4の実施の形態を示すフローチャートである。
【図13】従来の画像の解像度変換装置を示す回路ブロック図である。
【図14】従来の解像度変換方法を示すフローチャートである。
【図15】図14のステップST141における混合処理を詳細に説明するためのフローチャートである。
【図16】図14のステップST141における混合処理を具体的に説明するための説明図である。
【符号の説明】
1 画像制御用CPU
2 各種レジスタ手段
3 読み出し手段
4,41,42,43 画像解析手段
5 CGメモリ
6 カラーパレット処理手段
7 表示メモリ
8 カラー画像表示装置
131 混合手段[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image resolution conversion apparatus and method, and more particularly to an image resolution conversion apparatus capable of executing resolution conversion processing without discoloration or blurring of an outline of a figure when enlarging the figure and the method thereof Regarding the method.
[0002]
[Prior art]
Recently, digital image processing using CG (computer graphics) technology has made remarkable progress, and there is a strong demand for not only enlarging an image but also displaying the enlarged image with high definition without blurring. ing.
[0003]
Next, a conventional image resolution conversion apparatus will be described with reference to FIG. 13. FIG. 13 is a circuit block diagram showing a conventional image resolution conversion apparatus. The
[0004]
The various register means 2 receives the data income request signal S131 and outputs to the reading means 3 a register control signal S2 including graphic information set by the CPU control signal S1 in the registers constituting the various register means.
[0005]
Further, the reading means 3 receives the register control signal S2, and outputs the CG address signal S3 corresponding to the graphic address signal to the
[0006]
The color palette processing means 6 refers to the color palette address S5, the write control signal S4, and the CPU control signal S1, and outputs the image write signal S6 to the
[0007]
The
[0008]
The
[0009]
Further, the
[0010]
The color palette processing means 6 receives the color palette address S5 output from the
[0011]
Next, a conventional image resolution conversion method will be described with reference to FIGS. 13 to 16. FIG. 14 is a flowchart showing a conventional image resolution conversion method. In step ST1, the
[0012]
Next, in step ST2, the reading means 3 outputs a data acquisition request signal S131 to the various register means 2, and takes out the detailed data of the graphic set in the various register means 2.
[0013]
Subsequently, in step ST3, the reading means 3 refers to the register control signal S2 and calculates a CG address signal S3 which is an address signal of a graphic stored in the
[0014]
In step ST5, the
[0015]
Next, in step ST7, referring to the image writing signal S6, the color information obtained by converting all the pixel data constituting the graphic is sequentially stored in the
[0016]
Subsequently, in step ST8, it is determined whether or not the graphic for which the processing in steps ST2 to ST7 has been completed is the last graphic constituting the screen, that is, there is an unprocessed graphic in which the processing in steps ST2 to ST7 has not been performed. It is determined whether or not.
[0017]
If it is determined in step ST8 that there is an unprocessed graphic, the next graphic to be processed in step ST10 is selected, and the processes in steps ST2 to ST7 are performed on this graphic.
[0018]
Next, if it is determined in step ST8 that there is no graphic that has not been processed in steps ST2 to ST7, that is, it is determined that the graphic processed in step ST7 is the final graphic, it is stored in the
[0019]
Next, the mixing process will be described with reference to FIG. 15 which is a flowchart showing the detailed process of step ST141 in FIG. 14 and FIG.
[0020]
FIG. 16A shows the pixels A, D, and E that constitute a part of the figure. As shown in FIG. 16B, the figure is doubled in the horizontal and vertical directions. It will be explained as a thing.
[0021]
First, in step ST151, it is determined whether or not enlargement processing, that is, resolution conversion, is performed on a target graphic that is a processing target among the figures constituting the screen, and if it is determined not to perform resolution conversion, FIG. The display process in step ST9 of FIG. 14 is executed without performing the mixing process shown in FIG.
[0022]
On the other hand, if it is determined in step ST151 that resolution conversion is to be performed, in step ST152, the pixel data A of the pixel A is added to the pixel A1 among the pixels A1 to A4 in which the pixel A is expanded to four pixels. Set.
[0023]
Next, in step ST153, an average value (a + d) / 2 of the pixel data a and the pixel data d of the pixel D is set in the pixel A2, and similarly, in step ST154, the pixel data a and the pixel E are stored in the pixel A4. An average value (a + e) / 2 with the pixel data e is set.
[0024]
In step ST155, an average value (a2 + a4) / 2 of the pixel data a2 of the pixel A2 and the pixel data a4 of the pixel A4 is set in the pixel A3. By such processing, the pixel data a corresponding to the pixel A becomes the pixel data a, (a + d) / 2, (a + e) / 2, (a2 + a4) / 2 which are doubled in the horizontal direction and the vertical direction, respectively. Is displayed.
[0025]
After the process of step ST155 in FIG. 15, the image display signal S7 is generated from the enlarged mixed image data stored in the field buffer or frame buffer in the
[0026]
[Problems to be solved by the invention]
Since the conventional image resolution conversion apparatus and method described above generate new pixel data to be interpolated with the enlargement process by averaging the pixel data of adjacent pixels, as shown in FIG. There is a problem that the color of the edge portion of the image is discolored or blurred from the expected color.
[0027]
That is, pixel data (a + d) / 2, (a + e) / 2, and (a2 + a4) / 2 are originally pixel data that is not included in the original image, and are not unnatural in the case of a natural image, but CG is used. In the animation, the image becomes unnatural at the contour portion. Conventionally, when generating an image for animation, it has been allowed to be discolored or blurred to some extent at the outline of the image, but in recent image processing for animation, high definition is strongly required. Therefore, there is a strong demand to improve the discoloration and blurring of the edge portion that occurs with the image enlargement process.
[0028]
Accordingly, an object of the present invention is to provide a resolution conversion apparatus and method for improving discoloration and blurring of a contour portion that occur in association with an image enlargement process.
[0029]
Another object of the present invention is to determine whether or not pixel data of a target pixel constituting a figure and pixel data of an adjacent pixel adjacent to the target pixel satisfy a predetermined matching condition, and satisfy a predetermined matching condition. If it is determined, the pixel data of the adjacent pixel is set to the interpolation target pixel to be interpolated, and if it is determined that the predetermined matching condition is not satisfied, the original pixel data of the target pixel is set to the interpolation target pixel. Accordingly, it is an object of the present invention to provide a resolution conversion apparatus and method for improving discoloration and blurring of a contour portion that occur during image enlargement processing.
[0030]
[Means for Solving the Problems]
Therefore, the resolution conversion method according to the present invention generates an interpolation target pixel for the target pixel constituting the image and enlarges the image in the horizontal direction or the vertical direction, and sets predetermined pixel data to the interpolation target pixel. An image resolution conversion method for converting the resolution by
It is determined whether pixel data of the target pixel and pixel data of adjacent pixels adjacent to the target pixel satisfy a predetermined matching condition, and if it is determined that the matching condition is satisfied, the interpolation target pixel If the pixel data of an adjacent pixel is set to and the determination is made that the matching condition is not satisfied, the pixel data of the target pixel is set as the interpolation target pixel.
[0031]
Further, the resolution conversion apparatus according to the present invention comprises various register means for outputting a register control signal including graphic information,
Reading means for inputting the register control signal and outputting a CG address signal corresponding to the address signal of the figure;
When enlarging an image in a horizontal direction or a vertical direction, it is determined whether pixel data of a target pixel constituting the image and pixel data of an adjacent pixel adjacent to the target pixel satisfy a predetermined matching condition. When it is determined that the matching condition is satisfied, the pixel data of the adjacent pixel is determined to be an interpolation target pixel that performs interpolation processing on the target pixel, and when it is determined that the matching condition is not satisfied, Image analysis means for generating a modified CG address signal with reference to the CG address signal so as to set pixel data of the target pixel as interpolation target pixels, respectively;
A CG memory that generates a modified color palette address for a color palette with reference to the modified CG address signal;
Color palette processing means for converting the pixel data into color information and generating an image writing signal with reference to the modified color palette address;
Display means for generating a display screen on the color image display device with reference to the image writing signal.
[0032]
DETAILED DESCRIPTION OF THE INVENTION
Next, a resolution conversion apparatus according to a first embodiment of the present invention will be described with reference to the drawings.
[0033]
FIG. 1 is a block diagram showing a resolution conversion apparatus according to the first embodiment of the present invention, and common reference characters / numbers are given to components common to those in FIG.
[0034]
In FIG. 1, the
[0035]
The various register means 2 receives the data income request signal S131, and outputs a register control signal S2 including graphic information stored in a register (not shown) constituting the various register means 2 to the reading means 3.
[0036]
Further, the reading means 3 inputs the register control signal S2, and outputs the CG address signal S3 corresponding to the graphic address signal to the image analyzing means 4 and the writing control signal S4 to the color palette processing means 6, respectively. Then, the image analysis means 4 inputs the CG address signal S3 and the CPU control signal S1 from the reading means 3, and the modified CG address signal S8 according to the pixel data interpolation method executed in the graphic data enlargement process described later. And outputs this modified CG address signal S8 to the
[0037]
The
[0038]
The color palette processing means 6 generates an image writing signal S61 with reference to the modified color palette address S51, the writing control signal S4, and the CPU control signal S1, and outputs the image writing signal S61 to the
[0039]
The
[0040]
The
[0041]
The color palette processing means 6 receives the modified color palette address S51 output from the
[0042]
The image analysis means 4 outputs the modified CG address signal generated according to the pixel data interpolation method described later with reference to FIGS. 3 and 4 to the
[0043]
Next, a resolution conversion method using the resolution conversion apparatus according to the present invention will be described with reference to FIGS. Components common to those in FIG. 14 are denoted by common reference characters / numbers.
[0044]
FIG. 2 is a flowchart showing the resolution conversion method of the present invention. In step ST1, the
[0045]
Next, in step ST2, the reading means 3 outputs a data acquisition request signal S131 to the various register means 2, and takes out the detailed data of the graphic set in the various register means 2.
[0046]
Subsequently, in step ST3, the reading means 3 refers to the register control signal S2 and calculates the address signal of the graphic stored in the
[0047]
Next, in step ST4, resolution conversion which will be described in detail later with reference to FIGS. 3 and 4 is performed, and then in step ST5, the
[0048]
In step ST6, the color palette processing means 6 receives the modified color palette address S51 and the write control signal S4 and converts the modified color palette address into color information in the same manner as in the conventional conversion method.
[0049]
Next, in step ST7, in response to the image writing signal S61, the color palette processing means 6 stores the color information converted from the graphic data constituting the graphic in the
[0050]
Subsequently, in step ST8, whether or not the graphic for which the processing in steps ST2 to ST7 has been completed is the last graphic constituting the screen, that is, there is an unprocessed graphic in which the processing in steps ST2 to ST7 has not been performed. It is determined whether or not.
[0051]
If it is determined in step ST8 that there is an unprocessed graphic, the next graphic to be processed in step ST10 is selected, and the processes in steps ST2 to ST7 are performed on this graphic.
[0052]
Next, when it is determined in step ST8 that there is no graphic that has not been processed in steps ST2 to ST7, that is, it is determined that the graphic processed in step ST7 is the final graphic, the field in the
[0053]
Next, the resolution conversion process in step ST4 of FIG. 2 will be described in detail with reference to FIGS.
[0054]
FIG. 3 is a flowchart showing a resolution conversion method according to the present invention. First, in step ST41, the
[0055]
The image analysis means 4 pays attention to the target pixel constituting the figure, compares the pixel data of the adjacent pixel adjacent to the target pixel with the pixel data of the target pixel, and in the group of specific adjacent pixels, If the pixel data are equal, the pixel data in the group is set for the interpolation target pixel.
[0056]
In the image resolution conversion apparatus and method according to the prior art, the pixel data of the target pixel and the pixel data of the adjacent pixels are mixed, and the mixed pixel data is set as the interpolation target pixel. In the conversion device and its method, since the mixed color of the pixel data of the target pixel and the pixel data of the adjacent pixel is not generated by the method described above, when the figure is enlarged, the outline of the figure and the background of the figure is The problem that the color is changed does not occur, and the problem that the outline is blurred by mixing is also improved.
[0057]
The pixel data of the target pixel and the pixel data of adjacent pixels are compared with reference to the CG address signal S3 corresponding to each pixel data.
[0058]
If it is determined in step ST41 that the resolution conversion is not performed, the
[0059]
If it is determined in step ST41 in FIG. 3 that resolution conversion is to be executed, all the interpolation target pixel data is initialized in step ST42. FIG. 4A shows a 3 × 3 pixel array composed of pixels A to I that constitute a part of the figure, where the target pixel of interest is A, and the adjacent pixels adjacent to the target pixel A are B and C. , D, E, F, G, H, I.
[0060]
Consider a case where a figure including pixels A to I is enlarged twice in the horizontal and vertical directions. In this case, the interpolation target pixels to be interpolated with respect to the target pixel A are A1 to A4 as shown in FIG.
[0061]
Next, in step ST42, an initial value φ is set for the pixels A1 to A4. This initial value φ represents that pixel data to be displayed on the pixels A1 to A4 is not set.
[0062]
Next, in step ST43, it is determined whether the pixel data of the pixels adjacent to the target pixel in the horizontal direction and the vertical direction are all equal to the pixel data of the target pixel. In FIG. 4C, since the pixel data of the adjacent pixels B, C, D, E and the target pixel A are equal to each other, the target pixel data is set for all the interpolation target pixels in step ST410. That is, the pixel data of the target pixel A is set for the pixels A1 to A4.
[0063]
Next, in step ST43, when it is determined that there is different pixel data among the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel, in step ST44, the diagonal direction with respect to the target pixel. It is determined whether the pixel data of all the pixels adjacent to the pixel data and the pixel data of the target pixel are all equal. If it is determined that they are all equal, in step ST410, the target pixel data is set to all of the interpolation target pixels. In step ST49, the next interpolation target pixel is selected.
[0064]
In the case of FIG. 4D, the pixel data of all the pixels F, G, H, I and the target pixel A adjacent in the oblique direction to the target pixel are all equal, so that the target pixel A is compared with the pixels A1 to A4. Set pixel data.
[0065]
Next, when it is determined in step ST44 that there is different pixel data among the pixel data of all pixels adjacent to the target pixel in the diagonal direction and the pixel data of the target pixel, the first pixel is determined for the target pixel in step ST45. It is determined whether or not the pixel data of pixels adjacent in the diagonal direction are equal. If it is determined that the pixel data are equal, in step ST411, the interpolation target pixel located between the target pixel and the pixel adjacent in the first diagonal direction Then, after setting the target pixel data, the process of step ST46 is executed.
[0066]
In the case of FIG. 4E, the pixel data of the pixels F and H adjacent to the target pixel in the first oblique direction are equal, and therefore the pixel data of the target pixel A is set for the pixels A1 and A3.
[0067]
Next, when it is determined in step ST45 that the pixel data of the pixel adjacent in the first diagonal direction is different from the target pixel, in step ST46, the pixel of the pixel adjacent in the second diagonal direction with respect to the target pixel. It is determined whether or not the data is equal. If it is determined that the data is equal, the target pixel data is set in the interpolation target pixel located between the target pixel and the pixel adjacent in the second diagonal direction in step ST412. The process of post-step ST47 is performed.
[0068]
In the case of FIG. 4 (f), the pixel data of the pixels G and I adjacent to the target pixel in the second oblique direction are equal, and therefore the pixel data of the target pixel A is set for the pixels A2 and A4.
[0069]
Next, when it is determined in step ST46 that the pixel data of the pixel adjacent in the second oblique direction is different from the target pixel, in step ST47, the adjacent pixel adjacent to the target pixel in the horizontal direction and the vertical direction is determined. Among these, it is determined whether pixel data has already been set for the interpolation target pixel that is closest to a straight line connecting adjacent pixels having the same pixel data of adjacent pixels that are equal to each other.
[0070]
If this determination condition is satisfied, in step ST413, the pixel data of the adjacent target pixel is set to the interpolation target pixel closest to the straight line connecting the adjacent adjacent pixels, and the process of the next step ST48 is executed.
[0071]
More specifically, in FIG. 4G, among the adjacent pixels B to I adjacent to the target pixel A in the horizontal direction and the vertical direction, the pixel data of the adjacent pixels B and C adjacent to each other are equal, and the pixel When it is determined that no pixel data has already been set for the interpolation target pixel A1 closest to the straight line connecting adjacent pixels B and C having the same data, the interpolation target pixel A1 is set to the adjacent target pixels B and C in step ST413. Pixel data is set, and the process of the next step ST48 is executed.
[0072]
4 (h) to (j) are determined in the same manner as in FIG. 4 (g), and the process of step ST413 is performed.
[0073]
Next, when the condition of step ST47 is not satisfied, it is determined in step ST48 whether or not pixel data is set for the interpolation target pixel, and it is determined that the pixel data is already set for the interpolation target pixel. In step ST49, the next interpolation target pixel is selected, and if it is determined that no pixel data is set for the interpolation target pixel, the target pixel data is set for the interpolation target pixel in step ST414.
[0074]
More specifically, when it is determined in FIG. 4K that no pixel data is set for the interpolation target pixel A1, the pixel data of the target pixel A is set for the interpolation target pixel A1 in step ST414.
[0075]
In FIG. 4L, it is determined that no pixel data is set for the interpolation target pixel A2, and the pixel data of the target pixel A is set for the interpolation target pixel A2 in step ST414.
[0076]
Further, in the case of FIG. 4 (m), it is determined that pixel data is not set in the interpolation target pixels A1 and A3, and the pixel data of the target pixel A is set in the interpolation target pixels A1 and A3 in step ST414. In the case of FIG. 4 (n), it is determined that pixel data is not set for the interpolation target pixels A1 to A4, and the pixel data of the target pixel A is set to the interpolation target pixels A1 to A4 in step ST414.
[0077]
As described above, the image resolution conversion apparatus and method according to the first embodiment of the present invention is the modified CG address signal generated by the image analysis means 4 according to the resolution conversion method described with reference to FIGS. S8 is supplied to the
[0078]
Further, when the figure is enlarged, a mixed color of the pixel data of the target pixel and the pixel data of the adjacent pixel is generated, and the problem that the outline portion between the figure and the background of the figure is blurred is also improved.
[0079]
Next, an image resolution conversion apparatus and method according to a second embodiment of the present invention will be described with reference to FIGS.
[0080]
FIG. 7 is a circuit block diagram showing an image resolution conversion apparatus according to the second embodiment of the present invention, and FIG. 8 is a flowchart showing an image resolution conversion method according to the second embodiment of the present invention.
[0081]
In the image resolution conversion apparatus shown in FIG. 1, the image analysis means 4 generates a modified CG address signal S8 for each pixel including the interpolation target pixel from the CG address signal S3. In the resolution conversion apparatus, the image analysis means 41 generates the modified color palette address S52 for each pixel including the interpolation target pixel from the color palette address S5 output from the
[0082]
The
[0083]
Further, with the change in the circuit configuration of FIGS. 1 to 7, the color palette address generated in step ST5 of FIG. 8 is referred to, resolution conversion processing is performed by the image analysis means 41 in step ST4A, and the modified color palette address Is generated. In step ST61, the color palette processing means 6 converts the modified color palette address S52 into color information.
[0084]
Next, an image resolution conversion apparatus and method according to a third embodiment of the present invention will be described with reference to FIGS.
[0085]
FIG. 9 is a circuit block diagram showing an image resolution conversion apparatus according to the third embodiment of the present invention, and FIG. 10 is a flowchart showing an image resolution conversion method according to the third embodiment of the present invention.
[0086]
In the image resolution conversion apparatus shown in FIG. 9, the image analysis unit 42 generates a modified image write signal S61 for each pixel including the interpolation target pixel from the image write signal S6 output from the color
[0087]
The image analysis unit 42 generates the modified image write signal S61 from the image write signal S6 and displays the modified image write signal S61 according to the resolution conversion method described in FIGS. 1 to 4 in the same manner as the
[0088]
In addition, with the change in the circuit configuration in FIGS. 1 to 9, the image analysis signal 42 is subjected to resolution conversion processing in step ST4B with reference to the image writing signal S6 generated in step ST6 in FIG. A signal S61 is generated. In step ST7, the
[0089]
Next, an image resolution conversion apparatus and method according to a fourth embodiment of the present invention will be described with reference to FIGS.
[0090]
FIG. 11 is a circuit block diagram showing an image resolution conversion apparatus according to the fourth embodiment of the present invention, and FIG. 12 is a flowchart showing an image resolution conversion method according to the fourth embodiment of the present invention.
[0091]
In the image resolution conversion apparatus shown in FIG. 11, the image analysis means 43 generates the modified image data S111 for each pixel including the interpolation target pixel from the image data S132 output from the
[0092]
The
[0093]
In addition, in accordance with the change in the circuit configuration shown in FIGS. 1 to 11, the pixel data of all the pixels constituting the figure is drawn in the display memory for all the figures constituting one screen in steps ST1 to ST8 in FIG. Later, the image data S132 stored in the display memory is subjected to resolution conversion processing by the image analysis means 43 in step ST4C to generate one screen of the modified image data S111, and the modified image data S111 is stored in the
[0094]
In the above description, the pixel data of the target pixel or the pixel data of the adjacent pixels are compared with each other, and it is determined whether or not these pixel data are strictly equal. However, the difference between the pixel data to be compared is calculated. If the difference is less than or equal to the allowable value, the pixel data to be compared may be determined to be equal.
[0095]
In this case, the allowable value is determined in consideration of the image quality requirement specification of the screen such as animation configured based on the figure.
[0096]
【The invention's effect】
As described above, the image resolution conversion apparatus and method according to the present invention does not generate a mixed color of the pixel data of the target pixel and the pixel data of the adjacent pixels when enlarging the graphic, and It is possible to prevent the color from changing in the outline portion with the background.
[0097]
Further, when the figure is enlarged, a mixed color of the pixel data of the target pixel and the pixel data of the adjacent pixels is generated, and the problem that the outline portion between the figure and the background of the figure is blurred can be improved.
[Brief description of the drawings]
FIG. 1 is a circuit block diagram showing a first embodiment of an image resolution conversion apparatus according to the present invention.
FIG. 2 is a flowchart showing a first embodiment of an image resolution conversion method according to the present invention.
FIG. 3 is a flowchart for explaining in detail the resolution conversion processing in step ST4 of FIG. 2;
FIG. 4 is an explanatory diagram for specifically explaining resolution conversion processing according to the present invention.
FIG. 5 is a configuration diagram of a graphic image and a CG memory for explaining the relationship between the graphic and a color palette address in the CG memory.
FIG. 6 is a configuration diagram of a color palette.
FIG. 7 is a circuit block diagram showing a second embodiment of an image resolution conversion apparatus according to the present invention.
FIG. 8 is a flowchart showing a second embodiment of an image resolution conversion method according to the present invention.
FIG. 9 is a circuit block diagram showing a third embodiment of an image resolution conversion apparatus according to the present invention.
FIG. 10 is a flowchart showing a third embodiment of an image resolution conversion method according to the present invention.
FIG. 11 is a circuit block diagram showing a fourth embodiment of an image resolution conversion apparatus according to the present invention.
FIG. 12 is a flowchart showing a fourth embodiment of an image resolution conversion method according to the present invention.
FIG. 13 is a circuit block diagram showing a conventional image resolution conversion apparatus.
FIG. 14 is a flowchart illustrating a conventional resolution conversion method.
FIG. 15 is a flowchart for explaining in detail the mixing process in step ST141 of FIG. 14;
FIG. 16 is an explanatory diagram for specifically explaining the mixing process in step ST141 of FIG. 14;
[Explanation of symbols]
1 Image control CPU
2 Various register means
3 Reading means
4, 41, 42, 43 Image analysis means
5 CG memory
6 Color palette processing means
7 Display memory
8 Color image display device
131 Mixing means
Claims (13)
前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとを比較し、
前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが全て等しい場合、全ての前記補間対象画素に前記対象画素の画素データを設定することを特徴とする画像の解像度変換方法。When enlarging an image in a horizontal direction or a vertical direction, a 2 × 2 interpolation target pixel is generated for the target pixel constituting the image, and predetermined pixel data is set in the interpolation target pixel, thereby reducing the resolution. A resolution conversion method for an image to be converted,
Comparing pixel data of pixels adjacent to the target pixel in the horizontal and vertical directions with pixel data of the target pixel;
When the pixel data of pixels adjacent to the target pixel in the horizontal direction and the vertical direction are all equal to the pixel data of the target pixel, the pixel data of the target pixel is set to all the interpolation target pixels. Image resolution conversion method.
前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが等しくない場合、前記対象画素と斜め方向に隣接する全画素の画素データと前記対象画素の画素データとを比較し、前記対象画素に対し斜め方向に隣接する全画素の画素データと前記対象画素の画素データとが互いに等しい場合、全ての前記補間対象画素に前記対象画素の画素データを設定することを特徴とする請求項1記載の画像の解像度変換方法。Comparing pixel data of pixels adjacent to the target pixel in the horizontal and vertical directions with pixel data of the target pixel;
When pixel data of pixels adjacent in the horizontal direction and vertical direction of the target pixel and pixel data of the target pixel are not equal, pixel data of all pixels adjacent to the target pixel in an oblique direction and pixel data of the target pixel And when the pixel data of all pixels adjacent to the target pixel in the diagonal direction and the pixel data of the target pixel are equal to each other, the pixel data of the target pixel is set to all the interpolation target pixels The image resolution conversion method according to claim 1.
前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが互いに等しいか否かを判定し、等しいと判定した場合は前記補間対象画素の全てに前記対象画素データを設定する第2のステップと、
前記第2のステップにおいて、前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとに等しく無い画素データが存在すると判定された場合、前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいか否かを判定し、等しいと判定した場合は前記補間対象画素の全てに前記対象画素データを設定する第3のステップと、
前記第3のステップにおいて、前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとに等しく無い画素データが存在すると判定された場合、前記対象画素に対して第1の斜め方向に隣接する画素の画素データが互いに等しいか否かを判定し、等しいと判定した場合は、前記対象画素と前記第1の斜め方向の前記隣接画素間に位置する前記補間対象画素に前記対象画素の画素データを設定する第4のステップと、
前記第4のステップにおいて、前記対象画素に対して第1の斜め方向に隣接する画素の画素データが互いに等しくないと判定した場合、前記対象画素に対して第2の斜め方向に隣接する画素の画素データが互いに等しいか否かを判定し、等しいと判定した場合は、前記対象画素と前記第2の斜め方向の前記隣接画素間に位置する前記補間対象画素に前記対象画素の画素データを設定する第5のステップと、
前記第5のステップにおいて、前記対象画素に対して第2の斜め方向に隣接する画素の画素データが互いに等しくないと判定した場合、前記対象画素に対し水平方向および垂直方向に隣接する前記隣接画素のうち、互いに隣接する前記隣接画素の画素データが等しく、かつ画素データが等しい前記隣接画素どうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていないかどうかを判定し、この判定条件が満足する場合は、前記隣接する前記隣接画素どうしを結ぶ直線に最も近い前記補間対象画素に、前記隣接画素の画素データを設定する第6のステップと、
前記第6のステップにおける判定条件が満足しないと判定された場合、前記補間対象画素に画素データが設定されているか否かを判定し、設定されていないと判定された場合は、前記補間対象画素に前記対象画素の画素データを設定する第7のステップと、を有することを特徴とする画像の解像度変換方法。When enlarging an image in a horizontal direction or a vertical direction, a 2 × 2 interpolation target pixel is generated for the target pixel constituting the image, and predetermined pixel data is set in the interpolation target pixel, thereby reducing the resolution. A method for converting the resolution of an image to be converted, the first step of initializing pixel data of the interpolation target pixel;
It is determined whether pixel data of pixels adjacent in the horizontal direction and vertical direction of the target pixel and pixel data of the target pixel are equal to each other. If it is determined that they are equal, the target pixel is included in all of the interpolation target pixels. A second step of setting data;
In the second step, when it is determined that there is pixel data that is not equal to the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel, It is determined whether or not the pixel data of all the pixels adjacent in the direction and the pixel data of the target pixel are equal to each other. If it is determined that the pixel data are equal to each other, a third target pixel data is set to all the interpolation target pixels Steps,
In the third step, when it is determined that there is pixel data that is not equal to pixel data of all pixels adjacent to the target pixel in an oblique direction and pixel data of the target pixel, It is determined whether or not pixel data of pixels adjacent in one diagonal direction are equal to each other, and when it is determined that they are equal, the interpolation target pixel located between the target pixel and the adjacent pixel in the first diagonal direction A fourth step of setting pixel data of the target pixel to
In the fourth step, when it is determined that pixel data of pixels adjacent to the target pixel in the first diagonal direction are not equal to each other, pixel data adjacent to the target pixel in the second diagonal direction It is determined whether or not the pixel data are equal to each other. If it is determined that the pixel data are equal to each other, the pixel data of the target pixel is set in the interpolation target pixel located between the target pixel and the adjacent pixel in the second diagonal direction. A fifth step to:
In the fifth step, when it is determined that pixel data of pixels adjacent to the target pixel in the second oblique direction are not equal to each other, the adjacent pixel adjacent to the target pixel in the horizontal direction and the vertical direction Of the adjacent pixels adjacent to each other, and whether or not pixel data is set for the interpolation target pixel closest to a straight line connecting the adjacent pixels having the same pixel data. If the condition is satisfied, a sixth step of setting pixel data of the adjacent pixel to the interpolation target pixel closest to a straight line connecting the adjacent pixels;
If it is determined that the determination condition in the sixth step is not satisfied, it is determined whether or not pixel data is set for the interpolation target pixel. If it is determined that the pixel data is not set, the interpolation target pixel is determined. And a seventh step of setting pixel data of the target pixel in the image resolution conversion method.
画像に関する詳細データを参照して、前記画像のアドレス信号であるCGアドレス信号を生成する第1のステップと、
画像を拡大する際に、前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素と特定の斜め方向に隣接する画素の画素データが互いに等しいと判定した場合、もしくは前記対象画素に対して特定の斜め方向に隣接する画素の画素データが等しくなく、かつ隣接する画素の画素データどうしも等しくなく、かつ前記隣接する画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記対象画素の画素データを設定し、前記対象画素に対して特定の斜め方向に隣接する画素の画素データが互いに等しくなく、かつ隣接する画素の画素データどうしが等しく、かつ前記画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記隣接画素の画素データを設定するように、前記CGアドレス信号を参照して修飾CGアドレス信号を生成する第2のステップと、
前記修飾CGアドレス信号を参照してカラーパレットに対する修飾カラーパレットアドレスを生成する第3のステップと、
前記修飾カラーパレットアドレスを参照して、画素データから色情報に変換しこの色情報を基にしてカラー画像表示装置に表示画面を生成する第4のステップと、を有する画像の解像度変換方法。When enlarging an image in a horizontal direction or a vertical direction, a 2 × 2 interpolation target pixel is generated for the target pixel constituting the image, and predetermined pixel data is set in the interpolation target pixel, thereby reducing the resolution. A resolution conversion method for an image to be converted,
A first step of generating a CG address signal that is an address signal of the image with reference to detailed data relating to the image;
When enlarging an image, when it is determined that the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel are equal to each other, or adjacent to the target pixel in an oblique direction When it is determined that the pixel data of all pixels and the pixel data of the target pixel are equal to each other, or when it is determined that the pixel data of pixels adjacent to the target pixel in a specific diagonal direction are equal to each other, or On the other hand, pixel data of pixels adjacent in a specific oblique direction are not equal, pixel data of adjacent pixels are not equal, and pixel data is present in the interpolation target pixel closest to a straight line connecting the adjacent pixel data. If it is not set, pixel data of the target pixel is set to the interpolation target pixel, and the special pixel is set for the target pixel. If the pixel data of pixels adjacent in the diagonal direction are not equal to each other, the pixel data of adjacent pixels are equal, and no pixel data is set for the interpolation target pixel closest to the straight line connecting the pixel data A second step of generating a modified CG address signal with reference to the CG address signal so as to set pixel data of the adjacent pixel to the interpolation target pixel ;
A third step of generating a modified color palette address for a color palette with reference to the modified CG address signal;
And a fourth step of converting the pixel data into color information with reference to the modified color palette address and generating a display screen on the color image display device based on the color information.
画像に関する詳細データを参照して、前記画像のアドレス信号であるCGアドレス信号を生成する第1のステップと、
前記CGアドレス信号を参照してカラーパレットに対するカラーパレットアドレスを生成する第2のステップと、
画像を拡大する際に、前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素 に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素と特定の斜め方向に隣接する画素の画素データが互いに等しいと判定した場合、もしくは前記対象画素に対して特定の斜め方向に隣接する画素の画素データが等しくなく、かつ隣接する画素の画素データどうしも等しくなく、かつ前記隣接する画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記対象画素の画素データを設定し、前記対象画素に対して特定の斜め方向に隣接する画素の画素データが互いに等しくなく、かつ隣接する画素の画素データどうしが等しく、かつ前記画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記隣接画素の画素データを設定するように、前記カラーパレットアドレスを参照して修飾カラーパレットアドレスを生成する第3のステップと、
前記修飾カラーパレットアドレスを参照して、画素データから色情報に変換しこの色情報を基にしてカラー画像表示装置に表示画面を生成する第4のステップと、を有する画像の解像度変換方法。When enlarging an image in a horizontal direction or a vertical direction, a 2 × 2 interpolation target pixel is generated for the target pixel constituting the image, and predetermined pixel data is set in the interpolation target pixel, thereby reducing the resolution. A resolution conversion method for an image to be converted,
A first step of generating a CG address signal that is an address signal of the image with reference to detailed data relating to the image;
A second step of generating a color palette address for a color palette with reference to the CG address signal;
When enlarging an image, when it is determined that the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel are equal to each other, or adjacent to the target pixel in an oblique direction When it is determined that the pixel data of all pixels and the pixel data of the target pixel are equal to each other, or when it is determined that the pixel data of pixels adjacent to the target pixel in a specific diagonal direction are equal to each other, or On the other hand, pixel data of pixels adjacent in a specific oblique direction are not equal, pixel data of adjacent pixels are not equal, and pixel data is present in the interpolation target pixel closest to a straight line connecting the adjacent pixel data. If it is not set, pixel data of the target pixel is set to the interpolation target pixel, and the special pixel is set for the target pixel. If the pixel data of pixels adjacent in the diagonal direction are not equal to each other, the pixel data of adjacent pixels are equal, and no pixel data is set for the interpolation target pixel closest to the straight line connecting the pixel data A third step of generating a modified color palette address with reference to the color palette address so as to set pixel data of the adjacent pixel to the interpolation target pixel ;
And a fourth step of converting the pixel data into color information with reference to the modified color palette address and generating a display screen on the color image display device based on the color information.
画像に関する詳細データを参照して、前記画像のアドレス信号であるCGアドレス信号を生成する第1のステップと、
前記CGアドレス信号を参照してカラーパレットに対するカラーパレットアドレスを生成する第2のステップと、
前記カラーパレットアドレスを参照して、前記画素データから色情報に変換し画像書き込み信号を出力する第3のステップと、
画像を拡大する際に、前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素と特定の斜め方向に隣接する画素の画素データが互いに等しいと判定した場合、もしくは前記対象画素に対して特定の斜め方向に隣接する画素の画素データが等しくなく、かつ隣接する画素の画素データどうしも等しくなく、かつ前記隣接する画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記対象画素の画素データを設定し、前記対象画素に対して特定の斜め方向に隣接する画素の画素データが互いに等しくなく、かつ隣接する画素の画素データどうしが等しく、かつ前記画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記隣接画素の画素データを設定するように、前記画像書き込み信号を参照して修飾画像書き込み信号を生成する第4のステップと、
前記修飾画像書き込み信号を参照して、カラー画像表示装置に表示画面を生成する第5のステップと、を有する画像の解像度変換方法。 When enlarging an image in a horizontal direction or a vertical direction, a 2 × 2 interpolation target pixel is generated for the target pixel constituting the image, and predetermined pixel data is set in the interpolation target pixel, thereby reducing the resolution. A resolution conversion method for an image to be converted,
A first step of generating a CG address signal that is an address signal of the image with reference to detailed data relating to the image;
A second step of generating a color palette address for a color palette with reference to the CG address signal;
A third step of referring to the color palette address and converting the pixel data into color information and outputting an image write signal;
When enlarging an image, when it is determined that the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel are equal to each other, or adjacent to the target pixel in an oblique direction When it is determined that the pixel data of all pixels and the pixel data of the target pixel are equal to each other, or when it is determined that the pixel data of pixels adjacent to the target pixel in a specific diagonal direction are equal to each other, or On the other hand, pixel data of pixels adjacent in a specific oblique direction are not equal, pixel data of adjacent pixels are not equal, and pixel data is present in the interpolation target pixel closest to a straight line connecting the adjacent pixel data. If it is not set, pixel data of the target pixel is set to the interpolation target pixel, and the special pixel is set for the target pixel. If the pixel data of pixels adjacent in the diagonal direction are not equal to each other, the pixel data of adjacent pixels are equal, and no pixel data is set for the interpolation target pixel closest to the straight line connecting the pixel data A fourth step of generating a modified image writing signal with reference to the image writing signal so as to set pixel data of the adjacent pixel to the interpolation target pixel ;
And a fifth step of generating a display screen on the color image display device with reference to the modified image writing signal.
画像に関する詳細データを参照して、前記画像のアドレス信号であるCGアドレス信号を生成する第1のステップと、
前記CGアドレス信号を参照してカラーパレットに対するカラーパレットアドレスを生成する第2のステップと、
前記カラーパレットアドレスを参照して、前記画素データから色情報に変換し画像書き込み信号を出力する第3のステップと、
前記画像書き込み信号を参照して画像データを表示メモリに格納する第4のステップと、
画像を拡大する際に、前記対象画素の水平方向および垂直方向に隣接する画素の画素デー タと前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素と特定の斜め方向に隣接する画素の画素データが互いに等しいと判定した場合、もしくは前記対象画素に対して特定の斜め方向に隣接する画素の画素データが等しくなく、かつ隣接する画素の画素データどうしも等しくなく、かつ前記隣接する画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記対象画素の画素データを設定し、前記対象画素に対して特定の斜め方向に隣接する画素の画素データが互いに等しくなく、かつ隣接する画素の画素データどうしが等しく、かつ前記画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記隣接画素の画素データを設定するように、前記表示メモリに格納された前記画像データから修飾画像データを生成する第5のステップと、
前記修飾画像データを参照して、カラー画像表示装置に表示画面を生成する第6のステップと、を有する画像の解像度変換方法。When enlarging an image in a horizontal direction or a vertical direction, a 2 × 2 interpolation target pixel is generated for the target pixel constituting the image, and predetermined pixel data is set in the interpolation target pixel, thereby reducing the resolution. A resolution conversion method for an image to be converted,
A first step of generating a CG address signal that is an address signal of the image with reference to detailed data relating to the image;
A second step of generating a color palette address for a color palette with reference to the CG address signal;
A third step of referring to the color palette address and converting the pixel data into color information and outputting an image write signal;
A fourth step of storing image data in a display memory with reference to the image writing signal;
When enlarging an image, if the horizontal direction and the vertical direction to the pixel data of pixels adjacent to the target pixel and the pixel data of the target pixel is determined to be equal to each other, or diagonally adjacent to said target pixel The pixel data of all the pixels and the pixel data of the target pixel are determined to be equal to each other, or the pixel data of the pixel adjacent to the target pixel in a specific diagonal direction are equal to each other, or the target pixel Pixel data of pixels adjacent in a specific diagonal direction are not equal, pixel data of adjacent pixels are not equal, and pixel data is closest to the interpolation target pixel closest to a straight line connecting the adjacent pixel data Is not set, the pixel data of the target pixel is set to the interpolation target pixel, and the special pixel is set for the target pixel. If the pixel data of pixels adjacent in the diagonal direction are not equal to each other, the pixel data of adjacent pixels are equal, and no pixel data is set for the interpolation target pixel closest to the straight line connecting the pixel data A fifth step of generating modified image data from the image data stored in the display memory so as to set pixel data of the adjacent pixels to the interpolation target pixel ;
And a sixth step of generating a display screen on the color image display device with reference to the modified image data.
前記レジスタ制御信号を入力し、図形のアドレス信号に対応するCGアドレス信号を出力する読み出し手段と、
画像を拡大する際に、前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素と特定の斜め方向に隣接する画素の画素データが互いに等しいと判定した場合、もしくは前記対象画素に対して特定の斜め方向に隣接する画素の画素データが等しくなく、かつ隣接する画素の画素データどうしも等しくなく、かつ前記隣接する画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記対象画素の画素データを設定し、前記対象画素に対して特定の斜め方向に隣接する画素の画素データが互いに等しくなく、かつ隣接する画素の画素データどうしが等しく、かつ前記画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記隣接画素の画素データを設定するように、前記CGアドレス信号を参照して修飾CGアドレス信号を生成する画像解析手段と、
前記修飾CGアドレス信号を参照してカラーパレットに対する修飾カラーパレットアドレスを生成するCGメモリと、
前記修飾カラーパレットアドレスを参照して、画素データから色情報に変換し画像書き込み信号を生成するカラーパレット処理手段と、
前記画像書き込み信号を参照して、カラー画像表示装置に表示画面を生成する表示手段と、を有する画像の解像度変換装置。Various register means for outputting a register control signal including graphic information;
Reading means for inputting the register control signal and outputting a CG address signal corresponding to the address signal of the figure;
When enlarging an image, when it is determined that the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel are equal to each other, or adjacent to the target pixel in an oblique direction When it is determined that the pixel data of all pixels and the pixel data of the target pixel are equal to each other, or when it is determined that the pixel data of pixels adjacent to the target pixel in a specific diagonal direction are equal to each other, or On the other hand, pixel data of pixels adjacent in a specific oblique direction are not equal, pixel data of adjacent pixels are not equal, and pixel data is present in the interpolation target pixel closest to a straight line connecting the adjacent pixel data. If it is not set, pixel data of the target pixel is set to the interpolation target pixel, and the special pixel is set for the target pixel. If the pixel data of pixels adjacent in the diagonal direction are not equal to each other, the pixel data of adjacent pixels are equal, and no pixel data is set for the interpolation target pixel closest to the straight line connecting the pixel data Image analysis means for generating a modified CG address signal with reference to the CG address signal so as to set pixel data of the adjacent pixel to the interpolation target pixel ;
A CG memory that generates a modified color palette address for a color palette with reference to the modified CG address signal;
Color palette processing means for converting the pixel data into color information and generating an image writing signal with reference to the modified color palette address;
A display means for generating a display screen on the color image display device with reference to the image writing signal;
前記レジスタ制御信号を入力し、図形のアドレス信号に対応するCGアドレス信号を出力する読み出し手段と、
前記CGアドレス信号を参照してカラーパレットに対するカラーパレットアドレスを生成するCGメモリと、
画像を拡大する際に、前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素と特定の斜め方向に隣接する画素の画素データが互いに等しいと判定した場合、もしくは前記対象画素に対して特定の斜め方向に隣接する画素の画素データが等しくなく、かつ隣接する画素の画素データどうしも等しくなく、かつ前記隣接する画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記対象画素の画素データを設定 し、前記対象画素に対して特定の斜め方向に隣接する画素の画素データが互いに等しくなく、かつ隣接する画素の画素データどうしが等しく、かつ前記画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記隣接画素の画素データを設定するように、前記カラーパレットアドレスを参照して修飾カラーパレットアドレス信号を生成する画像解析手段と、
前記修飾カラーパレットアドレスを参照して、画素データから色情報に変換し画像書き込み信号を生成するカラーパレット処理手段と、
前記画像書き込み信号を参照して、カラー画像表示装置に表示画面を生成する表示手段と、を有する画像の解像度変換装置。Various register means for outputting a register control signal including graphic information;
Reading means for inputting the register control signal and outputting a CG address signal corresponding to the address signal of the figure;
A CG memory that generates a color palette address for a color palette with reference to the CG address signal;
When enlarging an image, when it is determined that the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel are equal to each other, or adjacent to the target pixel in an oblique direction When it is determined that the pixel data of all pixels and the pixel data of the target pixel are equal to each other, or when it is determined that the pixel data of pixels adjacent to the target pixel in a specific diagonal direction are equal to each other, or On the other hand, pixel data of pixels adjacent in a specific oblique direction are not equal, pixel data of adjacent pixels are not equal, and pixel data is present in the interpolation target pixel closest to a straight line connecting the adjacent pixel data. If not set, sets the pixel data of the target pixel in the interpolation target pixel, JP with respect to the target pixel If the pixel data of pixels adjacent in the diagonal direction are not equal to each other, the pixel data of adjacent pixels are equal, and no pixel data is set for the interpolation target pixel closest to the straight line connecting the pixel data Image analysis means for generating a modified color palette address signal with reference to the color palette address so as to set pixel data of the adjacent pixel to the interpolation target pixel ;
Color palette processing means for converting the pixel data into color information and generating an image writing signal with reference to the modified color palette address;
A display means for generating a display screen on the color image display device with reference to the image writing signal;
前記レジスタ制御信号を入力し、図形のアドレス信号に対応するCGアドレス信号を出力する読み出し手段と、
前記CGアドレス信号を参照してカラーパレットに対するカラーパレットアドレスを生成するCGメモリと、
前記カラーパレットアドレスを参照して、前記画素データから色情報に変換し画像書き込み信号を出力するカラーパレット処理手段と、
画像を拡大する際に、前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素と特定の斜め方向に隣接する画素の画素データが互いに等しいと判定した場合、もしくは前記対象画素に対して特定の斜め方向に隣接する画素の画素データが等しくなく、かつ隣接する画素の画素データどうしも等しくなく、かつ前記隣接する画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記対象画素の画素データを設定し、前記対象画素に対して特定の斜め方向に隣接する画素の画素データが互いに等しくなく、かつ隣接する画素の画素データどうしが等しく、かつ前記画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記隣接画素の画素データを設定するように、前記画像書き込み信号を参照して修飾画像書き込み信号を生成する画像解析手段と、
前記修飾画像書き込み信号を参照して、カラー画像表示装置に表示画面を生成する表示手段と、を有する画像の解像度変換装置。Various register means for outputting a register control signal including graphic information;
Reading means for inputting the register control signal and outputting a CG address signal corresponding to the address signal of the figure;
A CG memory that generates a color palette address for a color palette with reference to the CG address signal;
Referring to the color palette address, color palette processing means for converting the pixel data into color information and outputting an image write signal;
When enlarging an image, when it is determined that the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel are equal to each other, or adjacent to the target pixel in an oblique direction When it is determined that the pixel data of all pixels and the pixel data of the target pixel are equal to each other, or when it is determined that the pixel data of pixels adjacent to the target pixel in a specific diagonal direction are equal to each other, or On the other hand, pixel data of pixels adjacent in a specific oblique direction are not equal, pixel data of adjacent pixels are not equal, and pixel data is present in the interpolation target pixel closest to a straight line connecting the adjacent pixel data. If it is not set, pixel data of the target pixel is set to the interpolation target pixel, and the special pixel is set for the target pixel. If the pixel data of pixels adjacent in the diagonal direction are not equal to each other, the pixel data of adjacent pixels are equal, and no pixel data is set for the interpolation target pixel closest to the straight line connecting the pixel data An image analysis means for generating a modified image writing signal with reference to the image writing signal so as to set pixel data of the adjacent pixel to the interpolation target pixel ;
An image resolution conversion apparatus comprising: display means for generating a display screen on the color image display apparatus with reference to the modified image writing signal.
前記レジスタ制御信号を入力し、図形のアドレス信号に対応するCGアドレス信号を出力する読み出し手段と、
前記CGアドレス信号を参照してカラーパレットに対するカラーパレットアドレスを生成するCGメモリと、
前記カラーパレットアドレスを参照して、前記画素データから色情報に変換し画像書き込み信号を出力するカラーパレット処理手段と、
前記画像書き込み信号を参照して画像データを格納する表示メモリと、
画像を拡大する際に、前記対象画素の水平方向および垂直方向に隣接する画素の画素データと前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素に対し斜め方向に隣接する全画素の画素データおよび前記対象画素の画素データとが互いに等しいと判定した場合、もしくは前記対象画素と特定の斜め方向に隣接する画素の画素データが互いに等しいと判定した場合、もしくは前記対象画素に対して特定の斜め方向に隣接する画素の画素データが等しくなく、かつ隣接する画素の画素データどうしも等しくなく、かつ前記隣接する画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記対象画素の画素データを設定し、前記対象画素に対して特定の斜め方向に隣接する画素の画素データが互いに等しくな く、かつ隣接する画素の画素データどうしが等しく、かつ前記画素データどうしを結ぶ直線に最も近い前記補間対象画素に画素データが設定されていない場合は、前記補間対象画素に前記隣接画素の画素データを設定するように、前記画像データを参照して修飾画像データを前記表示メモリに出力する画像解析手段と、
前記修飾画像データを参照して、カラー画像表示装置に表示画面を生成する表示手段と、を有する画像の解像度変換装置。Various register means for outputting a register control signal including graphic information;
Reading means for inputting the register control signal and outputting a CG address signal corresponding to the address signal of the figure;
A CG memory that generates a color palette address for a color palette with reference to the CG address signal;
Referring to the color palette address, color palette processing means for converting the pixel data into color information and outputting an image write signal;
A display memory for storing image data with reference to the image writing signal;
When enlarging an image, when it is determined that the pixel data of the pixel adjacent to the target pixel in the horizontal direction and the vertical direction and the pixel data of the target pixel are equal to each other, or adjacent to the target pixel in an oblique direction When it is determined that the pixel data of all pixels and the pixel data of the target pixel are equal to each other, or when it is determined that the pixel data of pixels adjacent to the target pixel in a specific diagonal direction are equal to each other, or On the other hand, pixel data of pixels adjacent in a specific oblique direction are not equal, pixel data of adjacent pixels are not equal, and pixel data is present in the interpolation target pixel closest to a straight line connecting the adjacent pixel data. If it is not set, pixel data of the target pixel is set to the interpolation target pixel, and the special pixel is set for the target pixel. Of the pixel data of the pixels adjacent in an oblique direction equally rather each other and equal pixel data each other of the adjacent pixels, and nearest the interpolation target pixel in the pixel data to a straight line connecting the pixel data with each other is not set In this case, image analysis means for outputting modified image data to the display memory with reference to the image data so as to set pixel data of the adjacent pixels to the interpolation target pixel ,
An image resolution conversion apparatus comprising: display means for generating a display screen on the color image display apparatus with reference to the modified image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001153389A JP3623463B2 (en) | 2001-05-23 | 2001-05-23 | Image resolution conversion apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001153389A JP3623463B2 (en) | 2001-05-23 | 2001-05-23 | Image resolution conversion apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002351453A JP2002351453A (en) | 2002-12-06 |
JP3623463B2 true JP3623463B2 (en) | 2005-02-23 |
Family
ID=18997914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001153389A Expired - Fee Related JP3623463B2 (en) | 2001-05-23 | 2001-05-23 | Image resolution conversion apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3623463B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4470930B2 (en) | 2006-09-21 | 2010-06-02 | ソニー株式会社 | Image processing apparatus, image processing method, and program |
JP4868249B2 (en) * | 2007-10-10 | 2012-02-01 | 株式会社Jvcケンウッド | Video signal processing device |
JP6523638B2 (en) | 2014-09-11 | 2019-06-05 | シナプティクス・ジャパン合同会社 | Display panel driver, display device, image processing apparatus and image processing method |
-
2001
- 2001-05-23 JP JP2001153389A patent/JP3623463B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2002351453A (en) | 2002-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5909219A (en) | Embedding a transparency enable bit as part of a resizing bit block transfer operation | |
US7876378B1 (en) | Method and apparatus for filtering video data using a programmable graphics processor | |
US6466220B1 (en) | Graphics engine architecture | |
US6275234B1 (en) | Display control system and method for controlling display of three-dimensional graphics data | |
US7656416B2 (en) | Apparatus for generating anti-aliased and stippled 3d lines, points and surfaces using multi-dimensional procedural texture coordinates | |
US6864892B2 (en) | Graphics data synchronization with multiple data paths in a graphics accelerator | |
EP0399663A1 (en) | An electronic image progressing system | |
JP4707782B2 (en) | Image processing apparatus and method | |
JP3792149B2 (en) | Image processing apparatus and image processing program | |
US20010048771A1 (en) | Image processing method and system for interpolation of resolution | |
JP3623463B2 (en) | Image resolution conversion apparatus and method | |
US6867778B2 (en) | End point value correction when traversing an edge using a quantized slope value | |
JP2005077522A (en) | Image processor and image processing method | |
US20050104893A1 (en) | Three dimensional image rendering apparatus and three dimensional image rendering method | |
US6943791B2 (en) | Z-slope test to optimize sample throughput | |
JPH09259290A (en) | Drawing method | |
US20030160794A1 (en) | Arbitration scheme for efficient parallel processing | |
US6900803B2 (en) | Method for rasterizing graphics for optimal tiling performance | |
US20050024386A1 (en) | System and method for a single-pass multiple tap filter | |
US6927775B2 (en) | Parallel box filtering through reuse of existing circular filter | |
JP3503136B2 (en) | Pixel interpolation device and pixel interpolation method | |
JP3000855B2 (en) | Character graphic processing device and information processing device | |
JPH06223199A (en) | Image composing device | |
JP2000076432A (en) | Image data interpolation device, image data interpolation method, and medium recording image data interpolation program | |
JPH07311568A (en) | Method and device for outputting image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20040126 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040330 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040531 |
|
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: 20041102 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041124 |
|
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 |