JPH05158207A - Formation of relief pattern based on gradation image - Google Patents

Formation of relief pattern based on gradation image

Info

Publication number
JPH05158207A
JPH05158207A JP34993591A JP34993591A JPH05158207A JP H05158207 A JPH05158207 A JP H05158207A JP 34993591 A JP34993591 A JP 34993591A JP 34993591 A JP34993591 A JP 34993591A JP H05158207 A JPH05158207 A JP H05158207A
Authority
JP
Japan
Prior art keywords
gradation image
line
relief pattern
image
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP34993591A
Other languages
Japanese (ja)
Inventor
Takahito Kanazawa
貴人 金沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP34993591A priority Critical patent/JPH05158207A/en
Publication of JPH05158207A publication Critical patent/JPH05158207A/en
Pending legal-status Critical Current

Links

Landscapes

  • Printing Methods (AREA)
  • Preparing Plates And Mask In Photomechanical Process (AREA)

Abstract

PURPOSE:To obtain the method for forming a relief pattern which can easily form the relief pattern having a smooth stereoscopic feel. CONSTITUTION:The gradation image consisting of the set of the picture elements defined in any of density values O to 255 is inputted to a computer. Plural reference lines parallel with each other apart prescribed intervals are defined on this image. The inputted gradation image is binarized and the contour lines of the designs included therein are extracted. The picture elements A to W on the reference line R6 are divided to the picture elements G to Q in the internal region of the designs and the picture elements A to F, R to W of the external region. As to the picture elements G to Q of the internal region, displacement points g to q are respectively defined in the scale position of the density value thereof. As to the external region of the designs, the reference line R6 is left as it is as a multiparallel line. As to the internal region, the connecting lines connecting the displacement points g to q are left as multiparallel lines. The relief pattern is constituted by the multiparallel lines formed in such a manner.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、階調画像に基づくレリ
ーフ模様作成方法、特に、株券などの有価証券において
偽造防止目的のために用いられるレリーフ模様の作成方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a relief pattern producing method based on a gradation image, and more particularly to a relief pattern producing method used for security purposes such as stock certificates.

【0002】[0002]

【従来の技術】株券などの有価証券では、視覚的な偽造
防止効果を与えるため、通常、券面に細かな模様が印刷
される。一般的に広く利用されている偽造防止用の模様
は、レリーフ模様である。このレリーフ模様は、立体的
な何らかのモチーフを、二次元平面に表現した模様であ
る。従来、このようなレリーフ模様を作成する場合、熟
練者が手彫りによって三次元のモチーフを彫刻して彫刻
版を作成するか、あるいは樹脂を用いた製版工程により
三次元モチーフの型をとった樹脂活版(トレリーフ版)
を作成する。そして、レリーフ彫刻機を用いて、彫刻版
あるいはトレリーフ版に形成された三次元模様を二次元
レリーフ模様に変換する作業を行う。
2. Description of the Related Art For securities such as stock certificates, a fine pattern is usually printed on the surface of the securities in order to provide a visual anti-counterfeiting effect. A commonly used anti-counterfeit pattern is a relief pattern. This relief pattern is a pattern in which some three-dimensional motif is expressed in a two-dimensional plane. Conventionally, when creating such a relief pattern, an expert engraves a three-dimensional motif by hand engraving to create an engraving plate, or a resin letterpress plate that takes a three-dimensional motif pattern by a plate making process using resin. (Treasure version)
To create. Then, a relief engraving machine is used to convert the three-dimensional pattern formed on the engraving plate or the relief plate into a two-dimensional relief pattern.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た手彫りにより彫刻版を作成する方法には、熟練した職
人の手作業により彫刻版を作成する必要があるため、コ
ストと時間がかかるという問題がある。一方、上述した
トレリーフ版を作成する方法は、手彫りに比べて労力は
かからないが、滑らかな立体感を表現することは困難で
ある。また、上述したいずれの方法においても、三次元
模様を二次元レリーフ模様に変換するために、レリーフ
彫刻機が必要になる。このレリーフ彫刻機は、機械的な
動作により三次元模様を倣いながら二次元レリーフ模様
を作成する装置であり、装置の設置スペースをかなり必
要とし、機械の老朽化とともに保守管理に手間がかかる
ようになる。
However, the above-mentioned method of making an engraving plate by hand engraving has a problem that it requires cost and time because an engraving plate needs to be made manually by a skilled craftsman. .. On the other hand, the above-described method of creating a relief plate requires less labor than hand engraving, but it is difficult to express a smooth three-dimensional effect. Further, in any of the above-mentioned methods, a relief engraving machine is required to convert a three-dimensional pattern into a two-dimensional relief pattern. This relief engraving machine is a device that creates a two-dimensional relief pattern by copying a three-dimensional pattern by mechanical operation, requires a considerable amount of installation space for the device, and requires time and labor for maintenance as the machine ages. Become.

【0004】そこで本発明は、滑らかな立体感をもった
レリーフ模様を容易に作成することのできるレリーフ模
様作成方法を提供することを目的とする。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a relief pattern creating method capable of easily creating a relief pattern having a smooth three-dimensional effect.

【0005】[0005]

【課題を解決するための手段】[Means for Solving the Problems]

(1) 本願第1の発明は、それぞれ濃度値が定義された
複数の画素からなる階調画像に基づいて、レリーフ模様
を作成する方法において、階調画像を濃度値データとし
て用意する段階と、各画素の濃度値を所定のしきい値と
比較することにより、用意した階調画像を二値化して二
値画像を得る段階と、この二値画像に基づいて、画像に
含まれる絵柄の輪郭線を抽出する段階と、階調画像上の
所定方向に、所定間隔で複数の基準線を定義する段階
と、抽出した輪郭線で区画された絵柄の内部領域内の基
準線上の画素について、その画素の濃度値に関連した距
離だけ基準線から離れた位置に変位点を定義する段階
と、輪郭線で区画された絵柄の外部領域については基準
線によって、内部領域については変位点を連結する連結
線によって、それぞれ構成される万線を定義する段階
と、を行い、複数の万線によりレリーフ模様を作成する
ようにしたものである。
(1) The first invention of the present application is a method of creating a relief pattern based on a gradation image composed of a plurality of pixels each having a defined density value, and a step of preparing the gradation image as density value data, Binarizing the prepared gradation image by comparing the density value of each pixel with a predetermined threshold value, and the outline of the pattern included in the image based on the binary image. A step of extracting a line, a step of defining a plurality of reference lines at a predetermined interval in a predetermined direction on the gradation image, and a pixel on the reference line in the internal area of the pattern defined by the extracted contour line, The step of defining a displacement point at a position distant from the reference line by a distance related to the density value of the pixel, and the reference line for the outer area of the pattern defined by the contour line, and the connection for connecting the displacement point for the inner area Composed by lines, respectively The steps of defining a line to be drawn are performed, and a relief pattern is created by a plurality of lines.

【0006】(2) 本願第2の発明は、上述の第1の発
明に係るレリーフ模様作成方法において、定義すべき基
準線上の画素のみを残す間引き処理を、入力した階調画
像に対して施し、この間引き処理を施した画像に対し
て、階調画像の二値化処理および輪郭線の抽出処理を行
うようにしたものである。
(2) In the second invention of the present application, in the relief pattern creating method according to the first invention, thinning processing for leaving only the pixels on the reference line to be defined is applied to the input gradation image. The gradation image binarization process and the contour line extraction process are performed on the image subjected to the thinning process.

【0007】[0007]

【作 用】本発明に係るレリーフ模様作成方法では、複
数の画素からなる階調画像をモチーフとしたレリーフ模
様を、コンピュータを利用して容易に作成することがで
きる。モチーフとなる階調画像は、濃度値が定義された
画素の配列データとして、コンピュータ内に用意すれば
よい。この階調画像に基づいて二値画像が作成され、こ
の二値画像に基づいて画像に含まれる輪郭線を抽出する
ことができる。また、階調画像上に複数の基準線が定義
され、この基準線に基いて万線が作成される。作成され
た万線は、モチーフとなる階調画像に含まれる絵柄の部
分では、その画素の濃度値に応じて曲折した線になる。
したがって、この万線によってレリーフ模様を構成する
ようにすれば、もとになったモチーフが視覚的に浮き出
たように見える。結局、コンピュータに二次元の階調画
像データを入力するだけで、この画像をモチーフとした
レリーフ模様が自動的に作成される。
[Operation] In the relief pattern creating method according to the present invention, a relief pattern having a gradation image composed of a plurality of pixels as a motif can be easily created using a computer. The gradation image serving as a motif may be prepared in a computer as array data of pixels whose density values are defined. A binary image is created based on this gradation image, and the contour line included in the image can be extracted based on this binary image. In addition, a plurality of reference lines are defined on the gradation image, and lines are created based on these reference lines. The created parallel line becomes a bent line in accordance with the density value of the pixel in the portion of the picture included in the gradation image that is the motif.
Therefore, if the relief pattern is formed by these lines, the original motif appears to be visually highlighted. After all, simply by inputting the two-dimensional gradation image data to the computer, a relief pattern having this image as a motif is automatically created.

【0008】[0008]

【実施例】以下、本発明を図示する実施例に基いて説明
する。図1は、本発明の一実施例に係るレリーフ模様作
成方法を実施するためのコンピュータ内における処理手
順を示す流れ図である。まず、ステップS1において、
階調画像の入力を行う。この階調画像は、濃度値が定義
された複数の画素からなる画像であり、この実施例で
は、1画素を8ビットの濃度値情報で表現した階調画像
をデータとしてコンピュータに入力している。すなわ
ち、各画素には0〜255のうちのいずれかの濃度値が
与えられることになる。このような階調画像の入力は、
スキャナ装置などを用いて行えばよい。本発明では、こ
の階調画像に含まれる絵柄をモチーフとして、レリーフ
模様の作成が行われる。ここでは、発明の理解を容易に
するため、図2に示すような階調画像をスキャナ装置か
ら入力した場合を例にとって、以下の説明を行うことに
する。この階調画像は、23×23の画素配列をもった
画像であり、中心部へゆくほど濃度値が高いパターンに
なっている。図2の左下に、各画素に定義された濃度値
を示す。なお、この階調画像は、説明の便宜上、極端に
単純な例として示したものであり、実際には、より画素
数が多く解像度の高い階調画像を用いるのが一般的であ
る。
EXAMPLES The present invention will be described below with reference to illustrated examples. FIG. 1 is a flowchart showing a processing procedure in a computer for carrying out a relief pattern creating method according to an embodiment of the present invention. First, in step S1,
Input a gradation image. This gradation image is an image composed of a plurality of pixels whose density values are defined. In this embodiment, a gradation image in which one pixel is represented by 8-bit density value information is input to the computer as data. .. That is, the density value of any one of 0 to 255 is given to each pixel. Inputting such a gradation image
It may be performed using a scanner device or the like. In the present invention, the relief pattern is created using the pattern included in the gradation image as a motif. Here, in order to facilitate understanding of the invention, the following description will be given by taking a case where a gradation image as shown in FIG. 2 is input from a scanner device as an example. This gradation image is an image having a 23 × 23 pixel array, and has a pattern in which the density value increases toward the center. At the lower left of FIG. 2, the density value defined for each pixel is shown. It should be noted that this gradation image is shown as an extremely simple example for convenience of explanation, and in practice, a gradation image having a larger number of pixels and a higher resolution is generally used.

【0009】階調画像をデータとしてコンピュータに取
り込んだら、続いて、ステップS2において間引き処理
を行う。この間引き処理は、必ずしも必要な処理ではな
いが、演算負担を軽減するためには行うのが好ましい。
この間引き処理は、後述するステップS5において行わ
れる基準線定義処理と関連している。すなわち、ステッ
プS5において定義される基準線の上にのる画素を残
し、それ以外の画素を間引く処理を行うのである。これ
を具体的に説明しよう。いま、図2に示すように、所定
間隔dで基準線R1,R2を水平方向に定義したものと
する。この間隔dは、ちょうど2画素のピッチに相当す
る。したがって、この間隔で多数の基準線を定義した場
合、各基準線は、すべて偶数行の画素上にのることにな
る。本発明では、これ以下の処理はすべて基準線上の画
素についてのみ行えば足りるので、基準線上にない画
素、すなわち、奇数行の画素については以下の処理を行
わなくてもかまわない。そこで、ステップS2の間引き
処理によって、予め不要な画素を間引く処理を行い、後
のステップの演算負担を軽減するのである。ここに示す
実施例では、奇数行の画素がすべて間引かれ、図2に示
す階調画像は図3に示す階調画像に変換される。別言す
れば、基準線上の画素だけが残ることになる。
After the gradation image is loaded as data into the computer, the thinning process is performed in step S2. This thinning-out processing is not always necessary, but it is preferable to perform it in order to reduce the calculation load.
This thinning-out process is related to the reference line definition process performed in step S5 described later. That is, the pixels on the reference line defined in step S5 are left and the other pixels are thinned out. Let me explain this concretely. Now, as shown in FIG. 2, it is assumed that the reference lines R1 and R2 are defined in the horizontal direction at a predetermined interval d. This interval d corresponds to a pitch of exactly 2 pixels. Therefore, when a large number of reference lines are defined at this interval, each reference line will lie on pixels in even rows. In the present invention, it is sufficient to carry out all the processes subsequent to this on only the pixels on the reference line, so it is not necessary to perform the following processes on pixels that are not on the reference line, that is, on pixels in odd rows. Therefore, the thinning process of step S2 is performed to thin unnecessary pixels in advance, thereby reducing the calculation load of the subsequent steps. In the embodiment shown here, all the pixels in odd rows are thinned out, and the gradation image shown in FIG. 2 is converted into the gradation image shown in FIG. In other words, only the pixels on the reference line remain.

【0010】続くステップS3では二値化処理が行われ
る。この二値化処理は、入力した階調画像に含まれる絵
柄から輪郭線を抽出するために必要な処理であり、濃度
値について所定のしきい値を設定し、各画素の濃度値を
このしきい値と比較することにより、「0」または
「1」のいずれかの値を定義する処理である。たとえ
ば、図3に示す階調画像について、しきい値=128と
設定して二値化を行い、濃度値がしきい値以上の画素に
ついては「1」、濃度値がしきい値未満の画素について
は「0」を与える処理を行えば、図4に示すような二値
画像(「1」と記されていない画素はすべて「0」の画
素)が得られる。階調画像として、レリーフ模様のモチ
ーフとなる何らかの絵柄を含んだ画像を用いるようにす
れば、この二値化処理によって、この絵柄の形状が明瞭
に浮き出てくることになる。逆に、内在している絵柄の
形状が明瞭に浮き出るように、しきい値の設定を行うこ
とになる。
In the subsequent step S3, binarization processing is performed. This binarization processing is necessary to extract the contour line from the pattern included in the input gradation image. A predetermined threshold value is set for the density value, and the density value of each pixel is This is a process of defining a value of either "0" or "1" by comparing with a threshold value. For example, with respect to the gradation image shown in FIG. 3, threshold value = 128 is set and binarization is performed. Is processed, a binary image as shown in FIG. 4 (pixels not marked with "1" are all pixels with "0") is obtained. If an image including some pattern that serves as a relief pattern motif is used as the gradation image, the shape of this pattern is clearly highlighted by this binarization processing. On the contrary, the threshold value is set so that the shape of the underlying pattern is clearly highlighted.

【0011】こうして、二値画像が得られたら、ステッ
プS4において輪郭線抽出処理を行う。二値画像から輪
郭線を抽出する手法については、種々の方法が公知であ
るため、本明細書ではこの処理方法についての説明は省
略する。この実施例では、図4に示す二値画像に基づい
て、図5に示すようなベクトルデータで示される輪郭線
情報を抽出している。輪郭線の情報は、このようなベク
トルデータに限らず、どのような形式で抽出してもかま
わない。後述するように、この輪郭線情報は、絵柄の内
側領域か外側領域かを判断する基準として利用するもの
であり、この判断の基準として利用できる態様であれ
ば、どのような形式の情報であってもよい。なお、ステ
ップS3の二値化処理およびステップS4の輪郭線抽出
処理は、いずれも間引きされた画像に対して行われてい
る。したがって、ステップS4で得られた輪郭線情報
は、間引きされた画像についての輪郭線を示すものであ
り、図5に示す輪郭線は図2に示す画像に内在する輪郭
線に対して偏平な形状をしたものとなっている。
After the binary image is obtained in this way, contour line extraction processing is performed in step S4. Various methods are known as a method for extracting a contour line from a binary image, and therefore, a description of this processing method is omitted in this specification. In this embodiment, the contour line information represented by the vector data shown in FIG. 5 is extracted based on the binary image shown in FIG. The contour information is not limited to such vector data and may be extracted in any format. As will be described later, the contour line information is used as a criterion for judging whether the area is the inside area or the outside area of the pattern, and in any format that can be used as the criterion for this judgment, any form of information can be used. May be. The binarization processing in step S3 and the contour line extraction processing in step S4 are both performed on the thinned images. Therefore, the contour line information obtained in step S4 indicates the contour line of the thinned image, and the contour line shown in FIG. 5 has a flattened shape with respect to the contour line existing in the image shown in FIG. It has been done.

【0012】続いて、ステップS5において、基準線の
定義を行う。もっとも、本実施例では、説明の便宜上、
このステップS5に基準線定義処理をもってきている
が、実際には、どの段階で基準線の定義を行ってもかま
わない。図2に示すように、基準線は、入力した階調画
像上に所定方向を向いた所定間隔dの直線として定義さ
れる。この基準線は、レリーフ模様を形成するために印
刷する万線の基本となる線である。図2では、基準線R
1,R2に比べて1つの画素の大きさがかなり大きくな
っているが、実際には、印刷される万線の太さと1画素
の大きさとは、ほぼ同程度のものとなる。したがって、
図2に示すように、基準線の間隔dを2画素ピッチとし
た場合、実際には、印刷される万線が密になりすぎる可
能性がある。したがって、現実的には、基準線の間隔d
は5〜20画素ピッチ程度(もちろん、本発明がこの数
値範囲に限定されるものではないが)にするのが一般的
である。本実施例の場合、間引き処理を施した画像につ
いて考えれば、図6に示すように、11本の基準線R1
〜R11が定義されることになる。
Then, in step S5, a reference line is defined. However, in this embodiment, for convenience of explanation,
Although the reference line definition processing is performed in step S5, the reference line may be defined at any stage in practice. As shown in FIG. 2, the reference line is defined as a straight line having a predetermined distance d directed in a predetermined direction on the input gradation image. The reference line is a basic line of lines printed to form a relief pattern. In FIG. 2, the reference line R
Although the size of one pixel is considerably larger than those of 1 and R2, in reality, the thickness of a printed line and the size of one pixel are substantially the same. Therefore,
As shown in FIG. 2, when the distance d between the reference lines is set to 2 pixel pitch, the printed lines may actually be too dense. Therefore, in reality, the interval d between the reference lines is
Is generally set to about 5 to 20 pixel pitch (although the present invention is not limited to this numerical range). In the case of the present embodiment, considering an image subjected to thinning processing, as shown in FIG. 6, eleven reference lines R1
~ R11 will be defined.

【0013】さて、続くステップS6では、変位点の定
義が行われる。この変位点は、基準線の一部を曲折させ
るための点である。以後の処理を大まかに説明すると、
「図6に示すように定義された基準線R1〜R11のう
ち、図5に示す輪郭線で囲まれた絵柄の内部領域に相当
する部分を曲折させる処理」ということができる。どの
程度曲折させるかは、各画素の濃度値に基づいて決定さ
れる。以下、この処理を具体例に即して説明しよう。こ
こでは、基準線R6についての処理について説明する。
図7は、入力した階調画像を構成する画素のうち、基準
線R6上の画素1行分のみを抽出した図である。いま、
各画素を図のように画素A〜画素Wと呼ぶことにする。
各画素の濃度値は、図の下方に示した数値のとおり50
〜255に分布している。まず、この23画素のうち、
絵柄の内部領域にある画素を特定する。これは、図5に
示す輪郭線に基づいて容易に決定できる。すなわち、画
素Gおよび画素Qが輪郭線上の画素であるから、これら
輪郭線上の画素を内部領域として取り扱うようにすれ
ば、画素G〜Qが内部領域の画素、画素A〜Fおよび画
素R〜Wが外部領域の画素ということになる。このよう
な内部領域および外部領域の具体的な認識は、たとえ
ば、画素を水平方向に左から右へと走査してゆき、輪郭
線を示すベクトルと何回交差したかを計数することによ
り論理的に行うことができる。すなわち、交差回数が偶
数回(0を含む)であれば、現在走査中の画素は外部領
域の画素であり、交差回数が奇数回であれば、現在走査
中の画素は内部領域の画素であるものと認識しうる。
Now, in the subsequent step S6, the displacement point is defined. This displacement point is a point for bending a part of the reference line. The process after that is roughly explained as follows.
It can be said that, of the reference lines R1 to R11 defined as shown in FIG. 6, the process of bending the portion corresponding to the internal area of the pattern surrounded by the contour line shown in FIG. The degree of bending is determined based on the density value of each pixel. Hereinafter, this process will be described with reference to a concrete example. Here, the process for the reference line R6 will be described.
FIG. 7 is a diagram in which only one row of pixels on the reference line R6 is extracted from the pixels forming the input gradation image. Now
Each pixel will be referred to as pixel A to pixel W as shown in the figure.
The density value of each pixel is 50 as shown in the figure below.
It is distributed to ~ 255. First of all, of these 23 pixels
The pixels in the internal area of the design are specified. This can be easily determined based on the contour line shown in FIG. That is, since the pixels G and Q are pixels on the contour line, if the pixels on the contour line are handled as the internal region, the pixels G to Q are the pixels in the internal region, the pixels A to F, and the pixels R to W. Are pixels in the external area. Such specific recognition of the internal area and the external area is logically performed by, for example, scanning pixels horizontally from left to right and counting how many times the vector indicating the contour line is crossed. Can be done. That is, if the number of intersections is an even number (including 0), the pixel currently being scanned is a pixel in the external region, and if the number of intersections is an odd number, the pixel currently being scanned is a pixel in the internal region. It can be recognized as something.

【0014】続いて、内部領域の画素については、その
画素の濃度値に関連した距離だけ基準線から離れた位置
に変位点の定義を行う。この実施例では、図8に示すよ
うに、基準線R6の位置を濃度値128に対応させ、こ
の基準線R6から上方に濃度値128〜255の目盛り
を等間隔にとり、下方に濃度値0〜128の目盛りを等
間隔にとり、各画素の上方または下方の各濃度値に対応
する目盛り位置に変位点を定義している。たとえば、画
素G,Hについては、濃度値が150であるから、図8
に示すように、基準線R6のやや上方に変位点g,hが
定義される。同様に、画素I〜Qについても、図のよう
に変位点i〜qが定義される。目盛りの間隔を広げれ
ば、変位点の位置がそれだけ基準線から離れることにな
り、立体感の強いレリーフ模様を作成することができ
る。逆に、目盛りの間隔を狭めれば、変位点の位置がそ
れだけ基準線に近付くことになり、立体感の弱いレリー
フ模様を作成することができる。したがって、作成した
いレリーフ模様に応じて、目盛りの間隔を任意に設定す
ればよい。また、この実施例では、基準線R6の位置を
濃度値128に対応させたが、基準線の位置に対応する
濃度値は、任意に設定してかまわない。更に、目盛りの
間隔は必ずしも等間隔にする必要はない。
Then, for the pixel in the internal area, a displacement point is defined at a position separated from the reference line by a distance related to the density value of the pixel. In this embodiment, as shown in FIG. 8, the position of the reference line R6 is made to correspond to the density value 128, the scales of the density values 128 to 255 are arranged above the reference line R6 at equal intervals, and the density values 0 to 0 are arranged below. Displacement points are defined at graduation positions corresponding to respective density values above or below each pixel with 128 graduations at equal intervals. For example, since the density values of the pixels G and H are 150,
As shown in, the displacement points g and h are defined slightly above the reference line R6. Similarly, for pixels I to Q, displacement points i to q are defined as shown in the figure. If the intervals between the scales are widened, the positions of the displacement points are moved farther from the reference line, and a relief pattern having a strong three-dimensional effect can be created. On the contrary, if the interval between the scales is narrowed, the position of the displacement point comes closer to the reference line, and a relief pattern with a weak stereoscopic effect can be created. Therefore, the scale interval may be set arbitrarily according to the relief pattern to be created. Further, in this embodiment, the position of the reference line R6 corresponds to the density value 128, but the density value corresponding to the position of the reference line may be set arbitrarily. Furthermore, the scale intervals do not necessarily have to be even.

【0015】最後に、ステップS7において、万線の定
義が行われる。万線の構成は絵柄の外部領域と内部領域
とで異なる。すなわち、絵柄の外側領域については、定
義した基準線をそのまま万線として用いる。これに対し
て、絵柄の内側領域については、定義した変位点を連結
する連結線を万線とする。具体的には、図9に示すよう
に、画素A〜Gまで、および画素Q〜Wまでの外側領域
については、基準線R6をそのまま万線として用い、画
素G〜Qまでの内側領域については、変位点g〜qを順
に連結してなる連結線を万線として用いる。図10は、
基準線R4〜R8に基づいて作成された万線を示す。万
線の盛り上がりが高い部分は、モチーフとなった階調画
像において濃度値の高い部分に相当する。ステップS6
における濃度値の目盛りの設定の仕方によっては、逆
に、濃度値の低い部分について万線の盛り上がりを高く
することも可能である。また、図10の例では、万線は
上方へ盛り上がっているが、逆に、下方にくぼむように
することも可能である。本発明では、この複数の万線に
よりレリーフ模様が作成される。別言すれば、コンピュ
ータからは、この万線のみからなる画像データがレリー
フ模様として出力されることになる。
Finally, in step S7, lines are defined. The structure of the line differs between the outer area and the inner area of the pattern. That is, for the outer region of the pattern, the defined reference line is used as it is as a line. On the other hand, regarding the inner area of the pattern, the connecting line connecting the defined displacement points is defined as a parallel line. Specifically, as shown in FIG. 9, the reference line R6 is used as a straight line for the outer areas of the pixels A to G and the pixels Q to W, and the inner area of the pixels G to Q is used as it is. , A connecting line formed by connecting the displacement points g to q in order is used as a parallel line. Figure 10
A line created based on the reference lines R4 to R8 is shown. The portion where the ridge of the line is high corresponds to the portion where the density value is high in the gradation image that is the motif. Step S6
On the contrary, depending on how to set the scale of the density value in the above, it is possible to increase the ridge of the parallel line in the portion where the density value is low. Further, in the example of FIG. 10, the line is raised upward, but conversely, it is possible to make a depression downward. In the present invention, the relief pattern is created by the plurality of lines. In other words, the computer outputs the image data including only the lines as a relief pattern.

【0016】なお、前述したように、実際には、各画素
の大きさと万線の太さとは、ほぼ同程度のものとなるの
で、作成された万線はより滑らかなものとなる。図11
は、本発明により実際に作成されたレリーフ模様の一例
を示す図である。図11(a)に示すような輪郭線をもっ
た絵柄をモチーフとして、本発明によるレリーフ模様作
成方法を実施すると、たとえば、図11(b) に示すよう
なレリーフ模様が得られることになる。このレリーフ模
様には、図11(a) に示すモチーフが立体的に表現され
ていることが認識できよう。なお、本明細書における絵
柄の内部領域および外部領域は、どの部分を絵柄とみな
すかという事項に依存する相対的な概念であり、絶対的
な内側および外側を示すものではない。たとえば、図1
1(a) に示す図形において、ドーナツ状のリングの中央
に縦の帯が重なった図形を絵柄とみなせば、領域Xは外
部領域、領域Yは内部領域、領域Zは外部領域となる。
ところが、ネガとポジとの関係を反転させた図形を絵柄
とみなせば、領域Xは内部領域、領域Yは外部領域、領
域Zは内部領域ということができる。
As described above, in reality, the size of each pixel and the thickness of the line are substantially the same, so the line created is smoother. 11
FIG. 6 is a diagram showing an example of a relief pattern actually created by the present invention. When the relief pattern creating method according to the present invention is carried out using a pattern having an outline as shown in FIG. 11 (a) as a motif, a relief pattern as shown in FIG. 11 (b) can be obtained, for example. It can be recognized that the motif shown in FIG. 11 (a) is three-dimensionally expressed in this relief pattern. The internal area and the external area of the pattern in this specification are relative concepts that depend on what part is considered to be the pattern, and do not indicate absolute inside and outside. For example, in Figure 1.
In the figure shown in FIG. 1 (a), if the figure in which the vertical band overlaps the center of the donut-shaped ring is regarded as a pattern, the area X becomes the outer area, the area Y becomes the inner area, and the area Z becomes the outer area.
However, if a figure in which the relationship between the negative and the positive is reversed is regarded as a pattern, it can be said that the region X is the inner region, the region Y is the outer region, and the region Z is the inner region.

【0017】以上、本発明を図示するいくつかの実施例
に基いて説明したが、本発明はこれらの実施例のみに限
定されるものではなく、この他にも種々の態様で実施可
能である。たとえば、上述の実施例では、基準線はいず
れも完全な直線であったが、なめらかな曲線や波線など
を用いることも可能である。更に、基準線を定義する際
に、二方向以上の基準線を定義するようにすれば、より
立体感のあるレリーフ模様の作成が可能になる。
Although the present invention has been described above based on several illustrated embodiments, the present invention is not limited to these embodiments and can be carried out in various modes other than this. .. For example, in the above-mentioned embodiments, the reference lines are all perfect straight lines, but it is also possible to use smooth curves or wavy lines. Further, when defining the reference line, if the reference lines in two or more directions are defined, it is possible to create a relief pattern having a more three-dimensional effect.

【0018】[0018]

【発明の効果】以上のとおり、本発明によれば、階調画
像に複数の基準線を定義し、絵柄の外部領域については
この基準線をそのまま万線とし、内部領域についてはこ
の基準線を画素の濃度値に応じて曲折させた線を万線と
し、これらの万線によりレリーフ模様を作成するように
したため、滑らかな立体感をもったレリーフ模様を容易
に作成することができるようになる。
As described above, according to the present invention, a plurality of reference lines are defined in a gradation image, the reference lines are used as they are for the outer area of the pattern, and the reference lines are used for the inner area. The lines bent according to the density value of the pixel are set as parallel lines, and the relief pattern is created by these parallel lines. Therefore, it is possible to easily create a relief pattern having a smooth three-dimensional effect. ..

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

【図1】本発明の一実施例に係るレリーフ模様作成方法
を実施するためのコンピュータ内における処理手順を示
す流れ図である。
FIG. 1 is a flowchart showing a processing procedure in a computer for carrying out a relief pattern creating method according to an embodiment of the present invention.

【図2】本発明に係るレリーフ模様作成方法においてモ
チーフとして用いられる階調画像の一例を示す図であ
る。
FIG. 2 is a diagram showing an example of a gradation image used as a motif in the relief pattern creating method according to the present invention.

【図3】図2に示す階調画像を間引いた画像を示す図で
ある。
FIG. 3 is a diagram showing an image obtained by thinning out the gradation image shown in FIG.

【図4】図3に示す階調画像を二値化することにより得
られる二値画像を示す図である。
4 is a diagram showing a binary image obtained by binarizing the gradation image shown in FIG.

【図5】図4に示す二値画像から抽出された輪郭線を示
す図である。
5 is a diagram showing a contour line extracted from the binary image shown in FIG.

【図6】図3に示す階調画像について定義された基準線
を示す図である。
FIG. 6 is a diagram showing reference lines defined for the gradation image shown in FIG.

【図7】1つの基準線上の画素列を示す図である。FIG. 7 is a diagram showing pixel rows on one reference line.

【図8】図7に示す画素について定義された変位点を示
す図である。
8 is a diagram showing displacement points defined for the pixel shown in FIG. 7. FIG.

【図9】図8に示す基準線および変位点に基づいて万線
を作成する方法を示す図である。
9 is a diagram showing a method of creating a parallel line based on the reference line and the displacement points shown in FIG.

【図10】図9に示された方法によって作成された5本
の万線を示す図である。
10 is a diagram showing five lines created by the method shown in FIG. 9. FIG.

【図11】本発明に係る方法で作成された実際のレリー
フ模様の一例を示す図である。
FIG. 11 is a diagram showing an example of an actual relief pattern created by the method according to the present invention.

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

A〜W…画素 g〜q…変位点 R1〜R11…基準線 A to W ... Pixels g to q ... Displacement points R1 to R11 ... Reference line

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 それぞれ濃度値が定義された複数の画素
からなる階調画像に基づいて、レリーフ模様を作成する
方法であって、 階調画像を濃度値データとして用意する段階と、 各画素の濃度値を所定のしきい値と比較することによ
り、前記階調画像を二値化して二値画像を得る段階と、 前記二値画像に基づいて、画像に含まれる絵柄の輪郭線
を抽出する段階と、 前記階調画像上の所定方向に、所定間隔で複数の基準線
を定義する段階と、 前記輪郭線で区画された絵柄の内部領域内の前記基準線
上の画素について、その画素の濃度値に関連した距離だ
け基準線から離れた位置に変位点を定義する段階と、 前記輪郭線で区画された絵柄の外部領域については前記
基準線によって、内部領域については前記変位点を連結
する連結線によって、それぞれ構成される万線を定義す
る段階と、 を有し、複数の万線によりレリーフ模様を作成すること
を特徴とする階調画像に基づくレリーフ模様作成方法。
1. A method of creating a relief pattern based on a gradation image composed of a plurality of pixels each having a defined density value, the method comprising: preparing a gradation image as density value data; Binarizing the gradation image by comparing a density value with a predetermined threshold value to obtain a binary image; and extracting a contour line of a pattern included in the image based on the binary image. A step of defining a plurality of reference lines at a predetermined interval in a predetermined direction on the gradation image; a pixel on the reference line in the internal region of the pattern defined by the contour line, the density of the pixel Defining a displacement point at a position distant from the reference line by a distance related to the value, and connecting the displacement point with the reference line for the outer region of the pattern defined by the contour line and with the inner region. By the line it A method for creating a relief pattern based on a gradation image, comprising: a step of defining each parallel line, and a step of creating a relief pattern by a plurality of lines.
【請求項2】 請求項1に記載の方法において、 定義すべき基準線上の画素のみを残す間引き処理を、入
力した階調画像に対して施し、この間引き処理を施した
画像に対して、階調画像の二値化処理および輪郭線の抽
出処理を行うようにしたことを特徴とする階調画像に基
づくレリーフ模様作成方法。
2. The method according to claim 1, wherein a thinning process for leaving only pixels on a reference line to be defined is performed on an input gradation image, and the image subjected to the thinning process A relief pattern creating method based on a gradation image, characterized in that a tonal image binarization process and a contour line extraction process are performed.
JP34993591A 1991-12-10 1991-12-10 Formation of relief pattern based on gradation image Pending JPH05158207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34993591A JPH05158207A (en) 1991-12-10 1991-12-10 Formation of relief pattern based on gradation image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34993591A JPH05158207A (en) 1991-12-10 1991-12-10 Formation of relief pattern based on gradation image

Publications (1)

Publication Number Publication Date
JPH05158207A true JPH05158207A (en) 1993-06-25

Family

ID=18407105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34993591A Pending JPH05158207A (en) 1991-12-10 1991-12-10 Formation of relief pattern based on gradation image

Country Status (1)

Country Link
JP (1) JPH05158207A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5491661B1 (en) * 2013-07-01 2014-05-14 正義 平井 Image generation method, image generation apparatus, image generation program, engraving method, and engraving

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5491661B1 (en) * 2013-07-01 2014-05-14 正義 平井 Image generation method, image generation apparatus, image generation program, engraving method, and engraving
JP2015024496A (en) * 2013-07-01 2015-02-05 正義 平井 Image creation method, image creation device, image creation program, engraving object manufacturing method and engraving object

Similar Documents

Publication Publication Date Title
JPH118755A (en) Method for scanning and detecting many photographs and removing artificial edge
CN111161288B (en) Image processing method and device
US5982940A (en) Image data processing device and method of processing image data
US8553985B2 (en) Image processing apparatus, image processing method and computer-readable medium
US6608702B1 (en) Method for generating threshold patterns and gradation image binarizing device
JP2502175B2 (en) Original image pattern data reproducing method and device
JPH05158207A (en) Formation of relief pattern based on gradation image
JP4928325B2 (en) Image processing method, image processing apparatus, program, and storage medium
EP0612182A2 (en) Pixel and data format conversion processor for gravure
CN106056575A (en) Image matching method based on object similarity recommended algorithm
US6567565B1 (en) Antialiased image rendering algorithm
JP4324417B2 (en) Image processing apparatus and image processing method
JPH05120450A (en) Relief pattern preparing method based on binary picture and print having relief pattern
JPS6275884A (en) Describing method for document pattern
TW201905443A (en) Image processing method and defect inspection method
EP4383125A1 (en) Two-dimensional code, generation device, and reading device
JP2789622B2 (en) Character / graphic area determination device
JP3889118B2 (en) Endless image reduction method and reduction apparatus
US20070139718A1 (en) Color image edge enhancement method
US20070139670A1 (en) Color image edge enhancement method
JP2647455B2 (en) Halftone dot area separation device
JP3858052B6 (en) Information input / output method using dot pattern
JP2641392B2 (en) Digital halftone screen generation method and apparatus
JPH022189B2 (en)
JP2772220B2 (en) Image data conversion apparatus and image data conversion method