JP4336230B2 - Image processing method, image processing apparatus, and computer program - Google Patents
Image processing method, image processing apparatus, and computer program Download PDFInfo
- Publication number
- JP4336230B2 JP4336230B2 JP2004093137A JP2004093137A JP4336230B2 JP 4336230 B2 JP4336230 B2 JP 4336230B2 JP 2004093137 A JP2004093137 A JP 2004093137A JP 2004093137 A JP2004093137 A JP 2004093137A JP 4336230 B2 JP4336230 B2 JP 4336230B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- generating
- pixels
- processing apparatus
- processing
- 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 - Lifetime
Links
- 238000003672 processing method Methods 0.000 title claims description 25
- 238000004590 computer program Methods 0.000 title claims description 22
- 238000000034 method Methods 0.000 claims description 59
- 230000008569 process Effects 0.000 claims description 34
- 238000009499 grossing Methods 0.000 claims description 12
- 238000001914 filtration Methods 0.000 description 15
- 230000007246 mechanism Effects 0.000 description 15
- 238000002156 mixing Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000015572 biosynthetic process Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000003786 synthesis reaction Methods 0.000 description 9
- 230000009467 reduction Effects 0.000 description 8
- 239000000203 mixture Substances 0.000 description 7
- 230000000007 visual effect Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000002194 synthesizing effect Effects 0.000 description 4
- 238000009877 rendering Methods 0.000 description 3
- 230000000638 stimulation Effects 0.000 description 3
- 239000002131 composite material Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
Images
Description
本発明は、ビットマップ画像を処理する画像処理方法、その画像処理方法を適用した画像処理装置、及びその画像処理装置を実現するためのコンピュータプログラムに関し、特に画像に対して擬似的なハレーション等の視覚効果を生じさせる画像処理方法、画像処理装置、及びコンピュータプログラムに関する。 The present invention relates to an image processing method for processing the bitmap image, the image processing method an image processing apparatus according to the, and relates to a computer program for realizing the image processing apparatus, a pseudo-halation especially for image the image processing method of generating a visual effect equal, the image processing apparatus, and relates to a computer program.
ビデオゲーム装置等の画像処理装置において、出力すべき画像に対し、擬似的にハレーション及び透過光処理等の画像処理がなされる場合があり、このような画像処理を行うことで、画像の印象が強くなるという効果を生じさせる。 In an image processing apparatus such as a video game apparatus, image processing such as halation and transmitted light processing may be performed on an image to be output in a pseudo manner. By performing such image processing, an image impression is obtained. It produces the effect of becoming stronger.
しかしながら擬似的なハレーション及び透過光処理等の画像処理を、例えばピクセルシェーダ等の技術を用いて行う場合、処理負荷が大きくなるという問題があり、高速な描画処理が要求されるゲーム中の動画に対して適用したときには、滑らかな動きの表現が困難であるという問題がある。 However, when image processing such as pseudo-halation and transmitted light processing is performed using a technique such as a pixel shader, for example, there is a problem that the processing load becomes large, and it is difficult to add a moving image in a game that requires high-speed drawing processing. When applied to this, there is a problem that it is difficult to express smooth motion.
本発明は斯かる事情に鑑みてなされたものであり、原画像の画素数を減じて縮小し、縮小した画像を原画像の大きさに拡大し、拡大した画像を形成する隣接した画素間の色差を平滑化し、色差を平滑化した画像を半透明化して原画像に重ねることにより、擬似的なハレーション及び透過光処理等の画像処理に要する処理負荷を軽減することが可能であり、従って動画に対して適用した場合でも滑らかな動きを容易に表現することが可能な画像処理方法、その画像処理方法を適用した画像処理装置、及びその画像処理装置を実現するためのコンピュータプログラムの提供を目的とする。 The present invention has been made in view of such circumstances, and reduces the number of pixels of the original image to reduce the size, enlarges the reduced image to the size of the original image, and between adjacent pixels forming the enlarged image. By smoothing the color difference, translucent the image with the smoothed color difference and overlaying it on the original image, it is possible to reduce the processing load required for image processing such as pseudo halation and transmitted light processing. the image processing method capable of easily expressing a smooth motion even when applied to, the image processing method an image processing apparatus according to the, and to provide a computer program for realizing the image processing apparatus Objective.
請求項1に記載の本発明は、複数の画素にて形成されるビットマップ画像を処理する画像処理装置を用いた画像処理方法であって、前記画像処理装置は、第1画像の画素数を減じて縮小した第2画像を生成し、該第2画像を不透明化して第1画像に重ね、該第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成し、該第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成し、該第4画像を半透明化して第1画像に重ねた第5画像を生成し、該第5画像内の第2画像に対応する箇所を所定の画像に置換した第6画像を生成することを特徴とする画像処理方法である。
The present invention according to
本発明に従えば、複数の画素にて形成されるビットマップ画像を処理する画像処理装置を用いた画像処理方法は、画像処理装置により、第1画像の画素数を減じて縮小した第2画像を生成し、該第2画像を不透明化して第1画像に重ね、該第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成し、該第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成し、該第4画像を半透明化して第1画像に重ねた第5画像を生成し、該第5画像内の第2画像に対応する箇所を所定の画像に置換した第6画像を生成する。 According to the present invention, an image processing method using an image processing apparatus that processes a bitmap image formed by a plurality of pixels includes a second image reduced by reducing the number of pixels of the first image by the image processing apparatus. generates, superimposed on the first image by opacifying the second image to generate a third image obtained by enlarging a portion corresponding to the second image within the first image to the size of the first image, said Generating a fourth image in which color differences between adjacent pixels forming three images are smoothed, generating a fifth image that is translucent to the fourth image, and overlaying the first image ; A sixth image is generated by replacing a portion corresponding to the second image with a predetermined image .
本発明の画像処理方法では、原画像を一度縮小した後、元の大きさに拡大することで、見かけ上の解像度が低いモザイク状の画像を生成し、解像度が低い画像をバイリニアフィルタリング等の処理方法を用いて画素間の色差を平滑化することで、ピントがぼけた状態を模した画像を生成し、ピントがぼけた状態の画像を半透明化して原画像に重ねるアルファブレンド等の処理により擬似的なハレーションが施された画像を生成する。そして本発明の画像処理方法では、第1画像を縮小することにより生成した第2画像を第1画像に重ねた画像を生成し、また第5画像内の第2画像に対応する箇所を、所定の画像に置換、例えば黒色にて覆う処理を行う。 In the image processing method of the present invention, the original image is reduced once and then enlarged to the original size to generate a mosaic-like image with a low apparent resolution, and the low resolution image is processed by bilinear filtering or the like. By smoothing the color difference between the pixels using this method, an image simulating the out-of-focus state is generated, and the image in the out-of-focus state is made translucent and processed by alpha blending to overlay the original image. An image with pseudo-halation is generated. In the image processing method of the present invention, an image obtained by superimposing the second image generated by reducing the first image on the first image is generated, and a position corresponding to the second image in the fifth image is determined in advance. For example, a process of covering with black is performed.
この構成により、拡大、縮小、アルファブレンドによる合成等の簡単な処理と、バイリニアフィルタリング等の予め装置が備えている機能を用いた処理とにより、擬似的なハレーション等の画像処理を、過大な処理負荷を要することなく実現することが可能であり、画像処理に要する処理負荷を低減することができるので、例えばビデオゲームにて表現される動画処理に適用した場合でも、滑らかな動きの動画を容易に表現することが可能である。そしてこの構成により、第1画像を記憶する描画バッファメモリに第2画像を記憶させることができるので、描画バッファメモリ以外の記憶領域を他の情報の記憶に用いることができるため記憶領域の有効活用が可能であり、また第2画像に対応する箇所を例えば黒色にて覆うことで最終的に表示させる画像には第2画像の痕跡が表示されることを防止する。 With this configuration, image processing such as pseudo-halation is overprocessed by simple processing such as enlargement, reduction, synthesis by alpha blending, and processing using functions provided in advance such as bilinear filtering. It can be implemented without requiring a load, and the processing load required for image processing can be reduced. For example, even when applied to video processing expressed in a video game, smooth motion video can be easily obtained. It is possible to express With this configuration, since the second image can be stored in the drawing buffer memory for storing the first image, a storage area other than the drawing buffer memory can be used for storing other information, so that the storage area can be effectively used. Further, by covering the portion corresponding to the second image with, for example, black, it is possible to prevent the trace of the second image from being displayed on the image to be finally displayed.
請求項3に記載の本発明は、複数の画素にて形成されるビットマップ画像を処理する画像処理装置であって、第1画像の画素数を減じて縮小した第2画像を生成する手段と、該第2画像を不透明化して第1画像に重ねる手段と、該第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成する手段と、該第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成する手段と、該第4画像を半透明化して第1画像に重ねた第5画像を生成する手段と、該第5画像内の第2画像に対応する箇所を所定の画像に置換した第6画像を生成する手段とを備えることを特徴とする画像処理装置である。 According to a third aspect of the present invention, there is provided an image processing apparatus for processing a bitmap image formed by a plurality of pixels, and means for generating a second image reduced by reducing the number of pixels of the first image. and means for superimposing the first image by opacifying the second image, means for generating a third image obtained by enlarging a portion corresponding to the second image within the first image to the size of the first image, the Means for generating a fourth image in which a color difference between adjacent pixels forming the third image is smoothed, means for generating a fifth image semi-transparently superimposed on the first image , and An image processing apparatus comprising: means for generating a sixth image in which a portion corresponding to the second image in the fifth image is replaced with a predetermined image .
本発明に従えば、複数の画素にて形成されるビットマップ画像を処理する画像処理装置は、第1画像の画素数を減じて縮小した第2画像を生成する手段と、該第2画像を不透明化して第1画像に重ねる手段と、該第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成する手段と、該第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成する手段と、該第4画像を半透明化して第1画像に重ねた第5画像を生成する手段と、該第5画像内の第2画像に対応する箇所を所定の画像に置換した第6画像を生成する手段とを備える。 According to the present invention, an image processing apparatus that processes a bitmap image formed by a plurality of pixels generates a second image reduced by reducing the number of pixels of the first image, and the second image forming means for superimposing the first image and opacifying, means for generating a third image obtained by enlarging a portion corresponding to the second image within the first image to the size of the first image, the third image Means for generating a fourth image in which the color difference between adjacent pixels is smoothed; means for generating a fifth image obtained by translucently transposing the fourth image onto the first image; and a fifth image in the fifth image. Means for generating a sixth image in which a portion corresponding to the two images is replaced with a predetermined image .
本発明の画像処理装置では、原画像を一度縮小した後、元の大きさに拡大することで、見かけ上の解像度が低いモザイク状の画像を生成し、解像度が低い画像をバイリニアフィルタリング等の処理方法を用いて画素間の色差を平滑化することで、ピントがぼけた状態を模した画像を生成し、ピントがぼけた状態の画像を半透明化して原画像に重ねるアルファブレンド等の処理により擬似的なハレーションが施された画像を生成する。そして本発明の画像処理装置では、第1画像を縮小することにより生成した第2画像を第1画像に重ねた画像を生成し、また第5画像内の第2画像に対応する箇所を、所定の画像に置換、例えば黒色にて覆う処理を行う。 In the image processing device of the present invention, the original image is reduced once and then enlarged to the original size, thereby generating a mosaic-like image with a low apparent resolution, and processing such as bilinear filtering for the low-resolution image. By smoothing the color difference between the pixels using this method, an image simulating the out-of-focus state is generated, and the image in the out-of-focus state is made translucent and processed by alpha blending to overlay the original image. An image with pseudo-halation is generated. In the image processing apparatus of the present invention, an image obtained by superimposing the second image generated by reducing the first image on the first image is generated, and a position corresponding to the second image in the fifth image is determined in advance. For example, a process of covering with black is performed.
この構成により、拡大、縮小、アルファブレンドによる合成等の簡単な処理と、バイリニアフィルタリング等の予め装置に組み込まれている機能を用いた処理とにより、擬似的なハレーション等の画像処理を、過大な処理負荷を要することなく実現することが可能であり、画像処理に要する処理負荷を低減することができるので、例えばビデオゲームにて表現される動画処理に適用した場合でも、滑らかな動きの動画を容易に表現することが可能である。そしてこの構成により、第1画像を記憶する描画バッファメモリに第2画像を記憶させることができるので、描画バッファメモリ以外の記憶領域を他の情報の記憶に用いることができるため記憶領域の有効活用が可能であり、また第2画像に対応する箇所を例えば黒色にて覆うことで最終的に表示させる画像には第2画像の痕跡が表示されることを防止する。 With this configuration, image processing such as pseudo-halation is excessively performed by simple processing such as enlargement, reduction, synthesis by alpha blending, and processing using functions pre-installed in the apparatus such as bilinear filtering. It can be realized without requiring a processing load, and the processing load required for image processing can be reduced. For example, even when applied to video processing expressed in a video game, a smooth motion video can be obtained. It can be expressed easily. With this configuration, since the second image can be stored in the drawing buffer memory for storing the first image, a storage area other than the drawing buffer memory can be used for storing other information, so that the storage area can be effectively used. Further, by covering the portion corresponding to the second image with, for example, black, it is possible to prevent the trace of the second image from being displayed on the image to be finally displayed.
請求項5に記載の本発明は、コンピュータに、複数の画素にて形成されるビットマップ画像を処理させるコンピュータプログラムであって、コンピュータに、第1画像の画素数を減じて縮小した第2画像を生成させる手順と、コンピュータに、生成した第2画像を不透明化して第1画像に重ねさせる手順と、コンピュータに、第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成させる手順と、コンピュータに、生成した第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成させる手順と、コンピュータに、生成した第4画像を半透明化して第1画像に重ねた第5画像を生成させる手順と、コンピュータに、生成した第5画像内の第2画像に対応する箇所を、所定の画像に置換した第6画像を生成させる手順とを実行させることを特徴とするコンピュータプログラムである。 The present invention according to claim 5 is a computer program for causing a computer to process a bitmap image formed by a plurality of pixels, wherein the second image is reduced by reducing the number of pixels of the first image. and procedures to generate a computer, the procedure causes superimposed on the first image by opacifying the second image generated, the computer, the portion corresponding to the second image within the first image to the size of the first image A procedure for generating an enlarged third image, a procedure for generating a fourth image in which a color difference between adjacent pixels forming the generated third image is smoothed, and a computer for generating the generated fourth image and procedures to generate a fifth image superimposed on the first image and semi-transparent, the computer, the portion corresponding to the second image of the generated in the fifth image, the sixth image is replaced with a predetermined image A computer program characterized by executing the steps which made.
本発明に従えば、コンピュータに、複数の画素にて形成されるビットマップ画像を処理させるコンピュータプログラムは、コンピュータに、第1画像の画素数を減じて縮小した第2画像を生成させる手順と、該第2画像を不透明化して第1画像に重ねさせる手順と、該第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成させる手順と、該第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成させる手順と、該第4画像を半透明化して第1画像に重ねた第5画像を生成させる手順と、該第5画像内の第2画像に対応する箇所を、所定の画像に置換した第6画像を生成させる手順とを実行させる。 According to the present invention, a computer program for causing a computer to process a bitmap image formed by a plurality of pixels causes the computer to generate a second image reduced by reducing the number of pixels of the first image; a step of causing superimposed on the first image to opacify the second image, the procedure for generating a third image obtained by enlarging a portion corresponding to the second image within the first image to the size of the first image, the A step of generating a fourth image in which a color difference between adjacent pixels forming the third image is smoothed; a step of generating a fifth image that is translucent to the fourth image and superimposed on the first image ; And a procedure for generating a sixth image in which a portion corresponding to the second image in the fifth image is replaced with a predetermined image .
本発明のコンピュータプログラムでは、ビデオゲーム装置等のコンピュータにて実行することにより、コンピュータが画像処理装置として動作し、原画像を一度縮小した後、元の大きさに拡大することで、見かけ上の解像度が低いモザイク状の画像を生成し、解像度が低い画像をバイリニアフィルタリング等の処理方法を用いて画素間の色差を平滑化することで、ピントがぼけた状態を模した画像を生成し、ピントがぼけた画像を半透明化して原画像に重ねるアルファブレンド等の処理により擬似的なハレーションが施された画像を生成する。そして本発明のコンピュータプログラムでは、第1画像を縮小することにより生成した第2画像を第1画像に重ねた画像を生成し、また第5画像内の第2画像に対応する箇所を、所定の画像に置換、例えば黒色にて覆う処理を行う。 In the computer program of the present invention, when executed on a computer such as a video game device, the computer operates as an image processing device, and after the original image is reduced once and then enlarged to the original size, the apparent size is increased. A mosaic-like image with low resolution is generated, and an image simulating the out-of-focus state is generated by smoothing the color difference between the pixels using a processing method such as bilinear filtering. An image subjected to pseudo halation is generated by a process such as alpha blending for translucent the blurred image and superimposing it on the original image. In the computer program of the present invention, an image obtained by superimposing the second image generated by reducing the first image on the first image is generated, and a portion corresponding to the second image in the fifth image is set to a predetermined position. The image is replaced, for example, covered with black.
この構成により、拡大、縮小、アルファブレンドによる合成等の簡単な処理と、バイリニアフィルタリング等の予めコンピュータに組み込まれている機能を用いた処理とにより、擬似的なハレーション等の画像処理を、過大な処理負荷を要することなく実現することが可能であり、画像処理に要する処理負荷を低減することができるので、例えばビデオゲームにて表現される動画処理に適用した場合でも、滑らかな動きの動画を容易に表現することが可能である。そしてこの構成により、第1画像を記憶する描画バッファメモリに第2画像を記憶させることができるので、描画バッファメモリ以外の記憶領域を他の情報の記憶に用いることができるため記憶領域の有効活用が可能であり、また第2画像に対応する箇所を例えば黒色にて覆うことで最終的に表示させる画像には第2画像の痕跡が表示されることを防止する。 With this configuration, image processing such as pseudo-halation is excessively performed by simple processing such as enlargement, reduction, synthesis by alpha blending, and processing using functions pre-installed in a computer such as bilinear filtering. It can be realized without requiring a processing load, and the processing load required for image processing can be reduced. For example, even when applied to video processing expressed in a video game, a smooth motion video can be obtained. It can be expressed easily. With this configuration, since the second image can be stored in the drawing buffer memory for storing the first image, a storage area other than the drawing buffer memory can be used for storing other information, so that the storage area can be effectively used. Further, by covering the portion corresponding to the second image with, for example, black, it is possible to prevent the trace of the second image from being displayed on the image to be finally displayed.
請求項2に記載の本発明は、複数の画素にて形成されるビットマップ画像を処理する画像処理装置を用いた画像処理方法であって、前記画像処理装置は、第1画像の明度を高くした第2画像を生成し、該第2画像に、該第2画像より小さい大きさの第3画像を重ねた第4画像を生成し、該第4画像の画素数を減じて縮小した第5画像を生成し、該第5画像を第4画像の大きさに拡大した第6画像を生成し、該第6画像を形成する隣接した画素間の色差を平滑化した第7画像を生成し、該第7画像を半透明化して第4画像に重ねた第8画像を生成することを特徴とする画像処理方法である。 The present invention is defined in claim 2, an image processing method using an image processing apparatus for processing a bitmap image to be formed by multiple pixels, the image processing apparatus, the brightness of the first image generating a second image high and the second image, the first to generate a fourth image of extensive third image of smaller size than the second image, by reducing by subtracting the number of pixels of the fourth image 5 image generates, the fifth image to generate a sixth image enlarged to the size of the fourth image, and generates a seventh image by smoothing the color differences between adjacent pixels forming the sixth image an image processing method characterized by generating an eighth image overlaid the seventh image in the fourth image and semi-transparent.
本発明に従えば、複数の画素にて形成されるビットマップ画像を処理する画像処理装置を用いた画像処理方法は、画像処理装置により、第1画像の明度を高くした第2画像を生成し、該第2画像に、該第2画像より小さい大きさの第3画像を重ねた第4画像を生成し、該第4画像の画素数を減じて縮小した第5画像を生成し、該第5画像を第4画像の大きさに拡大した第6画像を生成し、該第6画像を形成する隣接した画素間の色差を平滑化した第7画像を生成し、該第7画像を半透明化して第4画像に重ねた第8画像を生成する。 According to the present invention, an image processing method using an image processing apparatus for processing a bitmap image to be formed by multiple pixels, the image processing apparatus, generating a second image obtained by increasing the brightness of the first image and, wherein the second image to generate a fourth image of extensive third image of smaller size than the second image, to generate a fifth image reduced by subtracting the number of pixels of the fourth image, the the fifth image to generate a sixth image enlarged to the size of the fourth image, the sixth image to generate a seventh image by smoothing the color differences between adjacent pixels to form a semi the seventh image An eighth image that is transparent and superimposed on the fourth image is generated .
本発明の画像処理方法では、テニスコート等の背景として用いられる画像の明度を高くすることにより、所謂「白く飛ばした」画像を生成し、生成した画像に、背景の前面のレイヤとして描画すべきテニスプレイヤ等のキャラクタを示す画像を不透明化して重ねた画像を生成する。そして生成した画像を原画像とし、原画像を一度縮小した後、元の大きさに拡大することで、見かけ上の解像度が低いモザイク状の画像を生成し、解像度が低い画像をバイリニアフィルタリング等の処理方法を用いて画素間の色差を平滑化することで、ピントがぼけた状態を模した画像を生成し、ピントがぼけた状態の画像を半透明化して原画像に重ねるアルファブレンド等の処理により擬似的な透過光処理が施された画像を生成する。 In the image processing method of the present invention, by increasing the brightness of an image used as a background of a tennis court or the like, a so-called “white-blown” image should be generated, and the generated image should be drawn as a layer in front of the background An image in which an image showing a character such as a tennis player is made opaque is generated. Then, the generated image is used as an original image, and the original image is reduced once and then enlarged to the original size, thereby generating a mosaic-like image with a low apparent resolution. Processes such as alpha blending that smoothes the color difference between pixels using a processing method, generates an image that simulates the out-of-focus state, makes the in-focus image semi-transparent and overlays it on the original image Thus, an image subjected to pseudo transmitted light processing is generated.
この構成により、明度の調整、合成、拡大、縮小等の簡単な処理と、バイリニアフィルタリング等の予めコンピュータに組み込まれている機能を用いた処理とにより、擬似的な透過光処理等の画像処理を、過大な処理負荷を要することなく実現することが可能であり、画像処理に要する処理負荷を低減することができるので、例えばビデオゲームにて表現される動画処理に適用した場合でも、滑らかな動きの動画を容易に表現することが可能である。 With this configuration, image processing such as pseudo transmitted light processing can be performed by simple processing such as brightness adjustment, composition, enlargement, reduction, etc., and processing using functions pre-installed in a computer such as bilinear filtering. It can be realized without requiring an excessive processing load, and the processing load required for image processing can be reduced. For example, even when applied to video processing expressed in a video game, smooth motion Can be easily expressed.
請求項4、及び請求項6に記載の本発明は、請求項2に記載の本発明と対応する画像処理装置、及びコンピュータプログラムである。 The present invention described in claims 4 and 6 is an image processing apparatus and a computer program corresponding to the present invention described in claim 2 .
請求項1、請求項3、及び請求項5に記載の本発明によれば、複数の画素にて形成されるビットマップ画像を処理する画像処理装置を用い、第1画像の画素数を減じて縮小した第2画像を生成し、該第2画像を第1画像の大きさに拡大することで、見かけ上の解像度が低いモザイク状の第3画像を生成し、該第3画像を形成する隣接した画素間の色差を平滑化するバイリニアフィルタリング等の処理方法を用いてピントがぼけた状態を模した第4画像を生成し、該第4画像を半透明化して第1画像に重ねるアルファブレンド等の処理により第5画像を生成する。 According to the first , third, and fifth aspects of the present invention, an image processing apparatus that processes a bitmap image formed by a plurality of pixels is used, and the number of pixels of the first image is reduced. A reduced second image is generated, and the second image is enlarged to the size of the first image, thereby generating a third image having a low apparent resolution, and forming the third image. A fourth image that imitates the out-of-focus state using a processing method such as bilinear filtering that smoothes the color difference between the pixels, alpha blending that makes the fourth image semi-transparent and overlays the first image, etc. The fifth image is generated by the process.
この構成により、拡大、縮小、アルファブレンドによる合成等の簡単な処理と、バイリニアフィルタリング等の画像処理装置が備えている画像処理用のチップを用いた処理とにより、擬似的なハレーション等の画像処理を、過大な処理負荷を要することなく実現することが可能であり、画像処理に要する処理負荷を低減することができるので、例えばビデオゲームにて表現される動画処理に適用した場合でも、滑らかな動きの動画を容易に表現することが可能である。従って例えばテニスを模したビデオゲームに適用した場合、テニスプレイヤが必殺技を駆使する場面で効果的な視覚効果を演出することができるので、ビデオゲームに興じる遊技者が、ゲームの進行上、ゲームに対する興奮が最高潮に達する場面を、視覚効果の面から演出することになるため、ゲームに対する昂揚感を更に高めることが可能である等、優れた効果を奏する。 With this configuration, image processing such as pseudo-halation is achieved by simple processing such as enlargement, reduction, synthesis by alpha blending, and processing using an image processing chip provided in an image processing device such as bilinear filtering. Can be realized without requiring an excessive processing load, and the processing load required for image processing can be reduced. For example, even when applied to moving image processing expressed in a video game, smooth processing is possible. It is possible to easily express moving videos. Therefore, for example, when applied to a video game imitating tennis, an effective visual effect can be produced in a scene where a tennis player makes full use of a special technique, so that a player who enjoys a video game can play a game Since the scene in which the excitement of the game reaches its climax is produced from the viewpoint of visual effects, it is possible to further enhance the sense of excitement for the game, and the effects are excellent.
さらに請求項1、請求項3、及び請求項5に記載の本発明によれば、第1画像を縮小することにより生成した第2画像を第1画像に重ねた画像を生成し、また第5画像内の第2画像に対応する箇所を、所定の画像に置換、例えば黒色にて覆う処理を行う。
Furthermore according to
この構成により、第1画像を記憶する描画バッファメモリに第2画像を記憶させることができるため、描画バッファメモリ以外の記憶領域を他の情報の記憶に用いることができるので記憶領域の有効活用が可能である等、優れた効果を奏する。しかも第2画像に対応する箇所を例えば黒色にて覆うことで最終的に表示させる画像には第2画像の痕跡が表示されることが無く、このため表示される画像が遊技者に対して不自然な印象を与えることを防止することが可能である等、優れた効果を奏する。 With this configuration, since the second image can be stored in the drawing buffer memory that stores the first image, a storage area other than the drawing buffer memory can be used for storing other information. It has excellent effects such as being possible. In addition, the trace of the second image is not displayed on the image that is finally displayed by covering the portion corresponding to the second image with, for example, black, and thus the displayed image is not displayed to the player. It is possible to prevent a natural impression from being given, and an excellent effect is exhibited.
請求項2、請求項4、及び請求項6に記載の本発明によれば、複数の画素にて形成されるビットマップ画像を処理する画像処理装置を用い、テニスコート等の背景として用いられる第1画像の明度を高くすることにより、所謂「白く飛ばした」第2画像を生成し、該第2画像に、背景の前面のレイヤとして描画すべきテニスプレイヤ等のキャラクタを示す第3画像を不透明化して重ねた第4画像を生成する。そして生成した第4画像の画素数を減じて縮小した第5画像を生成し、該第5画像を第4画像の大きさに拡大することで、見かけ上の解像度が低いモザイク状の第6画像を生成し、該第6画像を形成する隣接した画素間の色差を平滑化するバイリニアフィルタリング等の処理方法を用いてピントがぼけた状態の第7画像を生成し、該第7画像を半透明化して第4画像に重ねるアルファブレンド等の処理により第8画像を生成する。 According to the second, fourth, and sixth aspects of the present invention, the image processing apparatus that processes a bitmap image formed by a plurality of pixels is used as a background of a tennis court or the like. By increasing the brightness of one image, a so-called “whitened” second image is generated, and a third image showing a character such as a tennis player to be drawn as a front layer on the background is opaque in the second image. A fourth image that is superimposed and generated is generated. Then, a fifth image that is reduced by reducing the number of pixels of the generated fourth image is generated, and the fifth image is enlarged to the size of the fourth image, whereby a sixth image having a low apparent resolution is obtained. Is generated using a processing method such as bilinear filtering that smoothes the color difference between adjacent pixels forming the sixth image, and the seventh image is translucent. Then, an eighth image is generated by processing such as alpha blending that is superimposed on the fourth image.
この構成により、明度の調整、合成、拡大、縮小等の簡単な処理と、バイリニアフィルタリング等の予め画像処理装置が備えている機能を用いた処理とにより、擬似的な透過光処理等の画像処理を、過大な処理負荷を要することなく実現することが可能であり、画像処理に要する処理負荷を低減することができるので、例えばビデオゲームにて表現される動画処理に適用した場合でも、滑らかな動きの動画を容易に表現することが可能である。従って例えばテニスを模したビデオゲームに適用した場合、テニスプレイヤが必殺技を駆使する場面で効果的な視覚効果を演出することができるので、ビデオゲームに興じる遊技者が、ゲームの進行上、ゲームに対する興奮が最高潮に達する場面を、視覚効果の面から演出することになるため、ゲームに対する昂揚感を更に高めることが可能である等、優れた効果を奏する。 With this configuration, image processing such as pseudo transmitted light processing is performed by simple processing such as brightness adjustment, composition, enlargement, and reduction, and processing using functions provided in the image processing apparatus in advance such as bilinear filtering. Can be realized without requiring an excessive processing load, and the processing load required for image processing can be reduced. For example, even when applied to moving image processing expressed in a video game, smooth processing is possible. It is possible to easily express moving videos. Therefore, for example, when applied to a video game imitating tennis, an effective visual effect can be produced in a scene where a tennis player makes full use of a special technique, so that a player who enjoys a video game can play a game Since the scene in which the excitement of the game reaches its climax is produced from the viewpoint of visual effects, it is possible to further enhance the sense of excitement for the game, and the effects are excellent.
以下、本発明をその実施の形態を示す図面に基づいて詳述する。 Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof.
実施の形態1.
図1は本発明の実施の形態1における画像処理装置100の構成を示すブロック図である。画像処理装置100は、家庭用ビデオゲーム装置を用いたコンピュータの一種であり、装置全体を制御するCPU(Central Processing Unit) 101、CPU101の制御に基づいて、画像データ及び音声データの生成処理等の信号処理を行う信号処理プロセッサ102、バイリニアフィルタリング等の画像の描画に関する処理を行う画像描画処理プロセッサ103、本発明のコンピュータプログラム201及びデータ等の各種情報を記録したROM(Read Only Memory)カートリッジ、CD−ROM(Compact Disc Read Only Memory) 、DVD−ROM(Digital Versatile Disc Read Only Memory) 等の記録媒体200から各種情報を読み取るスロット、CD(Compact Disc)ドライブ、DVD(Digital Versatile Disc)ドライブ等の補助記憶手段104、並びに計算データ、表示用の画像データ等の情報を一時的に記憶するRAM(Random Access Memory)105を備えている。
FIG. 1 is a block diagram showing a configuration of an
そして補助記憶手段104により記録媒体200に記録されている本発明のコンピュータプログラム201及びデータ等の各種情報を読み取り、RAM105に記憶させてCPU101により実行することで、家庭用ビデオゲーム装置として用いられているコンピュータは、本発明の画像処理装置100として動作する。なお記録媒体200には、本発明の画像処理方法を実行させるコンピュータプログラム201だけでなく、ビデオゲームを実行させる主プログラムが含まれており、本発明のコンピュータプログラム201による処理は、主プログラムの実行中に、表示すべき画像に対し擬似的なハレーション等の視覚効果を生じさせる場合に実行される。
Various information such as the
RAM105は、1個のメモリチップにて構成されるのではなく、記録するデータの大きさ及び利用頻度に応じて格納領域の大きさ及び読み取りの速度が異なる複数のメモリチップにて構成され、画像として表示すべき画像データを記録する描画バッファメモリ105a、画像の質感を示す模様を記録するテクスチャバッファメモリ105b等の様々な用途に用いられる。描画バッファメモリ105aに記録される画像データは、複数の画素にて形成されるビットマップ画像を表示するためのデータであり、表示すべき画像を形成する画素毎にR(Red) 成分、G(Green) 成分及びB(Blue)成分の夫々の刺激値を示すデータが記録される。また各刺激値は2の8乗、2の16乗、2の24乗等の複数の段階で分級された階級を示している。
The
画像描画処理プロセッサ103は、画像描画処理に要する様々な演算機能を備えており、その機能の一つとして画像を形成する各画素に対し、隣接した画素間の色差を加重平均して平滑化するバイリニアフィルタリングがある。なおここでいう色差とは、画像を構成する各成分の刺激値の差を示す数値である。
The
さらに画像処理装置100には、入力用インターフェース回路(I/F)106を介して専用コントローラ等の操作機構300が接続されており、操作機構300には、各種ボタン、アナログジョイスティック等の操作手段301が設けられている。
Furthermore, an
また画像処理装置100は、音声データの出力に用いられる音声出力用インターフェース回路(I/F)107を備え、音声出力用インターフェース回路107から出力されたデジタル信号である音声データは、音声用D/Aコンバータ(D/A)108によりアナログ信号に変換され、音声用D/Aコンバータ108により変換されたアナログ信号はプリメインアンプ109にて増幅された後、音声データに基づいて音声を出力するスピーカ等の音声出力機構400へ送出される。
The
さらに画像処理装置100は、画像データの出力に用いられる画像出力用インターフェース回路(I/F)110を備え、画像出力用インターフェース回路110から出力されたデジタル信号である画像データは、画像用D/Aコンバータ(D/A)111によりアナログ信号に変換され、画像データに基づいて画像を出力するテレビジョンモニタ等の表示機構500へ送出される。なお1台のテレビジョンモニタを、音声出力機構400及び表示機構500を兼用する装置として用いてもよい。
The
次に本発明の画像処理装置100にて実行される処理について説明する。図2は本発明の実施の形態1における画像処理装置100にて実行される処理を示すフローチャートである。例えばテニスを模したビデオゲームの実行中、テニスプレイヤが必殺技を駆使する場面において、本発明の画像処理装置100では、RAM105に記憶させたコンピュータプログラム201を実行するCPU101の制御により、図2を用いて説明する以下の処理を実行する。画像処理装置100は、本発明の画像処理方法の処理前の原画像にあたる第1画像の画素数を減じて縮小した第2画像を生成し(S101)、生成した第2画像を不透明化して第1画像に重ねる合成処理を行う(S102)。ステップS101における第2画像の生成処理とは、ビットマップ画像である第1画像の画素数を間引くことにより縮小する処理であり、例えば表示すべき画像の横方向の画素数が800で、縦方向の画素数が600(以降同様の画素数の表現を800×600という表記方法にて示す)である第1画像の画素を、横方向及び縦方向とも同じ比率で間引くことにより、画素数が80×60の第2画像を生成する処理である。このとき間引かれた後の画素に対するR成分、G成分及びB成分については必要に応じて色差の平滑化処理を行うようにしてもよい。なお第1画像は、描画バッファメモリ105aに記録され、ステップS101にて生成された第2画像は、テクスチャバッファメモリ105bに記録される。そしてステップS102において、テクスチャバッファメモリ105bに記録されている第2画像が読み出され、描画バッファメモリ105aに記録されている第1画像に合成する処理がなされる。なおステップS102における第2画像を不透明化して第1画像に重ねる処理とは、第1画像の前面のレイヤとして第2画像を合成し、第1画像と第2画像とが重なる箇所については第2画像を表示するようにする処理を示す。
Next, processing executed by the
図3及び図4は本発明の実施の形態1における画像処理装置100にて処理される画像を示す説明図である。図3は原画像である第1画像を示しており、テニスプレイヤの顔を示す画像が描画されている。図4はステップS102の合成処理にて生成される第2画像を不透明化して重ねた第1画像を示している。図4から明らかな様に、図4の左上隅には、図3に示す第1画像を縮小した第2画像が重ねられている。
3 and 4 are explanatory diagrams showing images processed by the
図2のフローチャートに戻り、画像処理装置100では、第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成する(S103)。ステップS103にて拡大を行うことで、第2画像より画素数の多い第3画像が生成されることになる。ただし第1画像の画素数を減じて縮小した第2画像を生成する段階で、間引かれた画素の色の成分等の情報が失われているため、第3画像は原画像である第1画像と同一の画像とはならない。例えば画素数が80×60である第2画像を拡大して画素数が800×600である第3画像を生成する場合、第2画像中の一の画素と、R成分、G成分及びB成分が同じである画素が10×10個存在する第3画像を生成することになる。
Returning to the flowchart of FIG. 2, the
図5は本発明の実施の形態1における画像処理装置100にて処理される画像を示す説明図である。図5は第2画像を拡大した第3画像を示している。図5に示す様に第2画像を拡大した第3画像は、第2画像中の一の画素と、R成分、G成分及びB成分が同じである画素を増加させることで画像の大きさを拡大した画像であるため、見かけ上の解像度が低いモザイク状の画像となる。
FIG. 5 is an explanatory diagram showing an image processed by the
図2のフローチャートに戻り、画像処理装置100では、第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成する(S104)。ステップS104おける平滑化処理は、画像描画処理プロセッサ103の演算機能の一つであるバイリニアフィルタリングを適用した演算により行われる。バイリニアフィルタリングは、拡大、縮小、回転、変形等の画像処理を行う場合の画像補間法の一種として用いられている周知技術であり、マトリクス状に配置される画像において、一の画素に隣接する四の画素の色差を平滑化するように線形の色差補間を行うことで一の画素の色成分を決定する。
Returning to the flowchart of FIG. 2, the
図6は本発明の実施の形態1における画像処理装置100にて処理される画像を示す説明図である。図6は第3画像を平滑化した第4画像を示している。図6に示す様に第3画像の隣接する画素間の色差を平滑化した第4画像は、画素間の色差が平滑化されているため隣接する画素同士は色差が小さく、第3画像の様な見かけ上の解像度の低さはないが、ピントがぼけた様な印象を与える画像となっている。
FIG. 6 is an explanatory diagram showing an image processed by the
図2のフローチャートに戻り、画像処理装置100では、第4画像を半透明化して第1画像に重ねた第5画像を生成する合成処理を行う(S105)。ステップS105における第4画像を半透明化して第1画像に重ねた第5画像を生成する処理とは、第1画像の前面のレイヤとして第4画像を合成する場合に、第4画像が半透明なため、第1画像が透けて見えるかの如き印象を与えるように合成する処理であり、第4画像を形成する画素と第1画像を形成する画素の両方の成分の影響を受ける画素にて第5画像は形成される。ここでは第4画像及び第1画像をアルファ値と呼ばれる係数を使って合成するアルファブレンドと呼ばれる方法を用いており、具体的には下記の式1によって、第4画像及び第1画像の各画素の成分毎の刺激値から、第5画像を形成する各画素の成分毎の刺激値を求める。なお第5画像は描画バッファメモリ105aに記録される。
Returning to the flowchart of FIG. 2, the
Zij=α・Xij+(1−α)Yij ……式1
但し、α:アルファ値(合成係数);0≦α≦1
Xij:重ねる画像(第4画像)中の座標が(i,j)である位置の画素の刺激値
Yij:元の画像(第1画像)中の座標が(i,j)である位置の画素の刺激値
Zij:合成画像(第5画像)中の座標が(i,j)である位置の画素の刺激値
Zij = α · Xij + (1−α)
Where α: alpha value (synthesis coefficient); 0 ≦ α ≦ 1
Xij: Stimulus value of the pixel at the position where the coordinates in the superimposed image (fourth image) are (i, j) Yij: The pixel at the position where the coordinates in the original image (first image) are (i, j) Stimulus value Zij: Stimulus value of the pixel at the position where the coordinates in the composite image (fifth image) are (i, j)
図7は本発明の実施の形態1における画像処理装置100にて処理される画像を示す説明図である。図7は第4画像を半透明化して第1画像に重ねることにより生成した第5画像を示している。図7に示す様に第4画像及び第1画像をアルファブレンドにより合成した第5画像は、頭髪、顔、体、目、鼻、口等の輪郭がぼけた状態の画像であり、第1画像に対して擬似的にハレーション処理を起こさせた画像となっている。但し左上隅に第2画像に対応する画像の痕跡が示されている。
FIG. 7 is an explanatory diagram showing an image processed by the
図2のフローチャートに戻り、画像処理装置100では、第5画像内の第2画像に対応する箇所を、所定の画像に置換した第6画像を生成し(S106)、生成した第6画像を示す画像データを画像出力用インターフェース回路110から画像用D/Aコンバータ111へ送り、画像用D/Aコンバータ111にてアナログ信号に変換し、アナログ信号に変換した画像データを表示機構500へ送出し(S107)、表示機構500では受け付けた画像データに基づく画像を表示する。
Returning to the flowchart of FIG. 2, the
図8は本発明の実施の形態1における画像処理装置100にて処理される画像を示す説明図である。図8は第5画像内の第2画像に対応する箇所を、所定の画像に置換した第6画像を示している。図8に示す例では、第2画像に対応する箇所を黒色の画像に置換している。また第2画像に対応する箇所だけでなく、第5画像内の上端部及び下端部を夫々帯状の黒色の画像に置換することで、第2画像に対応する箇所の置換が遊技者に対して不自然な印象を与えることを防止するとともに、画像全体が引き締まった印象を与えるという効果を奏している。
FIG. 8 is an explanatory diagram showing an image processed by the
このように本発明の実施の形態1では、拡大、縮小、合成等の簡単な処理と、画像描画処理プロセッサ103が備えている機能を用いた処理とにより、原画像に対して擬似的にハレーションを起こさせた画像を生成する。
As described above, according to the first embodiment of the present invention, halation is performed on the original image in a pseudo manner by simple processing such as enlargement, reduction, and composition, and processing using the function of the
実施の形態2.
実施の形態2は、実施の形態1において、擬似的なハレーションとは異なる画像処理を行う形態である。図9は本発明の実施の形態2における画像処理装置100の構成を示すブロック図である。なお実施の形態2における画像処理装置100の構成は、実施の形態1と同様であるので、実施の形態1と同一符号を付し、その説明を省略する。
Embodiment 2. FIG.
The second embodiment is a mode in which image processing different from the pseudo halation in the first embodiment is performed. FIG. 9 is a block diagram showing the configuration of the
本発明の画像処理装置100にて実行される処理について説明する。図10は本発明の実施の形態2における画像処理装置100にて実行される処理を示すフローチャートである。本発明の画像処理装置100では、RAM105に記憶させたコンピュータプログラム201を実行するCPU101の制御により、図10を用いて説明する以下の処理を実行する。画像処理装置100は、第1画像の明度を高くした第2画像を生成し(S201)、生成した第2画像に、該第2画像より小さい大きさの第3画像を不透明化して重ねた第4画像を生成する合成処理を行う(S202)。ステップS201及びS202において、第1画像は、本来の原画像にて最後面のレイヤとして描画される画像であり、第3画像は、本来の原画像にて第1画像より前面のレイヤとして描画される画像である。具体例としては、テニスを模したビデオゲームにおいて、第1画像は背景となる画像であり、第3画像は、テニスプレイヤの画像である。即ち、本来、第1画像の前面に第3画像を重ねて原画像を作成するところを、ステップS201及びS202においては、第1画像の明度を高く、具体的には第1画像の各成分の刺激値を大きくして、所謂「白く飛ばした」背景とした上で第3画像を重ねた第4画像を生成する合成処理を行う。
Processing executed in the
画像処理装置100は、第4画像の画素数を減じて縮小した第5画像を生成し(S203)、生成した第5画像を不透明化して第4画像に重ねる合成処理を行い(S204)、第4画像内の第5画像に対応する箇所を拡大して第6画像を生成し(S205)、生成した第6画像を形成する隣接した画素間の色差を平滑化した第7画像を生成し(S206)、第7画像を半透明化して第4画像に重ねた第8画像を生成する合成処理を行い(S207)、更に第8画像内の第4画像に対応する箇所を、所定の画像に置換した第9画像を生成する(S208)。そして画像処理装置100では、生成した第9画像を示す画像データを画像出力用インターフェース回路110から画像用D/Aコンバータ111へ送り、画像用D/Aコンバータ111にてアナログ信号に変換し、アナログ信号に変換した画像データを表示機構500へ送出し(S209)、表示機構500では受け付けた画像データに基づく画像を表示する。なお実施の形態2におけるステップS203〜S209の処理は、実施の形態1におけるステップS101〜S107の処理に対応する。
The
図11及び図12は本発明の実施の形態2における画像処理装置100にて処理される画像を示す説明図である。図11は原画像であり、図12はステップS208にて生成される第9画像を示している。なお図11に示す原画像は、図12に示す第9画像と比較するために画像内の上端部及び下端部を夫々帯状の黒色の画像に置換している。また図11に示す原画像とは、第1画像にて示される背景に第3画像にて示されるテニスプレイヤを合成した画像である。図11では、背景としてテニスコート及び審判台が描かれており、背景の前面にテニスプレイヤが描かれている。そして背景であるテニスコートのライン、ネット及びネットポストの輪郭が明確に描かれており、テニスプレイヤについても顔、体、腕、足、並びにラケット及びガットにいたるまで明確な輪郭で描かれている。これに対し図12では、ステップS201〜S208の処理により、背景の画像が白く飛ばされ、またプレイヤキャラクタの輪郭がぼやけた状態に描かれた擬似的な透過光処理が施されている。
11 and 12 are explanatory diagrams illustrating images processed by the
本発明の画像処理装置100を用いて、原画像に対し擬似的な透過光処理を施した画像を生成する方法としては、ステップS207にて第7画像を構成する全画素を半透明化して合成することで図12に示した様な画像を生成する方法だけでなく、ステップS207にて一部の画素のみを半透明化して合成することで擬似的な透過光処理を施した画像を生成することも可能である。具体的には、前述の式1にて示したアルファブレンドにより画像を合成する処理において、第3画像、即ちテニスプレイヤに該当する箇所の画素に対するアルファ値を0とする。第3画像に対応する画素のみアルファ値を0とすることにより、テニスプレイヤに該当する画素については、第7画像が透明化されて合成されることになるので、第4画像のテニスプレイヤに対応する画素、即ち原画像である第3画像がそのまま描画されることとなる。従って背景は白く飛ばされ輪郭がぼやけているが、テニスプレイヤのみ明確な輪郭で描かれることとなり、テニスプレイヤが画像全体から浮き上がっているかの如き印象を与える画像を生成することができる。この様な印象は第3画像に対応する箇所以外の画素、即ち背景に対応する画素のアルファ値を1に近付けることにより又は1とすることにより更に際だつこととなる。
As a method for generating an image obtained by subjecting the original image to pseudo transmitted light processing using the
前記実施の形態では、家庭用ビデオゲーム装置にてコンピュータプログラムを実行することにより本発明のビデオゲーム装置を実現する形態を示したが、本発明はこれに限らず、パーソナルコンピュータ等のコンピュータにて実現するようにしても良い。また第2画像の生成、第3画像の生成、第4画像の生成、第5画像の生成、第6画像の生成、第7画像の生成、及び第8画像の生成等の図2及び図10を用いて説明した各種処理を実行するROMチップを使用することにより、業務用のビデオゲーム装置に展開するようにしても良く、更には操作機構及び表示機構が一体となったビデオゲーム装置に適用するようにしても良い。 In the above embodiment, the video game apparatus of the present invention is realized by executing the computer program on the home video game apparatus. However, the present invention is not limited to this, and the present invention is not limited to this. It may be realized. 2 and 10, such as generation of the second image, generation of the third image, generation of the fourth image, generation of the fifth image, generation of the sixth image, generation of the seventh image, and generation of the eighth image. By using a ROM chip that executes various processes described with reference to the above, it may be developed in a commercial video game apparatus, and further applied to a video game apparatus in which an operation mechanism and a display mechanism are integrated. You may make it do.
なおビデオゲームとして表示する画像に対し、何らかの加工を施す技術は数多く発表されているが、擬似的なハレーション等の視覚効果を生じさせる画像処理方法として、本願発明に関連性が高いと考えられる内容を記載した先行技術文献を、本願出願人は出願時に発見することはできなかった。 A number of techniques for performing some kind of processing on an image displayed as a video game have been announced, but the contents considered to be highly relevant to the present invention as an image processing method that produces visual effects such as pseudo-halation. The applicant of the present application could not find the prior art document describing the above at the time of filing.
100 画像処理装置
101 CPU
102 信号処理プロセッサ
103 画像描画処理プロセッサ
104 補助記憶手段
105 RAM
106 入力用インターフェース回路
107 音声出力用インターフェース回路
108 音声用D/Aコンバータ
109 プリメインアンプ
110 画像出力用インターフェース回路
111 画像用D/Aコンバータ
200 記録媒体
201 コンピュータプログラム
300 操作機構
301 操作手段
400 音声出力機構
500 表示機構
100
102
DESCRIPTION OF
Claims (6)
前記画像処理装置は、
第1画像の画素数を減じて縮小した第2画像を生成し、
該第2画像を不透明化して第1画像に重ね、
該第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成し、
該第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成し、
該第4画像を半透明化して第1画像に重ねた第5画像を生成し、
該第5画像内の第2画像に対応する箇所を所定の画像に置換した第6画像を生成する
ことを特徴とする画像処理方法。 An image processing method using an image processing apparatus for processing a bitmap image formed by a plurality of pixels,
The image processing apparatus includes:
Generating a reduced second image by reducing the number of pixels of the first image;
Making the second image opaque and overlaying it on the first image;
Generating a third image obtained by enlarging a portion corresponding to the second image within the first image to the size of the first image,
Generating a fourth image in which the color difference between adjacent pixels forming the third image is smoothed;
Generating a fifth image that is translucent to the fourth image and superimposed on the first image ;
An image processing method comprising: generating a sixth image in which a portion corresponding to the second image in the fifth image is replaced with a predetermined image .
前記画像処理装置は、The image processing apparatus includes:
第1画像の明度を高くした第2画像を生成し、Generating a second image with increased brightness of the first image;
該第2画像に、該第2画像より小さい大きさの第3画像を重ねた第4画像を生成し、Generating a fourth image in which a third image smaller than the second image is superimposed on the second image;
該第4画像の画素数を減じて縮小した第5画像を生成し、Generating a reduced fifth image by reducing the number of pixels of the fourth image;
該第5画像を第4画像の大きさに拡大した第6画像を生成し、Generating a sixth image obtained by enlarging the fifth image to the size of the fourth image;
該第6画像を形成する隣接した画素間の色差を平滑化した第7画像を生成し、Generating a seventh image in which a color difference between adjacent pixels forming the sixth image is smoothed;
該第7画像を半透明化して第4画像に重ねた第8画像を生成するThe seventh image is made translucent to generate an eighth image superimposed on the fourth image.
ことを特徴とする画像処理方法。An image processing method.
第1画像の画素数を減じて縮小した第2画像を生成する手段と、Means for generating a reduced second image by reducing the number of pixels of the first image;
該第2画像を不透明化して第1画像に重ねる手段と、Means for making the second image opaque and superimposing it on the first image;
該第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成する手段と、Means for generating a third image in which a portion corresponding to the second image in the first image is enlarged to the size of the first image;
該第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成する手段と、Means for generating a fourth image in which a color difference between adjacent pixels forming the third image is smoothed;
該第4画像を半透明化して第1画像に重ねた第5画像を生成する手段と、Means for generating a fifth image obtained by translucently superposing the fourth image on the first image;
該第5画像内の第2画像に対応する箇所を所定の画像に置換した第6画像を生成する手段とMeans for generating a sixth image in which a portion corresponding to the second image in the fifth image is replaced with a predetermined image;
を備えることを特徴とする画像処理装置。An image processing apparatus comprising:
第1画像の明度を高くした第2画像を生成する手段と、Means for generating a second image with increased brightness of the first image;
該第2画像に、該第2画像より小さい大きさの第3画像を重ねた第4画像を生成する手段と、Means for generating a fourth image in which a third image smaller in size than the second image is superimposed on the second image;
該第4画像の画素数を減じて縮小した第5画像を生成する手段と、Means for generating a reduced fifth image by reducing the number of pixels of the fourth image;
該第5画像を第4画像の大きさに拡大した第6画像を生成する手段と、Means for generating a sixth image obtained by enlarging the fifth image to the size of the fourth image;
該第6画像を形成する隣接した画素間の色差を平滑化した第7画像を生成する手段と、Means for generating a seventh image obtained by smoothing a color difference between adjacent pixels forming the sixth image;
該第7画像を半透明化して第4画像に重ねた第8画像を生成する手段とMeans for making the seventh image translucent and generating an eighth image superimposed on the fourth image;
を備えることを特徴とする画像処理装置。An image processing apparatus comprising:
コンピュータに、第1画像の画素数を減じて縮小した第2画像を生成させる手順と、
コンピュータに、生成した第2画像を不透明化して第1画像に重ねさせる手順と、
コンピュータに、第1画像内の第2画像に対応する箇所を第1画像の大きさに拡大した第3画像を生成させる手順と、
コンピュータに、生成した第3画像を形成する隣接した画素間の色差を平滑化した第4画像を生成させる手順と、
コンピュータに、生成した第4画像を半透明化して第1画像に重ねた第5画像を生成させる手順と、
コンピュータに、生成した第5画像内の第2画像に対応する箇所を、所定の画像に置換した第6画像を生成させる手順と
を実行させることを特徴とするコンピュータプログラム。 A computer program for causing a computer to process a bitmap image formed by a plurality of pixels,
Causing the computer to generate a second image reduced by reducing the number of pixels of the first image;
Making the computer opaque the generated second image and superimposing it on the first image;
A procedure for causing a computer to generate a third image in which a portion corresponding to the second image in the first image is enlarged to the size of the first image;
A step of causing a computer to generate a fourth image in which a color difference between adjacent pixels forming the generated third image is smoothed;
A procedure for causing a computer to generate a fifth image that is translucent and superimposed on the first image;
A computer program for causing a computer to execute a procedure for generating a sixth image in which a portion corresponding to the second image in the generated fifth image is replaced with a predetermined image .
コンピュータに、第1画像の明度を高くした第2画像を生成させる手順と、
コンピュータに、生成した第2画像に、該第2画像より小さい大きさの第3画像を重ねた第4画像を生成させる手順と、
コンピュータに、生成した第4画像の画素数を減じて縮小した第5画像を生成させる手順と、
コンピュータに、生成した第5画像を第4画像の大きさに拡大した第6画像を生成させる手順と、
コンピュータに、生成した第6画像を形成する隣接した画素間の色差を平滑化した第7画像を生成させる手順と、
コンピュータに、生成した第7画像を半透明化して第4画像に重ねた第8画像を生成させる手順と
を実行させることを特徴とするコンピュータプログラム。 A computer, a computer program for processing the bit map image formed by a plurality of pixels,
Causing the computer to generate a second image having a higher brightness of the first image;
A procedure for causing a computer to generate a fourth image in which a third image having a size smaller than the second image is superimposed on the generated second image;
A step of causing a computer to generate a reduced fifth image by reducing the number of pixels of the generated fourth image;
Causing the computer to generate a sixth image obtained by enlarging the generated fifth image to the size of the fourth image;
A step of causing a computer to generate a seventh image in which a color difference between adjacent pixels forming the generated sixth image is smoothed;
A computer program for causing a computer to execute a procedure of making the generated seventh image translucent and generating an eighth image superimposed on the fourth image .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004093137A JP4336230B2 (en) | 2004-03-26 | 2004-03-26 | Image processing method, image processing apparatus, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004093137A JP4336230B2 (en) | 2004-03-26 | 2004-03-26 | Image processing method, image processing apparatus, and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005284371A JP2005284371A (en) | 2005-10-13 |
JP4336230B2 true JP4336230B2 (en) | 2009-09-30 |
Family
ID=35182726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004093137A Expired - Lifetime JP4336230B2 (en) | 2004-03-26 | 2004-03-26 | Image processing method, image processing apparatus, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4336230B2 (en) |
-
2004
- 2004-03-26 JP JP2004093137A patent/JP4336230B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2005284371A (en) | 2005-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4399910B2 (en) | Image processing apparatus and method including blending processing | |
JP4917346B2 (en) | Game image processing program and game image processing apparatus | |
US20030189568A1 (en) | Image with depth of field using z-buffer image data and alpha blending | |
US20060072041A1 (en) | Image synthesis apparatus, electrical apparatus, image synthesis method, control program and computer-readable recording medium | |
JP3529759B2 (en) | Image processing program, computer-readable recording medium storing image processing program, program execution device, image processing device, and image processing method | |
JP3715222B2 (en) | Drawing method, drawing device, drawing processing program, recording medium recording drawing processing program, and drawing processing program execution device | |
JP3338021B2 (en) | Three-dimensional image processing device and readable recording medium storing three-dimensional image processing program | |
JP3527672B2 (en) | Computer-readable recording medium recording a three-dimensional computer image processing program, shadow drawing processing method, and video game apparatus | |
JP2005077522A (en) | Image processor and image processing method | |
JP4794811B2 (en) | Image processing program and image processing apparatus | |
JP4336230B2 (en) | Image processing method, image processing apparatus, and computer program | |
JP4995054B2 (en) | GAME PROGRAM, RECORDING MEDIUM CONTAINING THE GAME PROGRAM, AND COMPUTER | |
JP4151234B2 (en) | Image composition processing device | |
JP5209654B2 (en) | Display device, display method, and program | |
JP3643796B2 (en) | Program, information storage medium, and game device | |
JP2002163671A (en) | Game system, program and information storage medium | |
JP4656617B2 (en) | GAME SYSTEM, PROGRAM, AND INFORMATION STORAGE MEDIUM | |
JP2009140135A5 (en) | ||
JP3910259B2 (en) | Image processing apparatus and method, and rendering apparatus and method | |
US6697082B1 (en) | Program product storing image display program, image display program, image display method, and game system | |
JP4231684B2 (en) | GAME DEVICE AND GAME PROGRAM | |
JP4913898B2 (en) | GAME SYSTEM, PROGRAM, AND INFORMATION STORAGE MEDIUM | |
JP7083319B2 (en) | Image generator and image generation method | |
JP3652586B2 (en) | Image drawing system | |
JP3642952B2 (en) | Image composition method and apparatus, and information processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060417 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20060427 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20060519 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090216 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090224 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090424 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090520 |
|
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: 20090623 |
|
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: 20090626 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120703 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4336230 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130703 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130703 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140703 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |