JPH10257296A - Image forming device - Google Patents

Image forming device

Info

Publication number
JPH10257296A
JPH10257296A JP9051484A JP5148497A JPH10257296A JP H10257296 A JPH10257296 A JP H10257296A JP 9051484 A JP9051484 A JP 9051484A JP 5148497 A JP5148497 A JP 5148497A JP H10257296 A JPH10257296 A JP H10257296A
Authority
JP
Japan
Prior art keywords
image data
portrait
face image
face
recording paper
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
JP9051484A
Other languages
Japanese (ja)
Inventor
Ryohei Komiya
量平 小宮
Masashi Ueda
昌史 上田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP9051484A priority Critical patent/JPH10257296A/en
Publication of JPH10257296A publication Critical patent/JPH10257296A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To print a portrait without damaging previously filled information by generating portrait picture data of a face based on picture data of the inputted face and detecting a blank area where data is not printed in recording paper. SOLUTION: When a shutter key 10 is depressed and a shutter 22 is opened/ closed, a signal which a CCD 24 outputs is stored in a picture memory 42. CPU 40 generates the portrait picture of the input picture in accordance with a portrait generation processing and stores it in the prescribed area of the picture memory 42. When a printing key 12 is depressed, CPU 40 gives a command to a transportation control part 36 and takes in a card into a digital camera. A read sensor 34 reads character information and the like on the card and stores it in the prescribed area of the picture memory 42. CPU 40 recognizes the largest circular area in the blank part of the card as a printing possible area, reads portrait picture data and calculates a variable power rate. Then, portrait data is varied and it is printed and outputted to the possible area by controlling an ink jet head 32 and a transportation driving part 36.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルカメラ等
で取得した人の顔画像を印刷出力する画像形成装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus for printing out a face image of a person obtained by a digital camera or the like.

【0002】[0002]

【従来の技術】従来、人の顔画像を印刷出力する装置と
しては、銀塩写真が一般的であった。ところが、銀塩写
真は、現像や焼き付けといった処理が必要で、撮影した
その場で出力を見ることができないという問題があっ
た。
2. Description of the Related Art Conventionally, silver halide photography has been generally used as a device for printing out a human face image. However, silver halide photography requires processing such as development and printing, and there is a problem that the output cannot be viewed on the spot where the image was taken.

【0003】ところが、昨今急速に普及しているデジタ
ルカメラは、この問題を解決している。ここで、このデ
ジタルカメラを図面を参照して説明する。図5は、従来
技術のデジタルカメラの構成を示すブロック図である。
図5において、このデジタルカメラは、利用者が所望す
る各種動作を制御するためのボタン100と、装置外部
の光をデジタルカメラ内部に入射したり遮光したりする
シャッター102と、装置外部から入射された光をデジ
タルデータに置換するCCD104と、デジタルデータ
を記憶するメモリー106と、メモリーに記憶されたデ
ジタルデータを表示する液晶画面108と、各種動作の
制御を行うCPU110とから構成されている。
[0003] However, digital cameras that have been rapidly spreading these days have solved this problem. Here, this digital camera will be described with reference to the drawings. FIG. 5 is a block diagram showing a configuration of a conventional digital camera.
In FIG. 5, the digital camera includes a button 100 for controlling various operations desired by a user, a shutter 102 for entering or blocking light from outside the device into the digital camera, and a shutter from outside the device. It comprises a CCD 104 that replaces the light with digital data, a memory 106 that stores the digital data, a liquid crystal screen 108 that displays the digital data stored in the memory, and a CPU 110 that controls various operations.

【0004】次に、図6を参照して、デジタルカメラの
動作を簡単に説明する。デジタルカメラ本体の電源が投
入されると、CPU110は、シャッター開閉を促すボ
タン100が押下されたか否かを判断する(ステップ1
02、以下、ステップをSと記す)。ここで、押下され
たと判断した場合には(S102,Yes)、CPU1
10は、シャッター102の開閉を行う(S104)。
そして、CPU110は、CCD104が出力するデジ
タル信号を読み取り、この信号をメモリ106へ記憶保
存する(S106)。
Next, the operation of the digital camera will be briefly described with reference to FIG. When the power of the digital camera body is turned on, the CPU 110 determines whether or not the button 100 for urging the opening and closing of the shutter is pressed (step 1).
02, hereinafter, the step is referred to as S). If it is determined that the button has been pressed (S102, Yes), the CPU 1
10 opens and closes the shutter 102 (S104).
Then, the CPU 110 reads the digital signal output from the CCD 104, and stores the signal in the memory 106 (S106).

【0005】次に、CPU110は、画像の再生を促す
再生ボタン100が押下されたか否かを判断する(S1
08)。ここで、押下されたと判断した場合には(S1
08,Yes)、CPU110は、メモリ106から信
号を読み取り、その信号に応じた画像を液晶画面108
に表示する(S110)。そして、CPU110は、電
源がオフにされたか否かを判断し(S112)、オフで
あると判断した場合には(S112,Yes)、処理を
終了する。
Next, the CPU 110 determines whether or not the reproduction button 100 for urging the reproduction of an image has been pressed (S1).
08). If it is determined that the button has been pressed (S1
08, Yes), the CPU 110 reads a signal from the memory 106, and displays an image corresponding to the signal on the liquid crystal screen 108.
(S110). Then, CPU 110 determines whether or not the power has been turned off (S112), and if it is determined that the power has been turned off (S112, Yes), ends the process.

【0006】なお、S102でシャッターの開閉を促す
ボタンが押下されていないと判断した場合には(S10
2,No)、S108へ進み、S108で画像の再生を
促すボタンが押下されていないと判断した場合には(S
108,No)、S112へ進む。また、S112で電
源がオンであると判断した場合には(S112,N
o)、S102へ処理を戻す。
If it is determined in step S102 that the button for urging the opening and closing of the shutter has not been pressed (S10)
(2, No), the process proceeds to S108, and if it is determined in S108 that the button for prompting image reproduction has not been pressed (S108).
108, No), and it proceeds to S112. When it is determined that the power is on in S112 (S112, N
o), The process returns to S102.

【0007】以上の動作によって、デジタルカメラの操
作者は、撮影した画像をその場ですぐに見ることができ
る。
[0007] By the above operation, the operator of the digital camera can immediately view the photographed image on the spot.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来の
デジタルカメラは、記録画像を液晶等の画面に表示する
のみであり、第三者にその記録画像を渡すことができな
かった。
However, the conventional digital camera only displays a recorded image on a screen such as a liquid crystal display, and cannot hand over the recorded image to a third party.

【0009】そこで、印刷機構を備えたデジタルカメラ
が考えられる。この印刷機構付きのデジタルカメラであ
れば、例えば、名刺の授受の際に相手の顔を撮影し、そ
の名刺上に相手の顔を印刷することができる。しかしな
がら、名刺のレイアウトは、千差万別であるので、利用
者自身は、印刷する領域を選択し設定しなくてはなら
ず、もし、利用者が印刷領域を選択又は設定し間違えた
場合は、相手の顔画像が名刺に記載されている名前や住
所等の重要な文字情報の上に重ねて印刷されてしまうと
いう問題があった。このような印刷は、利用者の誤操作
といえども避けなければならない重要な問題であった。
Therefore, a digital camera having a printing mechanism can be considered. With this digital camera with a printing mechanism, for example, when a business card is transferred, the face of the other party can be photographed, and the face of the other party can be printed on the business card. However, since the layout of business cards varies widely, the user himself has to select and set the printing area, and if the user selects or sets the printing area and makes a mistake, However, there has been a problem that a face image of a partner is printed over important character information such as a name and an address described in a business card. Such printing has been an important problem that must be avoided even by a user's erroneous operation.

【0010】本発明は、上述した問題点を解決するため
になされたものであり、既に情報が記載されている記録
紙を損なうこと無く印刷出力することのできる画像形成
装置を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and has as its object to provide an image forming apparatus capable of printing out without damaging recording paper on which information has already been written. And

【0011】[0011]

【課題を解決するための手段】この目的を達成するため
に、本発明の請求項1に記載の画像形成装置は、顔の画
像データを入力する顔画像データ入力手段と、その顔画
像データ入力手段により入力された顔の画像データに基
づいて、前記顔の似顔絵である似顔絵画像データを作成
する似顔絵作成手段と、その似顔絵作成手段により作成
された似顔絵画像データを出力する顔画像データ出力手
段とを備えたことを特徴としている。
In order to achieve this object, an image forming apparatus according to a first aspect of the present invention comprises: a face image data input unit for inputting face image data; A portrait image creating unit that creates a portrait image data that is a portrait of the face based on the face image data input by the unit, and a face image data output unit that outputs the portrait image data created by the portrait image creating unit. It is characterized by having.

【0012】上記構成を有する本発明の請求項1に記載
の画像形成装置において、顔画像データ入力手段は、顔
の画像データを入力し、似顔絵作成手段は、顔画像デー
タ入力手段により入力された顔の画像データに基づい
て、顔の似顔絵である似顔絵画像データを作成する。そ
して、顔画像データ出力手段は、似顔絵作成手段により
作成された似顔絵画像データを出力する。
[0012] In the image forming apparatus according to the first aspect of the present invention, the face image data input means inputs face image data, and the portrait image creation means receives the face image data input means. Caricature image data, which is a caricature of the face, is created based on the face image data. Then, the face image data output means outputs the portrait image data created by the portrait creation means.

【0013】また、請求項2に記載の画像形成装置は、
記録紙に印刷された画像データを読み取る記録紙読み取
り手段と、その記録紙読み取り手段により読み取られた
画像データに基づいて、前記記録紙に印刷されていない
余白領域を検出する余白領域検出手段とを備え、前記顔
画像データ出力手段は、前記余白領域に、前記似顔絵画
像データを出力するように構成したことを特徴としてい
る。
The image forming apparatus according to a second aspect of the present invention provides
Recording paper reading means for reading image data printed on recording paper, and a blank area detecting means for detecting a blank area not printed on the recording paper based on the image data read by the recording paper reading means. Wherein the face image data output means is configured to output the portrait image data to the margin area.

【0014】上記構成を有する請求項2に記載の画像形
成装置において、記録紙読み取り手段は、記録紙に印刷
された画像データを読み取り、余白領域検出手段は、記
録紙読み取り手段により読み取られた画像データに基づ
いて、記録紙に印刷されていない余白領域を検出する。
そして、顔画像データ出力手段は、その余白領域に、似
顔絵画像データを出力する。
3. The image forming apparatus according to claim 2, wherein the recording paper reading means reads the image data printed on the recording paper, and the margin area detecting means reads the image data read by the recording paper reading means. Based on the data, a margin area not printed on the recording paper is detected.
Then, the face image data output means outputs the portrait image data to the margin area.

【0015】また、請求項3に記載の画像形成装置は、
前記余白領域に基づいて、前記似顔絵画像データを拡
大、もしくは縮小する顔画像データ拡縮手段を備え、前
記顔画像データ出力手段は、前記余白領域に、前記顔画
像データ拡縮手段により拡大、もしくは縮小された前記
似顔絵画像データを出力するように構成したことを特徴
としている。
Further, the image forming apparatus according to the third aspect is characterized in that:
A face image data enlarging / reducing means for enlarging or reducing the portrait image data based on the margin area, wherein the face image data output means is enlarged or reduced in the margin area by the face image data enlarging / reducing means. And outputting the portrait image data.

【0016】上記構成を有する請求項3に記載の画像形
成装置において、顔画像データ拡縮手段は、余白領域に
基づいて、似顔絵画像データを拡大、もしくは縮小し、
顔画像データ出力手段は、その余白領域に、画像データ
拡縮手段により拡大、もしくは縮小された似顔絵画像デ
ータを出力する。
4. The image forming apparatus according to claim 3, wherein the face image data enlarging / reducing means enlarges or reduces the portrait image data based on the margin area.
The face image data output means outputs the portrait image data enlarged or reduced by the image data enlargement / reduction means to the margin area.

【0017】また、請求項4に記載の画像形成装置は、
顔の画像データを入力する顔画像データ入力手段と、記
録紙に印刷された画像データを読み取る記録紙読み取り
手段と、その記録紙読み取り手段により読み取られた顔
の画像データに基づいて、記録紙に印刷されていない余
白領域を検出する余白領域検出手段と、前記顔の画像デ
ータを出力する顔画像データ出力手段とを備え、その顔
画像データ出力手段は、前記余白領域に、前記顔画像デ
ータ入力手段により入力された顔の画像データを出力す
るように構成したことを特徴としている。
Further, the image forming apparatus according to claim 4 is
Face image data input means for inputting face image data; recording paper reading means for reading image data printed on recording paper; and recording paper based on the face image data read by the recording paper reading means. A blank area detecting unit that detects a blank area that is not printed; and a face image data output unit that outputs the face image data. The face image data output unit includes a face image data input unit that outputs the face image data to the blank area. The image data of the face input by the means is output.

【0018】上記構成を有する請求項4に記載の画像形
成装置において、顔画像データ入力手段は、顔の画像デ
ータを入力し、記録紙読み取り手段は、記録紙に印刷さ
れた画像データを読み取る。そして、余白領域検出手段
は、記録紙読み取り手段により読み取られた顔の画像デ
ータに基づいて、記録紙に印刷されていない余白領域を
検出し、顔画像データ出力手段は、その余白領域に、顔
画像データ入力手段により入力された顔の画像データを
出力する。
5. The image forming apparatus according to claim 4, wherein said face image data input means inputs face image data, and said recording paper reading means reads image data printed on recording paper. Then, the margin area detecting means detects a margin area not printed on the recording paper based on the image data of the face read by the recording paper reading means, and the face image data output means outputs the face in the margin area. The face image data input by the image data input means is output.

【0019】さらに、請求項5に記載の画像形成装置
は、前記余白領域に基づいて、前記顔の画像データを拡
大、もしくは縮小する顔画像データ拡縮手段を備え、前
記顔画像データ出力手段は、前記余白領域に、前記顔画
像データ拡縮手段により拡大、もしくは縮小された前記
顔の画像データを出力するように構成したことを特徴と
している。
The image forming apparatus according to claim 5, further comprising a face image data enlarging / reducing means for enlarging or reducing the face image data based on the margin area, wherein the face image data output means comprises: The image data of the face enlarged or reduced by the face image data enlarging / reducing means is output to the margin area.

【0020】上記構成を有する請求項5に記載の画像形
成装置において、顔画像データ拡縮手段は、余白領域に
基づいて、顔の画像データを拡大、もしくは縮小し、顔
画像データ出力手段は、その余白領域に、顔画像データ
拡縮手段により拡大、もしくは縮小された顔の画像デー
タを出力する。
6. The image forming apparatus according to claim 5, wherein the face image data enlarging / reducing means enlarges or reduces the face image data based on the margin area, and the face image data output means outputs the face image data. The face image data enlarged or reduced by the face image data enlarging / reducing means is output to the margin area.

【0021】[0021]

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

【0022】まず、図1は、本発明の実施の形態におけ
る画像形成装置の構成を示す概略図である。図1におい
て、画像形成装置としてのデジタルカメラ2の内部に
は、外部の光を後述するCCD24上に結像するレンズ
20と、この外部から入射される光のCCD24への照
射を制御するためのシャッター22と、その照射された
光に応じてデジタル信号を発生する顔画像データ入力手
段としてのCCD24が備えられている。さらに、デジ
タルカメラ2の内部には、名刺等の記録紙38をデジタ
ルカメラ2の内部に取り込み搬送するための駆動ローラ
等の搬送駆動部36と、その記録紙38上に記載された
文字情報等を読み取る記録紙読み取り手段としての記録
紙読み取りセンサー34と、記録紙38上に印刷出力を
行う顔画像データ出力手段としてのインクジェットヘッ
ド32とが備えられている。デジタルカメラ2には、C
CD24による撮影を指示するためのシャッターボタン
10と、記録紙38上への印刷出力を指示する印刷ボタ
ン12が備えられている。
FIG. 1 is a schematic diagram showing a configuration of an image forming apparatus according to an embodiment of the present invention. In FIG. 1, a lens 20 for forming an image of external light on a CCD 24, which will be described later, inside a digital camera 2 as an image forming apparatus, and a lens 20 for controlling irradiation of the light incident from the outside onto the CCD 24. A shutter 22 and a CCD 24 as face image data input means for generating a digital signal in accordance with the emitted light are provided. Further, inside the digital camera 2, a transport drive unit 36 such as a drive roller for taking in and transporting a recording paper 38 such as a business card into the digital camera 2 and character information written on the recording paper 38. A recording paper reading sensor 34 as recording paper reading means for reading the image data, and an ink jet head 32 as a face image data output means for performing print output on a recording paper 38 are provided. Digital camera 2 has C
A shutter button 10 for instructing shooting with the CD 24 and a print button 12 for instructing printout on the recording paper 38 are provided.

【0023】次に、本実施の形態の構成について説明す
る。図2は、本実施の形態の構成を示すブロック図であ
る。図2おいて、デジタルカメラ2の内部には、各種動
作の制御を行うためのプログラムや予め設定される情報
等を記憶するROM44と、このROM44に記憶され
るプログラムに従って動作し、各種制御を行うCPU4
0と、CCD24から取り込まれるデジタル信号等に基
づいて生成される画像データを記憶する画像メモリ42
とが設けられ、前述したシャッターボタン10、印刷ボ
タン12、シャッター22、CCD24、インクジェッ
トヘッド32、記録紙読み取りセンサー34及び搬送駆
動部36とそれぞれ相互に接続されている。
Next, the configuration of the present embodiment will be described. FIG. 2 is a block diagram showing the configuration of the present embodiment. 2, in the digital camera 2, a ROM 44 for storing a program for controlling various operations and information set in advance, and the like, operate according to the program stored in the ROM 44, and perform various controls. CPU4
0 and an image memory 42 for storing image data generated based on a digital signal or the like fetched from the CCD 24.
The shutter button 10, print button 12, shutter 22, CCD 24, inkjet head 32, recording paper reading sensor 34, and transport driving unit 36 are connected to each other.

【0024】次に、本実施の形態の動作について説明す
る。図3は、本実施の形態の動作を示すフローチャート
である。図3において、デジタルカメラ2の図示しない
電源が投入されると、まず、CPU40は、シャッター
ボタン10が押下されたか否かを判断する(S1)。こ
こで、シャッターボタン10が押下されたと判断すると
(S1,Yes)、CPU40は、シャッター22の開
閉動作を指示し(S2)、図示しないシャッター開閉機
構の開閉動作によって外部光がCCD24上に照射結像
される。この照射された光に応じて、CPU40は、C
CD40が出力するデジタル信号を読み取り、画像メモ
リ42の所定の領域に入力画として一旦記憶する(S
3)。そして、CPU40は、後述する似顔絵作成処理
に従って、この入力画の似顔絵画像を作成する(S
4)。なお、このS4の処理が似顔絵作成手段に該当す
る。そして、CPU40は、この似顔絵を画像メモリ4
0上に記憶保存する(S5)。
Next, the operation of this embodiment will be described. FIG. 3 is a flowchart showing the operation of the present embodiment. In FIG. 3, when a power source (not shown) of the digital camera 2 is turned on, first, the CPU 40 determines whether or not the shutter button 10 is pressed (S1). Here, when it is determined that the shutter button 10 has been pressed (S1, Yes), the CPU 40 instructs the opening and closing operation of the shutter 22 (S2), and the external light is irradiated onto the CCD 24 by the opening and closing operation of a shutter opening and closing mechanism (not shown). Imaged. In response to the emitted light, the CPU 40
The digital signal output from the CD 40 is read and temporarily stored as an input image in a predetermined area of the image memory 42 (S
3). Then, the CPU 40 creates a portrait image of the input image according to a portrait creation process described later (S
4). Note that the processing in S4 corresponds to a portrait creating means. Then, the CPU 40 stores the portrait in the image memory 4.
0 is stored (S5).

【0025】次に、CPU40は、印刷ボタン12が押
下されたか否かを判断する(S6)。ここで、印刷ボタ
ン12が押下されたと判断すると(S6,Yes)、C
PU40は、搬送制御部36に名刺38の取り込み及び
搬送を指示する。名刺38がデジタルカメラ2の内部に
取り込まれると、記録紙読み取りセンサー34が名刺3
8上に形成された文字情報等を読み取り(S7)、この
文字情報等を画像メモリ42の所定の領域に記録紙画像
として保存する。この読み取り動作が終了すると、CP
U40は、記録紙画像を参照して背景濃度を算出する
(S8)。この算出方法には、様々な従来技術を利用す
ることができる。例えば、記録紙のエッジ領域に配置さ
れている濃度を背景色として識別する方法や、記録紙画
像の濃度ヒストグラムを生成し、発生頻度の最も高い濃
度を背景色として識別する方法等を利用することができ
る。
Next, the CPU 40 determines whether or not the print button 12 has been pressed (S6). Here, if it is determined that the print button 12 has been pressed (S6, Yes), C
The PU 40 instructs the carrying control unit 36 to take in and carry the business card 38. When the business card 38 is taken into the digital camera 2, the recording paper reading sensor 34
8 is read (S7), and the character information and the like are stored in a predetermined area of the image memory 42 as a recording paper image. When this reading operation is completed, CP
U40 calculates the background density with reference to the recording paper image (S8). Various conventional techniques can be used for this calculation method. For example, a method of identifying the density arranged in the edge area of the recording paper as a background color, a method of generating a density histogram of a recording paper image, and identifying the most frequently occurring density as the background color, and the like are used. Can be.

【0026】そして、S8で識別した背景濃度と、S7
で読み取った記録紙画像とに基づいて、名刺38の余白
部分を検出する(S9)。具体的には、S8で識別した
背景濃度と同一又は所定の濃度差範囲に含まれる濃度領
域を余白部分として識別することになる。また、この余
白部分の中で、最も広い円形領域を確保できる領域を印
字可能余白領域として識別し、その位置情報を図示しな
い記憶エリアに記憶保存する。なお、この最も広い円形
領域を確保する領域の識別も、様々な従来技術を利用す
ることができる。例えば、徳山豪の「はみだし幾何学」
(岩波書店,1994年12月22日発行)の16頁か
ら34頁に記載されている手法を利用することができ
る。この手法は、ボロノイ図というものを利用する手法
であり、このボロノイ図も「アルゴリズム辞典」(共立
出版,1994年9月1日発行)の771頁から772
頁に具体的に説明されている。なお、このS9の処理が
余白領域検出手段に該当する。
Then, the background density identified in S8 and S7
The blank portion of the business card 38 is detected based on the recording paper image read in step (S9). Specifically, a density region that is the same as the background density identified in S8 or that is included in a predetermined density difference range is identified as a blank portion. In addition, an area in which the widest circular area can be secured is identified as a printable margin area, and the position information is stored in a storage area (not shown). It should be noted that various conventional techniques can be used to identify the area for securing the widest circular area. For example, Go Tokuyama's "Protruding geometry"
(Iwanami Shoten, published December 22, 1994) on page 16 to page 34. This method uses a Voronoi diagram. This Voronoi diagram is also described in “Algorithm Dictionary” (Kyoritsu Shuppan, published on September 1, 1994) from page 771 to 772.
This is specifically explained on the page. Note that the processing in S9 corresponds to a blank area detection unit.

【0027】次に、CPU40は、画像メモリ42から
S4で作成された似顔絵画像を読み出す(S10)。そ
して、読み出した似顔絵画像データの大きさと、S9で
求めた余白領域の最も広い円形領域との大きさに基づい
て、変倍率を算出する(S11)。ここで、変倍率をA
とし、円形領域の直径をLとし、似顔絵画像の横方向の
長さをW、縦方向の長さをHとすると、 A=L/{Max(H,W)×2} により求められる。ここで、Max(H,W)は、Hと
Wの大きい方を選択する関数である。このS11で求め
られる変倍率Aに従って、S10で読み出す似顔絵画像
の変倍処理を行う(S12)。なお、このS11及びS
12の処理が顔画像データ拡縮手段に該当する。そし
て、S12で拡縮変倍された似顔絵画像を、S9で識別
した印字可能余白領域に印刷出力する(S13)。次
に、CPU40は、電源オフが設定されているか否かを
判断し(S14)、図示しない電源オフボタンが押下さ
れていると判断した場合には(S14,Yes)、処理
を終了する。
Next, the CPU 40 reads the portrait image created in S4 from the image memory 42 (S10). Then, a magnification is calculated based on the size of the read portrait image data and the size of the widest margin area obtained in S9 (S11). Here, the scaling factor is A
Assuming that the diameter of the circular area is L, the horizontal length of the portrait image is W, and the vertical length is H, A = L / {Max (H, W) × 2}. Here, Max (H, W) is a function for selecting the larger of H and W. According to the scaling factor A obtained in S11, the portrait image read in S10 is scaled (S12). Note that S11 and S11
Step 12 corresponds to the face image data enlarging / reducing means. Then, the portrait image enlarged or reduced in S12 is printed out in the printable margin area identified in S9 (S13). Next, the CPU 40 determines whether or not the power-off is set (S14). If it is determined that the power-off button (not shown) is pressed (S14, Yes), the process ends.

【0028】なお、S1でシャッターボタン10が押下
されていないと判断した場合には(S1,No)、処理
をS6に進め。S6で印刷ボタン12が押下されていな
いと判断した場合には(S12,No)、処理をS14
に進める。また、S14で電源オフが設定されていない
と判断した場合には(S14,No)、処理をS1に戻
す。
If it is determined in S1 that the shutter button 10 has not been pressed (S1, No), the process proceeds to S6. If it is determined in S6 that the print button 12 has not been pressed (S12, No), the process proceeds to S14.
Proceed to If it is determined in S14 that the power-off is not set (S14, No), the process returns to S1.

【0029】次に、似顔絵処理(S4)の詳細な動作を
説明する。なお、この似顔絵処理も様々な従来技術を利
用することができる。図4を参照してその具体的な動作
の一例を示す。
Next, the detailed operation of the portrait processing (S4) will be described. Note that the portrait processing can also use various conventional techniques. An example of the specific operation will be described with reference to FIG.

【0030】まず、CPU40は、画像メモリ42から
入力画を読み取る(S20)。次に、この入力画を構成
する個々の画素データと、予め設定した閾値データとを
比較することによって0か1の2値画像に変換し(S2
1)、この2値画像を画像メモリ42の所定の領域に一
旦記憶保存する。そして、この2値画像から予め設定さ
れた領域のデータを呼びだし、特徴の抽出を行う(S2
2)。この予め設定された領域は、目が配置されやすい
領域や口が配置されやすい領域のように、顔の構成要素
毎に設定されている。すなわち、少なくとも、目、耳、
鼻、口、まゆげ等の構成要素を識別するための領域であ
る。なお、この個々の領域は、他の領域とオーバーラッ
プして設定されていてもよい。
First, the CPU 40 reads an input image from the image memory 42 (S20). Next, the input image is converted into a binary image of 0 or 1 by comparing individual pixel data constituting the input image with preset threshold data (S2).
1) The binary image is temporarily stored in a predetermined area of the image memory 42. Then, data of a preset area is called out from the binary image to extract features (S2).
2). The preset area is set for each face component, such as an area where the eyes are easily arranged and an area where the mouth is easily arranged. That is, at least the eyes, ears,
This is an area for identifying components such as the nose, mouth, and eyebrows. It should be noted that the individual areas may be set so as to overlap with other areas.

【0031】さらに、この個々の領域毎の2値画像に従
って、各構成要素毎の特徴抽出を行い、その特徴を示す
情報を特徴データとして各構成要素に対応づけて保存す
る。例えば、口の大きさ、目の間隔等の大きさや形状の
特徴が抽出され、大きさであれば、縦横の長さや各構成
要素間の相対位置の数値データとして保存される。な
お、ここで概略説明したS20からS22までの動作
は、特公平5−10707号公報として既に公知となっ
ている技術である。よって、詳細な説明は、割愛する。
Further, according to the binary image for each region, feature extraction is performed for each component, and information indicating the feature is stored as feature data in association with each component. For example, features of the size and shape such as the size of the mouth and the distance between the eyes are extracted, and if the size is obtained, the data is stored as numerical data of the vertical and horizontal lengths and the relative positions between the components. Note that the operations from S20 to S22 described briefly here are techniques that are already known as Japanese Patent Publication No. 5-10707. Therefore, detailed description is omitted.

【0032】次に、CPU40は、S22で求めた各要
素毎の特徴データに基づいて、似顔絵要素を選択する
(S23)。ここで、似顔絵要素とは、予めデザイナー
等によって作成された多数の似顔絵における目や鼻等の
顔の構成要素の1つ1つのことである。このように、作
成された似顔絵要素は、予めS22で行う特徴抽出処理
によってそれぞれ特徴データとして求められ、前述の似
顔絵要素と対応づけてROM44内に記憶保存されてい
る。すなわち、S22で求められた特徴データと予めR
OM44内に記憶されている特徴データとの一致度を算
出し、その結果に基づいて最も適切な似顔絵要素を選択
し、この動作を全ての顔の構成要素について実行する。
Next, the CPU 40 selects a portrait element based on the characteristic data of each element obtained in S22 (S23). Here, the portrait elements are individual face components such as eyes and nose in a number of portraits created in advance by a designer or the like. The portrait elements thus created are each obtained as characteristic data by the characteristic extraction processing performed in advance in S22, and are stored in the ROM 44 in association with the portrait elements described above. That is, the characteristic data obtained in S22 and R
The degree of coincidence with the feature data stored in the OM 44 is calculated, the most appropriate portrait element is selected based on the result, and this operation is executed for all face components.

【0033】そして、前述した特徴データの1種である
各構成要素間の相対位置に応じて、S23で選択した各
似顔絵要素を合成する(S24)。
Then, the portrait elements selected in S23 are synthesized in accordance with the relative positions between the constituent elements, which are one type of the characteristic data described above (S24).

【0034】[0034]

【発明の効果】以上説明したことから明かなように、本
発明の請求項1に記載の画像形成装置によれば、顔画像
データ入力手段は、顔の画像データを入力し、似顔絵作
成手段は、顔画像データ入力手段により入力された顔の
画像データに基づいて、顔の似顔絵である似顔絵画像デ
ータを作成する。そして、顔画像データ出力手段は、似
顔絵作成手段により作成された似顔絵画像データを出力
するので、本画像形成装置の使用者は、容易に似顔絵の
出力結果を入手することができる。
As is apparent from the above description, according to the image forming apparatus of the first aspect of the present invention, the face image data input means inputs face image data, and the portrait image creation means outputs face image data. Then, based on the image data of the face input by the face image data input means, portrait image data which is a portrait of the face is created. Since the face image data output means outputs the portrait image data created by the portrait creation means, the user of the image forming apparatus can easily obtain the output result of the portrait.

【0035】また、請求項2に記載の画像形成装置によ
れば、記録紙読み取り手段は、記録紙に印刷された画像
データを読み取り、余白領域検出手段は、記録紙読み取
り手段により読み取られた画像データに基づいて、記録
紙に印刷されていない余白領域を検出する。そして、顔
画像データ出力手段は、その余白領域に、似顔絵画像デ
ータを出力するので、記録紙に印刷された画像データを
損なうこと無く、適切な位置に似顔絵画像データを出力
することができる。
According to the image forming apparatus of the present invention, the recording paper reading means reads the image data printed on the recording paper, and the margin area detecting means reads the image data read by the recording paper reading means. Based on the data, a margin area not printed on the recording paper is detected. Then, since the face image data output means outputs the portrait image data to the blank area, the portrait image data can be output to an appropriate position without damaging the image data printed on the recording paper.

【0036】また、請求項3に記載の画像形成装置によ
れば、顔画像データ拡縮手段は、余白領域に基づいて、
似顔絵画像データを拡大、もしくは縮小し、顔画像デー
タ出力手段は、その余白領域に、画像データ拡縮手段に
より拡大、もしくは縮小された似顔絵画像データを出力
するので、余白部が広い場合には、大きな似顔絵画像デ
ータを出力することによって視認性を向上させることが
でき、余白部が狭い場合には、小さな似顔絵画像データ
を出力することによって名前や住所などの重要な文字情
報との重なりを防ぐことができる。
According to the image forming apparatus of the third aspect, the face image data enlarging / reducing means is configured to execute
The portrait image data is enlarged or reduced, and the face image data output means outputs the portrait image data enlarged or reduced by the image data enlargement / reduction means to the margin area. By outputting portrait image data, visibility can be improved.If the margin is narrow, outputting small portrait image data can prevent overlapping with important character information such as name and address. it can.

【0037】また、請求項4に記載の画像形成装置によ
れば、顔画像データ入力手段は、顔の画像データを入力
し、記録紙読み取り手段は、記録紙に印刷された画像デ
ータを読み取る。そして、余白領域検出手段は、記録紙
読み取り手段により読み取られた顔の画像データに基づ
いて、記録紙に印刷されていない余白領域を検出し、顔
画像データ出力手段は、その余白領域に、顔画像データ
入力手段により入力された顔の画像データを出力するの
で、記録紙に印刷された画像データを損なうこと無く、
適切な位置に顔の画像データを出力することができる。
According to the image forming apparatus of the present invention, the face image data input means inputs face image data, and the recording paper reading means reads the image data printed on the recording paper. Then, the margin area detecting means detects a margin area not printed on the recording paper based on the image data of the face read by the recording paper reading means, and the face image data output means outputs the face in the margin area. Since the image data of the face input by the image data input means is output, without damaging the image data printed on the recording paper,
The face image data can be output to an appropriate position.

【0038】さらに、請求項5に記載の画像形成装置に
よれば、顔画像データ拡縮手段は、余白領域に基づい
て、顔の画像データを拡大、もしくは縮小し、顔画像デ
ータ出力手段は、その余白領域に、顔画像データ拡縮手
段により拡大、もしくは縮小された顔の画像データを出
力するので、余白部が広い場合には、大きな顔の画像デ
ータを出力することによって視認性を向上させることが
でき、余白部が狭い場合には、小さな顔の画像データを
出力することによって名前や住所などの重要な文字情報
との重なりを防ぐことができる。
Further, according to the image forming apparatus of the present invention, the face image data enlarging / reducing means enlarges or reduces the face image data based on the margin area, and the face image data output means outputs the face image data. Since the face image data enlarged or reduced by the face image data enlarging / reducing means is output in the margin area, when the margin is large, the visibility can be improved by outputting the large face image data. If the margin is narrow, by outputting image data of a small face, overlapping with important character information such as a name and an address can be prevented.

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

【図1】本発明の実施の形態における画像形成装置の構
成を示す概略図である。
FIG. 1 is a schematic diagram illustrating a configuration of an image forming apparatus according to an embodiment of the present invention.

【図2】本実施の形態の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of the present embodiment.

【図3】本実施の形態の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the operation of the present embodiment.

【図4】本実施の形態における似顔絵処理の詳細な動作
を示すフローチャートである。
FIG. 4 is a flowchart showing a detailed operation of a portrait processing in the present embodiment.

【図5】従来の画像形成装置の構成を示すブロック図で
ある。
FIG. 5 is a block diagram illustrating a configuration of a conventional image forming apparatus.

【図6】従来の画像形成装置の動作を示すフローチャー
トである。
FIG. 6 is a flowchart illustrating an operation of a conventional image forming apparatus.

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

24 CCD 32 インクジェットヘッド 34 記録紙読み取りセンサー 38 記録紙(名刺) 40 CPU 42 画像メモリ 44 ROM 24 CCD 32 Inkjet head 34 Recording paper reading sensor 38 Recording paper (business card) 40 CPU 42 Image memory 44 ROM

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 顔の画像データを入力する顔画像データ
入力手段と、 その顔画像データ入力手段により入力された顔の画像デ
ータに基づいて、前記顔の似顔絵である似顔絵画像デー
タを作成する似顔絵作成手段と、 その似顔絵作成手段により作成された似顔絵画像データ
を出力する顔画像データ出力手段とを備えたことを特徴
とする画像形成装置。
1. A face image data input means for inputting face image data, and a portrait image data which is a portrait image of the face based on the face image data input by the face image data input means. An image forming apparatus, comprising: a creation unit; and a face image data output unit that outputs the portrait image data created by the portrait creation unit.
【請求項2】 記録紙に印刷された画像データを読み取
る記録紙読み取り手段と、 その記録紙読み取り手段により読み取られた画像データ
に基づいて、前記記録紙に印刷されていない余白領域を
検出する余白領域検出手段とを備え、 前記顔画像データ出力手段は、前記余白領域に、前記似
顔絵画像データを出力するように構成したことを特徴と
する請求項1に記載の画像形成装置。
2. A recording paper reading means for reading image data printed on a recording paper, and a margin for detecting a blank area not printed on the recording paper based on the image data read by the recording paper reading means. 2. The image forming apparatus according to claim 1, further comprising: an area detection unit, wherein the face image data output unit is configured to output the portrait image data to the blank area. 3.
【請求項3】 前記余白領域に基づいて、前記似顔絵画
像データを拡大、もしくは縮小する顔画像データ拡縮手
段を備え、 前記顔画像データ出力手段は、前記余白領域に、前記顔
画像データ拡縮手段により拡大、もしくは縮小された前
記似顔絵画像データを出力するように構成したことを特
徴とする請求項2に記載の画像形成装置。
3. A face image data enlarging / reducing means for enlarging or reducing the portrait image data based on the margin area, wherein the face image data output means includes a face image data enlarging / reducing means in the margin area. 3. The image forming apparatus according to claim 2, wherein the portrait image data that is enlarged or reduced is output.
【請求項4】 顔の画像データを入力する顔画像データ
入力手段と、 記録紙に印刷された画像データを読み取る記録紙読み取
り手段と、 その記録紙読み取り手段により読み取られた顔の画像デ
ータに基づいて、記録紙に印刷されていない余白領域を
検出する余白領域検出手段と、 前記顔の画像データを出力する顔画像データ出力手段と
を備え、 その顔画像データ出力手段は、前記余白領域に、前記顔
画像データ入力手段により入力された顔の画像データを
出力するように構成したことを特徴とする画像形成装
置。
4. A face image data input means for inputting face image data; a recording paper reading means for reading image data printed on recording paper; and a face image data read by the recording paper reading means. A blank area detection unit that detects a blank area that is not printed on recording paper; anda face image data output unit that outputs the face image data.The face image data output unit includes: An image forming apparatus configured to output face image data input by the face image data input means.
【請求項5】 前記余白領域に基づいて、前記顔の画像
データを拡大、もしくは縮小する顔画像データ拡縮手段
を備え、 前記顔画像データ出力手段は、前記余白領域に、前記顔
画像データ拡縮手段により拡大、もしくは縮小された前
記顔の画像データを出力するように構成したことを特徴
とする請求項4に記載の画像形成装置。
5. A face image data enlarging / reducing means for enlarging or reducing the image data of the face based on the margin area, wherein the face image data output means includes a face image data enlarging / reducing means in the margin area. The image forming apparatus according to claim 4, wherein the image data of the face enlarged or reduced according to (c) is output.
JP9051484A 1997-03-06 1997-03-06 Image forming device Pending JPH10257296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9051484A JPH10257296A (en) 1997-03-06 1997-03-06 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9051484A JPH10257296A (en) 1997-03-06 1997-03-06 Image forming device

Publications (1)

Publication Number Publication Date
JPH10257296A true JPH10257296A (en) 1998-09-25

Family

ID=12888242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9051484A Pending JPH10257296A (en) 1997-03-06 1997-03-06 Image forming device

Country Status (1)

Country Link
JP (1) JPH10257296A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6885475B1 (en) 1999-08-06 2005-04-26 Omron Corporation Name card creating apparatus
JP2006215925A (en) * 2005-02-04 2006-08-17 Canon Inc Information processor, its control method, and program
JP2008055680A (en) * 2006-08-30 2008-03-13 Brother Ind Ltd Printing apparatus
JP2011248566A (en) * 2010-05-26 2011-12-08 Casio Comput Co Ltd Image processing apparatus, image processing method, and image processing program
JP2013008253A (en) * 2011-06-25 2013-01-10 Dainippon Printing Co Ltd Print data generation device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6885475B1 (en) 1999-08-06 2005-04-26 Omron Corporation Name card creating apparatus
JP2006215925A (en) * 2005-02-04 2006-08-17 Canon Inc Information processor, its control method, and program
US7861160B2 (en) 2005-02-04 2010-12-28 Canon Kabushiki Kaisha Laying out images in fields, linking the fields, and calculating distance before and after image rotation
JP2008055680A (en) * 2006-08-30 2008-03-13 Brother Ind Ltd Printing apparatus
JP2011248566A (en) * 2010-05-26 2011-12-08 Casio Comput Co Ltd Image processing apparatus, image processing method, and image processing program
JP2013008253A (en) * 2011-06-25 2013-01-10 Dainippon Printing Co Ltd Print data generation device

Similar Documents

Publication Publication Date Title
JP4373828B2 (en) Specific area detection method, specific area detection apparatus, and program
US6222637B1 (en) Apparatus and method for synthesizing a subject image and template image using a mask to define the synthesis position and size
US7620242B2 (en) Particular-region detection method and apparatus, and program therefor
US20050238230A1 (en) Image processing method and apparatus for white eye correction
JP2002152492A (en) Image processing device, its method, and recording medium
JP4375289B2 (en) Comment layout device
US20090324069A1 (en) Image processing device, image processing method, and computer readable medium
JP2001275082A (en) Digital photographic processor
US7456877B2 (en) Image sensing apparatus, control method therefor, and printer
JP2005322220A (en) Particular region detecting method, particular region detecting apparatus, and program therefor
US6470151B1 (en) Camera, image correcting apparatus, image correcting system, image correcting method, and computer program product providing the image correcting method
JPH10257296A (en) Image forming device
JP2005286830A (en) Image processing method, image processing apparatus, and program
JPWO2018235313A1 (en) Imaging device and character display method
JP4101254B2 (en) Image recording apparatus, image recording method, and program
US8045185B2 (en) Image processing apparatus and method of controlling same
JP2001111806A (en) Image generator and device and method for recognizing top and bottom of image
JP2001069394A (en) Picture processing system, camera, picture output device, picture correcting device, picture correcting system, picture correcting method and medium for providing picture correcting program
JP2000069402A (en) Certification photograph output system and storage medium
JPH0829881A (en) Index print forming device
US20090232402A1 (en) Image Processing Apparatus, Image Processing Method, and Computer Program for Image Processing
JPH09322102A (en) Device and method for image processing
JPH10268440A (en) Message printing method
JP2006092153A (en) Image processing system and image processing method
JP4750632B2 (en) Image processing method and image processing apparatus