JP2000354200A - Image processor, image processing method, and computer- readable information recording medium recording image processing program - Google Patents

Image processor, image processing method, and computer- readable information recording medium recording image processing program

Info

Publication number
JP2000354200A
JP2000354200A JP11199381A JP19938199A JP2000354200A JP 2000354200 A JP2000354200 A JP 2000354200A JP 11199381 A JP11199381 A JP 11199381A JP 19938199 A JP19938199 A JP 19938199A JP 2000354200 A JP2000354200 A JP 2000354200A
Authority
JP
Japan
Prior art keywords
value
image
pixel
pixels
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11199381A
Other languages
Japanese (ja)
Inventor
Kenzo Matsumoto
賢三 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to JP11199381A priority Critical patent/JP2000354200A/en
Publication of JP2000354200A publication Critical patent/JP2000354200A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Studio Circuits (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate a smooth fade-in or fade-out video image. SOLUTION: This image processor 2 divides pixels of 1st and 2nd pictures into a plurality of groups consisting of the pixels scattered to the entire pictures, repetitively and sequentially selects each group and sequentially reads a value of each pixel of the selected group from 1st and 2nd storage means 4, 6. An arithmetic means 12 multiplies a weight with the read pixel value and sums products to generate a new pixel value, and a write control means 14 stores the new pixel value to a corresponding storage address of a 3rd storage means 8. Then a weight control means 16 sets the relatively larger weight that the arithmetic means 12 multiplies with the pixel value read from the 1st storage means 4 every time the read control means 10 reads values of pixels of one entire group.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、表示装置の画面上
で画像をフェードインまたはフェードアウトさせる画像
処理技術に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing technique for fading an image in or out on a screen of a display device.

【0002】[0002]

【従来の技術】パーソナルコンピュータなどの表示装置
の画面におて、ある画像を最初は弱く表示し、その後、
しだいに強くしていく映像、すなわち、画像をフェード
インさせる映像を表示する場合、上記画像を構成する各
画素に重み(すなわち係数)を乗じ、得られた画素値に
よる画像を順次表示し、1枚の画像を表示するごとに上
記重みをしだい大きくして上記演算および表示を繰り返
すという方法が採られる。
2. Description of the Related Art On a screen of a display device such as a personal computer, a certain image is first displayed weakly, and thereafter,
In the case of displaying an image that is gradually strengthened, that is, an image in which an image is faded in, each pixel constituting the image is multiplied by a weight (that is, a coefficient), and an image based on the obtained pixel values is sequentially displayed. A method is adopted in which the above-mentioned calculation and display are repeated by increasing the weight each time a sheet of image is displayed.

【0003】ところで、画像が、たとえば横に1024
画素、縦に768画素のマトリクス状に配列した画素に
より構成されているとすると、総画素数は1024×7
68画素となり、したがって、フェードイン途中の1枚
の画像を生成するためには、上述した重みづけの演算を
786432回行う必要がある。赤、緑、青の3色によ
りカラー画像を表示する場合には、各色ごとに演算を行
わなければならず、演算回数は上記回数を3倍して23
59296回となる。
[0003] By the way, an image is, for example, 1024 horizontal.
If it is composed of pixels and pixels arranged in a matrix of 768 pixels vertically, the total number of pixels is 1024 × 7
Therefore, in order to generate one image in the middle of fade-in, it is necessary to perform the above-described weighting operation 786432 times. When a color image is displayed in three colors of red, green, and blue, the calculation must be performed for each color.
59296 times.

【0004】[0004]

【発明が解決しようとする課題】しかし、現在のパーソ
ナルコンピュータなどの性能水準では、このような多数
回の重みづけを、記憶手段へのアクセス時間なども含め
て短時間で行うことは困難であり、したがって、フェー
ドイン途中の1枚の画像を生成するために長時間を要
し、画面に表示される映像は、円滑にフェードインせ
ず、段階的に変化するものとなってしまう。画像をフェ
ードアウトさせる場合には、上記重みをしだいに小さく
することになるが、演算処理の内容は基本的に同じであ
るため、フェードアウトにおいても同様の問題が発生す
る。
However, at the current performance level of personal computers and the like, it is difficult to perform such a large number of weightings in a short time including the time for accessing the storage means. Therefore, it takes a long time to generate one image in the middle of the fade-in, and the video displayed on the screen does not fade in smoothly and changes gradually. When the image is faded out, the weight is gradually reduced. However, since the content of the arithmetic processing is basically the same, a similar problem occurs in the fade-out.

【0005】本発明はこのような問題を解決するために
なされたもので、その目的は、ハードウェアやソフトウ
ェアの性能が比較的低くても、またサイズの大きいカラ
ー画像であっても、表示装置の画面上で、画像を円滑に
フェードインまたはフェードアウトさせることが可能な
画像処理装置、画像処理方法、ならびに画像処理プログ
ラムを記録したコンピュータ読み取り可能な情報記録媒
体を提供することにある。
The present invention has been made to solve such a problem, and an object of the present invention is to provide a display device which has a relatively low performance of hardware and software and a large color image. It is an object of the present invention to provide an image processing apparatus, an image processing method, and a computer-readable information recording medium on which an image processing program is recorded, in which an image can be smoothly faded in or faded out on a screen.

【0006】[0006]

【課題を解決するための手段】本発明は、上記目的を達
成するため、多数の画素により構成された画像の各画素
の値を保持する記憶手段を備え、前記記憶手段が保持す
る画素値にもとづいて新たな画素値を生成する画像処理
装置であって、前記画像を構成する画素を、画像全体に
分散した画素から成る複数のグループに分割し、各グル
ープを順番に、かつ繰り返し選択して、選択したグルー
プを構成する各画素の値を順次、前記記憶手段から読み
出す読み出し制御手段と、前記読み出し制御手段が前記
記憶手段から読み出した画素値に重みを乗じて新たな画
素値を生成する演算手段と、前記読み出し制御手段が、
1つのグループ全体の画素の値または複数のグループ全
体の画素の値を読み出すごとに、前記演算手段が画素値
に乗じる前記重みをより大きい値またはより小さい値に
設定する重み制御手段とを含むことを特徴とする。
In order to achieve the above object, the present invention comprises storage means for holding the value of each pixel of an image composed of a large number of pixels, and stores the pixel value held by the storage means. An image processing apparatus for generating a new pixel value based on the image, dividing the pixels constituting the image into a plurality of groups of pixels dispersed throughout the image, and selecting each group in order and repeatedly. Reading control means for sequentially reading the values of the pixels constituting the selected group from the storage means, and calculating the weighting of the pixel values read from the storage means by the read control means to generate new pixel values Means, the read control means,
Weight control means for setting the weight by which the arithmetic means multiplies a pixel value to a larger value or a smaller value each time the value of a pixel in one entire group or the value of a pixel in a plurality of groups is read out. It is characterized by.

【0007】本発明の画像処理装置では、読み出し制御
手段は、画像を構成する画素を、画像全体に分散した画
素から成る複数のグループに分割し、各グループを順番
に、かつ繰り返し選択して、選択したグループを構成す
る各画素の値を順次、記憶手段から読み出す。演算手段
は、読み出し制御手段が記憶手段から読み出した画素値
に重みを乗じて新たな画素値を生成する。そして、重み
制御手段は、読み出し制御手段が、1つのグループ全体
の画素の値または複数のグループ全体の画素の値を読み
出すごとに、演算手段が記憶手段からの画素値に乗じる
重みをより大きい値またはより小さい値に設定する。し
たがって、演算手段が生成した画素値をたとえば他の記
憶手段にいったん格納し、表示装置におけるラスタスキ
ャンに応じて上記他の記憶手段が保持する画素値を順番
に読み出し、同画素値にもとづき映像信号を生成して表
示装置に供給すれば、表示装置の画面には、画像がフェ
ードインまたはフェードアウトする映像が表示される。
[0007] In the image processing apparatus of the present invention, the reading control means divides the pixels constituting the image into a plurality of groups of pixels dispersed throughout the image, and selects each group sequentially and repeatedly. The values of the pixels constituting the selected group are sequentially read from the storage unit. The arithmetic unit multiplies the pixel value read from the storage unit by the read control unit with a weight to generate a new pixel value. Each time the readout control unit reads the pixel value of the entire group or the pixel values of the plurality of groups, the weight control unit increases the weight by which the arithmetic unit multiplies the pixel value from the storage unit by a larger value. Or set to a smaller value. Therefore, the pixel values generated by the arithmetic means are temporarily stored in, for example, another storage means, and the pixel values held by the other storage means are sequentially read out in accordance with the raster scan in the display device. Is generated and supplied to the display device, a video in which the image fades in or out is displayed on the screen of the display device.

【0008】また、本発明は、多数の画素により構成さ
れた画像の各画素の値を保持する記憶手段を用い、前記
記憶手段が保持する画素値にもとづいて新たな画素値を
生成する画像処理方法であって、前記画像を構成する画
素を、画像全体に分散した画素から成る複数のグループ
に分割し、各グループを順番に、かつ繰り返し選択し
て、選択したグループを構成する各画素の値を順次、前
記記憶手段から読み出す読み出し制御ステップと、前記
読み出し制御ステップで前記記憶手段から読み出した画
素値に重みを乗じて新たな画素値を生成する演算ステッ
プと、前記読み出し制御ステップで、1つのグループ全
体の画素の値または複数のグループ全体の画素の値を読
み出すごとに、前記演算ステップで画素値に乗じる前記
重みをより大きい値またはより小さい値に設定する重み
制御ステップとを含むことを特徴とする。
Further, the present invention uses a storage means for storing the value of each pixel of an image composed of a large number of pixels, and generates a new pixel value based on the pixel value stored in the storage means. A method comprising: dividing the pixels that make up the image into a plurality of groups of pixels that are distributed throughout the image; selecting each group in turn and repeatedly to determine the value of each pixel that makes up the selected group. A reading control step of sequentially reading out from the storage means, an operation step of generating a new pixel value by multiplying the pixel value read from the storage means in the reading control step by a weight, and one read control step. Each time the value of the pixel of the whole group or the value of the pixel of the whole group is read, the weight multiplied by the pixel value in the calculation step is set to a larger value. Other is characterized in that it comprises a weight control step of setting to a smaller value.

【0009】また、本発明は、多数の画素により構成さ
れた画像の各画素の値を保持する記憶手段を用い、前記
記憶手段が保持する画素値にもとづいて新たな画素値を
生成する画像処理プログラ ムを記録したコンピュー
タ読み取り可能な情報記録媒体であって、前記画像処理
プログラムは、前記画像を構成する画素を、画像全体に
分散した画素から成る複数のグループに分割し、各グル
ープを順番に、かつ繰り返し選択して、選択したグルー
プを構成する各画素の値を順次、前記記憶手段から読み
出す読み出し制御ステップと、前記読み出し制御ステッ
プで前記記憶手段から読み出した画素値に重みを乗じて
新たな画素値を生成する演算ステップと、前記読み出し
制御ステップで、1つのグループ全体の画素の値または
複数のグループ全体の画素の値を読み出すごとに、前記
演算ステップで画素値に乗じる前記重みをより大きい値
またはより小さい値に設定する重み制御ステップとを含
むことを特徴とする。
Further, the present invention uses a storage means for storing the value of each pixel of an image composed of a large number of pixels, and generates a new pixel value based on the pixel value stored in the storage means. A computer-readable information recording medium on which a program is recorded, wherein the image processing program divides pixels constituting the image into a plurality of groups of pixels dispersed throughout the image, and sequentially divides each group. A read control step of sequentially selecting the values of the pixels constituting the selected group from the storage means, and repeatedly multiplying the pixel values read from the storage means in the read control step by a weight to obtain a new value. A calculating step of generating a pixel value, and the reading control step, wherein the pixel values of one group as a whole or a plurality of group A weight control step of setting the weight by which the pixel value is multiplied in the calculation step to a larger value or a smaller value every time a pixel value is read.

【0010】本発明の画像処理方法、および本発明のコ
ンピュータ読み取り可能な情報記録媒体に記録された画
像処理プログラムでは、読み出し制御ステップにおい
て、画像を構成する画素を、画像全体に分散した画素か
ら成る複数のグループに分割し、各グループを順番に、
かつ繰り返し選択して、選択したグループを構成する各
画素の値を順次、記憶手段から読み出す。演算ステップ
では、読み出し制御ステップで記憶手段から読み出した
画素値に重みを乗じて新たな画素値を生成する。そし
て、重み制御ステップでは、読み出し制御ステップで1
つのグループ全体の画素の値または複数のグループ全体
の画素の値を読み出すごとに、演算ステップにおいて記
憶手段からの画素値に乗じる重みをより大きい値または
より小さい値に設定する。したがって、演算ステップで
生成した画素値をたとえば他の記憶手段にいったん格納
し、表示装置におけるラスタスキャンに応じて上記他の
記憶手段が保持する画素値を順番に読み出し、同画素値
にもとづき映像信号を生成して表示装置に供給すれば、
表示装置の画面には、画像がフェードインまたはフェー
ドアウトする映像が表示される。
According to the image processing method of the present invention and the image processing program recorded on the computer-readable information recording medium of the present invention, in the read control step, the pixels constituting the image are composed of pixels dispersed over the entire image. Divide into multiple groups, each group in turn,
In addition, the values of the pixels constituting the selected group are sequentially read out from the storage unit by repeatedly selecting. In the calculation step, a new pixel value is generated by multiplying the pixel value read from the storage unit in the read control step by a weight. In the weight control step, 1 is used in the read control step.
Each time the value of the pixel of one group or the value of the pixel of a plurality of groups is read, the weight for multiplying the pixel value from the storage means in the calculation step is set to a larger value or a smaller value. Therefore, the pixel values generated in the operation step are temporarily stored in, for example, another storage means, and the pixel values held by the other storage means are sequentially read out in accordance with the raster scan in the display device, and the video signal is stored based on the pixel values. Is generated and supplied to the display device,
On the screen of the display device, a video in which an image fades in or out is displayed.

【0011】[0011]

【発明の実施の形態】次に本発明の実施の形態例につい
て図面を参照して説明する。図1は本発明による画像処
理装置の一例を示すブロック図、図2は図1に示した画
像処理装置の動作を示すフローチャート、図3は図1の
画像処理装置を構成するコンピュータを示すブロック図
である。以下では、これらの図面を参照して本発明の画
像処理装置の一例について説明し、同時に本発明の画像
処理方法および画像処理プログラムを記録したコンピュ
ータ読み取り可能な情報記録媒体の実施の形態例につい
て説明する。
Embodiments of the present invention will be described below with reference to the drawings. 1 is a block diagram showing an example of the image processing apparatus according to the present invention, FIG. 2 is a flowchart showing the operation of the image processing apparatus shown in FIG. 1, and FIG. 3 is a block diagram showing a computer constituting the image processing apparatus shown in FIG. It is. Hereinafter, an example of an image processing apparatus of the present invention will be described with reference to these drawings, and at the same time, an embodiment of a computer-readable information recording medium that stores an image processing method and an image processing program of the present invention will be described. I do.

【0012】図1に示した画像処理装置2は第1ないし
第3の記憶手段4、6、8、読み出し制御手段10、演
算手段12、書き込み制御手段14、ならびに重み制御
手段16を含んで構成され、具体的には、たとえば図3
に示したコンピュータ18により実現されている。コン
ピュータ18は、図のように、CPU20、メモリ2
2、ハードディスクドライブ装置24、フロッピーディ
スクドライブ装置25、CD−ROMドライブ装置2
6、表示制御部28、表示装置30、キーボード32、
マウス34などにより構成されている。
The image processing apparatus 2 shown in FIG. 1 includes first to third storage means 4, 6, 8, read control means 10, arithmetic means 12, write control means 14, and weight control means 16. Specifically, for example, FIG.
Is realized by the computer 18 shown in FIG. The computer 18 includes a CPU 20 and a memory 2 as shown in FIG.
2, hard disk drive 24, floppy disk drive 25, CD-ROM drive 2
6, display control unit 28, display device 30, keyboard 32,
It is composed of a mouse 34 and the like.

【0013】上記第1ないし第2の記憶手段4、6は、
本実施の形態例ではコンピュータ18のメモリ22によ
り構成され、第3の記憶手段8は表示制御部28が備え
ているメモリによって構成されている。そして、読み出
し制御手段10、演算手段12、書き込み制御手段1
4、ならびに重み制御手段16は、本発明の情報記録媒
体の一例としてのCD−ROM38をCD−ROMドラ
イブ装置26に装着し、CD−ROM38に記録された
画像処理プログラムをメモリ22にロードして、上記C
PU20を同プログラムにもとづいて動作させることで
実現される。
The first and second storage means 4 and 6 are:
In the present embodiment, the memory 18 of the computer 18 is configured, and the third storage unit 8 is configured by a memory included in the display control unit 28. Then, the read control means 10, the arithmetic means 12, the write control means 1
4, and the weight control unit 16 loads the CD-ROM 38 as an example of the information recording medium of the present invention into the CD-ROM drive device 26, loads the image processing program recorded on the CD-ROM 38 into the memory 22, and , Above C
This is realized by operating the PU 20 based on the same program.

【0014】第1および第2の記憶手段4、6は、多数
の画素により構成された第1および第2の画像の各画素
の値を各画像ごとにそれぞれ保持し、第3の記憶手段8
は、初期状態では、第2の画像の各画素の値を保持して
いる。図4は、第1ないし第3の記憶手段4、6、8の
アドレス構成を示す説明図であり、各記憶手段の一部を
模式的に示している。第1および第2の画像は多数の画
素をマトリクス状に配列して構成され、各画素の画素値
が第1ないし第3の記憶手段4、6、8の各記憶単位に
保持される。
The first and second storage means 4 and 6 hold the value of each pixel of the first and second images composed of a large number of pixels for each image, and the third storage means 8
Holds the value of each pixel of the second image in the initial state. FIG. 4 is an explanatory diagram showing an address configuration of the first to third storage units 4, 6, and 8, and schematically shows a part of each storage unit. The first and second images are configured by arranging a large number of pixels in a matrix, and the pixel value of each pixel is held in each of the first to third storage units 4, 6, and 8.

【0015】第1ないし第3の記憶手段4、6、8の各
記憶単位はXアドレスとYアドレスを指定することでア
クセスされ、したがって、第1ないし第3の記憶手段
4、6、8は図4のように表すことができる。図4に示
したマトリクス状に配列された各小矩形40が各記憶手
段の上記記憶単位を表し、Xアドレスが小矩形40の列
番号42に対応し、Yアドレスが小矩形40の行番号4
4に対応している。そして、小矩形40の列の並びの方
向(図面における横方向)が画像の横方向に対応し、小
矩形40の行の並びの方向(図面における縦方向)が画
像の縦方向に対応している。
Each storage unit of the first to third storage means 4, 6, 8 is accessed by designating an X address and a Y address. Therefore, the first to third storage means 4, 6, 8 are It can be represented as in FIG. Each of the small rectangles 40 arranged in a matrix shown in FIG. 4 represents the storage unit of each storage means, and the X address corresponds to the column number 42 of the small rectangle 40, and the Y address is the row number 4 of the small rectangle 40.
4 is supported. The arrangement direction of the columns of the small rectangles 40 (horizontal direction in the drawing) corresponds to the horizontal direction of the image, and the arrangement direction of the rows of the small rectangles 40 (vertical direction in the drawing) corresponds to the vertical direction of the image. I have.

【0016】本実施の形態例では、一例としてXアドレ
スは0から1023までの値をとり、Yアドレスは0か
ら767までの値をとるものとする。また、画素の値、
すなわち画素値とは、画像を表示装置30に表示した際
に、各画素の明るさを表す値であり、たとえば0から2
55までの値をとり、画素値が0のときその画素はもっ
とも暗く表示され、255のときもっとも明るく表示さ
れる。
In the present embodiment, as an example, the X address takes a value from 0 to 1023, and the Y address takes a value from 0 to 767. Also, pixel values,
That is, the pixel value is a value representing the brightness of each pixel when an image is displayed on the display device 30, for example, 0 to 2
Taking values up to 55, the pixel is displayed darkest when the pixel value is 0, and brightest when the pixel value is 255.

【0017】読み出し制御手段10は、第1および第2
の画像を構成する画素を、画像全体に分散した画素から
成る複数のグループに分割し、各グループを順番に、か
つ繰り返し選択して、選択したグループを構成する各画
素の値を順次、第1および第2の記憶手段4、6から読
み出す。
The read control means 10 includes first and second
Is divided into a plurality of groups of pixels distributed over the entire image, and the groups are sequentially and repeatedly selected, and the values of the pixels constituting the selected group are sequentially determined by the first group. And read from the second storage means 4 and 6.

【0018】演算手段12は、読み出し制御手段10が
第1および第2の記憶手段4、6からそれぞれ読み出し
た画素値に重みを乗じ加算して新たな画素値を生成し、
書き込み制御手段14は、演算手段12が生成した前記
画素値を、演算手段12が演算に用いた画素値の、第1
および第2の記憶手段4、6における記憶位置に対応す
る、第3の記憶手段8における記憶位置に格納する。
The arithmetic means 12 generates a new pixel value by multiplying the pixel values read from the first and second storage means 4 and 6 by weights and adding them, respectively.
The writing control means 14 calculates the first pixel value of the pixel value used by the calculating means 12
And stored in the storage location in the third storage means 8 corresponding to the storage location in the second storage means 4, 6.

【0019】そして、重み制御手段16は、読み出し制
御手段10が1つのグループ全体の画素の値を読み出す
ごとに、第1の記憶手段4から読み出された画素値に演
算手段12が乗じる前記重みを相対的により大きい値に
設定し、一方、第2の記憶手段6から読み出された画素
値に演算手段12が乗じる重みを相対的により小さい値
に設定する。
The weight control means 16 multiplies the pixel value read from the first storage means 4 by the calculation means 12 each time the read control means 10 reads the pixel values of the entire group. Is set to a relatively large value, while the weight by which the calculating means 12 multiplies the pixel value read from the second storage means 6 is set to a relatively small value.

【0020】次に、このように構成された画像処理装置
2の動作について、図2をも参照しつつ詳しく説明す
る。本実施の形態例の画像処理装置2は、表示装置30
の画面に表示された第2の画像に対して第1の画像をフ
ェードインさせ、同時に第2の画像をフェードアウトさ
せるものである。したがって初期状態では、第3の記憶
手段8の各記憶単位には第2の画像の画素値が保持され
ている。表示制御部28は、表示装置30におけるラス
タスキャンに応じて第3の記憶手段8が保持する画素値
を順番に読み出し、同画素値にもとづき映像信号を生成
して表示装置30に供給する。その結果、表示装置30
の画面には初期状態では第2の画像が表示される。
Next, the operation of the image processing apparatus 2 configured as described above will be described in detail with reference to FIG. The image processing device 2 according to the present embodiment includes a display device 30
The first image is made to fade in with respect to the second image displayed on the screen, and the second image is made to fade out at the same time. Therefore, in the initial state, each storage unit of the third storage unit 8 holds the pixel value of the second image. The display control unit 28 sequentially reads out the pixel values stored in the third storage unit 8 according to the raster scan in the display device 30, generates a video signal based on the pixel values, and supplies the video signal to the display device 30. As a result, the display device 30
The second image is displayed on the screen in the initial state.

【0021】ここで、表示制御部28は、第3の記憶手
段8から画素値を読み出す場合、たとえば、まずYアド
レスとして0を第3の記憶手段8に与え、その状態でX
アドレスを0から1ずつ大きくしながら最初の記憶単位
の行から画素値を順次読み出す。そして、読み出した画
素値にもとづいて映像信号を生成し、表示装置30に供
給する。表示装置30では、この映像信号により、画面
におけるもっとも上の走査線を輝度変調する。
Here, when reading out a pixel value from the third storage means 8, the display control section 28 first gives 0 to the third storage means 8 as a Y address,
The pixel values are sequentially read from the row of the first storage unit while increasing the address from 0 by one. Then, a video signal is generated based on the read pixel value and supplied to the display device 30. The display device 30 modulates the brightness of the uppermost scanning line on the screen with this video signal.

【0022】次に、表示制御部28は、Yアドレスとし
て1を第3の記憶手段8に与え、その状態でXアドレス
を0から1ずつ大きくしながら2番目の記憶単位の行か
ら画素値を順次読み出す。そして、読み出した画素値に
もとづいて映像信号を生成し、表示装置30に供給す
る。表示装置30では、この映像信号により、画面にお
ける上から2番目の走査線を輝度変調する。表示制御部
28は、Yアドレスが1023になるまで以上の手順を
行い、その後、再度Yアドレスを0に設定して、同様の
手順を繰り返す。その結果、表示装置30の画面には第
2の画像が表示されることになる。
Next, the display control unit 28 gives 1 to the third storage means 8 as the Y address, and in this state, while increasing the X address by one from 0, it increases the pixel value from the row of the second storage unit. Read sequentially. Then, a video signal is generated based on the read pixel value and supplied to the display device 30. The display device 30 modulates the luminance of the second scanning line from the top of the screen with this video signal. The display control unit 28 performs the above procedure until the Y address becomes 1023, then sets the Y address to 0 again, and repeats the same procedure. As a result, the second image is displayed on the screen of the display device 30.

【0023】第1および第2の画像の各画素の画素値
は、たとえば上記ハードディスクドライブ装置24にあ
らかじめ格納しておき、ハードディスクドライブ装置2
4に格納された各画像の画素値を、CPU20を所定の
プログラムにもとづいて動作させることで、ハードディ
スクドライブ装置24から読み出し、メモリ22、すな
わち第1および第2の記憶手段4、6に書き込んで保持
させることができる。
The pixel values of each pixel of the first and second images are stored in advance in the hard disk drive 24, for example, and are stored in the hard disk drive 2
The CPU 20 operates the CPU 20 based on a predetermined program to read out the pixel values of each image stored in the hard disk drive 24, and writes the pixel values in the memory 22, that is, the first and second storage means 4, 6. Can be retained.

【0024】また、第3の記憶手段8に対しても、同様
に、CPU20によってハードディスクドライブ装置2
4より第2の画像の画素値を読み出し、第3の記憶手段
8に書き込んで保持させることができる。なお、この方
法以外にも、第2の記憶手段6に先に保持されている第
2の画像の画素値を、第2の記憶手段6から読み出し、
それをCPU20により第3の記憶手段8に転送する形
で第3の記憶手段8に保持させることも可能である。
Similarly, the third storage means 8 is also controlled by the CPU 20 by the hard disk drive 2.
4, the pixel value of the second image can be read out and written to the third storage means 8 and held. In addition to this method, the pixel value of the second image previously stored in the second storage unit 6 is read out from the second storage unit 6,
It is also possible for the CPU 20 to store the data in the third storage means 8 by transferring it to the third storage means 8.

【0025】読み出し制御手段10は、第1および第2
の画像を構成する画素を、各画像ごとに、画像全体に分
散した画素から成る複数のグループに分割し、各グルー
プを順番に、かつ繰り返し選択し、選択したグループを
構成する各画素の値を順次、第1および第2の記憶手段
4、6から読み出す(ステップS1)。
The read control means 10 includes first and second
The pixels constituting the image are divided into a plurality of groups of pixels dispersed throughout the image for each image, and each group is selected sequentially and repeatedly, and the value of each pixel constituting the selected group is determined. Data is sequentially read from the first and second storage means 4 and 6 (step S1).

【0026】具体的には、本実施の形態例では、読み出
し制御手段10は、各画像の画素を第1ないし第4のグ
ループに分割する。図5の(A)ないし(D)は画像を
構成する画素の分割を示す説明図である。図5の(A)
ないし(D)は図4に相当する図面であり、それぞれ第
1および第2の記憶手段4、6(さらに第3の記憶手段
8)を模式的に表している。
More specifically, in this embodiment, the read control means 10 divides the pixels of each image into first to fourth groups. (A) to (D) of FIG. 5 are explanatory diagrams showing division of pixels forming an image. FIG. 5 (A)
(D) is a drawing corresponding to FIG. 4 and schematically illustrates the first and second storage means 4 and 6 (and the third storage means 8), respectively.

【0027】第1のグループの画素は、図5の(A)に
黒く塗りつぶした小矩形46により示したように、第1
および第2の記憶手段4、6において、Xアドレスが偶
数で、Yアドレスも偶数である記憶単位に画素値が保持
されている画素である。また、第2のグループの画素
は、図5の(B)に黒く塗りつぶした小矩形48により
示したように、第1および第2の記憶手段4、6におい
て、Xアドレスが奇数で、Yアドレスも奇数である記憶
単位に画素値が保持されている画素である。第3のグル
ープの画素は、図5の(C)に黒く塗りつぶした小矩形
50により示したように、第1および第2の記憶手段
4、6において、Xアドレスが奇数で、Yアドレスが偶
数である記憶単位に画素値が保持されている画素であ
る。第4のグループの画素は、図5の(D)に黒く塗り
つぶした小矩形52により示したように、第1および第
2の記憶手段4、6において、Xアドレスが偶数で、Y
アドレスが奇数である記憶単位に画素値が保持されてい
る画素である。各グループの画素がこのように設定され
ることから、各グループの画素はそれぞれ画像全体に分
散している。
The pixels in the first group are, as shown by the small rectangles 46 in black in FIG.
In the second storage means 4 and 6, the pixel value is stored in a storage unit in which the X address is an even number and the Y address is an even number. The pixels of the second group have an odd X address and a Y address in the first and second storage means 4 and 6, as indicated by the small rectangle 48 painted black in FIG. 5B. Are also pixels whose pixel values are stored in odd storage units. The pixels of the third group are, as shown by the small rectangles 50 filled in black in FIG. 5C, in the first and second storage means 4, 6, the X address is an odd number and the Y address is an even number. Is a pixel whose pixel value is held in the storage unit of. As shown by the small rectangle 52 painted black in FIG. 5D, the pixels of the fourth group have even X addresses and Y addresses in the first and second storage units 4 and 6.
The pixel whose pixel value is held in a storage unit having an odd address. Since the pixels of each group are set in this way, the pixels of each group are dispersed throughout the image.

【0028】読み出し制御手段10は、まず最初、第1
のグループの画素値を第1および第2の記憶手段4、6
から読み出す。その際、読み出し制御手段10は、一例
として、まずYアドレスを0に設定し、その状態でXア
ドレスを0から2ずつ大きくしながら1行分の画素値を
読み出す。その後、読み出し制御手段10は、Yアドレ
スを2ずつ大きくしながら各行の画素値を順次読み出
す。
First, the reading control means 10
Are stored in the first and second storage means 4, 6
Read from At this time, as an example, the read control unit 10 first sets the Y address to 0, and reads pixel values of one row while increasing the X address by 2 from 0 in that state. Thereafter, the read control means 10 sequentially reads the pixel values of each row while increasing the Y address by two.

【0029】そして、演算手段12は、読み出し制御手
段10がこのように第1および第2の記憶手段4、6か
ら順次読み出す2つの画素値に重みを乗じ加算して新た
な画素値を生成する(ステップS2)。本実施の形態例
では重みは一例として0.05のピッチで変化させるも
のとし、したがって、演算手段12は、まず第1の記憶
手段4から読み出された画素値に乗じる重みとしては
0.05を用い、一方、第2の記憶手段6から読み出さ
れた画素値に乗じる重みとしては0.95を用いる。そ
して、このようにして生成された新たな画素値は、書き
込み制御手段14によって、演算手段12が用いた前記
2つの画素値の、第1および第2の記憶手段4、6にお
ける記憶位置に対応する、第3の記憶手段8における記
憶位置に格納される(ステップS3)。
The arithmetic means 12 generates a new pixel value by multiplying the two pixel values sequentially read from the first and second storage means 4 and 6 by the weights and adding them. (Step S2). In the present embodiment, the weight is changed at a pitch of 0.05 as an example. Therefore, the calculating means 12 first calculates the weight by which the pixel value read from the first storage means 4 is multiplied by 0.05. On the other hand, 0.95 is used as a weight for multiplying the pixel value read from the second storage means 6. Then, the new pixel value generated in this way corresponds to the storage position in the first and second storage units 4 and 6 of the two pixel values used by the calculation unit 12 by the writing control unit 14. Is stored in the storage location in the third storage means 8 (step S3).

【0030】すなわち、上記説明で用いた図5は第3の
記憶手段8をも表しており、書き込み制御手段14は、
第3の記憶手段8において、図5の(A)に示した小矩
形46の記憶単位にそれぞれ新たな画素値を格納する。
したがって、たとえば第1および第2の記憶手段4、6
にいおて、Xアドレスが0、Yアドレスが0の記憶単位
から読み出された画素値の重みづけ加算により生成され
た画素値は、第3の記憶手段8においてはXアドレスが
0、Yアドレスが0の記憶単位に格納される。同様に、
第1および第2の記憶手段4、6におけるXアドレスが
2、Yアドレスが0の記憶単位から読み出された画素値
から生成された画素値は、第3の記憶手段8においては
Xアドレスが2、Yアドレスが0の記憶単位に格納さ
れ。
That is, FIG. 5 used in the above description also shows the third storage means 8, and the write control means 14
In the third storage unit 8, new pixel values are stored in the storage units of the small rectangles 46 shown in FIG.
Therefore, for example, the first and second storage means 4, 6
In the third storage means 8, the pixel value generated by weighted addition of the pixel values read from the storage unit having the X address of 0 and the Y address of 0 is 0 in the third storage means 8, The address is stored in the storage unit of 0. Similarly,
The pixel value generated from the pixel value read from the storage unit having the X address of 2 and the Y address of 0 in the first and second storage means 4 and 6 is the same as the X value in the third storage means 8. 2. The Y address is stored in a storage unit of 0.

【0031】そして、読み出し制御手段10は、第1の
グループのすべての画素の画素値を第1および第2の記
憶手段4、6から上述のようにして順番に読み出し、演
算手段12は読み出し制御手段10が2つの画素値を読
み出すごとに上記重みを用いて重みづけ加算を行って新
たな画素値を生成し、書き込み制御手段14は、新たに
生成された画素値を逐次、第3の記憶手段8に上述のよ
うに格納する。
The read control means 10 reads the pixel values of all the pixels in the first group from the first and second storage means 4 and 6 in order as described above, and the arithmetic means 12 controls the read control. Each time the means 10 reads out two pixel values, it performs weighted addition using the above weights to generate new pixel values, and the writing control means 14 sequentially stores the newly generated pixel values in the third memory. It is stored in the means 8 as described above.

【0032】その結果、第3の記憶手段8において、全
体の1/4の記憶単位が保持する画素値が更新されるこ
とになる。そして、表示制御部28は上述のように動作
しており、第3の記憶手段8の更新された記憶内容にも
とづいて新たな映像が表示装置30の画面に表示され、
その映像は、第2の画像上に第1の画像が若干現れたも
のとなる。
As a result, in the third storage means 8, the pixel values held by one fourth of the storage units are updated. Then, the display control unit 28 operates as described above, and a new image is displayed on the screen of the display device 30 based on the updated storage content of the third storage unit 8,
The video is such that the first image slightly appears on the second image.

【0033】次に、重み制御手段16は、読み出し制御
手段10が1つのグループ全体の画素の値を読み出し、
第3の記憶手段8が保持する画素値が、第1のグループ
のすべての画素の値にもとづき演算手段12により生成
された画素値によって更新されたこの段階で、第1の記
憶手段4から読み出された画素値に演算手段12が乗じ
る前記重みを、第2の記憶手段6から読み出された画素
値に乗じる重みより相対的にさらに大きい値に設定し、
一方、第2の記憶手段6から読み出された画素値に演算
手段12が乗じる重みを相対的により小さい値に設定す
る。(ステップS4)。上述のように本実施の形態例で
は重みは0.05のピッチで変化させるので、重み制御
手段16は具体的には、第1の記憶手段4からの画素値
に対しては0.1の重みを設定し、第2の記憶手段6か
らの画素値に対しては0.9の重みを設定する。
Next, the weight control means 16 causes the read control means 10 to read the pixel values of the entire one group,
At this stage, the pixel values held by the third storage unit 8 are updated by the pixel values generated by the calculation unit 12 based on the values of all the pixels in the first group. Setting the weight by which the calculating means 12 multiplies the output pixel value to a value relatively larger than the weight by which the pixel value read from the second storage means 6 is multiplied;
On the other hand, the weight by which the calculating means 12 multiplies the pixel value read from the second storage means 6 is set to a relatively smaller value. (Step S4). As described above, since the weight is changed at a pitch of 0.05 in the present embodiment, the weight control means 16 specifically sets the pixel value from the first storage means 4 to 0.1. A weight is set, and a weight of 0.9 is set for the pixel value from the second storage means 6.

【0034】この重みは1未満であるため(ステップS
でNO)、読み出し制御手段10は、処理を繰り返すべ
く、今度は第2のグループの画素の値を第1および第2
の記憶手段4、6から読み出す。その際、読み出し制御
手段10は、一例として、まずYアドレスを1に設定
し、その状態でXアドレスを1から2ずつ大きくしなが
ら1行分の画素値を読み出す。その後、読み出し制御手
段10は、Yアドレスを2ずつ大きくしながら各行の画
素値を順次読み出す。演算手段12は、読み出し制御手
段10がこのように第1および第2の記憶手段4、6か
ら順次読み出す2つの画素値に上記新たな重みを乗じ加
算して新たな画素値を生成する。
Since this weight is less than 1 (step S
NO), the readout control unit 10 sets the values of the pixels of the second group to the first and second pixels in order to repeat the process.
Is read out from the storage means 4 and 6. At this time, as an example, the read control unit 10 first sets the Y address to 1, and then reads the pixel values for one row while increasing the X address by 1 from 2 in that state. Thereafter, the read control means 10 sequentially reads the pixel values of each row while increasing the Y address by two. The arithmetic unit 12 generates a new pixel value by multiplying the two pixel values sequentially read from the first and second storage units 4 and 6 by the new weight in this way and adding them.

【0035】そして、生成された新たな画素値は、書き
込み制御手段14によって、演算手段12が用いた前記
2つの画素値の、第1および第2の記憶手段4、6にお
ける記憶位置に対応する、第3の記憶手段8における記
憶位置に格納される。すなわち、書き込み制御手段14
は、第3の記憶手段8において、図5の(B)に示した
小矩形48の記憶単位にそれぞれ新たな画素値を格納す
る。
The generated new pixel values correspond to the storage positions of the two pixel values used by the arithmetic unit 12 in the first and second storage units 4 and 6 by the writing control unit 14. , Are stored at storage locations in the third storage means 8. That is, the write control unit 14
Stores a new pixel value in the storage unit of the small rectangle 48 shown in FIG. 5B in the third storage unit 8.

【0036】読み出し制御手段10は、第2のグループ
すべての画素の画素値を第1および第2の記憶手段4、
6から上述のようにして順番に読み出し、演算手段12
は読み出し制御手段10が2つの画素値を読み出すごと
に上記重みを用いて重みづけ加算を行って新たな画素値
を生成し、書き込み制御手段14は、新たに生成された
画素値を逐次、第3の記憶手段8に上述のように格納す
る。その結果、第3の記憶手段8において、新たに全体
の1/4の記憶単位が保持する画素値が更新されること
になり、表示装置30の画面に表示される映像は、第1
の画像が前回より強く現れたものとなる。
The read control means 10 stores the pixel values of all the pixels of the second group in the first and second storage means 4,
6 and sequentially read out as described above.
Each time the read control means 10 reads out two pixel values, it performs weighted addition using the above weights to generate a new pixel value, and the write control means 14 sequentially writes the newly generated pixel value 3 in the storage means 8 as described above. As a result, in the third storage unit 8, the pixel value held by the storage unit of の of the whole is newly updated, and the image displayed on the screen of the display device 30 is the first image.
Is stronger than the previous one.

【0037】次に、重み制御手段16は、読み出し制御
手段10が1つのグループ全体の画素の値を読み出し、
第3の記憶手段8が保持する画素値が、第2のグループ
のすべての画素の値にもとづいて演算手段12により生
成された画素値によって更新されたこの段階で、演算手
段12が、第1の記憶手段4から読み出された画素値に
乗じる前記重みを、第2の記憶手段6から読み出された
画素値に乗じる重みより相対的に大きい値に設定する。
ここで、重み制御手段16は具体的には、第1の記憶手
段4からの画素値に対しては0.15の重みを設定し、
第2の記憶手段6からの画素値に対しては0.85の重
みを設定する。
Next, the weight control means 16 causes the read control means 10 to read the pixel values of the entire one group,
At this stage, when the pixel values stored in the third storage unit 8 are updated with the pixel values generated by the calculation unit 12 based on the values of all the pixels in the second group, the calculation unit 12 The weight for multiplying the pixel value read from the storage means 4 is set to a value relatively larger than the weight for multiplying the pixel value read from the second storage means 6.
Here, the weight control means 16 specifically sets a weight of 0.15 for the pixel value from the first storage means 4,
A weight of 0.85 is set for the pixel value from the second storage unit 6.

【0038】そして、今度は、第3のグループの画素の
画素値が読み出し制御手段10によって第1および第2
の記憶手段4、6から読み出され、演算手段12は上記
重みを用いて各記憶手段から読み出された画素値に重み
づけ加算を行い、書き込み制御手段14は演算結果を第
3の記憶手段8において、第3のグループの画素に対応
する各記憶単位に保持させる。その結果、第3の記憶手
段8において、さらに全体の1/4の記憶単位が保持す
る画素値が更新され、表示装置30の画面に表示される
映像は、第1の画像が第2の画像上にいっそう強く現れ
たものとなる。
Then, the pixel values of the pixels of the third group are read out by the readout control means 10 to the first and second pixels.
The arithmetic means 12 performs weighted addition on the pixel values read from each storage means using the above weights, and the write control means 14 outputs the arithmetic results to the third storage means. At 8, the data is stored in each storage unit corresponding to the pixels of the third group. As a result, in the third storage unit 8, the pixel values stored in the storage unit of 全体 of the whole are further updated, and the image displayed on the screen of the display device 30 is the first image in the second image. It appears more strongly above.

【0039】つづいて、重み制御手段16は、第1の記
憶手段4からの画素値に対しては0.2の重みを設定
し、第2の記憶手段6からの画素値に対しては0.8の
重みを設定する。そして、今度は第4のグループの画素
の画素値に対して、新たな重みを用いて同様に重みづけ
加算が行われ、結果は、第3の記憶手段8において、第
4のグループの画素に対応する各記憶単位に保持され
る。その結果、第3の記憶手段8では、さらに全体の1
/4の記憶単位が保持する画素値が更新され、結局全記
憶単位の記憶内容が更新されて、表示装置30の画面に
は第1の画像がさらに強く現れた映像が表示される。こ
のような処理が繰り返される結果、表示装置30の画面
には第2の画像に対して第1の画像をフェードインさせ
た映像が表示される。そして、第1の記憶手段4から読
み出された画素値に乗じる重みを1とし、第2の記憶手
段6からの画素値に乗じる重みを0として演算処理を終
了したところで、第1の記憶手段4からの画素値に対す
る次の重みは1を超えるので(ステップS5でYE
S)、フェードイン動作が完了し、表示装置30には第
1の画像が表示さる。
Subsequently, the weight control means 16 sets a weight of 0.2 for the pixel value from the first storage means 4 and 0 for the pixel value from the second storage means 6. Set a weight of .8. Then, weighting addition is similarly performed on the pixel values of the pixels of the fourth group by using new weights, and the result is stored in the third storage unit 8 as the pixels of the fourth group. It is held in each corresponding storage unit. As a result, the third storage unit 8 further stores 1
The pixel value held by the storage unit of / 4 is updated, and the storage contents of all storage units are eventually updated, and an image on which the first image appears more strongly is displayed on the screen of the display device 30. As a result of such processing being repeated, an image in which the first image is faded in with respect to the second image is displayed on the screen of the display device 30. When the weight for multiplying the pixel value read from the first storage means 4 is set to 1 and the weight for multiplying the pixel value from the second storage means 6 is set to 0, and the arithmetic processing is terminated, the first storage means Since the next weight for the pixel value from 4 exceeds 1, (YE in step S5)
S), the fade-in operation is completed, and the first image is displayed on the display device 30.

【0040】このように、本実施の形態例では、第1お
よび第2の画像の画素を分散した4つのグループに分割
し、各グループごとに重みづけ加算を行って結果を表示
するので、フェードイン途中の1枚の画像を、従来の1
/4の処理時間で生成できる。したがって、ハードウェ
アやソフトウェアの性能が比較的低くても、またサイズ
の大きいカラー画像であっても、画像を円滑にフェード
インさせることが可能である。
As described above, in the present embodiment, the pixels of the first and second images are divided into four dispersed groups, and weighted addition is performed for each group to display the result. One image in the middle of the
/ 4 processing time. Therefore, even if the performance of the hardware or software is relatively low, and even if the color image is a large size, the image can be smoothly faded in.

【0041】なお、上述のように、あるグループの画素
の値に乗じる重みが1となったところでフェードイン完
了とした場合、第3の記憶手段8において、残りの3つ
のグループの画素に対応する画素値は、第1の画像の画
素値に1よりわずかに小さい重みを乗じて得られたもの
となっている。この誤差は、通常、問題とはならない
が、第1の画像の残りの3つのグループの画素に対して
も重みを1として順次処理を行い、第3の記憶手段8が
保持する画素値がすべて第1の画像の画素の値となるよ
うにすることも容易である。
As described above, when the fade-in is completed when the weight multiplied by the value of the pixel of a certain group becomes 1, the third storage means 8 corresponds to the pixels of the remaining three groups. The pixel value is obtained by multiplying the pixel value of the first image by a weight slightly smaller than 1. Although this error does not usually cause a problem, the remaining three groups of pixels of the first image are sequentially processed with a weight of 1, and all the pixel values held by the third storage unit 8 are changed. It is also easy to make the value of the pixel of the first image.

【0042】なお、フェードイン途中の表示画像では、
1つのグループの画素のみが最新の画素値に更新されて
おり、他のグループの画素の値は以前に更新された値と
なっている。しかし、画素間におけるこのような画素値
の差は、各グループの画素が画像全体に分散して配列さ
れているため、通常、肉眼では判別できず、問題とはな
らない。
In the display image during the fade-in,
Only the pixels of one group have been updated to the latest pixel values, and the values of the pixels of the other groups have been updated previously. However, such a difference in pixel value between pixels is not a problem because the pixels of each group are dispersedly arranged in the entire image and cannot be normally discriminated by the naked eye.

【0043】本実施の形態例では、モノクローム画像の
フェードインを行う場合を例に説明したが、カラー画像
をフェードインさせる場合には、たとえば赤、緑、青の
各色ごとに同様の処理を行えばよく、本実施の形態例を
カラー画像用に機能拡張することは容易である。
In the present embodiment, the case where a monochrome image is faded in has been described as an example. However, when a color image is faded in, for example, the same processing is performed for each of red, green, and blue colors. That is, it is easy to extend the function of this embodiment to a color image.

【0044】本実施の形態例では、第1から第4のグル
ープの順に、各グループの画素の値を記憶手段から読み
出し演算を行ったが、この順序は、第3のグループ、第
4のグループ、第2のグループ、第1のグループの順に
したり、第1のグループ、第3のグループ、第4のグル
ープ、第2のグループの順にするといったように、さま
ざまな順序とすることができる。
In the present embodiment, the pixel values of each group are read from the storage means in the order of the first to fourth groups, and the calculation is performed. The order is the third group and the fourth group. , A second group, a first group, or a first group, a third group, a fourth group, a second group, and so on.

【0045】さらに、本実施の形態例では、1つのグル
ープのすべての画素に関して上述のような新たな画素値
の生成および第3の記憶手段8の記憶内容の更新が完了
するごとに重みを変更するとしたが、2つのグループの
すべての画素の値が第1および第2の記憶手段4、6か
ら読み出され、それらの画素値により新たな画素値の生
成および第3の記憶手段8の記憶内容の更新が完了する
ごとに重みを変更したり、すべてのグループのすべての
画素に関して新たな画素値の生成および第3の記憶手段
8の記憶内容の更新が完了した段階で重みを変更すると
いった構成にすることも可能である。重みをこのように
変更する場合にも、フェードイン途中の1枚の画像は従
来の1/4の処理時間で生成できるので、同様の効果を
得ることができる。
Further, in this embodiment, the weight is changed every time the generation of a new pixel value and the update of the storage content of the third storage means 8 are completed for all the pixels of one group. However, the values of all the pixels of the two groups are read out from the first and second storage means 4 and 6, and a new pixel value is generated based on those pixel values and stored in the third storage means 8. For example, the weight may be changed each time the content update is completed, or the weight may be changed when the generation of new pixel values and the update of the storage content of the third storage unit 8 are completed for all the pixels in all the groups. A configuration is also possible. Even when the weights are changed in this manner, one image in the middle of fade-in can be generated in 1/4 the processing time of the conventional art, so that the same effect can be obtained.

【0046】また、本実施の形態例では、画像を構成す
る画素を4つのグループに分割するとしたが、この分割
の数も2、3、あるいは5以上などさまざに設定でき
る。たとえば、画像処理装置2を実現するハードウェア
やソフトウェアの性能が高い場合や、画像のサイズが小
さい場合などには、分割の数を2などに設定すればよ
い。
In this embodiment, the pixels constituting the image are divided into four groups. However, the number of divisions can be variously set to two, three, five or more. For example, when the performance of hardware or software that realizes the image processing apparatus 2 is high, or when the size of an image is small, the number of divisions may be set to two.

【0047】図6は画像を構成するマトリクス状に配列
された画素を、分散させつつ2つのグループに分割した
場合の各グループの画素の配列を例示する説明図であ
る。すなわち、この分割では、画像を構成する各画素
は、市松模様を成す黒く塗りつぶした小矩形56の画素
のグループと、白抜きの小矩形58の画素のグループと
に分けられている。したがって、小矩形56の画素は、
たとえば左端から偶数番目の画素の列に属すものは、た
とえば上端からからなず偶数番目の画素の行に属し、一
方、左端から奇数番目の列に属する画素は、かならず上
端から奇数番目の行に属している。
FIG. 6 is an explanatory diagram exemplifying an array of pixels in each group when pixels arranged in a matrix forming an image are divided into two groups while being dispersed. That is, in this division, each pixel constituting the image is divided into a group of pixels of a small rectangle 56 painted in black and forming a checkered pattern, and a group of pixels of a small rectangle 58 in a white outline. Therefore, the pixel of the small rectangle 56 is
For example, those that belong to the column of even-numbered pixels from the left end belong to the row of even-numbered pixels, not from the top, for example, while those that belong to the odd-numbered column from the left end always belong to the odd-numbered row from the top. belong to.

【0048】また、画素を分散させつつ2つのグループ
に分割する場合、たとえば左端から偶数番目の画素の列
に属する画素と、奇数番目の画素の列に属する画素とに
分割したり、あるいは、たとえば上端から偶数番目の画
素の行に属する画素と、奇数番目の画素の行に属する画
素とに分割することも可能である。
When the pixels are divided into two groups while being dispersed, for example, the pixels are divided into pixels belonging to an even-numbered pixel column from the left end and pixels belonging to an odd-numbered pixel column. It is also possible to divide into pixels belonging to the even-numbered pixel row from the upper end and pixels belonging to the odd-numbered pixel row.

【0049】さらに、各グループの画素は上述のように
規則的に配列する以外にもランダムに分散させて配列す
ることも可能である。また、上記第1および第2の画像
の各画素の値から新たな画素値を生成する処理を、表示
装置30におけるラスタスキャンのタイミングに同期し
て行う構成とすることも有効である。
Further, in addition to the regular arrangement of the pixels as described above, it is also possible to arrange the pixels in a random distribution. It is also effective to adopt a configuration in which the process of generating a new pixel value from the value of each pixel of the first and second images is performed in synchronization with the raster scan timing in the display device 30.

【0050】本実施の形態例では、第3の記憶手段8は
表示制御部28のメモリにより構成したが、第3の記憶
手段8をメモリ22によって構成することも無論可能で
ある。その場合、表示装置30のラスタスキャンに応じ
て第3の記憶手段8としてのメモリ22から画素値を読
み出し、映像信号を生成して表示装置30に供給する構
成としたり、あるいは、第3の記憶手段8としてのメモ
リ22の記憶内容をいったん表示制御部28のメモリに
移し、表示制御部28ではそのメモリの記憶内容にもと
づいて映像を表示する構成とすることができる。
In the present embodiment, the third storage means 8 is constituted by the memory of the display control unit 28, but it is of course possible to constitute the third storage means 8 by the memory 22. In that case, the pixel value is read from the memory 22 as the third storage unit 8 in accordance with the raster scan of the display device 30, and a video signal is generated and supplied to the display device 30, or the third storage device is used. The storage contents of the memory 22 as the means 8 may be temporarily transferred to the memory of the display control unit 28, and the display control unit 28 may be configured to display an image based on the storage contents of the memory.

【0051】第1および第2の画像の種類は任意であ
り、たとえば写真、図形、文字の画像や、さらには画素
全体が同一の画素値を有するような画像であってもよ
い。たとえば第2の画像の各画素がすべて同一の画素値
を有するような画像の場合には、表示装置には、ある明
るさの画面に第1の画像がフェードインする映像が表示
されることになる。このとき、演算手段が第1の画像の
画素値に乗じる重みを、重み制御手段の制御により、大
きい値からしだいに小さい値へと変化させれば、第1の
画像がフェードアウトして、最終的にある明るさの画面
となる。またカラー画像とした場合には、ある色の画面
に第1の画像がフェードインしたり、あるいは第1の画
像がフェードアウトしてある色の画面が最後に表示され
る映像となる。
The types of the first and second images are arbitrary, and may be, for example, images of photographs, figures, characters, or images in which all the pixels have the same pixel value. For example, in the case of an image in which each pixel of the second image has the same pixel value, the display device displays an image in which the first image fades in on a screen of a certain brightness. Become. At this time, if the arithmetic means changes the weight by which the pixel value of the first image is multiplied from a large value to a gradually small value under the control of the weight control means, the first image fades out and the final image fades out. The brightness of the screen is displayed. When the image is a color image, the first image fades in on a screen of a certain color, or the screen of a color in which the first image fades out becomes a video to be displayed last.

【0052】さらに、第2の画像の各画素がすべて同一
の画素値を有する画像の場合には、第2の画像を特に記
憶手段に保持しておかなくてもよく、したがって、第2
の記憶手段6を削除した構成とすることも可能である。
そして、演算手段12においては、第2の画像の画素値
の代わりに、第2の画像の画素値に相当する一定の値
(零を含む)を用いればよい。また、このとき、第2の
画像の画素値に相当する上記一定の値に重みを乗じる代
わりに、たとえば演算手段において最初から上記一定値
に重みを乗じた値を直接生成、あるいは取得する構成と
することも可能である。無論、演算手段12において上
記一定値などは使用せず、単に第1の画像の画素値に重
みを乗じて新たな画素値を生成するという構成を採るこ
とも可能である。この場合には、重みをしだいに大きく
すれば、たとえば真っ暗な画面に第1の画像がフェード
インして現れる映像となり、逆に重みをしだいに小さく
すれば第1の画像がフェードアウトすることになる。
Further, when all the pixels of the second image have the same pixel value, the second image does not need to be stored in the storage means.
It is also possible to adopt a configuration in which the storage means 6 is deleted.
Then, the arithmetic means 12 may use a constant value (including zero) corresponding to the pixel value of the second image instead of the pixel value of the second image. Also, at this time, instead of multiplying the constant value corresponding to the pixel value of the second image by a weight, for example, the arithmetic means directly generates or obtains a value obtained by multiplying the constant value by the weight from the beginning. It is also possible. Of course, it is also possible to adopt a configuration in which the constant value or the like is not used in the calculating means 12 and a new pixel value is generated by simply multiplying the pixel value of the first image by a weight. In this case, if the weight is gradually increased, for example, the first image fades in on a dark screen, and the image appears. If the weight is gradually reduced, the first image fades out. .

【0053】[0053]

【発明の効果】以上説明したように本発明の画像処理装
置では、読み出し制御手段は、画像を構成する画素を、
画像全体に分散した画素から成る複数のグループに分割
し、各グループを順番に、かつ繰り返し選択して、選択
したグループを構成する各画素の値を順次、記憶手段か
ら読み出す。演算手段は、読み出し制御手段が記憶手段
から読み出した画素値に重みを乗じて新たな画素値を生
成する。そして、重み制御手段は、読み出し制御手段
が、1つのグループ全体の画素の値または複数のグルー
プ全体の画素の値を読み出すごとに、演算手段が記憶手
段からの画素値に乗じる重みをより大きい値またはより
小さい値に設定する。したがって、演算手段が生成した
画素値をたとえば他の記憶手段にいったん格納し、表示
装置におけるラスタスキャンに応じて上記他の記憶手段
が保持する画素値を順番に読み出し、同画素値にもとづ
き映像信号を生成して表示装置に供給すれば、表示装置
の画面には、画像がフェードインまたはフェードアウト
する映像が表示される。
As described above, in the image processing apparatus according to the present invention, the read control means sets the pixels constituting the image to
The image is divided into a plurality of groups of pixels distributed over the entire image, and the groups are sequentially and repeatedly selected, and the values of the pixels constituting the selected group are sequentially read from the storage unit. The arithmetic unit multiplies the pixel value read from the storage unit by the read control unit with a weight to generate a new pixel value. Each time the readout control unit reads the pixel value of the entire group or the pixel values of the plurality of groups, the weight control unit increases the weight by which the arithmetic unit multiplies the pixel value from the storage unit by a larger value. Or set to a smaller value. Therefore, the pixel values generated by the arithmetic means are temporarily stored in, for example, another storage means, and the pixel values held by the other storage means are sequentially read out in accordance with the raster scan in the display device. Is generated and supplied to the display device, a video in which the image fades in or out is displayed on the screen of the display device.

【0054】また、本発明の画像処理方法、および本発
明のコンピュータ読み取り可能な情報記録媒体に記録さ
れた画像処理プログラムでは、読み出し制御ステップに
おいて、画像を構成する画素を、画像全体に分散した画
素から成る複数のグループに分割し、各グループを順番
に、かつ繰り返し選択して、選択したグループを構成す
る各画素の値を順次、記憶手段から読み出す。演算ステ
ップでは、読み出し制御ステップで記憶手段から読み出
した画素値に重みを乗じて新たな画素値を生成する。そ
して、重み制御ステップでは、読み出し制御ステップ
で、1つのグループ全体の画素の値または複数のグルー
プ全体の画素の値を読み出すごとに、演算ステップにお
いて記憶手段からの画素値に乗じる重みをより大きい値
またはより小さい値に設定する。したがって、演算ステ
ップで生成した画素値をたとえば他の記憶手段にいった
ん格納し、表示装置におけるラスタスキャンに応じて上
記他の記憶手段が保持する画素値を順番に読み出し、同
画素値にもとづき映像信号を生成して表示装置に供給す
れば、表示装置の画面には、画像がフェードインまたは
フェードアウトする映像が表示される。
According to the image processing method of the present invention and the image processing program recorded on the computer-readable information recording medium of the present invention, in the read control step, the pixels constituting the image are dispersed in the entire image. , And the groups are sequentially and repeatedly selected, and the values of the pixels constituting the selected group are sequentially read out from the storage unit. In the calculation step, a new pixel value is generated by multiplying the pixel value read from the storage unit in the read control step by a weight. In the weight control step, every time the pixel value of the entire group or the pixel values of the plurality of groups is read in the read control step, the weight multiplied by the pixel value from the storage means in the calculation step is set to a larger value. Or set to a smaller value. Therefore, the pixel values generated in the operation step are temporarily stored in, for example, another storage means, and the pixel values held by the other storage means are sequentially read out in accordance with the raster scan in the display device, and the video signal is stored based on the pixel values. Is generated and supplied to the display device, a video in which the image fades in or out is displayed on the screen of the display device.

【0055】そして、本発明では画素を分散した複数の
グループに分割し、各グループごとに重みを乗じて新た
な画素値を生成するので、フェードイン途中の1枚の画
像は、画像の全画素の処理に要する時間をグループの数
で割った時間で生成することができる。したがって、ハ
ードウェアやソフトウェアの性能が比較的低くても、ま
たサイズの大きいカラー画像であっても、画像を円滑に
フェードインまたはフェードアウトさせることが可能と
なる。
In the present invention, a pixel is divided into a plurality of dispersed groups, and a new pixel value is generated by multiplying a weight for each group. Can be generated by dividing the time required for the processing by the number of groups. Therefore, even if the performance of the hardware or software is relatively low, and even if the image is a large color image, the image can be smoothly faded in or out.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明による画像処理装置の一例を示すブロッ
ク図である。
FIG. 1 is a block diagram illustrating an example of an image processing apparatus according to the present invention.

【図2】図1に示した画像処理装置の動作を示すフロー
チャートである。
FIG. 2 is a flowchart illustrating an operation of the image processing apparatus illustrated in FIG. 1;

【図3】図1の画像処理装置を構成するコンピュータを
示すブロック図である。
FIG. 3 is a block diagram illustrating a computer constituting the image processing apparatus of FIG. 1;

【図4】第1ないし第3の記憶手段のアドレス構成を示
す説明図である。
FIG. 4 is an explanatory diagram showing an address configuration of first to third storage means;

【図5】(A)ないし(D)は画像を構成する画素の分
割を示す説明図である。
FIGS. 5A to 5D are explanatory diagrams showing division of pixels forming an image.

【図6】画像を構成するマトリクス状に配列された画素
を、分散させつつ2つのグループに分割した場合の各グ
ループの画素の配列を例示する説明図である。
FIG. 6 is an explanatory diagram exemplifying an array of pixels in each group when pixels arranged in a matrix forming an image are divided into two groups while being dispersed.

【符号の説明】[Explanation of symbols]

2…画像処理装置、4…第1の記憶手段、6…第2の記
憶手段、8…第3の記憶手段、10…読み出し制御手
段、12…演算手段、14…書き込み制御手段、16…
重み制御手段、18…コンピュータ、20…CPU、2
2…メモリ、24…ハードディスクドライブ装置、25
…フロッピーディスクドライブ装置、26…CD−RO
Mドライブ装置、28…表示制御部、30…表示装置、
32…キーボード、34…マウス、38…CD−RO
M。
2 image processing apparatus, 4 first storage means, 6 second storage means, 8 third storage means, 10 read control means, 12 arithmetic means, 14 write control means, 16 ...
Weight control means, 18 ... computer, 20 ... CPU, 2
2 ... memory, 24 ... hard disk drive device, 25
… Floppy disk drive device, 26… CD-RO
M drive device, 28 display control unit, 30 display device,
32 keyboard, 34 mouse, 38 CD-RO
M.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 多数の画素により構成された画像の各画
素の値を保持する記憶手段を備え、前記記憶手段が保持
する画素値にもとづいて新たな画素値を生成する画像処
理装置であって、 前記画像を構成する画素を、画像全体に分散した画素か
ら成る複数のグループに分割し、各グループを順番に、
かつ繰り返し選択して、選択したグループを構成する各
画素の値を順次、前記記憶手段から読み出す読み出し制
御手段と、 前記読み出し制御手段が前記記憶手段から読み出した画
素値に重みを乗じて新たな画素値を生成する演算手段
と、 前記読み出し制御手段が、1つのグループ全体の画素の
値または複数のグループ全体の画素の値を読み出すごと
に、前記演算手段が画素値に乗じる前記重みをより大き
い値またはより小さい値に設定する重み制御手段とを含
むことを特徴とする画像処理装置。
1. An image processing apparatus comprising: a storage unit that stores a value of each pixel of an image formed by a large number of pixels, and generates a new pixel value based on the pixel value stored by the storage unit. The pixels that make up the image are divided into a plurality of groups of pixels dispersed throughout the image, and each group in turn
Reading control means for sequentially selecting the values of the pixels constituting the selected group from the storage means; and selecting a new pixel by multiplying the pixel value read from the storage means by the readout means by a weight. Arithmetic means for generating a value, and each time the readout control means reads out the pixel values of the entire group or the pixel values of the plurality of groups, the arithmetic means multiplies the pixel value by a larger value. Or a weight control means for setting the value to a smaller value.
【請求項2】 多数の画素により構成された画像の各画
素の値を保持する記憶手段を用い、前記記憶手段が保持
する画素値にもとづいて新たな画素値を生成する画像処
理方法であって、 前記画像を構成する画素を、画像全体に分散した画素か
ら成る複数のグループに分割し、各グループを順番に、
かつ繰り返し選択して、選択したグループを構成する各
画素の値を順次、前記記憶手段から読み出す読み出し制
御ステップと、 前記読み出し制御ステップで前記記憶手段から読み出し
た画素値に重みを乗じて新たな画素値を生成する演算ス
テップと、 前記読み出し制御ステップで、1つのグループ全体の画
素の値または複数のグループ全体の画素の値を読み出す
ごとに、前記演算ステップで画素値に乗じる前記重みを
より大きい値またはより小さい値に設定する重み制御ス
テップとを含むことを特徴とする画像処理方法。
2. An image processing method for generating a new pixel value based on a pixel value held by the storage unit using a storage unit that holds a value of each pixel of an image composed of a large number of pixels. The pixels that make up the image are divided into a plurality of groups of pixels dispersed throughout the image, and each group in turn
And a read control step of sequentially selecting the values of the pixels constituting the selected group from the storage means by repeatedly selecting, and multiplying the pixel value read from the storage means in the read control step by a weight to obtain a new pixel. A calculating step of generating a value, and in the reading control step, each time a value of a pixel of one entire group or a value of a pixel of a plurality of groups is read, the weight multiplied by the pixel value in the calculating step is set to a larger value. Or a weight control step of setting the weight to a smaller value.
【請求項3】 多数の画素により構成された画像の各画
素の値を保持する記憶手段を用い、前記記憶手段が保持
する画素値にもとづいて新たな画素値を生成する画像処
理プログラムを記録したコンピュータ読み取り可能な情
報記録媒体であって、 前記画像を構成する画素を、画像全体に分散した画素か
ら成る複数のグループに分割し、各グループを順番に、
かつ繰り返し選択して、選択したグループを構成する各
画素の値を順次、前記記憶手段から読み出す読み出し制
御ステップと、 前記読み出し制御ステップで前記記憶手段から読み出し
た画素値に重みを乗じて新たな画素値を生成する演算ス
テップと、 前記読み出し制御ステップで、1つのグループ全体の画
素の値または複数のグループ全体の画素の値を読み出す
ごとに、前記演算ステップで画素値に乗じる前記重みを
より大きい値またはより小さい値に設定する重み制御ス
テップとを含むことを特徴とする画像処理プログラムを
記録したコンピュータ読み取り可能な情報記録媒体。
3. An image processing program for generating a new pixel value based on a pixel value held by the storage unit using a storage unit that holds a value of each pixel of an image composed of a large number of pixels. A computer readable information recording medium, wherein the pixels constituting the image are divided into a plurality of groups of pixels dispersed throughout the image, and each group is sequentially
And a read control step of sequentially selecting the values of the pixels constituting the selected group from the storage means by repeatedly selecting, and multiplying the pixel value read from the storage means in the read control step by a weight to obtain a new pixel. A calculating step of generating a value, and in the reading control step, each time a value of a pixel of one entire group or a value of a pixel of a plurality of groups is read, the weight multiplied by the pixel value in the calculating step is set to a larger value. Or a weight control step of setting a smaller value. A computer-readable information recording medium recording an image processing program.
JP11199381A 1999-06-09 1999-06-09 Image processor, image processing method, and computer- readable information recording medium recording image processing program Pending JP2000354200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11199381A JP2000354200A (en) 1999-06-09 1999-06-09 Image processor, image processing method, and computer- readable information recording medium recording image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11199381A JP2000354200A (en) 1999-06-09 1999-06-09 Image processor, image processing method, and computer- readable information recording medium recording image processing program

Publications (1)

Publication Number Publication Date
JP2000354200A true JP2000354200A (en) 2000-12-19

Family

ID=16406829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11199381A Pending JP2000354200A (en) 1999-06-09 1999-06-09 Image processor, image processing method, and computer- readable information recording medium recording image processing program

Country Status (1)

Country Link
JP (1) JP2000354200A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009282307A (en) * 2008-05-22 2009-12-03 Denso Corp Image signal output device and image signal output method
JP2011249908A (en) * 2010-05-24 2011-12-08 Mitsubishi Electric Corp Image display method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009282307A (en) * 2008-05-22 2009-12-03 Denso Corp Image signal output device and image signal output method
JP2011249908A (en) * 2010-05-24 2011-12-08 Mitsubishi Electric Corp Image display method

Similar Documents

Publication Publication Date Title
US4225861A (en) Method and means for texture display in raster scanned color graphic
KR102023184B1 (en) Display device, data processing apparatus and method thereof
US6373462B1 (en) Method and apparatus for displaying higher color resolution on a hand-held LCD device
US6549207B1 (en) Method and apparatus for dissolving image on display screen
JPH0850659A (en) Apparatus and method of ntsc-type display of full-motion animation
US6369827B1 (en) Method and apparatus for displaying higher color resolution on a hand-held LCD device
JPH07181941A (en) Frame buffer device provided with high-speed copying means and execution method of double-buffered animation using said device
US5264840A (en) Method and apparatus for vector aligned dithering
EP0538056B1 (en) An image processing system
JPH07287552A (en) Liquid crystal panel driving device
JP5136645B2 (en) Electronic paper terminal device, image display control program, and image display control method
JPS6042943B2 (en) display device
JP2000354200A (en) Image processor, image processing method, and computer- readable information recording medium recording image processing program
US7050064B2 (en) Method and apparatus for displaying higher color resolution on a hand-held LCD device
JPH04301685A (en) Method and apparatus for display
EP0474366A2 (en) Graphics display system including a video random access memory with a split serial register and a run counter
JP6861910B2 (en) Information processing equipment, programs and information processing methods
JPH06149223A (en) Display device and its relative device, and image display system
JPH03164872A (en) Graphic processing system
JPS60163080A (en) Image reduction display processing system
JP2506825B2 (en) Color mixing processing control method
JP3306060B2 (en) Image data processing device
JP3015227B2 (en) Image processing device
JP2696213B2 (en) Color mixing method for pattern generation
JP2773191B2 (en) Color display