JP2021037660A - Stamp image processing device and stamp processing machine - Google Patents

Stamp image processing device and stamp processing machine Download PDF

Info

Publication number
JP2021037660A
JP2021037660A JP2019159273A JP2019159273A JP2021037660A JP 2021037660 A JP2021037660 A JP 2021037660A JP 2019159273 A JP2019159273 A JP 2019159273A JP 2019159273 A JP2019159273 A JP 2019159273A JP 2021037660 A JP2021037660 A JP 2021037660A
Authority
JP
Japan
Prior art keywords
image
gradation
stamp
face
conversion
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.)
Granted
Application number
JP2019159273A
Other languages
Japanese (ja)
Other versions
JP7367924B2 (en
Inventor
慎磨 丸岡
Shimma Maruoka
慎磨 丸岡
亜紀子 渕上
Akiko Fuchigami
亜紀子 渕上
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.)
Shachihata Inc
Original Assignee
Shachihata Inc
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 Shachihata Inc filed Critical Shachihata Inc
Priority to JP2019159273A priority Critical patent/JP7367924B2/en
Publication of JP2021037660A publication Critical patent/JP2021037660A/en
Application granted granted Critical
Publication of JP7367924B2 publication Critical patent/JP7367924B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Color, Gradation (AREA)
  • Manufacture Or Reproduction Of Printing Formes (AREA)

Abstract

To provide a stamp image processing device and a stamp processing machine which can create a stamp of a clear face photograph image without using a color chart.SOLUTION: A stamp image processing device comprises: face image detection means 11 which detects a face image from an input face photograph; background image detection means 12 which detects a background image; gradation correction means 13 which converts these images into a gray scale; correction image storage means 21 which stores the face image and background image converted into the gray scale and the whole image; gradation conversion means 14 which decides a conversion reference value from the gradation of the stored background image and converts the gradation of the whole image on the basis of the conversion reference value; converted image storage means 23 which stores the whole image with the converted gradation; binarization arithmetic means 16 which binarizes the stored whole image; and binarized image storage means 27 which stores the binarized whole image. The binarized image is sent to a stamp processing machine 30 to create a porous stamp 40.SELECTED DRAWING: Figure 1

Description

本発明は、人物写真からその印判を作成するために用いられる印判用画像処理装置および印判加工機に関するものである。 The present invention relates to a stamp image processing device and a stamp processing machine used to create a stamp from a portrait.

ユーザが撮影した顔写真を基に印判を自動作成する装置が開発され、既に実用化されている。この装置を用いれば、ユーザは自分や友人の顔写真を入力し、オリジナルの印判を手軽に作成することができる。 A device that automatically creates a stamp based on a face photograph taken by a user has been developed and has already been put into practical use. Using this device, the user can easily create an original stamp by inputting a photo of himself or a friend's face.

この印判は、インク吸蔵体となる多孔質材を、例えば特許文献1に示されるようなサーマルヘッドを備えた印判加工機を用いて熱加工処理して製造することができる。サーマルヘッドはライン状に配置された多数の発熱素子を備え、サーマルヘッドを移動させながら多孔質材の表面に接触させ、各発熱素子を選択的に発熱駆動して多孔質材を溶融固化させ、1ラインずつ印面を作成する。多孔質材の溶融固化された部位はインクが通過できないため捺印したときに白色となり、その他の部位にはインクが滲出するためインクの色に着色される。本明細書では説明を簡素化するため、インクを黒色として説明するが、インクの色は任意であることはいうまでもない。 This stamp can be produced by heat-processing a porous material to be an ink occlusion body, for example, using a stamp processing machine equipped with a thermal head as shown in Patent Document 1. The thermal head is provided with a large number of heat generating elements arranged in a line, and the thermal head is moved to come into contact with the surface of the porous material, and each heat generating element is selectively heat-driven to melt and solidify the porous material. Create stamps one line at a time. Since the ink cannot pass through the melt-solidified portion of the porous material, the portion becomes white when stamped, and the other portion is colored in the color of the ink because the ink exudes. In the present specification, the ink is described as black for the sake of brevity, but it goes without saying that the color of the ink is arbitrary.

このように、印判の印面は2値化された微細な点の集合図形として構成されるが、顔写真を単純に2値化して印判としただけでは印面が粗く、見苦しくなる。そこで特許文献2には、元画像を256諧調のグレースケールに変換し、変換値を補正したうえ、周知のドット分散型ディザマトリックスを利用してハーフトーンを表現した印面とする画像処理法が提案されている。 In this way, the stamp surface of the stamp is configured as a set figure of fine points that are binarized, but if the face photograph is simply binarized to form the stamp, the stamp surface becomes rough and unsightly. Therefore, Patent Document 2 proposes an image processing method in which the original image is converted into a grayscale with 256 gradations, the conversion value is corrected, and then a well-known dot-dispersed dither matrix is used to form a stamp surface expressing halftone. Has been done.

しかし特許文献2の画像処理法は顔写真の印判に特定されたものではなく、一般的な元画像を対象としている。そのため顔写真を元画像とし、サーマルヘッドを用いた印判作成に特許文献2の画像処理法を適用した場合には、次の2つの問題があった。 However, the image processing method of Patent Document 2 is not specified in the stamp of a facial photograph, but targets a general original image. Therefore, when the image processing method of Patent Document 2 is applied to the stamp creation using the thermal head using the face photograph as the original image, there are the following two problems.

第1に、顔写真の背景の明度が高く白色に近い場合、サーマルヘッドは顔の周囲の広い部分を溶融固化させることとなる。このため多孔質体に多くの熱が加えられることとなり、その余熱によって顔付近の多孔質体の開口が僅かに閉じてしまい、顔画像にひずみが生ずることがある。 First, when the background of the facial photograph has a high brightness and is close to white, the thermal head melts and solidifies a wide portion around the face. For this reason, a large amount of heat is applied to the porous body, and the residual heat causes the opening of the porous body near the face to be slightly closed, which may cause distortion in the face image.

第2に、顔写真では特に顔の表情を鮮明にすることが求められるが、背景の明度が高すぎたり低すぎる場合には、顔部分が白くなったり暗くなったりして、きれいな印面が得られないことがあった。 Secondly, it is required to make the facial expression clear especially in the facial photograph, but if the background brightness is too high or too low, the face part becomes white or dark, and a beautiful stamp surface is obtained. There were times when I couldn't.

このほか、特許文献3には印判用画像処理ではないが、基準色で構成された色票と単色の背景を被写体と同時に撮影し、この色票部分の画像データを基準として画像全体の画像データを補正し、色調を調整する画像処理法が記載されている。しかし基準色の色票と単色の背景を条件としており、一般ユーザが手軽に撮影した顔写真には適用することができなかった。 In addition, although Patent Document 3 does not use image processing for stamping, a color tag composed of a reference color and a single color background are photographed at the same time as the subject, and the image data of the entire image is taken with reference to the image data of the color tag portion. An image processing method for correcting and adjusting the color tone is described. However, it cannot be applied to a face photograph easily taken by a general user because it requires a color tag of a standard color and a single color background.

特許第6399308号公報Japanese Patent No. 6399308 特許第4122669号公報Japanese Patent No. 4122669 特開平7−274194号公報Japanese Unexamined Patent Publication No. 7-274194

従って本発明の目的は上記した従来の問題点を解決し、色票を用いることなく、鮮明な顔写真画像の印判を作成することができる印判用画像処理装置および印判加工機を提供することである。 Therefore, an object of the present invention is to solve the above-mentioned conventional problems and to provide a stamp image processing device and a stamp processing machine capable of producing a stamp of a clear facial photographic image without using a color tag. is there.

上記の課題を解決するためになされた本発明の印判用画像処理装置は、入力された顔写真から顔画像を検出する顔画像検知手段と、背景画像を検出する背景画像検知手段と、これらの画像をグレースケール化する諧調補正手段と、グレースケール化された顔画像、背景画像及び全体画像を記憶する補正画像記憶手段と、記憶された背景画像の諧調から変換基準値を決定し、この変換基準値に基づいて全体画像の諧調を変換する諧調変換手段と、諧調変換された全体画像を記憶する変換画像記憶手段と、変換画像記憶手段に記憶された全体画像を2値化する2値化演算手段と、2値化された全体画像を記憶する2値化画像記憶手段とを備えたことを特徴とするものである。 The image processing apparatus for stamping of the present invention, which has been made to solve the above problems, includes a face image detecting means for detecting a face image from an input face photograph, a background image detecting means for detecting a background image, and these. A conversion reference value is determined from the gradation correction means for grayscale the image, the correction image storage means for storing the grayscaled face image, the background image and the entire image, and the gradation of the stored background image, and this conversion is performed. A gradation conversion means for converting the gradation of the entire image based on a reference value, a conversion image storage means for storing the gradation-converted entire image, and a binarization for binarizing the entire image stored in the conversion image storage means. It is characterized by including a calculation means and a binarized image storage means for storing a binarized whole image.

なお、変換画像記憶手段に記憶された全体画像の諧調を、印影濃度を基準とする補正テーブルを用いて線形化する諧調線形化手段と、線形化された画像を記憶する線形化画像記憶手段を更に備えることが好ましい。 In addition, a gradation linearizing means for linearizing the gradation of the entire image stored in the converted image storage means using a correction table based on the imprint density, and a linearized image storage means for storing the linearized image. It is preferable to further prepare.

また上記の課題を解決するためになされた本発明の印判加工機は、ライン状に配置された多数の発熱素子を備えたサーマルヘッドを、多孔質材の表面に接触させた状態で移動させながら、各発熱素子を選択的に発熱駆動して多孔質材を溶融固化させ、1ラインずつ印面を作成する印判加工機であって、請求項1または2に記載の印判用画像処理装置により得られた2値化された全体画像に基づいて、各発熱素子の発熱駆動量を制御する制御手段を備えたことを特徴とするものである。 Further, the stamp processing machine of the present invention, which has been made to solve the above problems, moves a thermal head equipped with a large number of heat generating elements arranged in a line in a state of being in contact with the surface of a porous material. A stamp processing machine for selectively heat-driving each heat generating element to melt and solidify a porous material to produce a stamp surface line by line, which is obtained by the stamp image processing apparatus according to claim 1 or 2. It is characterized in that it is provided with a control means for controlling the amount of heat generated by each heat generating element based on the binarized overall image.

本発明によれば、背景画像の諧調から変換基準値を決定し、この変換基準値に基づいて全体画像の諧調を変換するため、背景画像の明度にかかわらず、また色票を用いることなく、鮮明な顔写真画像の印判を作成することができる。 According to the present invention, the conversion reference value is determined from the gradation of the background image, and the gradation of the entire image is converted based on this conversion reference value. Therefore, regardless of the brightness of the background image and without using a color tag, It is possible to create a stamp of a clear facial photograph image.

本発明の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of this invention. 本発明のフローを示すブロック図である。It is a block diagram which shows the flow of this invention. 顔写真の説明図である。It is explanatory drawing of the face photograph. 人の目で見た諧調と濃度の関係を示すグラフである。It is a graph which shows the relationship between the tone and the density as seen by the human eye. 諧調の線形化処理を説明するグラフである。It is a graph explaining the linearization process of a tone. ティザマトリクスの原理図である。It is a principle diagram of the Tiza matrix. 顔写真の元画像である。This is the original image of the face photo. ST7までの処理を行った画像である。It is an image which has been processed up to ST7. ST9までの処理を行った画像である。It is an image which has been processed up to ST9.

以下に本発明の実施形態を説明する。
図1に示すように、本発明の印判用画像処理装置は、演算部10と記憶部20とを備えている。演算部10には各種の演算手段が含まれており、記憶部10には各種の記憶手段やデータベースが含まれている。以下に図2のフローを参照しつつ、各手段の機能を説明する。
An embodiment of the present invention will be described below.
As shown in FIG. 1, the stamp image processing apparatus of the present invention includes a calculation unit 10 and a storage unit 20. The calculation unit 10 includes various calculation means, and the storage unit 10 includes various storage means and a database. The functions of each means will be described below with reference to the flow of FIG.

先ずスキャナその他の適宜の読込手段によって、図3に示すような顔写真50が印判用画像処理装置に入力される(ST1)。顔写真50は一般的にカラー写真であり、顔画像51と背景画像52が含まれている。顔画像51及び背景画像52の明度は様々であり、図3(A)のように背景画像52が顔画像51よりも明るい場合も、図3(B)のように逆の場合もある。また顔画像51の肌の色も様々である。演算部10の顔画像検知手段11が入力された顔写真50から顔画像51を検出し、また背景画像検知手段12が背景画像を検出する(ST2)。 First, the facial photograph 50 as shown in FIG. 3 is input to the stamp image processing device by a scanner or other appropriate reading means (ST1). The face photograph 50 is generally a color photograph, and includes a face image 51 and a background image 52. The brightness of the face image 51 and the background image 52 varies, and the background image 52 may be brighter than the face image 51 as shown in FIG. 3 (A), or the opposite may occur as shown in FIG. 3 (B). The skin color of the face image 51 also varies. The face image detecting means 11 of the calculation unit 10 detects the face image 51 from the input face photograph 50, and the background image detecting means 12 detects the background image (ST2).

顔写真50から顔画像51と背景画像52(顔画像以外)を分離するためには、まず、顔画像51を抽出する。顔画像51の抽出は、カラー写真のRGBの規則により人間の肌に近い色のみを抽出する方法が考えられる。具体的には、カラー画像中に分布する個々の色を赤(R)、緑(G)、青(B)の明度(0〜255)で表した場合、R(赤)が最大値となるエリア、赤(R)が100以上となるエリア、赤(R)と緑(G)の差分が20〜100となるエリア、緑(G)と青(B)の差分が100未満となるエリアを顔画像51と認定、抽出する。顔画像と認定したエリア以外を、背景画像52(顔画像以外)と認定、抽出することで、顔写真50から、顔画像51と背景画像52(顔画像以下)を分離することが出来る。なお、顔画像51を抽出する方法は、前記の方法に限らず、例えば顔写真から顔の輪郭部分だけを認定・抽出する方法など幾多の方法が考えられる。 In order to separate the face image 51 and the background image 52 (other than the face image) from the face photograph 50, first, the face image 51 is extracted. For the extraction of the face image 51, a method of extracting only the color close to human skin can be considered according to the RGB rules of the color photograph. Specifically, when each color distributed in a color image is represented by the brightness (0 to 255) of red (R), green (G), and blue (B), R (red) is the maximum value. Areas where red (R) is 100 or more, areas where the difference between red (R) and green (G) is 20 to 100, and areas where the difference between green (G) and blue (B) is less than 100 Certified and extracted as face image 51. By certifying and extracting the area other than the area recognized as the face image as the background image 52 (other than the face image), the face image 51 and the background image 52 (below the face image) can be separated from the face photograph 50. The method of extracting the face image 51 is not limited to the above method, and many methods such as a method of identifying and extracting only the contour portion of the face from the face photograph can be considered.

これらの画像は演算部10の諧調補正手段13によりグレースケール化される(ST3)。グレースケール化は顔画像51と背景画像52の画素をその明度に応じて、諧調0(純黒)から諧調255(純白)までの256段階に変換することを意味する。グレースケール化された顔画像、背景画像及び全体画像は補正画像記憶手段21に記憶される(ST4)。 These images are grayscaled by the tone correction means 13 of the calculation unit 10 (ST3). Grayscale conversion means that the pixels of the face image 51 and the background image 52 are converted into 256 steps from 0 (pure black) to 255 (pure white) in gradation according to the brightness. The grayscaled face image, background image, and overall image are stored in the corrected image storage means 21 (ST4).

次に、補正画像記憶手段21に記憶された背景画像の諧調平均値から、表1に示す明るさ補正テーブルに基づいて変換基準値を決定する(ST5)。背景画像の階調平均値とは、背景画像と認定されたエリアに分布する階調範囲が0〜255である個々の画素値の合計を求め、合計の値を分布している画素数で割った値である。表1中の顔部画素の目標諧調平均値が変換基準値である。この実施形態では、背景画像52の明度が高い場合(諧調平均値が160を超えた場合)には変換基準値として諧調160を設定し、逆に背景画像52の明度が低い場合(諧調平均値が140未満の場合)には変換基準値として諧調180を設定する。なお、今回の補正テーブルでは、基準とする階調値を平均値としたが、これを中央値など他の基準値としても良いことは勿論である。 Next, the conversion reference value is determined from the gradation average value of the background image stored in the corrected image storage means 21 based on the brightness correction table shown in Table 1 (ST5). The gradation average value of the background image is the sum of the individual pixel values having a gradation range of 0 to 255 distributed in the area recognized as the background image, and the total value is divided by the number of distributed pixels. Value. The target gradation average value of the face pixel in Table 1 is the conversion reference value. In this embodiment, when the brightness of the background image 52 is high (when the gradation average value exceeds 160), the gradation 160 is set as the conversion reference value, and conversely, when the brightness of the background image 52 is low (gradation average value). If is less than 140), the gradation 180 is set as the conversion reference value. In the correction table this time, the reference gradation value is used as the average value, but it goes without saying that this may be used as another reference value such as the median value.

次に階調変換手段14が変換基準値に基づいて全体画像の階調を変換する。図2に示すように、まず変換基準値に基づいてグレースケール化された顔画像の階調を変換し(ST6)、次に顔画像の変換に基づいて、全体画像の階調を変換する(ST7)。この変換は各画素の階調を一律に平行移動させるのではなく、各画素の階調値と変換基準値との差に応じて変換率を変える方法で行うことが好ましい。この実施形態では、顔画像の階調を変換する為の変換基準値を、背景画素の階調平均値に基づいて決める。背景画素エリアの諧調平均値が200である場合、変換基準値は160である。 Next, the gradation conversion means 14 converts the gradation of the entire image based on the conversion reference value. As shown in FIG. 2, first, the gradation of the grayscaled face image is converted based on the conversion reference value (ST6), and then the gradation of the entire image is converted based on the conversion of the face image (ST6). ST7). It is preferable that this conversion is performed by a method of changing the conversion rate according to the difference between the gradation value of each pixel and the conversion reference value, instead of uniformly translating the gradation of each pixel. In this embodiment, the conversion reference value for converting the gradation of the face image is determined based on the gradation average value of the background pixels. When the gradation average value of the background pixel area is 200, the conversion reference value is 160.

続いて、階調変換率を算出する。階調変換率とは、変換基準値と階調変換前の特定エリアにおける階調平均値の比であり、下記式(1)で表される。階調変換前の特定エリアの階調平均値が、変換基準値よりも大きい場合、階調変換率は、マイナスの値を示す。
[(変換基準値−変換前・特定エリアの階調平均値)÷256]×100・・・式(1)
Subsequently, the gradation conversion rate is calculated. The gradation conversion rate is the ratio of the conversion reference value and the gradation average value in a specific area before gradation conversion, and is expressed by the following equation (1). When the gradation average value of the specific area before gradation conversion is larger than the conversion reference value, the gradation conversion rate shows a negative value.
[(Conversion reference value-Before conversion / Gradation average value of specific area) ÷ 256] × 100 ... Equation (1)

例えば、前記のように背景画像エリアの階調平均値が200の場合において、階調変換前の顔部画素の階調平均値が160の場合は、階調変換率は0%であるが、階調変換前の顔部画素の階調平均値が150の場合は、階調変換率は3.9%、階調変換前の顔部画素の階調平均値が140の場合は、階調変換率は7.8%、階調変換前の顔部画素の階調平均値が130の場合は、階調変換率は11.7%となる。 For example, when the gradation average value of the background image area is 200 as described above and the gradation average value of the face pixels before gradation conversion is 160, the gradation conversion rate is 0%. When the gradation average value of the face pixel before gradation conversion is 150, the gradation conversion rate is 3.9%, and when the gradation average value of the face pixel before gradation conversion is 140, the gradation When the conversion rate is 7.8% and the gradation average value of the face pixels before gradation conversion is 130, the gradation conversion rate is 11.7%.

続いて、前記算出された階調変換率を顔部の各画素に割り当てて、顔部画像の階調を変換する。例えば、階調変換前の顔部画素の平均値が130であって、変換基準値が160の場合は、階調変換率が11.7%となり、顔部の各画素の階調値が、階調変換前の階調値から、それぞれ、11.7%増えるように調整され、階調変換後の顔部の階調平均値は、145となる。 Subsequently, the calculated gradation conversion rate is assigned to each pixel of the face portion to convert the gradation of the face portion image. For example, when the average value of the face pixels before gradation conversion is 130 and the conversion reference value is 160, the gradation conversion rate is 11.7%, and the gradation value of each pixel of the face is changed. The gradation value before the gradation conversion is adjusted so as to increase by 11.7%, respectively, and the gradation average value of the face portion after the gradation conversion becomes 145.

同様に求められた階調変換率に基づいて、背景部分(顔部以外)の階調が変換される。例えば、階調変換前の背景部分(顔部以外)の階調平均値が200であって、階調変換率が11.7%である場合は、顔部の各画素の階調値が、階調変換前の階調値から、それぞれ、11.7%増えるように調整され、階調変換後の背景部分(顔部以外)の階調平均値は223となる。このような一連の階調変換により、全体画像の階調が変換される。
なお、変換基準値の具体的な数値は、この例に限定されるものではなく、作成したい版下画像によって、適宜設定することができる。また、階調変換率を設けず、変換基準値を、階調変換による顔部画素の目標階調平均値としても良い。
Similarly, the gradation of the background portion (other than the face portion) is converted based on the obtained gradation conversion rate. For example, when the gradation average value of the background portion (other than the face portion) before gradation conversion is 200 and the gradation conversion rate is 11.7%, the gradation value of each pixel of the face portion is set. The gradation value before the gradation conversion is adjusted so as to increase by 11.7%, respectively, and the gradation average value of the background portion (other than the face portion) after the gradation conversion becomes 223. By such a series of gradation conversion, the gradation of the entire image is converted.
The specific numerical value of the conversion reference value is not limited to this example, and can be appropriately set depending on the block copy image to be created. Further, the gradation conversion rate may not be provided, and the conversion reference value may be used as the target gradation average value of the face pixels by gradation conversion.

さらに、一つのレンジの背景の階調平均値に対して、変換基準値を2つ設け、顔部の階調変換と、背景部の階調変換の度合いを異ならせても良い。 Further, two conversion reference values may be provided for the gradation average value of the background in one range, and the degree of gradation conversion of the face portion and the gradation conversion of the background portion may be different.

このST5からST7の工程は、背景画像の明度が高い場合には顔画像の諧調平均値を低めに設定して顔画像の諧調を低めに変換し、全体画像の諧調も低めに変換することを意味している。これにより背景画像の諧調平均値も引き下げられ、背景の明度が低下することとなるので、サーマルヘッドの余熱による顔画像のひずみを避けることができる。逆に背景画像の明度が低い場合には顔画像の諧調平均値を高めに変換し、それとともに背景画像の諧調も引き上げられるので、全体の明度が高くなる。このようにして背景の明暗にかかわらず、鮮明な顔写真のデータが作成される。得られた画像は変換画像記憶手段23に記憶される。 In the steps from ST5 to ST7, when the brightness of the background image is high, the gradation average value of the face image is set low to convert the gradation of the face image to a low value, and the gradation of the entire image is also converted to a low value. Means. As a result, the gradation average value of the background image is also lowered, and the brightness of the background is lowered, so that distortion of the face image due to the residual heat of the thermal head can be avoided. On the contrary, when the brightness of the background image is low, the average value of the gradation of the face image is converted to a higher value, and the gradation of the background image is also raised at the same time, so that the overall brightness is increased. In this way, clear facial photo data is created regardless of the brightness of the background. The obtained image is stored in the converted image storage means 23.

次にこの画像は、捺印用補正テーブル24を用いて諧調線形化手段15により線形化される(ST8)。図4は横軸を諧調とし、縦軸を濃度としたグラフであり、理論的には諧調と濃度は比例するのでプロットは直線となるはずである。しかし人の目で見ると諧調と濃度は正比例するのではなく、諧調が255に近い領域ではほぼ白色に見え、濃度が0に近い領域ではすべて黒色に見える。図4の矢印はこの変化を示している。このため諧調の両端部に付いては画像の諧調をそのまま用いると、白黒のコントラストが強くなりすぎる。そこで図5に矢印で示すように、捺印用補正テーブル24を用いて諧調の両端部の値をシフトさせる。この補正によって、人の目で見た場合の諧調を線形化することができる。線形化された画像は線形化画像記憶手段25に記憶される。 Next, this image is linearized by the gradation linearizing means 15 using the stamping correction table 24 (ST8). FIG. 4 is a graph in which the horizontal axis is the gradation and the vertical axis is the density. Theoretically, the gradation and the density are proportional to each other, so the plot should be a straight line. However, when viewed by the human eye, the gradation and the density are not directly proportional to each other, and appear almost white in the region where the gradation is close to 255, and appear black in the region where the density is close to 0. The arrows in FIG. 4 indicate this change. Therefore, if the gradation of the image is used as it is for both ends of the gradation, the contrast between black and white becomes too strong. Therefore, as shown by an arrow in FIG. 5, the values at both ends of the gradation are shifted using the marking correction table 24. With this correction, it is possible to linearize the gradation as seen by the human eye. The linearized image is stored in the linearized image storage means 25.

次にこの線形化された画像を2値化演算手段16が、2値化テーブル26を用いてハーフトーンを表現した2値化画像とする(ST9)。これは微小なドットを分散させると人の目にはグレーに見える網点印刷の原理を利用したもので、ドット分散型ディザマトリックスと呼ばれる周知の技術である。その原理を図6に示した。この例では4×4のマトリクスに0から15の整数をランダムに配置し、これを16倍してディザマトリックスを作成する。そして画像も4×4の画素からなる微小なマトリクスに分割し、マトリクス中の各マスの諧調をディザマトリックス中の対応する位置の数値と比較して、画像の諧調が小さい場合にはそのマスを黒とし、画像の諧調が大きい場合にはそのマスを白とする。この演算を繰り返すことにより画像は微小なドットを分散させたハーフトーンの画像に変換される。このようにして得られた2値化された全体画像は2値化画像記憶手段27に記憶される。なお、画像をハーフトーンを表現した2値化画像とする方法はドット分散型ディザマトリックスを用いる方法に限定されるものではなく、周知の誤差拡散法などその他の方法を利用してもよい。 Next, the linearized image is converted into a binarized image in which the binarization calculation means 16 expresses a halftone using the binarization table 26 (ST9). This is a well-known technique called dot-dispersed dither matrix, which uses the principle of halftone dot printing that looks gray to the human eye when minute dots are dispersed. The principle is shown in FIG. In this example, integers from 0 to 15 are randomly arranged in a 4 × 4 matrix, and this is multiplied by 16 to create a dither matrix. The image is also divided into minute matrices consisting of 4x4 pixels, and the gradation of each cell in the matrix is compared with the numerical value of the corresponding position in the dither matrix. Black is used, and if the gradation of the image is large, the square is white. By repeating this calculation, the image is converted into a halftone image in which minute dots are dispersed. The binarized whole image thus obtained is stored in the binarized image storage means 27. The method of converting the image into a binarized image expressing a halftone is not limited to the method using the dot-dispersed dither matrix, and other methods such as a well-known error diffusion method may be used.

図1に示されるように、本発明の印判用画像処理装置には印判加工機30が接続されている。印判加工機30は、ライン状に配置された多数の発熱素子31を備えたサーマルヘッド32と、その昇降制御手段33、発熱駆動制御手段34、これら全体の制御手段35、タッチパネル36、テンキー37等を備えている。 As shown in FIG. 1, a stamp processing machine 30 is connected to the stamp image processing apparatus of the present invention. The stamp processing machine 30 includes a thermal head 32 provided with a large number of heat generating elements 31 arranged in a line, an elevating control means 33 thereof, a heat generation drive control means 34, an overall control means 35, a touch panel 36, a numeric keypad 37, and the like. It has.

本発明の印判用画像処理装置により得られた2値化された全体画像は2値化画像記憶手段27から印判加工機30に入力され、昇降制御手段33、発熱駆動制御手段34がサーマルヘッド32を多孔質材の表面に接触させた状態で移動させながら、各発熱素子31を選択的に発熱駆動して多孔質材を溶融固化させ、1ラインずつ印面を作成する。これによって鮮明な顔写真画像の多孔質印判40を作成することができる。この多孔質印判40にインクを含侵させれば、鮮明な顔写真のスタンプとして用いることができる。 The binarized whole image obtained by the stamp image processing apparatus of the present invention is input from the binarized image storage means 27 to the stamp processing machine 30, and the elevating control means 33 and the heat generation drive control means 34 are the thermal head 32. Is moved in contact with the surface of the porous material, and each heat generating element 31 is selectively heat-driven to melt and solidify the porous material, and a stamp surface is created line by line. This makes it possible to create a porous stamp 40 of a clear facial photographic image. If the porous stamp 40 is impregnated with ink, it can be used as a stamp for a clear facial photograph.

実施例に替えて、図7に顔写真の元画像、図8にST7までの処理を行った画像、図9にST9までの処理を行った画像を示す。元画像は顔画像の諧調平均値が140、背景画像の諧調平均値が60であって顔部が暗くなっている。図8では変換基準値を180とし、顔画像の諧調平均値を180、背景画像の諧調平均値も100に変換したので顔が明るくなっているが、コントラストが強い感がある。しかし図9では顔画像が鮮明でコントラストも適度な良好な状態となっている。なお、各画像を印判加工機30に入力して多孔質印判40を製作しても、上記と同様の傾向となることが確認されている。 Instead of the embodiment, FIG. 7 shows the original image of the facial photograph, FIG. 8 shows the image processed up to ST7, and FIG. 9 shows the image processed up to ST9. In the original image, the average gradation value of the face image is 140, and the average gradation value of the background image is 60, and the face portion is darkened. In FIG. 8, the conversion reference value is set to 180, the gradation average value of the face image is converted to 180, and the gradation average value of the background image is also converted to 100, so that the face is bright, but the contrast is strong. However, in FIG. 9, the face image is clear and the contrast is in a moderately good state. It has been confirmed that even if each image is input to the stamp processing machine 30 to produce the porous stamp 40, the same tendency as described above is obtained.

以上に説明したように、本発明によれば、色票を用いることなく鮮明な顔写真画像の印判を作成することができる。 As described above, according to the present invention, it is possible to create a clear stamp of a facial photographic image without using a color tag.

10 演算部
11 顔画像検知手段
12 背景画像検知手段
13 諧調補正手段
14 諧調変換手段
15 諧調線形化手段
16 2値化演算手段
20 記憶部
21 補正画像記憶手段
22 明るさ補正テーブル
23 変換画像記憶手段
24 捺印用補正テーブル
27 2値化画像記憶手段
30 印判加工機
31 発熱素子
32 サーマルヘッド
33 昇降制御手段
34 発熱駆動制御手段
35 制御手段
36 タッチパネル
37 テンキー
40 多孔質印判
50 顔写真
51 顔画像
52 背景画像
10 Calculation unit 11 Face image detection means 12 Background image detection means 13 Gradation correction means 14 Gradation conversion means 15 Gradation alignment means 16 Binarization calculation means 20 Storage unit 21 Correction image storage means 22 Brightness correction table 23 Conversion image storage means 24 Stamping correction table 27 Binary image storage means 30 Stamping machine 31 Heat generation element 32 Thermal head 33 Elevation control means 34 Heat generation drive control means 35 Control means 36 Touch panel 37 Tenkey 40 Porous stamp 50 Face photo 51 Face image 52 Background image

Claims (3)

入力された顔写真から顔画像を検出する顔画像検知手段と、背景画像を検出する背景画像検知手段と、これらの画像をグレースケール化する諧調補正手段と、グレースケール化された顔画像、背景画像及び全体画像を記憶する補正画像記憶手段と、記憶された背景画像の諧調から変換基準値を決定し、この変換基準値に基づいて全体画像の諧調を変換する諧調変換手段と、諧調変換された全体画像を記憶する変換画像記憶手段と、変換画像記憶手段に記憶された全体画像を2値化する2値化演算手段と、2値化された全体画像を記憶する2値化画像記憶手段とを備えたことを特徴とする印判用画像処理装置。 A face image detecting means for detecting a face image from an input face photograph, a background image detecting means for detecting a background image, a gradation correction means for grayscale these images, a grayscaled face image, and a background. A correction image storage means for storing an image and an entire image, a gradation conversion means for determining a conversion reference value from the gradation of the stored background image, and a gradation conversion means for converting the gradation of the entire image based on the conversion reference value, and a gradation conversion are performed. A converted image storage means for storing the entire image, a binarization calculation means for binarizing the entire image stored in the converted image storage means, and a binarized image storage means for storing the binarized overall image. An image processing device for stamps, which is characterized by being equipped with. 変換画像記憶手段に記憶された全体画像の諧調を、印影濃度を基準とする補正テーブルを用いて線形化する諧調線形化手段と、線形化された画像を記憶する線形化画像記憶手段を備えた請求項1に記載の印判用画像処理装置。 It is provided with a gradation linearizing means for linearizing the gradation of the entire image stored in the converted image storage means using a correction table based on the imprint density, and a linearized image storage means for storing the linearized image. The image processing apparatus for stamping according to claim 1. ライン状に配置された多数の発熱素子を備えたサーマルヘッドを、多孔質材の表面に接触させた状態で移動させながら、各発熱素子を選択的に発熱駆動して多孔質材を溶融固化させ、1ラインずつ印面を作成する印判加工機であって、請求項1または2に記載の印判用画像処理装置により得られた2値化された全体画像に基づいて、各発熱素子の発熱駆動量を制御する制御手段を備えたことを特徴とする印判加工機。 While moving a thermal head equipped with a large number of heat generating elements arranged in a line in contact with the surface of the porous material, each heat generating element is selectively heat-driven to melt and solidify the porous material. A stamp processing machine that creates a stamp surface one line at a time, and the amount of heat generated by each heat generating element is based on the binarized overall image obtained by the stamp image processing apparatus according to claim 1 or 2. A stamp processing machine characterized in that it is equipped with a control means for controlling.
JP2019159273A 2019-09-02 2019-09-02 Stamp image processing device and stamp processing machine Active JP7367924B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019159273A JP7367924B2 (en) 2019-09-02 2019-09-02 Stamp image processing device and stamp processing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019159273A JP7367924B2 (en) 2019-09-02 2019-09-02 Stamp image processing device and stamp processing machine

Publications (2)

Publication Number Publication Date
JP2021037660A true JP2021037660A (en) 2021-03-11
JP7367924B2 JP7367924B2 (en) 2023-10-24

Family

ID=74846849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019159273A Active JP7367924B2 (en) 2019-09-02 2019-09-02 Stamp image processing device and stamp processing machine

Country Status (1)

Country Link
JP (1) JP7367924B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07274194A (en) * 1994-03-29 1995-10-20 Olympus Optical Co Ltd Color video signal processor
JP2001177723A (en) * 1999-12-20 2001-06-29 Brother Ind Ltd Image processor, image processing method and storage medium
JP2004152127A (en) * 2002-10-31 2004-05-27 Toshiba Corp Face collating device and face collating method
JP2005125549A (en) * 2003-10-22 2005-05-19 Brother Ind Ltd Image processing method for stamp platemaking, image processing method for label printing, recording medium and program
JP2006202049A (en) * 2005-01-20 2006-08-03 Omron Corp Face recognition apparatus
JP2007251473A (en) * 2006-03-15 2007-09-27 Seiko Epson Corp Correction of color in image data
JP2016153191A (en) * 2015-02-20 2016-08-25 シヤチハタ株式会社 Thermal processor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07274194A (en) * 1994-03-29 1995-10-20 Olympus Optical Co Ltd Color video signal processor
JP2001177723A (en) * 1999-12-20 2001-06-29 Brother Ind Ltd Image processor, image processing method and storage medium
JP2004152127A (en) * 2002-10-31 2004-05-27 Toshiba Corp Face collating device and face collating method
JP2005125549A (en) * 2003-10-22 2005-05-19 Brother Ind Ltd Image processing method for stamp platemaking, image processing method for label printing, recording medium and program
JP2006202049A (en) * 2005-01-20 2006-08-03 Omron Corp Face recognition apparatus
JP2007251473A (en) * 2006-03-15 2007-09-27 Seiko Epson Corp Correction of color in image data
JP2016153191A (en) * 2015-02-20 2016-08-25 シヤチハタ株式会社 Thermal processor

Also Published As

Publication number Publication date
JP7367924B2 (en) 2023-10-24

Similar Documents

Publication Publication Date Title
JP3759761B2 (en) Method and apparatus for changing sharpness
JP4926568B2 (en) Image processing apparatus, image processing method, and image processing program
JP3640989B2 (en) Exposure changing method and image processing system
JP3911354B2 (en) Image processing method and apparatus, and recording medium storing program for executing the process
KR20070046010A (en) Method of digital image enhancement
JP2008011269A (en) Image processor, image processing method, image processing program, and storage medium
JP2008244799A (en) Image processor, processing method, and processing program
CN103581637A (en) Image processing apparatus and image processing method
US9020255B2 (en) Image processing apparatus, image processing method, and storage medium
JP4788393B2 (en) Image processing apparatus, image processing method, and image processing program
JP2005051356A (en) Color reduction processor and color reduction processing method
US20120250997A1 (en) Image processing apparatus, image processing method, and storage medium
US6823779B2 (en) Image processing method, image formation method, image processing apparatus, and image formation apparatus
JP4851505B2 (en) Image processing apparatus and image processing method
US6894807B1 (en) Method and apparatus for printing a black-and-white image based on color image information
US20050068587A1 (en) Monotone conversion process for color images
JP5569504B2 (en) Image processing apparatus, image processing method, and program
JP4264051B2 (en) Image processing device
JP2021037660A (en) Stamp image processing device and stamp processing machine
JP2007249802A (en) Image processor and image processing method
JP2001155174A (en) Method and device for image processing
JP2021037661A (en) Stamp image processing device and stamp processing machine
JP2004318705A (en) Image processing device, image processing method, and image processing program
JP2004297617A (en) Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium recorded with image processing program
US10979597B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220712

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230530

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230808

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230915

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231003

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231003

R150 Certificate of patent or registration of utility model

Ref document number: 7367924

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150