JP2000293682A - Picture processor - Google Patents

Picture processor

Info

Publication number
JP2000293682A
JP2000293682A JP11099371A JP9937199A JP2000293682A JP 2000293682 A JP2000293682 A JP 2000293682A JP 11099371 A JP11099371 A JP 11099371A JP 9937199 A JP9937199 A JP 9937199A JP 2000293682 A JP2000293682 A JP 2000293682A
Authority
JP
Japan
Prior art keywords
image
texture
picture
distance
pass filter
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.)
Granted
Application number
JP11099371A
Other languages
Japanese (ja)
Other versions
JP4087010B2 (en
Inventor
Kiyoshi Iwasaki
清 岩崎
Sannashi Miyama
三奈子 宮間
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP09937199A priority Critical patent/JP4087010B2/en
Publication of JP2000293682A publication Critical patent/JP2000293682A/en
Application granted granted Critical
Publication of JP4087010B2 publication Critical patent/JP4087010B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain picture processing such as picture synthesis with high quality by automatically operating proper low pass filter processing even to a face whose reduction rate is changing without making it necessary to preliminarily operate low pass filter processing to a texture picture. SOLUTION: In a picture processor 14 which operates picture processing for adhering a texture picture to one part of an original picture inputted from a picture inputting device 10, a calculating means which calculates a distance on the texture picture coordinates corresponding to a distance between the adjacent points among points on the two-dimensional coordinates of the adhesion region to which the texture picture is adhered, a filter parameter selecting means which automatically selects a low pass filter parameter for each point based on the calculated distance, and a picture processing means which adheres the texture picture filter-processed by using the selected low pass filter parameter to the adhesion region are realized by software.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置、特
に実写画像やCG画像などの原画像の一部にテクスチャ
画像を合成する画像合成や、テクスチャ画像のマッピン
グを行う三次元画像処理に適用して好適な画像処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is applied to an image processing apparatus, particularly to image synthesis for synthesizing a texture image with a part of an original image such as a real image or CG image, and to three-dimensional image processing for mapping a texture image. And a suitable image processing apparatus.

【0002】[0002]

【従来の技術】実写画像やCG画像などの原画像の一部
(貼込領域)にテクスチャ画像を合成する画像合成装置
において、元のテクスチャ画像が合成後のテクスチャ画
像と比較し、解像度が高い場合(元のテクスチャと比較
して縮小されて合成される場合)、テクスチャ画像をそ
のまま合成するとモアレが発生してしまう。そこで一般
に、モアレの発生を抑えるためにテクスチャ画像に対し
て前もってローパスフィルタ処理等を行い、テクスチャ
画像の高周波成分をカットしてぼかしたテクスチャ画像
を用いて合成を行っている。テクスチャ画像のマッピン
グを行う三次元画像処理装置においても同様の理由によ
り、前もってローパスフィルタ処理等を行ったテクスチ
ャ画像を用いてテクスチャマッピングを行っている。
2. Description of the Related Art In an image synthesizing apparatus for synthesizing a texture image with a part (pasting area) of an original image such as a real image or a CG image, the original texture image has a higher resolution than the synthesized texture image. In this case (in the case where the texture is reduced and synthesized as compared with the original texture), moire occurs when the texture image is synthesized as it is. Therefore, generally, in order to suppress the occurrence of moiré, a low-pass filter process or the like is performed on a texture image in advance, and synthesis is performed using a texture image in which high-frequency components of the texture image are cut and blurred. For the same reason, in a three-dimensional image processing apparatus that performs mapping of a texture image, texture mapping is performed using a texture image that has been subjected to a low-pass filter process or the like in advance.

【0003】[0003]

【本発明が解決しようとする課題】しかしながら、前述
のように前もってテクスチャ画像にローパスフィルタ処
理を行った画像を合成またはマッピングする場合には、
モアレの発生を抑えることは可能であるが、高品質な画
像を得るには以下のような問題点がある。
However, as described above, when combining or mapping an image on which a texture image has been subjected to low-pass filtering in advance,
Although it is possible to suppress the occurrence of moire, there are the following problems in obtaining a high-quality image.

【0004】例えば、実際に合成した画像を見てモアレ
が発生していたら、より帯域制限の強い(高周波側の)
ローパスフィルタを選択したり、逆にテクスチャがぼけ
すぎていたら、帯域制限の弱いローパスフィルタを選択
するなどして、ローパスフィルタの選択を試行錯誤で行
わなければならない。
[0004] For example, if moire is observed while looking at an actually synthesized image, the band limit is stronger (on the high frequency side).
If a low-pass filter is selected, or if the texture is too blurry, the low-pass filter must be selected by trial and error, for example, by selecting a low-pass filter with a weak band limit.

【0005】また、原画像にテクスチャを合成する際に
射影変換を行って合成する場合やテクスチャマッピング
を行う場合等では、テクスチャの縮小率が変化する(合
成画像上の1画素分の距離に対する、テクスチャ座標上
での距離は、後述する図8等に示されるように、合成す
る場所により変わってくる)ため、単一のローパスフィ
ルタ処理では、縮小率の小さな場所にフィルタパラメー
タを合わせると縮小率の大きな場所でモアレが発生して
しまい、逆に縮小率の大きな場所にフィルタパラメータ
を合わせると縮小率が小さな場所がぼけすぎてしまうこ
とがある。
[0005] In addition, when a texture is combined with an original image by projective transformation or combination, or when texture mapping is performed, the reduction ratio of the texture is changed (for a distance of one pixel on the combined image, Since the distance on the texture coordinates varies depending on the place to be synthesized as shown in FIG. 8 and the like described later, in a single low-pass filter processing, the reduction Moiré occurs in a place where the reduction ratio is large, and conversely, if the filter parameter is matched to a place where the reduction ratio is large, the place where the reduction ratio is small may be too blurred.

【0006】また、テクスチャ画像に対するローパスフ
ィルタ処理をXY両方向とも同じにしてしまうと、例え
ば、建物を正面に近い角度から見た場合の側面の壁にテ
クスチャを合成する時のように、X方向とY方向の縮小
率が大きく違う場合に縮小率が小さい方向に合わせると
モアレが発生してしまい、縮小率が大きい方向に合わせ
ると縮小率が小さい方向ではテクスチャの模様がぼけて
しまうことがある。
If the low-pass filter processing on the texture image is the same in both the X and Y directions, for example, when the texture is synthesized on the side wall when the building is viewed from an angle close to the front, the X and Y directions are different. When the reduction ratio in the Y direction is significantly different, moiré occurs when the reduction ratio is set to a smaller value, and the texture pattern may be blurred when the reduction ratio is set to a smaller value.

【0007】本発明は、前記従来の問題点を解決するべ
くなされたもので、前もってテクスチャ画像にローパス
フィルタ処理をする必要がなく、また、縮小率が変化す
る面やx方向、y方向で縮小率が大きく違う面に対して
も、自動的に適切なローパスフィルタ処理を行い、高品
質な画像合成やテクスチャマッピング等の画像処理が可
能な画像処理装置を提供することを課題とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and it is not necessary to perform a low-pass filter process on a texture image in advance. An object of the present invention is to provide an image processing apparatus capable of automatically performing appropriate low-pass filter processing even on a surface having a significantly different rate and performing image processing such as high-quality image synthesis and texture mapping.

【0008】[0008]

【課題を解決するための手段】本発明は、原画像の一部
にテクスチャ画像を貼り込む画像処理を行う画像処理装
置において、テクスチャ画像が貼り込まれる貼込領域の
2次元座標上の点について、隣接点間の距離に対応す
る、テクスチャ画像座標上での距離を計算する計算手段
と、計算された距離を基に前記各点についてローパスフ
ィルタパラメータを自動的に選択するフィルタパラメー
タ選択手段と、選択されたローパスフィルタパラメータ
を用いてフィルタ処理されたテクスチャ画像を、前記貼
込領域に貼り込む画像処理手段と、を備えた構成とする
ことにより、前記課題を解決したものである。
According to the present invention, there is provided an image processing apparatus for performing image processing for pasting a texture image to a part of an original image. Calculating means for calculating the distance on the texture image coordinates, corresponding to the distance between adjacent points, and filter parameter selecting means for automatically selecting a low-pass filter parameter for each point based on the calculated distance, The object is achieved by providing a configuration including an image processing unit that pastes a texture image filtered using the selected low-pass filter parameter into the paste region.

【0009】即ち、本発明においては、原画像上の隣接
点間の距離、即ち単位距離に対応するテクスチャ画像上
の距離が反映されている上記ローパスフィルタパラメー
タを用いて対応するローパスフィルタを選択し、フィル
タ処理するようにしたので、貼込領域の点(画素)毎
に、テクスチャ画像が貼り込まれる際の縮小率に応じた
適切なローパスフィルタ処理を行うことが可能となるた
め、高品質な画像処理を行うことが可能となる。
That is, in the present invention, a corresponding low-pass filter is selected using the low-pass filter parameter reflecting the distance between adjacent points on the original image, that is, the distance on the texture image corresponding to the unit distance. Filter processing, it is possible to perform an appropriate low-pass filter processing for each point (pixel) of the pasting area according to the reduction ratio when the texture image is pasted. Image processing can be performed.

【0010】[0010]

【発明の実施の形態】以下、図面を参照して、本発明に
係る実施形態の画像合成装置について詳細に説明する。
本実施形態の画像合成装置は、本出願人が既に特開平6
−274649で提案している射影的正規化変換を施し
て合成を行う画像合成装置と同様の機能を基本的機能と
して有している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image synthesizing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.
The image synthesizing apparatus of the present embodiment has already been disclosed by
As a basic function, it has the same function as that of the image synthesizing apparatus which performs projection normalization conversion and synthesizes the image as proposed in -274649.

【0011】図1は、本発明に係る一実施形態の画像合
成装置の概略構成を示すブロック図である。本実施形態
の画像合成装置は、画像入力装置10、指示入力装置1
2、画像処理装置14、表示装置16及び画像出力装置
18を備えている。
FIG. 1 is a block diagram showing a schematic configuration of an image synthesizing apparatus according to an embodiment of the present invention. The image synthesizing device of the present embodiment includes an image input device 10, an instruction input device 1,
2, an image processing device 14, a display device 16, and an image output device 18.

【0012】上記画像入力装置10は、実写画像やCG
画像等の原画像や、これに合成する(貼り込む)テクス
チャ画像等を入力するイメージスキャナや、これら画像
データが格納され、読み出すことができるハードディス
ク等の記憶装置で構成されている。又、前記指示入力装
置12は、キーボードやマウス等からなり、種々の情報
を指示入力できるようになっている。
[0012] The image input device 10 is used for real images and CG images.
An image scanner for inputting an original image such as an image, a texture image to be synthesized (pasted) onto the image, and the like, and a storage device such as a hard disk capable of storing and reading these image data are configured. The instruction input device 12 includes a keyboard, a mouse, and the like, and can input various information.

【0013】又、前記画像処理装置14はコンピュータ
からなり、該装置14には、テクスチャ画像が合成され
る合成領域の2次元座標上の点(画素)について、隣接
点間の距離(基本距離)に対応する、テクスチャ画像座
標上での距離を計算する計算手段と、計算された距離を
基に前記各点についてローパスフィルタパラメータを自
動的に選択するフィルタパラメータ選択手段と、選択さ
れたローパスフィルタパラメータを用いてフィルタ処理
されたテクスチャ画像を、前記合成領域に合成する合成
手段の各手段が、ソフトウェアにより実現されている。
The image processing device 14 comprises a computer. The device 14 has a distance (basic distance) between adjacent points for a point (pixel) on a two-dimensional coordinate of a synthesis area where a texture image is synthesized. Calculating means for calculating a distance on the texture image coordinates, a filter parameter selecting means for automatically selecting a low-pass filter parameter for each point based on the calculated distance, and a selected low-pass filter parameter Each of the synthesizing means for synthesizing the texture image subjected to the filtering process with the synthesizing area in the synthesizing area is realized by software.

【0014】次に、本実施形態の作用を、図2に示した
フローチャートを用いて説明する。
Next, the operation of this embodiment will be described with reference to the flowchart shown in FIG.

【0015】まず、前記画像入力装置10で原画像(図
3)とテクスチャ画像(図4)を入力する(ステップ
1、2)。ここでは、便宜上、テクスチャ画像の方を拡
大して示してある。
First, an original image (FIG. 3) and a texture image (FIG. 4) are input by the image input device 10 (steps 1 and 2). Here, for convenience, the texture image is shown in an enlarged manner.

【0016】次いで、原画像中でテクスチャ画像を合成
する合成領域(貼込領域)を、前記指示入力装置12に
より指定する(ステップ3)。ここでは、図5に示す4
角形P1〜P4を指定した場合を示す。そして、その合成
領域に合成したいテクスチャ画像の長方形の領域に対し
て、合成領域のP1に対応する左上の座標値と、該長方
形の幅と高さを、同様に指定する。ここでは、図4に示
したテクスチャ画像の全ての領域を指定したとして説明
する。
Next, a synthesis area (pasting area) for synthesizing the texture image in the original image is designated by the instruction input device 12 (step 3). Here, 4 shown in FIG.
The case where the squares P1 to P4 are designated is shown. Then, for the rectangular area of the texture image to be synthesized with the synthesis area, the upper left coordinate value corresponding to P1 of the synthesis area and the width and height of the rectangle are similarly specified. Here, it is assumed that all the regions of the texture image shown in FIG. 4 have been designated.

【0017】次いで、前記画像処理装置14において以
下の処理を行う。まず、原画像で指定した合成領域内の
全ての画素に対して、原画像の座標値(x,y)を射影
的正規化変換(この座標変換については、例えば「計算
機幾何と地理情報処理」bit別冊 共立出版(198
6)に詳説されている)を、下記(1)、(2)式で規
定されるc、dを含む(3)、(4)式により行い、求
まる正規化座標値α、βを用いて、下記(5)、(6)
式によりテクスチャ画像上の座標値(xt、yt)に変換
を行う(ステップ4)。
Next, the following processing is performed in the image processing device 14. First, the coordinate values (x, y) of the original image are subjected to projective normalization transformation for all the pixels in the synthesis area designated by the original image (for this coordinate transformation, for example, “computer geometry and geographic information processing”). bit separate volume Kyoritsu Publishing (198
6) is performed according to the following equations (3) and (4) including c and d defined by the following equations (1) and (2), and the obtained normalized coordinate values α and β are used. , The following (5), (6)
Conversion to coordinate values (x t , y t ) on the texture image is performed by the equation (step 4).

【0018】[0018]

【数1】 ここで、x,y:合成領域のx,y座標 xt,yt:変換されたテクスチャ画像上の座標 x1〜x4,y1〜y4:合成領域の4角形の頂点のx,y
座標 x0′,y0′:合成するテクスチャの4角形の左上の
x,y座標 Wt,Ht:合成するテクスチャの4角形の幅と高さ α:射影的正規化変換後のx座標 β:射影的正規化変換後のy座標
(Equation 1) Here, x, y: x for combining region, y coordinates x t, y t: coordinate x1~x4 on transformed texture image, y1 to y4: x quadrangle vertices of synthesis region, y
Coordinates x 0 ′, y 0 ′: x, y coordinates of the upper left corner of the square of the texture to be synthesized Wt, Ht: width and height of the square of the texture to be synthesized α: x coordinate after projective normalization transformation β: Y coordinate after projective normalization transformation

【0019】次に、合成領域内の全ての画素について、
原画像上での隣接点(画素)間の距離に対応する、テク
スチャ画像上での距離(画素単位)を、テクスチャ画像
上でのx,y方向別々に計算する(ステップ5)。図6
に、合成領域内のある注目点P(x,y)について隣接
点との間の単位距離に対応する、テクスチャ画像上での
距離の計算例を示す。この図6(A)に示した原画像上
の点Pと、これに隣接する上下左右の4点が同図(B)
に示したようにテクスチャ画像上に変換されているとす
ると、x方向の距離dx、y方向の距離dyを、それぞれ
同図(B)に示した矢印の長さの半分、即ちそれぞれの
方向の隣接点との間の平均距離とする。x方向の距離が
dxということは、テクスチャ画像を合成領域に合成す
ると、テクスチャ画像が同方向に1/dxに縮小される
ことを意味する。
Next, for all pixels in the synthesis area,
The distance (pixel unit) on the texture image corresponding to the distance between adjacent points (pixels) on the original image is calculated separately in the x and y directions on the texture image (step 5). FIG.
9 shows an example of calculating a distance on a texture image corresponding to a unit distance between a certain point of interest P (x, y) in a synthesis area and an adjacent point. A point P on the original image shown in FIG. 6A and four points adjacent to the point P in the upper, lower, left and right directions are shown in FIG.
Assuming that the distance dx in the x direction and the distance dy in the y direction are half of the length of the arrow shown in FIG. The average distance between adjacent points. The fact that the distance in the x direction is dx means that when the texture image is synthesized in the synthesis area, the texture image is reduced to 1 / dx in the same direction.

【0020】次に、合成領域内の全ての画素について、
上記のように計算した距離を用いて適切なフィルタパラ
メータをx、y方向別々に選択する(ステップ6)。こ
こで、適切なフィルタパラメータについて説明すると、
ある画素P(x,y)について計算した前記距離dxが
5であったとすると、x方向に関しては帯域制限が1/
5になるように設計されたローパスフィルタパラメータ
を選択する。ここで、フィルタパラメータの設計に関し
ては、特開平10−187965で開示されているフィ
ルタ設計手法を用いることができ、これによれば任意の
帯域制限を行えるフィルタパラメータを設計することが
可能である。実際には帯域制限が1/2,1/3,1/4,1/5....1
/10,1/12,1/14,1/16,1/18,1/20,1/22,1/24,1/27,1/30,1
/35,1/40,1/45,1/50...となるようなフィルタパラメー
タを飛び飛びで用意しておき、計算された距離dxを基
にそれに近いフィルタパラメータをプログラムにより自
動選択するようになっている。その際、用意するフィル
タの数は多いほうがいいが、選択するフィルタの数が多
くなると、合成時間が長くなるので画質と処理時間を考
慮して選択する必要がある。
Next, for all the pixels in the synthesis area,
Using the distance calculated as described above, appropriate filter parameters are separately selected in the x and y directions (step 6). Here, to explain the appropriate filter parameters,
Assuming that the distance dx calculated for a certain pixel P (x, y) is 5, the band limitation in the x direction is 1 /
Select a low pass filter parameter designed to be 5. Here, with respect to the design of the filter parameters, a filter design method disclosed in Japanese Patent Application Laid-Open No. H10-187965 can be used. According to this, it is possible to design a filter parameter that can perform arbitrary band limitation. Actually the bandwidth limit is 1 / 2,1 / 3,1 / 4,1 / 5 ... 1
/ 10,1 / 12,1 / 14,1 / 16,1 / 18,1 / 20,1 / 22,1 / 24,1 / 27,1 / 30,1
Filter parameters such as / 35, 1/40, 1/45, 1/50 ... are prepared separately, and based on the calculated distance dx, a filter parameter close to it is automatically selected by the program. It has become. At this time, it is better that the number of filters to be prepared is large. However, if the number of filters to be selected is large, the synthesis time becomes long.

【0021】次に、上記のように選択されたフィルタパ
ラメータを用いてフィルタ処理を行い、前記合成領域に
テクスチャ画像を合成する処理を行う(ステップ7、
8)。
Next, filter processing is performed using the filter parameters selected as described above, and processing for synthesizing a texture image with the synthesis area is performed (step 7,
8).

【0022】ここで、フィルタ処理の一例について具体
的に説明する。画素P(x,y)に対して実際に1/2の帯
域制限をかける場合であれば、フィルタパラメータをc
-10〜c10とし、該画素P(x,y)のRGBの色データをR
(0,0)、G(0,0)、B(0,0)とし、近隣の点P′(x+n,y+m)
の色データをR(n,m)、G(n,m)、B(n,m)で表し、フィ
ルタ処理後のP(x,y)の色データをfR,fG,fBと
すると、fRは下記(7)計算式により計算できる。ま
た、fG,fBも同様に計算可能である。なお、この例
は、色データをRGBで持っている場合であるが、CM
YK,Lab等の他の色データの場合であっても同様に
計算可能である。
Here, an example of the filtering process will be specifically described. If the bandwidth of the pixel P (x, y) is actually limited to 2, the filter parameter is set to c.
And -10 to c 10, the pixel P (x, y) into RGB color data of R
(0,0), G (0,0), B (0,0) and the neighboring point P '(x + n, y + m)
Is represented by R (n, m), G (n, m), and B (n, m), and the color data of P (x, y) after filtering is represented by fR, fG, fB. Can be calculated by the following formula (7). Further, fG and fB can be similarly calculated. In this example, the color data is stored in RGB,
The same calculation can be performed for other color data such as YK and Lab.

【0023】[0023]

【数2】 (Equation 2)

【0024】以下に、上記ステップ7で実行されるフィ
ルタ処理の手順について、図7を用いて説明する。ここ
では、説明の便宜上、用意されたフィルタパラメータの
うち、実際に選択されたフィルタパラメータがf1,f2,f
3,f4,f5の5つであったとする。又、各画素についてx、
y方向のフィルタパラメータの組み合わせを、x方向が
f1、y方向がf2であったときに(f1,f2)と表記す
るとした場合、画素全体でフィルタの組み合わせが、以
下に示す11個であったとする。
The procedure of the filtering process executed in step 7 will be described below with reference to FIG. Here, for convenience of explanation, among the prepared filter parameters, filter parameters actually selected are f1, f2, f
Suppose there were five of 3, f4, f5. Also, x,
If the combination of the filter parameters in the y direction is expressed as (f1, f2) when the x direction is f1 and the y direction is f2, it is assumed that there are 11 filter combinations in the whole pixel as shown below. I do.

【0025】 (f1,f1)(f1,f2)(f1,f3) (f2,f1)(f2,f2)(f2,f3)(f2,f4) (f3,f2)(f3,f3)(f3,f4)(f3,f5)(F1, f1) (f1, f2) (f1, f3) (f2, f1) (f2, f2) (f2, f3) (f2, f4) (f3, f2) (f3, f3) (f3 , f4) (f3, f5)

【0026】ローパスフィルタはx、y方向それぞれ独
立して処理できるので、上の組合せで、左上の(f1,
f1)から右へ順にフィルタ処理を行うとする。まず、
図7(A)のテクスチャ画像Tに対して、そのx方向に
フィルタパラメータf1を用いてフィルタ処理を行っ
て、同図(B)に示した画像T′を作成する。次に、こ
の画像T′に対してy方向にフィルタパラメータf1を
用いてフィルタ処理を行って、同図(C)に示した画像
T1′を作成する。そして、合成領域の画素の中のフィ
ルタパラメータ(f1,f1)の組み合わせが選択されて
いる画素に対して、この画像T1′を合成する。
Since the low-pass filter can be processed independently in each of the x and y directions, the upper combination (f1,
It is assumed that filter processing is performed in order from f1) to the right. First,
Filter processing is performed on the texture image T in FIG. 7A in the x direction using the filter parameter f1 to create an image T 'shown in FIG. 7B. Next, a filtering process is performed on this image T 'in the y direction using the filter parameter f1 to create an image T1' shown in FIG. Then, the image T1 'is synthesized with the pixels of the pixels of the synthesis area for which the combination of the filter parameters (f1, f1) is selected.

【0027】次いで、同じく上記画像T′に対して、y
方向に他のフィルタパラメータf2、f3を用いてフィル
タ処理を行って、同図(D)、(E)に示した画像T
2′、T3′を作成し、合成領域の画素の中のフィルタパ
ラメータ(f1,f2)、(f1,f3)の組み合わせが選
択されている画素に対してそれぞれ合成を行う。
Next, similarly, for the image T ', y
Filter processing is performed using the other filter parameters f2 and f3 in the direction, and the image T shown in FIGS.
2 'and T3' are created, and synthesis is performed on each of the pixels in the pixels of the synthesis area for which the combination of the filter parameters (f1, f2) and (f1, f3) is selected.

【0028】以下、図示は省略するが、同様にして、テ
クスチャ画像のx方向にフィルタパラメータf2、f3を
用いてフィルタ処理を行った画像それぞれに対して、組
み合わせの存在するフィルタパラメータを用いてy方向
にフィルタ処理を行い、作成された各画像を対応するフ
ィルタパラメータの組み合わせが選択されている合成領
域内の各画素に対してそれぞれ合成を行う。
Hereinafter, although not shown, similarly, for each of the images that have been subjected to the filter processing using the filter parameters f2 and f3 in the x direction of the texture image, y is obtained by using the filter parameters having a combination. Filter processing is performed in the direction, and each created image is combined with each pixel in the combination area in which the combination of the corresponding filter parameters is selected.

【0029】このようにして、前記図5の合成領域に図
4のテクスチャ画像を合成した結果得られた画像を、図
8に拡大して示す。比較のために、ローパスフィルタ処
理を行わずに合成した画像を図9に、前もってテクスチ
ャ画像に帯域制限が異なるローパスフィルタ処理を行っ
て合成した画像を図10、図11、図12に示す。
FIG. 8 is an enlarged view of an image obtained as a result of synthesizing the texture image of FIG. 4 with the synthesizing area of FIG. For comparison, FIG. 9 shows an image synthesized without performing the low-pass filter processing, and FIGS. 10, 11, and 12 show images synthesized by performing a low-pass filter processing with a different band limitation on the texture image in advance.

【0030】図9では、ローパスフィルタ処理を行って
いないのでモアレが発生している。図10は、最も左側
の合成領域で適切になるようにフィルタパラメータを選
択してフィルタ処理を行ったテクスチャを合成した画像
であるが、右側の方ではモアレが発生してしまってい
る。図12は、最も右側の合成領域で適切になるように
フィルタパラメータを選択してフィルタ処理を行ったテ
クスチャを合成した画像であるため、モアレは発生して
いないが、左側の領域ではテクスチャの模様がかなりぼ
けてしまっている。図11は、図10と図12の中間く
らいのフィルタパラメータを選択してフィルタ処理を行
ったテクスチャ画像を合成した画像であるが、最も右側
の領域では若干モアレが発生しており、左側の領域では
テクスチャの模様がぼけてしまっている。但し、スキャ
ナで読み込んだ添付図面では解像度が低いため違いが明
瞭でない。
In FIG. 9, moiré occurs because the low-pass filter processing is not performed. FIG. 10 is an image obtained by synthesizing a texture obtained by performing filter processing by selecting a filter parameter so as to be appropriate in the leftmost synthesis area, but moire occurs on the right side. FIG. 12 is an image obtained by synthesizing a texture obtained by performing a filter process by selecting a filter parameter so as to be appropriate in the rightmost synthesis area. Therefore, moire does not occur. Is quite blurred. FIG. 11 shows an image obtained by synthesizing a texture image obtained by performing a filtering process by selecting a filter parameter approximately in the middle between FIG. 10 and FIG. Then the texture pattern is blurred. However, the difference is not clear in the attached drawing read by the scanner because the resolution is low.

【0031】以上の図10〜図12の各画像に比べて、
本実施形態の画像処理装置を用いて合成した前記図8の
画像では、モアレの発生はなく、しかも左側の領域でも
テクスチャの模様がぼけて潰れることない画像が得られ
ている。このように、本実施形態によれば高品質な合成
画像を容易に得ることができる。
Compared to the respective images shown in FIGS.
In the image of FIG. 8 synthesized using the image processing apparatus of the present embodiment, an image is obtained in which no moiré is generated and the texture pattern is not blurred and crushed even in the left area. As described above, according to the present embodiment, a high-quality composite image can be easily obtained.

【0032】以上、本発明について具体的に説明した
が、本発明は、前記実施形態に示したものに限られるも
のでなく、その要旨を逸脱しない範囲で種々変更可能で
ある。
Although the present invention has been specifically described above, the present invention is not limited to the above-described embodiment, and can be variously modified without departing from the gist thereof.

【0033】例えば、前記実施形態では、画像合成装置
について説明したが、これに限定されず、原画像に対し
てテクスチャ画像をマッピングする三次元画像処理装置
であってもよいことは言うまでもない。
For example, in the above embodiment, the image synthesizing apparatus has been described. However, it is needless to say that the present invention is not limited to this, and may be a three-dimensional image processing apparatus for mapping a texture image to an original image.

【0034】又、前記実施形態では、選択されたフィル
タパラメータを用いてフィルタ処理を行った画像を作成
して合成を行ったが、必ずしもフィルタ処理を行ったテ
クスチャ画像を作成する必要はなく、テクスチャ画像合
成時にテクスチャ画像上の必要な画素について、各画素
に対応するフィルタパラメータを用いて画素毎にフィル
タ処理を行い合成を行ってもよい。
In the above-described embodiment, the image subjected to the filtering process is created by using the selected filter parameters, and the image is synthesized. However, it is not always necessary to create the texture image subjected to the filtering process. At the time of image synthesis, necessary pixels on the texture image may be subjected to filter processing for each pixel using filter parameters corresponding to each pixel, and then synthesized.

【0035】[0035]

【発明の効果】以上説明した通り、本発明によれば、前
もってテクスチャ画像にローパスフィルタ処理をする必
要がなく、また、縮小率が変化する面やxy方向の縮小
率が大きく違う面に対しても、自動的に適切なローパス
フィルタ処理を行い、高品質な画像合成やテクスチャマ
ッピング等の画像処理を行うことができる。
As described above, according to the present invention, it is not necessary to perform a low-pass filter process on a texture image in advance, and the present invention can be applied to a surface where the reduction ratio changes or a surface where the reduction ratio in the xy direction greatly differs. Also, appropriate low-pass filter processing is automatically performed, and image processing such as high-quality image synthesis and texture mapping can be performed.

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

【図1】本発明に係る一実施形態の画像合成装置の概略
構成を示すブロック図
FIG. 1 is a block diagram showing a schematic configuration of an image synthesizing apparatus according to an embodiment of the present invention;

【図2】同実施形態の作用を示すフローチャートFIG. 2 is a flowchart showing the operation of the embodiment;

【図3】原画像の一例を示す説明図FIG. 3 is an explanatory diagram showing an example of an original image.

【図4】テクスチャ画像の一例を示す説明図FIG. 4 is an explanatory diagram showing an example of a texture image.

【図5】合成領域を指定した上記原画像を示す説明図FIG. 5 is an explanatory diagram showing the original image in which a combination area is specified;

【図6】合成領域の隣接点間の距離に対応する、テクス
チャ画像上の距離の計算原理を説明する線図
FIG. 6 is a diagram illustrating a principle of calculating a distance on a texture image corresponding to a distance between adjacent points of a synthesis area.

【図7】本発明におけるローパスフィルタ処理の特徴を
示す説明図
FIG. 7 is an explanatory diagram showing characteristics of a low-pass filter process according to the present invention.

【図8】本発明による合成画像の一例を示す説明図FIG. 8 is an explanatory diagram showing an example of a composite image according to the present invention.

【図9】ローパスフィルタ処理をしない場合の対応合成
画像を示す説明図
FIG. 9 is an explanatory diagram showing a corresponding composite image when low-pass filter processing is not performed.

【図10】前もってローパスフィルタ処理を行った場合
の対応合成画像を示す説明図
FIG. 10 is an explanatory diagram showing a corresponding composite image when low-pass filter processing has been performed in advance.

【図11】前もって他のローパスフィルタ処理を行った
場合の対応合成画像を示す説明図
FIG. 11 is an explanatory diagram showing a corresponding composite image when another low-pass filter processing is performed in advance.

【図12】前もって更に他のローパスフィルタ処理を行
った場合の対応合成画像を示す説明図
FIG. 12 is an explanatory diagram showing a corresponding composite image when another low-pass filter process is performed in advance.

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

10…画像入力装置 12…指示入力装置 14…画像合成装置 16…指示装置 18…画像出力装置 DESCRIPTION OF SYMBOLS 10 ... Image input device 12 ... Instruction input device 14 ... Image synthesis device 16 ... Instruction device 18 ... Image output device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】原画像の一部にテクスチャ画像を貼り込む
画像処理を行う画像処理装置において、 テクスチャ画像が貼り込まれる貼込領域の2次元座標上
の点について、隣接点間の距離に対応する、テクスチャ
画像座標上での距離を計算する計算手段と、 計算された距離を基に前記各点についてローパスフィル
タパラメータを自動的に選択するフィルタパラメータ選
択手段と、 選択されたローパスフィルタパラメータを用いてフィル
タ処理されたテクスチャ画像を、前記貼込領域に貼り込
む画像処理手段と、を備えていることを特徴とする画像
処理装置。
An image processing apparatus for performing an image processing for pasting a texture image to a part of an original image, wherein a point on a two-dimensional coordinate of a pasting area where a texture image is pasted corresponds to a distance between adjacent points. Calculating means for calculating a distance on the texture image coordinates, filter parameter selecting means for automatically selecting a low-pass filter parameter for each of the points based on the calculated distance, and using the selected low-pass filter parameter. Image processing means for pasting the texture image subjected to the filtering process into the pasting area.
【請求項2】請求項1において、 前記画像処理が、テクスチャ画像の画像合成又はマッピ
ングであることを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein the image processing is image synthesis or mapping of a texture image.
【請求項3】請求項1において、 前記計算手段が、注目点を中心とする両隣接点間の距離
に対応する、テクスチャ画像上での距離を計算し、その
平均値を該注目点についての前記隣接点間の距離とする
ことを特徴とする画像処理装置。
3. The method according to claim 1, wherein the calculating means calculates a distance on the texture image corresponding to a distance between two adjacent points around the point of interest, and calculates an average value of the distance for the point of interest. An image processing apparatus characterized in that the distance is between adjacent points.
JP09937199A 1999-04-06 1999-04-06 Image processing device Expired - Fee Related JP4087010B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09937199A JP4087010B2 (en) 1999-04-06 1999-04-06 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09937199A JP4087010B2 (en) 1999-04-06 1999-04-06 Image processing device

Publications (2)

Publication Number Publication Date
JP2000293682A true JP2000293682A (en) 2000-10-20
JP4087010B2 JP4087010B2 (en) 2008-05-14

Family

ID=14245693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09937199A Expired - Fee Related JP4087010B2 (en) 1999-04-06 1999-04-06 Image processing device

Country Status (1)

Country Link
JP (1) JP4087010B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010134292A1 (en) * 2009-05-19 2010-11-25 パナソニック株式会社 Drawing device and drawing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010134292A1 (en) * 2009-05-19 2010-11-25 パナソニック株式会社 Drawing device and drawing method
CN102119409A (en) * 2009-05-19 2011-07-06 松下电器产业株式会社 Drawing device and drawing method

Also Published As

Publication number Publication date
JP4087010B2 (en) 2008-05-14

Similar Documents

Publication Publication Date Title
US7876378B1 (en) Method and apparatus for filtering video data using a programmable graphics processor
JP3882651B2 (en) Image processing apparatus and program
KR101036787B1 (en) Motion vector calculation method, hand-movement correction device using the method, imaging device, and motion picture generation device
US7643676B2 (en) System and method for adaptive interpolation of images from patterned sensors
US20050008254A1 (en) Image generation from plurality of images
US20060072851A1 (en) Deghosting mosaics using multiperspective plane sweep
US20090207271A1 (en) Image Processor Correcting Color Misregistration, Image Processing Program, Image Processing Method, and Electronic Camera
JP2000182038A (en) Method for generating perspective sizing data from distorted information, device to be used for this and computer program product
US20060152596A1 (en) Noise cleaning sparsely populated color digital images
JP5473173B2 (en) Image processing apparatus, image processing method, and image processing program
JP2000003437A (en) Aberration correcting method, electronic still camera and image processing system
JP6840506B2 (en) Image processing device, image processing method, program
JP2006311080A (en) Texture image generation method, image processor, program, and recording medium
JP2005012561A (en) Image processing apparatus, image processing method, and image projector
JP2000293682A (en) Picture processor
EP1591955A2 (en) Resolution converting method
JPH10108003A (en) Image compositing device and image compositing method
JP3915664B2 (en) Image processing apparatus, image processing method used therefor, and program therefor
JP2009076984A (en) Image processor, image processing method, program, and recording medium
JP4265363B2 (en) Image processing device
JPH06274649A (en) Image synthesizer
US11893706B2 (en) Image correction device
JP2005071223A (en) Multiple image creation device, multiple image creation method, multiple image creation program and program recording medium
JP2734099B2 (en) Blur image synthesis processing method
JPH09270005A (en) Edge picture processor and its method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050325

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050613

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060403

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060417

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060602

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080220

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

Free format text: PAYMENT UNTIL: 20110228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110228

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120229

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130228

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130228

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees