JPH087115A - Image processing method and apparatus - Google Patents
Image processing method and apparatusInfo
- Publication number
- JPH087115A JPH087115A JP13695294A JP13695294A JPH087115A JP H087115 A JPH087115 A JP H087115A JP 13695294 A JP13695294 A JP 13695294A JP 13695294 A JP13695294 A JP 13695294A JP H087115 A JPH087115 A JP H087115A
- Authority
- JP
- Japan
- Prior art keywords
- setting
- output
- image
- video camera
- moire pattern
- 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
Links
Landscapes
- Image Generation (AREA)
Abstract
(57)【要約】
【目的】 カメラ等を用いることなく、所望のモアレ模
様の干渉縞を作成できる画像処理方法及び装置を提供す
る。
【構成】 ユーザによってコマンド・パラメータ入力装
置1から実行ファイル名,出力画像ファイル名,各種パ
ラメータ等が入力されると、そのパラメータは制御装置
7により演算装置4に渡され、演算装置4にて詳細は後
述するモアレ現象による干渉縞を作成する演算が行われ
る。作成されたモアレ模様の画像データは記憶装置3に
格納されると共に、必要に応じて出力画像データとして
表示装置2、或いは簡易画像出力5から出力される。そ
して、出力画像が上述の出力装置で確認された後、画像
出力装置6によってハードコピーされる。
(57) [Abstract] [PROBLEMS] To provide an image processing method and apparatus capable of creating a desired moire pattern interference fringe without using a camera or the like. [Structure] When a user inputs an execution file name, an output image file name, various parameters, etc. from the command / parameter input device 1, the parameters are passed to the arithmetic unit 4 by the control unit 7, and the arithmetic unit 4 details Is calculated to create interference fringes due to the moire phenomenon described later. The image data of the created moire pattern is stored in the storage device 3 and is output from the display device 2 or the simple image output 5 as output image data as needed. Then, after the output image is confirmed by the above-mentioned output device, the image output device 6 makes a hard copy.
Description
【0001】[0001]
【産業上の利用分野】本発明は画像処理方法及び装置に
関し、特に所望のモアレ模様の干渉縞を作成できる画像
処理方法及び装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and apparatus, and more particularly to an image processing method and apparatus capable of producing a desired moire pattern interference fringe.
【0002】[0002]
【従来の技術】従来、図18乃至図21に示すような、
特殊なモアレ現象による干渉縞を作成する場合、ビデオ
カメラとテレビモニタが必要だった。また、作成する干
渉縞がどのような模様かは、操作していくうちに偶然に
観察される傾向が強かった。2. Description of the Related Art Conventionally, as shown in FIGS.
A video camera and TV monitor were required to create interference fringes due to the special moire phenomenon. In addition, the pattern of the interference fringes to be created had a strong tendency to be observed by accident during the operation.
【0003】[0003]
【発明が解決しようとする課題】そのために、従来の方
法においては、この特殊なモアレ模様を作成する場合、
機材を揃えたり、セッティングをするのに手間がかかっ
た。また、アナログ的に処理するので、どのようなモア
レ模様が生じるかの予測は難しく、その再現性も乏しか
った。Therefore, in the conventional method, in the case of creating this special moire pattern,
It took a lot of time to arrange the equipment and make the settings. Further, since the processing is performed in an analog manner, it is difficult to predict what kind of moire pattern will occur, and the reproducibility is poor.
【0004】本発明は、上記課題を解決するために成さ
れたもので、カメラ等を用いることなく、所望のモアレ
模様の干渉縞を作成できる画像処理方法及び装置を提供
することを目的とする。The present invention has been made to solve the above problems, and an object of the present invention is to provide an image processing method and apparatus capable of forming interference fringes of a desired moire pattern without using a camera or the like. .
【0005】[0005]
【課題を解決するための手段】上記目的を達成するため
に、本発明の画像処理装置は以下の構成を備える。In order to achieve the above object, the image processing apparatus of the present invention has the following configuration.
【0006】即ち、第1及び第2のパターンを設定する
第1の設定手段と、前記第1及び第2のパターンの間に
おける所定の関係をパラメータとして設定する第2の設
定手段と、前記第2の設定手段により設定されたパラメ
ータに基づいて、前記第1の設定手段により設定された
第1及び第2のパターンによるモアレ模様の干渉縞を演
算する演算手段と、前記演算手段により演算されたモア
レ模様の干渉縞を出力する出力手段と、を備える。That is, first setting means for setting the first and second patterns, second setting means for setting a predetermined relationship between the first and second patterns as a parameter, and the second setting means. Calculating means for calculating the interference fringes of the moire pattern by the first and second patterns set by the first setting means based on the parameters set by the second setting means; Output means for outputting the moire pattern interference fringes.
【0007】また、本発明による画像処理方法は以下の
工程を有する。The image processing method according to the present invention has the following steps.
【0008】即ち、第1及び第2のパターンを設定する
第1の設定工程と、前記第1及び第2のパターンの間に
おける所定の関係をパラメータとして設定する第2の設
定工程と、前記第2の設定工程により設定されたパラメ
ータに基づいて、前記第1の設定工程により設定された
第1及び第2のパターンによるモアレ模様の干渉縞を演
算する演算工程と、前記演算工程により演算されたモア
レ模様の干渉縞を出力する出力手段と、を有する。That is, a first setting step of setting the first and second patterns, a second setting step of setting a predetermined relationship between the first and second patterns as a parameter, and the second setting step. Based on the parameters set in the second setting step, a calculation step of calculating the interference fringes of the moire pattern by the first and second patterns set in the first setting step, and the calculation step Output means for outputting the moire pattern interference fringes.
【0009】[0009]
【作用】かかる構成において、第1及び第2のパターン
を設定し、第1及び第2のパターンの間における所定の
関係をパラメータとして設定し、設定されたパラメータ
に基づいて、第1及び第2のパターンによるモアレ模様
の干渉縞を演算し、演算されたモアレ模様の干渉縞を出
力するように動作する。In this structure, the first and second patterns are set, the predetermined relationship between the first and second patterns is set as a parameter, and the first and second patterns are set based on the set parameters. The interference fringes of the moiré pattern based on the pattern are calculated, and the calculated interference fringes of the moiré pattern are output.
【0010】[0010]
【実施例】以下、図面を参照しながら本発明に係る好適
な一実施例を詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described in detail below with reference to the drawings.
【0011】<構成の説明>図1は、本実施例における
画像処理装置の構成を示す概略ブロック図である。図1
において、1は各部に指示を与えるためのコマンド入力
装置、或いは適当なパラメータを与えるパラメータ入力
装置であり、例えばキーボードが用いられる。2は表示
装置であり、入力コマンド・入力パラメータ、処理画像
又は処理後の出力画像を表示するためのものであり、例
えばCRTが使われる。3は処理画像、出力画像データ
等を格納するための記憶装置である。<Description of Configuration> FIG. 1 is a schematic block diagram showing the configuration of the image processing apparatus in this embodiment. FIG.
In the above, 1 is a command input device for giving an instruction to each part or a parameter input device for giving an appropriate parameter, for example, a keyboard is used. A display device 2 is for displaying an input command / input parameter, a processed image or an output image after processing, and for example, a CRT is used. Reference numeral 3 is a storage device for storing processed images, output image data, and the like.
【0012】4は演算装置であり、画像処理のための演
算処理を行なうためのものである。5は処理後の画像を
ハードコピーするための簡易出力装置であり、例えばカ
ラーレーザ画像プリンタが用いられる。6はハードコピ
ーを得るための画像出力装置であり、例えばデジタル・
フィルムレコーダが用いられる。そして、7は制御装置
であり、コマンド・パラメータ入力装置1、表示装置
2、記憶装置3、演算装置4、簡易画像出力装置5、及
び画像出力装置6を制御するものである。An arithmetic unit 4 is for performing arithmetic processing for image processing. Reference numeral 5 denotes a simple output device for making a hard copy of the processed image, and for example, a color laser image printer is used. 6 is an image output device for obtaining a hard copy, such as a digital
A film recorder is used. A control device 7 controls the command / parameter input device 1, the display device 2, the storage device 3, the arithmetic device 4, the simple image output device 5, and the image output device 6.
【0013】かかる構成における本実施例による動作概
要を、以下のデータの流れに従って説明する。An outline of the operation of the present embodiment having such a configuration will be described according to the following data flow.
【0014】まず、ユーザによってコマンド・パラメー
タ入力装置1から実行ファイル名,出力画像ファイル
名,各種パラメータ等が入力されると、そのパラメータ
は制御装置7により演算装置4に渡され、演算装置4に
て詳細は後述するモアレ現象による干渉縞を作成する演
算が行われる。First, when a user inputs an execution file name, an output image file name, various parameters and the like from the command / parameter input device 1, the parameters are passed to the arithmetic device 4 by the control device 7 and then to the arithmetic device 4. In detail, a calculation for creating an interference fringe due to a moire phenomenon described later is performed.
【0015】次に、作成されたモアレ模様の画像データ
は記憶装置3に格納されると共に、必要に応じて出力画
像データとして表示装置2、或いは簡易画像出力5から
出力される。そして、出力画像が上述の出力装置で確認
された後、画像出力装置6によってハードコピーされ
る。Next, the image data of the created moire pattern is stored in the storage device 3 and, if necessary, is output from the display device 2 or the simple image output 5 as output image data. Then, after the output image is confirmed by the above-mentioned output device, the image output device 6 makes a hard copy.
【0016】このように、本実施例では、実際にビデオ
カメラ等の装置を用いることなく、入力されたパラメー
タに基づいてモアレ模様の干渉縞を作成するものであ
る。As described above, in the present embodiment, the moire pattern interference fringes are created based on the input parameters without actually using a device such as a video camera.
【0017】<処理方法の説明>図2は、本実施例によ
る処理手順を示すフローチャートである。以下、データ
の流れに従って処理方法を説明する。<Description of Processing Method> FIG. 2 is a flowchart showing the processing procedure according to this embodiment. The processing method will be described below according to the flow of data.
【0018】まず、ステップS1において、制御装置7
はコマンド・パラメータ入力装置1から表示装置2であ
るCRT(テレビモニタ)の発光体の形態と配列に相当
するパラメータを入力する。CRTの発光体の形態と配
列は、図3に示すようなものである。これは、スリット
型シャドウマスクを通してモニタ上のパネルにRGBの
3発色光を転写するものである。またパラメータとして
各色の筋と筋のピッチを与える。尚、平均的なシャドウ
マスクのスリット間のピッチは0.6[mm]である。
図3において、8はテレビモニタの走査線RGB分解図
における各色の単セルを示し、9はテレビモニタの走査
線上の1画素分を示すものである。First, in step S1, the control device 7
Inputs from the command / parameter input device 1 parameters corresponding to the form and arrangement of the light-emitting body of the CRT (TV monitor) which is the display device 2. The morphology and arrangement of the CRT light emitters are as shown in FIG. This is to transfer the three color lights of RGB to a panel on a monitor through a slit type shadow mask. Also, the stripes of each color and the pitch of the stripes are given as parameters. The average pitch between the slits of the shadow mask is 0.6 [mm].
In FIG. 3, 8 indicates a single cell of each color in the scanning monitor RGB decomposition diagram of the television monitor, and 9 indicates one pixel on the scanning line of the television monitor.
【0019】そして、ステップS2ではコマンド・パラ
メータ入力装置1からビデオカメラの光フィルターの形
態と配列に相当するパラメータを入力する。ビデオカメ
ラの光フィルターの形態と配列は、例えば図4に示すよ
うなものである。図4において、10はビデオカメラの
光フィルタ上の1画素分を示すものである。Then, in step S2, parameters corresponding to the form and arrangement of the optical filters of the video camera are input from the command / parameter input device 1. The form and arrangement of the optical filters of the video camera are as shown in FIG. 4, for example. In FIG. 4, 10 indicates one pixel on the optical filter of the video camera.
【0020】次に、ステップS3において、制御装置7
はビデオカメラの拡大率に相当するパラメータを入力す
る。ここで、拡大率の与え方を以下に説明する。Next, in step S3, the controller 7
Input the parameter corresponding to the enlargement ratio of the video camera. Here, how to give the enlargement ratio will be described below.
【0021】図5は、ビデオカメラの1画素分の光フィ
ルター部分、図6はテレビモニタの1画素分の発光体部
分に相当する。図7〜図9は、テレビモニタに対するビ
デオカメラの拡大率を説明する図であり、ビデオカメラ
の1画素分の領域が捕らえるモニタ上の走査線の範囲を
示すものである。特に図7は、テレビモニタの1画素分
とビデオカメラの光フィルターの1画素が等倍である場
合である。また図8は、図7の場合より拡大率を下げて
撮影している場合に相当し、ビデオカメラの光フィルタ
ーの1画素はテレビモニタの数画素分を捕らえているこ
とを示すものである。一方、図9は拡大率を上げて撮影
することを示すものである。FIG. 5 corresponds to a one-pixel optical filter portion of a video camera, and FIG. 6 corresponds to a one-pixel light emitting portion of a television monitor. 7 to 9 are diagrams for explaining the enlargement ratio of the video camera with respect to the television monitor, and show the range of the scanning line on the monitor where the area of one pixel of the video camera can be captured. In particular, FIG. 7 shows a case where one pixel of the television monitor and one pixel of the optical filter of the video camera have the same size. Further, FIG. 8 corresponds to the case where the image is taken at a lower magnification than that of FIG. 7, and shows that one pixel of the optical filter of the video camera captures several pixels of the television monitor. On the other hand, FIG. 9 shows that the image is taken at a higher magnification.
【0022】図7に示すように、ビデオカメラの接写部
分がテレビモニタの画面の大きさに等しい場合には拡大
率は1.0倍とする。また、図8に示すように、接写部
分がモニタ画面より大きい場合には拡大率は1.0以下
であり、反対に、図9に示すように、接写部分がモニタ
画面より小さい場合には拡大率は1.0以上である。モ
アレ現象を起こす場合、この拡大率は1.0倍以上であ
ることが多い。また、図7から図9において、11はビ
デオカメラの光フィルターの撮影領域を示し、12はテ
レビモニタの走査線の存在する領域を示すものである。As shown in FIG. 7, when the close-up portion of the video camera is equal to the screen size of the television monitor, the enlargement ratio is 1.0. Further, as shown in FIG. 8, the enlargement ratio is 1.0 or less when the close-up portion is larger than the monitor screen, and conversely, when the close-up portion is smaller than the monitor screen, enlargement is performed as shown in FIG. The rate is 1.0 or more. When the moire phenomenon occurs, this enlargement ratio is often 1.0 or more. Further, in FIGS. 7 to 9, reference numeral 11 denotes a photographing area of the optical filter of the video camera, and 12 denotes an area where the scanning line of the television monitor exists.
【0023】次に、ステップS4において、テレビモニ
タに垂直な軸周りにビデオカメラが何度回転してモニタ
撮影しているかに相当する回転角を与える。例えば、図
10に示す(a)乃至(c)のように、テレビモニタに
対してビデオカメラの回転角を与える。図において、1
1はビデオカメラの光フィルターの撮影領域を示し、1
2はテレビモニタの走査線の存在する領域を示してい
る。図10に示す(a)乃至(c)はそれぞれ上から反
時計まわりに45度、30度、135度の回転角をもっ
て撮影した時の両領域の相対関係を示す図である。Next, in step S4, a rotation angle corresponding to how many times the video camera is rotated around an axis perpendicular to the television monitor and the monitor is shooting is given. For example, as shown in (a) to (c) of FIG. 10, the rotation angle of the video camera is given to the television monitor. In the figure, 1
Reference numeral 1 indicates a shooting area of the optical filter of the video camera.
Reference numeral 2 indicates an area where the scanning line of the television monitor exists. (A) to (c) shown in FIG. 10 are diagrams showing the relative relationship between the two regions when the images are taken counterclockwise from the top at rotational angles of 45 °, 30 °, and 135 °, respectively.
【0024】次に、ステップS5において、テレビモニ
タとビデオカメラの位置関係を決定するためのパラメー
タを与える。図11に示すように、テレビモニタに対す
るビデオカメラの光フィルタの相対位置(sx,sy)
を与える。図11及び図12において、11はビデオカ
メラの光フィルターの撮影領域、12はテレビモニタの
走査線の存在する領域、13はテレビモニタの画像出力
部に対するビデオカメラの接写部分の開始位置、14は
テレビモニタの対するビデオカメラの回転角度をそれぞ
れ示している。Next, in step S5, parameters for determining the positional relationship between the television monitor and the video camera are given. As shown in FIG. 11, the relative position (sx, sy) of the optical filter of the video camera with respect to the television monitor.
give. In FIGS. 11 and 12, 11 is a photographing area of the optical filter of the video camera, 12 is an area where the scanning line of the television monitor is present, 13 is a start position of the close-up portion of the video camera with respect to the image output portion of the television monitor, and 14 is The respective rotation angles of the video camera with respect to the television monitor are shown.
【0025】そして、ステップS6において、ステップ
S3で入力した拡大率、ステップS4で入力した回転
角、及びステップS5で入力したテレビモニタとビデオ
カメラの相対位置に基づいて、演算装置2にてテレビモ
ニタの発光体とビデオカメラの光フィルターの位置関係
を計算する。即ち、図12に示すように、テレビカメラ
とビデオカメラの相対位置に基づいて、光フィルタのど
の格子にテレビモニタのどの光走査線が重なり合ってい
るかを求める。図12に示す場合、その回転角度は、例
えばth=135度である。Then, in step S6, the television monitor is operated by the arithmetic unit 2 based on the enlargement ratio input in step S3, the rotation angle input in step S4, and the relative position between the television monitor and the video camera input in step S5. Calculate the positional relationship between the illuminant and the optical filter of the video camera. That is, as shown in FIG. 12, which grating of the optical filter is overlapped with which optical scanning line of the television monitor is determined based on the relative positions of the television camera and the video camera. In the case shown in FIG. 12, the rotation angle is th = 135 degrees, for example.
【0026】ここで、上述した各ステップS2、S3、
S4、S5で入力した各パラメータより、演算装置2に
てモアレ模様の干渉縞の発生する位置、色を計算する。
このステップS7の詳しい説明は後述する。そして、ス
テップS8では、ステップS7で求めたデータを出力す
るために記憶装置3に画像出力用ファイルをオープンす
る。次に、ステップS9において、作成されたモアレ模
様の画像データを表示装置2であるCRTに出力し、続
くステップS10で、表示装置2に表示された作成画像
を確認した後、パラメータに変更したい部分があればス
テップS11に進み、コマンドパラメータ入力装置1よ
り変更パラメータを再入力し、ステップS3へ処理を戻
す。Here, each of the above-mentioned steps S2, S3,
From the parameters input in S4 and S5, the arithmetic unit 2 calculates the position and color at which the interference fringes of the moire pattern are generated.
A detailed description of this step S7 will be given later. Then, in step S8, an image output file is opened in the storage device 3 in order to output the data obtained in step S7. Next, in step S9, the created image data of the moire pattern is output to the CRT which is the display device 2, and in the following step S10, the created image displayed on the display device 2 is confirmed, and then the portion to be changed to the parameter is selected. If so, the process proceeds to step S11, the changed parameter is re-input from the command parameter input device 1, and the process returns to step S3.
【0027】また、パラメータの変更がなければステッ
プS12に進み、その画像データをファイルに書き込
み、記憶装置3に記憶させる。そして、ステップS13
では、出力画像データ用に確保しておいたファイルをク
ローズし、次のステップS14では、作成した画像を簡
易出力装置5(例えば、カラープリンタ装置)でハード
コピーするか、或いは画像出力装置6(例えば、デジタ
ル・フィルムレコーダ)でポジフィルムに出力する。If the parameters are not changed, the process proceeds to step S12, the image data is written in the file and stored in the storage device 3. Then, step S13
Then, the file reserved for the output image data is closed, and in the next step S14, the created image is hard-copied by the simple output device 5 (for example, a color printer device) or the image output device 6 ( For example, output to a positive film with a digital film recorder).
【0028】次に、上述したステップS7でのモアレ現
象による干渉縞を作成する処理手順を図13に示すフロ
ーチャートに従って以下に説明する。Next, the processing procedure for creating the interference fringes due to the moire phenomenon in step S7 described above will be described below with reference to the flowchart shown in FIG.
【0029】まず、ステップS71において、関数P,
Qによって深度nにおける座標値を求める。初期条件と
して与えるものは、以下のパラメータである。First, in step S71, the function P,
The coordinate value at the depth n is obtained by Q. The following parameters are given as initial conditions.
【0030】(1)何重まで重なり具合を求めるかを決
める指数(深度):nmax (2)深度が深まるにつれて光の明度や色の彩度は落ち
ていくので、光の強度を適当な係数を与えることによっ
て減衰させるための減衰率:K (3)ステップS3で与えた拡大率:z (4)ステップS4で与えた回転角:th (5)ステップS5で与えたビデオとモニタの相対位
置:(sx,sy) 次に、ステップS72,S73において、ビデオカメラ
の画素サイズに合わせ、横(y座標),縦(x座標)を
初期化(x=0,y=0)し、次のステップS74では
深度を表すカウンタnに指定された深度nmaxを設定
する。そして、ステップS75において、深度nのとき
のある座標値(x,y)が何画素に相当するか求める。
その解がP(x,n,…),Q(y,n,…)である。(1) Index (depth) that determines how many overlaps are obtained: nmax (2) Lightness and color saturation of light decrease as the depth increases, so the light intensity is adjusted to an appropriate coefficient. Attenuation rate for attenuating by giving: (3) Expansion rate given in step S3: z (4) Rotation angle given in step S4: th (5) Relative position of video and monitor given in step S5 : (Sx, sy) Next, in steps S72 and S73, the horizontal (y coordinate) and vertical (x coordinate) are initialized (x = 0, y = 0) according to the pixel size of the video camera, and the next In step S74, the designated depth nmax is set in the counter n representing the depth. Then, in step S75, the number of pixels to which a certain coordinate value (x, y) at the depth n corresponds is determined.
The solution is P (x, n, ...), Q (y, n, ...).
【0031】図14は、深度n=2まで重なった場合の
座標値の変化を示す図である。図において、15は深度
0のときのテレビモニタの位置、16は深度1のときの
テレビモニタの位置、17は深度2のときのテレビモニ
タの位置を示している。今、18に示す深度n=0の時
の座標値(x,y)を考える。即ち、図15に単独で示
す点である。回転・拡大してn=0のときの点18に重
なり合った点は、他の深度の時の座標系を用いれば、図
16に示す点19、図17に示す点20に相当する。こ
の点19がP(x,n=1,…),Q(y,n=1,
…)、また点20がP(x,n=2,…),Q(y,n
=2,…)である。FIG. 14 is a diagram showing changes in coordinate values when the depths n = 2 are overlapped. In the figure, 15 indicates the position of the television monitor when the depth is 0, 16 indicates the position of the television monitor when the depth is 1, and 17 indicates the position of the television monitor when the depth is 2. Now, consider the coordinate value (x, y) at the depth n = 0 shown in FIG. That is, this is a point shown alone in FIG. The points that have been rotated / enlarged and overlapped with the point 18 when n = 0 correspond to the point 19 shown in FIG. 16 and the point 20 shown in FIG. 17 using the coordinate system at other depths. This point 19 is P (x, n = 1, ...), Q (y, n = 1,
,), And the point 20 is P (x, n = 2, ...), Q (y, n
= 2, ...).
【0032】このように、モニタ上の深度n=0のとき
のある点(x,y)における深度nの座標値はP(x,
sx,th,z,n),Q(y,sy,th,z,n)
である。但し、xは0以上640未満、yは0以上48
0未満の整数である。また、(sx,sy)は図11に
示すように、ビデオカメラとテレビモニタの相対位置、
thは図12に示すようにテレビモニタとビデオカメラ
の相対回転角である。そして、zはビデオカメラの拡大
率に相当し、nはモアレ模様を計算するための連続する
像の重なり度(深度)を表す。As described above, the coordinate value of the depth n at a certain point (x, y) when the depth n = 0 on the monitor is P (x,
sx, th, z, n), Q (y, sy, th, z, n)
Is. However, x is 0 or more and less than 640, y is 0 or more and 48
It is an integer less than 0. Further, (sx, sy) is the relative position between the video camera and the television monitor, as shown in FIG.
th is a relative rotation angle between the television monitor and the video camera as shown in FIG. Then, z corresponds to the enlargement ratio of the video camera, and n represents the degree of overlap (depth) of consecutive images for calculating the moire pattern.
【0033】図13に戻り、次のステップS76では、
ステップS75で求めた拡大・回転して重なり合った点
の各深度における光の強度の統計を取り、座標(x,
y)の強度とする。Returning to FIG. 13, in the next step S76,
Statistics of the light intensities at the respective depths of the enlarged / rotated overlapping points obtained in step S75 are obtained, and the coordinates (x,
y) strength.
【0034】今、図3に示すテレビモニタの1セル8か
らの光の波動をU0 、そのセル上に映し出される映像の
光の波動をU1 とする。もし、ビデオカメラの光電子が
捕らえたテレビモニタの走査線上の1セルの光を波動の
強度として求めるなら、テレビモニタ上のある点(ある
1セル)がモニタ自身の発光する波動U0 と、ビデオカ
メラからの入力信号の波動U1 で転射されているとき、
この点での光の強度Iは、次式で示される。Now, let us say that the wave of light from one cell 8 of the television monitor shown in FIG. 3 is U 0 , and the wave of light of the image projected on the cell is U 1 . If the light of one cell on the scan line of the television monitor captured by the photoelectrons of the video camera is obtained as the intensity of the wave, a certain point (one cell) on the television monitor emits the wave U 0 emitted by the monitor itself and the video. When reflected by the wave U 1 of the input signal from the camera,
The light intensity I at this point is given by the following equation.
【0035】 I=|U0 +U1 |2 =|U0 |2 +|U1 |2 +2a0 a1 cos(θ1 +θ0 ) (1) 但し、U0 =a0 exp{j(kx−ωt−θ0 )}, U1 =a1 exp{j(kx−ωt−θ1 )}, a0 ,a1 は 振幅、 θ0 ,θ1 は位相角、kは2π/
λ、ωは2πvである。I = | U 0 + U 1 | 2 = | U 0 | 2 + | U 1 | 2 + 2a 0 a 1 cos (θ 1 + θ 0 ) (1) where U 0 = a 0 exp {j (kx −ωt−θ 0 )}, U 1 = a 1 exp {j (kx−ωt−θ 1 )}, a 0 , a 1 are amplitudes, θ 0 , θ 1 are phase angles, and k is 2π /
λ and ω are 2πv.
【0036】しかし、この点には、何層にも渡って光が
繰り返し再帰されるのだから、この点における光の強度
Iは次式で示される。However, at this point, the light repeatedly recurs over many layers, so the light intensity I at this point is given by the following equation.
【0037】 I(n) =|K・I(n-1)1/2+un |2 (2) 但し、係数K(減衰率)は層の深度が深まるにつれて減
衰する光の補正を行なうものである。また、n=nma
xのときの光の強度はモニタ上のセルのR部でR=25
5,G=0,B=0、G部でR=0,G=255,B=
0、B部でR=0,G=0,B=255として演算を行
なう。そして、各座標値の各深度の強度を求め、式
(2)によって全深度の強度の統計を取っていく。[0037] I (n) = | K · I (n-1) 1/2 + u n | 2 (2) where the coefficient K (decay rate) that corrects the light attenuated as depth of the layer deepens Is. Also, n = nma
The light intensity at x is R = 25 at the R part of the cell on the monitor.
5, G = 0, B = 0, R = 0 in the G part, G = 255, B =
In the 0 and B parts, calculation is performed with R = 0, G = 0, B = 255. Then, the intensity of each depth of each coordinate value is obtained, and the statistics of the intensity of all depths are obtained by the formula (2).
【0038】上述の処理をビデオの画素サイズ(横64
0ドット、縦480ドット)に合わせて繰り返し行ない
(ステップS77)、全ての画素について終了すると処
理を終了する。The above-described processing is performed for the video pixel size (horizontal 64
The process is repeated for 0 dots and 480 dots vertically (step S77), and the process ends when all pixels are completed.
【0039】<変形例>本実施例では、重なり度(深度
n)や減衰率Kを定数として与えたが、これもパラメー
タとして与えることが可能である。<Modification> In the present embodiment, the degree of overlap (depth n) and the attenuation rate K are given as constants, but they can also be given as parameters.
【0040】また、深度nmaxのときのRGBを、単
なるR=255,G=255,B=255とせずに色を
与えれば、違った効果が得られる。Different effects can be obtained by giving a color to RGB at the depth nmax without simply setting R = 255, G = 255, B = 255.
【0041】更に、本実施例では、ビデオカメラの光フ
ィルターとテレビモニタの走査線の幾何学的配列と初期
条件で与える色の強度と深度が深まるにつれて生じる減
衰率によって、モアレ模様の効果を得たが、電気的傾向
(即ち、電気信号の伝達中に発生するノイズや遅れ時
間)に相当するパラメータを加えた上で演算を行なえ
ば、より実際のテレビモニタとビデオカメラを用いた際
のモアレ現象に近いものを発生させることができる。Further, in the present embodiment, the effect of the moire pattern is obtained by the geometrical arrangement of the optical filter of the video camera and the scanning line of the television monitor, the intensity of the color given in the initial condition, and the attenuation rate generated as the depth increases. However, if calculation is performed after adding parameters corresponding to the electric tendency (ie, noise and delay time generated during transmission of electric signals), the moiré when using a real TV monitor and video camera is increased. It is possible to generate something close to the phenomenon.
【0042】また、光フィルターとテレビモニタの走査
線の幾何学的配列を様々に変化させることにより、広範
なモアレ模様を得ることも可能である。It is also possible to obtain a wide range of moire patterns by variously changing the geometrical arrangement of the scanning lines of the optical filter and the television monitor.
【0043】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、システム或いは装置にプログラムを
供給することによって達成される場合にも適用できるこ
とはいうまでもない。The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can also be applied to the case of being achieved by supplying a program to a system or an apparatus.
【0044】[0044]
【発明の効果】以上説明したように、本発明によれば、
以下のような効果が得られる。As described above, according to the present invention,
The following effects can be obtained.
【0045】(1)ビデオカメラ等の装置を用いること
なく、1台の画像処理コンピュータでモアレ現象による
干渉縞の模様を作成できる。(1) A pattern of interference fringes due to the moire phenomenon can be created by a single image processing computer without using a device such as a video camera.
【0046】(2)ビデオカメラ等の装置を用いるとき
のように、モニタとカメラの位置関係を設定する手間が
省ける。(2) It is possible to save the labor of setting the positional relationship between the monitor and the camera as in the case of using a device such as a video camera.
【0047】(3)従来、アナログ的な処理のため、一
度作成した画像を再現するのは困難であったが、デジタ
ル的に処理できるので、再現性が向上する。(3) Conventionally, it was difficult to reproduce an image once created because of analog processing, but since it can be processed digitally, reproducibility is improved.
【0048】(4)アナログ処理のように、どのような
条件によってどのような結果(モアレによる干渉縞)が
生じるかの傾向を容易につかめる。(4) It is possible to easily grasp the tendency of what kind of result (interference fringes due to moire) is caused under what kind of conditions like the analog processing.
【0049】(5)パラメータを変更するだけで、素早
く、モアレ模様を変更でき、応答性が向上する。(5) The moire pattern can be changed quickly by only changing the parameters, and the responsiveness is improved.
【0050】[0050]
【図1】本実施例における画像処理装置の構成を示す概
略ブロック図である。FIG. 1 is a schematic block diagram showing the configuration of an image processing apparatus in this embodiment.
【図2】本実施例による処理手順を示すフローチャート
である。FIG. 2 is a flowchart showing a processing procedure according to this embodiment.
【図3】テレビモニタ上の走査線のRGB分解図と1画
素分の領域を示す図である。FIG. 3 is a diagram showing an RGB exploded view of a scanning line on a television monitor and a region for one pixel.
【図4】ビデオカメラのRGB光フィルターの配列と1
画素に相当する領域を示す図である。[FIG. 4] Arrangement of RGB light filter of video camera and 1
It is a figure which shows the area | region corresponding to a pixel.
【図5】ビデオカメラの光フィルター部の1画素分を示
す図である。FIG. 5 is a diagram showing one pixel of an optical filter unit of a video camera.
【図6】テレビモニタの発光体部分の1画素分を示す図
である。FIG. 6 is a diagram showing one pixel of a light emitting portion of a television monitor.
【図7】拡大率1倍のビデオカメラの1画素分の領域が
捕らえるテレビモニタ上の走査線の範囲を示す図であ
る。FIG. 7 is a diagram showing a range of scanning lines on a television monitor in which an area for one pixel of a video camera with a magnification of 1 is captured.
【図8】拡大率1倍以下のビデオカメラの1画素分の領
域が捕らえるテレビモニタ上の走査線の範囲を示す図で
ある。FIG. 8 is a diagram showing a range of scanning lines on a television monitor in which an area for one pixel of a video camera with an enlargement ratio of 1 or less is captured.
【図9】拡大率1倍以上のビデオカメラの1画素分の領
域が捕らえるテレビモニタ上の走査線の範囲を示す図で
ある。FIG. 9 is a diagram showing a range of scanning lines on a television monitor in which an area for one pixel of a video camera having an enlargement ratio of 1 or more is captured.
【図10】テレビモニタに対するビデオカメラの回転角
を示す図である。FIG. 10 is a diagram showing a rotation angle of a video camera with respect to a television monitor.
【図11】回転なしの場合のテレビモニタに対するビデ
オカメラの相対位置関係を示す図である。FIG. 11 is a diagram showing a relative positional relationship of a video camera with respect to a television monitor when there is no rotation.
【図12】テレビモニタに対してビデオカメラが回転角
を持つ場合の位置関係を示す図である。FIG. 12 is a diagram showing a positional relationship when a video camera has a rotation angle with respect to a television monitor.
【図13】図2に示すステップS7での詳細処理を示す
フローチャートである。13 is a flowchart showing detailed processing in step S7 shown in FIG.
【図14】回転・拡大して深度を重ねた場合のある座標
値の変化を示す図である。FIG. 14 is a diagram showing a change in a coordinate value when the depth is overlapped by rotating / enlarging.
【図15】図14に示す深度0の場合のある座標値を示
す図である。FIG. 15 is a diagram showing some coordinate values when the depth is 0 shown in FIG.
【図16】図14に示す深度1の場合のある座標値を示
す図である。16 is a diagram showing certain coordinate values in the case of depth 1 shown in FIG.
【図17】図14に示す深度2の場合のある座標値を示
す図である。17 is a diagram showing certain coordinate values in the case of the depth 2 shown in FIG.
【図18】実際にテレビモニタとビデオカメラによって
モアレ模様を作成した場合の画像例である。FIG. 18 is an image example when a moire pattern is actually created by a TV monitor and a video camera.
【図19】実際にテレビモニタとビデオカメラによって
モアレ模様を作成した場合の画像例である。FIG. 19 is an image example when a moire pattern is actually created by a TV monitor and a video camera.
【図20】実際にテレビモニタとビデオカメラによって
モアレ模様を作成した場合の画像例である。FIG. 20 is an image example when a moire pattern is actually created by a TV monitor and a video camera.
【図21】実際にテレビモニタとビデオカメラによって
モアレ模様を作成した場合の画像例である。FIG. 21 is an image example when a moire pattern is actually created by a TV monitor and a video camera.
1 コマンド・パラメータ入力装置 2 表示装置 3 記憶装置 4 演算装置 5 簡易出力装置 6 画像出力装置 7 制御装置 1 Command / Parameter Input Device 2 Display Device 3 Storage Device 4 Computing Device 5 Simple Output Device 6 Image Output Device 7 Control Device
Claims (3)
の設定手段と、 前記第1及び第2のパターンの間における所定の関係を
パラメータとして設定する第2の設定手段と、 前記第2の設定手段により設定されたパラメータに基づ
いて、前記第1の設定手段により設定された第1及び第
2のパターンによるモアレ模様の干渉縞を演算する演算
手段と、 前記演算手段により演算されたモアレ模様の干渉縞を出
力する出力手段と、 を備えることを特徴とする画像処理装置。1. A first for setting the first and second patterns
Setting means, second setting means for setting a predetermined relationship between the first and second patterns as a parameter, and the first setting means based on the parameters set by the second setting means. And a calculation unit configured to calculate the interference fringes of the moire pattern formed by the first and second patterns set by the setting unit; and an output unit configured to output the interference fringes of the moire pattern calculated by the calculation unit. Image processing device.
の形態と配列に相当し、前記第2のパターンはカメラの
光フィルターの形態と配列に相当するものであることを
特徴とする請求項1記載の画像処理装置。2. The first pattern corresponds to the form and arrangement of the colored light bodies of the monitor, and the second pattern corresponds to the form and arrangement of the optical filters of the camera. The image processing apparatus according to item 1.
の設定工程と、 前記第1及び第2のパターンの間における所定の関係を
パラメータとして設定する第2の設定工程と、 前記第2の設定工程により設定されたパラメータに基づ
いて、前記第1の設定工程により設定された第1及び第
2のパターンによるモアレ模様の干渉縞を演算する演算
工程と、 前記演算工程により演算されたモアレ模様の干渉縞を出
力する出力手段と、 を有することを特徴とする画像処理方法。3. A first for setting first and second patterns
Setting step, a second setting step of setting a predetermined relationship between the first and second patterns as a parameter, and the first setting step based on the parameter set by the second setting step. A calculation step for calculating the moire pattern interference fringes by the first and second patterns set by the setting step; and an output means for outputting the moire pattern interference fringes calculated by the calculation step. Image processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13695294A JPH087115A (en) | 1994-06-20 | 1994-06-20 | Image processing method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13695294A JPH087115A (en) | 1994-06-20 | 1994-06-20 | Image processing method and apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH087115A true JPH087115A (en) | 1996-01-12 |
Family
ID=15187350
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13695294A Withdrawn JPH087115A (en) | 1994-06-20 | 1994-06-20 | Image processing method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH087115A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1621931A1 (en) | 2004-07-08 | 2006-02-01 | Fuji Photo Film Co., Ltd. | Protective film-forming composition for immersion exposure and pattern-forming method using the same |
| EP2062950A2 (en) | 2007-11-14 | 2009-05-27 | FUJIFILM Corporation | Topcoat composition, alkali developer-soluble topcoat film using the composition and pattern forming method using the same |
| WO2020096009A1 (en) | 2018-11-09 | 2020-05-14 | 凸版印刷株式会社 | Moire formation pattern generation method, moire formation pattern generation device, and moire formation pattern generation system |
-
1994
- 1994-06-20 JP JP13695294A patent/JPH087115A/en not_active Withdrawn
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1621931A1 (en) | 2004-07-08 | 2006-02-01 | Fuji Photo Film Co., Ltd. | Protective film-forming composition for immersion exposure and pattern-forming method using the same |
| EP2062950A2 (en) | 2007-11-14 | 2009-05-27 | FUJIFILM Corporation | Topcoat composition, alkali developer-soluble topcoat film using the composition and pattern forming method using the same |
| WO2020096009A1 (en) | 2018-11-09 | 2020-05-14 | 凸版印刷株式会社 | Moire formation pattern generation method, moire formation pattern generation device, and moire formation pattern generation system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5369736A (en) | Texture mapping method | |
| US6493467B1 (en) | Image processor, data processor, and their methods | |
| JP2895086B2 (en) | Color estimation method | |
| JP2905059B2 (en) | Color value processing method and processing device | |
| JPH0285970A (en) | Picture forming device and system of continuous tone to which smooth shadow is formed | |
| JPWO1998037702A1 (en) | Video signal processing device and method, image synthesis device, and editing device | |
| EP0310388A1 (en) | Interactive image modification | |
| US5412767A (en) | Image processing system utilizing brush profile | |
| GB2182524A (en) | Picture image input/output system | |
| JP3959740B2 (en) | Projector and image correction method | |
| JPH05197801A (en) | Airbrush modeling method in color image reproducing apparatus and color image reproducing apparatus | |
| JPH1063828A (en) | Method for processing image and device therefor | |
| JPH0757005B2 (en) | Gradation setting device in image input / output system | |
| JPH1127688A (en) | Image processing device | |
| US5220428A (en) | Digital video effects apparatus for image transposition | |
| JP3094691B2 (en) | Drawing processing device | |
| JPH0285978A (en) | Three-dimensional hidden surface processing method | |
| JP3673716B2 (en) | Image color correction apparatus and image color correction method | |
| JPH0620038A (en) | Image processor | |
| JPH077618A (en) | Method and device for processing color value | |
| CN117689743A (en) | Method and device for generating images with moiré patterns | |
| JP2713764B2 (en) | Halftone image enlargement method | |
| JPS6261495A (en) | Digital convergence device | |
| JPH06261212A (en) | Image forming method and image forming apparatus | |
| JPH05204348A (en) | Color image color changing processing system and color image synthesizing processing system |
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: 20010904 |