JPH1021402A - Method and device for dividing image - Google Patents

Method and device for dividing image

Info

Publication number
JPH1021402A
JPH1021402A JP8192936A JP19293696A JPH1021402A JP H1021402 A JPH1021402 A JP H1021402A JP 8192936 A JP8192936 A JP 8192936A JP 19293696 A JP19293696 A JP 19293696A JP H1021402 A JPH1021402 A JP H1021402A
Authority
JP
Japan
Prior art keywords
designated
line
image
point
division
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8192936A
Other languages
Japanese (ja)
Inventor
Hiroyuki Koshiro
浩之 小城
Jun Fujita
順 藤田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP8192936A priority Critical patent/JPH1021402A/en
Publication of JPH1021402A publication Critical patent/JPH1021402A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily and surely divide the image of line segments in any arbitrary form. SOLUTION: An image frame M and a line segment image G inside the image frame M are extracted as a designated line SL and a designated point SP for dividing (designated line and designated point extracting process 11) and afterwards, triangular unit divided areas D are prepared while being successively fixed without crossing the line segment image G inside the image frame M. Then, the border line of these unit divided areas D is additionally extracted as the designated line SL for dividing and while setting the cluster of fixed unit divided areas S as a polygonal area K for working, image division is continued until the entire image frame M becomes the polygonal area K for working (initial divided area setting process 12 and division continuing process 13). Besides, after the designated line and designated point extracting process 11, the respective extracted designated points SP are successively defined as working points one by one and on the condition that the line connecting the working point with the other designated point does not cross the designated line SL for each working point, this connecting line is additionally extracted as the designated line for dividing (division designated line preparing process 14).

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、原画像を分割す
る画像分割方法及びその装置に係り、特に、画像形態に
制約されることなく線分画像全般を効果的に分割する新
規な画像分割方法及びその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image dividing method and apparatus for dividing an original image, and more particularly to a novel image dividing method for effectively dividing an entire line segment image without being restricted by an image form. And its device.

【0002】[0002]

【従来の技術】一般に、TV、映画の製作において、モ
ーフィングと呼ばれる画像変形の手法を用いることが多
い。この種の画像変形を行うためには、変形後の状態を
指示することが必要であり、この指示を行う上で、変形
前の原画像をいくつかの領域に分割しておき、各分割領
域を変形後の目標画像に合わせて夫々変形させる手法が
採用される。従来この種の画像分割方法としては、原画
像の稜線に合わせて多角形領域を分割し、これを更に公
知の多角形分割法(例えば特開昭60−79475号公
報)を用い、例えば座標指示された多角形領域を三角形
領域に分割するものが既に知られている。
2. Description of the Related Art Generally, in the production of TVs and movies, an image deformation technique called morphing is often used. In order to perform this type of image deformation, it is necessary to indicate the state after the deformation. In order to perform this instruction, the original image before the deformation is divided into several regions, and each divided region is Are modified according to the transformed target image. Conventionally, as this type of image dividing method, a polygonal area is divided in accordance with the ridge line of the original image, and this is further divided by a known polygonal dividing method (for example, Japanese Patent Laid-Open No. 60-79475). One that divides a polygonal region into triangular regions is already known.

【0003】また、画像入力装置で撮像された3次元形
状モデルを記憶しておき、視点位置変化に伴う変形量を
演算し、記憶画像を変形させる手法も既に知られている
(例えば特公平1−42427号公報)。
[0003] Also, a method of storing a three-dimensional shape model captured by an image input device, calculating the amount of deformation associated with a change in the viewpoint position, and deforming the stored image is already known (for example, Japanese Patent Application Publication No. Hei 10-118). -42427).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
画像分割方法にあっては、原画像をすべて閉じた多角形
に分割するには手間がかかるばかりか、原画像の中に閉
じていない線分画像が含まれるような場合には、画像分
割自体が不可能になってしまい、分割可能な画像形態が
制約されてしまうという技術的課題を生ずる。また、例
えば特公平1−42427号公報所載の手法のように、
画像変形などを画像分割方法を用いないで行おうとする
と、視点位置変化に伴って記憶画像全体を変形させる際
の演算処理が非常に複雑化してしまう。
However, according to the conventional image dividing method, it takes time and effort to divide the original image into all closed polygons, and also, it is difficult to divide the original image into unclosed line segments. When an image is included, image division itself becomes impossible, and there is a technical problem that an image form that can be divided is restricted. Further, for example, as in the method described in Japanese Patent Publication No.
If an attempt is made to perform image deformation without using an image division method, arithmetic processing when the entire stored image is deformed due to a change in the viewpoint position becomes extremely complicated.

【0005】この発明は、以上の技術的課題を解決する
ためになされたものであって、任意の形態の線分画像を
簡単かつ確実に分割することが可能な画像分割方法及び
その装置を提供するものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above technical problem, and provides an image dividing method and apparatus capable of easily and surely dividing a line image of an arbitrary form. Is what you do.

【0006】[0006]

【課題を解決するための手段】すなわち、この発明は、
図1(a)に示すように、所定の画像枠M内に描かれた
線分画像Gを分割するに際し、画像枠M及び画像の各線
分を分割のための指定線SLとして抽出すると共に各指
定線SLの両端位置を指定点SPとして抽出する指定線
指定点抽出工程11と、抽出された各指定点SPの中か
ら最初の3つの指定点SPを選択することにより、既抽
出の指定線SLと非交差である三角形状の単位分割領域
Dを選定し、この単位分割領域Dの境界線のうち指定線
SLとして抽出されていない境界線を分割のための指定
線SLとして追加抽出すると共に、単位分割領域Dを作
業用多角形領域Kとして設定する分割領域初期設定工程
12と、作業用多角形領域Kに隣接する一つの指定点S
Pを選択することにより、この指定点SPが含まれ且つ
既抽出された指定線SLと非交差である三角形状の単位
分割領域Dを順次作成し、この単位分割領域Dの境界線
のうち指定線SLとして抽出されていない境界線を分割
のための指定線SLとして追加抽出すると共に、単位分
割領域Dを作業用多角形領域Kとして順次設定し、この
処理を画像枠M全域が作業用多角形領域Kとして設定さ
れるまで繰り返す分割継続工程13とを備えたことを特
徴とするものである。
That is, the present invention provides:
As shown in FIG. 1A, in dividing a line segment image G drawn in a predetermined image frame M, each line segment of the image frame M and the image is extracted as a designated line SL for division, and each line segment is extracted. A designated line designated point extracting step 11 for extracting both end positions of the designated line SL as designated points SP, and selecting the first three designated points SP from each of the extracted designated points SP, thereby obtaining a designated line already extracted. A triangular unit divided region D that does not intersect with the SL is selected, and a boundary line that is not extracted as the designated line SL among the boundary lines of the unit divided region D is additionally extracted as a designated line SL for division. , A divided area initial setting step 12 for setting the unit divided area D as the work polygon area K, and one designated point S adjacent to the work polygon area K
By selecting P, a triangular unit divided region D including the designated point SP and not intersecting with the extracted designated line SL is sequentially created, and a designated one of the boundary lines of the unit divided region D is designated. A boundary line that has not been extracted as the line SL is additionally extracted as a designated line SL for division, and the unit divided areas D are sequentially set as work polygon areas K. And a division continuation step 13 that is repeated until the area is set as a rectangular area K.

【0007】このような方法発明を具現化する装置発明
は、図1(a)及び図2(a)に示すように、所定の画
像枠M内に描かれた線分画像Gを分割する画像分割装置
であって、画像枠M及び画像の各線分を分割のための指
定線SLとして抽出すると共に各指定線SLの両端位置
を指定点SPとして抽出する指定線指定点抽出手段1
と、この指定線指定点抽出手段1にて抽出されたすべて
の指定点SPの座標位置を所定の順にソートして格納す
る指定点格納手段2と、この指定点格納手段2の最初の
3つの指定点SPにより三角形状の単位分割領域Dを作
成し、当該単位分割領域Dの境界線のうち指定線SLと
して抽出されていない境界線を分割のための指定線SL
として追加抽出すると共に、前記単位分割領域Dを作業
用多角形領域Kとして設定する分割領域初期設定手段3
と、指定点格納手段2の次の指定点SPを選択し、この
指定点SPが含まれ且つ既抽出された指定線SLと非交
差である三角形状の単位分割領域Dを順次作成する分割
領域作成手段4と、この分割領域作成手段4にて作成さ
れた単位分割領域Dの境界線のうち指定線SLとして抽
出されていない境界線を分割のための指定線SLとして
追加抽出する指定線追加抽出手段5と、前記分割領域作
成手段4にて選定された単位分割領域Dの境界線のすべ
てが指定線SLとして抽出された条件下で、当該単位分
割領域Dを作業用多角形領域Kとして設定する作業用多
角形領域設定手段6と、画像枠M全域が作業用多角形領
域Kとして設定されるまで分割領域作成手段4、指定線
追加抽出手段5、作業用多角形領域設定手段6の各処理
を繰り返す分割繰り返し手段7とを備えたことを特徴と
するものである。
As shown in FIGS. 1 (a) and 2 (a), an apparatus invention embodying such a method invention is an image for dividing a line segment image G drawn in a predetermined image frame M. A dividing device, which extracts a line segment of an image frame M and an image as designated lines SL for division and extracts both end positions of each designated line SL as designated points SP.
A designated point storage means 2 for sorting and storing the coordinate positions of all designated points SP extracted by the designated line designated point extracting means 1 in a predetermined order; A triangular unit divided region D is created by the designated point SP, and a boundary line not extracted as the designated line SL among the boundary lines of the unit divided region D is designated by a designated line SL for division.
Divided region initial setting means 3 for additionally extracting the unit divided region and setting the unit divided region D as a work polygon region K
And the next designated point SP in the designated point storage means 2 and sequentially creates a triangular unit divided area D that includes this designated point SP and does not intersect with the extracted designated line SL. Creating means 4 for adding a designated line which is not extracted as the designated line SL among the boundary lines of the unit divided area D created by the divided area creating means 4 as a designated line SL for division; Under the condition that all of the boundary lines of the unit divided region D selected by the extracting unit 5 and the divided region creating unit 4 are extracted as the designated line SL, the unit divided region D is set as the working polygon region K. The work polygon area setting means 6 to be set, the divided area creation means 4, the designated line addition and extraction means 5, and the work polygon area setting means 6 until the entire image frame M is set as the work polygon area K Split processing to repeat each process It is characterized in that a unit 7 returns.

【0008】このような技術的手段において、画像枠M
とは線分画像Gが背景部と共に描かれている領域を区画
する枠であり、通常矩形状枠であるが、他の形状の枠で
あってもよい。また、線分画像Gは閉じた多角形画像に
限られるものではなく、閉じない線分画像であってもよ
いし、あるいは、閉じた多角形画像と閉じない線分画像
とが混在した画像であってもよい。
In such technical means, the image frame M
Is a frame that divides the area where the line segment image G is drawn together with the background, and is usually a rectangular frame, but may be a frame of another shape. Further, the line segment image G is not limited to a closed polygon image, and may be an unclosed line image or an image in which a closed polygon image and an unclosed line image are mixed. There may be.

【0009】また、指定点SPのデータは指定点格納手
段2に所定の順で格納されるのであれば、画像枠Mの中
央部分から上に行った後に下に行くなど適宜選定して差
し支えないが、画像分割の処理のしやすさからすれば、
通常画像枠Mの上若しくは下から順に格納していくのが
好ましい。但し、指定点SPのデータのソート方向を変
えることにより、画像の分割状態が変わり、画像の再現
性が高められる場合があり得るので、このような要請下
においては、指定点格納手段2へ格納する指定点SPの
座標位置のソート方向が可変設定されるソート方向可変
手段8を具備させることが好ましい。
If the data of the designated point SP is stored in the designated point storage means 2 in a predetermined order, the data may be appropriately selected, such as going up from the center of the image frame M and going down. However, given the ease of image segmentation,
It is preferable to store the images in order from the top or bottom of the normal image frame M. However, by changing the sort direction of the data of the designated point SP, the division state of the image may be changed and the reproducibility of the image may be improved. Therefore, under such a request, the data is stored in the designated point storage means 2. It is preferable to include a sort direction changing means 8 for variably setting the sort direction of the coordinate position of the designated point SP.

【0010】また、分割領域作成手段4について、交差
判別は指定点格納手段2のすべての頂点(指定点)に対
して行ってもよいが、指定点が多大の場合は処理に時間
がかかることより、分割領域作成時に指定される次の指
定点SPは作業用多角形領域Kに隣接した点であり、し
かも、作業用多角形領域K内の指定線SLは既に確定し
ていることから、少なくとも作業用多角形領域Kの頂点
のみに対して交差判別を行うようにすればよい。このと
き、より短い分割のための指定線SLを得るという観点
からすれば、作業用多角形領域Kのもより(分割領域作
成時に指定される指定点SPから最も近接した位置にあ
る)の頂点から交差判別をすることが好ましい。
In the divided area creating means 4, intersection determination may be performed for all vertices (designated points) of the designated point storage means 2. However, when the number of designated points is large, the processing takes time. Accordingly, the next designated point SP designated at the time of creating the divided area is a point adjacent to the working polygon area K, and the designated line SL in the working polygon area K has already been determined. At least the intersection may be determined only for the vertices of the work polygon area K. At this time, from the viewpoint of obtaining the designated line SL for the shorter division, the vertex of the working polygon region K (at the position closest to the designated point SP designated when the divided region is created) is also located. It is preferable to determine the intersection from.

【0011】また、画像分割処理のアルゴリズムを簡単
にするという点にウエイトを置いた方法発明としては、
例えば図1(b)に示すように、所定の画像枠M内に描
かれた線分画像Gを分割するに際し、画像枠M及び画像
の各線分を分割のための指定線SLとして抽出すると共
に各指定線SLの両端位置を指定点SPとして抽出する
指定線指定点抽出工程11と、抽出された各指定点SP
の1つを順次作業点とし、それぞれの作業点について作
業点と他の指定点との結線が指定線SLと非交差である
条件下で、当該結線を分割のための指定線として追加抽
出する分割指定線作成工程14とを備えたものが挙げら
れる。
[0011] Further, as a method invention emphasizing that the algorithm of the image division processing is simplified,
For example, as shown in FIG. 1B, when dividing the line segment image G drawn in a predetermined image frame M, the image frame M and each line segment of the image are extracted as designated lines SL for division, and A designated line designated point extraction step 11 for extracting both end positions of each designated line SL as designated points SP;
Are sequentially set as working points, and for each working point, under the condition that the connection between the working point and another designated point does not intersect with the designated line SL, the connection is additionally extracted as a designated line for division. And a dividing line creation step 14.

【0012】この方法発明を具現化する装置発明として
は、例えば図1(b)及び図2(b)に示すように、所
定の画像枠M内に描かれた線分画像Gを分割する画像分
割装置であって、画像枠M及び画像の各線分を分割のた
めの指定線SLとして抽出すると共に各指定線SLの両
端位置を指定点SPとして抽出する指定線指定点抽出手
段1と、この指定線指定点抽出手段1にて抽出されたす
べての指定点SPの座標位置を所定の順にソートして格
納する指定点格納手段2と、抽出された各指定点SPの
1つを順次作業点とし、それぞれの作業点について作業
点と他の指定点との結線が指定線SLと非交差である条
件下で、当該結線を分割のための指定線として追加抽出
する分割指定線作成手段9とを備えたものが挙げられ
る。
As an apparatus invention that embodies the method invention, for example, as shown in FIGS. 1B and 2B, an image for dividing a line segment image G drawn in a predetermined image frame M is used. A designated line designated point extracting means 1 for extracting each line segment of the image frame M and the image as designated lines SL for division and extracting both end positions of each designated line SL as designated points SP; Designated point storage means 2 for sorting and storing the coordinate positions of all designated points SP extracted by the designated line designated point extracting means 1 in a predetermined order, and sequentially storing one of the extracted designated points SP as a work point Under the condition that the connection between the work point and the other designated point does not intersect with the designated line SL for each work point, a division designation line creating means 9 for additionally extracting the connection as a designated line for division is provided. The one provided with.

【0013】次に、上述したような技術的手段の作用に
ついて説明する。図2(a)に示す装置発明を例に挙げ
ると、先ず、指定線指定点抽出手段1は、画像枠M及び
画像の各線分を分割のための指定線SLとして抽出する
と共に各指定線SLの両端位置を指定点SPとして抽出
し、指定点格納手段2は指定線指定点抽出手段1にて抽
出されたすべての指定点SPの座標位置を所定の順にソ
ートして格納する(図1:指定線指定点抽出工程11に
相当)。次いで、分割領域初期設定手段3は、指定点格
納手段2の最初の3つの指定点SPにより三角形状の単
位分割領域Dを作成し、当該単位分割領域Dの境界線の
うち指定線SLとして抽出されていない境界線を分割の
ための指定線SLとして追加抽出すると共に、前記単位
分割領域Dを作業用多角形領域Kとして設定する(図
1:分割領域初期設定工程12)。更に、分割領域作成
手段4は、指定点格納手段2の次の指定点SPを選択
し、この指定点SPが含まれ且つ既抽出された指定線S
Lと非交差である三角形状の単位分割領域Dを順次作成
し、また、指定線追加抽出手段5は、分割領域作成手段
4にて作成された単位分割領域Dの境界線のうち指定線
SLとして抽出されていない境界線を分割のための指定
線SLとして追加抽出し、また、作業用多角形領域設定
手段6は、前記分割領域作成手段4にて選定された単位
分割領域Dの境界線のすべてが指定線SLとして抽出さ
れた条件下で、当該単位分割領域Dを作業用多角形領域
Kとして設定する。そして、分割繰り返し手段7は、画
像枠M全域が作業用多角形領域Kとして設定されるまで
分割領域作成手段4、指定線追加抽出手段5、作業用多
角形領域設定手段6の各処理を繰り返す(図1:分割継
続工程13)。
Next, the operation of the above technical means will be described. Taking the apparatus invention shown in FIG. 2A as an example, first, the designated line designated point extracting means 1 extracts the image frame M and each line segment of the image as designated lines SL for division, and also designates each designated line SL. Are extracted as designated points SP, and the designated point storage means 2 sorts and stores the coordinate positions of all designated points SP extracted by the designated line designated point extracting means 1 in a predetermined order (FIG. 1: This corresponds to the designated line designated point extraction step 11). Next, the divided area initial setting means 3 creates a triangular unit divided area D based on the first three designated points SP of the designated point storing means 2 and extracts it as a designated line SL among the boundary lines of the unit divided area D. A boundary line that has not been extracted is additionally extracted as a designation line SL for division, and the unit division region D is set as a work polygon region K (FIG. 1: division region initial setting step 12). Further, the divided area creating means 4 selects the next designated point SP in the designated point storage means 2, and includes the designated point SP which includes the designated point SP and has already been extracted.
The unit dividing area D having a triangular shape that does not intersect with L is sequentially created. Further, the designated line adding / extracting unit 5 selects the designated line SL among the boundary lines of the unit divided area D created by the divided area creating unit 4. Further, a boundary line that has not been extracted is additionally extracted as a designated line SL for division, and the working polygonal area setting means 6 outputs the boundary line of the unit divided area D selected by the divided area creating means 4. Are set as the working polygonal area K under the condition that all of the are extracted as the designated line SL. Then, the division repetition means 7 repeats the processing of the divided area creation means 4, the designated line additional extraction means 5, and the work polygon area setting means 6 until the entire area of the image frame M is set as the work polygon area K. (FIG. 1: division continuation step 13).

【0014】一方、図2(b)の装置発明にあっては、
指定線指定点抽出手段1及び指定点格納手段2にて指定
線指定点抽出工程11が行われた後、分割指定線作成手
段9は、抽出された各指定点SPの1つを順次作業点と
し、それぞれの作業点について作業点と他の指定点との
結線が指定線SLと非交差である条件下で、当該結線を
分割のための指定線として追加抽出する(図1:分割指
定線作成工程14に相当)。このように分割された画像
は、例えば画像変形処理(視点を変えた図案作成処理な
ど)、画像加工処理(マッピング、シェーディング処理
など)、コンピュータグラフィックス、レンダリングに
供される。
On the other hand, in the device invention of FIG.
After the designated line designated point extracting step 11 is performed by the designated line designated point extracting means 1 and the designated point storing means 2, the divided designated line creating means 9 sequentially assigns one of the extracted designated points SP to a working point. Under the condition that the connection between the work point and the other designated point does not intersect with the designated line SL for each work point, the connection is additionally extracted as a designated line for division (FIG. 1: division designated line) (Corresponds to creation step 14). The image thus divided is subjected to, for example, image deformation processing (design creation processing with a different viewpoint), image processing processing (mapping, shading processing, etc.), computer graphics, and rendering.

【0015】[0015]

【発明の実施の形態】以下、添付図面に示す実施の形態
に基づいてこの発明を詳細に説明する。 ◎実施の形態1 図3はこの発明が適用された画像分割装置を組込んだ画
像処理装置(ワークステーション)の実施の形態1を示
す。同図において、21は手書きのスケッチ画像等を読
み込むイメージスキャナなどの画像入力装置、22は画
像入力装置21で読み込んだ原イメージ画像、原イメー
ジ画像から抽出された稜線、及び、画像変形の目標画像
像線の3点セットのデータを格納する記憶装置、23は
記憶装置22内のデータを用い、a.稜線の三角形の分
割処理(稜線と画像全体を囲む長方形(画像枠)から領
域を三角形に分割)、b.分割された各三角形の写像原
画像領域の算出(原画像の稜線の各三角形と、目標画像
の三角形を比較して比率(行列)を求める)、c.目標
画像の画素の抽出(原画像からの比率によって対応する
領域画素を抽出して目標画像データを作成)の各処理を
行う演算装置、24は演算装置23による演算結果に基
づいて作成された目標イメージ画像を表示するディスプ
レイなどの画像表示装置である。尚、符号25〜27は
演算装置23に付加された視点・回転移動等による稜線
作成処理部であり、原イメージ画像から抽出された稜線
データ(X,Y)を3次元化して取り込み、視点・回転
移動の程度に応じて空間(3次元)での頂点を移動さ
せ、目標画像像線(X,Y)を作成するようにしたもの
である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail based on an embodiment shown in the accompanying drawings. First Embodiment FIG. 3 shows a first embodiment of an image processing apparatus (workstation) incorporating an image dividing apparatus to which the present invention is applied. In the figure, reference numeral 21 denotes an image input device such as an image scanner for reading a handwritten sketch image or the like, 22 denotes an original image image read by the image input device 21, ridge lines extracted from the original image image, and a target image for image deformation. A storage device for storing data of a three-point set of image lines; 23 uses data in the storage device 22; Edge triangulation processing (area is divided into triangles from a rectangle (image frame) surrounding the edge and the entire image), b. Calculation of a mapped original image area of each divided triangle (compare each triangle of the ridge line of the original image with the triangle of the target image to obtain a ratio (matrix)), c. An arithmetic unit 24 that performs each process of extracting a pixel of a target image (extracting a corresponding area pixel according to a ratio from an original image to generate target image data). A target unit 24 created based on a calculation result by an arithmetic unit 23 An image display device such as a display for displaying an image image. Reference numerals 25 to 27 denote ridge line creation processing units for the viewpoint / rotational movement and the like added to the arithmetic unit 23. The ridge line data (X, Y) extracted from the original image image is converted into a three-dimensional image and taken in. The vertices in space (three-dimensional) are moved in accordance with the degree of the rotational movement to create a target image line (X, Y).

【0016】図3の画像処理装置の画像変形処理内容
(演算装置23の処理a〜c及び稜線作成処理部25〜
27の処理)を図4に示す。同図において、先ず、原画
像の稜線の抽出(ステップA)、次いで、前記稜線から
3次元情報を抽出し、視点を変えた稜線の抽出(ステッ
プB)を行う。この後、原画像の稜線で囲まれた面を表
す領域を三角形の小領域に分割し(ステップC)、前記
三角形に対応させて、視点を変えた稜線で囲まれた領域
を三角形の小領域に分割する(ステップD)。更に、ス
テップBで抽出した3次元情報に基づいて、各三角形領
域の処理順位を決定し(ステップE)、各三角形を前記
処理順位に従って写像する(ステップF)。この結果、
視点を変えた立体画像が得られる。
The image transformation processing contents of the image processing apparatus shown in FIG.
27 is shown in FIG. In the figure, first, ridge lines of the original image are extracted (step A), and then three-dimensional information is extracted from the ridge lines, and ridge lines of different viewpoints are extracted (step B). Thereafter, the area representing the surface surrounded by the ridge line of the original image is divided into small triangular areas (step C), and the area surrounded by the ridge line whose viewpoint has been changed is converted into a small triangular area corresponding to the triangle. (Step D). Further, based on the three-dimensional information extracted in step B, the processing order of each triangle area is determined (step E), and each triangle is mapped according to the processing order (step F). As a result,
A stereoscopic image from a different viewpoint can be obtained.

【0017】尚、本実施の形態に係る画像処理装置で動
画を作成する場合には、前記ステップのうち、ステップ
B〜ステップFまでをコマ数分だけ繰り返す。
When a moving image is created by the image processing apparatus according to the present embodiment, of the above steps, steps B to F are repeated by the number of frames.

【0018】ここで、本実施の形態で用いられる画像分
割装置(ステップC処理部)の三角形分割処理のアルゴ
リズムを図5,6に示す。先ず、読み込んだすべてのデ
ータ(画像枠M及び線分画像G1,G2)を指定線、指定
点とし、すべての指定点をY座標値で上から下に順にソ
ートして、テーブルを作成する(図7ステップ1)。次
に、テーブルの始めの3点より分割三角形を作成して、
分割三角形に登録すする(このとき、登録された分割三
角形の線分は指定線に含められる)。また、作業用多角
形(図中斜線で示す)に設定する(図7ステツプ2)。
但し、頂点番号は左回りで順に〜とする(以下同
様)。そして、テーブルにある次の指定点を点Pとする
(図7ステップ3)。この点Pは作業用多角形に上下方
向で最も近い。次いで、点Pから最も近い、作業用多角
形の頂点を点Qとする。点Pと点Qを結ぶ線分Lが指定
線と交差しないように、すべての指定線と交差判定を行
い、交差がある場合は点Pから次に近い点を点Qとする
(図7ステップ4)。
Here, FIGS. 5 and 6 show the algorithm of the triangulation process of the image dividing device (step C processing unit) used in the present embodiment. First, all read data (image frame M and line segment images G1 and G2) are designated as designated lines and designated points, and all designated points are sorted in order from top to bottom by Y coordinate values to create a table ( FIG. 7 step 1). Next, create a divided triangle from the first three points of the table,
Register as a divided triangle (at this time, the line segment of the registered divided triangle is included in the designated line). Also, it is set to a work polygon (indicated by hatching in the figure) (step 2 in FIG. 7).
However, the vertex numbers are sequentially set in the counterclockwise order (the same applies hereinafter). Then, the next designated point in the table is set to point P (step 3 in FIG. 7). This point P is closest to the working polygon in the vertical direction. Next, the vertex of the working polygon closest to the point P is defined as a point Q. The intersection determination is performed with all the designated lines so that the line segment L connecting the points P and Q does not intersect with the designated line. If there is an intersection, the point next to the point P is set as the point Q (FIG. 7 step 4).

【0019】この後、図8(a)に示すように、作業用
多角形の点Qの右側の点Rに対して線分Lの角度が18
0度以内(凹)の場合(図9(a)参照)には分割三角
形(図8(a)中斜線で示す)に登録して、さらに右側
の頂点にも順次追跡していく。また、登録された分割三
角形の線分も指定線に含める。次いで、作業用多角形の
点Qの左側の点に対して、ステップ5と同様に、左側に
順次追跡していく。もし、図9(b)に点線で示すよう
に、各指定線と交差があった場合には当該点線からなる
線分30を含む分割三角形については登録しない。な
お、図8(b)に網点で示すように、新しい作業用多角
形は今までに登録された分割三角形をすべて組み合わせ
たものとなる。
Thereafter, as shown in FIG. 8A, the angle of the line segment L is 18 with respect to the point R on the right side of the point Q of the working polygon.
If it is within 0 degrees (concave) (see FIG. 9A), it is registered as a divided triangle (shown by oblique lines in FIG. 8A), and the right vertex is sequentially tracked. Also, the line segment of the registered divided triangle is included in the designated line. Next, the point on the left side of the work polygon point Q is sequentially tracked to the left side in the same manner as in step 5. As shown by the dotted lines in FIG. 9B, if there is an intersection with each designated line, the divided triangle including the segment 30 composed of the dotted line is not registered. As shown by the halftone dots in FIG. 8B, the new work polygon is a combination of all the divided triangles registered so far.

【0020】更に、テーブル上のすべての点がなくなる
まで、ステップ3からステップ6までの処理を繰り返し
(図10ステップ7)、図10の最終段階に示すよう
に、画像分割処理を終了する。尚、図10においては、
画像枠M,線分画像G1,G2及び作業用多角形(網点で
示す)の稜線は太線で示し、それ以外は細線で示す。
Further, the processing from step 3 to step 6 is repeated until all the points on the table are gone (step 7 in FIG. 10), and the image division processing ends as shown in the final stage of FIG. In FIG. 10,
The edges of the image frame M, the line segment images G1 and G2, and the work polygon (indicated by halftone dots) are indicated by thick lines, and the other edges are indicated by thin lines.

【0021】本実施の形態で用いられる三角形分割処理
のアルゴリズムは、図7に示したような画像形態に限ら
れるものではなく、各種形態の画像に適用される。例え
ば図11(a)は閉じた多角形画像G1,G2と、閉じな
い線分画像G3〜G5とが混在した画像例を示し、この画
像例に対し、本実施の形態に係る画像処理装置で画像分
割処理を行ったところ、図11(b)に示すように、画
像分割が確実に行われていることが確認された。
The algorithm of the triangulation processing used in the present embodiment is not limited to the image form shown in FIG. 7, but is applied to images of various forms. For example, FIG. 11A shows an example of an image in which closed polygonal images G1 and G2 and unclosed line segment images G3 to G5 coexist, and the image processing apparatus according to the present embodiment compares this image example. When the image division processing was performed, it was confirmed that the image division was reliably performed as shown in FIG.

【0022】また、本実施の形態に係る画像処理装置の
画像変形処理(視点変更処理)についての具体例を示
す。図12(a)は図13(a)の原画像(複写機画
像)の画像分割例を示し、図12(b)は図12(a)
の画像分割例の視点を変えた状態を示し、図13(b)
は視点を変えた状態の出力画像例を示す。これによれ
ば、画像表示装置にて表示される「視点を変えた立体画
像」(図13(b))は、すべて三角形に分割された領
域で写像されるので、テクスチャーの歪みがなく、3次
元情報(奥行き情報)に応じて自然な立体画像として表
示されることが理解される。それゆえ、手書きの一枚の
スケッチ画像から視点を変更した図案が容易に複数作成
されることになり、更に、一枚のスケッチ画像から視点
移動を表す図案を連続的に作成すれば、滑らかな動画が
自動的に作成されることになる。
Further, a specific example of the image deformation processing (viewpoint change processing) of the image processing apparatus according to the present embodiment will be described. FIG. 12A shows an example of image division of the original image (copier image) of FIG. 13A, and FIG.
FIG. 13B shows a state in which the viewpoint of the image division example is changed.
Shows an output image example in a state where the viewpoint is changed. According to this, the “stereoscopic image from a different viewpoint” (FIG. 13B) displayed on the image display device is all mapped in a triangularly divided area, so that there is no distortion of the texture and 3D It is understood that the image is displayed as a natural stereoscopic image according to the dimensional information (depth information). Therefore, a plurality of patterns whose viewpoints have been changed from one handwritten sketch image can be easily created. Furthermore, if a pattern representing the viewpoint movement is continuously created from one sketch image, a smooth The video will be created automatically.

【0023】◎実施の形態2 本実施の形態に係る画像処理装置は実施の形態1と略同
様であるが、三角形分割処理について、実施の形態1と
一部異なるアルゴリズムを採用している。すなわち、本
実施の形態で採用される三角形分割ルーチンは、読み込
んだデータ配列を変換するか否かをチェックし、データ
配列を変換するのであれば、データを選択角(90゜,
180゜,−90゜)(本実施の形態では例えば図示外
の選択ボタンにて手動選択)に応じて回転させ、この
後、図5,6に示されるステップ1〜ステップ7の処理
を行うものである。
Embodiment 2 An image processing apparatus according to the present embodiment is substantially the same as Embodiment 1, but employs a partly different algorithm from that of Embodiment 1 for triangulation. That is, the triangulation routine adopted in the present embodiment checks whether or not to convert the read data array, and if the data array is to be converted, the data is selected at the selected angle (90 °, 90 °).
180 °, -90 °) (in the present embodiment, for example, manually selected by a selection button not shown), and thereafter, the processing of steps 1 to 7 shown in FIGS. It is.

【0024】従って、本実施の形態によれば、データ配
列を変換しなければ、例えば図15(a)に示すよう
に、画像枠の上部から下部にかけて画像分割処理するこ
とになるのに対し、例えばデータ配列を180゜変換す
るのであれば、図15(b)に示すように、画像枠の下
部から上部にかけて画像分割処理することになるが、こ
の場合、図中丸で囲んだ箇所に着目すると、図15
(b)の方が正しく隠面処理されていることが理解され
る。それゆえ、データ配列を適宜変更することにより、
画像分割処理内容を変え、それに応じて出力画像の状態
をより良い方向に修正することが可能になる。
Therefore, according to the present embodiment, if the data array is not converted, the image is divided from the upper part to the lower part of the image frame as shown in FIG. For example, if the data array is converted by 180 °, as shown in FIG. 15B, image division processing is performed from the lower part to the upper part of the image frame. In this case, paying attention to a portion circled in the figure , FIG.
It is understood that (b) performs the hidden surface processing correctly. Therefore, by appropriately changing the data array,
It is possible to change the content of the image division processing and correct the state of the output image in a better direction accordingly.

【0025】◎実施の形態3 本実施の形態に係る画像処理装置は実施の形態1と略同
様であるが、三角形分割処理について、実施の形態1と
全く異なるアルゴリズムを採用している。すなわち、本
実施の形態において採用される三角形分割処理のアルゴ
リズムを図16に示す。同図において、先ず、読み込ん
だすべてのデータを指定線、指定点とし、すべての指定
点を上または下からソートして順番付けたテーブルを作
成する。次いで、テーブルの始めの1点を作業点とし、
作業点から他の次の点とを結び、この結線が他の指定線
と交差のまたは重複していなければ、前記結線を指定線
として登録する。これを全ての指定点との結線について
行う。この後、テーブルの点を順次作業点とし、それぞ
れの作業点と他の指定点との間の結線について交差判別
を行いながら、指定線を順次登録し、画像の分割処理を
行う。
Third Embodiment The image processing apparatus according to the third embodiment is substantially the same as that of the first embodiment, but employs an algorithm completely different from that of the first embodiment for triangulation processing. That is, FIG. 16 shows an algorithm of the triangulation processing employed in the present embodiment. In the figure, first, a table is created in which all read data are designated as designated lines and designated points, and all designated points are sorted from the top or the bottom and ordered. Next, the first point on the table is used as the working point,
The work point is connected to another next point, and if this connection does not intersect or overlap with another designated line, the connection is registered as a designated line. This is performed for connections to all designated points. Thereafter, the points in the table are sequentially set as working points, and while the intersection between each working point and another specified point is determined as an intersection, the specified lines are sequentially registered and the image is divided.

【0026】本実施の形態によれば、実施の形態1,2
に比べれば、処理が複雑になるが、アルゴリズム自体が
シンプルであるため、実装しやすいという利点がある。
According to the present embodiment, Embodiments 1 and 2
Although the processing is more complicated than the above, there is an advantage that the algorithm itself is simple, so that it is easy to implement.

【0027】[0027]

【発明の効果】以上説明してきたように、本発明によれ
ば、画像枠及び画像枠内の線分画像を分割のための指定
線、指定点として抽出した後、画像枠内の線分画像に交
差することなく、三角形状の単位分割領域を順次確定し
ながら作成すると共に、その単位分割領域の境界線を分
割のための指定線として追加抽出し、確定した単位分割
領域の集合体を作業用多角形領域として設定しながら、
画像枠全体が作業用多角形領域になるまで画像分割を継
続するようにしたので、画像枠内の画像が如何なる形態
の線分画像であっても、全ての指定点との交差判別を繰
り返し行うことなく、作業用多角形領域の頂点との間で
の交差判別を行うだけで画像を順次分割することができ
る。従って、画像枠内の線分画像の形態に影響されるこ
となく、交差判別の処理時間を抑えながら、任意の形態
の線分画像を簡単に分割することができる。
As described above, according to the present invention, after extracting an image frame and a line segment image in the image frame as designated lines and designated points for division, the line segment image in the image frame is extracted. A triangular unit divided area is created while sequentially determining without intersecting the boundary, and the boundary line of the unit divided area is additionally extracted as a designated line for division, and the set of determined unit divided areas is worked on. While setting as a polygon area for
Since the image division is continued until the entire image frame becomes the work polygon area, the intersection determination with all the designated points is repeatedly performed even if the image in the image frame is any type of line segment image. Instead, the image can be sequentially divided only by determining the intersection with the vertices of the work polygon area. Therefore, it is possible to easily divide a line segment image having an arbitrary form without being affected by the form of the line segment image in the image frame, while suppressing the processing time for intersection determination.

【0028】特に、所定の順にソートされた指定点が予
め格納された指定点格納手段を用い、画像枠の所定箇所
から順に単位分割領域を順次作成する装置構成にすれ
ば、単位分割領域の作成工程を繰り返し処理の無駄を省
き高速かつ簡単にすることが可能になり、その分、任意
の形態の線分画像をより効率的に分割することができ
る。
In particular, by using a designated point storing means in which designated points sorted in a predetermined order are stored in advance, and configured so as to sequentially create unit divided areas from a predetermined position in an image frame, the unit divided area can be created. The process can be repeated at a high speed and simplified by eliminating waste of processing, and accordingly, a line segment image of an arbitrary form can be more efficiently divided.

【0029】また、本発明において、指定点格納手段へ
格納される指定点のソート方向を画像枠の上部または下
部から順に行うようにすれば、分割画像に対して奥行き
情報と合わせて簡単な隠面処理を施すことが可能であ
る。更に、指定点格納手段へ格納される指定点のソート
方向を可変設定するようにすれば、ソート方向を変える
ことにより、画像の分割形態を変え、その分、出力画像
品質を変更することができる。
Further, in the present invention, if the sorting direction of the designated points stored in the designated point storing means is performed in order from the upper or lower part of the image frame, the divided images can be easily hidden together with the depth information. Surface treatment can be performed. Further, if the sort direction of the designated points stored in the designated point storage means is variably set, the image division form can be changed by changing the sort direction, and the output image quality can be changed accordingly. .

【0030】また、本発明において、分割領域作成時
に、作業用多角形領域のもよりの頂点から交差判別を行
うようにすれば、より短い分割線にて画像を分割するこ
とが可能になり、原画像の領域を生かすことができる。
Further, in the present invention, if the intersection is determined from the vertices of the work polygon area when creating the divided area, the image can be divided by a shorter dividing line. The area of the original image can be utilized.

【0031】また、本発明の別の態様によれば、画像枠
及び画像枠内の線分画像を分割のための指定線、指定点
として抽出した後、指定点の全てに対して交差判別を行
いながら、分割のための指定線を作成するようにしたの
で、如何なる形態の線分画像でも分割することが可能で
あるという基本的効果のほかに、画像分割のためのアル
ゴリズムがシンプルである分、実装しやすいという効果
を奏する。
According to another aspect of the present invention, after extracting an image frame and a line segment image within the image frame as designated lines and designated points for division, intersection determination is performed for all designated points. While performing the process, a designated line for division is created, so that in addition to the basic effect of being able to divide any form of line image, the algorithm for dividing an image is simpler. This has the effect of being easy to mount.

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

【図1】 (a)(b)はこの発明に係る画像分割方法
の工程を示す説明図である。
FIGS. 1A and 1B are explanatory views showing steps of an image dividing method according to the present invention.

【図2】 (a)(b)はこの発明に係る画像分割装置
の概要を示す説明図である。
FIGS. 2A and 2B are explanatory diagrams showing an outline of an image dividing apparatus according to the present invention.

【図3】 この発明が適用された画像分割装置が組込ま
れた画像処理装置の実施の形態1を示す説明図である。
FIG. 3 is an explanatory diagram showing Embodiment 1 of an image processing apparatus in which an image dividing apparatus to which the present invention is applied is incorporated.

【図4】 実施の形態1に係る画像処理装置の画像変形
処理過程を示すフローチャートである。
FIG. 4 is a flowchart showing an image transformation process of the image processing apparatus according to the first embodiment;

【図5】 実施の形態1で用いられる三角形分割処理過
程を示すフローチャートである。
FIG. 5 is a flowchart showing a triangulation process used in the first embodiment;

【図6】 実施の形態1で用いられる三角形分割処理過
程を示すフローチャートである。
FIG. 6 is a flowchart showing a triangulation process used in the first embodiment;

【図7】 実施の形態1で用いられる三角形分割処理過
程のステップ1〜ステップ4の処理内容を模式的に示す
説明図である。
FIG. 7 is an explanatory diagram schematically showing the processing contents of steps 1 to 4 in the triangulation processing used in the first embodiment.

【図8】 (a)(b)は実施の形態1で用いられる三
角形分割処理過程のステップ5〜ステップ6の処理内容
を模式的に示す説明図である。
FIGS. 8A and 8B are explanatory diagrams schematically showing processing contents of Steps 5 to 6 in the triangulation processing used in the first embodiment.

【図9】 (a)はステップ5,6で分割三角形を登録
するための条件を示す説明図、(b)はステップ5,6
で分割三角形を登録しないための条件を示す説明図であ
る。
FIG. 9A is an explanatory diagram showing conditions for registering a divided triangle in steps 5 and 6, and FIG.
FIG. 7 is an explanatory diagram showing conditions for not registering a divided triangle in FIG.

【図10】 実施の形態1で用いられる三角形分割処理
過程のステップ7の処理内容を模式的に示す説明図であ
る。
FIG. 10 is an explanatory diagram schematically showing the processing contents of step 7 in the triangulation processing used in the first embodiment.

【図11】 (a)は閉じた多角形画像と閉じない線分
画像とが混在した画像例を示す説明図、(b)は(a)
の原画像に対して本実施の形態に係る三角形分割処理を
施した場合の画像の分割状態を示す説明図である。
11A is an explanatory diagram showing an example of an image in which a closed polygonal image and an unclosed line segment image are mixed, and FIG.
FIG. 9 is an explanatory diagram showing an image division state when the original image is subjected to the triangulation processing according to the present embodiment.

【図12】 (a)は原画像の画像分割状態を示す説明
図、(b)は原画像の視点を変えたときの画像分割状態
を示す説明図である。
12A is an explanatory diagram illustrating an image division state of an original image, and FIG. 12B is an explanatory diagram illustrating an image division state when the viewpoint of the original image is changed.

【図13】 (a)は図12(a)の原画像を示す説明
図、(b)は図12(b)に基づく視点を変えた画像を
示す説明図である。
13A is an explanatory diagram showing the original image of FIG. 12A, and FIG. 13B is an explanatory diagram showing an image in which the viewpoint is changed based on FIG. 12B.

【図14】 実施の形態2で用いられる三角形分割処理
過程を示すフローチャートである。
FIG. 14 is a flowchart showing a triangulation process used in the second embodiment.

【図15】 (a)はデータ配列を変換しない場合の出
力画像例を示す説明図、(b)はデータ配列を変換した
場合の出力画像例を示す説明図である。
15A is an explanatory diagram illustrating an example of an output image when a data array is not converted, and FIG. 15B is an explanatory diagram illustrating an example of an output image when a data array is converted.

【図16】 実施の形態3で用いられる三角形分割処理
過程を示すフローチャートである。
FIG. 16 is a flowchart showing a triangulation process used in the third embodiment.

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

1…指定線指定点抽出手段,2…指定点格納手段,3…
分割領域初期設定手段,4…分割領域作成手段,5…指
定線追加抽出手段,6…作業用多角形領域設定手段,7
…分割繰り返し手段,8…ソート方向可変手段,9…分
割指定線作成手段,11…指定線指定点抽出工程,12
…分割領域初期設定工程,13…分割継続工程,14…
分割指定線作成工程,M…画像枠,G…線分画像,D…
単位分割領域,K…作業用多角形領域
1 ... designated line designated point extracting means, 2 ... designated point storage means, 3 ...
Divided area initial setting means, 4: Divided area creation means, 5: Designated line addition and extraction means, 6: Working polygonal area setting means, 7
... Division repetition means, 8 ... Sort direction variable means, 9 ... Division designation line creation means, 11 ... Designation line designation point extraction step, 12
... Division area initial setting step, 13 ... Division continuation step, 14 ...
Division designation line creation process, M: image frame, G: line segment image, D:
Unit divided area, K: Polygon area for work

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 所定の画像枠(M)内に描かれた線分画
像(G)を分割するに際し、 画像枠(M)及び画像の各線分を分割のための指定線
(SL)として抽出すると共に各指定線(SL)の両端
位置を指定点(SP)として抽出する指定線指定点抽出
工程(11)と、 抽出された各指定点(SP)の中から最初の3つの指定
点(SP)を選択することにより、既抽出の指定線(S
L)と非交差である三角形状の単位分割領域(D)を選
定し、この単位分割領域(D)の境界線のうち指定線
(SL)として抽出されていない境界線を分割のための
指定線(SL)として追加抽出すると共に、単位分割領
域(D)を作業用多角形領域(K)として設定する分割
領域初期設定工程(12)と、 作業用多角形領域(K)に隣接する一つの指定点(S
P)を選択することにより、この指定点(SP)が含ま
れ且つ既抽出された指定線(SL)と非交差である三角
形状の単位分割領域(D)を順次作成し、この単位分割
領域(D)の境界線のうち指定線(SL)として抽出さ
れていない境界線を分割のための指定線(SL)として
追加抽出すると共に、単位分割領域(D)を作業用多角
形領域(K)として順次設定し、この処理を画像枠
(M)全域が作業用多角形領域(K)として設定される
まで繰り返す分割継続工程(13)とを備えたことを特
徴とする画像分割方法。
When dividing a line segment image (G) drawn in a predetermined image frame (M), each line segment of the image frame (M) and the image is extracted as a designated line (SL) for division. And a designated line designated point extracting step (11) for extracting both end positions of each designated line (SL) as designated points (SP); and the first three designated points (SP) among the extracted designated points (SP). By selecting (SP), the designated line (S
L), and selects a triangular unit divided region (D) that does not intersect with L), and designates a boundary line not extracted as the designated line (SL) among the boundary lines of the unit divided region (D) for division. A division region initial setting step (12) for additionally extracting a line (SL) and setting the unit division region (D) as a work polygon region (K); Two specified points (S
By selecting P), a triangular unit divided region (D) that includes the designated point (SP) and does not intersect with the extracted designated line (SL) is sequentially created. Among the boundary lines in (D), the boundary lines not extracted as the designated line (SL) are additionally extracted as designated line (SL) for division, and the unit divided region (D) is extracted as the work polygon region (K). ), And a division continuation step (13) of repeating this processing until the entire area of the image frame (M) is set as the work polygon area (K).
【請求項2】 所定の画像枠(M)内に描かれた線分画
像(G)を分割する画像分割装置であって、 画像枠(M)及び画像の各線分を分割のための指定線
(SL)として抽出すると共に各指定線(SL)の両端
位置を指定点(SP)として抽出する指定線指定点抽出
手段(1)と、 この指定線指定点抽出手段(1)にて抽出されたすべて
の指定点(SP)の座標位置を所定の順にソートして格
納する指定点格納手段(2)と、 この指定点格納手段(2)の最初の3つの指定点(S
P)により三角形状の単位分割領域(D)を作成し、当
該単位分割領域(D)の境界線のうち指定線(SL)と
して抽出されていない境界線を分割のための指定線(S
L)として追加抽出すると共に、前記単位分割領域
(D)を作業用多角形領域(K)として設定する分割領
域初期設定手段(3)と、 指定点格納手段(2)の次の指定点(SP)を選択し、
この指定点(SP)が含まれ且つ既抽出された指定線
(SL)と非交差である三角形状の単位分割領域(D)
を順次作成する分割領域作成手段(4)と、 この分割領域作成手段(4)にて作成された単位分割領
域(D)の境界線のうち指定線(SL)として抽出され
ていない境界線を分割のための指定線(SL)として追
加抽出する指定線追加抽出手段(5)と、 前記分割領域作成手段(4)にて選定された単位分割領
域(D)の境界線のすべてが指定線(SL)として抽出
された条件下で、当該単位分割領域(D)を作業用多角
形領域(K)として設定する作業用多角形領域設定手段
(6)と、 画像枠(M)全域が作業用多角形領域(K)として設定
されるまで分割領域作成手段(4)、指定線追加抽出手
段(5)、作業用多角形領域設定手段(6)の各処理を
繰り返す分割繰り返し手段(7)とを備えたことを特徴
とする画像分割装置。
2. An image dividing apparatus for dividing a line segment image (G) drawn in a predetermined image frame (M), wherein a designated line for dividing each line segment of the image frame (M) and the image is provided. (SL) and a designated line designated point extracting means (1) for extracting both end positions of each designated line (SL) as designated points (SP); and a designated line designated point extracting means (1). Designated point storing means (2) for sorting and storing the coordinate positions of all designated points (SP) in a predetermined order, and the first three designated points (S) of the designated point storing means (2).
P), a triangular unit division region (D) is created, and a boundary line not extracted as the designation line (SL) among the boundary lines of the unit division region (D) is designated by the designation line (S).
L), a divisional area initial setting means (3) for setting the unit divisional area (D) as the work polygonal area (K), and a designated point (3) next to the designated point storage means (2). SP),
A triangular unit divided region (D) that includes the designated point (SP) and does not intersect with the extracted designated line (SL)
And a boundary line that is not extracted as the designated line (SL) among the boundary lines of the unit divided region (D) generated by the divided region generation unit (4). A designated line additional extracting means (5) for additionally extracting as designated lines (SL) for division; and all boundary lines of the unit divided area (D) selected by the divided area creating means (4) are designated lines. Under the conditions extracted as (SL), a working polygonal area setting means (6) for setting the unit divided area (D) as a working polygonal area (K); Division repetition means (7) that repeats the processing of divided area creation means (4), designated line addition and extraction means (5), and work polygon area setting means (6) until it is set as a work polygon area (K) An image dividing device comprising:
【請求項3】 請求項2記載のものにおいて、指定点格
納手段(2)は、指定線指定点抽出手段(1)にて抽出
されたすべての指定点(SP)の座標位置を上若しくは
下から順にソートして格納するテーブルであることを特
徴とする画像分割装置。
3. The designated point storing means (2) according to claim 2, wherein said designated point storing means (2) moves up or down the coordinate positions of all designated points (SP) extracted by said designated line designated point extracting means (1). An image dividing apparatus characterized in that the table is a table that is sorted and stored in order from.
【請求項4】 請求項2記載のものにおいて、指定点格
納手段(2)へ格納する指定点(SP)の座標位置のソ
ート方向が可変設定されるソート方向可変手段(8)を
備えていることを特徴とする画像分割装置。
4. The apparatus according to claim 2, further comprising a sort direction changing means for variably setting a sort direction of a coordinate position of the designated point stored in the designated point storage means. An image dividing apparatus, comprising:
【請求項5】 請求項2記載のものにおいて、分割領域
作成手段(4)は、作業用多角形領域(K)のもよりの
頂点から交差判別を行うものであることを特徴とする画
像分割装置。
5. The image division method according to claim 2, wherein the divided area creating means (4) performs an intersection determination from a vertex of the work polygonal area (K). apparatus.
【請求項6】 所定の画像枠(M)内に描かれた線分画
像(G)を分割するに際し、 画像枠(M)及び画像の各線分を分割のための指定線
(SL)として抽出すると共に各指定線(SL)の両端
位置を指定点(SP)として抽出する指定線指定点抽出
工程(11)と、 抽出された各指定点(SP)の1つを順次作業点とし、
それぞれの作業点について作業点と他の指定点との結線
が指定線(SL)と非交差である条件下で、当該結線を
分割のための指定線として追加抽出する分割指定線作成
工程(14)とを備えたことを特徴とする画像分割方
法。
6. When dividing a line image (G) drawn in a predetermined image frame (M), each line segment of the image frame (M) and the image is extracted as a designated line (SL) for division. A designated line designated point extracting step (11) for extracting both end positions of each designated line (SL) as designated points (SP); and one of the extracted designated points (SP) as a working point sequentially.
Under the condition that the connection between the work point and the other designated point does not intersect with the designated line (SL) for each work point, a division designated line creating step (14) for additionally extracting the connection as a designated line for division ).
【請求項7】 所定の画像枠(M)内に描かれた線分画
像(G)を分割する画像分割装置であって、 画像枠(M)及び画像の各線分を分割のための指定線
(SL)として抽出すると共に各指定線(SL)の両端
位置を指定点(SP)として抽出する指定線指定点抽出
手段(1)と、 この指定線指定点抽出手段(1)にて抽出されたすべて
の指定点(SP)の座標位置を所定の順にソートして格
納する指定点格納手段(2)と、 抽出された各指定点(SP)の1つを順次作業点とし、
それぞれの作業点について作業点と他の指定点との結線
が指定線(SL)と非交差である条件下で、当該結線を
分割のための指定線として追加抽出する分割指定線作成
手段(9)とを備えたことを特徴とする画像分割装置。
7. An image dividing apparatus for dividing a line segment image (G) drawn in a predetermined image frame (M), wherein a designated line for dividing each line segment of the image frame (M) and the image is provided. (SL) and a designated line designated point extracting means (1) for extracting both end positions of each designated line (SL) as designated points (SP); and a designated line designated point extracting means (1). Designated point storage means (2) for sorting and storing the coordinate positions of all designated points (SP) in a predetermined order, and one of the extracted designated points (SP) as working points sequentially.
Under the condition that the connection between the work point and the other designated point does not intersect with the designated line (SL) for each work point, a division designated line creating means (9) for additionally extracting the connection as a designated line for division ).
JP8192936A 1996-07-03 1996-07-03 Method and device for dividing image Pending JPH1021402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8192936A JPH1021402A (en) 1996-07-03 1996-07-03 Method and device for dividing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8192936A JPH1021402A (en) 1996-07-03 1996-07-03 Method and device for dividing image

Publications (1)

Publication Number Publication Date
JPH1021402A true JPH1021402A (en) 1998-01-23

Family

ID=16299473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8192936A Pending JPH1021402A (en) 1996-07-03 1996-07-03 Method and device for dividing image

Country Status (1)

Country Link
JP (1) JPH1021402A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108931795A (en) * 2018-05-21 2018-12-04 千寻位置网络有限公司 Positioning equipment track optimization and boundary extraction method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108931795A (en) * 2018-05-21 2018-12-04 千寻位置网络有限公司 Positioning equipment track optimization and boundary extraction method and device
CN108931795B (en) * 2018-05-21 2022-05-13 千寻位置网络有限公司 Positioning equipment track optimization and boundary extraction method and device

Similar Documents

Publication Publication Date Title
US5012433A (en) Multistage clipping method
US6201546B1 (en) Systems and methods for generating three dimensional, textured models
EP0950988B1 (en) Three-Dimensional image generating apparatus
RU2215326C2 (en) Image-based hierarchic presentation of motionless and animated three-dimensional object, method and device for using this presentation to visualize the object
JP2978787B2 (en) Method and apparatus for creating a structural solid geometric representation of a plurality of objects
US7884825B2 (en) Drawing method, image generating device, and electronic information apparatus
US5745667A (en) 3d graphics apparatus using texture images with displacement information
US20050017969A1 (en) Computer graphics rendering using boundary information
US6201542B1 (en) Three-dimensional polygon display apparatus using progressive polygon data
Deussen et al. An illustration technique using hardware-based intersections and skeletons
US6897863B2 (en) System and method for hidden object removal
JPH09330423A (en) 3D shape data converter
JP3471115B2 (en) Image coordinate transformation method
US5793372A (en) Methods and apparatus for rapidly rendering photo-realistic surfaces on 3-dimensional wire frames automatically using user defined points
JP4311877B2 (en) Anti-aliasing of subsampled texture edges
JPH06176129A (en) Computer graphic generation device
JPH09511599A (en) Fast perspective texture mapping for 3-D computer graphics
JP4425734B2 (en) How to provide a vector image with hidden lines removed
JPH0636013A (en) Topographic data creation method and device
JP4081304B2 (en) Drawing processing program, storage medium storing drawing processing program, drawing processing apparatus, and drawing processing method
JP2973432B2 (en) Image processing method and apparatus
JP2000516747A (en) Image processing method and apparatus
JP3002971B2 (en) 3D model creation device
CA1311317C (en) Multi stage clipping method
JPH10143672A (en) Method and device for generating image outline data