JP2000339442A - Picture coloring method, picture coloring device and recording medium recording picture coloring block - Google Patents

Picture coloring method, picture coloring device and recording medium recording picture coloring block

Info

Publication number
JP2000339442A
JP2000339442A JP15216299A JP15216299A JP2000339442A JP 2000339442 A JP2000339442 A JP 2000339442A JP 15216299 A JP15216299 A JP 15216299A JP 15216299 A JP15216299 A JP 15216299A JP 2000339442 A JP2000339442 A JP 2000339442A
Authority
JP
Japan
Prior art keywords
color
line drawing
closed
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
JP15216299A
Other languages
Japanese (ja)
Inventor
Hisaya Kotani
尚也 小谷
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP15216299A priority Critical patent/JP2000339442A/en
Priority to GB0310875A priority patent/GB2386529B/en
Priority to CA002309378A priority patent/CA2309378C/en
Priority to CA002471168A priority patent/CA2471168C/en
Priority to GB0223891A priority patent/GB2378110B/en
Priority to CA002471134A priority patent/CA2471134A1/en
Priority to CA002471159A priority patent/CA2471159C/en
Priority to GB0223892A priority patent/GB2378111B/en
Priority to GB0223890A priority patent/GB2377871B/en
Priority to US09/577,511 priority patent/US6768488B1/en
Priority to GB0012713A priority patent/GB2354925B/en
Publication of JP2000339442A publication Critical patent/JP2000339442A/en
Priority to US10/772,654 priority patent/US7102649B2/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce calculation quantity at the time of referring to a colored line picture and judging closed areas where the same colors are painted. SOLUTION: Feature quantity extraction processing parts 15 and 16 separate all closed areas of a reference line picture and a line picture being a colored object. A color candidate list generation processing part 17 calculates features, calculates the change of feature quantity among the closed areas with the combination of the closed areas of the reference line picture, which are obtained by calculating the features, and the closed areas of the line pictures being the colored objects, sequences all the closed areas of the reference line picture in order from the smallest change of the feature quantity at every closed area of the line picture of the colored object and takes a corresponding relation. Color information corresponding to all the closed areas of the reference line picture is obtained from a reference picture and the overlap of color information is omitted from the corresponding relation of all the closed areas of the reference line picture against the closed area of the line picture of the colored object. A color candidate list is generated on all the closed areas of the line picture being the colored object. A colored object line picture coloring processing part 18 automatically colors the highest color on the line picture of the colored object.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の線画像を彩
色する画像彩色装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coloring apparatus for coloring a plurality of line images.

【0002】[0002]

【従来の技術】従来、アニメーション制作において紙に
描かれた線画はセルに転写されて絵筆により手作業で彩
色されてきた。最近この作業が紙に描かれた線画をスキ
ャナによりディジタルデータ化してコンピュータ上で彩
色するディジタルペインティングに置き換えられ普及が
始まってきている。これにより従来非常に難しかったセ
ルへの彩色作業が非常に簡便になった。しかしながら依
然としてディジタル化された線画像データに1枚1枚手
作業で彩色する必要がある。また複数の線画像を重ねて
同じ色に塗られるべき領域の共通の塗り始め座標(シー
ドポイント)を指定することにより複数の線画像を一度
に彩色する技術もある(特許第2835752号、特開
平9−134422号公報)。
2. Description of the Related Art Conventionally, line drawings drawn on paper in animation production have been transferred to cells and colored by hand with a paintbrush. In recent years, this work has been replaced by digital painting in which a line drawing drawn on paper is converted into digital data by a scanner and colored on a computer, and the spread has begun. As a result, the task of coloring cells, which has been very difficult in the past, has been greatly simplified. However, it is still necessary to manually color digitized line image data one by one. There is also a technique in which a plurality of line images are colored at once by specifying a common painting start coordinate (seed point) of an area to be painted in the same color by overlapping a plurality of line images (Japanese Patent No. 2835752, No. 9-134422).

【0003】特許第2835752号は、例えば複数の
連続した線画を彩色する場合に、閉領域の重心位置と外
接四角形の縦横の長さを特徴量として抽出し、特徴量に
より未彩色画の各閉領域を彩色済画像の閉領域を対応づ
けて彩色するようにしたものである。これにより、比較
的動きの小さい領域を彩色済の領域と対応付け、それら
の領域を同じ色に彩色することができる。
[0003] Japanese Patent No. 2835752 discloses, for example, when coloring a plurality of continuous line drawings, extracting the center of gravity position of a closed area and the length and width of a circumscribed rectangle as feature quantities, and using the feature quantities to close each closed color picture. The region is colored in association with the closed region of the colored image. This makes it possible to associate a relatively small movement area with a colored area and color those areas with the same color.

【0004】特開平9−134422号公報は、線画の
閉領域を色分けするに際し、線画の閉領域内で決定した
一の座標点、該座標点に対応して選択した色種別を相関
して記録する一方、前記座標点が、次段以降の線画にお
いて同一閉領域内に位置するときに、記録された前記座
標点に対応する色種別を呼び出して当該閉領域内に付加
することにより、連続して動く原画への彩色処理を迅
速、かつ効率化したものである。
Japanese Patent Application Laid-Open No. Hei 9-134422 discloses a method for color-coding a closed region of a line drawing by correlating one coordinate point determined in the closed region of the line drawing and a color type selected corresponding to the coordinate point. On the other hand, when the coordinate points are located in the same closed area in the subsequent line drawing, the color type corresponding to the recorded coordinate point is called and added in the closed area, so that continuous It is a quick and efficient coloring process for moving original images.

【0005】[0005]

【発明が解決しようとする課題】特許第2835752
号では、閉領域の重心位置と外接四角形の縦横の長さの
みを特徴データとして抽出して利用しており、任意の形
状の重心位置を計算する計算量が多いという問題点があ
る。
SUMMARY OF THE INVENTION Patent No. 2835752
In the reference, only the position of the center of gravity of the closed region and the length and width of the circumscribed rectangle are extracted and used as feature data, and there is a problem that the amount of calculation for calculating the position of the center of gravity of an arbitrary shape is large.

【0006】特開平9−134422号公報は、まず複
数の未彩色の線画に関して意味的に同じで同じ色に塗ら
れるべき閉領域が領域として重なる場合に、それら複数
の線画内で同じ座標のシードポイントを使って複数の未
彩色動画の該当する閉領域を一気に塗ってしまおうとい
うものであり、したがって事実上同じ色に塗られるべき
意味的に同じ閉領域が複数の線画間で重なる座標がある
ことが前提で、比較的動きの小さい領域しか対応づけら
れず、またそのためにオペレータの多くの判断を必要と
する。
Japanese Unexamined Patent Publication No. Hei 9-134422 discloses a method in which, when a plurality of uncolored line drawings are overlapped as closed regions which are semantically the same and are to be painted in the same color, seeds having the same coordinates in the plurality of line drawings are used. This is to use points to paint the corresponding closed areas of multiple achromatic videos at a stretch, so there is a coordinate where several semantically the same closed areas that should be painted in the same color overlap in multiple line drawings It is premised that only areas with relatively small movements can be associated, and that requires much judgment by the operator.

【0007】本発明の目的は、彩色済みのセル画を参照
し同じ色を塗る閉領域を判定する際の計算量を削減で
き、かつ複数の線画間での重なり具合をオペレータが判
断する必要がない画像彩色方法、装置、および画像彩色
プログラムを記録した記録媒体を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to reduce the amount of calculation when determining a closed area to be painted with the same color by referring to a colored cell image, and it is necessary for an operator to determine the degree of overlap between a plurality of line images. An object of the present invention is to provide an image coloring method, an apparatus, and a recording medium on which an image coloring program is recorded.

【0008】[0008]

【課題を解決するための手段】本発明の画像彩色方法
は、記憶装置から読み出された、見本となる既に彩色さ
れた画像データ(以下リファレンス絵とする)の元の線
画データ(以下リファレンス線画とする)についてその
リファレンス線画を構成する全ての閉領域を分離するリ
ファレンス線画閉領域分離処理段階と、抽出されたリフ
ァレンス線画の閉領域の、重心以外の1種類以上の特徴
量を抽出するリファレンス線画閉領域特徴量抽出処理段
階と、前記記憶装置から読み出された、彩色対象となる
線画像データ(以下被彩色対象線画とする)を構成する
全ての閉領域を分離する被彩色対象線画閉領域分離処理
段階と、抽出された被彩色対象線画の閉領域の、重心以
外の1種類以上の特徴量を抽出する被彩色対象線画閉領
域特徴量抽出処理段階と、得られたリファレンス線画の
全ての閉領域と被彩色対象線画の全ての閉領域の組み合
わせでそれら各々の間の特徴量の変化分を算出し、被彩
色対象線画の閉領域毎にその特徴量の変化分の小さい順
にリファレンス線画の全ての閉領域を順序付けて対応関
係をとり、リファレンス絵からリファレンス線画の全て
の閉領域に対応する色情報を得て被彩色対象線画の閉領
域に対するリファレンス線画の全ての閉領域の対応関係
から色情報の重複を省くことにより被彩色対象線画の全
ての閉領域について色候補リストを作成する色候補リス
ト作成処理段階と、被彩色対象線画の全ての閉領域につ
いて各々の色候補リストの先頭にある色を被彩色対象線
画に彩色する被彩色対象線画彩色処理段階を有する。
According to the image coloring method of the present invention, original line drawing data (hereinafter referred to as reference line drawing) of sample already colored image data (hereinafter referred to as reference drawing) read from a storage device. ), A reference line drawing closed region separation processing step of separating all the closed regions constituting the reference line drawing, and a reference line drawing extracting one or more types of feature values other than the center of gravity of the closed region of the extracted reference line drawing. A closed region feature amount extraction processing step, and a chromatic object line drawing closed region that separates all closed regions constituting line object data to be colored (hereinafter referred to as a chromatic object line drawing) read from the storage device; A separation processing stage, and a chromatic color target line drawing closed area feature value extraction processing stage for extracting one or more types of characteristic amounts other than the center of gravity of the closed region of the extracted chromatic color target line image And a combination of all the closed regions of the obtained reference line drawing and all the closed regions of the chromatic object line drawing, and calculates a change amount of the characteristic amount between them, and calculates the characteristic for each closed region of the chromatic object line drawing. All the closed areas of the reference line drawing are ordered in ascending order of the amount of change, and a correspondence is obtained. The color information corresponding to all the closed areas of the reference line drawing is obtained from the reference picture, and the reference line drawing for the closed area of the target color drawing is obtained. A color candidate list creation processing step of creating a color candidate list for all closed regions of the chromatic object line drawing by eliminating duplication of color information from the correspondence relationship of all closed regions of Has a coloring target line drawing coloring step of coloring the color at the head of each color candidate list to the coloring target line drawing.

【0009】本発明の第1の特徴は、特徴量として閉領
域の重心位置を用いていないことである。任意の形状の
重心位置を計算する計算量が非常に大きいからである。
A first feature of the present invention is that the position of the center of gravity of a closed region is not used as a feature amount. This is because the amount of calculation for calculating the position of the center of gravity of an arbitrary shape is extremely large.

【0010】本発明では、 a)閉領域に外接する最小の長方形の中心の座標 b)閉領域に外接する最小の長方形の面積 c)閉領域に外接する最小の長方形の縦横比 d)閉領域を構成する画素数 e)上記bとdの比 f)閉領域の外周の長さ g)fとdの平方根との比 等を特徴量として利用する。In the present invention, a) the coordinates of the center of the smallest rectangle circumscribing the closed area b) the area of the smallest rectangle circumscribing the closed area c) the aspect ratio of the smallest rectangle circumscribing the closed area d) the closed area E) Ratio of b and d above f) Perimeter of closed area g) Ratio of f to square root of d, etc. are used as feature quantities.

【0011】重心位置の検出に多くの計算量を割く代わ
りに、これら複数の特徴量を利用して似た形状を精度良
く探す処理が実現できる。
Instead of devoting a large amount of calculation to detecting the position of the center of gravity, a process of searching for a similar shape with high accuracy using these plural feature amounts can be realized.

【0012】本発明の第2の特徴は、リファレンス線画
と被彩色対象線画の各々について構成する全ての閉領域
を分離し、それらの特徴量を算出して得られたリファレ
ンス線画の全ての閉領域と被彩色対象線画の全ての閉領
域の特徴量の間の全ての組み合わせでそれら各々の間の
特徴量の変化分を算出し被彩色対象線画の閉領域毎にそ
の特徴量の変化分の小さい順にリファレンス線画の全て
の閉領域を順序付けて対応関係をとり、リファレンス絵
からリファレンス線画の全ての閉領域に対応する色情報
を得て被彩色対象線画の閉領域に対するリファレンス線
画の全ての閉領域の対応関係から色情報の重複を省くこ
とにより被彩色対象線画の全ての閉領域について色候補
リストを作ることにより、被彩色対象線画の全ての閉領
域について確からしい順に色候補リストを作成しその最
上位の色を被彩色対象線画に自動で彩色することであ
る。これによりに塗り残しがまったく起こらない。
A second feature of the present invention is that all the closed regions constituting the reference line drawing and the chromatic object line drawing are separated, and all the closed regions of the reference line drawing obtained by calculating their characteristic amounts. In all combinations between and the feature values of all the closed regions of the color target line image, the change amount of the feature amount between them is calculated, and the change amount of the characteristic amount is small for each closed region of the color target line image. All the closed areas of the reference line drawing are ordered in order to obtain a correspondence relationship, color information corresponding to all the closed areas of the reference line drawing is obtained from the reference picture, and the closed areas of the reference line drawing with respect to the closed areas of the coloring target line drawing are obtained. By eliminating the duplication of color information from the correspondence relationship, a color candidate list is created for all the closed regions of the chromatic object line drawing, so that all the closed regions of the chromatic object line drawing can be reliably determined. The color of the top-level to create a color candidate list to have the order is to color automatically to the color target line drawing. As a result, no unpainting occurs.

【0013】本発明の第3の特徴は、シードポイントと
は無関係に形状と位置によりリファレンス絵と未彩色線
画の間での閉領域を関係付けるために、シードポイント
は閉領域内の任意の場所で良いためプログラムで適当に
セットすることができ、複数の線画間での重なり具合な
どオペレータはまったく考える必要がない等オペレータ
に判断を仰ぐ必要がまったくなく自動的に処理が進行す
る。また、塗り間違いが生じた場合でも、その閉領域内
のどこででも色候補リストを表示して変更できるために
そもそもシードポイントをオペレータが意識する必要が
ない。
A third feature of the present invention is that a seed point is set at an arbitrary position within the closed area in order to associate a closed area between the reference picture and the achromatic line drawing by a shape and a position independently of the seed point. Can be set appropriately by a program, and there is no need for the operator to consider at all such as the degree of overlap between a plurality of line drawings, and the processing automatically proceeds without any need for asking the operator for judgment. In addition, even when a painting error occurs, the color candidate list can be displayed and changed anywhere in the closed area, so that the operator does not need to be aware of the seed point in the first place.

【0014】本発明の第4の特徴は、彩色された彩色済
被彩色対象線画を利用者に提示するとともに作成された
色候補リストを利用者から要求された閉領域について提
示し、利用者が色候補リスト上の色を選択することによ
り指示された閉領域の色を選択された色に変更すること
により、画面上のマウスポインタの最小の移動量で誤っ
た色に彩色された閉領域の色を簡便にチェック・修正で
きる。また、修正された彩色済被彩色対象線画と被彩色
対象線画を新たにリファレンス絵/リファレンス線画と
して定義し、修正された彩色済被彩色対象線画以降の被
彩色対象線画の自動彩色の再計算の指示を行うことによ
り修正作業以降の被彩色対象線画の自動彩色の誤りを低
減することができる。
A fourth feature of the present invention resides in that a colored object line drawing which has been colored is presented to a user, and a created color candidate list is presented for a closed area requested by the user. By changing the color of the closed area designated by selecting a color on the color candidate list to the selected color, the minimum area of the mouse pointer on the screen can be used to change the color of the closed area to the wrong color. Colors can be easily checked and corrected. In addition, the corrected colored object line drawing and the color object line drawing are newly defined as reference pictures / reference line drawings, and the automatic coloring of the color object line drawing after the corrected colored object line drawing is recalculated. By giving the instruction, it is possible to reduce errors in the automatic coloring of the line object to be colored after the correction work.

【0015】本発明の第5の特徴は、リファレンス絵を
彩色する際に予め色指定を行うときに色に別名をつけて
おき、利用者に提示する色候補リストに同時にその別名
を合わせて提示し選択させることにより利用者による色
指定を更に簡単確実なものにできる。
A fifth feature of the present invention is that, when coloring a reference picture, an alias is given to the color in advance when the color is designated, and the alias is presented together with the color candidate list to be presented to the user. Then, the user can more easily and surely specify the color.

【0016】[0016]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0017】図1を参照すると、本発明の第1の実施形
態の画像彩色装置は、記憶装置11と画像読み出し処理
部12とリファレンス線画閉領域分離処理部13と被彩
色対象線画閉領域分離処理部14とリファレンス線画閉
領域特徴量抽出処理部15と被彩色対象線画閉領域特徴
量抽出処理部16と色候補リスト作成処理部17と被彩
色対象線画彩色処理部18と彩色済被彩色対象線画保存
処理部19で構成されている。
Referring to FIG. 1, an image coloring apparatus according to a first embodiment of the present invention comprises a storage device 11, an image reading processing unit 12, a reference line drawing closed region separation processing unit 13, and a chromatic color target line drawing closed region separation process. Unit 14, reference line drawing closed area feature extraction processing unit 15, chromatic object line drawing closed area feature extraction processing unit 16, color candidate list creation processing unit 17, chromatic object line drawing coloring processing unit 18, and colored object line drawing The storage processing unit 19 is configured.

【0018】記憶装置11には図14に示すようなリフ
ァレンス線画、リファレンス絵、被彩色対象線画が格納
され、また処理の結果得られる彩色済被彩色対象線画等
が格納される。
The storage device 11 stores a reference line drawing, a reference picture, and a color object line drawing as shown in FIG. 14, and also stores a colored object line drawing obtained as a result of the processing.

【0019】画像読み出し処理部12はリファレンス線
画やリファレンス絵、被彩色対象線画を記憶装置11か
ら読み出し、次の被彩色対象線画を、同じリファレンス
絵、リファレンス線画を使って行う場合は、次の被彩色
対象線画のみ記憶装置11から読み出す。
The image reading processing unit 12 reads out a reference line drawing, a reference picture, and a line drawing to be colored from the storage device 11, and performs the next line drawing to be colored using the same reference picture and reference line drawing. Only the coloring target line image is read from the storage device 11.

【0020】リファレンス線画閉領域分離処理部13は
リファレンス線画を構成する全ての閉領域を抽出する。
ディジタルデータ上で彩色されることが前提であるので
全ての色分けされて彩色される閉領域は境界線(色は黒
であるとは限らない)によって各々完全に閉じた領域に
なっていなければならない。
The reference line drawing closed area separation processing section 13 extracts all the closed areas constituting the reference line drawing.
Since it is premised that coloring is performed on digital data, all the closed areas to be colored and colored must be completely closed areas by boundaries (the colors are not necessarily black). .

【0021】静止画像中の閉領域を分離する方法はいろ
いろ考えられるが、ここでは例としてリファレンス線画
を構成する全ての閉領域に各々異なった番号を振る方法
について説明する。結果として作られるリファレンス線
画閉領域データのフォーマットの例を図2に示す。この
図に示すように各画素に対応して閉領域データとしてそ
れぞれが属する閉領域番号が振られる。境界線上に属す
る画素については特殊な値(図2では取り得る最大値)
を与えることで境界線上であることを示し、また同時に
後の彩色処理から境界線を完全に保護する。x方向およ
びy方向のサイズはリファレンス線画のx方向y方向の
画素数(xsize,ysize)に等しい。
There are various methods for separating a closed area in a still image. Here, as an example, a method of assigning different numbers to all closed areas constituting a reference line drawing will be described. FIG. 2 shows an example of the format of the reference line drawing closed area data created as a result. As shown in this figure, a closed area number to which each belongs is assigned as closed area data corresponding to each pixel. Special value (maximum value that can be taken in FIG. 2) for pixels belonging to the boundary line
To indicate that they are on the boundary line, and at the same time, completely protect the boundary line from later coloring processing. The size in the x direction and the y direction is equal to the number of pixels (x size , y size ) in the x direction and the y direction of the reference line drawing.

【0022】ここで行われる処理の例を図3に示す。ま
ず、閉領域全データを全て取り得る値の最大値(MAX
VALUE)に初期化する(ステップ21)。MAXV
ALUEはリファレンス線画を構成する閉領域数よりも
大きくなるように選ぶ。次に、例えば閉領域番号が0か
らスタートし、リファレンス線画の(x,y)=(0,
0)から処理を始めるものとする(ステップ22、2
3)。まず、(0,0)をシードポイントとしてリファ
レンス線画の対応画素の閉領域データがMAXVALU
Eで、かつリファレンス線画の対応画素の色が白である
場合に(この処理により黒以外の境界線−色トレス線も
境界線として扱われる)、リファレンス線画上(0,
0)から繋がるリファレンス線画閉領域データの値がM
AXVALUEで、かつ対応するリファレンス線画の画
素が白の領域をリファレンス線画閉領域データ0で埋め
る(ステップ24〜27)。対象となるリファレンス線
画閉領域データを全て0で埋めた後、閉領域データを1
増やして(ステップ28)、同じようにリファレンス線
画閉領域データの値がMAXVALUEで、かつリファ
レンス線画の対応画素の色が白である画素を探してそこ
を次のシードポイントとして同じ処理を繰り返す。結果
的にリファレンス線画を閉領域に分離している境界線は
リファレンス線画閉領域データ上MAXVALUEが入
り、その他の全ての閉領域は異なる閉領域毎に0からの
整数により番号付けられ分離される。閉領域番号付け処
理(図3(b))では、まず、(x,y)を(a,b)
に代入し(ステップ31)、a,bがそれぞれxsize
sizeより小で、リファレンス線画での(a,b)が
白、かつ閉領域データの(a,b)はMAXVALUE
である場合、閉領域データの(a,b)に指定された値
(閉領域番号)を入れ(ステップ32〜34)、aの値
を±1し、bの値を±1して(ステップ35〜38)、
閉領域番号付処理(ステップ27)を再帰呼び出しす
る。
FIG. 3 shows an example of the processing performed here. First, the maximum value (MAX) of all possible data of the closed area
VALUE) (step 21). MAXV
ALUE is selected so as to be larger than the number of closed regions constituting the reference line drawing. Next, for example, the closed area number starts from 0, and (x, y) = (0,
0) (steps 22 and 2).
3). First, using (0,0) as a seed point, the closed area data of the corresponding pixel of the reference line drawing is MAXVALU.
In the case of E and the color of the corresponding pixel of the reference line drawing is white (the boundary line other than black—the color tress line is also treated as a boundary line by this processing), the reference line drawing (0,
The value of the reference line drawing closed area data connected from 0) is M
An area of AXVALUE in which the pixel of the corresponding reference line drawing is white is filled with reference line drawing closed region data 0 (steps 24 to 27). After all target reference line drawing closed area data are filled with 0, the closed area data is set to 1
In a similar manner, a pixel whose reference line drawing closed area data value is MAXVALUE and the color of the corresponding pixel of the reference line drawing is white is searched for, and the same process is repeated using the pixel as the next seed point. As a result, a boundary line separating the reference line drawing into a closed region has MAXVALUE on the reference line drawing closed region data, and all other closed regions are numbered and separated by an integer from 0 for each different closed region. In the closed area numbering process (FIG. 3B), (x, y) is first converted to (a, b)
(Step 31), and a and b are respectively x size ,
y is smaller than y size , (a, b) in the reference line drawing is white, and (a, b) of the closed area data is MAXVALUE
, The specified value (closed area number) is inserted in (a, b) of the closed area data (steps 32 to 34), the value of a is ± 1, and the value of b is ± 1 (step 32). 35-38),
The closed area numbering process (step 27) is recursively called.

【0023】被彩色対象線画閉領域分離処理部14は、
リファレンス線画閉領域分離処理部13と同じ処理を被
彩色対象線画についても行う。上で述べた例ではその結
果被彩色対象線画についても被彩色対象線画を閉領域に
分離している境界線は被彩色対象線画閉領域データ上M
AXVALUEが入り、その他の閉領域は異なる閉領域
毎に0からの整数により番号付けられ分離された(x
size,ysize)の大きさの被彩色対象線画閉領域データ
ができる。
The chromatic object line drawing closed area separation processing unit 14
The same processing as that performed by the reference line image closed area separation processing unit 13 is also performed on the line object to be colored. In the example described above, as a result, the boundary line that separates the chromatic object line drawing into a closed region is also represented by M on the chromatic object line drawing closed region data.
AXVALUE is entered, and other closed regions are numbered and separated by an integer from 0 for each different closed region (x
( color size , y size ) is obtained.

【0024】リファレンス線画閉領域特徴量抽出処理部
15は、リファレンス線画閉領域分離処理部13によっ
て分離された各々の閉領域についての特徴量を抽出す
る。ここでは特徴量の例として以下の7つを挙げる(図
4)。 1.閉領域に外接する長方形の中心の座標(図4
(1)) 2.閉領域に外接する長方形の面積(図4(2)) 3.閉領域に外接する長方形の縦横比(図4(3)) 4.閉領域を構成する画素数(図4(4)) 5.上記2と4の比(図4(5)) 6.閉領域の外周の長さ(図4(6)) 7.上記6と4の平方根の比 ただし、図4では分かり易く図示するために閉領域に境
界線が描かれているが、先に説明した例では実際は分離
された閉領域には境界線は含まれない。
The reference line drawing closed region feature value extraction processing unit 15 extracts the feature value of each closed region separated by the reference line drawing closed region separation processing unit 13. Here, the following seven examples are given as examples of the feature amounts (FIG. 4). 1. The coordinates of the center of the rectangle circumscribing the closed area (Fig. 4
(1)) 2. 2. The area of a rectangle circumscribing the closed region (FIG. 4 (2)) 3. Aspect ratio of the rectangle circumscribing the closed area (FIG. 4 (3)) 4. Number of pixels constituting closed area (FIG. 4 (4)) 5. Ratio of above 2 and 4 (FIG. 4 (5)) 6. Length of outer periphery of closed region (FIG. 4 (6)) The ratio of the square root of 6 and 4 above. However, in FIG. 4, the boundary is drawn in the closed region for easy understanding, but in the example described above, the boundary is actually included in the separated closed region. Absent.

【0025】以上述べた特徴量1〜7の計算方法につい
て説明する。
A method of calculating the above-described feature quantities 1 to 7 will be described.

【0026】閉領域iに外接する長方形のxの最小値、
最大値、yの最小値、最大値をそれぞれxmin(i)、x
max(i)、ymin(i)、ymax(i)、閉領域iに外接する長方
形の中心のx座標、y座標をそれぞれcenter(i).
x、center(i).y、閉領域iに外接する長方形の
面積をarea_rec(i)、閉領域iに外接する長方
形の縦横比をaspect_ratio(i)、閉領域i
を構成するピクセル数をpixels(i)、閉領域iの
外周を構成するピクセル数をcircum(i)とする。 1.特徴量1の計算(図5) まず、パラメータxmin(i)、ymin(i)、xmax(i)、y
max(i)の初期化を行う(図5(a))。閉領域番号iを
初期化し(ステップ41)、xmin(i)=xsize、y
min(i)=ysize、xmax(i)=0、ymax(i)=0なる初期
化を全ての領域について行う(ステップ42〜44)。
次に、閉領域iに外接する長方形の中心の座標(cen
ter(i).x、center(i).y)を計算する(図5
(b))。閉領域iの座標(x,y)をスキャンし、i
に座標(x、y)の閉領域番号を入れ(ステップ51,
52,53)、閉領域番号iが境界線を示していない場
合、x<xmin(i)であればxをxmin(i)とし、x>x
max(i)であればxをxmax(i)とし、y<ymin(i)であれ
ばyをymin(i)とし、y>ymax(i)であればyをy
max(i)とする(ステップ54,55)。スキャンが終了
すると、領域番号iを初期化(ステップ71)、閉領域
iに外接する長方形の中心の座標(center(i).
x、center(i).y)を算出する(ステップ72〜
74)。 2.特徴量2の計算(図6) まず、特徴量1の場合と同様に、パラメータxmin(i)、
min(i)、xmax(i)、ymax(i)の初期化を行う(図6
(a))。次に、閉領域iに外接する長方形の面積ar
ea_rec(i)を計算する(図6(b))。処理は特
徴量1の場合と同様で、ステップ73の代りにステップ
75を行う。 3.特徴量3の算出(図7) まず、特徴量1、2の場合と同様にパラメータx
min(i)、ymin(i)、xmax(i)、ymax(i)の初期化を行う
(図7(a))。次に、閉領域iに外接する長方形の縦
横比aspect_ratio(i)を計算する(図7
(b))。処理は特徴量1の場合と同様で、ステップ7
3の代りにステップ76の処理を行う。 4.特徴量4の算出(図8) まず、特徴量4の計算に必要なパラメータである、領域
iのピクセル数pixels〔i〕の初期化を行う(図
8(a))。これは図5(a)のステップ43の代りに
ステップ45の処理をを行う。次に、閉領域iを構成す
るピクセル数を計算する(図8(b))。これは、図5
(b)のステップ55の代りにステップ56の処理を行
い、ステップ71〜74は行わない。 5.特徴量5の算出(図9) まず、特徴量5の計算に必要なパラメータxmin(i)、y
min(i)、xmax(i)、y max(i)、pixels(i)を初期
化する(図9(a))。これは図5(a)のステップ4
3の代りにステップ46の処理を行う。次に、閉領域に
外接する長方形の面積と画素数の比ratio_rec
t pix(i)を計算する(図9(b))。これは、図
5(b)のステップ55の代りにステップ57の処理を
行い、ステップ73の代りにステップ77の処理を行
う。 6.特徴量6の算出(図10) まず、特徴量6の算出に必要なパラメータである、閉領
域iの外周を構成するピクセル数circum(i)を初
期化する(図10(a))。これは、図5(a)のステ
ップ43の代りにステップ47を行う。次に、閉領域i
の外周の長さcircum(i)を計算する(図10
(b))。各y方向のスキャンを開始する前に、1つ前
に検出された閉領域データの(前閉領域データ)番号i
oldを取り得る最大値imaxに設定する(ステップ5
8)。i=(x,y)の閉領域データの値が境界線を示
していなければ、iold<imax、かつi≠ioldかどう
か判定し(ステップ59)、「No」であればiがリフ
ァレンス線画の外枠上の点であるのでステップ52に戻
り、「Yes」であればピクセル数circum(i)、
circum[iold]にそれぞれ1を加算し(ステップ
60)、ioldにiの値を入れる(ステップ61)。 7.特徴量7の算出(図11) まず、特徴量7の算出に必要なパラメータである閉領域
iを構成するピクセル数pixels(i)と、閉領域i
の外周を構成するピクセル数circum(i)を初期化
する(図11(a))。これは、図5(a)のステップ
43の代りにステップ48を行う。次に、閉領域iの外
周を構成するピクセル数と閉領域iを構成するピクセル
数の平方根の比shape(i)を計算する(図11
(b))。これは、図10(b)のステップ54の次に
ステップ62を追加したものである。
The minimum value of x of the rectangle circumscribing the closed area i,
The maximum value, the minimum value of y and the maximum value are xmin(i), x
max(i), ymin(i), ymax(i), a rectangle circumscribing closed area i
The x and y coordinates of the center of the shape are center (i).
x, center (i) .y, a rectangle circumscribing the closed area i
Area is area_rec (i), rectangle circumscribing closed area i
The aspect ratio of the shape is assumed to be aspect_ratio (i), the closed area i
Pixel (i) is the number of pixels constituting
The number of pixels forming the outer periphery is assumed to be circular (i). 1. Calculation of feature amount 1 (FIG. 5) First, parameter xmin(i), ymin(i), xmax(i), y
maxInitialization of (i) is performed (FIG. 5A). Closed area number i
Initialization (step 41), xmin(i) = xsize, Y
min(i) = ysize, Xmax(i) = 0, ymax(i) = 0 initial
The conversion is performed for all areas (steps 42 to 44).
Next, the coordinates (cen) of the center of the rectangle circumscribing the closed area i
ter (i) .x, center (i) .y) (FIG. 5)
(B)). The coordinates (x, y) of the closed area i are scanned and i
Is filled with the closed area number of the coordinates (x, y) (step 51,
52, 53), if the closed area number i does not indicate a boundary line
If x <xminIf (i) x is xmin(i) and x> x
maxIf (i) x is xmax(i) and y <ymin(i)
If ymin(i) and y> ymaxFor (i), y is y
max(i) (steps 54 and 55). Scan finished
Then, the area number i is initialized (step 71), and the closed area
The coordinates of the center of the rectangle circumscribing i (center (i).
x, center (i) .y) (steps 72 to 72).
74). 2. Calculation of feature amount 2 (FIG. 6) First, similarly to the case of feature amount 1, parameter xmin(i),
ymin(i), xmax(i), ymaxInitialize (i) (Fig. 6
(A)). Next, a rectangular area ar circumscribing the closed region i
ea_rec (i) is calculated (FIG. 6B). Processing is special
As in the case of collection 1, step 73 is used instead of step 73.
Perform 75. 3. Calculation of feature amount 3 (FIG. 7) First, the parameter x is set in the same manner as in the case of feature amounts 1 and 2.
min(i), ymin(i), xmax(i), ymaxInitialize (i)
(FIG. 7 (a)). Next, the length of the rectangle circumscribing the closed area i
Calculate the aspect ratio aspect_ratio (i) (FIG. 7)
(B)). The processing is the same as that for the feature amount 1,
The process of step 76 is performed instead of 3. 4. Calculation of feature amount 4 (FIG. 8) First, an area, which is a parameter necessary for calculation of feature amount 4,
Initialize the number of pixels pixels [i] of i (see FIG.
8 (a)). This replaces step 43 in FIG.
The processing of step 45 is performed. Next, a closed region i is formed.
The number of pixels to be calculated is calculated (FIG. 8B). This is shown in FIG.
The processing of step 56 is performed instead of step 55 of (b).
Steps 71 to 74 are not performed. 5. Calculation of feature value 5 (FIG. 9) First, a parameter x required for calculation of feature value 5min(i), y
min(i), xmax(i), y max(i), initializing pixels (i)
(FIG. 9A). This corresponds to step 4 in FIG.
The process of step 46 is performed instead of 3. Next, in the closed area
Ratio of the area of the circumscribed rectangle to the number of pixels ratio_rec
tpix (i) is calculated (FIG. 9B). This is the figure
The processing of step 57 is performed instead of step 55 of 5 (b).
And perform step 77 instead of step 73.
U. 6. Calculation of feature value 6 (FIG. 10) First, a parameter required for calculation of feature value 6,
First the number of pixels that constitute the outer periphery of area i, circular (i)
(FIG. 10A). This corresponds to the step shown in FIG.
Step 47 is performed instead of step 43. Next, the closed area i
Calculates the circumference circum (i) of FIG.
(B)). Before starting the scan in each y direction, one before
(Previous closed area data) number i of the closed area data detected
oldThe maximum value imax(Step 5
8). The value of the closed area data of i = (x, y) indicates the boundary line
If not, iold<ImaxAnd i @ ioldWhether
(Step 59), and if “No”, i is a riff.
Return to step 52 because it is a point on the outer frame of the reference line drawing
If "Yes", the number of pixels circum (i),
circuit [iold] Is incremented by 1 (step
60), ioldIs set to the value of i (step 61). 7. Calculation of feature value 7 (FIG. 11) First, a closed region which is a parameter required for calculation of feature value 7
The number of pixels constituting i, pixels (i), and the closed area i
Initializes the number of pixels circum (i) constituting the outer periphery of
(FIG. 11A). This is the step shown in FIG.
Step 48 is performed instead of 43. Next, outside the closed area i
Number of pixels constituting the circumference and pixels constituting the closed area i
Calculate the ratio of the square root of the number shape (i) (FIG. 11)
(B)). This follows step 54 of FIG.
Step 62 is added.

【0027】図12は特徴量1から7を同時に計算する
ことによって少ない計算量で各特徴量を算出するように
したものである。図11のステップ48、62、77の
代りにステップ49、63、78の処理が行われる。
FIG. 12 shows a configuration in which each feature value is calculated with a small amount of calculation by simultaneously calculating feature values 1 to 7. Steps 49, 63 and 78 are performed instead of steps 48, 62 and 77 in FIG.

【0028】以上のようにして、リファレンス線画を構
成する全ての閉領域について特徴量(以下では特徴量1
から5)を計算し、表1のように全ての各閉領域毎に記
憶する。
As described above, the feature amounts (hereinafter, feature amount 1) are set for all the closed regions constituting the reference line drawing.
Is calculated for each closed area as shown in Table 1.

【0029】[0029]

【表1】 被彩色対象線画閉領域特徴量抽出処理部16は、リファ
レンス線画閉領域特徴量抽出処理部15と同じ処理を被
彩色対象線画について行う。その結果被彩色対象線画を
構成する全ての閉領域について全ての各閉領域毎に上記
特徴量が記憶される。
[Table 1] The chromatic object line drawing closed region feature amount extraction processing unit 16 performs the same processing as the reference line image closed region feature amount extraction processing unit 15 on the chromatic object line image. As a result, the above-mentioned feature amount is stored for each of all the closed regions constituting the color target line drawing.

【0030】色候補リスト作成処理部17は、まず上記
処理で閉領域が分離された被彩色対象線画の全ての閉領
域とリファレンス線画の全ての閉領域の間の全ての組み
合わせについて上記特徴量の変化分を算出する。変化分
の定義は特徴量によって異なる。例えば特徴量1の場合
は座標間の距離を、特徴量2から5の場合は比をもって
変化分とするのが適当である。上記の例には含まれなか
ったが差をもって特徴量の変化分とするのが適当である
種類の特徴量もあるだろう。上記全ての変化分を被彩色
対象線画の閉領域について全てのリファレンス線画の閉
領域との変化分が1より小さい場合は逆数を取り値の小
さい順にソーティングし整理して保持する(表2)。
First, the color candidate list creation processing unit 17 calculates the above-mentioned feature amount for all combinations between all the closed regions of the chromatic color target line drawing and all the closed regions of the reference line drawing whose closed regions have been separated in the above processing. Calculate the change. The definition of the change depends on the feature value. For example, in the case of the feature amount 1, it is appropriate to set the distance between the coordinates, and in the case of the feature amounts 2 to 5, it is appropriate to use the ratio as the change. There may be some types of feature values that were not included in the above example, but are appropriate to be used as a change in the feature value with a difference. If all the above-mentioned changes are smaller than 1 in the closed area of the line object to be colored and the closed area of all the reference line drawings, the reciprocal is taken, sorted in ascending order of the value, arranged and stored (Table 2).

【0031】[0031]

【表2】 表2〜表5にリファレンス線画が4つの閉領域で構成さ
れている場合について示す。表2〜5では被彩色対象線
画を構成する閉領域数には特に記述していないが、リフ
ァレンス線画と被彩色対象線画両者の閉領域数が異なっ
ていても処理には問題が無い。
[Table 2] Tables 2 to 5 show cases where the reference line drawing is composed of four closed regions. Tables 2 to 5 do not particularly describe the number of closed regions forming the chromatic color target line image, but there is no problem in the processing even if the reference line image and the chromatic color target line image have different numbers of closed regions.

【0032】次に、上で得られた被彩色対象線画の閉領
域について各々の変化分を規格化する。ある被彩色対象
線画の閉領域についてリファレンス線画の全ての閉領域
との間の各々の特徴量の変化分について、ここでは例と
して上で計算された特徴量の変化分が小さい方がその値
を計算した被彩色対象線画の閉領域とリファレンス線画
の閉領域の組がその特徴に関しては近いとみなせる場合
について(ここで例としている上記5つの特徴量につい
ては全てこれが当てはまる)特徴量変化分の最小値V
minを0.0に、特徴量変化分の最大値Vmaxを1.0に
規格化することを説明する。単純な線形変換によりそれ
らの間にある値Vorgは以下の値Vに変換される。
Next, each variation is normalized for the closed region of the chromatic object line image obtained above. Regarding the change amount of each feature amount between the closed region of a certain color target line drawing and all the closed regions of the reference line drawing, here, as an example, the smaller the change amount of the feature amount calculated above, the smaller the value is. In the case where the calculated set of the closed region of the chromatic object line drawing and the closed region of the reference line drawing can be considered to be close with respect to the feature (all of the above five feature amounts used as examples here are applicable). Value V
The min to 0.0, explaining that normalizing the maximum value V max of the feature variation 1.0. The value Vorg between them is converted into the following value V by a simple linear transformation.

【0033】[0033]

【数1】 この規格化を全ての変化分について計算を行う。表3に
その結果例を示す。
(Equation 1) This normalization is calculated for all changes. Table 3 shows an example of the results.

【0034】[0034]

【表3】 次に、特徴量毎に計算された変化分を統合して評価す
る。上記各特徴量の変化分(V1,V2,V3,V4
5)について利用者から評価の重み付けが指定でき
る。重みの値を各々W1,W2,W3,W4,W5とする。
ここではそれら重みは、 0.01,W2,W3,W4,W 51.0 に規格化されて与えられるとして説明する。それら重み
の値を使って、被彩色対象線画の全ての閉領域に対する
リファレンス線画の全ての閉領域の各々の間の統合され
た変化分を以下の式で求める。
[Table 3] Next, the changes calculated for each feature amount are integrated and evaluated. Variations of the above feature values (V 1 , V 2 , V 3 , V 4 ,
Weighting of evaluation from the user about the V 5) can be specified. Each value of weight and W 1, W 2, W 3 , W 4, W 5.
Where they weights, 0.0 <W 1, W 2 , W 3, W 4, W 5 <1.0 will be described as applied are normalized to. Using the values of these weights, an integrated change between each of all the closed regions of the reference line drawing with respect to all of the closed regions of the coloring target line drawing is obtained by the following equation.

【0035】[0035]

【数2】 この計算を全ての被彩色対象線画の全ての閉領域に対す
るリファレンス線画の全ての閉領域の各々の間で行い、
値の小さい順にソートする(表4)。
(Equation 2) This calculation is performed between each of all the closed regions of the reference line drawing for all the closed regions of all the coloring target line drawings,
Sort in ascending order of values (Table 4).

【0036】[0036]

【表4】 次に、リファレンス線画の閉領域に対応する色をリファ
レンス絵から抽出する。リファレンス線画の複数の閉領
域にリファレンス絵上で同じ色が塗られている場合は上
記リストの上位を残し重複を排除する。これにより結果
として被彩色対象線画の全ての閉領域について確からし
い順に色候補リストが作成された(表5)。
[Table 4] Next, a color corresponding to the closed area of the reference line drawing is extracted from the reference drawing. When the same color is painted on the reference picture in a plurality of closed areas of the reference line drawing, the top of the above list is left and duplication is eliminated. As a result, as a result, a color candidate list was created in a probable order for all the closed regions of the color object line drawing (Table 5).

【0037】[0037]

【表5】 利用者から各特徴量の変化分について閾値を設定するこ
とも可能である。この場合ある特徴量の変化分がひとつ
でも閾値を超えた被彩色対象線画の閉領域とリファレン
ス線画の閉領域の組み合わせは、(2)式により統合さ
れた変化分が計算されてソーティングされた後に全ての
特徴量の変化分で閾値を超えなかった値よりもリスト上
後ろになくてはならない。規格化時にその操作を行う。
この場合(1)式において閾値を超えない最大の値をV
maxとして閾値を超えないものについては(1)式と同
じ規格化処理を行う。閾値を超えた値については以下の
条件を満足する値を与える。例えば閾値を超えたのが特
徴量1についてであった場合、
[Table 5] It is also possible for the user to set a threshold value for the change of each feature amount. In this case, the combination of the closed region of the chromatic object line drawing and the closed region of the reference line drawing in which even one variation of the feature amount exceeds the threshold value is calculated after the integrated variation is calculated by the equation (2) and sorted. It must be later on the list than the value that did not exceed the threshold value in all the changes in the feature amount. Perform that operation during normalization.
In this case, the maximum value that does not exceed the threshold value in equation (1) is V
If the value does not exceed the threshold as max , the same normalization processing as in equation (1) is performed. For the value exceeding the threshold, a value satisfying the following condition is given. For example, when the threshold value is exceeded for the feature amount 1,

【0038】[0038]

【数3】 を満足する値を与えておけば、その他の規格化された特
徴量の変化分が全て0であったとしても統合された変化
分は全ての規格化された特徴量の変化分が1の場合の統
合された変化分よりも大きくなるのでその値を含めてソ
ーティングを行って色候補リストを作ることもできるし
色候補リストから除外することも可能である。なお、上
式でW1=0の場合は式の上で値が不定になるがこの場
合Vex1にどのような値を入れても(2)式でまったく
評価されない。
(Equation 3) Is satisfied, even if all other standardized feature amount changes are 0, the integrated change amount is when all the standardized feature amount changes are 1. Since the change is larger than the integrated change of the color candidate list, it is possible to create a color candidate list by performing sorting including the value, and to exclude the color candidate list from the color candidate list. When W 1 = 0 in the above equation, the value becomes indefinite in the equation, but in this case, whatever value is put in V ex1 , it is not evaluated at all by the equation (2).

【0039】さらに、この閾値を使えば、カメラが対象
物に近づくあるいは対象物がカメラに近づく等の演出の
ように線画上は閉領域が必ず大きくなる場合上記特徴量
2と4の変化分が小さくなる方向であれば閾値を超えた
ものと同じ扱いをする。逆に、カメラが対象物から遠ざ
かるあるいは対象物がカメラから遠ざかる等の演出のよ
うに線画上は閉領域が必ず小さくなる場合上記特徴量2
と4の変化分が大きくなる方向であれば閾値を超えたも
のと同じ扱いをすることにより、結果として得られる被
彩色対象線画の全ての閉領域について求められる色候補
リストをより確からしいものとすることができる。
Further, if this threshold value is used, when a closed area is necessarily large on a line drawing as in the effect of the camera approaching the object or the object approaching the camera, the change of the feature amounts 2 and 4 becomes larger. If it becomes smaller, it is treated the same as the one exceeding the threshold. Conversely, when the closed area is always small on the line drawing, such as in an effect in which the camera moves away from the object or the object moves away from the camera, the feature amount 2
If the amount of change of 4 is larger, the same treatment as that exceeding the threshold is performed, so that the color candidate list obtained for all the closed regions of the resulting colored object line drawing is made more probable. can do.

【0040】被彩色対象線画彩色処理部18は上記処理
で得られた被彩色対象線画の全ての閉領域について色候
補リストの最上位にある色を被彩色対象線画の対応する
全ての閉領域について彩色する。彩色方法についてもい
ろいろな方法が考えられるが、ここでは図13に先程か
ら例として説明している閉領域の分離方法に沿った方法
を説明する。
The chromatic object line drawing coloring processing section 18 applies the highest color in the color candidate list for all closed regions of the chromatic object line drawing obtained in the above processing to all the corresponding closed regions of the chromatic object line drawing. To paint. Various methods are also conceivable for the coloring method. Here, a method according to the method for separating a closed region described above as an example in FIG. 13 will be described.

【0041】対象となる被彩色対象線画内のこれから彩
色しようとする閉領域内のある座標(x,y)をシード
ポイントとして彩色を始める(ステップ81〜83)。
その(x,y)が座標値として適当であり、かつその座
標(x,y)の被彩色対象線画閉領域データが指定して
いる被彩色対象線画の閉領域データと等しければ被彩色
対象線画のその座標に指定された色の値を入れる(ステ
ップ91〜94)。そして上下左右の座標について同じ
処理を行うためにx,yの値をそれぞれ±1し(ステッ
プ95〜98)、各々再帰呼び出しを行う。これにより
無関係な閉領域に無関係な色が彩色されることを防ぐこ
とができ、境界線が完全に保護される。彩色済被彩色対
象線画保存処理部19は、上記処理で彩色された彩色済
被彩色対象線画を記憶装置11に保存する。この処理は
一般的なものであるため特に詳しく説明はしない。
Coloring is started with a certain coordinate (x, y) in a closed area to be colored in the target line drawing to be colored as a seed point (steps 81 to 83).
If (x, y) is appropriate as a coordinate value, and the chromatic object line drawing closed area data at the coordinates (x, y) is equal to the closed area data of the chromatic object line image specified, the chromatic object line image The value of the designated color is entered in the coordinates of (steps 91 to 94). Then, in order to perform the same processing for the upper, lower, left, and right coordinates, the values of x and y are respectively ± 1 (steps 95 to 98), and recursive calls are performed. This prevents irrelevant colors from being colored in the irrelevant closed area, and the boundary is completely protected. The colored subject line drawing storage processing unit 19 stores the colored subject line image painted in the above process in the storage device 11. This processing is a general one and will not be described in detail.

【0042】以上の処理が終了後次の被彩色対象線画を
読み出して同様の処理を行い彩色する。同じリファレン
ス絵/リファレンス線画を使う場合は既に保持されてい
るリファレンス絵/リファレンス線画についての全情報
を保持したまま画像読み出し処理部12に次の被彩色対
象線画の読み出しのみを指示する。この場合リファレン
ス線画閉領域分離処理部13、リファレンス線画閉領域
特徴量抽出処理部15での処理は行う必要無い。また、
上での処理で彩色された彩色済被彩色対象線画とその元
となった被彩色対象線画を新たにリファレンス絵/リフ
ァレンス線画にする場合は全情報を被彩色対象線画から
リファレンス線画に、彩色済被彩色対象線画からリファ
レンス絵に移した後、画像読み出し処理部12に次の被
彩色対象線画の読み出しを指示し、以降同様の処理を行
って彩色する。新たにリファレンス絵/リファレンス線
画を指定する場合はここで説明した同じ処理を繰り返す
ことになる。
After the above processing is completed, the next line image to be colored is read out, and the same processing is performed for coloring. When the same reference picture / reference line drawing is used, the image reading processing unit 12 is instructed only to read the next color object line drawing while retaining all the information about the reference picture / reference line drawing already held. In this case, it is not necessary to perform the processes in the reference line drawing closed region separation processing unit 13 and the reference line drawing closed region feature amount extraction processing unit 15. Also,
If the colored line drawing that has been colored in the above process and the line drawing that is the source of the coloring are newly used as the reference picture / reference line drawing, all information is converted from the line drawing target line drawing to the reference line drawing. After shifting from the color object line drawing to the reference picture, the image reading processing unit 12 is instructed to read the next color object line image, and the same processing is performed thereafter to perform coloring. When a new reference picture / reference line drawing is designated, the same processing described here is repeated.

【0043】図15は本発明の第2の実施形態の画像彩
色装置の構成図である。本実施形態は図1の第1の実施
形態の彩色済被彩色対象線画保存処理部19の代りに彩
色済被彩色対象線画/色候補リスト/閉領域情報保存処
理部101を有し、彩色済被彩色対象線画/色候補リス
ト/閉領域情報読み出し処理部102と彩色済被彩色対
象線画提示部103と彩色済被彩色対象線画色修正処理
部104と彩色済被彩色対象線画保存処理部105を新
たに備えたものである。
FIG. 15 is a block diagram of an image coloring apparatus according to a second embodiment of the present invention. This embodiment includes a colored object line drawing / color candidate list / closed area information storage processing unit 101 instead of the colored object line image storage processing unit 19 of the first embodiment in FIG. A color object line drawing / color candidate list / closed area information read processing unit 102, a colored object line drawing presenting unit 103, a colored object line drawing color correction processing unit 104, and a colored object line image storage processing unit 105 It is newly prepared.

【0044】彩色済被彩色対象線画/色候補リスト/閉
領域情報保存処理部101は第1の実施形態では彩色済
被彩色対象線画のみを保存していたが、第1の実施形態
で作成された対応する色候補リストと第1の実施形態で
作成された分離された閉領域データの保存も行う。指定
された全ての被彩色対象線画について記憶装置11に保
存する。
In the first embodiment, the colored object line drawing / color candidate list / closed area information storage processing unit 101 stores only the colored object line image which has been colored in the first embodiment, but is created in the first embodiment. The corresponding color candidate list and the separated closed area data created in the first embodiment are also stored. The storage device 11 stores all designated color object line drawings.

【0045】彩色済被彩色対象線画/色候補リスト/閉
領域情報読み出し処理部102は、指定された全ての被
彩色対象線画について彩色処理が行われた結果である、
彩色済被彩色対象線画と対応する色候補リストと閉領域
情報を順次利用者の指示により記憶装置11より読み出
す。
The colored object line drawing / color candidate list / closed area information reading processing unit 102 is a result of performing the coloring process on all the designated line objects to be colored.
The color candidate list and the closed area information corresponding to the colored line object to be colored are sequentially read from the storage device 11 according to a user's instruction.

【0046】彩色済被彩色対象線画提示部103は彩色
済被彩色対象線画を表示装置(CRTやLCD等)に表
示する。この処理は一般的なものであるため特に詳しく
説明しない。
The colored subject line drawing presentation unit 103 displays the colored subject line image on a display device (CRT, LCD, or the like). This process is a general process and will not be described in detail.

【0047】彩色済被彩色対象線画色修正処理部104
は彩色済被彩色対象線画提示部103により表示装置に
提示された彩色済被彩色対象線画上で、利用者がマウス
ポインタで指し示した閉領域上でマウスボタンをクリッ
クするとそのマウスポインタの座標から指し示している
閉領域番号が分かるのでその番号に対応する第1の実施
形態で作成され第2の実施形態で記憶装置11に保存さ
れ、読み出された色候補リストをその順に彩色済被彩色
対象線画の上に重ねて表示し、さらにその色候補リスト
上でマウスポインタによって色候補を選択することによ
り先にマウスポインタによって指し示されていた該当す
る閉領域の色を選択された色候補リストの色に変更す
る。これにより第1の実施形態で選択された色に誤りが
あった場合にでも正解の色は色候補リストの上位にある
確率が高いので少ないマウスポインタの移動量で簡易に
色の変更が可能である。
Colored object line drawing color correction processing unit 104
When the user clicks the mouse button on the closed area pointed by the mouse pointer on the colored object line drawing presented on the display device by the colored object line drawing presenting unit 103, the mouse pointer is indicated by the coordinates of the mouse pointer. Since the closed area number is known, the color candidate list created in the first embodiment corresponding to the number, stored in the storage device 11 in the second embodiment, and read out is displayed in the order in which the colored object line image has been colored. Is displayed on the color candidate list, and by selecting a color candidate with the mouse pointer on the color candidate list, the color of the corresponding closed area previously pointed by the mouse pointer is selected from the color of the selected color candidate list. Change to Thus, even if there is an error in the color selected in the first embodiment, the correct color has a high probability of being at the top of the color candidate list, so that the color can be easily changed with a small amount of movement of the mouse pointer. is there.

【0048】表示された色候補リストの例を図16に示
す。表示される色候補の順番は第1の実施形態で得られ
た色候補リストの順番と同じであり、一番最初にはリス
トの最上段の色に彩色されている。色候補リストをその
色そのものでのみ提示するだけでは類似した色を何色も
使っている場合選択が難しくなるので図16では色デー
タ値そのものも並べて表示している。また(R,G,
B)=(255,255,255)が透明として扱われ
る場合白(254,254,254)との違いが画面上
認識しずらい。これも色データの表示により利用者に区
別し易くなるが、さらに図16では色の表示領域の上に
それが透明であることが分かり易い表示(図16では
「透明」という文字)を重ねることによりそれと利用者
に認識し易いようにしている。
FIG. 16 shows an example of the displayed color candidate list. The order of the displayed color candidates is the same as the order of the color candidate list obtained in the first embodiment, and the color of the topmost color in the list is colored first. By presenting the color candidate list only by the color itself, it becomes difficult to select a similar color when many similar colors are used. Therefore, in FIG. 16, the color data values are also displayed side by side. Also, (R, G,
B) When (255, 255, 255) is treated as transparent, the difference from white (254, 254, 254) is difficult to recognize on the screen. This also makes it easier for the user to distinguish by displaying the color data, but in addition, in FIG. 16, a display (in FIG. 16, the word “transparent”) that is easy to understand that it is transparent is overlaid on the color display area. This makes it easy for the user to recognize it.

【0049】選ばれた色が既に塗られている色と異なる
場合その閉領域の色を新たに指定された色に塗り直す。
この処理には例えば図13の処理がそのまま流用可能で
ある。
If the selected color is different from the already painted color, the color of the closed area is repainted to a newly designated color.
For this process, for example, the process of FIG. 13 can be diverted as it is.

【0050】彩色済被彩色対象線画保存処理部105
は、上記処理で変更された彩色済被彩色対象線画を記憶
装置11に保存する。対応する色候補リストは既に記憶
装置に保存されている色候補リストそのままで良いので
新たに保存はしない。
Colored object line drawing storage processing unit 105
Saves in the storage device 11 the colored line object to be colored changed in the above processing. The corresponding color candidate list may be the same as the color candidate list already stored in the storage device, and is not newly stored.

【0051】第1の実施形態で自動彩色された全ての彩
色済被彩色対象線画を全て手作業で確認・修正を行う場
合は以上の処理を繰り返す。あるいは手作業により確認
・修正された彩色済被彩色対象線画を新たにリファレン
ス絵としてまたその元となった被彩色対象線画をリファ
レンス線画として、この手作業により修正された彩色済
被彩色対象線画より後ろの被彩色対象線画について再自
動彩色をする場合、リファレンス絵/線画の変更指示と
修正した被彩色対象線画以降の被彩色対象線画の再計算
指示を画像読み出し処理部12に行うことで、手作業で
修正された彩色済被彩色対象線画を用いてより確実に以
降の被彩色対象線画の自動彩色を行うことができる。
In the first embodiment, when all the colored line objects to be colored which have been automatically colored are manually confirmed and corrected, the above processing is repeated. Alternatively, the colored object line drawing that has been confirmed and corrected manually is used as a new reference picture, and the original line object coloring object is used as a reference line drawing, from the colored object line drawing corrected manually. When re-automatic coloring is performed on the subsequent line to be colored, the instruction to change the reference picture / line and the instruction to recalculate the line to be colored after the corrected line to be colored are sent to the image read processing unit 12, so that the image reading processing unit 12 can be used. Automatic coloring of the subsequent color object line drawing can be performed more reliably by using the colored object line drawing that has been corrected in the work.

【0052】図17は本発明の第3の実施形態の画像彩
色装置の構成図である。本実施形態は第2の実施形態の
彩色済被彩色対象線画/色候補リスト/閉領域情報保存
処理部101、彩色済被彩色対象線画色修正処理部10
4の代りに彩色済被彩色対象線画/色候補リスト/閉領
域情報保存処理部101’、彩色済被彩色対象線画色修
正処理部104’を有し、色別名リスト作成保存処理部
106と色別名リスト読み出し処理部107を新たに備
えたものである。
FIG. 17 is a block diagram of an image coloring apparatus according to a third embodiment of the present invention. In the present embodiment, a colored object line drawing / color candidate list / closed area information storage processing unit 101 of the second embodiment, a colored object line drawing color correction processing unit 10
4 includes a colored object line drawing / color candidate list / closed area information storage processing unit 101 'and a colored object line drawing color correction processing unit 104' instead of the color object list creation / storage processing unit 106 An alias list read processing unit 107 is newly provided.

【0053】色別名リスト作成保存部106は第2の実
施形態の閉領域の色修正に先立ってそのシーケンスで使
われる色に別名を与えて保存する。例えば図18のよう
に第2の実施形態での色修正時に直感的に分かり易い名
前をここで登録しておく。色別名リストは表6のような
形で保存される。
The color alias list creating / storing unit 106 assigns an alias to the color used in the sequence and saves the color prior to the color correction of the closed area according to the second embodiment. For example, as shown in FIG. 18, a name that is intuitively understandable at the time of color correction in the second embodiment is registered here. The color alias list is stored in the form shown in Table 6.

【0054】[0054]

【表6】 色別名リスト読み出し部107は、記憶装置11に保存
された1つあるいは複数の色別名リストを読み出す。
[Table 6] The color alias list reading unit 107 reads one or a plurality of color alias lists stored in the storage device 11.

【0055】彩色済被彩色対象線画色修正処理部10
4’は色別名リスト読み出し部107で読み出された1
つあるいは複数の色別名リストを第2の実施形態の彩色
済被彩色対象線画色修正処理部104で表示する色候補
リストの対応する色リストに合わせて表示する(図1
9)。これにより第2の実施形態より更に直感的に分か
り易く塗り間違いのチェック・修正が可能となる。
Colored object line drawing color correction processing unit 10
4 ′ is 1 read by the color alias list reading unit 107
One or a plurality of color alias lists are displayed according to the corresponding color list of the color candidate list displayed by the colored line object color correction processing unit 104 of the second embodiment (FIG. 1).
9). This makes it possible to check and correct misapplications more easily and intuitively than in the second embodiment.

【0056】図20を参照すると、本発明の第4の実施
形態の画像彩色装置は入力装置110と記憶装置11
1,112と出力装置113と記録媒体114とデータ
処理装置115で構成されている。入力装置110は画
像等を入力するためのものである。記憶装置111は図
1、図15、図17中の記憶装置11に相当する。記憶
装置112は主記憶装置である。出力装置113は画像
等を表示するためのものである。記録媒体114はFD
(フロッピィ・ディスク)、CD−ROM、MO(光磁
気ディスク)等の記録媒体で、図1、図15、図17の
各部からなる画像彩色プログラムが記録されている。デ
ータ処理装置115は記録媒体114から画像彩色プロ
グラムを読み込んで、これを実行するCPUである。
Referring to FIG. 20, an image coloring apparatus according to a fourth embodiment of the present invention comprises an input device 110 and a storage device 11.
1, 112, an output device 113, a recording medium 114, and a data processing device 115. The input device 110 is for inputting an image or the like. The storage device 111 corresponds to the storage device 11 in FIG. 1, FIG. 15, and FIG. The storage device 112 is a main storage device. The output device 113 is for displaying an image or the like. Recording medium 114 is FD
(Floppy disk), CD-ROM, MO (magneto-optical disk), and other recording media on which an image coloring program composed of the components shown in FIGS. 1, 15, and 17 is recorded. The data processing device 115 is a CPU that reads an image coloring program from the recording medium 114 and executes the program.

【0057】[0057]

【発明の効果】請求項1、13、16の発明(第1の発
明)によると、彩色済みの線画を参照し同じ閉領域を塗
る閉領域を判定する際の計算量を削減でき、被彩色対象
彩画の全ての閉領域について確からしい順に色候補リス
トを作成し最上位の色を被彩色対象彩画に自動で彩色す
ることにより、塗り残しが全く起らない。
According to the invention of the first, thirteenth, and sixteenth aspects (first invention), it is possible to reduce the amount of calculation when determining a closed area in which the same closed area is painted by referring to a colored line drawing, and A color candidate list is created for all the closed areas of the target color image in a probable order, and the highest color is automatically applied to the color target color image, so that no unpainting occurs.

【0058】請求項11、14、17の発明(第2の発
明)によると、第1の発明で塗られた色に誤りがあった
場合のチェック・変更が簡便にでき、彩色作業者の労力
を更に減じることがで可能である。
According to the eleventh, fourteenth, and seventeenth inventions (the second invention), it is possible to easily check and change the color applied in the first invention when there is an error, thereby reducing the labor of the coloring operator. Can be further reduced.

【0059】請求項12、15、18の発明によると、
第2の発明よりも更に簡便に塗り誤りの修正ができ、彩
色作業者の労力を更に減じることが可能である。
According to the invention of claims 12, 15 and 18,
The painting error can be corrected more easily than in the second invention, and the labor of the coloring operator can be further reduced.

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

【図1】本発明の第1の実施形態の画像彩色装置の構成
図である。
FIG. 1 is a configuration diagram of an image coloring device according to a first embodiment of the present invention.

【図2】リファレンス線画閉領域データのフォーマット
の例を示す図である。
FIG. 2 is a diagram illustrating an example of a format of reference line drawing closed area data.

【図3】リファレンス線画閉領域分離処理部13の処理
を示すフローチャートである。
FIG. 3 is a flowchart illustrating a process of a reference line drawing closed area separation processing unit 13;

【図4】分離された閉領域の特徴量の例を示す図であ
る。
FIG. 4 is a diagram illustrating an example of a feature amount of a separated closed region.

【図5】特徴量1の計算方法を示すフローチャートであ
る。
FIG. 5 is a flowchart illustrating a method for calculating a feature quantity 1;

【図6】特徴量2の計算方法を示すフローチャートであ
る。
FIG. 6 is a flowchart illustrating a method for calculating a feature quantity 2;

【図7】特徴量3の計算方法を示すフローチャートであ
る。
FIG. 7 is a flowchart illustrating a method of calculating a feature value 3;

【図8】特徴量4の計算方法を示すフローチャートであ
る。
FIG. 8 is a flowchart illustrating a method for calculating a feature quantity 4;

【図9】特徴量5の計算方法を示すフローチャートであ
る。
FIG. 9 is a flowchart illustrating a method for calculating a feature value 5;

【図10】特徴量6の計算方法を示すフローチャートで
ある。
FIG. 10 is a flowchart illustrating a calculation method of a feature value 6;

【図11】特徴量7の計算方法を示すフローチャートで
ある。
FIG. 11 is a flowchart showing a method for calculating a feature value 7;

【図12】複数の特徴量を同時に計算する計算方法を示
すフローチャートである。
FIG. 12 is a flowchart illustrating a calculation method for calculating a plurality of feature amounts simultaneously.

【図13】求められた色候補リストの最上位の色で被彩
色対象線画の対応する閉領域を彩色する方法を示すフロ
ーチャートである。
FIG. 13 is a flowchart illustrating a method of coloring a corresponding closed region of a color target line image with the highest color in the obtained color candidate list.

【図14】被彩色対象線画、リファレンス線画、リファ
レンス絵の例を示す図である。
FIG. 14 is a diagram illustrating an example of a color object line drawing, a reference line drawing, and a reference picture.

【図15】本発明の第2の実施形態の画像彩色装置の構
成図である。
FIG. 15 is a configuration diagram of an image coloring device according to a second embodiment of the present invention.

【図16】第2の実施形態で色修正を簡便に行う方法の
例を示す図である。
FIG. 16 is a diagram illustrating an example of a method for easily performing color correction in the second embodiment.

【図17】本発明の第3の実施形態の画像彩色装置の構
成図である。
FIG. 17 is a configuration diagram of an image coloring device according to a third embodiment of the present invention.

【図18】第3の実施形態における色別名リスト作成保
存部106の説明図である。
FIG. 18 is an explanatory diagram of a color alias list creation storage unit 106 according to the third embodiment.

【図19】色別名リストを第2の実施形態で利用者に提
示される色候補リストに色別名リストを合わせて表示し
たときの例を示す図である。
FIG. 19 is a diagram illustrating an example in which a color alias list is displayed together with a color candidate list presented to a user in the second embodiment.

【図20】本発明の第4の実施形態の画像彩色装置の構
成図である。
FIG. 20 is a configuration diagram of an image coloring device according to a fourth embodiment of the present invention.

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

11 記憶装置 12 画像読み出し処理部 13 リファレンス線画閉領域分離処理部 14 被彩色対象線画閉領域分離処理部 15 リファレンス線画閉領域特徴量抽出処理部 16 被彩色対象線画閉領域特徴量抽出処理部 17 色候補リスト作成処理部 18 被彩色対象線画彩色処理部 19 彩色済被彩色対象線画保存処理部 21〜28,31〜38,41〜49,51〜63,7
1〜78 ステップ81〜83,91〜98 ステ
ップ 101,101’ 彩色済被彩色対象線画/色候補リ
スト/閉領域情報保存処理部 102 彩色済被彩色対象線画/色候補リスト/閉領
域情報読み出し処理部 103 彩色済被彩色対象線画提示部 104,104’ 彩色済被彩色対象線画色修正処理
部 105 彩色済被彩色対象線画保存処理部 106 色別名リスト作成保存処理部 107 色別名リスト読み出し処理部 110 入力装置 111,112 記憶装置 113 出力装置 114 記録媒体 115 データ処理装置
REFERENCE SIGNS LIST 11 storage device 12 image reading processing unit 13 reference line drawing closed region separation processing unit 14 chromatic object line drawing closed region separation processing unit 15 reference line drawing closed region feature amount extraction processing unit 16 chromatic object target line drawing closed region feature extraction processing unit 17 colors Candidate list creation processing unit 18 Color object line drawing coloring processing unit 19 Colored object line drawing storage processing unit 21-28, 31-38, 41-49, 51-63, 7
1-78 Steps 81-83, 91-98 Steps 101, 101 ′ Colored line drawing / color candidate list / closed area information storage processor 102 Colored line drawing / color candidate list / color candidate list / closed area information read processing Unit 103 Painted colored object line drawing presenting unit 104, 104 'Colored colored object line drawing color correction processing unit 105 Colored colored object line drawing storage processing unit 106 Color alias list creation storage unit 107 Color alias list read processing unit 110 Input device 111, 112 Storage device 113 Output device 114 Recording medium 115 Data processing device

フロントページの続き Fターム(参考) 5B050 AA10 BA07 BA08 BA12 DA04 EA03 EA05 EA07 EA09 EA12 EA22 EA24 FA09 5B057 BA24 BA25 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC03 CE09 CE11 CE16 CE17 DA08 DB02 DB06 DB09 DC03 DC05 DC22 DC25 DC36 Continued on front page F term (reference) 5B050 AA10 BA07 BA08 BA12 DA04 EA03 EA05 EA07 EA09 EA12 EA22 EA24 FA09 5B057 BA24 BA25 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC03 CE09 CE11 CE16 CE17 DA08 DB02 DC06 DC09 DC03

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 記憶装置から読み出された、見本となる
既に彩色された画像データ(以下リファレンス絵とす
る)の元の線画データ(以下リファレンス線画とする)
についてそのリファレンス線画を構成する全ての閉領域
を分離するリファレンス線画閉領域分離処理段階と、 抽出されたリファレンス線画の閉領域の、重心以外の1
種類以上の特徴量を抽出するリファレンス線画閉領域特
徴量抽出処理段階と、 前記記憶装置から読み出された、彩色対象となる線画像
データ(以下被彩色対象線画とする)を構成する全ての
閉領域を分離する被彩色対象線画閉領域分離処理段階
と、 抽出された被彩色対象線画の閉領域の、重心以外の1種
類以上の特徴量を抽出する被彩色対象線画閉領域特徴量
抽出処理段階と、 得られたリファレンス線画の全ての閉領域と被彩色対象
線画の全ての閉領域の組み合わせでそれら各々の間の特
徴量の変化分を算出し、被彩色対象線画の閉領域毎にそ
の特徴量の変化分の小さい順にリファレンス線画の全て
の閉領域を順序付けて対応関係をとり、リファレンス絵
からリファレンス線画の全ての閉領域に対応する色情報
を得て被彩色対象線画の閉領域に対するリファレンス線
画の全ての閉領域の対応関係から色情報の重複を省くこ
とにより被彩色対象線画の全ての閉領域について色候補
リストを作成する色候補リスト作成処理段階と、 被彩色対象線画の全ての閉領域について各々の色候補リ
ストの先頭にある色を被彩色対象線画に彩色する被彩色
対象線画彩色処理段階とを有する画像彩色方法。
An original line drawing data (hereinafter referred to as a reference line drawing) of a sample already colored image data (hereinafter referred to as a reference picture) read from a storage device.
And a reference line drawing closed region separation processing step of separating all the closed regions constituting the reference line drawing, and one of the closed regions of the extracted reference line drawing other than the center of gravity.
A reference line drawing closed region feature amount extraction processing step of extracting more than two types of feature amounts; and all closed lines constituting color object line image data (hereinafter referred to as color object line drawings) read from the storage device. A chromatic color target line drawing closed region separation processing stage for separating a region, and a chromatic color target line drawing closed region feature value extraction processing stage for extracting one or more types of features other than the center of gravity of the closed region of the extracted chromatic color target line drawing And calculating the amount of change in the characteristic amount between each of the obtained reference line drawings in combination with all the closed regions in the reference line drawing and all the closed regions in the coloring target line drawing. All the closed areas of the reference line art are ordered in ascending order of the amount of change, and a correspondence is obtained. The color information corresponding to all the closed areas of the reference line art is obtained from the reference picture, and the color object line art is closed. A color candidate list creation processing step of creating a color candidate list for all closed regions of the chromatic target line image by eliminating duplication of color information from the correspondence relationship of all closed regions of the reference line image to A coloring target line drawing coloring step of coloring a color at the head of each color candidate list to the coloring target line drawing with respect to the closed region.
【請求項2】 前記リファレンス線画閉領域抽出段階
は、リファレンス線画を構成する各画素に対応して与え
られる閉領域データを、閉領域番号の最大値よりも大き
い値である境界値で初期化する段階と、リファレンス線
画のスキャン開始時、x,y座標と閉領域番号を初期化
する段階と、リファレンス線画を順次、スキャンし、リ
ファレンス線画での当該座標の画素が白で、かつ当該
(x、y)座標の閉領域データが前記境界値ならば、当
該(x、y)座標が含まれる閉領域内の画素に閉領域デ
ータとして当該閉領域番号を付ける処理を行い、リファ
レンス線画での当該座標の画素が前記以外ならば閉領域
番号を+1インクリメントする段階を有し、閉領域番号
を付ける処理では、当該座標を処理用座標に代入し、リ
ファレンス線画での処理用座標の画素が白で、かつ閉領
域データの値が前記境界値である間、処理用座標を上下
左右に1画素ずつ移しながら、当該処理用座標の閉領域
データに当該閉領域番号をを入れ、 前記被彩色対象線画閉領域分離処理も前記リファレンス
線画閉領域分離処理と同様にして被彩色対象線画の各閉
領域の閉領域データとして閉領域番号を付けることによ
り被彩色対象線画の全ての閉領域を分離する、請求項1
記載の方法。
2. The reference line drawing closed region extracting step initializes closed region data provided corresponding to each pixel forming the reference line drawing with a boundary value that is larger than the maximum value of the closed region number. Step: Initializing the x, y coordinates and the closed area number at the start of scanning of the reference line drawing, and sequentially scanning the reference line drawing, and the pixel of the coordinates in the reference line drawing is white and (x, y) If the closed area data of the coordinate is the boundary value, a process of assigning the closed area number as a closed area data to a pixel in the closed area including the (x, y) coordinate is performed, and the coordinate in the reference line drawing is performed. If the pixel is other than the above, there is a step of incrementing the closed region number by +1. In the process of assigning the closed region number, the coordinates are substituted into the processing coordinates, and the process in the reference line drawing is performed. While the pixel of the processing coordinates is white and the value of the closed area data is the boundary value, while moving the processing coordinates one pixel at a time up, down, left and right, the closed area number is assigned to the closed area data of the processing coordinates. In the same manner as the reference line image closed area separation processing, the chromatic object line image closed area separation processing assigns a closed area number as closed area data of each closed area of the chromatic color target line image, thereby obtaining 2. The method according to claim 1, wherein the closed area is separated.
The described method.
【請求項3】 前記リファレンス線画閉領域特徴量抽出
処理段階と前記被彩色対象線画閉領域特徴量抽出段階
は、 各閉領域に外接する長方形のx座標の最小値、y座標の
最小値、x座標の最大値、y座標の最大値を初期化する
段階と、 各閉領域に外接する長方形のx座標の最小値、最大値、
y座標の最小値、最大値を求める段階と、 各閉領域に外接する長方形の中心座標を前記特徴量とし
て前記x座標の最小値、最大値、y座標の最小値、最大
値から算出する段階を有する、請求項2記載の方法。
3. The reference line drawing closed area feature amount extraction processing step and the chromatic object target line image closed area feature amount extraction step include: a minimum value of an x coordinate, a minimum value of a y coordinate, and x of a rectangle circumscribing each closed area. Initializing the maximum value of the coordinate and the maximum value of the y coordinate; and the minimum value and the maximum value of the x coordinate of the rectangle circumscribing each closed region.
obtaining a minimum value and a maximum value of the y coordinate; and calculating the center coordinates of a rectangle circumscribing each closed region from the minimum value, the maximum value of the x coordinate and the minimum value and the maximum value of the y coordinate as the feature amount. 3. The method of claim 2, comprising:
【請求項4】 前記リファレンス線画閉領域特徴量抽出
処理段階と前記被彩色対象線画閉領域特徴量抽出段階
は、 各閉領域に外接する長方形のx座標の最小値、y座標の
最小値、x座標の最大値、y座標の最大値を初期化する
段階と、 各閉領域に外接する長方形のx座標の最小値、最大値、
y座標の最小値、最大値を求める段階と、 各閉領域に外接する長方形の面積を前記特徴量として前
記x座標の最小値、最大値、y座標の最小値、最大値か
ら算出する段階を有する、請求項2記載の方法。
4. The reference line drawing closed area feature value extraction processing step and the chromatic color target line image closed area feature value extraction step include: a minimum value of the x coordinate, a minimum value of the y coordinate, and x of a rectangle circumscribing each closed area. Initializing the maximum value of the coordinate and the maximum value of the y coordinate; and the minimum value and the maximum value of the x coordinate of the rectangle circumscribing each closed region.
calculating a minimum value and a maximum value of the y coordinate, and calculating the area of a rectangle circumscribing each closed region from the minimum value, the maximum value of the x coordinate and the minimum value and the maximum value of the y coordinate as the feature amount. 3. The method of claim 2, comprising:
【請求項5】 前記リファレンス線画閉領域特徴量抽出
処理段階と前記被彩色対象線画閉領域特徴量抽出段階
は、 各閉領域に外接する長方形のx座標の最小値、y座標の
最小値、x座標の最大値、y座標の最大値を初期化する
段階と、 各当該閉領域に外接する長方形のx座標の最小値、最大
値、y座標の最小値、最大値を求める段階と、 各閉領域に外接する長方形の縦横比を前記特徴量として
前記x座標の最小値、最大値、y座標の最小値、最大値
から算出する段階を有する、請求項2記載の方法。
5. The reference line drawing closed area feature value extraction processing step and the chromatic object target line drawing closed area feature value extraction step include: a minimum value of an x coordinate, a minimum value of ay coordinate of a rectangle circumscribing each closed area, x Initializing the maximum value of the coordinate and the maximum value of the y coordinate; obtaining the minimum value, maximum value and minimum value of the y coordinate of the rectangle circumscribing each closed area; The method according to claim 2, further comprising calculating an aspect ratio of a rectangle circumscribing an area from the minimum and maximum values of the x coordinate and the minimum and maximum values of the y coordinate as the feature amount.
【請求項6】 前記リファレンス線画閉領域特徴量抽出
処理段階と前記被彩色対象線画閉領域特徴量抽出段階
は、 各閉領域のピクセル数を初期化する段階と、 前記閉領域データを順次スキャンし、ピクセル数を+1
インクリメントすることで前記特徴量としてピクセル数
を求める段階とを有する、請求項2記載の方法。
6. The reference line drawing closed area feature value extraction processing step and the chromatic color target line image closed area feature value extraction step include: initializing the number of pixels of each closed area; and sequentially scanning the closed area data. , The number of pixels +1
Obtaining the number of pixels as the feature quantity by incrementing.
【請求項7】 前記リファレンス線画閉領域特徴量抽出
処理段階と前記被彩色対象線画閉領域特徴量抽出段階
は、 各閉領域に外接する長方形のx座標の最小値、y座標の
最小値、x座標の最大値、y座標の最大値、ピクセル数
を初期化する段階と、 前記閉領域データを順次スキャンし、当該点の閉領域デ
ータが境界線を示していなければ、当該閉領域のx座標
の最小値、最大値、y座標の最小値、最大値を求めると
ともに、ピクセル数を+1インクリメントする段階と、 各閉領域に外接する長方形の面積を前記x座標の最小
値、最大値、y座標の最小値、最大値から算出し、該面
積を前記ピクセルで除算し、前記特徴量とする段階を有
する、請求項2記載の方法。
7. The reference line drawing closed area feature value extraction processing step and the chromatic object target line drawing closed area feature value extraction step include: a minimum value of an x coordinate, a minimum value of ay coordinate of a rectangle circumscribing each closed area, x Initializing the maximum value of the coordinates, the maximum value of the y coordinate, and the number of pixels; and sequentially scanning the closed area data, and if the closed area data of the point does not indicate a boundary line, the x coordinate of the closed area Calculating the minimum and maximum values of the y-coordinate and incrementing the number of pixels by +1; and determining the area of the rectangle circumscribing each closed area by the minimum, maximum and y-coordinates of the x-coordinate. 3. The method according to claim 2, further comprising calculating from the minimum value and the maximum value, and dividing the area by the pixel to obtain the feature amount. 4.
【請求項8】 前記リファレンス線画閉領域特徴量抽出
処理段階と前記被彩色対象線画閉領域特徴量抽出段階
は、 各閉領域の外周の長さを初期化する段階と、 前回検出された閉領域データである前閉領域データとし
てその最大値をセットし、前記閉領域データを順次スキ
ャンし、当該座標の閉領域データの値が境界線を示して
おらず、前閉領域データの番号が、前記最大値より小さ
く、当該閉領域データの番号が前閉領域データの番号と
等しくなければ、当該閉領域の外周と前閉領域データの
外周を+1インクリメントし、前閉領域データに当該閉
領域データの番号を入れることを繰り返すことで前記特
徴量として各閉領域の外周の長さを求める段階を有す
る、請求項2記載の方法。
8. The reference line image closed area feature amount extraction processing step and the chromatic object line image closed area feature amount extraction step include a step of initializing an outer peripheral length of each closed area, and a previously detected closed area. The maximum value is set as pre-closed area data that is data, the closed area data is sequentially scanned, the value of the closed area data at the coordinates does not indicate a boundary line, and the number of the previous closed area data is If the number is smaller than the maximum value and the number of the closed area data is not equal to the number of the previous closed area data, the outer circumference of the closed area and the outer circumference of the previous closed area data are incremented by +1. 3. The method according to claim 2, further comprising a step of obtaining the outer peripheral length of each closed region as the feature amount by repeating the numbering.
【請求項9】 前記リファレンス線画閉領域特徴量抽出
処理段階と前記被彩色対象線画閉領域特徴量抽出段階
は、 各閉領域のピクセル数と外周の長さを初期化する段階
と、 前回検出された閉領域データである前記閉領域データと
してその最大値をセットし、前記閉領域データを順次ス
キャンし、当該座標の閉領域データの値が境界線を示し
ていなければ、ピクセル数を+1インクリメントし、前
閉領域データの番号が前記最大値より小さく、当該閉領
域データの番号が前閉領域データの番号と等しくなけれ
ば、当該閉領域の外周と前閉領域データの閉領域の外周
を+1インクリメントし、前閉領域データの番号に当該
閉領域データの番号を入れることを繰り返すことで各閉
領域の外周を求める段階と、 各閉領域について、当該閉領域の長さを当該閉領域を構
成する画素数の平方根で除算し、該結果を前記特徴量と
する段階を有する、請求項2記載の方法。
9. The reference line drawing closed area feature value extraction processing step and the chromatic color target line image closed area feature value extraction step include: initializing the number of pixels and the length of the outer periphery of each closed area; The maximum value is set as the closed area data that is the closed area data, and the closed area data is sequentially scanned. If the value of the closed area data at the coordinates does not indicate a boundary line, the number of pixels is incremented by +1. If the number of the previous closed area data is smaller than the maximum value and the number of the closed area data is not equal to the number of the previous closed area data, the outer circumference of the closed area and the outer circumference of the closed area of the previous closed area data are incremented by +1. Then, by repeatedly entering the number of the closed area data into the number of the previous closed area data, obtaining the outer periphery of each closed area, and for each closed area, the length of the closed area is determined. 3. The method according to claim 2, further comprising the step of: dividing by the square root of the number of pixels constituting the closed region, and setting the result as the feature amount.
【請求項10】 前記被彩色対象線画彩色処理段階は、
対象となる被彩色対象線画内のこれから彩色しようとす
る閉領域内のある座標(x,y)を処理用座標に入れ、
処理用座標の座標値として適当であり、かつその座標
(x,y)の被彩色対象線画閉領域データが被彩色対象
線画の当該閉領域データと同じで、かつ当該座標(x、
y)の色が指定されたものと違う限り、被彩色対象線画
の処理用座標に指定された色の値を入れ、そして処理用
座標上下左右に1画素ずつ移しながら、同じ処理を行
う、請求項2から9のいずれか1項記載の方法。
10. The coloring object line drawing coloring processing step,
A certain coordinate (x, y) in a closed area to be colored in the target color drawing to be colored is put into processing coordinates,
It is appropriate as the coordinate value of the coordinates for processing, and the chromatic object line drawing closed area data of the coordinates (x, y) is the same as the closed area data of the chromatic object line drawing, and the coordinates (x, y,
As long as the color of y) is different from the designated color image, the designated color value is inserted into the processing coordinates of the color object line drawing, and the same processing is performed while shifting the processing coordinates up, down, left, and right by one pixel. Item 10. The method according to any one of Items 2 to 9.
【請求項11】 保存された彩色済被彩色対象線画と色
候補リストと閉領域データを記憶装置から読み出す彩色
済被彩色対象線画/色候補リスト/閉領域情報読み出し
処理と、読み出された彩色済被彩色対象線画を利用者に
提示する彩色済被彩色対象線画提示処理と、彩色済被彩
色対象線画の各々の閉領域について色候補リストを利用
者の要求に応じて提示し、利用者か色候補リスト上の色
を選択することで指示された閉領域の色を利用者が選択
した色候補リスト上の色に変更する彩色済被彩色対象線
画色修正処理と、色が変更された彩色済被彩色対象線画
を記憶装置に保存する彩色済被彩色対象線画保存処理と
をさらに有する請求項1から10のいずれか1項記載の
方法。
11. A colored object line drawing / color candidate list / closed area information reading process for reading out the stored colored object line drawing, color candidate list, and closed area data from the storage device, and reading out the coloring. The colored object line drawing is presented to the user, and the color candidate list for each closed region of the colored object line drawing is presented according to the user's request. Colored line drawing color correction processing for changing the color of the closed area designated by selecting a color on the color candidate list to a color on the color candidate list selected by the user, and coloring with the changed color The method according to any one of claims 1 to 10, further comprising a colored object line drawing storing process of storing the already colored object line image in a storage device.
【請求項12】 色情報と対応する別名の色別名リスト
を予め作成し記憶装置に保存する色別名リスト作成保存
処理と、色別名リストを記憶装置から読み出す色別名リ
スト読み出し処理とを有し、彩色済被彩色対象線画色修
正処理が、表示する色候補リストに色別名を付加する段
階とをさらに有する請求項11記載の方法。
12. A color alias list creation / storing process for previously creating a color alias list of an alias corresponding to the color information and storing the same in a storage device, and a color alias list reading process for reading the color alias list from the storage device. 12. The method according to claim 11, wherein the colored object line drawing color correction processing further comprises the step of adding a color alias to the list of color candidates to be displayed.
【請求項13】 複数の画像データが格納された記憶装
置と、 前記記憶装置から画像データを読み出す画像読
み出し処理部と、 前記画像読み出し処理部によって前記記憶装置から読み
出された、見本となる既に彩色された画像データ(以下
リファレンス絵とする)の元の線画データ(以下リファ
レンス線画とする)についてそのリファレンス線画を構
成する全ての閉領域を分離するリファレンス線画閉領域
分離処理部と、 抽出されたリファレンス線画の閉領域の、重心以外の1
種類以上の特徴量を抽出するリファレンス線画閉領域特
徴量抽出処理部と、 前記画像読み出し処理部によって前記記憶装置から読み
出された、彩色対象となる線画像データ(以下被彩色対
象線画とする)を構成する全ての閉領域を分離する被彩
色対象線画閉領域分離処理部と、 抽出された被彩色対象線画の閉領域の、重心以外の1種
類以上の特徴量を抽出する被彩色対象線画閉領域特徴量
抽出処理部と、 得られたリファレンス線画の全ての閉領域と被彩色対象
線画の全ての閉領域の組み合わせでそれら各々の間の特
徴量の変化分を算出し、被彩色対象線画の閉領域毎にそ
の特徴量の変化分の小さい順にリファレンス線画の全て
の閉領域を順序付けて対応関係をとり、リファレンス絵
からリファレンス線画の全ての閉領域に対応する色情報
を得て被彩色対象線画の閉領域に対するリファレンス線
画の全ての閉領域の対応関係から色情報の重複を省くこ
とにより被彩色対象線画の全ての閉領域について色候補
リストを作成する色候補リスト作成処理部と、 被彩色対象線画の全ての閉領域について各々の色候補リ
ストの先頭にある色を被彩色対象線画に彩色する被彩色
対象線画彩色処理部とを有する画像彩色装置。
13. A storage device in which a plurality of image data are stored; an image read processing unit for reading image data from the storage device; and a sample already read from the storage device by the image read processing unit. A reference line drawing closed area separation processing unit for separating all closed regions constituting the reference line drawing from the original line drawing data (hereinafter referred to as reference line drawing) of the colored image data (hereinafter referred to as reference picture); 1 other than the center of gravity of the closed area of the reference line drawing
A reference line drawing closed area feature value extraction processing unit that extracts more than two or more types of feature values; and line image data to be colored (hereinafter referred to as a color object line drawing) read from the storage device by the image reading processing unit. A chromatic object line drawing closed area separation processing unit that separates all closed regions constituting the chromatic object line image, and a chromatic object line drawing that extracts one or more types of feature values other than the center of gravity of the closed region of the extracted chromatic object line drawing A region feature amount extraction processing unit, calculates a change amount of the feature amount between each of the obtained reference line drawings in combination with all the closed regions of the obtained reference line drawings and all the closed regions of the chromatic color target line drawings, and For each closed area, order all closed areas of the reference line drawing in ascending order of the amount of change of the feature amount and take a correspondence, and obtain color information corresponding to all closed areas of the reference line drawing from the reference picture. A color candidate list creation processing unit that creates a color candidate list for all the closed regions of the chromatic object line drawing by eliminating duplication of color information from the correspondence relationship between all the closed regions of the reference line image and the closed region of the line object to be colored An image coloring apparatus comprising: a coloring object line drawing coloring processing section for coloring a color at the head of each color candidate list for the coloring object line drawing for all closed regions of the coloring object line drawing.
【請求項14】 前記被彩色対象線画彩色部によって彩
色された彩色済被彩色対象線画と対応する色候補リスト
と前記画像彩色装置によって分離された閉領域データを
記憶装置に保存する彩色済被彩色対象線画/色候補リス
ト/閉領域情報保存処理部と、 保存された彩色済被彩色対象線画と色候補リストと閉領
域情報を前記記憶装置から読み出す彩色済被彩色対象線
画/色候補リスト/閉領域情報読み出し処理部、 読み
出された彩色済被彩色対象線画を利用者に提示する彩色
済被彩色対象線画提示部と、 彩色済被彩色対象線画の各々の閉領域について色候補リ
ストを利用者の要求に応じて提示し、利用者が色候補リ
スト上の色を選択することで指示された閉領域の色を利
用者が選択した色候補リスト上の色に変更する彩色済被
彩色対象線画色修正処理部と、 色が変更された彩色済被彩色対象線画を前記記憶装置に
保存する彩色済被彩色対象線画保存処理部とをさらに有
する、請求項13記載の装置。
14. A colored object storing a color candidate list corresponding to a colored object line image which has been colored by the object color drawing part and closed area data separated by the image coloring device in a storage device. A target line drawing / color candidate list / closed area information storage processing unit; and a colored object line drawing / color candidate list / closed which reads out the stored colored object line drawing, color candidate list, and closed area information from the storage device. A region information reading processing unit, a colored object line drawing presenting unit that presents the read colored object line drawing read to the user, and a user that displays a color candidate list for each closed region of the colored object line drawing. Is displayed according to the request of the user, and the user selects a color on the color candidate list to change the color of the specified closed area to a color on the color candidate list selected by the user. color 14. The apparatus according to claim 13, further comprising: a correction processing unit; and a colored object line drawing storage processing unit that stores the colored object line image whose color has been changed in the storage device.
【請求項15】 色情報と対応する別名の色別名リスト
を予め作成し記憶装置に保存する色別名リスト作成保存
部と、 色別名リストを前記記憶装置から読み出す色別名リスト
読み出し部をさらに有し、 前記彩色済被彩色対象線画
色修正処理部は、表示する色候補リストに色別名を付加
する、請求項14記載の装置。
15. A color alias list creating / storing unit that creates a color alias list of an alias corresponding to color information in advance and saves it in a storage device, and a color alias list reading unit that reads the color alias list from the storage device. 15. The apparatus according to claim 14, wherein the colored object line drawing color correction processing unit adds a color alias to a color candidate list to be displayed.
【請求項16】 記憶装置から読み出された、見本とな
る既に彩色された画像データ(以下リファレンス絵とす
る)の元の線画データ(以下リファレンス線画とする)
についてそのリファレンス線画を構成する全ての閉領域
を分離するリファレンス線画閉領域分離処理と、 抽出されたリファレンス線画の閉領域の、重心以外の1
種類以上の特徴量を抽出するリファレンス線画閉領域特
徴量抽出処理と、 前記記憶装置から読み出された、彩色対象となる線画像
データ(以下被彩色対象線画とする)を構成する全ての
閉領域を分離する被彩色対象線画閉領域分離処理と、 抽出された被彩色対象線画の閉領域の、重心以外の1種
類以上の特徴量を抽出する被彩色対象線画閉領域特徴量
抽出処理と、 得られたリファレンス線画の全ての閉領域と被彩色対象
線画の全ての閉領域の組み合わせでそれら各々の間の特
徴量の変化分を算出し、被彩色対象線画の閉領域毎にそ
の特徴量の変化分の小さい順にリファレンス線画の全て
の閉領域を順序付けて対応関係をとりリファレンス絵か
らリファレンス線画の全ての閉領域に対応する色情報を
得て被彩色対象線画の閉領域に対するリファレンス線画
の全ての閉領域の対応関係から色情報の重複を省くこと
により被彩色対象線画の全ての閉領域について色候補リ
ストを作成する色候補リスト作成処理と、 被彩色対象線画の全ての閉領域について各々の色候補リ
ストの先頭にある色を被彩色対象線画に彩色する被彩色
対象線画彩色処理とをコンピュータに実行させるための
画像彩色プログラムを記録した記録媒体。
16. Original line drawing data (hereinafter referred to as a reference line drawing) of sample already colored image data (hereinafter referred to as a reference picture) read from a storage device.
And a reference line drawing closed region separation process for separating all the closed regions constituting the reference line drawing, and one of the closed regions of the extracted reference line drawing other than the center of gravity.
Reference line drawing closed area feature amount extraction processing for extracting more than kinds of feature amounts, and all closed areas constituting line image data to be colored (hereinafter referred to as a color object line drawing) read from the storage device. A color object line drawing closed region separation process for separating the image data, a color object line image closed region feature value extraction process for extracting one or more types of features other than the center of gravity of the extracted closed region of the color object line image, For each combination of the closed area of the reference line drawing and the closed area of the chromatic object line drawing, the amount of change in the feature amount between them is calculated, and the change in the characteristic amount for each closed area of the chromatic object line drawing is calculated. All the closed areas of the reference line art are ordered in ascending order to obtain a correspondence, and color information corresponding to all the closed areas of the reference line art is obtained from the reference picture, and a reference to the closed area of the chromatic object line art is obtained. A color candidate list creation process for creating a color candidate list for all closed regions of the chromatic color target line image by eliminating duplication of color information from the correspondence relationship of all closed regions of the reference line image; A recording medium for recording an image coloring program for causing a computer to execute a color object line drawing coloring process for coloring a color at the head of each color candidate list for a region to a color object line drawing.
【請求項17】 前記彩色済被彩色対象線画彩色処理に
よって彩色された彩色済被彩色対象線画と対応する色候
補リストと前記画像彩色プログラムによって分離された
閉領域データを記憶装置に保存する彩色済被彩色対象線
画/色候補リスト/閉領域情報保存処理と、 保存された彩色済被彩色対象線画と色候補リストと閉領
域情報を前記記憶装置から読み出す彩色済被彩色対象線
画/色候補リスト/閉領域情報読み出し処理、 読み出された彩色済被彩色対象線画を利用者に提示する
彩色済被彩色対象線画提示処理と、 彩色済被彩色対象線画の各々の閉領域について色候補リ
ストを利用者の要求に応じて提示し、利用者が色候補リ
スト上の色を選択することで指示された閉領域の色を利
用者が選択した色候補リスト上の色に変更する彩色済被
彩色対象線画色修正処理と、 色が変更された彩色済被彩色対象線画を前記記憶装置に
保存する彩色済被彩色対象線画保存処理とをさらに有す
る、請求項16記載の記録媒体。
17. A color-finished storage device which stores in a storage device a color candidate list corresponding to a colored object line drawing which has been colored by the colored object line drawing coloring process and closed area data separated by the image coloring program. A color object line drawing / color candidate list / closed area information storing process; and a stored colored object line image / color candidate list / color candidate list / Closed area information reading processing, colored colored object line drawing presentation processing that presents the read colored object line drawing read out to the user, and a color candidate list for each closed area of the colored object line drawing painted by the user The colored object that is presented according to the request of the user and changes the color of the specified closed area to the color on the color candidate list selected by the user by selecting the color on the color candidate list 17. The recording medium according to claim 16, further comprising: a color target line drawing color correcting process; and a colored target color drawing line image storing process of storing a colored target line drawing whose color has been changed in the storage device.
【請求項18】 色情報と対応する別名の色別名リスト
を予め作成し、記憶装置に保存する色別名リスト作成保
存処理と、 色別名リストを記憶装置から読み出す色別名リスト読み
出し処理をさらに有し、 前記彩色済被彩色対象線画色修正処理は、表示する色候
補リストに色別名を付加する、請求項16記載の記録媒
体。
18. A color alias list creating / storing process for creating a color alias list of aliases corresponding to color information in advance and saving the same in a storage device, and a color alias list reading process for reading the color alias list from the storage device. 17. The recording medium according to claim 16, wherein said colored object line drawing color correction processing adds a color alias to a color candidate list to be displayed.
JP15216299A 1999-05-25 1999-05-31 Picture coloring method, picture coloring device and recording medium recording picture coloring block Pending JP2000339442A (en)

Priority Applications (12)

Application Number Priority Date Filing Date Title
JP15216299A JP2000339442A (en) 1999-05-31 1999-05-31 Picture coloring method, picture coloring device and recording medium recording picture coloring block
CA002471134A CA2471134A1 (en) 1999-05-25 2000-05-24 Image filling method, apparatus and computer readable medium for reducing filling process in producing animation
CA002309378A CA2309378C (en) 1999-05-25 2000-05-24 Image filling method, apparatus and computer readable medium for reducing filling process in producing animation
CA002471168A CA2471168C (en) 1999-05-25 2000-05-24 Image filling method, apparatus and computer readable medium for reducing filling process in producing animation
GB0223891A GB2378110B (en) 1999-05-25 2000-05-24 Image filling method,apparatus and computer readable medium for reducing filli ng process in producing animation
GB0310875A GB2386529B (en) 1999-05-25 2000-05-24 Image filling method apparatus and computer readable medium for reducing filling process in producing animation
CA002471159A CA2471159C (en) 1999-05-25 2000-05-24 Image filling method, apparatus and computer readable medium for reducing filling process in producing animation
GB0223892A GB2378111B (en) 1999-05-25 2000-05-24 Image filling method,apparatus and computer readable medium for reducing filling process in producing animation
GB0223890A GB2377871B (en) 1999-05-25 2000-05-24 Image filling method,apparatus and computer readable medium for reducing filling process in producing animation
US09/577,511 US6768488B1 (en) 1999-05-25 2000-05-24 Image filling method, apparatus and computer readable medium for reducing filling process in processing animation
GB0012713A GB2354925B (en) 1999-05-25 2000-05-24 Image filling method ,apparatus and computer readable medium for reducing filling process in producing animation
US10/772,654 US7102649B2 (en) 1999-05-25 2004-02-04 Image filling method, apparatus and computer readable medium for reducing filling process in processing animation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15216299A JP2000339442A (en) 1999-05-31 1999-05-31 Picture coloring method, picture coloring device and recording medium recording picture coloring block

Publications (1)

Publication Number Publication Date
JP2000339442A true JP2000339442A (en) 2000-12-08

Family

ID=15534388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15216299A Pending JP2000339442A (en) 1999-05-25 1999-05-31 Picture coloring method, picture coloring device and recording medium recording picture coloring block

Country Status (1)

Country Link
JP (1) JP2000339442A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009104331A1 (en) * 2008-02-19 2009-08-27 大日本スクリーン製造株式会社 Area designation apparatus, line drawing processor, area designation program, and line drawing processing program
CN110264478A (en) * 2019-06-21 2019-09-20 腾讯科技(深圳)有限公司 A kind of method and device of line manuscript base picture colouring
JP2021033686A (en) * 2019-08-26 2021-03-01 株式会社セルシス Image area extraction processing method and image area extraction processing program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009104331A1 (en) * 2008-02-19 2009-08-27 大日本スクリーン製造株式会社 Area designation apparatus, line drawing processor, area designation program, and line drawing processing program
CN110264478A (en) * 2019-06-21 2019-09-20 腾讯科技(深圳)有限公司 A kind of method and device of line manuscript base picture colouring
JP2021033686A (en) * 2019-08-26 2021-03-01 株式会社セルシス Image area extraction processing method and image area extraction processing program

Similar Documents

Publication Publication Date Title
US6768488B1 (en) Image filling method, apparatus and computer readable medium for reducing filling process in processing animation
US6404936B1 (en) Subject image extraction method and apparatus
US6774889B1 (en) System and method for transforming an ordinary computer monitor screen into a touch screen
JP2776295B2 (en) Image index generation method and image index generation device
EP1516264B1 (en) Image retrieval by generating a descriptor for each spot of an image the cells of which having visual characteristics within a selected tolerance
JP2856229B2 (en) Image clipping point detection method
JP2000187731A (en) Picture feature extraction method and recording medium which records program for making computer execute respective processes of the same and which computer can read
JPH10187936A (en) Image processor
JP2007148677A (en) Image processor and image processing method
JP2002202838A (en) Image processor
CN115812221A (en) Image generation and coloring method and device
US6731789B1 (en) Image processing apparatus and method, and storage medium
JP3490482B2 (en) Edge and contour extraction device
JP2000339442A (en) Picture coloring method, picture coloring device and recording medium recording picture coloring block
JP2005353101A (en) Image-feature extraction method and computer-readable recording medium stored with program for executing on computer each step of the method
JP2000092319A (en) Device and method for deciding scratch part on image and storage medium
JP2000310940A (en) Map information updating method and map updating device
JP3172498B2 (en) Image recognition feature value extraction method and apparatus, storage medium for storing image analysis program
CN114116474A (en) Software checking method and device, electronic equipment and storage medium
JP2002358482A (en) Method for performing color dropout
JP3199009B2 (en) Image storage / management apparatus and image index generation method
CA2471168C (en) Image filling method, apparatus and computer readable medium for reducing filling process in producing animation
CN112434632A (en) Pattern recognition method, intelligent terminal and storage medium
JP2004192121A (en) Image retrieval device, image classification method, image retrieval method, and program
JP2908451B2 (en) Method and apparatus for processing scanned video images