JPH06119457A - Image synthesizing method - Google Patents

Image synthesizing method

Info

Publication number
JPH06119457A
JPH06119457A JP27136292A JP27136292A JPH06119457A JP H06119457 A JPH06119457 A JP H06119457A JP 27136292 A JP27136292 A JP 27136292A JP 27136292 A JP27136292 A JP 27136292A JP H06119457 A JPH06119457 A JP H06119457A
Authority
JP
Japan
Prior art keywords
image
basic
images
image data
overlapping
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.)
Withdrawn
Application number
JP27136292A
Other languages
Japanese (ja)
Inventor
Masato Shibuya
正人 渋谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP27136292A priority Critical patent/JPH06119457A/en
Publication of JPH06119457A publication Critical patent/JPH06119457A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To synthesize basic images without making the joint of overlapped parts conspicuous by overlapping the basic images and also continuously chang ing the overlapped parts in the case of repetitively displaying the basic images. CONSTITUTION:Image data 6 are the data of an object to be fringed by overlapping basic data 5 at edge parts to generate repetitive images. On the other hand, an overlap processing part 10 generates the repetitive images by repetitively overlapping the basic images 5 at the edge parts to generate the repetitive images or mixes and distributes colors corresponding to the attribute information of positions for plural picture elements at the same position with the picture element positions in an overlap width as the attribute information concerning the display color of the overlapped picture element part linking these edge parts with each other, and the display color of the picture element at that position is decided. Then, the overlap processing part 10 forms the repetitive images of the basic images 5 linked at the edge parts by repeatedly using the basic images 5 and displays the images so that the image data 6 can be fringed with the formed repetitive images.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、基本画像を繰り返した
画像を合成する画像合成方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image synthesizing method for synthesizing images obtained by repeating basic images.

【0002】[0002]

【従来の技術】従来、絵画の額(額縁)の部分のように
繰り返し模様を表示する場合、図8に示すように、その
繰り返し模様の一部の画像Aを繰り返し表示することに
よって行っていた。以下図8について簡単に説明する。
2. Description of the Related Art Conventionally, when a repeating pattern is displayed like a frame (frame) of a painting, a part of the repeating pattern A is repeatedly displayed as shown in FIG. . Hereinafter, FIG. 8 will be briefly described.

【0003】図8は、従来技術の説明図を示す。図8に
おいて、画像Aは、繰り返し模様の一部であって、繰り
返し現れるパターン例えば絵画の額の部分の模様であ
る。
FIG. 8 shows an explanatory view of the prior art. In FIG. 8, an image A is a part of a repeating pattern, and is a pattern that appears repeatedly, for example, a pattern on the frame of a painting.

【0004】次に、表示するときの手順を説明する。 (1) 元となる画像Aをカメラあるいはスキャナなど
によって読み取る。 (2) (1)で読みとった画像Aが、図8に示すよう
に表示しようとする長さlよりも短いLの場合、当該画
像Aを繰り返しつなげて所望の長さになるまで表示す
る。
Next, the procedure for displaying will be described. (1) The original image A is read by a camera or a scanner. (2) When the image A read in (1) is L shorter than the length l to be displayed as shown in FIG. 8, the images A are repeatedly connected and displayed until a desired length is reached.

【0005】[0005]

【発明が解決しようとする課題】上述した図8に示すよ
うに、元となる画像Aをカメラあるいはスキャナなどに
よって読み取ると、読み取り時の条件により、画像Aの
左端と右端とで画像の明度や色に差異が生じる。このた
め、この差異の生じた画像Aを図8に示すように繰り返
してつなげて表示すると、つなぎ目に明度や色の差異が
生じてしまい、図8のアのつなぎ目の部分に画像の不連
続が生じてしまうという問題があったこのために、絵画
の縁取りとしての模様を選定するときに観察者に違和感
を与え、額縁模様の選定を誤らせる危険があった。
As shown in FIG. 8 described above, when the original image A is read by a camera, a scanner, or the like, the brightness of the image at the left end and the right end of the image A depends on the reading condition. Color difference occurs. Therefore, when the image A having the difference is repeatedly connected and displayed as shown in FIG. 8, a difference in lightness or color occurs at the joint, and the discontinuity of the image occurs at the joint portion of A in FIG. For this reason, there is a problem in that it causes a sense of discomfort to the observer when selecting a pattern as the edging of the painting, and there is a risk that the frame pattern is selected incorrectly.

【0006】本発明は、この問題を解決するため、基本
画像を繰り返して表示する際に、重合わせると共に重合
わせの部分を連続的に変化させ、重合わせた部分のつな
ぎ目が目立たないようにすることを目的としている。
In order to solve this problem, according to the present invention, when the basic image is repeatedly displayed, the overlapped portions and the overlapped portions are continuously changed so that the joints of the overlapped portions are inconspicuous. Is intended.

【0007】[0007]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、基本画像
5は、繰り返して表示する基本となる画像である。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, a basic image 5 is a basic image that is repeatedly displayed.

【0008】画像データ6は、基本データ5を端部で重
ねて反復画像を生成して縁取る対象の画像データであ
る。重合わせ処理部10は、基本画像5を反復して端部
で重ねて反復画像を生成したり、この端部同士を連結し
た重なる画素部分の表示色について、重畳幅内の画素位
置を属性情報として同一位置にある複数の画素を該位置
の属性情報に応じて混色配分し、当該位置における画素
の表示色を定めたりなどするものである。
The image data 6 is the image data to be framed by overlapping the basic data 5 at the ends to generate a repeated image. The superimposition processing unit 10 repeats the basic image 5 to generate a repetitive image by superimposing it on the ends, and for the display color of the overlapping pixel portions connecting the ends, the pixel position within the overlapping width is attribute information. For example, a plurality of pixels at the same position are color-mixed according to the attribute information of the position, and the display color of the pixel at the position is determined.

【0009】拡縮処理部8は、絵画の画像データ6の周
りに額の基本画像5を重合わせる際に、絵画の画像デー
タ6および基本画像5を拡縮して所望のサイズにするも
のである。
The enlargement / reduction processing unit 8 enlarges or reduces the image data 6 and the basic image 5 of the painting to a desired size when superimposing the basic image 5 of the frame on the image data 6 of the painting.

【0010】[0010]

【作用】本発明は、図1に示すおうに、重合わせ処理部
10が基本画像5を反復使用して端部で連ねた該基本画
像5の反復画像を形成し、該形成した反復画像で画像デ
ータ6を縁取るように表示する。
According to the present invention, as shown in FIG. 1, the superposition processing unit 10 repeatedly uses the basic image 5 to form an iterative image of the basic image 5 which is continuous at the edges, and the formed repetitive image is used. The image data 6 is displayed so as to be framed.

【0011】また、重合わせ処理部10が複数画素部分
が重なるように基本画像5の端部同士を連結し、重なる
画素部分の表示色について、重畳幅内の画素位置を属性
情報として同一位置にある複数の画素を該位置の属性情
報に応じて混色配分し、当該位置における画素の表示色
を定めるようにしている。
Further, the superimposition processing unit 10 connects the end portions of the basic image 5 so that a plurality of pixel portions overlap each other, and regarding the display colors of the overlapping pixel portions, the pixel positions within the overlapping width are set to the same position as attribute information. A plurality of pixels are color-mixed according to the attribute information of the position, and the display color of the pixel at the position is determined.

【0012】また、拡縮処理部8が該画像データ6を該
基本画像5で縁取るときに、表示位置の表示画素数に応
じて該画像データ6を拡大あるいは縮小すると共に、当
該拡大縮小された画像データ6のサイズに応じて該基本
画像5を拡大あるいは縮小するようにしている。
Further, when the enlargement / reduction processing unit 8 borders the image data 6 with the basic image 5, the image data 6 is enlarged or reduced according to the number of display pixels at the display position, and the enlargement or reduction is performed. The basic image 5 is enlarged or reduced according to the size of the image data 6.

【0013】この際、画素の表示色は、赤(R)、緑
(G)、青(B)の三原色に基づき、それぞれの原色毎
に行っている。また、画素の表示色は、色相(H)、輝
度(V)、彩度(S)を属性とする表示色系、あるいは
輝度(Y)、色差(Cr、Cb)による表示色系を用
い、それぞれの属性に対して行うようにしている。
At this time, the display color of the pixel is based on the three primary colors of red (R), green (G), and blue (B), and is performed for each primary color. As the display color of the pixel, a display color system having attributes of hue (H), luminance (V) and saturation (S), or a display color system based on luminance (Y) and color difference (Cr, Cb) is used. I am going to do it for each attribute.

【0014】また、縁取りにおいて、反復画像の連結部
に混色配分を行うようにしている。従って、基本画像5
を繰り返して表示する際に、重合わせると共に重合わせ
の部分を連続的に変化させることにより、重合わせた部
分のつなぎ目を目立たなく合成することが可能となる。
Further, in edging, color mixture is distributed to the connecting portion of repeated images. Therefore, basic image 5
When repeatedly displaying, the overlapping portions and the overlapping portions are continuously changed, so that the joints of the overlapping portions can be combined inconspicuously.

【0015】[0015]

【実施例】次に、図1から図7を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be sequentially described in detail with reference to FIGS.

【0016】図1は、本発明の1実施例構成図を示す。
図1において、カメラ1あるいはスキャナ2は、繰り返
して表示などする基本画像5を撮影したり読み取った
り、絵画の画像データ6を読み取ったりなどするもので
ある。これらの基本画像5および画像データ6は、各画
素ごとにR、G、Bの多値として読み取る。
FIG. 1 shows a block diagram of an embodiment of the present invention.
In FIG. 1, a camera 1 or a scanner 2 captures and reads a basic image 5 that is repeatedly displayed, and reads image data 6 of a painting. The basic image 5 and the image data 6 are read as R, G, and B multivalues for each pixel.

【0017】読込部3は、カメラ1あるいはスキャナ2
から基本画像5や絵画の画像データ6を読み取るもので
ある。格納部4は、読込部3によって読み取った繰り返
し表示などする基本画像5を保存するものであって、例
えばハードディスク装置などである。
The reading unit 3 includes the camera 1 or the scanner 2.
The basic image 5 and the image data 6 of a painting are read from. The storage unit 4 stores the basic image 5 that is repeatedly displayed by the reading unit 3, and is, for example, a hard disk device.

【0018】基本画像5は、繰り返し表示する画像
(R、G、Bなどの画像)である。画像データ6は、絵
画の画像データ(R、G、Bなどの画像データ)などで
ある。
The basic image 5 is an image (images of R, G, B, etc.) that is repeatedly displayed. The image data 6 is image data of a painting (image data of R, G, B, etc.) and the like.

【0019】格納部7は、絵画の画像データなどを一時
的に記憶するものである。拡縮処理部8は、格納部7か
ら取り出した画像データを拡縮したり、格納部4から取
り出した基本画像5を拡縮したりし、表示などするサイ
ズにスケーリングするものである。
The storage unit 7 temporarily stores image data of paintings and the like. The enlargement / reduction processing unit 8 enlarges / reduces the image data extracted from the storage unit 7, enlarges / reduces the basic image 5 extracted from the storage unit 4, and scales to a size for display or the like.

【0020】一時記憶9は、拡縮して表示などするサイ
ズに一致させた基本画像5および画像データ6を記憶す
るものである。重合わせ処理部10は、一時記憶9から
スケーリング済の基本画像5を取り出し、基本画像5を
重合わせて繰り返し、このときの重なり部分の画素につ
いて、1ライン毎に画素の重なり部分の属性値(例えば
Rの成分)を端に向かって所定値(例えば0)になるよ
うに配分する。この処理は左右に配置した基本画像5の
場合にそれぞれの基本画像5ごとに行う。これら配分し
た両者の重なり部分の属性値(例えばR成分)を合成す
るものである。
The temporary storage 9 stores the basic image 5 and the image data 6 which are enlarged / reduced to have the same size as the display. The superimposition processing unit 10 extracts the scaled basic image 5 from the temporary storage 9, repeats the basic image 5 by superimposing the basic image 5, and for the pixels of the overlapping portion at this time, the attribute value of the overlapping portion of the pixels for each line ( For example, the R component) is distributed toward the end so as to have a predetermined value (for example, 0). In the case of the basic images 5 arranged on the left and right, this process is performed for each basic image 5. The attribute values (for example, the R component) of the overlapping portions of these distributed two are combined.

【0021】表示メモリ11は、スケーリング済の画像
データ6や、スケーリング済の基本画像5を重合わせて
繰り返した画像などを格納し、表示するためのメモリ
(フレームメモリ)である。
The display memory 11 is a memory (frame memory) for storing and displaying the scaled image data 6 and an image obtained by overlapping and scaling the scaled basic image 5 and the like.

【0022】ディスプレイ12は、表示メモリ11に格
納された画像データ6および基本画像5の重合わせて繰
り返した画像などを表示するものである。図2は、本発
明の概念説明図を示す。
The display 12 displays an image in which the image data 6 and the basic image 5 stored in the display memory 11 are overlapped and repeated, and the like. FIG. 2 shows a conceptual explanatory view of the present invention.

【0023】図2の(a)は、基本画像5の重合わせ例
を示す。これは、基本画像5として画像Aを重ねて繰り
返したパターンである。重なり部分を設けて、画像Aを
繰り返すことにより、後述する重なり部分を合成処理
し、つなぎ目を目立たなくする。
FIG. 2A shows an example of superposition of the basic images 5. This is a pattern in which the image A is overlapped and repeated as the basic image 5. By providing the overlapping portion and repeating the image A, the overlapping portion, which will be described later, is combined to make the joints inconspicuous.

【0024】図2の(b)は、基本画像5の重なり部分
例を示す。これは、先ず、左端の画像Aを表示し、次
に、画像A’を表示する際に、予め決めておいたドット
数分(図中のD)だけの画素数を重ねる。これにより、
画像Aと画像A’とがDだけ重なる部分を設ける。
FIG. 2B shows an example of overlapping portions of the basic image 5. In this case, first, the image A on the left end is displayed, and then, when the image A ′ is displayed, the number of pixels corresponding to a predetermined number of dots (D in the drawing) is overlapped. This allows
A portion where the image A and the image A ′ overlap by D is provided.

【0025】図2の(c)は、重なり部分の合成例を示
す。ここで、画像Aは既に表示されている画像であり、
画像A’はこれから表示する画像であり、内容は全く同
じとする。画像A’を表示する際に、画像Aの右側Dド
ット分重ねた画像A’’を表示する。具体的に言えば、
D=6ドットの場合、画像A’’は下記のように重ね
る。
FIG. 2 (c) shows an example of composition of overlapping portions. Here, image A is the image already displayed,
The image A ′ is an image to be displayed from now on, and the contents are exactly the same. When the image A ′ is displayed, the image A ″ superimposed by the right D dots of the image A is displayed. Specifically,
When D = 6 dots, the image A ″ is overlaid as follows.

【0026】・画像Aの(6)と画像A’のと重ね
る。 ・画像Aの(5)と画像A’のと重ねる。 ・画像Aの(4)と画像A’のと重ねる。
The image (6) and the image A'are superposed. • Overlay (5) of image A and image A '. • Overlay (4) of image A and image A '.

【0027】・画像Aの(3)と画像A’のと重ね
る。 ・画像Aの(2)と画像A’のと重ねる。 ・画像Aの(1)と画像A’のと重ねる。
The image A (3) and the image A'are superposed. • Overlay (2) of image A and image A '. • Overlay (1) of image A and image A '.

【0028】この重ねた画像A’’(n)を式で表現す
ると下式(1)のようになる。 ここで、nは、画像Aの右端からのドット数であって、
1からDまでの整数値である。Dは重なり部分の画素数
である。A(n)は画像Aのnドット目の画素の値
(R、G、B)である。A’(D−n)は画像A’の
(D−n)ドット目の画素の値(R、G、B)である。
When the superposed image A ″ (n) is expressed by an equation, the following equation (1) is obtained. Here, n is the number of dots from the right end of the image A, and
It is an integer value from 1 to D. D is the number of pixels in the overlapping portion. A (n) is the value (R, G, B) of the pixel of the nth dot of the image A. A '(D-n) is the pixel value (R, G, B) of the (D-n) th dot of the image A'.

【0029】図2の(d)は、重なり部分の変化例を示
す。上述した図2の(c)のように重なり部分を画像
A’’として合成することにより、この画像A’’の部
分の重みは左側は画像Aの影響を強く受け、右に行くに
従って弱くなると共に画像A’の影響を強く受けるよう
になっている。このため、画像A’’内で画像Aから画
像A’に徐々に変化していくことになり、重合わせ部分
を目立たなくすることができる。以下順次詳細に説明す
る。
FIG. 2D shows an example of changes in the overlapping portion. By synthesizing the overlapping part as the image A ″ as shown in FIG. 2C, the weight of the part of the image A ″ is strongly influenced by the image A on the left side and becomes weaker toward the right side. At the same time, it is strongly influenced by the image A ′. For this reason, the image A gradually changes from the image A to the image A ′, and the overlapping portion can be made inconspicuous. The details will be sequentially described below.

【0030】図3は、本発明の動作説明図を示す。これ
は、基本画像5を読み込み、重なり部分の合成を行うと
きの手順である。図3において、S1は、初期設定を行
う。ここでは、初期設定として、 ・重ね幅値:D ・計算単位:画素単位 と設定する。これは、図4に示すように、画像Aと、画
像A’との重ね幅をDドットとする。また、計算単位を
画素単位に行う。
FIG. 3 is a diagram for explaining the operation of the present invention. This is a procedure when the basic image 5 is read and the overlapping portions are combined. In FIG. 3, S1 performs initial setting. Here, the initial settings are: -Overlap width value: D-Calculation unit: Pixel unit. In this case, as shown in FIG. 4, the overlapping width of the image A and the image A ′ is D dots. The calculation unit is pixel unit.

【0031】S2は、基本画像5の読み込みを行う。こ
れは、図1の重合わせ処理部10が、一時記憶9から基
本画像5の読み込みを行う。S3は、基本画像5の幅
(ライン数)を設定する。
In step S2, the basic image 5 is read. The superimposition processing unit 10 in FIG. 1 reads the basic image 5 from the temporary storage 9. In S3, the width (the number of lines) of the basic image 5 is set.

【0032】S4は、Aの重なり部分の画素値を右端に
向かって0になるように配分する。これは、図4の画像
Aの重みづけたSと記載した点線に示すように、重なり
部分を右端に向かって0になるように配分する。これに
より、画像Aの重なり部分の画素値が右端に向かって徐
々に画像Aの影響が小さくなる。
In S4, the pixel value of the overlapping portion of A is distributed so that it becomes 0 toward the right end. As shown in FIG. 4, the weighted S of the image A in FIG. 4 is distributed so that the overlapping portion becomes 0 toward the right end. As a result, the influence of the image A on the pixel value of the overlapping portion of the image A gradually decreases toward the right end.

【0033】S5は、A’の重なり部分の画素値を左端
に向かって0になるように配分する。これは、図4の画
像A’の重みづけたS’と記載した点線に示すように、
重なり部分を左端に向かって0になるように配分する。
これにより、画像A’の重なり部分の画素値が左端に向
かって徐々に画像A’の影響が小さくなる。
In S5, the pixel value of the overlapping portion of A'is distributed so that it becomes 0 toward the left end. This is as indicated by the dotted line labeled S ′ in image A ′ in FIG.
The overlapping part is distributed so that it becomes 0 toward the left end.
As a result, the pixel value of the overlapping portion of the image A ′ gradually reduces the influence of the image A ′ toward the left end.

【0034】S6は、両者の重なり部分を合成する。こ
れは、図4の点線で記載したAの重みづけたSおよび
A’の重みづけたS’を各点について合成(加算)し、
AとA’の合成したS’’と記載したような画像A’’
を得る(式(1)参照)。
In step S6, the overlapping portions of the two are combined. This is because the weighted S of A and the weighted S ′ of A ′ described by the dotted line in FIG. 4 are combined (added) for each point,
Image A ″ as described as S ″, which is a composite of A and A ′
(See equation (1)).

【0035】S7は、ライン数(幅)が終わりか判別す
る。YESの場合には、全ての重なり部分について配分
および合成を終了したので、S8に進む。一方、NOの
場合には、次のライン部分について、S4以降を繰り返
し行う。
In step S7, it is determined whether the number of lines (width) is over. In the case of YES, since distribution and combination have been completed for all overlapping portions, the process proceeds to S8. On the other hand, if NO, S4 and subsequent steps are repeated for the next line portion.

【0036】S8は、表示する。これは、S7のYES
で、重なり部分の全てのドットについて配分および合成
を終了したので、図4のAとA’を合成した画像A’’
を画面上に重なり部分として表示する。
S8 is displayed. This is YES in S7
Then, since the distribution and combination of all the dots in the overlapping portion are completed, the image A ″ obtained by combining A and A ′ of FIG.
Is displayed as an overlapping part on the screen.

【0037】以上によって、読み込んだ基本画像5を重
ね幅Dだけ重ねると共にこの重ね幅D内について、図4
の画像Aの重なり部分を端に向かって0に配分および画
像A’の重なり部分を端に向かって0に配分した後、両
者を合成して重なり部分の画像A’’を求めて表示す
る。これにより、画像Aと画像A’とを重ねて合成した
画像A’’の部分は、画像Aから画像A’に徐々に変化
し、重なり部分を目立たなくつなぐことが可能となる。
As described above, the read basic images 5 are overlapped by the overlapping width D, and the inside of the overlapping width D is shown in FIG.
After the overlapping portion of the image A is distributed to 0 toward the edge and the overlapping portion of the image A ′ is distributed to 0 toward the edge, both are combined to obtain and display the image A ″ of the overlapping portion. As a result, the portion of the image A ″ in which the image A and the image A ′ are superimposed and combined gradually changes from the image A to the image A ′, and the overlapping portions can be connected inconspicuously.

【0038】図4は、本発明の合成説明図を示す。ここ
で、画像Aは、画像A’と同一の基本画像5であって、
重合わせようとする画像であり、Dドット分、重ねる。
この重ねたDドット分の部分では、画像Aについて、A
の重みづけたSと記載した点線に示すように、重なり部
分の画素値を端に向かって徐々に0となるように配分す
る。同様に、画像A’について、A’の重み付けたS’
と記載した点線に示すように、重なり部分を端に向かっ
て徐々に0となるように配分する。そして、これら配分
した両者を合成し、AとA’を合成したS’’と記載し
た点線に示すように、重なり部分の画像A’’を合成す
る。この合成により、重なり部分の画像A’’は、画像
Aから画像A’に徐々に変化することとなる。
FIG. 4 shows a synthetic explanatory view of the present invention. Here, the image A is the same basic image 5 as the image A ′,
It is an image to be superimposed, and D dots are overlapped.
In this overlapped D dot portion, A
As indicated by the dotted line denoted by the weighted S, the pixel value of the overlapping portion is distributed so as to gradually become 0 toward the end. Similarly, for image A ', weighted S'of A'
As shown by the dotted line described as, the overlapping portion is distributed so that it gradually becomes 0 toward the end. Then, both of these distributed portions are combined, and the image A ″ of the overlapping portion is combined as indicated by a dotted line described as S ″, which is a combination of A and A ′. By this combination, the image A ″ of the overlapping portion gradually changes from the image A to the image A ′.

【0039】図5は、本発明の重合わせフローチャート
を示す。これは、既述した式(1)によって、重合わせ
部分の配分および両者の合成を行い、画像A’’を生成
するときの手順である。
FIG. 5 shows a superposition flowchart of the present invention. This is a procedure when the image A ″ is generated by allocating the overlapping portions and synthesizing them by the above-mentioned formula (1).

【0040】図5において、S11は、基本画像Aを表
示する。これは、例えば図4で、基本画像5である画像
Aを図示のように表示する。S12は、重合わせ部分
A’’に注目する。これは、図4で、画像Aと画像A’
の重合わせ部分A’’に注目する。
In FIG. 5, S11 displays the basic image A. This displays the image A which is the basic image 5 as shown in FIG. 4, for example. At S12, attention is paid to the overlapping portion A ″. This is image A and image A'in FIG.
Pay attention to the overlapping portion A ″ of.

【0041】S13は、Aの右端からのドット数をnと
する(n=1からDまでの整数)。S14は、n/Dを
計算する。S15は、元の基本画像Aの右端からnドッ
ト目の値を乗ずる。式で表すと、 (n/D)×A(n) を計算する。即ち、元の基本画像Aの右端からnドット
目の値A(n)の値を、S14で計算したn/Dに乗
じ、(n/D)×A(n)の値を求める。
In S13, the number of dots from the right end of A is set to n (n = 1 to an integer from D). In S14, n / D is calculated. In S15, the value of the nth dot from the right end of the original basic image A is multiplied. When expressed by an equation, (n / D) × A (n) is calculated. That is, the value of the value A (n) at the nth dot from the right end of the original basic image A is multiplied by n / D calculated in S14 to obtain the value of (n / D) × A (n).

【0042】S16は、同じ点はA’の左端から(D−
n)ドットの位置である。これは、図4で重なり部分の
ドット数はDであるから、S15で計算したnドット目
と同じ点は、A’の左端から(D−n)ドットの位置と
したものである。
In S16, the same point is from the left end of A '(D-
n) The dot position. This is because the number of dots in the overlapping portion in FIG. 4 is D, and the same point as the nth dot calculated in S15 is the position of (D−n) dots from the left end of A ′.

【0043】S17は、(D−n)/Dを計算する。S
18は、元の基本画像A’の左端から(D−n)ドット
目の値を乗ずる。式で表すと、 ((D−n)/D)×A’(D−n) を計算する。即ち、元の基本画像A’の左端から(D−
n)ドット目の値A’(D−n)の値を、S17で計算
した(D−n)/Dに乗じ、((D−n)/D)×A’
(D−n)の値を求める。
In step S17, (D-n) / D is calculated. S
18 multiplies the value of the (D−n) th dot from the left end of the original basic image A ′. When expressed by a formula, ((D−n) / D) × A ′ (D−n) is calculated. That is, from the left end of the original basic image A '(D-
(n) The value of the dot value A ′ (D−n) is multiplied by (D−n) / D calculated in S17 to obtain ((D−n) / D) × A ′.
The value of (D-n) is calculated.

【0044】S19は、n=0からDまで終わったか判
別する。YESの場合には、終了する(エンド)。一
方、NOの場合には、次のドットへ進む。以上によっ
て、既述した式(1)を適用し、図4の画像Aと画像
A’の重なり部分の画像A’’を合成することが可能と
なる。
In step S19, it is determined whether n = 0 to D have been completed. If YES, the process ends (end). On the other hand, in the case of NO, the process proceeds to the next dot. As described above, it is possible to combine the image A ″ of the overlapping portion of the image A and the image A ′ in FIG. 4 by applying the above-described formula (1).

【0045】尚、上記説明は都合上、画素の属性は例え
ば赤(R)、緑(G)、青(B)の3原色のそれぞれに
ついて行うとしたが、画素の表示色系はこれに限られる
ことなく、色相(H)、輝度(V)、彩度(S)、ある
いは明度(Y)、色差(Cr、Cb)系その他で行って
もよい。
For the sake of convenience in the above description, it is assumed that the pixel attribute is, for example, each of the three primary colors of red (R), green (G), and blue (B), but the display color system of the pixel is limited to this. Alternatively, the hue (H), the brightness (V), the saturation (S), the brightness (Y), the color difference (Cr, Cb), or the like may be used.

【0046】図6は、本発明の額縁の合成フローチャー
トを示す。これは、絵画の画像データ6の周りに額縁の
基本画像5を繰り返して配置するときに重なり部分を合
成するときの手順である。
FIG. 6 shows a frame composition flow chart of the present invention. This is a procedure for synthesizing overlapping portions when repeatedly arranging the basic image 5 of the frame around the image data 6 of the painting.

【0047】図6において、S21は、絵画の画像デー
タおよびサイズを読み込む。これは、例えば図7の
(a)に示すように、絵画の画像データ6およびそのサ
イズ(ここではH2)を読み込む。
In FIG. 6, in step S21, the image data and size of the painting are read. For example, as shown in FIG. 7A, the image data 6 of the painting and its size (here, H2) are read.

【0048】S22は、一時記憶aに格納する。これ
は、S21で読み込んだ絵画の画像データ6およびサイ
ズを図1の格納部7に格納する。S23は、各種の額縁
の画像データ(基本画像5)およびサイズのデータを読
み込み、画像データファイル13に格納する。
In S22, the temporary storage a is stored. This stores the image data 6 and the size of the painting read in S21 in the storage unit 7 of FIG. In step S23, various frame image data (basic image 5) and size data are read and stored in the image data file 13.

【0049】S24は、額縁に使用する基本画像5を選
ぶ。これは、利用者が額縁に使用するものについて画像
データファイル13中から適切と思われるものを選ぶ。
例えば基本画像Aとして選ぶ。
In step S24, the basic image 5 used for the frame is selected. For this, the user selects a suitable one from the image data files 13 for the frame.
For example, the basic image A is selected.

【0050】S25は、絵画と、選ばれた基本画像Aの
大きさを合わせるために、各画像を拡大・縮小し、同縮
尺にし、一時記憶bに格納する(スケーリングする)。
これは、図7の(b)のフローチャートを用いて後述す
るように、S21で読み込んだ絵画の画像データ6の元
のドット数、サイズ、およびS24で選んだ基本画像5
の元のドット数、サイズをもとに、配置しようとする画
面全体のドット数Mになるように、拡大・縮小を行い、
同縮尺にし、図1の一時記憶9に格納する。これによ
り、画面上に配置すると同じ縮尺に、絵画の画像データ
6および基本画像5が拡縮されたこととなる。
In step S25, in order to match the size of the picture with the selected basic image A, each image is enlarged / reduced to the same scale and stored (scaled) in the temporary storage b.
As will be described later with reference to the flowchart of FIG. 7B, this is the original dot number and size of the image data 6 of the painting read in S21, and the basic image 5 selected in S24.
Based on the original number of dots and size of the
The scale is reduced to the same scale and stored in the temporary storage 9 of FIG. As a result, the image data 6 and the basic image 5 of the painting are scaled to the same scale when arranged on the screen.

【0051】S26は、一時記憶内の絵画データを表示
する。S25で同縮尺にした絵画データをまず画面上
に、例えば図7の絵画のデータに示すように中央に表示
する。S27は、表示した絵画の上・下に額縁の画像を
表示する。この際、表示すべき額縁の長さよりも、基本
画像5の長さが短い場合には、同じ画像を重合わせなが
ら繰り返し表示して、長さを延ばす。これにより、例え
ば図7の(a)に示す中央の絵画のデータの上および下
の部分に基本画像Aを重合わせた額縁が表示されること
となる。
A step S26 displays the painting data in the temporary storage. The painting data having the same scale in S25 is first displayed on the screen, for example, in the center as shown in the painting data in FIG. In S27, the frame image is displayed above and below the displayed painting. At this time, when the length of the basic image 5 is shorter than the length of the frame to be displayed, the same images are repeatedly displayed while being overlapped to extend the length. As a result, for example, a frame in which the basic image A is superimposed is displayed on the upper and lower portions of the data of the central painting shown in FIG.

【0052】S28は、同様に、表示した絵画の左・右
に額縁の画像を表示する。この際、表示すべき額縁の長
さよりも、選択した基本画像5の長さが短い場合には、
同じ画像を重合わせながら繰り返し表示して、長さを延
ばす。これにより、例えば図7の(a)に示す中央の絵
画のデータの左および右の部分に基本画像Aを重合わせ
た額縁が表示されることとなる。
Similarly, in S28, the frame images are displayed on the left and right of the displayed painting. At this time, if the length of the selected basic image 5 is shorter than the length of the frame to be displayed,
Display the same image repeatedly while overlapping it to extend the length. As a result, for example, a frame in which the basic image A is superimposed is displayed on the left and right portions of the data of the central painting shown in FIG. 7A.

【0053】S29は、合成された絵画と額縁の絵か
ら、絵画と額縁が合っているかを利用者が判断する。合
っている場合には、絵画のデータを中央に表示し、その
上・下、左・右に額縁の基本画像5を重合わせて表示
し、絵画と額縁が合っていると判断されたので、S30
で選ばれた額縁を使って、実際の絵を完成させ、終了す
る。一方、合っていない場合には、S24に戻り、他の
額縁の基本画像5の選択をやり直す。
In S29, the user determines from the combined picture and picture of the picture frame whether the picture and the picture frame match. If it matches, the data of the painting is displayed in the center, and the basic image 5 of the picture frame is displayed above and below, left and right of the picture, and it is determined that the picture matches the picture frame. S30
Use the picture frame selected in to complete the actual painting and finish. On the other hand, if they do not match, the process returns to S24 and the basic image 5 of another frame is selected again.

【0054】以上によって、利用者が絵画の画像データ
6を入力および合成に使用する額縁の基本画像5を選択
すると、自動的に絵画の画像データ6および基本画像5
のスケーリングを行った後、絵画の画像データ6を表示
すると共に上・下、右・左に基本画像5を重合わせて表
示、即ち画面上に絵と額縁を表示する。これを見た利用
者が絵画と額縁とが合っていると判断したときは選ばれ
た額縁を使って実際の絵を完成する。一方、絵画と額縁
とが合ってしないと判断したときは他の額縁を選択し、
繰り返す。これらにより、額縁の基本画像5として繰り
返しパターンの一部を保存し、額縁として表示する際に
重合わせて表示すると共にこの重合わせ部分に既述した
徐々に変化するように配分および合成を行うことによ
り、額縁の重合わせ部分が連続して見え、重ねた部分が
目立たなくなる。
As described above, when the user selects the basic image 5 of the frame used for inputting and combining the image data 6 of the painting, the image data 6 of the painting and the basic image 5 are automatically selected.
After the scaling is performed, the image data 6 of the painting is displayed, and the basic image 5 is displayed on the upper / lower side and the right / left side, that is, the picture and the frame are displayed on the screen. When the user who sees this judges that the painting and the picture frame match, the actual picture is completed using the selected picture frame. On the other hand, if you decide that the picture does not match the frame, select another frame,
repeat. As a result, a part of the repeating pattern is saved as the basic image 5 of the frame, and is superimposed and displayed when the frame is displayed, and the overlapping and allocating and combining are performed so as to change gradually. As a result, the overlapping parts of the frame can be seen continuously, and the overlapped parts become inconspicuous.

【0055】図7は、本発明のスケーリング説明図を示
す。図7の(a)は、配置例を示す。これは、絵および
額縁を表示画面に配置する例である。ここで、中央の画
像データ6が絵画のデータを表示する部分であり、その
周囲の上・下、左・右が基本画像5(ここでは額縁の基
本画像A)を表示する部分である。図中の各記号は下記
を表す。尚、横方向のサイズおよびドット数などは省略
する。
FIG. 7 shows a scaling explanatory diagram of the present invention. FIG. 7A shows an arrangement example. This is an example of arranging a picture and a frame on the display screen. Here, the image data 6 at the center is a portion that displays the data of the painting, and the upper and lower sides and the left and right of the periphery thereof are the portions that display the basic image 5 (here, the basic image A of the frame). Each symbol in the figure represents the following. The horizontal size and the number of dots are omitted.

【0056】・H1:基本画像Aを配置する上の部分の
サイズ ・H2:画像データ(絵画のデータ)を配置するサイズ ・H1:基本画像Aを配置する下の部分のサイズ ・M:表示画面全体のドット数 次に、図7の(b)のフローチャートに示す順序に従
い、画像データ6および基本画像5のスケーリングにつ
いて詳細に説明する。
H1: the size of the upper part on which the basic image A is placed H2: the size of the image data (painting data) placed on it H1: the size of the lower part on which the basic image A is placed M: display screen Total Number of Dots Next, the scaling of the image data 6 and the basic image 5 will be described in detail according to the order shown in the flowchart of FIG.

【0057】図7の(b)において、S31は、合成後
の全体の長さ(mm)を算出する。ここでは、図7の
(a)から ・H1+H2+H1 として算出する。
In FIG. 7 (b), S31 calculates the total length (mm) after combination. Here, it is calculated from (a) of FIG. 7 as H1 + H2 + H1.

【0058】S32は、表示画面全体のドット数Mを取
り出す。S33は、基本画像Aの元のドット数aおよび
画像データ(絵画)の元のドット数bを数える。
In S32, the number M of dots in the entire display screen is taken out. In S33, the original dot number a of the basic image A and the original dot number b of the image data (painting) are counted.

【0059】S34は、基本画像Aの描画時のドット数
a’について、Mを H1:H2:H1 に分配したA部分の比率H1で与える。即ち a’=M×H1/(H1+H2+H1) によって、基本画像Aの描画時のドット数a’を与え
る。
In S34, the dot number a'when the basic image A is drawn is given by the ratio H1 of the A portion in which M is divided into H1: H2: H1. That is, the number of dots a ′ at the time of drawing the basic image A is given by a ′ = M × H1 / (H1 + H2 + H1).

【0060】S35は、aをa’にするように拡縮す
る。S36は、画像データ(絵画)の描画時のドット数
b’について、Mを H1:H2:H1 に分配した画像データ部分の比率H2で与える。即ち b’=M×H2/(H1+H2+H1) によって、画像データの描画時のドット数b’を与え
る。
In step S35, the expansion / contraction is performed so that a becomes a '. In S36, the dot number b'when the image data (painting) is drawn is given by the ratio H2 of the image data portion in which M is divided into H1: H2: H1. That is, b ′ = M × H2 / (H1 + H2 + H1) gives the number of dots b ′ at the time of drawing the image data.

【0061】S37は、bをb’にするように拡縮す
る。以上によって、絵画の画像データ6および選択した
額縁の基本画像5のドット数、サイズおよび表示画面の
全ドット数、絵画と額縁を配置するサイズをもとに拡縮
し、画面上に配置すると同縮尺にスケーリングする。こ
れにより、既述した額縁の部分に基本画像5を重合わせ
て表示する準備ができたこととなる。
In step S37, b is expanded or contracted to b '. By the above, the image data 6 of the painting and the number of dots of the basic image 5 of the selected frame, the size and the total number of dots on the display screen, the size of the painting and the frame to be arranged are scaled up and down, and the same scale is obtained when the image is arranged on the screen. Scale to. As a result, the preparation for displaying the basic image 5 by superimposing it on the frame portion described above is completed.

【0062】[0062]

【発明の効果】以上説明したように、本発明によれば、
基本画像5を繰り返して表示する際に、重合わせると共
に重合わせの部分を連続的に変化する構成を採用してい
るため、重合わせた部分のつなぎ目を目立たなく合成す
ることができる。特に従来のように基本画像5を単純に
1つの画像につないだ場合に発生するつなぎ目の目立ち
や画質の低下を防止し、なめらかに綺麗に表示すること
ができる。このために、展示用絵画の額縁を選択する際
に、効果的に絵画を観察者に印象づける額縁の模様を誤
りなく選ぶことができる。
As described above, according to the present invention,
When the basic image 5 is repeatedly displayed, a configuration is adopted in which the overlapping portions and the overlapping portions are continuously changed. Therefore, the joints of the overlapping portions can be combined inconspicuously. In particular, it is possible to prevent the conspicuousness of the joints and the deterioration of the image quality that occur when the basic image 5 is simply connected to one image as in the conventional case, and it is possible to display smoothly and neatly. Therefore, when selecting the frame of the painting for display, it is possible to select the pattern of the frame that effectively impresses the viewer on the painting without error.

【0063】また、つなぎ目を出さないように予め大き
な額縁画像を登録しておいて必要な長さを切り出す場合
に比し、保存する額縁画像の量を少なくでき、メモリ容
量を削減できる。
Further, the amount of frame images to be saved can be reduced and the memory capacity can be reduced as compared with the case where a large frame image is registered in advance so as not to make a joint and the required length is cut out.

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

【図1】本発明の1実施例構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の概念説明図である。FIG. 2 is a conceptual explanatory diagram of the present invention.

【図3】本発明の動作説明フローチャートである。FIG. 3 is a flowchart for explaining the operation of the present invention.

【図4】本発明の合成説明図である。FIG. 4 is a synthetic explanatory diagram of the present invention.

【図5】本発明の重合わせフローチャートである。FIG. 5 is a superposition flowchart of the present invention.

【図6】本発明の額縁の合成フローチャートである。FIG. 6 is a flow chart for synthesizing a frame according to the present invention.

【図7】本発明のスケーリング説明図である。FIG. 7 is an explanatory diagram of scaling according to the present invention.

【図8】従来技術の説明図である。FIG. 8 is an explanatory diagram of a conventional technique.

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

1:カメラ 2:スキャナ 3:読込部 4、7:格納部 5:基本画像 6:画像データ 8:拡縮処理部 9:一時記憶 10:重合わせ処理部 11:表示メモリ 12:ディスプレイ 13:画像データファイル 1: Camera 2: Scanner 3: Reading unit 4, 7: Storage unit 5: Basic image 6: Image data 8: Enlargement / reduction processing unit 9: Temporary storage 10: Overlap processing unit 11: Display memory 12: Display 13: Image data File

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】基本画像(5)を反復使用して端部で連ね
た該基本画像(5)の反復画像を形成し、該形成した反
復画像で画像データ(6)を縁取るように表示すること
を特徴とする画像剛性方法。
1. A basic image (5) is repeatedly used to form a repeating image of the basic image (5), which is continuous at an edge, and the image data (6) is displayed so as to be framed by the formed repeating image. An image rigidity method comprising:
【請求項2】複数画素部分が重なるように基本画像
(5)の端部同士を連結し、重なる画素部分の表示色に
ついて、重畳幅内の画素位置を属性情報として同一位置
にある複数の画素を該位置の属性情報に応じて混色配分
し、当該位置における画素の表示色を定めることを特徴
とする画像合成方法。
2. A plurality of pixels located at the same position by connecting end portions of the basic image (5) so that the plurality of pixel portions overlap each other, and regarding the display color of the overlapping pixel portions, the pixel position within the overlapping width is used as attribute information. The image synthesizing method is characterized in that the display color of the pixel at the position is determined by color mixture distribution according to the attribute information of the position.
【請求項3】該画像データ(6)を該基本画像(5)で
縁取るときに、表示位置の表示画素数に応じて該画像デ
ータ(6)を拡大あるいは縮小すると共に、当該拡大縮
小された画像データ(6)のサイズに応じて該基本画像
(5)を拡大あるいは縮小したことを特徴とする請求項
1記載の画像合成方法。
3. When framing the image data (6) with the basic image (5), the image data (6) is enlarged or reduced according to the number of display pixels at a display position, and the image data (6) is enlarged or reduced. 2. The image synthesizing method according to claim 1, wherein the basic image (5) is enlarged or reduced according to the size of the image data (6).
【請求項4】画素の表示色は、赤(R)、緑(G)、青
(B)の三原色に基づき、それぞれの原色毎に行うこと
を特徴とする請求項2記載の画像合成方法。
4. The image synthesizing method according to claim 2, wherein the display color of the pixel is based on three primary colors of red (R), green (G), and blue (B), and each primary color is performed.
【請求項5】画素の表示色は、色相(H)、輝度
(V)、彩度(S)を属性とする表示色系、あるいは輝
度(Y)、色差(Cr、Cb)による表示色系を用い、
それぞれの属性に対して行うことを特徴とする請求項2
記載の画像合成方法。
5. The display color of a pixel is a display color system having hue (H), brightness (V) and saturation (S) as attributes, or a display color system based on brightness (Y) and color difference (Cr, Cb). Using
3. It is performed for each attribute.
The described image composition method.
【請求項6】請求項1記載の縁取りにおいて、反復画像
の連結部に請求項2記載の混色配分を行うことを特徴と
する画像合成方法。
6. The image synthesizing method according to claim 1, wherein the color mixture distribution according to claim 2 is performed on a connecting portion of repeated images.
JP27136292A 1992-10-09 1992-10-09 Image synthesizing method Withdrawn JPH06119457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27136292A JPH06119457A (en) 1992-10-09 1992-10-09 Image synthesizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27136292A JPH06119457A (en) 1992-10-09 1992-10-09 Image synthesizing method

Publications (1)

Publication Number Publication Date
JPH06119457A true JPH06119457A (en) 1994-04-28

Family

ID=17499019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27136292A Withdrawn JPH06119457A (en) 1992-10-09 1992-10-09 Image synthesizing method

Country Status (1)

Country Link
JP (1) JPH06119457A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012003688A (en) * 2010-06-21 2012-01-05 Casio Comput Co Ltd Image processing device, method and program
JP2012194641A (en) * 2011-03-15 2012-10-11 Omron Corp Image processing device and image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012003688A (en) * 2010-06-21 2012-01-05 Casio Comput Co Ltd Image processing device, method and program
JP2012194641A (en) * 2011-03-15 2012-10-11 Omron Corp Image processing device and image processing program

Similar Documents

Publication Publication Date Title
EP0183564B1 (en) Image forming apparatus
KR100403859B1 (en) Projection display and display method therefor, and image display
JP2002027260A (en) Gray converting method for color picture and device for the same
EP0403253A1 (en) An electronic image composition system
JPH0296485A (en) Picture generator
JP2002218350A (en) Image display device and method having image quality adjusting function, and record medium
US5038383A (en) Method of and apparatus for producing cutout mask data
JP2004199248A (en) Image layouting device, method and program
US7697164B2 (en) Mutually different color conversion image processing device
JPH0363771A (en) Electronic image processing system
JPH1091761A (en) Picture processor
US20110234614A1 (en) Image processing apparatus
JPH06119457A (en) Image synthesizing method
JP2006033672A (en) Curved surface multi-screen projection method, and its device
JP2002197475A (en) Method and apparatus of correcting digital image using multiple selected digital images
JPH11154220A (en) Image processing method for multispectral image data
JPH09190546A (en) Automatic image editing device
JP2002156956A (en) Device and method for video signal output, and computer- readable recording medium with recorded program making computer implement the same method
JP2005122601A (en) Image processing apparatus, image processing method and image processing program
JP3861641B2 (en) Image composition apparatus, image composition method, and program
JP2002238064A (en) Large screen display device
JPH04348389A (en) Display pattern controller
JPS63142991A (en) Panoramic image synthesizing system
JP3466663B2 (en) Color adjustment device and method
JP4006056B2 (en) Image composition apparatus, image composition method, and storage medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000104