JP2008242533A - Coloring drawing creation apparatus and method, and program thereof - Google Patents

Coloring drawing creation apparatus and method, and program thereof Download PDF

Info

Publication number
JP2008242533A
JP2008242533A JP2007077996A JP2007077996A JP2008242533A JP 2008242533 A JP2008242533 A JP 2008242533A JP 2007077996 A JP2007077996 A JP 2007077996A JP 2007077996 A JP2007077996 A JP 2007077996A JP 2008242533 A JP2008242533 A JP 2008242533A
Authority
JP
Japan
Prior art keywords
coloring
region
closed
area
colored
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
JP2007077996A
Other languages
Japanese (ja)
Inventor
Toshiyuki Yoshida
俊之 吉田
Yasukimi Ishima
靖公 猪島
Kenji Nakano
賢司 中野
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.)
SYSTEM RUN KK
University of Fukui NUC
Original Assignee
SYSTEM RUN KK
University of Fukui NUC
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 SYSTEM RUN KK, University of Fukui NUC filed Critical SYSTEM RUN KK
Priority to JP2007077996A priority Critical patent/JP2008242533A/en
Publication of JP2008242533A publication Critical patent/JP2008242533A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Abstract

【課題】本発明は、コンピュータを用いて図面に水彩画風の見やすい着色処理を簡単に行うことができる着色図面作成装置及び方法並びにプログラムを提供することを目的とするものである。
【解決手段】図面Mの閉領域Rに着色を行う場合、閉領域Rを変形して丸みを帯びた形状に形成された着色領域Cを設定し、着色領域Cをランダムな方向に所定距離移動させて閉領域Rからずれた位置に設定する。また、設定された着色領域Cを用いて所定方向に所定距離移動させて閉領域Rからずらし、ずれた着色領域C及び閉領域Rに基づいてはみ出た部分を陰影領域Sに設定する。そして、着色領域C及び陰影領域Sに着色する場合、中心部から周縁部に向かって淡い色合いに着色することで、より水彩画に近い着色を行うことができる。
【選択図】図8
An object of the present invention is to provide a coloring drawing creation apparatus, method, and program capable of easily performing a watercolor painting-like coloring process on a drawing using a computer.
When coloring a closed region R in drawing M, the closed region R is deformed to set a colored region C formed in a rounded shape, and the colored region C is moved by a predetermined distance in a random direction. And set to a position shifted from the closed region R. In addition, the set colored region C is moved by a predetermined distance in a predetermined direction and shifted from the closed region R, and a portion protruding based on the shifted colored region C and the closed region R is set as the shadow region S. And when coloring the coloring area | region C and the shadow area | region S, coloring nearer to a watercolor painting can be performed by coloring lightly from a center part toward a peripheral part.
[Selection] Figure 8

Description

本発明は、白地図、見取り図、鳥瞰図といった輪郭線からなる種々の図面を色分けして水彩画風に着色する着色図面作成装置及び方法並びにプログラムに関する。   The present invention relates to a coloring drawing creation apparatus, method, and program for coloring various drawings including outlines such as a white map, a sketch, and a bird's-eye view in different colors.

白地図、見取り図、鳥瞰図といった図面では、一般に輪郭線で描画されている場合が多いため、描画されている部分を色分けして見やすくすることが行われている。近年、こうした図面データがコンピュータを用いて描画されるようになってきており、それに伴いコンピュータで表示された図面に彩色を施すことが行われるようになってきている。例えば、特許文献1では、描画した地形図に標高に応じた等高線に基づいて着色を行うようにした点が記載されている。また、特許文献2では、図形情報の土地区画の部分に対して当該土地区画に付加された属性情報の公共物種類に対応するペイント処理を施す点が記載されている。また、特許文献3では、道路や家屋の平面形状を示す白地図をスキャナで読み込んで道路や家屋を自動認識して家屋番号を付与する地図作成方式が記載されている。
再公表特許2003/090184号公報 特開2001−357177号公報 特開平5−313566号公報
In drawings such as a white map, a sketch, and a bird's eye view, since they are generally drawn with outlines, the drawn portions are color-coded for easy viewing. In recent years, such drawing data has been drawn using a computer, and accordingly, drawing displayed on the computer has been colored. For example, Patent Document 1 describes that a drawn topographic map is colored based on a contour line corresponding to an altitude. Further, Patent Document 2 describes that a paint process corresponding to the public object type of the attribute information added to the land parcel is performed on the land parcel portion of the graphic information. Further, Patent Document 3 describes a map creation method in which a white map indicating a planar shape of a road or a house is read by a scanner, the road or the house is automatically recognized, and a house number is assigned.
Republished Patent 2003/090184 JP 2001-357177 A Japanese Patent Application Laid-Open No. 5-313566

上述した特許文献1及び2では、基本的に単色表示で彩色を施すようになっているため、河川、山、道路、住宅地、商業地、水田、畑といった種々の区分で色分けすることを想定されていない。すなわち、上述した図面の色分けは、用途に応じて様々な区分の仕方があり、そうした幅広い用途に対応するものとはなっていない。
また、色分けを行う際に単色を用いて色分けすると非常に機械的な印象を与える結果となり、工事完成予想を提示する場合などでは、一般者に適切な印象を与えることができない。つまり、一般者向けに工事完成予想図などを提示する場合には、領域を均一に着色するのではなく、自然な風合いが出せるような絵画風の着色が必要となることがある。しかしながら、こうした着色を従来のソフトウェアで実行するためには時間がかかる上に、見やすくするための模様や色調をどのようにカラーデザインするかは才能と経験が必要となって一朝一夕で習得できるものではない。
In Patent Documents 1 and 2 described above, since coloring is basically performed in a single color display, it is assumed that colors are classified according to various categories such as rivers, mountains, roads, residential areas, commercial areas, paddy fields, and fields. It has not been. In other words, the above-described color coding of the drawings has various methods depending on the application, and does not correspond to such a wide application.
In addition, when color classification is performed using a single color, the result is that a very mechanical impression is given, and an appropriate impression cannot be given to the general public when a construction completion forecast is presented. In other words, when presenting a construction completion prediction map or the like to the general public, it may be necessary to paint in a painting style so that a natural texture can be produced instead of uniformly coloring the area. However, it takes time to execute such coloring with conventional software, and how to design a pattern and color to make it easier to see can be learned overnight because it requires talent and experience. Absent.

例えば、複雑な濃淡や複数の色彩を有する模様を作成する場合には、どの色をどのように組み合せていくかは相当な熟練と能力がなければできない。また、予め作成された画像を用いてカット&ペーストにより任意の領域に貼り付けることも考えられるが、任意の領域に切り出した画像を当て込むためには、切り出した画像の変形等の加工が必要となり、そのための操作の熟練や試行錯誤のために相当な時間がかかる。   For example, in the case of creating a pattern having complex shading and a plurality of colors, it is impossible to have which skill and ability to combine which colors and how to combine them. In addition, it is possible to paste in an arbitrary area by cutting and pasting using an image created in advance, but in order to apply an image cut out to an arbitrary area, it is necessary to modify the cut image Therefore, it takes a considerable amount of time for the operation skill and trial and error.

そこで、本発明は、コンピュータを用いて図面に水彩画風の見やすい着色処理を簡単に行うことができる着色図面作成装置及び方法並びにプログラムを提供することを目的とするものである。   SUMMARY OF THE INVENTION An object of the present invention is to provide a colored drawing creation apparatus, method, and program that can easily perform a watercolor painting-like coloring process on a drawing using a computer.

本発明に係る着色図面作成装置は、輪郭線からなる図面データに基づいて当該図面を輪郭線に囲まれた閉領域に分割する分割処理手段と、分割された閉領域のうち着色する閉領域を選択する選択手段と、選択された閉領域の形状を変形して着色領域を生成するとともに当該閉領域からずらして着色領域を設定する領域設定手段と、設定された着色領域に基づいて着色処理を行う着色処理手段とを備えていることを特徴とする。さらに、前記領域設定手段は、設定された前記着色領域及び前記閉領域に基づいて陰影領域を設定するとともに、前記着色処理手段は、設定された陰影領域に基づいて着色処理を行うことを特徴とする。   A coloring drawing creation apparatus according to the present invention includes a dividing processing unit that divides a drawing into closed regions surrounded by outlines based on drawing data including outlines, and a closed region that is colored among the divided closed regions. A selection means for selecting, a region setting means for generating a colored region by modifying the shape of the selected closed region, and setting the colored region by shifting from the closed region; and a coloring process based on the set colored region And coloring processing means for performing the processing. Further, the area setting means sets a shadow area based on the set coloring area and the closed area, and the coloring processing means performs a coloring process based on the set shadow area. To do.

本発明に係る着色図面作成方法は、コンピュータを用いて輪郭線からなる図面データに着色する着色図面作成方法であって、前記図面データに基づいて当該図面を輪郭線に囲まれた閉領域に分割し、分割された閉領域のうち着色する閉領域を選択し、選択された閉領域の形状を変形して着色領域を生成するとともに当該閉領域からずらして設定し、設定された着色領域に基づいて着色処理を行うことを特徴とする。さらに、設定された前記着色領域及び前記閉領域に基づいて陰影領域を設定し、設定された陰影領域に基づいて着色処理を行うことを特徴とする。   A coloring drawing creation method according to the present invention is a coloring drawing creation method for coloring drawing data composed of contour lines using a computer, and divides the drawing into closed regions surrounded by the contour lines based on the drawing data. Select a closed region to be colored from among the divided closed regions, generate a colored region by modifying the shape of the selected closed region, set the shifted region from the closed region, and based on the set colored region And coloring treatment. Furthermore, a shadow region is set based on the set coloring region and the closed region, and a coloring process is performed based on the set shadow region.

本発明に係るプログラムは、輪郭線からなる図面データに着色する着色図面作成装置を機能させるためのプログラムであって、前記着色図面作成装置を、輪郭線からなる図面データに基づいて当該図面を輪郭線に囲まれた閉領域に分割する手段、分割された閉領域のうち着色する閉領域を選択する手段、選択された閉領域の形状を変形して着色領域を生成するとともに当該閉領域からずらして着色領域を設定する手段、設定された着色領域に基づいて着色処理を行う手段、として機能させる。さらに、前記着色領域を設定する手段は、設定された前記着色領域及び前記閉領域に基づいて陰影領域を設定するとともに、着色処理を行う手段は、設定された陰影領域に基づいて着色処理を行うことを特徴とする。   A program according to the present invention is a program for causing a coloring drawing creation apparatus to color drawing data composed of contour lines, and contours the drawing based on the drawing data composed of contour lines. Means for dividing into closed areas surrounded by a line, means for selecting a closed area to be colored among the divided closed areas, generating a colored area by modifying the shape of the selected closed area, and shifting from the closed area And functioning as means for setting a colored region and means for performing a coloring process based on the set colored region. Furthermore, the means for setting the coloring area sets a shadow area based on the set coloring area and the closed area, and the means for performing a coloring process performs the coloring process based on the set shadow area. It is characterized by that.

本発明は、上記のような構成を有することで、選択された閉領域の形状を変形して着色領域を生成するとともに当該閉領域からずらして着色領域を設定する領域設定手段を備えているので、水彩画風の着色処理を行うことができる。   Since the present invention has the above-described configuration, it includes a region setting means for generating a colored region by modifying the shape of the selected closed region and setting the colored region by shifting from the closed region. In addition, a watercolor-like coloring process can be performed.

すなわち、手描きによる水彩画では着色部分に微妙な色の濃淡やムラが生じる場合が多く、例えば水墨画のように中心部から周縁部に向かって滲むように墨の濃淡が拡がっていくような描画が行われている。また、水彩画では、境界線の隅々にまで厳密に着色するのではなく、塗り残しやはみ出しを多用した描画が行われる。こうした着色手法を図面の着色処理に取り入れると、着色領域の周縁部にいくにしたがい淡い色合いになって模糊とした印象を与え、輪郭線によるシャープな印象を和らげて見やすくなるとともに、自然な風合いを与えることができる。   In other words, hand-painted watercolors often have subtle color shading and unevenness in the colored areas.For example, ink painting is performed so that the shading of the ink spreads from the center to the periphery. It has been broken. In addition, in the watercolor painting, drawing is performed not only by strict coloring to every corner of the boundary line but also by using many unpainted areas and protrusions. When these coloring methods are incorporated into the coloring process of the drawing, the impression becomes a light paste as it goes to the periphery of the colored area, giving it an imitation of glue, making the sharp impression of the contour line softer and easier to see, and giving a natural texture. Can be given.

そのため、本願発明では、輪郭線で画定される閉領域を変形して、着色領域を例えば丸みの帯びた形状にすることで、輪郭線のシャープな印象を和らげ、閉領域からずらすように設定することで、閉領域の周縁部に着色されない隙間が生じるようになって水彩画の着色手法と同様な模糊とした印象を与えることができる。そして、着色領域を輪郭線から意図的にずらすことにより、手描きのような印象を与えることが可能となり、さらに着色領域の中心部から周縁部に行くに従い色合いが淡くなるように設定すれば、より水彩画に近い着色を行うことができる。   Therefore, in the present invention, the closed region defined by the contour line is deformed, and the colored region is set to have a rounded shape, for example, so that the sharp impression of the contour line is softened and set to shift from the closed region. As a result, an uncolored gap is generated at the peripheral edge of the closed region, and an impression similar to that of the coloring method of the watercolor painting can be given. And by intentionally shifting the colored area from the contour line, it is possible to give an impression like hand-drawing, and if the setting is made so that the hue becomes lighter from the central part to the peripheral part of the colored area, Coloring close to a watercolor painting can be performed.

また、設定された着色領域及び閉領域に基づいて陰影領域を設定して着色処理を行うようにすれば、さらに立体感を与えることができ建物等の区分を見やすくすると同時に自然な風合いを与えることが可能となる。そして、陰影領域の設定に着色領域を取り入れることで、着色領域のような和らいだ印象を陰影領域に与えることができる。例えば、陰影領域を閉領域の形状をずらして設定すると、輪郭線からなる閉領域のシャープな印象を増幅することになるが、着色領域の丸みを帯びた形状を陰影領域の外形に取り入れることで、閉領域のシャープな印象を和らげるとともに着色領域との相乗効果により水彩画風の印象を強めることができる。陰影領域は、閉領域から所定の方向にずらして設定するようにすれば、太陽光線照射による陰影のように着色でき、航空写真のような立体感を与えることが可能となる。   In addition, if the shading area is set based on the set coloring area and the closed area and the coloring process is performed, it is possible to give a more three-dimensional effect and make it easy to see the division of the building and at the same time give a natural texture. Is possible. Then, by incorporating the colored region into the setting of the shaded region, a soothing impression like the colored region can be given to the shaded region. For example, if the shadow area is set by shifting the shape of the closed area, the sharp impression of the closed area consisting of contour lines will be amplified, but by incorporating the rounded shape of the colored area into the outline of the shadow area. In addition, the sharp impression of the closed area can be softened, and the impression of a watercolor painting can be strengthened by a synergistic effect with the colored area. If the shadow area is set so as to be shifted from the closed area in a predetermined direction, the shadow area can be colored like a shadow caused by irradiation with sunlight, and a stereoscopic effect like an aerial photograph can be given.

以下、本発明に係る実施形態について詳しく説明する。なお、以下に説明する実施形態は、本発明を実施するにあたって好ましい具体例であるから、技術的に種々の限定がなされているが、本発明は、以下の説明において特に本発明を限定する旨明記されていない限り、これらの形態に限定されるものではない。   Hereinafter, embodiments according to the present invention will be described in detail. The embodiments described below are preferable specific examples for carrying out the present invention, and thus various technical limitations are made. However, the present invention is particularly limited in the following description. Unless otherwise specified, the present invention is not limited to these forms.

図1は、本発明に係る実施形態に関するシステム構成図を示しており、着色図面作成装置1は、公知のコンピュータにアプリケーションソフトとしてインストールされた着色図面作成プログラム100を作動させてその機能が実現される。コンピュータの基本構成は公知のものであり、論理演算を処理するCPU10、論理演算に必要なデータやプログラム等を一時的に記憶するRAM11、論理演算を実行するためのプログラム等を記憶するROM12、アプリケーションソフトや各種画像情報を記憶する記憶部13、処理結果を表示するディスプレイ14、処理結果を出力するプリンタ15、処理に必要なデータや指令を入力する入力部16を備えており、これらを送受信用のバス17で接続してデータの送受信を行う。   FIG. 1 shows a system configuration diagram relating to an embodiment of the present invention. A coloring drawing creation apparatus 1 operates a coloring drawing creation program 100 installed as application software on a known computer to realize its function. The The basic configuration of the computer is a well-known computer, a CPU 10 that processes logical operations, a RAM 11 that temporarily stores data and programs necessary for logical operations, a ROM 12 that stores programs and the like for executing logical operations, and applications A storage unit 13 for storing software and various types of image information, a display 14 for displaying processing results, a printer 15 for outputting processing results, and an input unit 16 for inputting data and commands necessary for processing are provided. The bus 17 is used for data transmission / reception.

図2から図8は、着色図面作成装置1で実現される着色処理に関する説明図である。まず、図2のように、図面Mに輪郭線により描画された図形Fが表示されている場合、輪郭線で囲まれた閉領域Rを画定する(図3)。   2 to 8 are explanatory diagrams relating to the coloring process realized by the colored drawing creating apparatus 1. FIG. First, as shown in FIG. 2, when a figure F drawn with a contour line is displayed in the drawing M, a closed region R surrounded by the contour line is defined (FIG. 3).

次に、閉領域Rの着色領域を設定するために、閉領域Rに公知のモルフォロジー処理に属するダイレーション(領域膨張)処理およびエロージョン(領域縮小)処理を施す。この処理によって設定される着色領域は、図4(a)に示すように閉領域Rの角部がとれた丸みを帯びた形状となる。次に、着色領域の周縁部にいくにしたがい淡い色合を出すための処理として、着色領域C内の各画素について外形線までの最短距離を画素数で算出し、算出した画素数が同一である画素領域を画定する。画定された画素領域は、図4(b)に示すように着色領域C内を点線で示す等高線のように描かれるようになる。   Next, in order to set the colored region of the closed region R, dilation (region expansion) processing and erosion (region reduction) processing belonging to a known morphological process are performed on the closed region R. The colored region set by this processing has a rounded shape with the corners of the closed region R removed as shown in FIG. Next, as a process for producing a light color according to the periphery of the colored region, the shortest distance to the outline of each pixel in the colored region C is calculated by the number of pixels, and the calculated number of pixels is the same. A pixel region is defined. The defined pixel region is drawn like a contour line indicated by a dotted line in the colored region C as shown in FIG.

次に、図5に示すように、着色領域Cを閉領域Rに対して予め定めた方向あるいはランダムな方向に所定距離ずらすように設定する。この例では、図面右下方向にずらすようにしている。このように着色領域Cをずらすことで、閉領域Rの周縁部に着色されない領域及びはみ出した領域が生じ、水彩画のような模糊とした印象を与えることができる。   Next, as shown in FIG. 5, the coloring region C is set to be shifted from the closed region R by a predetermined distance in a predetermined direction or a random direction. In this example, it is shifted in the lower right direction of the drawing. By shifting the colored region C in this way, a non-colored region and a protruding region are generated at the peripheral edge of the closed region R, and an imitation like a watercolor can be given.

こうして設定した着色領域Cを用いて陰影領域を設定する。設定された着色領域Cを閉領域R内の元の位置から予め設定された方向に所定距離だけ移動させ、閉領域Rとずれた位置に設定する(図では領域C’で表示)。この例では、所定の方向から太陽光線が照射して陰影が生じることを前提に陰影領域はすべて閉領域から所定の方向にずらして設定される。   A shadow area is set using the colored area C set in this way. The set coloring region C is moved from the original position in the closed region R by a predetermined distance in a preset direction, and is set to a position shifted from the closed region R (indicated by a region C ′ in the figure). In this example, all shaded areas are set so as to be shifted from the closed area in the predetermined direction on the assumption that the shadows are generated when the sun rays are irradiated from the predetermined direction.

着色領域Cを所定方向にずらして設定された領域C’及び閉領域Rの外形線に基づいて、図6に示すように、閉領域Rの外形線と領域C’の閉領域Rからはみ出た部分の外形線に囲まれた領域を陰影領域Sに設定する。例えば、閉領域Rが上から見た建物とすると、建物の外側に太陽光線が照射されることによる影が陰影領域Sのように設定されて建物の立体感を持たせるようにすることができる。その場合、閉領域Rの外形線をずらして陰影領域を設定することも考えられるが、閉領域Rの外形線が二重になって輪郭線のシャープな印象が増幅されてしまうが、着色領域Cの丸みを帯びた外形線を用いることで輪郭線のシャープな印象を和らげることができる。また、実際の航空写真でも建物等の影の形は建物の外形線に一致するものではなく、こうした陰影領域の方がより実際の航空写真の影を見たときの印象に近くなり、同時に自然な風合いを与えることができる。   Based on the outlines of the area C ′ and the closed area R set by shifting the coloring area C in a predetermined direction, as shown in FIG. 6, the outline of the closed area R protrudes from the closed area R of the area C ′. The area surrounded by the outline of the part is set as the shadow area S. For example, if the closed region R is a building viewed from above, the shadow caused by irradiating the outside of the building with sunlight is set as the shaded region S to give the building a three-dimensional effect. . In that case, it is conceivable to set the shaded region by shifting the outline of the closed region R, but the outline of the closed region R is doubled and the sharp impression of the outline is amplified. By using the rounded outline of C, the sharp impression of the outline can be softened. Also, even in an actual aerial photograph, the shape of the shadow of the building, etc. does not match the outline of the building, and these shaded areas are closer to the impression of seeing the shadow of the actual aerial photograph, and at the same time natural Can give a fresh texture.

以上のように設定された着色領域C及び陰影領域Sは、図7に示すように閉領域Rとはずれた位置関係となる。そして、設定された着色領域C及び陰影領域Sに着色処理を行うことで、図8に示すように、水彩画風の着色処理を行うことができ、また陰影領域S及び着色領域Cに与えたずれによって立体感を持たせた着色処理を行うことができる。   The colored region C and the shaded region S set as described above have a positional relationship deviated from the closed region R as shown in FIG. Then, by performing the coloring process on the set coloring area C and shadow area S, as shown in FIG. 8, it is possible to perform a watercolor-like coloring process, and the shift applied to the shadow area S and the coloring area C. Thus, a coloring process with a three-dimensional effect can be performed.

着色処理としては、設定された領域内に所定の色で着色したり、予め登録された着色画像をマスクレイヤとともに図面Mに重ねておき、設定された領域内のマスクを解除して着色画像を表出させるようにしてもよい。その場合、図4(b)に示すように、等高線のように設定された画素領域を用いて中心部から周縁部に向かって淡い色合いとなるようにすれば、より水彩画風の着色を行うことができる。黒あるいは灰色を基調として、図4(b)に示す等高線を用いて周辺部に向かって淡い灰色になるように着色すればよい。   As the coloring process, a predetermined area is colored with a predetermined color, or a pre-registered colored image is overlaid on the drawing M together with a mask layer, and the mask in the set area is released to form a colored image. You may make it express. In that case, as shown in FIG. 4B, if the color is set to be lighter from the center to the periphery using the pixel area set as a contour line, the painting is more watercolor-like. Can do. Based on black or gray, it may be colored so as to become light gray toward the peripheral portion using the contour lines shown in FIG.

図9は、輪郭線からなる白地図に着色処理を行うための処理フローである。まず、白地図の輪郭線に関するデータを入力する(S100)。この場合スキャナで読み取った白地図データを用いてもよい。次に、白地図データに基づいて輪郭線で囲まれた領域を探索して閉領域に分割し、各閉領域にラベリング処理を行う(S101)。そして、各閉領域の形状から、建物、道路、川、田畑、山といったよう種類別のパターン形状との一致度を見て対応する識別コードを付与する(S102)。必要に応じて付与された識別コードを修正するようにしてもよい。   FIG. 9 is a processing flow for performing a coloring process on a white map composed of contour lines. First, data relating to the outline of the white map is input (S100). In this case, white map data read by a scanner may be used. Next, the area surrounded by the outline is searched based on the white map data, divided into closed areas, and labeling processing is performed on each closed area (S101). Then, from the shape of each closed region, a corresponding identification code is given by checking the degree of coincidence with the pattern shape by type such as a building, road, river, field, mountain, etc. (S102). You may make it correct the identification code provided as needed.

次に、各閉領域に対して着色領域を設定する(S103)。図10に示すように、まず、閉領域を選択し(S200)、選択された閉領域の画素領域を算出する(S201)(図4参照)。そして、算出された複数の画素領域のうち所定の領域を着色領域に選択し(S202)、選択された着色領域を予め定めた方向あるいはランダムな方向に所定距離移動させる(S203)(図5参照)。後者の場合、公知の乱数発生手段から得られた乱数に基づいて移動する方向を決定すればよい。そして、移動させた着色領域のデータを登録して設定する(S204)。   Next, a colored area is set for each closed area (S103). As shown in FIG. 10, first, a closed region is selected (S200), and a pixel region of the selected closed region is calculated (S201) (see FIG. 4). Then, a predetermined region is selected as a colored region from the calculated plurality of pixel regions (S202), and the selected colored region is moved by a predetermined distance in a predetermined direction or a random direction (S203) (see FIG. 5). ). In the latter case, the moving direction may be determined based on a random number obtained from a known random number generating means. Then, the data of the moved colored area is registered and set (S204).

次に、別の閉領域が存在するかチェックし(S205)、着色領域が設定されていない閉領域がある場合には、ステップS200に戻り、別の閉領域について着色領域の設定処理を行う。すべての閉領域について着色領域が設定された場合には終了する。   Next, it is checked whether another closed area exists (S205). If there is a closed area in which a colored area is not set, the process returns to step S200, and a colored area setting process is performed for another closed area. If colored areas are set for all closed areas, the process ends.

着色領域を設定した後、陰影領域を設定する(S104)。図11に示すように、まず、所定の識別コード、例えば建物の識別コードが付与された閉領域を選択する(S300)。選択された閉領域に関する着色領域のデータを読出し(S301)、閉領域の元の位置から所定の方向に所定距離だけ着色領域を移動させる(S302)(図5参照)。そして、移動した着色領域及び閉領域のデータを用いて陰影領域の設定を行う(S303)(図6参照)。この場合、白地図の緯度及び経度に基づいて太陽光線の所定の時刻における照射方向を求めておき、その照射方向に陰影領域をずらして設定すれば、航空写真に近い影を表現することができる。   After setting the coloring area, a shadow area is set (S104). As shown in FIG. 11, first, a closed region to which a predetermined identification code, for example, a building identification code is assigned, is selected (S300). Data of the colored region relating to the selected closed region is read (S301), and the colored region is moved by a predetermined distance in a predetermined direction from the original position of the closed region (S302) (see FIG. 5). Then, the shadow area is set using the moved colored area and closed area data (S303) (see FIG. 6). In this case, if the irradiation direction of the sun rays at a predetermined time is obtained based on the latitude and longitude of the white map, and the shadow area is shifted and set in the irradiation direction, a shadow close to an aerial photograph can be expressed.

次に、別の閉領域が存在するかチェックし(S304)、陰影領域が設定されていない閉領域がある場合には、ステップS300に戻り、別の閉領域について陰影領域の設定処理を行う。所定の識別コードが付与されたすべての閉領域について陰影領域が設定された場合には終了する。   Next, it is checked whether another closed area exists (S304). If there is a closed area in which no shadow area is set, the process returns to step S300, and a shadow area setting process is performed for another closed area. If the shadow area is set for all the closed areas to which the predetermined identification code is assigned, the process ends.

そして、設定された着色領域及び陰影領域に対して着色処理を行う(S105)。着色領域への着色処理は、上述したように、中心部から周縁部に向かって淡い色合いとなるように着色すれば、より水彩画に近い着色処理を行うことができる。また、識別コード毎に異なる色合いにするとよい。例えば、田畑のように複数配列された閉領域では、それぞれの閉領域で中心部から周縁部に向かう色合いのパターンを異ならせるようにすれば、単調な色合いとならずバラエティに富んだ着色処理を行うことができる。また、建物の場合でもビル、住宅等に細分化して付与し、それぞれ異なる色合いにすることで、より見やすい着色処理を行うことができる。陰影領域への着色処理も、元の閉領域から陰影領域の周縁部に向かって淡い灰色となるように着色すればよい。   Then, a coloring process is performed on the set coloring area and shadow area (S105). As described above, the coloring process for the coloring region can be performed more like a watercolor painting if the coloring is performed so that the color becomes lighter from the central part toward the peripheral part. Moreover, it is good to make it a different hue for every identification code. For example, in a closed region such as Tabata, if the pattern of shades from the central part to the peripheral part is different in each closed region, the coloring process rich in variety without being monotonous shades. It can be carried out. In addition, even in the case of a building, it is possible to perform a coloring process that is easier to see by subdividing and assigning to buildings, houses, etc., and making them different colors. The coloring process for the shadow region may be performed so as to become light gray from the original closed region toward the peripheral portion of the shadow region.

図12から図14は、白地図に着色処理を行う場合の模式図である。図12に示すような白地図に対して、建物に関する閉領域を選択して着色処理を行ったのが図13である。図13では、閉領域内の丸みを帯びた形状の着色領域に着色を行っているので、水彩画のような模糊とした印象を与えることができる。そして、図14に示すように、建物の閉領域に陰影領域を着色することで、航空写真で建物を撮影したような立体感を持たせることができる。このように、輪郭線のみの閉領域に対して着色処理を行うことで、シャープな印象を和らげてより見やすい着色地図を得ることができる。図15は、実際に白地図に着色処理を施した結果をグレースケール画像として表現したものである。   12 to 14 are schematic diagrams in the case of performing a coloring process on a white map. FIG. 13 shows a white map as shown in FIG. 12 in which a closed region related to a building is selected and colored. In FIG. 13, since the colored region having a rounded shape in the closed region is colored, it is possible to give an impression of a glue like a watercolor painting. Then, as shown in FIG. 14, by coloring the shaded area in the closed area of the building, it is possible to give a stereoscopic effect as if the building was photographed with an aerial photograph. In this way, by performing the coloring process on the closed region having only the outline, it is possible to soften the sharp impression and obtain a more easily colored map. FIG. 15 shows the result of actually applying a coloring process to a white map as a gray scale image.

以上説明した例では、白地図に着色処理しているが、こうした白地図や測量図のような地形図の場合、開発地域の現況測量図に開発・建設計画に基づく設計図を重ねて完成予想図を作成する際に、いわゆる着色パース図の作成に有効である。こうした図面は、周辺住民への説明資料として作成されるため、計画の構造物として、公園、建物、道路、砂防堰堤、流路といった構造物をわかりやすく着色する際に特に効果的である。また、住宅地の見取り図の場合には、住居、庭、植栽、カーポート、道路といったものをわかりやすく着色して新築又は改築の際のイメージを説明する資料作成にも有効である。   In the example described above, the white map is colored, but in the case of such a topographic map such as a white map or survey map, the completed map is based on the current survey map in the development area and the design map based on the development / construction plan. This is effective for creating a so-called colored perspective diagram. Since these drawings are created as explanatory materials for the surrounding residents, they are particularly effective when coloring structures such as parks, buildings, roads, sabo dams, and flow paths in an easy-to-understand manner. In addition, in the case of a sketch of a residential area, it is also effective to create a material that explains the image at the time of new construction or reconstruction by coloring residences, gardens, planting, carports, roads, etc. in an easy-to-understand manner.

本発明に係る実施形態に関するシステム構成図である。It is a system configuration figure concerning the embodiment concerning the present invention. 着色処理に関する説明図である。It is explanatory drawing regarding a coloring process. 着色処理に関する説明図である。It is explanatory drawing regarding a coloring process. 着色処理に関する説明図である。It is explanatory drawing regarding a coloring process. 着色処理に関する説明図である。It is explanatory drawing regarding a coloring process. 着色処理に関する説明図である。It is explanatory drawing regarding a coloring process. 着色処理に関する説明図である。It is explanatory drawing regarding a coloring process. 着色処理に関する説明図である。It is explanatory drawing regarding a coloring process. 白地図の着色処理フローである。It is a coloring process flow of a blank map. 着色領域の設定に関する処理フローである。It is a processing flow regarding the setting of a colored region. 陰影領域の設定に関する処理フローである。It is a processing flow regarding the setting of a shadow area. 白地図に着色処理を行う場合の模式図である。It is a schematic diagram in the case of performing a coloring process on a white map. 白地図に着色処理を行う場合の模式図である。It is a schematic diagram in the case of performing a coloring process on a white map. 白地図に着色処理を行う場合の模式図である。It is a schematic diagram in the case of performing a coloring process on a white map. 白地図に着色処理を行った画像例である。It is the example of an image which performed the coloring process on the white map.

符号の説明Explanation of symbols

1 着色図面作成装置
10 CPU
11 RAM
12 ROM
13 記憶部
14 ディスプレイ
15 プリンタ
16 入力部
17 バス
1 Coloring drawing creation device
10 CPU
11 RAM
12 ROM
13 Memory
14 display
15 Printer
16 Input section
17 Bus

Claims (6)

輪郭線からなる図面データに基づいて当該図面を輪郭線に囲まれた閉領域に分割する分割処理手段と、分割された閉領域のうち着色する閉領域を選択する選択手段と、選択された閉領域の形状を変形して着色領域を生成するとともに当該閉領域からずらして着色領域を設定する領域設定手段と、設定された着色領域に基づいて着色処理を行う着色処理手段とを備えていることを特徴とする着色図面作成装置。   A division processing unit that divides the drawing into closed regions surrounded by the contour line based on the drawing data including the contour line, a selection unit that selects a closed region to be colored among the divided closed regions, and a selected closed region. A region setting unit that generates a colored region by modifying the shape of the region and sets the colored region by shifting from the closed region, and a coloring processing unit that performs a coloring process based on the set colored region are provided. A coloring drawing creation apparatus characterized by the above. 前記領域設定手段は、設定された前記着色領域及び前記閉領域に基づいて陰影領域を設定するとともに、前記着色処理手段は、設定された陰影領域に基づいて着色処理を行うことを特徴とする請求項1に記載の着色図面作成装置。   The area setting means sets a shadow area based on the set coloring area and the closed area, and the coloring processing means performs a coloring process based on the set shadow area. Item 2. A colored drawing creating apparatus according to Item 1. コンピュータを用いて輪郭線からなる図面データに着色する着色図面作成方法であって、前記図面データに基づいて当該図面を輪郭線に囲まれた閉領域に分割し、分割された閉領域のうち着色する閉領域を選択し、選択された閉領域の形状を変形して着色領域を生成するとともに当該閉領域からずらして設定し、設定された着色領域に基づいて着色処理を行うことを特徴とする着色図面作成方法。   A coloring drawing creation method for coloring drawing data consisting of contour lines using a computer, dividing the drawing into closed regions surrounded by the contour lines based on the drawing data, and coloring among the divided closed regions Selecting a closed region to be generated, generating a colored region by deforming the shape of the selected closed region, setting the shifted region from the closed region, and performing a coloring process based on the set colored region Coloring drawing creation method. 設定された前記着色領域及び前記閉領域に基づいて陰影領域を設定し、設定された陰影領域に基づいて着色処理を行うことを特徴とする請求項3に記載の着色図面作成方法。   4. The coloring drawing creation method according to claim 3, wherein a shadow area is set based on the set coloring area and the closed area, and a coloring process is performed based on the set shadow area. 輪郭線からなる図面データに着色する着色図面作成装置を機能させるためのプログラムであって、
前記着色図面作成装置を、
輪郭線からなる図面データに基づいて当該図面を輪郭線に囲まれた閉領域に分割する手段、
分割された閉領域のうち着色する閉領域を選択する手段、
選択された閉領域の形状を変形して着色領域を生成するとともに当該閉領域からずらして着色領域を設定する手段、
設定された着色領域に基づいて着色処理を行う手段、
として機能させるためのプログラム。
A program for functioning a coloring drawing creation device for coloring drawing data consisting of contour lines,
The colored drawing creation device,
Means for dividing the drawing into closed regions surrounded by the outline based on the drawing data comprising the outline;
Means for selecting a closed region to be colored among the divided closed regions;
Means for generating a colored region by deforming the shape of the selected closed region and setting the colored region by shifting from the closed region;
Means for performing a coloring process based on the set coloring area;
Program to function as.
前記着色領域を設定する手段は、設定された前記着色領域及び前記閉領域に基づいて陰影領域を設定するとともに、着色処理を行う手段は、設定された陰影領域に基づいて着色処理を行うことを特徴とする請求項5に記載のプログラム。   The means for setting the coloring area sets a shadow area based on the set coloring area and the closed area, and the means for performing the coloring process performs the coloring process based on the set shadow area. The program according to claim 5, wherein the program is characterized by:
JP2007077996A 2007-03-24 2007-03-24 Coloring drawing creation apparatus and method, and program thereof Pending JP2008242533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007077996A JP2008242533A (en) 2007-03-24 2007-03-24 Coloring drawing creation apparatus and method, and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007077996A JP2008242533A (en) 2007-03-24 2007-03-24 Coloring drawing creation apparatus and method, and program thereof

Publications (1)

Publication Number Publication Date
JP2008242533A true JP2008242533A (en) 2008-10-09

Family

ID=39913851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007077996A Pending JP2008242533A (en) 2007-03-24 2007-03-24 Coloring drawing creation apparatus and method, and program thereof

Country Status (1)

Country Link
JP (1) JP2008242533A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165058A (en) * 2009-01-13 2010-07-29 Celsys:Kk Gradation creation method, program and device
JP2012234017A (en) * 2011-04-28 2012-11-29 Aisin Aw Co Ltd Image processing device, map display device, image processing method, and program
JP2013025697A (en) * 2011-07-25 2013-02-04 Casio Comput Co Ltd Image processing system, image processing method, and program
JP2013178841A (en) * 2013-06-18 2013-09-09 Casio Comput Co Ltd Image processing apparatus, image processing method and program
US9177396B2 (en) 2012-06-07 2015-11-03 Canon Kabushiki Kaisha Image processing apparatus and image processing method
CN109255807A (en) * 2017-07-13 2019-01-22 腾讯科技(深圳)有限公司 A kind of image information processing method and server, computer storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002236920A (en) * 2001-02-13 2002-08-23 Nyuurii Kk Handwritten-style image output program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002236920A (en) * 2001-02-13 2002-08-23 Nyuurii Kk Handwritten-style image output program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165058A (en) * 2009-01-13 2010-07-29 Celsys:Kk Gradation creation method, program and device
JP2012234017A (en) * 2011-04-28 2012-11-29 Aisin Aw Co Ltd Image processing device, map display device, image processing method, and program
JP2013025697A (en) * 2011-07-25 2013-02-04 Casio Comput Co Ltd Image processing system, image processing method, and program
CN103092501A (en) * 2011-07-25 2013-05-08 卡西欧计算机株式会社 Image processing apparatus and image processing method
US9020260B2 (en) 2011-07-25 2015-04-28 Casio Computer Co., Ltd. Image processing apparatus, image processing method and recording medium
US9177396B2 (en) 2012-06-07 2015-11-03 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2013178841A (en) * 2013-06-18 2013-09-09 Casio Comput Co Ltd Image processing apparatus, image processing method and program
CN109255807A (en) * 2017-07-13 2019-01-22 腾讯科技(深圳)有限公司 A kind of image information processing method and server, computer storage medium
CN109255807B (en) * 2017-07-13 2023-02-03 腾讯科技(深圳)有限公司 Image information processing method, server, and computer storage medium

Similar Documents

Publication Publication Date Title
CN114119818B (en) Scene model rendering method, device and equipment
KR100914846B1 (en) Method and system for texturing of 3d model in 2d environment
US7639250B2 (en) Sketching reality
CN109427088A (en) A kind of rendering method and terminal of illumination simulation
CN111986303B (en) Fluid rendering method and device, storage medium and terminal equipment
CN110458930A (en) Rendering method, device and the storage medium of three-dimensional map
CN106127859A (en) A Reality Generating Method for Mobile Augmented Reality Doodle Picture Book
JP2008242533A (en) Coloring drawing creation apparatus and method, and program thereof
JPH1166337A (en) Image compositing method by computer illustration system
WO2011111680A1 (en) Method and apparatus for creating surface processing data
CN101739897B (en) PLT file-based three-dimensional display method for advertising character
CN116982087A (en) Methods, devices and computer program products for constructing and configuring models of three-dimensional spatial scenes
CN117689833A (en) Urban three-dimensional model construction method, system and medium based on rule modeling
Du Application of CAD aided intelligent technology in landscape design
JPH1166286A (en) Method for simplifying scene image compositing by computer illustration system
CN117523072A (en) Rendering processing method, apparatus, device and computer readable storage medium
JP2008181168A (en) Colored drawing creation device and method, and program therefor
JP4842677B2 (en) Topographic model forming system and topographic model manufacturing method
CN101764940A (en) Subtitle rendering method based on pixel space mask matrix model
JPH06176129A (en) Computer graphic generation device
JP5946369B2 (en) 3D map image data generation system
CN119648867A (en) Fluid special effects rendering method, device, electronic device and storage medium
CN108510563B (en) A rapid pattern generation method imitating Art-Deco style
Fan et al. Joining Interactive Graphics and Procedural Modeling for Precise Free-Form Designs
Edelsbrunner et al. Constructive roofs from solid building primitives

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111018

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111207

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120110