JP3332691B2 - Image processing method and apparatus - Google Patents

Image processing method and apparatus

Info

Publication number
JP3332691B2
JP3332691B2 JP27765195A JP27765195A JP3332691B2 JP 3332691 B2 JP3332691 B2 JP 3332691B2 JP 27765195 A JP27765195 A JP 27765195A JP 27765195 A JP27765195 A JP 27765195A JP 3332691 B2 JP3332691 B2 JP 3332691B2
Authority
JP
Japan
Prior art keywords
image
displayed
cursor
display
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27765195A
Other languages
Japanese (ja)
Other versions
JPH09120459A (en
Inventor
和宣 杉谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP27765195A priority Critical patent/JP3332691B2/en
Publication of JPH09120459A publication Critical patent/JPH09120459A/en
Application granted granted Critical
Publication of JP3332691B2 publication Critical patent/JP3332691B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、一つの画像をコピ
ーして得られる複数のコピー画像を含む画像を生成する
ことが可能な画像処理装置及びその方法に関する
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus and method capable of generating an image including a plurality of copied images obtained by copying one image.

【0002】[0002]

【従来の技術】従来より、パーソナルコンピュータ等を
用いて画像のデザインを行うことが可能である。とく
に、同じ画像を複数個用いて画像のデザインを行う場合
には、1つの画像を作成すれば、他の画像はその作成し
た画像をコピーすればよい。従って、コンピュータ上で
の画像のデザインでは、このような複数個の同じ画像を
用いたデザインは容易に行うことができる。
2. Description of the Related Art Conventionally, it is possible to design an image using a personal computer or the like. In particular, when designing an image using a plurality of the same images, one image may be created, and the other images may be copied from the created image. Therefore, in designing an image on a computer, such a design using a plurality of the same images can be easily performed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、パーソ
ナルコンピュータ等において、作成した小さな画像を多
数個、ランダムに配置して画像のデザインを行いたいよ
うな場合は、作成した画像を適当な位置にコピーすると
いう操作を必要な個数分繰り返して行う必要がある。更
に、バラエティに富んだデザインにするために、個々の
画像を互いに異なる角度に傾けたり、色を変えたりする
場合は、コピーされた各々の画像に対して編集作業を施
さねばならない。即ち、コピーした個数分の編集操作が
必要となる。それだけに、簡単に増やす事が難しい上、
逆に減らす時は画像1つ1つを指定して削除しなければ
ならず、操作が面倒なものであった。
However, when it is desired to design a large number of small images at random on a personal computer or the like and design the images, it is necessary to copy the created image to an appropriate position. It is necessary to repeat the operation as many times as necessary. In addition, if the individual images are tilted at different angles or changed colors in order to provide a variety of designs, each copied image must be edited. That is, editing operations for the number of copies are required. Because of that, it is difficult to increase easily,
Conversely, when reducing the number of images, each image must be specified and deleted, and the operation is troublesome.

【0004】本発明は上記の問題に鑑みてなされたもの
であり、配置されている画像の数の増減を簡単な操作で
実現するとともに、画像の配置位置を乱数に基づいて決
定することにより、バラエティに富んだ表示を簡易な操
作で実現できるようにすることを目的とする。
[0004] The present invention has been made in view of the above problems, and realizes an increase or decrease in the number of arranged images by a simple operation, and determines an arrangement position of an image based on a random number.
Setting allows easy operation of a variety of displays.
The purpose is to be able to be realized by work .

【0005】[0005]

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
め、本発明の画像処理装置は以下の構成を備える。即
ち、乱数を発生させる乱数発生手段と、前記乱数発生手
段で発生された乱数に基づき、表示位置データを求める
位置算出手段と、前記位置算出手段で求めた表示位置デ
ータを複数記憶する位置記憶手段と、表示画面上で第1
の方向と、該第1の方向とは反対の第2の方向へカーソ
ルの移動を指示する指示手段と、前記指示手段によりカ
ーソルの前記第1の方向への移動が指示された場合、該
カーソルの移動量に応じた個数の画像を、前記位置記憶
手段に記憶されている表示位置データに基づき前記表示
画面に順次表示することにより前記表示エリアに表示さ
れる画像を順次増加させ、該指示手段によりカーソルの
前記第2の方向への移動が指示された場合、該カーソル
の移動量に応じた個数の画像を、前記位置記憶手段に記
憶されている表示位置データに基づき該表示画面に表示
された順番とは逆の順番で順次消去することにより前記
表示エリアに表示されている画像を順次減少させる制御
手段とを備える。上記の構成によれば、配置された画像
の個数の増減をカーソルの移動方向によって指示できる
とともに、カーソルの移動に伴って画像の増減された状
態が表示されるので操作性が著しく向上する。
In order to achieve the above object, an image processing apparatus according to the present invention has the following arrangement. That is, random number generating means for generating a random number, position calculating means for obtaining display position data based on the random number generated by the random number generating means, and position storing means for storing a plurality of display position data obtained by the position calculating means. And the first on the display screen
Instruction means for instructing the cursor to move in a second direction opposite to the first direction, and when the instruction means instructs the cursor to move in the first direction, the cursor The number of images corresponding to the moving amount of the image is sequentially displayed on the display screen based on the display position data stored in the position storage means, so that the number of images displayed in the display area is sequentially increased, When the cursor is instructed to move in the second direction, the number of images corresponding to the amount of movement of the cursor is displayed on the display screen based on the display position data stored in the position storage means. Control means for sequentially reducing the number of images displayed in the display area by sequentially erasing the images in the reverse order. According to the above configuration, increase or decrease in the number of arranged images can be instructed according to the moving direction of the cursor, and the state in which the number of images has been increased or decreased according to the movement of the cursor is displayed, so that operability is significantly improved.

【0007】また、好ましくは、複数の色調データを、
前記位置記憶手段に記憶された位置データに対応して記
憶する色調記憶手段を更に備え、前記制御手段により前
記画像を表示するときに、表示する位置データに対応し
た色調データに基づいた色調で画像を表示する。画像デ
ータに基づく画像の各々について色調を変えることがで
きるので、バレエティに富む画像デザインが可能とな
る。
Preferably, a plurality of color tone data is
Color tone storage means for storing the image data in correspondence with the position data stored in the position storage means, wherein the control means displays the image with a color tone based on the color tone data corresponding to the position data to be displayed. Is displayed. Since the color tone can be changed for each of the images based on the image data, a ballet-rich image design can be realized.

【0008】また、好ましくは、複数の回転角度データ
を、前記位置記憶手段に記憶された表示位置データに対
応して記憶する角度記憶手段を更に備え、前記制御手段
により前記画像を表示するときに、表示する位置データ
に対応した回転角度データに基づいて回転させた画像を
表示する。画像データに基づく画像の各々について方向
を変えることができるので、バラエティに富む画像デザ
インが可能となる。
Preferably, the apparatus further comprises angle storage means for storing a plurality of rotation angle data in correspondence with the display position data stored in the position storage means, wherein the control means displays the image. And an image rotated based on the rotation angle data corresponding to the position data to be displayed. Since the direction can be changed for each image based on the image data, a variety of image designs can be realized.

【0009】また、本発明の他の態様による画像処理方
法によれば、乱数発生手段により乱数を発生し、前記乱
数発生手段で発生された乱数に基づき、表示位置データ
を求め、前記求めた表示位置データを位置記憶手段に複
数記憶し、表示画面上において、カーソルの第1の方向
への移動が指示された場合、該カーソルの移動量に応じ
た個数の画像を、前記位置記憶手段に記憶されている表
示位置データに基づき該表示画面に順次表示することに
より前記表示エリアに表示されている画像を順次増加さ
せ、該カーソルの該第1の方向とは反対の第2の方向へ
の移動が指示された場合、該カーソルの移動量に応じた
個数の画像を、前記位置記憶手段に記憶されている表示
位置データに基づき前記表示画面に表示された順番とは
逆の順番で順次消去することにより前記表示エリアに表
示されている画像を順次減少させることによって上記目
的を達成する。
Further, according to the image processing method of another aspect of the present invention, a random number is generated by random number generating means, and display position data is obtained based on the random number generated by the random number generating means. A plurality of position data are stored in the position storage means, and when movement of the cursor in the first direction is instructed on the display screen, a number of images corresponding to the amount of movement of the cursor are stored in the position storage means. The image displayed in the display area is sequentially increased by sequentially displaying on the display screen based on the displayed display position data, and the cursor is moved in a second direction opposite to the first direction. Is instructed, the number of images corresponding to the amount of movement of the cursor is sequentially erased in an order reverse to the order displayed on the display screen based on the display position data stored in the position storage means. To achieve the above object by the display sequentially decreasing the image displayed in the area by.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【発明の実施の形態】以下に添付の図面を参照して、本
発明の好適な実施の形態を説明する。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.

【0014】図1は本実施形態における情報処理装置の
構成を表すブロック図である。同図において、11は中
央処理装置(CPU)であり、本情報処理装置の各種制
御を実行する。12はキーボード(KB)であり、画像
形成のためのキーやカーソル移動のためのキー等を有す
る。13は表示器(LCD)であり、本実施形態におい
てはカラーの液晶表示器を備える。
FIG. 1 is a block diagram showing the configuration of the information processing apparatus according to the present embodiment. In FIG. 1, reference numeral 11 denotes a central processing unit (CPU), which executes various controls of the information processing apparatus. Reference numeral 12 denotes a keyboard (KB) having keys for image formation, keys for moving a cursor, and the like. A display (LCD) 13 includes a color liquid crystal display in the present embodiment.

【0015】14はVRAMであり、LCD13に表示
すべき画像データを格納する。15は読み出し専用のメ
モリ(ROM)であり、CPU11が実行するためのプ
ログラム15aを格納する。なお、プログラム15a
は、後述する図のフローチャートで示される制御を実
現するためのプログラムを含む。
Reference numeral 14 denotes a VRAM which stores image data to be displayed on the LCD 13. Reference numeral 15 denotes a read-only memory (ROM), which stores a program 15a to be executed by the CPU 11. The program 15a
Includes a program for implementing the control shown in the flowchart of FIG. 4 to be described later.

【0016】16は書き込み及び読み出しが可能なRA
Mであり、例えば電池によるバックアップにより、不揮
発性のメモリとして機能する。内部はいくつかに分割さ
れ各々固有な目的の為に使用される。RAM16内の各
領域について、以下に簡単に説明する。
Reference numeral 16 denotes an RA in which writing and reading are possible.
M, which functions as a non-volatile memory by, for example, backup by a battery. The interior is divided into several parts, each used for a specific purpose. Each area in the RAM 16 will be briefly described below.

【0017】ワークエリア16aは、前述したプログラ
ムを動作させるためや出来上がった画像をコピーする際
に臨時にデータを格納するために使用される。画像格納
エリア16bは、作成した画像やコピーした結果の画像
を格納するエリアである。乱数格納エリア16cは、発
生した乱数を格納するエリアである。
The work area 16a is used to operate the above-described program and temporarily store data when copying a completed image. The image storage area 16b is an area for storing a created image or an image as a result of copying. The random number storage area 16c is an area for storing the generated random numbers.

【0018】座標テーブル16dは乱数によって規定さ
れた画面上のXY座標を格納するエリアである。角度テ
ーブル16eは、乱数によって規定された個々のコピー
画像の傾きを示す角度を格納するエリアである。色調テ
ーブル16fは、乱数によって規定された個々のコピー
画像の色調をデータ化した数値を格納するエリアであ
る。カーソルポインタ16gは、表示画面上に表示され
たカーソルの画面上の位置を数値として格納するエリア
である。
The coordinate table 16d is an area for storing XY coordinates on the screen defined by random numbers. The angle table 16e is an area for storing an angle indicating the inclination of each copy image specified by a random number. The color tone table 16f is an area for storing numerical values obtained by converting the color tone of each copy image specified by a random number into data. The cursor pointer 16g is an area for storing the position of the cursor displayed on the display screen on the screen as a numerical value.

【0019】図2は、座標テーブル、角度テーブル、色
調テーブルとカーソルポインタの関連を説明する図であ
る。上述の座標テーブル16dは、図2の(1)に示さ
れるように、座標点を表す(Xn,Yn)の座標データ
で構成される。座標テーブル16dは、乱数格納エリア
16cに格納された乱数に基づいて所定領域内(本例で
はLCDの表示領域)の位置を示す座標列を生成し、こ
れを図2の(1)の如く格納したものである。
FIG. 2 is a diagram for explaining the relationship between the coordinate table, the angle table, the color tone table, and the cursor pointer. The coordinate table 16d is composed of (Xn, Yn) coordinate data representing a coordinate point, as shown in (1) of FIG. The coordinate table 16d generates a coordinate sequence indicating a position within a predetermined area (in this example, an LCD display area) based on the random numbers stored in the random number storage area 16c, and stores this as shown in (1) of FIG. It was done.

【0020】また、図2の(2)に示される角度テーブ
ル16eは、乱数格納エリアに格納された乱数に基づい
て角度θnを生成し、これを格納したものである。
The angle table 16e shown in (2) of FIG. 2 generates and stores an angle θn based on random numbers stored in a random number storage area.

【0021】更に、図2の(3)に示される色調テーブ
ル16fは、乱数格納エリアに格納された乱数に基づい
て色調データCnを生成し、これを格納したものであ
る。図3は本実施形態における色調データのデータ構成
を表す図である。色調テーブル16fに格納されている
各色調データCnは、本例によれば、図3に示されるよ
うに、各4ビットのY(イエロー)用データ、M(マゼ
ンタ)用データ、C(シアン)用データで構成される。
Further, the color tone table 16f shown in FIG. 2C generates color tone data Cn based on the random numbers stored in the random number storage area and stores it. FIG. 3 is a diagram illustrating a data configuration of the color tone data according to the present embodiment. According to the present example, each color tone data Cn stored in the color tone table 16f is, as shown in FIG. 3, four-bit Y (yellow) data, M (magenta) data, and C (cyan) data. It consists of data for use.

【0022】更に、図2に示されているように、カーソ
ルポインタ16gは、座標テーブル16d、角度テーブ
ル16e、色調テーブル16fのそれぞれのポインタと
しても機能する。例えば、図2のようにカーソルポイン
タ16gの値が「3」であれば、16d〜16fの各テ
ーブルの3番目のデータを指定することになる。
Further, as shown in FIG. 2, the cursor pointer 16g also functions as a pointer for a coordinate table 16d, an angle table 16e, and a color tone table 16f. For example, if the value of the cursor pointer 16g is "3" as shown in FIG. 2, the third data of each of the tables 16d to 16f is designated.

【0023】再び図1において、17は外部記憶装置と
してのフロッピーディスクドライバ(FD)であり、画
像や座標テーブル、角度テーブル、色調テーブル等を保
存する。本実施形態では、外部記憶装置としてFD17
を用いるが、ハードディスクや光磁気ディスク等のいか
なる記憶媒体を用いたものでもよい。18はプリンタ
(PRT)であり、作成された画像を印刷する。
Referring again to FIG. 1, reference numeral 17 denotes a floppy disk driver (FD) as an external storage device, which stores an image, a coordinate table, an angle table, a color tone table, and the like. In the present embodiment, the FD 17 is used as the external storage device.
However, any storage medium such as a hard disk or a magneto-optical disk may be used. Reference numeral 18 denotes a printer (PRT) for printing the created image.

【0024】以上の構成を有する本実施形態の情報処理
装置における動作について以下に説明する。図4は本実
施形態における処理の手順を表すフローチャートであ
る。また、図5は本実施形態の情報処理装置による画像
の作成例を表す図である。以下の説明においては、図5
の(1)で示される林檎の画像を複数個配置して画像の
デザインを行う場合を例に上げて説明する。
The operation of the information processing apparatus of the present embodiment having the above configuration will be described below. FIG. 4 is a flowchart illustrating a procedure of a process according to the present embodiment. FIG. 5 is a diagram illustrating an example of creating an image by the information processing apparatus according to the present embodiment. In the following description, FIG.
An example in which a plurality of apple images shown in (1) are arranged to design an image will be described.

【0025】まず、図(1)で示したように林檎の画
像52を作成し、この画像データが画像格納エリア16
bに格納されているとする。なお、この林檎の画像を生
成するための処理は従来技術を持って容易に実現できる
のでここまでの過程の詳細は省略する。図の(1)の
如く画像が出来上がり、これを複数個配置して画像のデ
ザインを行う場合は、図4のフローチャートで示される
処理を起動する。
Firstly, create an image 52 of the apple as shown in FIG. 5 (1), the image data is image storage area 16
Assume that it is stored in b. Since the process for generating the apple image can be easily realized with the conventional technology, the details of the process up to this point are omitted. When an image is completed as shown in (1) of FIG. 5 and an image is designed by arranging a plurality of images, the process shown in the flowchart of FIG. 4 is started.

【0026】図4のフローチャートにおいて、作成され
た林檎の画像をコピーする前に、まず乱数を発生させ
る。発生した乱数はRAM16の乱数格納エリア16c
に記憶させる(ステップS1)。続いて、乱数格納エリ
ア16cに格納された乱数に基づいて、画面上に納まる
範囲内のXY座標位置を所定個算出し、座標テーブル1
6dに格納する。又、乱数を元に0〜359度まで範囲
でランダムな角度データ列生成し、これを角度テーブル
に格納する。更に乱数を元に色調データ構造を生成し、
ランダムな色調データ列を生成し、これを色調テーブル
16fに格納する(ステップS2)。なお、色調データ
は図に示したがイエロー(Y)、マゼンタ(M)、シ
アン(C)を各4ビットに納めてある。
In the flowchart of FIG. 4, before copying the created apple image, a random number is first generated. The generated random numbers are stored in a random number storage area 16c of the RAM 16.
(Step S1). Then, based on the random numbers stored in the random number storage area 16c, a predetermined number of XY coordinate positions within a range that fits on the screen are calculated, and the coordinate table 1 is calculated.
6d. In addition, a random angle data string is generated in the range of 0 to 359 degrees based on the random numbers, and this is stored in the angle table. Furthermore, a tone data structure is generated based on the random numbers,
A random tone data sequence is generated and stored in the tone table 16f (step S2). Although the color tone data is shown in FIG. 3 , yellow (Y), magenta (M), and cyan (C) are stored in each of 4 bits.

【0027】然る後に、図の(1)の如くカーソル5
1を画面上の一番左に表示し、カーソルポインタ16g
を0にセットする(ステップS3)。この状態でKB1
2上のキーが操作されるのを待ち(ステップS4)、何
らかのキーが入力されるとそのキーによって分岐する
(ステップS5)。
[0027] Thereafter, the cursor 5 as shown in FIG. 5 (1)
1 is displayed at the leftmost position on the screen, and the cursor pointer 16g is displayed.
Is set to 0 (step S3). In this state, KB1
Waiting for the operation of the key on 2 (step S4), and when any key is input, branching is performed by that key (step S5).

【0028】カーソル右移動キーが操作されると、画像
52を増殖する(ランダムな位置に、ランダムな方向で
コピーする)処理を行う。まずカーソルポインタを1加
算する。ここで、カーソルの移動数範囲は限られている
ので、規定の最大値を越えないようリミットチェックも
行なう。然る後に、LCD13上に、カーソルポインタ
16fの値に対応する位置にカーソルを表示する(ステ
ップS6)。この結果、カーソル51は右方向へ移動し
て表示される。
When the cursor right key is operated, a process of multiplying the image 52 (copying it to a random position in a random direction) is performed. First, the cursor pointer is incremented by one. Here, since the range of the number of movements of the cursor is limited, a limit check is also performed so as not to exceed a prescribed maximum value. Thereafter, a cursor is displayed on the LCD 13 at a position corresponding to the value of the cursor pointer 16f (step S6). As a result, the cursor 51 moves rightward and is displayed.

【0029】次に、RAM16の画像格納エリア16b
に格納されている林檎の画像をワークエリア16aにコ
ピーする。なお、林檎の画像データは大きさ等の情報を
含めて格納エリア16bに格納されている。そして、こ
のコピーされた画像に対して回転処理、色調変更処理が
施され、処理された画像が表示される。ここで、回転処
理における回転角度は、角度テーブル16e内のカーソ
ルポインタ16gで示される角度データによって決定さ
れる。また、色調変更処理における色調の変更内容は、
色調テーブル16f内のカーソルポインタ16gで示さ
れる色調データによって決定される。更に、処理された
画像の表示位置は、座標テーブル16d内のカーソルポ
インタ16gで示される座標データで決定される。即
ち、回転処理、色調変更処理を施された画像データは、
画像格納エリア16b中の上記座標データの示す表示位
置に対応する位置に貼り付けられることになる。そし
て、この画像格納エリア16bの内容がVRAM14に
転送されて、LCD13に表示されることになる(ステ
ップS7)。
Next, the image storage area 16b of the RAM 16
Is copied to the work area 16a. The apple image data is stored in the storage area 16b including information such as the size. Then, a rotation process and a color tone change process are performed on the copied image, and the processed image is displayed. Here, the rotation angle in the rotation processing is determined by the angle data indicated by the cursor pointer 16g in the angle table 16e. Also, the content of the color change in the color change process
It is determined by the color tone data indicated by the cursor pointer 16g in the color tone table 16f. Further, the display position of the processed image is determined by the coordinate data indicated by the cursor pointer 16g in the coordinate table 16d. That is, the image data subjected to the rotation processing and the color tone change processing is
It is pasted at a position corresponding to the display position indicated by the coordinate data in the image storage area 16b. Then, the contents of the image storage area 16b are transferred to the VRAM 14 and displayed on the LCD 13 (step S7).

【0030】以上のステップS6、S7をカーソルポイ
ンタの移動量に相当する数だけ繰り返す(ステップS
8)。例えばカーソルが右方向へ移動され、カーソルポ
インタが0から3に変化したとする。この場合、座標テ
ーブル16d、角度テーブル16e、色調テーブル16
fのそれぞれの先頭から3つ目までのデータが用いら
れ、3つのコピー画像が生成されて表示されることにな
る(図5の(2)参照)。なお、図5の(2)において
は、色調変化は図示されていない。
The above steps S6 and S7 are repeated by the number corresponding to the amount of movement of the cursor pointer (step S6).
8). For example, assume that the cursor is moved rightward and the cursor pointer changes from 0 to 3. In this case, the coordinate table 16d, the angle table 16e, the color tone table 16
The three pieces of data from the top of each of f are used, and three copy images are generated and displayed (see (2) in FIG. 5). In (2) of FIG. 5, the change in color tone is not shown.

【0031】即ち、ステップS6〜S8の1回目のルー
プではカーソルポインタが1となり、各テーブルから座
標データ(X1、Y1)、角度データθ1、色調データ
C1が読み出され、これらのデータに従って画像の回
転、色調変更、貼り付けが行われる。同様に2回目のル
ープでは(X2、Y2)、θ2、C2が、3回目のルー
プでは(X3、Y3)、θ3、C3が用いられて処理が
実行される。この結果、3つの画像が新たに画像格納エ
リアに格納させることになる。その結果をVRAMに転
送し、LCDに表示させる。このように、画像を3つコ
ピーした場合、オリジナル画像と合計4つの画像が表示
されることになる。その様子を図5(2)に示す。カー
ソル右移動を更に繰り返すと、画像は増殖を繰り返し図
5(3)の様になる。なお、図5の(3)において、色
調変化は示されていない。
That is, in the first loop of steps S6 to S8, the cursor pointer becomes 1, the coordinate data (X1, Y1), the angle data θ1, and the color tone data C1 are read from each table, and the image data is read in accordance with these data. Rotation, color change, and paste are performed. Similarly, the processing is executed using (X2, Y2), θ2, C2 in the second loop, and (X3, Y3), θ3, C3 in the third loop. As a result, three images are newly stored in the image storage area. The result is transferred to the VRAM and displayed on the LCD. Thus, when three images are copied, the original image and a total of four images are displayed. The state is shown in FIG. When the cursor rightward movement is further repeated, the image repeats multiplication and becomes as shown in FIG. 5 (3). Note that, in (3) of FIG. 5, a change in color tone is not shown.

【0032】一方、カーソルを左移動させると、カーソ
ルポインタ16gを1減算する。このとき、カーソルポ
インタ16gの内容が0以下にならないようリミットチ
ェックを行なう。然る後に、LCD13上に、カーソル
ポインタ16fの値に対応する位置にカーソルを表示す
る(ステップS9)。この結果、カーソル51は左方向
へ移動して表示される。
On the other hand, when the cursor is moved to the left, the cursor pointer 16g is decremented by one. At this time, a limit check is performed so that the content of the cursor pointer 16g does not become 0 or less. Thereafter, a cursor is displayed on the LCD 13 at a position corresponding to the value of the cursor pointer 16f (step S9). As a result, the cursor 51 moves to the left and is displayed.

【0033】そして、上記カーソルポインタ16fのス
テップS9による更新前の値で指示される座標テーブル
16d中の座標データを獲得し、この座標データで示さ
れる位置に張り付けられたコピー画像を消去する(ステ
ップS10)。これら、ステップS9、10の処理をカ
ーソルの移動量に相当する数だけ繰返す(ステップS1
1)。ここで、コピー画像の貼り付け位置は乱数によっ
て決定されるので、複数の林檎が重なりあうことも考え
られる。上記消去動作において、このように重なった部
分を有する林檎が消去される場合、その消去した画像に
よって隠されていた部分を復帰する必要がある。本実施
形態では、このような状況に対応するべく、ステップS
10ではカーソルポインタ16gの示すポインタまでの
データを新たに書き直すものとする。なお、図4の処理
によれば、カーソルポインタを1つずつ減少してステッ
プS10で画像の描画を繰り返すが、ユーザの操作によ
るカーソル左移動の総量を検出してカーソルポインタを
更新し、画像の描画を行うようにすれば、画像の再描画
の回数を減少でき、処理速度が向上する。
Then, the coordinate data in the coordinate table 16d indicated by the value of the cursor pointer 16f before the update in step S9 is acquired, and the copy image pasted at the position indicated by the coordinate data is deleted (step S9). S10). These processes of steps S9 and S10 are repeated by the number corresponding to the amount of movement of the cursor (step S1).
1). Here, since the pasting position of the copy image is determined by a random number, a plurality of apples may overlap each other. In the above-described erasing operation, when an apple having such an overlapped portion is erased, it is necessary to restore a portion hidden by the erased image. In the present embodiment, in order to cope with such a situation, step S
At 10, the data up to the pointer indicated by the cursor pointer 16g is newly rewritten. According to the process of FIG. 4, the cursor pointer is decremented by one, and the drawing of the image is repeated in step S10. However, the total amount of cursor left movement by the user's operation is detected, and the cursor pointer is updated. By performing the drawing, the number of times of redrawing the image can be reduced, and the processing speed is improved.

【0034】以上のように、林檎52のコピー画像は、
カーソル51を右移動、左移動するだけでランダムに角
度や色を変えつつランダムの位置に表示されたり、消え
たりするわけである。画像は常に画像格納エリア16b
に格納されているわけだが、これを座標テーブル16
d、角度テーブル16e、色調テーブル16fと共にF
D17によりフロッピーディスクに保存することが出来
る。従って、これらのデータをFD17から読込むこと
により、再び同様の処理が出来る。
As described above, the copy image of the apple 52 is
Just by moving the cursor 51 right or left, it is displayed or disappears at a random position while randomly changing the angle or color. Images are always stored in the image storage area 16b
Is stored in the coordinate table 16.
d, F together with the angle table 16e and the color tone table 16f
With D17, it can be stored on a floppy disk. Therefore, the same processing can be performed again by reading these data from the FD 17.

【0035】また、デザインを終えた画像を印刷するに
は、RAM16の画像格納エリア16bの内容をPRT
18に出力する。
In order to print the image after the design, the contents of the image storage area 16b of the RAM 16 are stored in the PRT.
18 is output.

【0036】以上説明したように、本実施形態によれ
ば、画像をコピーし、これをランダムな位置に、ランダ
ムな回転角度、色調で貼り付けることが容易に行える。
また、そのコピー画像の貼り付け数の増減も、カーソル
51の左右の移動で行え、操作性が著しく向上する。
As described above, according to this embodiment, an image can be easily copied and pasted at random positions at random rotation angles and color tones.
In addition, the number of pasted copy images can be increased or decreased by moving the cursor 51 left or right, so that operability is significantly improved.

【0037】[0037]

【0038】また、上記実施形態では、コピー画像の処
理手法として、ランダムな貼り付け位置、ランダムな回
転角度、ランダムな色調の3種類を用いたがこれに限ら
ない。例えば、ランダムな貼り付け位置のみを実行した
り、ランダムな貼り付け位置にランダムな回転角度で回
転したコピー画像を貼り付けるようにしたり、あるいは
ランダムな貼り付け位置にランダムな色調変更を施して
コピー画像を貼り付けるようにしてもよい。更に、これ
らのいずれの手法を用いるかを選択できるようにしても
良い。
Further, in the above-described embodiment, as the processing method of the copy image, three types of the random pasting position, the random rotation angle, and the random color tone are used, but the present invention is not limited to this. For example, only a random pasting position is executed, a copy image rotated at a random rotation angle is pasted at a random pasting position, or a random tone change is applied to a random pasting position and copied. An image may be pasted. Further, it may be possible to select which of these methods to use.

【0039】上記装置の機能もしくは方法の機能によっ
て達成される本発明の目的は、前述の実施例のプログラ
ムを記憶させた記憶媒体によっても達成できる。即ち、
上記装置に、その記憶媒体を装着し、その記憶媒体から
読み出したプログラム自体が本発明の新規な機能を達成
するからである。このための、本発明にかかるプログラ
ムの構造的特徴は、図6、図7に示す通りである。
The object of the present invention, which is achieved by the functions of the above-described apparatus or the functions of the method, can also be achieved by a storage medium storing the program of the above-described embodiment. That is,
This is because the storage medium is mounted on the device, and the program itself read from the storage medium achieves the novel function of the present invention. The structural features of the program according to the present invention for this purpose are as shown in FIGS.

【0040】図6の(a)において、61は決定処理で
あり、所定の画像をコピーして得られた複数個のコピー
画像の各々の表示する位置を、乱数によって決定する。
例えば、図3の(1)の如く、発生した乱数に基づいて
座標テーブル16dを生成し、このテーブルから座標デ
ータを獲得して表示位置を決定する。62はコピー表示
処理であり、上記複数個のコピー画像を、決定処理61
で決定された表示位置に表示する。以上の処理は、上記
図4のステップS6〜S8の処理の相当するものであ
る。
In FIG. 6A, reference numeral 61 denotes a determination process, which determines the display position of each of a plurality of copied images obtained by copying a predetermined image by using a random number.
For example, as shown in (1) of FIG. 3, a coordinate table 16d is generated based on the generated random numbers, and coordinate data is obtained from this table to determine a display position. Reference numeral 62 denotes a copy display process.
Is displayed at the display position determined by. The above processing corresponds to the processing of steps S6 to S8 in FIG.

【0041】図6の(b)において、決定処理モジュー
ル61’、コピー表示処理モジュール62’はそれぞれ
上述の決定処理61、コピー表示処理62を実行するた
めの制御プログラムである。以上のような制御プログラ
ムはフロッピーディスク等から読み出され、RAM16
の主記憶を構成する領域へロードされ、CPU11によ
って実行される。
In FIG. 6B, a decision processing module 61 'and a copy display processing module 62' are control programs for executing the above-described decision processing 61 and copy display processing 62, respectively. The control program as described above is read from a floppy disk or the like, and
And is executed by the CPU 11.

【0042】また、図7は、他の制御手順を表す図であ
る。71は、格納処理であり、乱数に従ってランダムに
表示位置が並ぶ表示位置データ列を生成し、これをRA
M16の座標テーブル16dに格納する。本処理は、ス
テップS1、S2に相当する。72は設定処理であり、
表示すべきコピー画像の数を設定する。上記実施形態で
は、カーソル51の移動によって指定している。73は
獲得処理であり、前記設定処理72で設定された所定数
分、表示位置データ列(座標テーブル16d)より表示
位置を獲得する。74は表示処理であり、獲得した表示
位置のそれぞれに、所定の画像データをコピーして得ら
れるコピー画像を表示する。獲得処理73、表示処理7
4は、ステップS6〜S8に相当する。
FIG. 7 is a diagram showing another control procedure. Reference numeral 71 denotes a storage process, which generates a display position data sequence in which display positions are randomly arranged in accordance with random numbers,
It is stored in the coordinate table 16d of M16. This processing corresponds to steps S1 and S2. 72 is a setting process,
Set the number of copy images to be displayed. In the above embodiment, the designation is made by moving the cursor 51. An acquisition process 73 acquires a display position from the display position data string (coordinate table 16d) for a predetermined number set in the setting process 72. A display process 74 displays a copy image obtained by copying predetermined image data at each of the acquired display positions. Acquisition processing 73, display processing 7
Step 4 corresponds to steps S6 to S8.

【0043】図7の(b)において、71’は格納処理
モジュール、72’は設定処理モジュール、73’は獲
得処理モジュール、74’は表示処理モジュールであ
り、それぞれ、格納処理71、設定処理72、獲得処理
73、表示処理74を実現する制御プログラムである。
In FIG. 7B, reference numeral 71 'denotes a storage processing module, 72' denotes a setting processing module, 73 'denotes an acquisition processing module, and 74' denotes a display processing module. , An acquisition process 73, and a display program 74.

【0044】上記制御構成において、上記実施形態のよ
うにランダムな回転、ランダムな色調変更を行うように
構成しても良いことは明らかであるし、その構成例も上
記実施形態の開示から明らかである。
It is apparent that the above control configuration may be configured to perform random rotation and random color tone change as in the above embodiment, and an example of the configuration is also apparent from the disclosure of the above embodiment. is there.

【0045】また、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器からなる装置に適
用してもよい。また、本発明はシステム或は装置にプロ
グラムを供給することによって達成される場合にも適用
できることは言うまでもない。この場合、本発明に係る
プログラムを格納した記憶媒体が、本発明を構成するこ
とになる。そして、該記憶媒体からそのプログラムをシ
ステム或は装置に読み出すことによって、そのシステム
或は装置が、予め定められた仕方で動作する。
The present invention may be applied to a system composed of a plurality of devices or to an apparatus composed of one device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus. In this case, the storage medium storing the program according to the present invention constitutes the present invention. Then, by reading the program from the storage medium to a system or an apparatus, the system or the apparatus operates in a predetermined manner.

【0046】[0046]

【発明の効果】以上説明したように、本発明によれば、
配置されている画像の数の増減を簡単な操作で実現する
とともに、画像の配置位置を乱数に基づいて決定するの
で、バラエティに富んだ表示を簡易な操作で実現でき
As described above, according to the present invention,
Increase or decrease the number of arranged images with a simple operation
In addition, the position of the image is determined based on random numbers.
Display can be realized with a simple operation.
You .

【0047】[0047]

【0048】[0048]

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

【図1】本実施形態における情報処理装置の構成を表す
ブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an information processing apparatus according to an embodiment.

【図2】座標テーブル、角度テーブル、色調テーブルと
カーソルポインタの関連を説明する図である。
FIG. 2 is a diagram illustrating the relationship between a coordinate table, an angle table, a color tone table, and a cursor pointer.

【図3】本実施形態における色調データのデータ構成を
表す図である。
FIG. 3 is a diagram illustrating a data configuration of color tone data according to the present embodiment.

【図4】本実施形態における処理の手順を表すフローチ
ャートである。
FIG. 4 is a flowchart illustrating a procedure of a process according to the embodiment.

【図5】本実施形態の情報処理装置による画像の作成例
を表す図である。
FIG. 5 is a diagram illustrating an example of creating an image by the information processing apparatus according to the embodiment.

【図6】本実施の形態の制御を実現するための制御プロ
グラムを格納した記憶媒体の構成例を説明する図であ
る。
FIG. 6 is a diagram illustrating a configuration example of a storage medium storing a control program for implementing control according to the present embodiment.

【図7】本実施の形態の制御を実現するための制御プロ
グラムを格納した記憶媒体の、他の構成例を説明する図
である。
FIG. 7 is a diagram illustrating another configuration example of a storage medium storing a control program for realizing control according to the present embodiment.

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

11 CPU 12 キーボード(KB) 13 表示器(LCD) 14 VRAM 15 ROM 16 RAM 17 外部記憶装置(FD) 18 プリンタ(PRT) 11 CPU 12 Keyboard (KB) 13 Display (LCD) 14 VRAM 15 ROM 16 RAM 17 External Storage (FD) 18 Printer (PRT)

フロントページの続き (56)参考文献 特開 平3−19087(JP,A) 特開 平2−191071(JP,A) 特開 昭56−1982(JP,A) BNN第二企画部,「インサイドマッ ク徹底ガイド上巻」,ビー・エヌ・エ ヌ,1987.8.1発行p.311〜316Continuation of the front page (56) References JP-A-3-19087 (JP, A) JP-A-2-1911071 (JP, A) JP-A-56-1982 (JP, A) BNN Second Planning Department, “Inside Mac Thorough Guide, First Volume ", published by B.N.N., 1987.8.1. 311-316

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 乱数を発生させる乱数発生手段と、 前記乱数発生手段で発生された乱数に基づき、表示位置
データを求める位置算出手段と、 前記位置算出手段で求めた表示位置データを複数記憶す
る位置記憶手段と、 表示画面上で第1の方向と、該第1の方向とは反対の第
2の方向へカーソルの移動を指示する指示手段と、 前記指示手段によりカーソルの前記第1の方向への移動
が指示された場合、該カーソルの移動量に応じた個数の
画像を、前記位置記憶手段に記憶されている表示位置デ
ータに基づき前記表示画面に順次表示することにより前
記表示エリアに表示される画像を順次増加させ、該指示
手段によりカーソルの前記第2の方向への移動が指示さ
れた場合、該カーソルの移動量に応じた個数の画像を、
前記位置記憶手段に記憶されている表示位置データに基
づき該表示画面に表示された順番とは逆の順番で順次消
去することにより前記表示エリアに表示されている画像
を順次減少させる制御手段とを備えることを特徴とする
画像処理装置。
1. A random number generating means for generating a random number; a position calculating means for obtaining display position data based on a random number generated by the random number generating means; and a plurality of display position data obtained by the position calculating means. Position storage means; instruction means for instructing a cursor to move in a first direction on a display screen; and a second direction opposite to the first direction; and the first direction of the cursor by the instruction means. When an instruction to move to the cursor is given, the number of images corresponding to the amount of movement of the cursor is sequentially displayed on the display screen based on the display position data stored in the position storage means, so that the image is displayed in the display area. Are sequentially increased, and when the movement of the cursor in the second direction is instructed by the indicating means, the number of images corresponding to the amount of movement of the cursor is changed.
Control means for sequentially reducing the images displayed in the display area by sequentially erasing in an order reverse to the order displayed on the display screen based on the display position data stored in the position storage means. An image processing apparatus comprising:
【請求項2】 複数の色調データを、前記位置記憶手段
に記憶された位置データに対応して記憶する色調記憶手
段を更に備え、 前記制御手段により前記画像を表示するときに、表示す
る位置データに対応した色調データに基づいた色調で画
像を表示することを特徴とする請求項に記載の画像処
理装置。
2. The image processing apparatus according to claim 1, further comprising: a color tone storage unit configured to store a plurality of color tone data corresponding to the position data stored in the position storage unit, wherein the control unit displays the position data when the image is displayed. the image processing apparatus according to claim 1, characterized in that to display an image in color tone based on the tone data corresponding to the.
【請求項3】 複数の回転角度データを、前記位置記憶
手段に記憶された表示位置データに対応して記憶する角
度記憶手段を更に備え、 前記制御手段により前記画像を表示するときに、表示す
る位置データに対応した回転角度データに基づいて回転
させた画像を表示することを特徴とする請求項1又は2
に記載の画像処理装置。
3. An image display apparatus, further comprising: an angle storage means for storing a plurality of rotation angle data corresponding to the display position data stored in the position storage means, wherein the image is displayed when the control means displays the image. 3. An image rotated based on rotation angle data corresponding to position data is displayed.
An image processing apparatus according to claim 1.
【請求項4】 乱数発生手段により乱数を発生し、 前記乱数発生手段で発生された乱数に基づき、表示位置
データを求め、 前記求めた表示位置データを位置記憶手段に複数記憶
し、 表示画面上において、カーソルの第1の方向への移動が
指示された場合、該カーソルの移動量に応じた個数の画
像を、前記位置記憶手段に記憶されている表示位置デー
タに基づき該表示画面に順次表示することにより前記表
示エリアに表示されている画像を順次増加させ、該カー
ソルの該第1の方向とは反対の第2の方向への移動が指
示された場合、該カーソルの移動量に応じた個数の画像
を、前記位置記憶手段に記憶されている表示位置データ
に基づき前記表示画面に表示された順番とは逆の順番で
順次消去することにより前記表示エリアに表示されてい
る画像を順次減少させることを特徴とする画像処理方
法。
4. A method for generating a random number by a random number generating means, obtaining display position data based on the random number generated by the random number generating means, storing a plurality of the obtained display position data in a position storage means, In the above, when the movement of the cursor in the first direction is instructed, the number of images corresponding to the amount of movement of the cursor is sequentially displayed on the display screen based on the display position data stored in the position storage means. To sequentially increase the images displayed in the display area, and when the cursor is instructed to move in a second direction opposite to the first direction, the cursor moves in accordance with the amount of movement of the cursor. The number of images displayed in the display area is sequentially deleted in an order reverse to the order displayed on the display screen based on the display position data stored in the position storage means. An image processing method for sequentially reducing images.
【請求項5】 更に、複数の色調データを、前記位置記
憶手段に記憶された位置データに対応して色調記憶手段
に記憶し、 前記画像を表示するときに、表示する位置データに対応
した色調データに基づいた色調で画像を表示することを
特徴とする請求項に記載の画像処理方法。
5. The image processing apparatus according to claim 1, further comprising: storing a plurality of color tone data in the color tone storage means in correspondence with the position data stored in the position storage means; and displaying the image when displaying the image. The image processing method according to claim 4 , wherein the image is displayed in a color tone based on the data.
【請求項6】 更に、複数の回転角度データを、前記位
置記憶手段に記憶された表示位置データに対応して角度
記憶手段に記憶し、 前記画像を表示するときに、表示する位置データに対応
した回転角度データに基づいて回転させた画像を表示す
ることを特徴とする請求項4又は5に記載の画像処理方
法。
6. A plurality of rotation angle data are stored in the angle storage means in correspondence with the display position data stored in the position storage means, and when the image is displayed, the plurality of rotation angle data correspond to the position data to be displayed. The image processing method according to claim 4, wherein an image rotated based on the rotation angle data is displayed.
JP27765195A 1995-10-25 1995-10-25 Image processing method and apparatus Expired - Fee Related JP3332691B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27765195A JP3332691B2 (en) 1995-10-25 1995-10-25 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27765195A JP3332691B2 (en) 1995-10-25 1995-10-25 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH09120459A JPH09120459A (en) 1997-05-06
JP3332691B2 true JP3332691B2 (en) 2002-10-07

Family

ID=17586403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27765195A Expired - Fee Related JP3332691B2 (en) 1995-10-25 1995-10-25 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3332691B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BNN第二企画部,「インサイドマック徹底ガイド上巻」,ビー・エヌ・エヌ,1987.8.1発行p.311〜316

Also Published As

Publication number Publication date
JPH09120459A (en) 1997-05-06

Similar Documents

Publication Publication Date Title
JP3332691B2 (en) Image processing method and apparatus
JPH03130175A (en) Device to enlarge dot matrix data
JPS63108381A (en) Raster computation circuit
JPH0827690B2 (en) Display control method
JP2663967B2 (en) Information storage control method
JPH08335152A (en) Document processor
JPH04369717A (en) Information processing method and its device
JPH02105964A (en) Document preparing and editing device
JPH11212968A (en) Document processor and document processing method
JPH05143589A (en) Word processor and its controlling method
JP3407537B2 (en) Report output method
JP2562540B2 (en) Figure processing method
JP2928512B2 (en) Document processing apparatus and method
JP3143503B2 (en) Image processing method and apparatus
JP2652748B2 (en) Character processor
JP2000137826A (en) Image production device and storage medium
JPH05177899A (en) Printing control system
JPS6275497A (en) Keyboard splitter for electronic musical instrument
JP2721339B2 (en) Document processing device
JPH05282417A (en) Method and device for information processing
JPH04169926A (en) Graphic processor
JPH09319536A (en) Character input device
JPH07184033A (en) Image processor
JP2000148337A (en) Image processor, image editing and processing method, and storage medium
JPH09171435A (en) Character display device and recording medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000807

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

Free format text: PAYMENT UNTIL: 20080726

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080726

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090726

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090726

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100726

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100726

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110726

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120726

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120726

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130726

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees