JP2009152718A - Unit and method for image processing, and program - Google Patents

Unit and method for image processing, and program Download PDF

Info

Publication number
JP2009152718A
JP2009152718A JP2007326861A JP2007326861A JP2009152718A JP 2009152718 A JP2009152718 A JP 2009152718A JP 2007326861 A JP2007326861 A JP 2007326861A JP 2007326861 A JP2007326861 A JP 2007326861A JP 2009152718 A JP2009152718 A JP 2009152718A
Authority
JP
Japan
Prior art keywords
image
area
trimming frame
size
selection area
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.)
Withdrawn
Application number
JP2007326861A
Other languages
Japanese (ja)
Inventor
Tsunesuke Shinkai
恒扶 新開
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007326861A priority Critical patent/JP2009152718A/en
Publication of JP2009152718A publication Critical patent/JP2009152718A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable easy selection of a desired portion from an image. <P>SOLUTION: The face of a person imaged in an image is detected through image data analysis. Based on the detection result, a position (target position) which becomes a target when setting a selection area is set in the image. Next, the set position of the selection area is determined so that a reference point of the selection area comes to the set target position. Then, by modification of the size of the selection area while the reference point of the selection area is maintained to the target position, the final selection area is set in the image. In general, a user tends to set such a composition as to arrange the face of the person to a suitable position, and therefore, by the above setting of the selection area based on the face of the person, the composition roughly matching the desire of the user is obtained. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像データを解析し、その解析結果に基づいてその画像の一部分に選択領域
を設定する技術に関連する。
The present invention relates to a technique for analyzing image data and setting a selected region in a part of the image based on the analysis result.

近年では、画像はデジタルデータの形態で簡単に取り扱うことが可能となっている。例
えば、デジタルカメラで画像を撮影して画像データを記録し、記録した画像データをイン
クジェットプリンタなどの印刷装置に供給すれば、高品質な印刷画像を簡単に得ることが
可能である。また、画像データでは、画像の内容がデジタルデータとして記録されている
ことから、画像の内容を解析したり、画像を加工することも容易である。そこで、この特
徴を利用して、いわゆるトリミング処理を行ってユーザーが印刷したい部分だけを画像デ
ータから抜き出し、その部分だけを印刷可能とする印刷装置が提案されている(特許文献
1)。
In recent years, images can be easily handled in the form of digital data. For example, if a digital camera captures an image, records the image data, and supplies the recorded image data to a printing apparatus such as an inkjet printer, a high-quality printed image can be easily obtained. Moreover, since the image content is recorded as digital data in the image data, it is easy to analyze the image content and process the image. In view of this, there has been proposed a printing apparatus that uses this feature to perform a so-called trimming process to extract only a portion that a user wants to print from image data and print only that portion (Patent Document 1).

特開2005−80070号公報Japanese Patent Laid-Open No. 2005-80070

しかし、提案されている印刷装置でトリミング処理を行おうとしても、実際には、簡単
に実行することができないという問題があった。すなわち、トリミング処理を行う度に、
印刷したい場所を指定する枠(トリミング枠)の位置やサイズを設定するための操作ボタ
ンを用いた煩雑な操作が必要となるので、印刷したい部分を手軽に選択して出力すること
ができないという問題があった。
However, even if the trimming process is performed with the proposed printing apparatus, there is actually a problem that it cannot be easily executed. That is, every time trimming is performed,
A troublesome operation using the operation buttons for setting the position and size of the frame (trimming frame) that specifies the location to be printed is necessary, so it is not possible to easily select and output the portion to be printed was there.

本発明は、従来の技術が有する上述した課題を解決するためになされたものであり、ユ
ーザーが煩わしい操作をすることなく、出力したい部分を簡便に選択可能とする技術の提
供を目的とする。
The present invention has been made to solve the above-described problems of conventional techniques, and an object of the present invention is to provide a technique that allows a user to easily select a portion to be output without performing troublesome operations.

上述した課題の少なくとも一部を解決するために、本発明の画像処理装置は次の構成を
採用した。すなわち、
画像データを読み込んで解析することにより、矩形形状の選択領域を、該画像データが
表す画像の中に設定する画像処理装置であって、
前記画像中で人物の顔が写った領域たる顔領域を、前記画像データを解析することによ
って検出する顔領域検出手段と、
前記画像中に設定された前記選択領域に少なくとも含まれるべき該画像中での目標位置
を、前記顔領域の検出結果に基づいて決定する目標位置決定手段と、
前記選択領域の内部で該選択領域を縦方向および横方向にそれぞれの所定比率で内分す
る位置に設けられた該選択領域の基準点が、前記画像中の前記目標位置と重なるように、
該画像中での該選択領域の位置を決定する選択領域位置決定手段と、
前記選択領域の基準点を前記画像中の目標位置に一致させたまま、該選択領域の大きさ
を変更することによって、該画像中に該選択領域を設定する選択領域設定手段と
を備えることを要旨とする。
In order to solve at least a part of the problems described above, the image processing apparatus of the present invention employs the following configuration. That is,
An image processing apparatus that sets a rectangular selection area in an image represented by the image data by reading and analyzing the image data,
A face area detecting means for detecting a face area that is an area in which a person's face is captured in the image by analyzing the image data;
Target position determining means for determining a target position in the image to be included at least in the selected area set in the image based on a detection result of the face area;
A reference point of the selection area provided at a position that divides the selection area in the vertical direction and the horizontal direction at a predetermined ratio inside the selection area so as to overlap the target position in the image.
Selection region position determining means for determining the position of the selection region in the image;
Selection area setting means for setting the selection area in the image by changing the size of the selection area while keeping the reference point of the selection area coincident with the target position in the image. The gist.

また、上記の画像処理装置に対応する本発明の画像処理方法は、
画像データを読み込んで解析することにより、矩形形状の選択領域を、該画像データが
表す画像の中に設定する画像処理方法であって、
前記画像中で人物の顔が写った領域たる顔領域を、前記画像データを解析することによ
って検出する工程と、
前記画像中に設定された前記選択領域に少なくとも含まれるべき該画像中での目標位置
を、前記顔領域の検出結果に基づいて決定する工程と、
前記選択領域の内部で該選択領域を縦方向および横方向にそれぞれの所定比率で内分す
る位置に設けられた該選択領域の基準点が、前記画像中の前記目標位置と重なるように、
該画像中での該選択領域の位置を決定する工程と、
前記選択領域の基準点を前記画像中の目標位置に一致させたまま、該選択領域の大きさ
を変更することによって、該画像中に該選択領域を設定する工程と
を備えることを要旨とする。
The image processing method of the present invention corresponding to the above image processing apparatus is
An image processing method for setting a rectangular selection area in an image represented by the image data by reading and analyzing the image data,
Detecting a face area, which is an area in which the face of a person appears in the image, by analyzing the image data;
Determining a target position in the image to be included at least in the selected area set in the image based on a detection result of the face area;
A reference point of the selection area provided at a position that divides the selection area in the vertical direction and the horizontal direction at a predetermined ratio inside the selection area so as to overlap the target position in the image.
Determining the position of the selected region in the image;
And a step of setting the selection area in the image by changing the size of the selection area while keeping the reference point of the selection area coincident with the target position in the image. .

かかる本発明の画像処理装置および画像処理方法では、画像データを読み込むと、画像
データを解析して画像の中で人物の顔が描かれている領域(顔領域)を検出する。次いで
、選択領域を画像に設定する際の目標となる位置(目標位置)を、顔領域の検出結果に基
づいて画像中に設定する。そして、選択領域内の基準点が、この目標位置に来るように、
選択領域の設定位置を決定する。次いで、選択領域の基準点を目標位置に保ったままで選
択領域の大きさを変更することによって最終的に画像中に設定する選択領域を決定する。
ここで、選択領域の基準点としては、選択領域を縦横に所定の比率で内分する位置(例え
ば、選択領域を左右に等分する直線と、上下に等分する直線との交点の位置)を基準点と
することができる。
In the image processing apparatus and the image processing method of the present invention, when image data is read, the image data is analyzed to detect an area (face area) where a human face is drawn in the image. Next, a target position (target position) for setting the selected area in the image is set in the image based on the detection result of the face area. And so that the reference point in the selected area is at this target position,
The setting position of the selection area is determined. Next, the selection area to be finally set in the image is determined by changing the size of the selection area while keeping the reference point of the selection area at the target position.
Here, as a reference point of the selection area, a position that divides the selection area vertically and horizontally at a predetermined ratio (for example, a position of an intersection of a straight line that equally divides the selection area left and right and a straight line that equally divides the selection area vertically) Can be used as a reference point.

一般に、ユーザーは、人物の顔が適切な位置に配置される様に画像の構図を決める傾向
がある。従って、画像に写された人物の顔に基づいて選択領域の位置を設定してやれば、
ユーザーが設定する構図とおおむね近い構図となる位置に選択領域を設定することができ
る。そのため、ユーザーは、操作ボタンを何度も操作して選択領域の位置を調整するとい
った煩雑な操作をしなくても、所望の選択領域を設定することが可能となる。また、こう
して設定した選択領域の大きさを変更する際には、基準点を目標位置に一致させたままま
選択領域の大きさを変更する為、選択領域の大きさを変更する度に選択領域の位置を調整
しなおす必要が無い。このため、ユーザーは、選択領域を簡単に好みの大きさに変更する
ことも可能となる。こうして、ユーザーは、所望の位置に所望の大きさの選択領域を簡単
に設定することが可能となる。
In general, a user tends to determine the composition of an image so that a person's face is placed at an appropriate position. Therefore, if the position of the selection area is set based on the face of the person shown in the image,
The selection area can be set at a position that is almost similar to the composition set by the user. Therefore, the user can set a desired selection region without performing a complicated operation such as adjusting the position of the selection region by operating the operation button many times. In addition, when changing the size of the selection area set in this way, the size of the selection area is changed every time the size of the selection area is changed in order to change the size of the selection area while keeping the reference point coincident with the target position. There is no need to readjust the position. Therefore, the user can easily change the selection area to a desired size. In this way, the user can easily set a selection area having a desired size at a desired position.

尚、選択領域の大きさを変更する際には、ユーザーが指定した大きさに変更してもよい
し、あるいは、画像データを解析した結果に基づいて選択領域の大きさを決定し、決定し
た大きさに変更してもよい。もちろん、予め定めておいた所定の大きさに変更することと
してもよい。また、選択領域の縦横のそれぞれの長さを別々に変更することとしてもよい
し、縦横の長さの比率を所定の比率に保ったまま相似拡大あるいは相似縮小することによ
って大きさを変更することとしてもよい。
In addition, when changing the size of the selection area, it may be changed to the size specified by the user, or the size of the selection area is determined based on the result of analyzing the image data. The size may be changed. Of course, it may be changed to a predetermined size. In addition, the vertical and horizontal lengths of the selected region may be changed separately, or the size may be changed by similar enlargement or reduction while maintaining the vertical / horizontal length ratio at a predetermined ratio. It is good.

また、上述した本発明の画像処理装置では、検出した顔領域から更に人物の目を検出し
て、検出した目の位置に基づいて目標位置を設定するものとしてもよい。
In the above-described image processing apparatus of the present invention, the eyes of a person may be further detected from the detected face area, and the target position may be set based on the detected eye position.

一般に、ユーザーが画像を鑑賞する場合、人物の顔の中でも特に「目」に注目する傾向
があるので、目が適切に配置された構図がより好まれる。そこで、検出した目の位置に基
づいて目標位置を設定すれば、より適切な構図が得られる選択領域を設定することが可能
となる。
In general, when a user views an image, there is a tendency to pay attention to “eyes” in the face of a person. Therefore, a composition in which the eyes are appropriately arranged is preferred. Therefore, if the target position is set based on the detected eye position, it is possible to set a selection region where a more appropriate composition can be obtained.

また、上述した本発明の画像処理装置が選択領域を設定するに際しては、検出した顔領
域の大きさに合わせて選択領域の大きさを決定し、決定した大きさの選択領域を画像に設
定することとしてもよい。
Further, when the image processing apparatus of the present invention described above sets the selection area, the size of the selection area is determined according to the size of the detected face area, and the selection area having the determined size is set in the image. It is good as well.

こうすれば、選択領域全体に対して顔領域が適切な割合を占めるように選択領域の大き
さを設定することができるので、人物の顔が適切な大きさで描かれた好適な構図が得られ
る様に、選択領域を設定することが可能となる。
In this way, the size of the selected area can be set so that the face area occupies an appropriate ratio with respect to the entire selected area, so that a suitable composition in which a human face is drawn with an appropriate size is obtained. As described above, it is possible to set the selection area.

また、上述した本発明の画像処理装置では、検出した顔領域の大きさに加えて、何個の
顔領域が検出されたかも考慮することによって、選択領域の大きさを決定することとして
もよい。
In the above-described image processing apparatus of the present invention, the size of the selected region may be determined by considering how many face regions are detected in addition to the size of the detected face region. .

一般に、画像に写された人数によって、顔領域と選択領域全体との最適な割合が若干異
なることが経験的に知られている。例えば、1人の人物が写された画像では、選択領域を
大きくして顔以外の部分をある程度構図に入れた方が好適な構図となるが、画像の人数が
多くなると、これとは逆に、選択領域をあまり大きくしない方が良好な構図となることが
経験的に分かっている。このことから、顔領域の大きさだけでなく、検出した顔領域の数
も考慮して選択領域の大きさを決定してやれば、より好適な構図が得られるような選択領
域を設定することが可能となる。
In general, it is empirically known that the optimal ratio between the face area and the entire selected area is slightly different depending on the number of people in the image. For example, in an image in which one person is photographed, it is preferable to enlarge the selection area and add a part other than the face to the composition to some extent. However, if the number of images increases, the opposite is true. It has been empirically found that a better composition is obtained when the selected region is not made too large. From this, it is possible to set a selection area that can provide a more suitable composition if the size of the selection area is determined in consideration of not only the size of the face area but also the number of detected face areas. It becomes.

また、上述した本発明の画像処理装置では、読み込んだ画像データが表す画像の縦横の
長さの比率に基づいて、選択領域の縦横の長さの比率を決定することとしてもよい。そし
て、選択領域の大きさを変更する際には、縦横の長さの比率を決定した比率に保ったまま
選択領域の大きさを変更することとしてもよい。
In the above-described image processing apparatus of the present invention, the vertical / horizontal length ratio of the selected region may be determined based on the vertical / horizontal length ratio of the image represented by the read image data. Then, when changing the size of the selected region, the size of the selected region may be changed while maintaining the ratio of the vertical and horizontal lengths at the determined ratio.

通常、画像の縦横の長さの比率(アスペクト比)は、画像を鑑賞するのに適した比率に
なっている。そこで、選択領域の縦横の長さの比率を画像のアスペクト比に基づいて決定
すれば、画像を鑑賞するのに適したアスペクト比の選択領域を設定することが可能となり
、好適である。
Usually, the ratio of the vertical and horizontal lengths (aspect ratio) of an image is a ratio suitable for viewing an image. Therefore, if the ratio of the vertical and horizontal lengths of the selection area is determined based on the aspect ratio of the image, it is possible to set the selection area having an aspect ratio suitable for viewing the image.

また、上述した本発明の画像処理装置では、検出された複数の顔領域の中から少なくと
も一つの顔領域を選び、選んだ顔領域に基づいて目標位置を決定することとしてもよい。
ここで、顔領域を選択するに際しては、複数の顔領域の中からユーザーが所望の顔領域を
選択することとしてもよいし、あるいは、画像データを解析することによって、検出され
た顔領域の中から特定の人物の顔を検出し、その顔領域を選択するものとしてもよい。
In the image processing apparatus of the present invention described above, at least one face area may be selected from a plurality of detected face areas, and the target position may be determined based on the selected face area.
Here, when selecting a face area, the user may select a desired face area from among a plurality of face areas, or by analyzing image data, It is also possible to detect a face of a specific person from and select the face area.

こうすれば、所望の人物の顔領域に基づいて選択領域を設定できるので、複数の人物の
顔が写された画像であっても、ユーザーは、所望の人物に選択領域を簡単に設定すること
が可能となる。
In this way, since the selection area can be set based on the face area of the desired person, the user can easily set the selection area for the desired person even in the case of an image showing the faces of a plurality of persons. Is possible.

更に本発明は、上述した画像処理方法を実現するためのプログラムをコンピュータに読
み込ませ、所定の機能を実行させることにより、コンピュータを用いて実現することも可
能である。従って、本発明は次のようなプログラムとしての態様も含んでいる。すなわち
、上述した画像処理方法に対応する本発明のプログラムは、
画像データを読み込んで解析することにより、矩形形状の選択領域を、該画像データが
表す画像の中に設定する画像処理方法を、コンピュータを用いて実現するためのプログラ
ムであって、
前記画像中で人物の顔が写った領域たる顔領域を、前記画像データを解析することによ
って検出する機能と、
前記画像中に設定された前記選択領域に少なくとも含まれるべき該画像中での目標位置
を、前記顔領域の検出結果に基づいて決定する機能と、
前記選択領域の内部で該選択領域を縦方向および横方向にそれぞれの所定比率で内分す
る位置に設けられた該選択領域の基準点が、前記画像中の前記目標位置と重なるように、
該画像中での該選択領域の位置を決定する機能と、
前記選択領域の基準点を前記画像中の目標位置に一致させたまま、該選択領域の大きさ
を変更することによって、該画像中に該選択領域を設定する機能と
をコンピュータによって実現させることを要旨とする。
Furthermore, the present invention can be realized using a computer by causing a computer to read a program for realizing the above-described image processing method and executing a predetermined function. Therefore, the present invention also includes the following aspects as a program. That is, the program of the present invention corresponding to the image processing method described above is
A program for realizing, using a computer, an image processing method for setting a rectangular selection area in an image represented by the image data by reading and analyzing the image data,
A function of detecting a face area that is an area in which a person's face is captured in the image by analyzing the image data;
A function for determining a target position in the image to be included at least in the selected area set in the image based on a detection result of the face area;
A reference point of the selection area provided at a position that divides the selection area in the vertical direction and the horizontal direction at a predetermined ratio inside the selection area so as to overlap the target position in the image.
A function for determining the position of the selected region in the image;
The function of setting the selection area in the image is realized by a computer by changing the size of the selection area while keeping the reference point of the selection area coincident with the target position in the image. The gist.

このプログラムをコンピュータに読み込んで、上記の各機能を実現させれば、ユーザー
に煩わしい操作をさせることなく、所望する部分を簡便に選択させることが可能となる。
If this program is read into a computer and each of the above functions is realized, it is possible to easily select a desired portion without causing the user to perform troublesome operations.

以下では、上述した本願発明の内容を明確にするために、次のような順序に従って実施
例を説明する。
A.装置構成:
B.トリミング枠設定処理:
B−1.第1実施例:
B−2.第2実施例:
C.変形例:
Hereinafter, in order to clarify the contents of the present invention described above, examples will be described in the following order.
A. Device configuration:
B. Trimming frame setting process:
B-1. First embodiment:
B-2. Second embodiment:
C. Variations:

A.装置構成 :
図1は、本実施例の画像処理装置を搭載した印刷装置10を示した斜視図である。図示
されるように、印刷装置10は、スキャナ部100と、プリンタ部200と、スキャナ部
100およびプリンタ部200の動作を制御する制御部300などから構成されている。
スキャナ部100は、印刷された画像を読み込んで画像データを生成するスキャナ機能を
有しており、プリンタ部200は、画像データを受けとって印刷媒体上に画像を印刷する
プリンタ機能を有している。また、スキャナ部100で読み取った画像をプリンタ部20
0から出力すれば、コピー機能を実現することも可能である。すなわち、本実施例の印刷
装置10は、単独でスキャナ機能、プリンタ機能、コピー機能を実現可能な、いわゆるス
キャナ・プリンタ・コピー複合装置となっている。
A. Device configuration :
FIG. 1 is a perspective view showing a printing apparatus 10 equipped with the image processing apparatus of this embodiment. As illustrated, the printing apparatus 10 includes a scanner unit 100, a printer unit 200, a control unit 300 that controls operations of the scanner unit 100 and the printer unit 200, and the like.
The scanner unit 100 has a scanner function of reading a printed image and generating image data, and the printer unit 200 has a printer function of receiving image data and printing an image on a print medium. . Further, the image read by the scanner unit 100 is transferred to the printer unit 20.
If the output starts from 0, the copy function can be realized. That is, the printing apparatus 10 according to the present embodiment is a so-called scanner / printer / copy combined apparatus that can independently realize a scanner function, a printer function, and a copy function.

制御部300には、CPUやROM、RAMなどが搭載されており、スキャナ部100
で読み取った画像データや、メモリカード等の記録媒体から読み出した画像データに所定
の画像処理を施して、プリンタ部200を用いて印刷することができる。また、例えば、
ユーザーの指示に従って画像の一部分を画像データから抜き出す処理(トリミング処理)
を行うことにより、画像の中の印刷したい部分だけを抜き出して印刷することが可能とな
っている。こうしたトリミング処理を実行する際に、抜き出す部分を指定するためにユー
ザーが操作ボタンを何度も操作しなければならないとなると、ユーザーは手軽にトリミン
グ処理を実行することができない。こうした点に鑑みて、本実施例の印刷装置10は、ユ
ーザーに煩わしい操作を強いることなく、印刷する部分を簡単に指定可能とする本実施例
の画像処理装置を搭載している。
The control unit 300 includes a CPU, a ROM, a RAM, and the like.
The image data read in step 1 and the image data read from a recording medium such as a memory card can be subjected to predetermined image processing and printed using the printer unit 200. For example,
Processing to extract part of an image from image data according to user instructions (trimming processing)
By performing the above, it is possible to extract and print only the portion of the image to be printed. When performing such a trimming process, the user cannot easily perform the trimming process if the user has to operate the operation button a number of times in order to designate a portion to be extracted. In view of these points, the printing apparatus 10 according to the present exemplary embodiment is equipped with the image processing apparatus according to the present exemplary embodiment that allows a user to easily specify a portion to be printed without forcing the user to perform troublesome operations.

図1には、本実施例の画像処理装置が印刷装置10に搭載されている様子が概念的に示
されている。図示されているように、画像処理装置は、制御部300に搭載されたCPU
やRAM等によって構成されており、これらのCPUやRAM等の機能を用いて各種の処
理が実現されている。本実施例の画像処理装置は、画像データ受け取ると、画像データを
解析して、好適な構図が得られるトリミング枠を予測する処理を行う。そして、予測した
トリミング枠を画像に重ねた状態でモニタ画面320に表示する。これにより、ユーザー
は、モニタ画面320でトリミング枠を確認することが可能である。ユーザーがモニタ画
面320でトリミング枠を確認し、必要に応じて修正を行った後、操作パネル310の決
定ボタンを押すと、これを受けて、制御部300は、トリミング枠内の画像を元の画像デ
ータから抽出し、抽出したデータをプリンタ部200へと供給することによって、トリミ
ング枠内の画像を印刷する。これにより、ユーザーは、操作パネル310を何度も操作し
てトリミング枠を設定するといった煩雑な操作をすることなく、トリミング処理がされた
好適な印刷画像を簡単に得ることが可能となる。以下では、制御部300が行うこうした
処理について、フローチャートに沿って詳しく説明する。
FIG. 1 conceptually shows a state in which the image processing apparatus of this embodiment is mounted on the printing apparatus 10. As illustrated, the image processing apparatus includes a CPU mounted on the control unit 300.
And various types of processing are realized using functions of the CPU and RAM. When receiving the image data, the image processing apparatus according to the present embodiment analyzes the image data and performs a process of predicting a trimming frame in which a suitable composition can be obtained. Then, the predicted trimming frame is displayed on the monitor screen 320 while being superimposed on the image. As a result, the user can check the trimming frame on the monitor screen 320. After the user confirms the trimming frame on the monitor screen 320 and corrects it as necessary, when the user presses the OK button on the operation panel 310, the control unit 300 receives the image and the original image in the trimming frame is received. An image in the trimming frame is printed by extracting from the image data and supplying the extracted data to the printer unit 200. Accordingly, the user can easily obtain a suitable print image that has been subjected to the trimming process, without performing a complicated operation such as setting the trimming frame by operating the operation panel 310 many times. Hereinafter, such processing performed by the control unit 300 will be described in detail with reference to a flowchart.

B.トリミング枠設定処理 :
B−1.第1実施例 :
図2は、第1実施例の「トリミング枠設定処理」の流れを示したフローチャートである
。かかる処理は、ユーザーが操作パネル310を操作してトリミング処理を行う画像デー
タを指定すると、その画像に対してトリミング枠を決定するために実行する処理である。
図2のフローチャートに示されている様に、処理を開始すると、まず、ユーザーが指定し
た画像データを読み込む処理を行う(ステップS100)。ここで、読み込む画像データ
は、印刷装置10に挿入された記録媒体に記録されているものであってもよいし、あるい
は、印刷装置10に接続されたコンピュータ等に記録されているものであってもよい。
B. Trimming frame setting process:
B-1. First Example:
FIG. 2 is a flowchart showing the flow of “trimming frame setting processing” in the first embodiment. This process is a process executed to determine a trimming frame for an image when the user designates image data to be trimmed by operating the operation panel 310.
As shown in the flowchart of FIG. 2, when processing is started, first, processing for reading image data designated by the user is performed (step S100). Here, the image data to be read may be recorded on a recording medium inserted in the printing apparatus 10 or recorded on a computer or the like connected to the printing apparatus 10. Also good.

画像データを読み込んだら、次いで、読み込んだ画像データを解析して、その画像に写
されている人物の顔を検出する処理を行う(ステップS102)。人物の顔を検出するの
は、次の理由によるものである。すなわち、一般に、ユーザーは、画像において人物の顔
を重視する傾向がある。例えば、画像を撮影する際には、通常、人物の顔がフレーム内の
適切な位置にくるように構図を決めて撮影する。これと同様に、画像をトリミング処理す
る際にも、やはり人物の顔が適切な位置にくるようにトリミング処理を行おうとする傾向
がある。そこで、本実施例のトリミング枠設定処理では、画像に写された人物の顔を検出
し、検出した顔の位置に基づいてトリミング枠を設定することによって、ユーザーの意図
に合致した構図となるトリミング枠を設定するのである。
After the image data is read, the read image data is analyzed, and a process of detecting a person's face shown in the image is performed (step S102). The human face is detected for the following reason. That is, in general, users tend to place importance on a person's face in an image. For example, when photographing an image, the composition is usually determined so that the face of a person is at an appropriate position in the frame. Similarly, when trimming an image, there is a tendency to perform the trimming process so that the person's face is at an appropriate position. Therefore, in the trimming frame setting processing of the present embodiment, the face of the person shown in the image is detected, and the trimming frame is set based on the detected face position, so that the trimming becomes a composition that matches the user's intention. The frame is set.

ここで、画像データから人物の顔を検出する方法としては、例えば、画像の中で肌色の
部分の領域を検出する方法を初めとして、各種の方法が提案されているが、本実施例では
、次のような方法によって検出するものとする。すなわち、先ず、画像データの中から、
物体の輪郭部分を抽出する。輪郭の抽出に際しては、メディアンフィルタなどの二次元フ
ィルタを用いてノイズを除去したり、コントラストやエッジを強調した後、二値化を行い
、得られた二値化像の境界部分を物体の輪郭として抽出する。次いで、抽出した輪郭の中
で、明らかに人物の顔ではないと思われるものを除外する。例えば、抽出した輪郭の中で
直線の割合が大きい物体については、いわゆる人工物である可能性が高い。このように、
明らかに人物の顔ではないと判断できる物体を除外しておき、残った物体について、輪郭
の形状から「目」、「口」、「鼻筋」などと疑われる物体を抽出していく。もし、これら
の物体が本当に「目」、「口」、「鼻筋」などであれば、互いに所定の位置関係にあるは
ずである。例えば、「口」と思わしき物体が抽出されたとき、上方に「目」や「鼻筋」と
思われる物体(あるいは明らかに「目」または「鼻筋」であると判断できる物体)が存在
していれば、抽出された物体は「口」であると判断することができる。同様に「目」と思
わしき物体についても、本当に「目」であれば、多くの場合、近くに同じ向きの「目」ら
しき物体が存在している筈である。このようにして、輪郭から「目」、「口」、「鼻筋」
などと思われる物体を抽出し、抽出した物体の中から、互いの位置関係を考慮することに
よって「目」、「口」、「鼻筋」などを特定することができる。そして、「目」、「口」
、「鼻筋」などが特定できれば、これらを取り囲む領域を、顔の領域(顔領域)として検
出することができる。こうして、画像データの中から顔領域を検出したら、次いで、検出
した顔領域の位置に基づいて、トリミング枠を設定する処理を行う(ステップS104)
Here, as a method of detecting a person's face from image data, for example, various methods have been proposed, including a method of detecting a skin-colored region in an image, but in this embodiment, It shall be detected by the following method. That is, first, from the image data,
Extract the contour of the object. When extracting the contour, use a two-dimensional filter such as a median filter to remove noise, enhance the contrast and edges, and then binarize, and use the resulting binarized image for the boundary of the object. Extract as Next, the extracted contours that are apparently not human faces are excluded. For example, an object having a large proportion of straight lines in the extracted contour is highly likely to be a so-called artifact. in this way,
Objects that can be clearly judged not to be human faces are excluded, and for the remaining objects, suspected objects such as “eyes”, “mouth”, and “nasal muscles” are extracted from the contour shape. If these objects are really “eyes”, “mouth”, “nose muscles”, etc., they should be in a predetermined positional relationship with each other. For example, when an object that seems to be “mouth” is extracted, an object that seems to be “eyes” or “nasal muscles” (or an object that can be clearly determined to be “eyes” or “nasal muscles”) exists above For example, it can be determined that the extracted object is a “mouth”. Similarly, regarding an object that seems to be an “eye”, if it is really an “eye”, an object that seems to be an “eye” in the same direction is likely to exist in the vicinity. In this way, "eye", "mouth", "nose" from the contour
It is possible to identify “eyes”, “mouth”, “nasal muscles” and the like by extracting an object that seems to be, etc. and considering the positional relationship among the extracted objects. And "eyes", "mouth"
If the “nose muscles” and the like can be specified, the area surrounding them can be detected as a face area (face area). When the face area is detected from the image data in this way, a process for setting a trimming frame is then performed based on the position of the detected face area (step S104).
.

図3は、検出した顔領域の位置に基づいて、トリミング枠を設定する様子を示した説明
図である。図3において、人物の顔の部分に描かれた長方形は、先のステップS102に
おいて検出した顔領域を示している。顔領域を検出する際には、顔の輪郭の形状を検出す
ることも可能であるが、ここでは、簡単のために、図示されている様に長方形の領域が顔
領域として検出されるものとして説明する。検出された顔領域の位置に基づいてトリミン
グ枠を設定するには、いくつかの方法を用いることが可能である。例えば、簡単には、顔
領域の中心にトリミング枠の中心がくるようにトリミング枠を配置すればよい。しかし、
いわゆる三分割フレームの方法を用いると、トリミング枠をより好適に設定することが可
能となるので、本実施例では、この三分割フレームの方法を用いてトリミング枠を設定す
るものとして説明する。
FIG. 3 is an explanatory diagram showing how a trimming frame is set based on the detected position of the face area. In FIG. 3, the rectangle drawn on the face portion of the person indicates the face area detected in the previous step S102. When detecting the face area, it is also possible to detect the shape of the face outline, but here, for simplicity, it is assumed that a rectangular area is detected as the face area as shown in the figure. explain. Several methods can be used to set the trimming frame based on the position of the detected face area. For example, simply, the trimming frame may be arranged so that the center of the trimming frame comes to the center of the face area. But,
If a so-called three-divided frame method is used, the trimming frame can be set more suitably. In this embodiment, the description will be made assuming that the trimming frame is set using the three-divided frame method.

図3に示されているように、三分割フレームの方法では、トリミング枠の縦の辺を3等
分するように引いた2本の分割線と、横の辺を2等分するように引いた1本の分割線との
交点のうち、上側の交点(図中「基準交点」と表示)を基準としてトリミング枠を設定す
る。すなわち、図3に示されている様に、先に検出した顔領域の中心と、トリミング枠の
基準交点とが一致するようにトリミング枠を配置する。一般に、写真画像においては、三
分割フレームの基準交点の位置に被写体を配置することによって、良好な構図が得られる
ことが経験的に知られているので、このように基準交点の位置に人物の顔がくるようにト
リミング枠を配置することによって、人物の顔が適切に配置された好適な構図を得ること
が可能となる。
As shown in FIG. 3, in the method of the three-divided frame, two dividing lines are drawn so that the vertical side of the trimming frame is divided into three equal parts, and the horizontal side is drawn so as to be divided into two equal parts. The trimming frame is set based on the upper intersection (indicated as “reference intersection” in the figure) among the intersections with one dividing line. That is, as shown in FIG. 3, the trimming frame is arranged so that the center of the face area detected earlier and the reference intersection of the trimming frame coincide. Generally, in photographic images, it is empirically known that a good composition can be obtained by placing a subject at the position of the reference intersection of the three-divided frame. By arranging the trimming frame so that the face comes, it is possible to obtain a suitable composition in which the human face is appropriately arranged.

尚、トリミング枠の位置を決定する際には、顔領域の中心ではなく、人物の「目」の位
置を基準にトリミング枠を設置することとしてもよい。例えば、画像データから人物の両
目を検出して、両目の中間の位置とトリミング枠の基準交点とが一致するようにトリミン
グ枠を設定する。こうすれば、人物の目が好適に配置された構図を得ることが可能である
。特に、ポートレート写真などのように人物の顔が大きく描かれた構図の場合、ユーザー
は、顔の中でも特に「目」を重視する傾向があるので、こうした画像では、目を適切な位
置に配置することで、よりユーザーの好みに合致する良好な構図を得ることが可能となる
When the position of the trimming frame is determined, the trimming frame may be set based on the position of the “eyes” of the person, not the center of the face area. For example, both eyes of a person are detected from the image data, and the trimming frame is set so that the middle position between the eyes matches the reference intersection of the trimming frame. In this way, it is possible to obtain a composition in which human eyes are suitably arranged. In particular, in the case of a composition with a large human face such as a portrait photograph, the user tends to place importance on the “eyes” in the face. By doing so, it becomes possible to obtain a good composition that more closely matches the user's preference.

尚、このステップ(図2のステップS104)では、トリミング枠の位置を決定するが
、トリミング枠のサイズについては決定しない点に注意しておく必要がある。すなわち、
図3に示されているトリミング枠のサイズは、実際にトリミング処理を行う際に用いられ
る最終的なサイズではなく、処理の都合上から仮に設定した暫定的なサイズにすぎない。
というのは、本実施例のトリミング枠設定処理では、トリミング枠のサイズをユーザーが
好みに応じて変更することが可能となっており、ユーザーが最終的に決定したサイズに従
ってトリミング処理がなされるからである。このトリミング枠のサイズを決定する処理に
ついては、後で詳しく説明する。尚、トリミング枠のサイズを暫定的に設定しておく際に
は、予め定めておいた所定のサイズを用いることとしてもよいし、あるいは、読み込んだ
画像データに対する所定の比率のサイズ(例えば、元の画像の4分の1のサイズ)として
もよい。本実施例では、トリミング枠の暫定的なサイズとして、読み込んだ画像データの
縦および横をそれぞれ半分にしたサイズを用いるものとする。
Note that in this step (step S104 in FIG. 2), the position of the trimming frame is determined, but the size of the trimming frame is not determined. That is,
The size of the trimming frame shown in FIG. 3 is not the final size used when actually performing the trimming process, but only the provisional size temporarily set for the convenience of the process.
This is because in the trimming frame setting process of this embodiment, the size of the trimming frame can be changed according to the user's preference, and the trimming process is performed according to the size finally determined by the user. It is. The process for determining the size of the trimming frame will be described in detail later. When the trimming frame size is tentatively set, a predetermined size set in advance may be used, or the size of a predetermined ratio with respect to the read image data (for example, the original size). The size of the image may be a quarter of the image size. In this embodiment, as the provisional size of the trimming frame, a size obtained by halving the length and width of the read image data is used.

こうして、トリミング枠の位置および暫定的なサイズを設定したら、トリミング枠をモ
ニタ画面320に表示することによって、ユーザーにトリミング枠を確認させる(ステッ
プS106)。これを受けて、ユーザーは、モニタ画面320でトリミング枠の位置を確
認するとともに、操作パネル310を用いて、トリミング枠の最終的なサイズを設定する
操作を行う(ステップS108)。
When the position and provisional size of the trimming frame are set in this way, the trimming frame is displayed on the monitor screen 320, thereby allowing the user to confirm the trimming frame (step S106). In response to this, the user confirms the position of the trimming frame on the monitor screen 320 and performs an operation of setting the final size of the trimming frame using the operation panel 310 (step S108).

図4は、ユーザーがモニタ画面320を確認しながらトリミング枠のサイズを設定する
様子を示した説明図である。図示されているように、モニタ画面320には、画像に重ね
た状態でトリミング枠が表示されるので、ユーザーは、画像中のどの部分がトリミング処
理によって抽出されるのかを容易に把握することが可能となっている。そこで、ユーザー
は、モニタ画面320を確認しながら、トリミング枠が所望のサイズとなるように操作パ
ネル310を操作する。
FIG. 4 is an explanatory diagram showing how the user sets the trimming frame size while checking the monitor screen 320. As shown in the figure, a trimming frame is displayed on the monitor screen 320 in a state of being superimposed on the image, so that the user can easily grasp which part of the image is extracted by the trimming process. It is possible. Therefore, the user operates the operation panel 310 while confirming the monitor screen 320 so that the trimming frame has a desired size.

ユーザーがトリミング枠のサイズを変更するために操作パネル310を操作すると、こ
れを受けて、制御部300は、トリミング枠を設定しなおして、再びモニタ画面320に
トリミング枠を表示する。ここで、トリミング枠のサイズを変更する際には、トリミング
枠の位置を動かすことなく、サイズのみを変更する。すなわち、トリミング枠の基準交点
を顔領域の中心位置に保ったままトリミング枠を相似拡大あるいは相似縮小することによ
って、トリミング枠のサイズを変更する。
When the user operates the operation panel 310 to change the size of the trimming frame, the control unit 300 resets the trimming frame and displays the trimming frame on the monitor screen 320 again. Here, when changing the size of the trimming frame, only the size is changed without moving the position of the trimming frame. That is, the size of the trimming frame is changed by enlarging or reducing the size of the trimming frame while keeping the reference intersection of the trimming frame at the center position of the face area.

図5には、トリミング枠の位置を動かさずにトリミング枠のサイズを変更する様子が概
念的に示されている。図中「a」で示されたトリミング枠は、先のステップS104にお
いて設定した暫定的なサイズのトリミング枠である。これに対して、図中「c」で示され
たトリミング枠は、基準交点を原点として「a」のトリミング枠を相似形に拡大したもの
である。図示されている様に、拡大したトリミング枠「c」においても、基準交点は顔領
域の中心に位置している。また、図中「b」で示されたトリミング枠は、「a」のトリミ
ング枠を相似形に縮小したものである。この場合も、やはり、基準交点は顔領域の中心に
位置している。このように、基準交点の位置を変えずにサイズだけを変更すれば、拡大し
たトリミング枠あるいは縮小したトリミング枠においても、人物の顔が好適な位置に配置
されることになる。このため、ユーザーは、トリミング枠のサイズを変える度にトリミン
グ枠の位置を再度調整するといった煩雑な操作を行う必要がなく、簡単に好適な構図のト
リミング枠を設定することが可能となっている。
FIG. 5 conceptually shows how the size of the trimming frame is changed without moving the position of the trimming frame. The trimming frame indicated by “a” in the drawing is a provisional size trimming frame set in the previous step S104. On the other hand, the trimming frame indicated by “c” in the figure is obtained by enlarging the trimming frame of “a” in a similar shape with the reference intersection as the origin. As shown in the figure, the reference intersection point is located at the center of the face area even in the enlarged trimming frame “c”. Also, the trimming frame indicated by “b” in the figure is obtained by reducing the trimming frame of “a” to a similar shape. Again, the reference intersection is located at the center of the face area. In this way, if only the size is changed without changing the position of the reference intersection, the person's face is arranged at a suitable position even in the enlarged trimming frame or the reduced trimming frame. For this reason, the user does not need to perform complicated operations such as adjusting the position of the trimming frame again each time the size of the trimming frame is changed, and can easily set a trimming frame having a suitable composition. .

こうして、モニタ画面320を見ながらトリミング枠のサイズを調整し、好みのトリミ
ング枠が設定できたら、ユーザーは、操作パネル310の決定ボタンを押して、トリミン
グ枠の最終的なサイズを確定する。これを受けて、制御部300は、トリミング枠の位置
および最終的なサイズをRAM上に記憶するとともに、図2のトリミング枠設定処理を終
了する。そして、記憶したトリミング枠の位置およびサイズに従って、トリミング枠内の
画像データを元の画像データから抽出し、抽出した画像データを印刷部200に供給する
ことによって、トリミング枠内の画像を印刷する。
When the trimming frame size is adjusted while viewing the monitor screen 320 in this way and the desired trimming frame can be set, the user presses the enter button on the operation panel 310 to determine the final size of the trimming frame. In response to this, the control unit 300 stores the position and final size of the trimming frame on the RAM, and ends the trimming frame setting process of FIG. Then, the image data in the trimming frame is extracted from the original image data according to the stored position and size of the trimming frame, and the extracted image data is supplied to the printing unit 200 to print the image in the trimming frame.

図6は、こうして印刷された画像を例示した説明図である。図6(a)は、図5におい
て「a」で示されたトリミング枠に従って抽出した画像データを印刷した画像である。ま
た、図6(b)は、図5において「b」で示されたトリミング枠に従って抽出した画像デ
ータを印刷したものであり、同様に、図6(c)は、図5において「c」で示されたトリ
ミング枠に従って抽出した画像データを印刷したものである。前述したように、これらの
何れのトリミング枠においても、人物の顔が適切な位置に配置されているので、図6に示
されているように、得られる印刷画像は、いずれも人物が適切な位置に配置された好適な
構図の画像となっている。
FIG. 6 is an explanatory diagram illustrating an image printed in this way. FIG. 6A is an image obtained by printing image data extracted according to the trimming frame indicated by “a” in FIG. FIG. 6B is a print of the image data extracted in accordance with the trimming frame indicated by “b” in FIG. 5. Similarly, FIG. 6C is “c” in FIG. The image data extracted according to the indicated trimming frame is printed. As described above, in any of these trimming frames, the person's face is arranged at an appropriate position. Therefore, as shown in FIG. It is an image of a suitable composition arranged at the position.

以上に説明した様に、本実施例の印刷装置10では、人物の顔を検出して、その位置に
基づいてトリミング枠の位置を決めている。このため、ユーザーは、操作パネルを何度も
操作してトリミング枠の位置を調整するといった煩雑な操作を行う必要がなく、トリミン
グ枠を簡便に設定することが可能となっている。もちろん、上述したように、ユーザーは
トリミング枠のサイズを決定するために操作パネル310を操作する必要があるが、この
場合には、トリミング枠を拡大するボタンおよび縮小するボタンを操作すればよいだけな
ので(図4参照)、操作は極めて簡単である。そして、こうして設定されたトリミング枠
は、人物の顔の位置に基づいて配置されていることから、人物の顔が適切な位置に配置さ
れた好適な構図となっている。これにより、ユーザーは、好適な構図にトリミングされた
画像を、きわめて簡単に印刷することが可能となっている。
As described above, in the printing apparatus 10 according to the present embodiment, the face of a person is detected and the position of the trimming frame is determined based on the position. For this reason, the user does not need to perform complicated operations such as adjusting the position of the trimming frame by operating the operation panel many times, and can easily set the trimming frame. Of course, as described above, the user needs to operate the operation panel 310 in order to determine the size of the trimming frame. In this case, it is only necessary to operate the buttons for enlarging and reducing the trimming frame. Therefore (see FIG. 4), the operation is very simple. Since the trimming frame set in this way is arranged based on the position of the person's face, it has a suitable composition in which the person's face is arranged at an appropriate position. Thus, the user can print an image trimmed to a suitable composition very easily.

尚、上述した説明においては、トリミング枠を設定する際に、トリミング枠を横長に設
定するものとして説明したが(図3参照)、トリミング枠を横長ではなく、縦長に設定す
るものとしてもよい。図7には、トリミング枠を縦長に設定する様子が示されている。ト
リミング枠を縦長に設定する場合であっても、上述した横長に設定する場合と同様に、ト
リミング枠の基準交点が顔領域の中心にくるように配置すればよい。これにより、人物の
顔が適切な位置に配置された良好な構図を得ることが可能である。
In the above description, the trimming frame is set to be horizontally long when setting the trimming frame (see FIG. 3). However, the trimming frame may be set to be vertically long instead of horizontally long. FIG. 7 shows a state in which the trimming frame is set to be vertically long. Even when the trimming frame is set to be vertically long, similarly to the case where the trimming frame is set to be horizontally long as described above, the trimming frame may be arranged so that the reference intersection of the trimming frame is at the center of the face area. Thereby, it is possible to obtain a good composition in which a person's face is arranged at an appropriate position.

また、トリミング枠を横長あるいは縦長のいずれの向きに配置するのかは、ユーザーが
操作パネル310を操作して決めるものとしてもよいが、画像に写された人物の数(すな
わち、検出した顔領域の数)に基づいて決めるものとしてもよい。例えば、顔領域が1つ
だけ検出された場合には、トリミング枠を縦長に配置することとし、他方、複数の顔領域
が検出された場合には、トリミング枠を横長に配置することとしてもよい。こうすると、
人物が1人だけ写っている場合には、人物の上半身を縦長に囲うことによって、ポートレ
ート写真のような良好な構図の画像を得ることが可能となる(図7参照)。一方で、複数
の人物が写っている画像の場合には、横長にトリミング枠を配置することによって、横に
並んだ複数の人物をトリミング枠内に収めることが可能となり、好適である。
The orientation of the trimming frame in the landscape or portrait orientation may be determined by the user by operating the operation panel 310, but the number of persons photographed in the image (that is, the detected face area) is determined. It may be determined based on (number). For example, when only one face area is detected, the trimming frame may be arranged vertically. On the other hand, when a plurality of face areas are detected, the trimming frame may be arranged horizontally. . This way
When only one person is shown, it is possible to obtain an image with a good composition such as a portrait photograph by vertically enclosing the upper body of the person (see FIG. 7). On the other hand, in the case of an image in which a plurality of persons are shown, it is preferable to arrange the trimming frame horizontally so that a plurality of people arranged side by side can be accommodated in the trimming frame.

また、上述した説明では、トリミング枠の縦の長さと横の長さとの比(アスペクト比)
は、ユーザーがトリミング枠のサイズを変更しても変らないものとして説明した(図5参
照)。しかし、トリミング枠の縦の長さと横の長さとを別々にユーザーが変更できるもの
としてもよい。図8には、ユーザーがトリミング枠の縦のサイズと横のサイズとを個別に
設定する様子が示されている。図示されているように、操作パネル310上のボタンを操
作することで、ユーザーは、縦のサイズおよび横のサイズをそれぞれ拡大あるいは縮小す
ることが可能である。こうすれば、ユーザーは自分の所望のアスペクト比で画像を印刷す
ることが可能となる。例えば、履歴書などの写真枠の縦横の比率に合わせてトリミング枠
を設定すれば、その写真枠にぴったり収まる画像を印刷することが可能となる。そして、
この様に、トリミング枠の縦のサイズおよび横のサイズを個別に変更する場合でも、基準
交点が顔領域の中心にくるようにトリミング枠が配置されるので、好適な構図を得ること
が可能となっている。このため、ユーザーは、サイズを変更する度にトリミング枠の位置
を調整するといった煩雑な操作をする必要がなく、好みのアスペクト比で好適な構図の画
像を簡単に得ることが可能となっている。
In the above description, the ratio between the vertical length and the horizontal length of the trimming frame (aspect ratio).
Has been described as not changing even if the user changes the size of the trimming frame (see FIG. 5). However, the user may be able to change the vertical length and the horizontal length of the trimming frame separately. FIG. 8 shows how the user individually sets the vertical size and horizontal size of the trimming frame. As shown in the figure, by operating a button on the operation panel 310, the user can enlarge or reduce the vertical size and the horizontal size, respectively. In this way, the user can print an image with his / her desired aspect ratio. For example, if a trimming frame is set in accordance with the aspect ratio of a photo frame such as a resume, an image that fits in the photo frame can be printed. And
In this way, even when the vertical size and horizontal size of the trimming frame are individually changed, the trimming frame is arranged so that the reference intersection point is at the center of the face area, so that a suitable composition can be obtained. It has become. Therefore, the user does not need to perform a complicated operation such as adjusting the position of the trimming frame each time the size is changed, and can easily obtain an image having a suitable composition with a desired aspect ratio. .

尚、上述した説明では、人物が1人だけ写されている画像を例にとって説明したが(図
3参照)、複数の人物が写っている画像についても、好適にトリミング枠を設定すること
が可能である。図9は、2人の人物が写された画像にトリミング枠を設定する様子を示し
た説明図である。図示されているように、2人の人物が写されている画像では、検出した
2つの顔領域の平均の高さと、トリミング枠の基準交点の高さとが一致するようにトリミ
ング枠を配置し、なおかつ、顔領域と顔領域との真ん中に基準交点が位置するようにトリ
ミング枠を配置する。こうすれば、2人の人物の顔が好適な高さに配置されるとともに、
2人の顔がほぼ左右対称にバランスよく配置されることになるので、好適な構図の画像が
得られる。もちろん、こうした場合も、ユーザーは操作パネル310を何度も操作してト
リミング枠の位置を調整するといった煩雑な操作をする必要がないので、好適な画像を簡
便に得ることが可能となっている。
In the above description, an example of an image in which only one person is captured has been described (see FIG. 3). However, a trimming frame can be suitably set for an image in which a plurality of persons are captured. It is. FIG. 9 is an explanatory diagram showing a state in which a trimming frame is set on an image in which two persons are photographed. As shown in the drawing, in an image in which two persons are photographed, the trimming frame is arranged so that the average height of the two detected face areas matches the height of the reference intersection of the trimming frame, In addition, the trimming frame is arranged so that the reference intersection is located in the middle between the face area and the face area. In this way, the faces of the two people are placed at a suitable height,
Since the faces of the two people are arranged symmetrically and in a balanced manner, an image with a suitable composition can be obtained. Of course, even in such a case, the user does not need to perform complicated operations such as adjusting the position of the trimming frame by operating the operation panel 310 many times, so that a suitable image can be easily obtained. .

B−2.第2実施例 :
上述した第1の実施例では、検出した顔領域に基づいてトリミング枠の位置を決定した
後、ユーザーがトリミング枠のサイズを設定するものとしていた。しかし、検出した顔領
域に基づいて、トリミング枠の位置だけでなくトリミング枠のサイズをも決定することが
可能である。
B-2. Second embodiment:
In the first embodiment described above, after the position of the trimming frame is determined based on the detected face area, the user sets the size of the trimming frame. However, not only the position of the trimming frame but also the size of the trimming frame can be determined based on the detected face area.

図10は、顔領域に基づいてトリミング枠の位置およびサイズを決定する第2実施例の
トリミング枠設定処理の流れ示したフローチャートである。かかる処理は、第1実施例の
トリミング枠設定処理と同様に、ユーザーがトリミング処理を行う画像データを選択する
と、その画像データにトリミング枠を設定するために行われる処理である。また、図10
に示した第2実施例のトリミング枠設定処理は、図2に示した第1実施例のトリミング枠
設定処理に対して、モニタ画面320上にトリミング枠を表示する前に枠のサイズを決定
する点が大きく異なっているが、他の点では、ほぼ同様な処理である。以下では、こうし
た相違点を中心として、第2実施例のトリミング枠設定処理について説明する。
FIG. 10 is a flowchart showing the flow of the trimming frame setting process of the second embodiment for determining the position and size of the trimming frame based on the face area. Similar to the trimming frame setting process of the first embodiment, this process is a process performed to set a trimming frame for image data when the user selects image data to be trimmed. Also, FIG.
The trimming frame setting process of the second embodiment shown in FIG. 2 determines the size of the frame before displaying the trimming frame on the monitor screen 320 in contrast to the trimming frame setting process of the first embodiment shown in FIG. Although the points are greatly different, the other processes are almost the same. Hereinafter, the trimming frame setting process of the second embodiment will be described focusing on such differences.

第2実施例のトリミング枠設定処理では、処理を開始すると、まず、第1実施例と同様
に、画像データを読み込み(ステップS200)、読み込んだ画像データを解析して画像
に写された人物の顔を検出する(ステップS202)。そして、検出した顔領域の位置に
基づいて、トリミング枠の位置を決定する(ステップS204)。トリミング枠の位置を
決定する際には、第1実施例と同様に、検出した顔領域の中心にトリミング枠の基準交点
がくるようにトリミング枠を配置する(図11参照)。もちろん、顔領域の中心のかわり
に、2つの目の中点にトリミング枠の基準交点を一致させてもよい。こうして、検出した
顔領域の位置に基づいてトリミング枠の位置を決定したら、次いで、トリミング枠のサイ
ズを決定する処理を行う(図10のステップS206)。
In the trimming frame setting process of the second embodiment, when the process is started, first, as in the first embodiment, image data is read (step S200), the read image data is analyzed, and the person captured in the image is analyzed. A face is detected (step S202). Then, the position of the trimming frame is determined based on the detected position of the face area (step S204). When determining the position of the trimming frame, as in the first embodiment, the trimming frame is arranged so that the reference intersection of the trimming frame comes to the center of the detected face area (see FIG. 11). Of course, instead of the center of the face area, the reference intersection of the trimming frame may be made to coincide with the midpoint of the two eyes. When the position of the trimming frame is determined based on the detected face area position, processing for determining the size of the trimming frame is performed (step S206 in FIG. 10).

図11は、第2実施例において、トリミング枠のサイズを決定する様子を示した説明図
である。図示されているように、第2実施例では、トリミング枠の横のサイズを、検出し
た顔領域の横幅(図中「r」と表示)の3倍の長さに設定している(図中「3r」と表示
)。トリミング枠の横のサイズをこのように設定するのは、三分割フレームの考え方に基
づくものである。すなわち、画像の中央部分に被写体を配置し、その両側に被写体の幅と
ほぼ同じ幅の空間を空けて撮影すると、好適な構図の写真が撮影できることが経験的に知
られている。そこで、トリミング枠の横のサイズを顔領域の3倍の幅に調整してやれば、
人物の顔を好適な構図で捉えたトリミング枠を設定することが可能となる。
FIG. 11 is an explanatory diagram showing how the trimming frame size is determined in the second embodiment. As shown in the drawing, in the second embodiment, the horizontal size of the trimming frame is set to a length three times the horizontal width of the detected face area (indicated as “r” in the figure) (in the figure). "3r" is displayed). The horizontal size of the trimming frame is set in this way based on the concept of a three-divided frame. That is, it is empirically known that a photograph with a suitable composition can be taken by placing a subject in the center of the image and taking a picture with a space substantially the same as the width of the subject on both sides. So, if you adjust the horizontal size of the trimming frame to 3 times the width of the face area,
A trimming frame that captures a person's face with a suitable composition can be set.

こうしてトリミング枠の横のサイズを決定したら、今度は、トリミング枠の縦のサイズ
を決定する。トリミング枠の縦のサイズについては、種々の方法で設定することが可能で
ある。例えば、元の画像の横のサイズと縦のサイズとの比率(アスペクト比)を画像デー
タから取得して、この元の画像のアスペクト比と、トリミング枠のアスペクト比とが一致
するように、トリミング枠の縦のサイズを決定すればよい。通常、デジタルカメラ等で撮
影した画像データのアスペクト比は、人間が好ましいと感じる比率に設定されていること
から、このようにトリミング枠のアスペクト比を元の画像データのアスペクト比に合わせ
てやれば、簡単に好適なアスペクト比のトリミング枠を設定することが可能となる。もち
ろん、トリミング枠のアスペクト比を予め定めておいてもよい。例えば、トリミング枠の
アスペクト比をいわゆる黄金比(1:1.61)としてやれば、黄金比を有する好適なト
リミング枠を設定することが可能である。
If the horizontal size of the trimming frame is thus determined, the vertical size of the trimming frame is determined next time. The vertical size of the trimming frame can be set by various methods. For example, the ratio (aspect ratio) between the horizontal size and the vertical size of the original image is acquired from the image data, and trimming is performed so that the aspect ratio of the original image matches the aspect ratio of the trimming frame. What is necessary is just to determine the vertical size of a frame. Normally, the aspect ratio of image data shot with a digital camera or the like is set to a ratio that humans feel desirable, so if the aspect ratio of the trimming frame matches the aspect ratio of the original image data in this way, Thus, it becomes possible to easily set a trimming frame having a suitable aspect ratio. Of course, the aspect ratio of the trimming frame may be determined in advance. For example, if the aspect ratio of the trimming frame is set to a so-called golden ratio (1: 1.61), a suitable trimming frame having a golden ratio can be set.

こうして、トリミング枠の位置およびサイズを決定したら、トリミング枠をモニタ画面
320に表示して、ユーザーにトリミング枠を確認させる(図10のステップS208)
。ユーザーは、トリミング枠が好適なサイズに設定されていることを確認したら、操作パ
ネル310(図4参照)の決定ボタンを押してトリミング枠のサイズを確定する。もちろ
ん、ユーザーがトリミング枠のサイズを調整したい場合には、操作パネル310を操作し
てサイズを調整することとしてもよい。こうして、トリミング枠を設定したら、図10の
トリミング枠設定処理を終了する。そして、設定されたトリミング枠内の画像データを元
の画像データから抽出し、抽出した画像データを印刷部200に供給することによって、
トリミング枠内の画像を印刷する。これにより、人物が好適な構図で抽出された良好な印
刷画像を得ることが可能となる。
When the position and size of the trimming frame are determined in this way, the trimming frame is displayed on the monitor screen 320 to allow the user to confirm the trimming frame (step S208 in FIG. 10).
. When the user confirms that the trimming frame is set to a suitable size, the user confirms the size of the trimming frame by pressing the enter button on the operation panel 310 (see FIG. 4). Of course, when the user wants to adjust the size of the trimming frame, the size may be adjusted by operating the operation panel 310. When the trimming frame is set in this way, the trimming frame setting process in FIG. 10 ends. Then, by extracting the image data in the set trimming frame from the original image data, and supplying the extracted image data to the printing unit 200,
Print the image in the trimming frame. Thereby, it is possible to obtain a good print image in which a person is extracted with a suitable composition.

以上に説明した様に、第2実施例のトリミング枠設定処理では、検出した顔領域の横幅
に基づいてトリミング枠のサイズを決定している。こうすれば、ユーザーは、トリミング
枠のサイズを決定するために操作パネル310を操作する必要が無いので、より簡単にト
リミング枠を設定することが可能となる。そして、設定されたトリミング枠は、顔領域の
位置に基づいて設定されていることから、人物の顔領域が好適な位置に配置されており、
また、顔領域の幅に基づいてトリミング枠の幅が設定されていることから、人物の顔を好
適な大きさでトリミングすることが可能となっている。これにより、ユーザーは、極めて
簡単に好適な構図の画像を得ることが可能となっている。もちろん、ユーザーによっては
、トリミング枠の位置やサイズを変更したいと思う場合もある。しかし、その場合でも、
トリミング枠はおおむね適切な位置およびサイズに設定されているので、ユーザーは設定
されたトリミング枠を微調整するだけで、好みの位置に好みのサイズのトリミング枠を設
定することが可能となる。
As described above, in the trimming frame setting process of the second embodiment, the size of the trimming frame is determined based on the detected lateral width of the face area. In this way, the user does not need to operate the operation panel 310 in order to determine the size of the trimming frame, so that the trimming frame can be set more easily. And since the set trimming frame is set based on the position of the face area, the face area of the person is arranged at a suitable position,
In addition, since the width of the trimming frame is set based on the width of the face area, it is possible to trim a human face with a suitable size. As a result, the user can obtain an image with a suitable composition very easily. Of course, some users may want to change the position and size of the trimming frame. But even then,
Since the trimming frame is generally set to an appropriate position and size, the user can set a trimming frame of a desired size at a desired position only by finely adjusting the set trimming frame.

尚、上述の説明では、人物が1人だけ写されている画像を例にとって説明したが、人物
が2人以上写されている画像についても、トリミング枠の位置およびサイズを適切に設定
することが可能である。図12は、2人の人物が写された画像について、トリミング枠の
位置およびサイズを決定する様子を示した説明図である。トリミング枠の位置を決定する
には、前述の第1実施例で説明した様に、顔領域の平均の高さにトリミング枠の基準交点
が位置するようにし、なおかつ、顔領域と顔領域との真ん中に基準交点が位置するように
トリミング枠を配置すればよい。
In the above description, an example in which only one person is captured has been described, but the position and size of the trimming frame can be appropriately set for an image in which two or more persons are captured. Is possible. FIG. 12 is an explanatory diagram showing how the position and size of the trimming frame are determined for an image in which two persons are captured. In order to determine the position of the trimming frame, as described in the first embodiment, the reference intersection of the trimming frame is located at the average height of the face area, and the face area and the face area The trimming frame may be arranged so that the reference intersection is located in the middle.

一方、トリミング枠のサイズは、次のように決定すればよい。すなわち、図示されてい
る様に、検出した2つの顔領域の一方の顔領域からもう一方の顔領域までの幅(図中「r
」と表示)を算出し、この幅の半分の幅(r/2)を、2つの顔領域の外側にそれぞれ加
える。そして、こうして得られた幅の端から端までの長さ((図中2rと表示)をトリミ
ング枠の横のサイズとする。2人の人物を撮影する場合には、人物の間隔の半分ほどのス
ペースを両側にとると、好適な構図となることが経験的に知られているので、図示されて
いるようにトリミング枠の横のサイズを決定してやれば、2人の人物を適切な位置に適切
な大きさで配置した好適な構図を得ることが可能となる。
On the other hand, the size of the trimming frame may be determined as follows. That is, as shown in the drawing, the width from one face area of the two detected face areas to the other face area ("r"
”) And half the width (r / 2) is added to the outside of the two face regions. Then, the length from end to end of the width thus obtained (indicated as 2r in the figure) is the horizontal size of the trimming frame.When shooting two persons, about half the distance between the persons It has been empirically known that a good composition can be obtained if both spaces are taken on both sides, so if the size of the trimming frame is determined as shown in the figure, the two persons can be placed in appropriate positions. It is possible to obtain a suitable composition arranged in an appropriate size.

尚、トリミング枠の縦のサイズについては、前述した様に、元の画像のアスペクト比と
トリミング枠のアスペクト比とが一致するように設定してもよいし、あるいは、トリミン
グ枠のアスペクト比が黄金比となるように設定してもよい。これにより、適切なアスペク
ト比を有するトリミング枠を設定することが可能となる。この様に、2人の人物が写され
た画像についても、好適なトリミング枠を設定することが可能である。
As described above, the vertical size of the trimming frame may be set so that the aspect ratio of the original image and the aspect ratio of the trimming frame coincide with each other, or the aspect ratio of the trimming frame is golden. You may set so that it may become ratio. This makes it possible to set a trimming frame having an appropriate aspect ratio. In this way, it is possible to set a suitable trimming frame for an image in which two persons are copied.

また、1人の人物が写された画像あるいは2人の人物が写された画像に限られず、3人
以上の人物が写された画像についても、検出した顔領域に基づいてトリミング枠の位置お
よびサイズを好適に設定することが可能である。つまり、画像に写された人物が何人であ
っても、その人数を考慮してトリミング枠を設定することによって、それぞれの人数に適
したサイズの好適なトリミング枠を設定することが可能である。
Further, the image is not limited to an image in which one person is photographed or an image in which two persons are photographed. An image in which three or more persons are photographed is also used to determine the position of the trimming frame based on the detected face area. The size can be suitably set. That is, it is possible to set a suitable trimming frame having a size suitable for each number of people by setting the trimming frame in consideration of the number of persons, regardless of the number of persons photographed in the image.

図13は、画像に写された人数に応じて適切なサイズのトリミング枠を設定する方法を
概念的に示した説明図である。尚、図13(a)では、3人の人物が写された画像が例と
して示されているが、3人の人物の画像に限らず、どのような人数の画像であってもよい
。こうした画像に対して、まず、検出した顔領域の位置に基づいてトリミング枠の位置を
決定する。すなわち、図13(a)に示されているように、検出した顔領域の平均の高さ
と、トリミング枠の基準交点の高さとが一致するようにトリミング枠を配置し、なおかつ
、顔領域の平均の位置に基準交点が位置するようにトリミング枠を配置する。このように
顔領域の平均の高さと平均の位置とに基づいてトリミング枠の位置を決定することとすれ
ば、画像に複数の人物が写されている場合であっても、トリミング枠の位置を適切に決定
することが可能である。もちろん、1人の人物が写された画像の場合には、その人物の顔
領域の中心にトリミング枠の基準交点が位置するように設定すればよい(図11参照)。
こうしてトリミング枠の位置を決定したら、今度は、トリミング枠のサイズを決定する。
FIG. 13 is an explanatory diagram conceptually showing a method for setting a trimming frame of an appropriate size according to the number of people photographed in an image. In FIG. 13A, an image showing three persons is shown as an example, but the image is not limited to an image of three persons, and may be an arbitrary number of persons. For such an image, first, the position of the trimming frame is determined based on the detected position of the face area. That is, as shown in FIG. 13A, the trimming frame is arranged so that the average height of the detected face area coincides with the height of the reference intersection of the trimming frame, and the average of the face area The trimming frame is arranged so that the reference intersection is located at the position of. In this way, if the position of the trimming frame is determined based on the average height and the average position of the face area, the position of the trimming frame can be determined even when a plurality of persons are captured in the image. It is possible to decide appropriately. Of course, in the case of an image in which one person is photographed, the reference intersection of the trimming frame may be set at the center of the face area of the person (see FIG. 11).
If the position of the trimming frame is thus determined, the size of the trimming frame is determined next time.

トリミング枠のサイズを決定するには、まず、検出した顔領域の中から、一番左側にあ
る顔領域と一番右側にある顔領域とを選び出し、一番左側の顔領域から一番右側の顔領域
までの幅(図中「r」と表示)を算出する。尚、図13(a)では、3人の人物が写され
た画像が例として示されているが、このように複数の人物が写された画像だけでなく、1
人の人物だけが写された画像であっても、「r」を算出することが可能である。すなわち
、1人の人物だけが写された画像では、顔領域が一つだけ検出されるので、その顔領域の
幅を「r」とすればよい(図11参照)。こうして、顔領域から顔領域までの幅(1人の
場合は、顔領域の幅)「r」を算出したら、この「r」と、画像に写された人物の数(検
出された顔領域の数)とに基づいて、トリミング枠の横のサイズ(図中「W」と表示)を
決定する。すなわち、「r」の値とトリミング枠の横のサイズ「W」との比率(r/W)
が、人物の数ごとに予め定めておいた所定の比率と一致するように、トリミング枠の横の
サイズ「W」の値を決定する。
To determine the size of the trimming frame, first select the leftmost face area and the rightmost face area from the detected face areas, and then select the rightmost face area from the leftmost face area. The width to the face area (displayed as “r” in the figure) is calculated. In FIG. 13A, an image in which three persons are copied is shown as an example, but not only an image in which a plurality of persons are copied in this way,
It is possible to calculate “r” even for an image in which only a person is captured. That is, since only one face area is detected in an image showing only one person, the width of the face area may be set to “r” (see FIG. 11). Thus, after calculating the width from the face area to the face area (in the case of one person, the width of the face area) “r”, this “r” and the number of persons captured in the image (the number of detected face areas) are calculated. The horizontal size of the trimming frame (indicated as “W” in the figure) is determined based on the number. That is, the ratio (r / W) between the value of “r” and the horizontal size “W” of the trimming frame
However, the value of the horizontal size “W” of the trimming frame is determined so as to coincide with a predetermined ratio predetermined for each number of persons.

このように、顔領域から顔領域までの幅「r」および人物の人数に応じて定めた比率(
r/W)を用いてトリミング枠のサイズを決定するのは、次のような考えによるものであ
る。すなわち、顔領域から顔領域までの幅「r」を算出し、これを所定の比率で拡大した
値をトリミング枠の横のサイズとすれば、トリミング枠の横のサイズは「r」よりも大き
くなるので、全ての顔領域をトリミング枠の内側に収めることが可能である。更に、比率
(r/W)を適切に設定してやれば、人物をトリミング枠内にバランスよく配置すること
ができるので、良好な構図を得ることが可能である。ここで、こうした良好な構図が得ら
れる際の比率(r/W)は、画像に写された人物の数によって異なると考えることができ
る。例えば、2人の人物が写された画像の場合(図12参照)、前述した様に、r/W=
1/2とした場合に、良好な構図が得られることが経験的に知られている。一方、1人の
人物が写された画像の場合には(図11参照)、前述した様に、r/W=1/3とした場
合に、良好な構図が得られることが知られている。更には、3人以上の人物が写された画
像についても同様に、それぞれの人物の数ごとに適切な比率(r/W)が存在していると
考えることができる。このように、「r/W」の値が適切な値となるようにトリミング枠
の横のサイズを設定すれば、好適な構図を得ることが可能であり、このときの比率(r/
W)は、人物の数によって異なっている。こうした理由から、「r」だけでなく、画像に
写された人物の数を考慮してトリミング枠の横のサイズ(W)を決定するのである。
Thus, the ratio (r) determined according to the width “r” from the face area to the face area and the number of persons (
The size of the trimming frame is determined using r / W) based on the following idea. That is, if the width “r” from the face area to the face area is calculated, and the value obtained by enlarging the width “r” at a predetermined ratio is the horizontal size of the trimming frame, the horizontal size of the trimming frame is larger than “r”. Therefore, it is possible to fit all the face areas inside the trimming frame. Furthermore, if the ratio (r / W) is set appropriately, the person can be arranged in a well-balanced manner in the trimming frame, so that a good composition can be obtained. Here, it can be considered that the ratio (r / W) at which such a good composition is obtained varies depending on the number of persons photographed in the image. For example, in the case of an image showing two persons (see FIG. 12), as described above, r / W =
It is empirically known that a good composition can be obtained when the ratio is set to 1/2. On the other hand, in the case of an image showing one person (see FIG. 11), it is known that a good composition can be obtained when r / W = 1/3 as described above. . Furthermore, similarly, it can be considered that an appropriate ratio (r / W) exists for each number of persons in an image in which three or more persons are captured. Thus, if the horizontal size of the trimming frame is set so that the value of “r / W” becomes an appropriate value, a suitable composition can be obtained, and the ratio (r /
W) differs depending on the number of persons. For this reason, the horizontal size (W) of the trimming frame is determined in consideration of not only “r” but also the number of persons photographed in the image.

図13(b)は、トリミング枠の横のサイズ「W」の値を決定する為の比率「r/W」
を例示した説明図である。図示されている様に、画像に写された人物の数によって、比率
「r/W」は異なる値が設定されている。こうした値は、経験的に決めておくことが可能
である。例えば、1人の人物が写された画像の場合(図11参照)、前述した様に、顔領
域の幅がトリミング枠のちょうど3分の1になるようにすると、好適な構図となることが
経験的に知られているので、「r/W」の値として「1/3」を設定しておくことができ
る。また、2人の人物が写された画像の場合には(図12参照)、トリミング枠の横のサ
イズを顔領域から顔領域までの幅の2倍にすると好適な構図となることが知られているの
で、「r/W」の値として「1/2」を設定しておくことができる。同様に、3人の人物
が写された画像や4人の人物が写された画像についても、経験に基づいて比率を設定して
おくことが可能である。こうして設定しておいた値に一致するように、トリミング枠の横
のサイズ「W」を決定すれば、トリミング枠の内側に人物が適切に配置されることによっ
て、好適な構図を得ることが可能となる。
FIG. 13B shows the ratio “r / W” for determining the value of the size “W” next to the trimming frame.
It is explanatory drawing which illustrated. As shown in the drawing, the ratio “r / W” is set to a different value depending on the number of persons photographed in the image. These values can be determined empirically. For example, in the case of an image in which a single person is captured (see FIG. 11), as described above, if the width of the face area is set to exactly one third of the trimming frame, a suitable composition may be obtained. Since it is known from experience, “1/3” can be set as the value of “r / W”. Further, in the case of an image in which two persons are captured (see FIG. 12), it is known that a suitable composition can be obtained by setting the horizontal size of the trimming frame to twice the width from the face area to the face area. Therefore, “1/2” can be set as the value of “r / W”. Similarly, it is possible to set a ratio based on experience for an image in which three persons are copied and an image in which four persons are copied. If the horizontal size “W” of the trimming frame is determined so as to match the value set in this way, a suitable composition can be obtained by appropriately placing the person inside the trimming frame. It becomes.

尚、図13(b)に示されているように、画像に写された人物の人数が多くなるに従っ
て、トリミング枠の横のサイズ「W」に対する「r」の比率(r/W)が大きくなる。こ
れは、次の理由によるものである。すなわち、人物の数が多くなると人数が増えた分だけ
「r」の値が大きくなる傾向があるが、これに従ってトリミング枠の横のサイズ「W」を
大きな値としてしまうと、トリミング枠のサイズに対して個々の顔領域が小さくなってし
まって、好適な構図が得られない。つまり、人数が増えて「r」の値が大きくなった場合
であっても、トリミング枠のサイズ「W」はできるだけ大きくしない方が好適な構図が得
られる(すなわち、「r/W」の値としては、大きな値をとった方がよい)。このため、
図13(b)では、人数が増えるに従って、トリミング枠のサイズ「W」に対する「r」
の比率(r/W)が大きくなるように設定されている。
As shown in FIG. 13B, the ratio (r / W) of “r” to the size “W” next to the trimming frame increases as the number of persons photographed in the image increases. Become. This is due to the following reason. That is, as the number of persons increases, the value of “r” tends to increase as the number of persons increases. If the size “W” next to the trimming frame is increased accordingly, the size of the trimming frame is increased. On the other hand, the individual face area becomes small, and a suitable composition cannot be obtained. That is, even when the number of people increases and the value of “r” increases, it is preferable that the trimming frame size “W” be as small as possible (ie, the value of “r / W”). As a better value). For this reason,
In FIG. 13B, “r” with respect to the trimming frame size “W” as the number of people increases.
The ratio (r / W) is set to be large.

また、図13(b)に示されているように、トリミング枠を縦長に設定する場合(縦向
きレイアウト)と、横長に設定する場合(横向きレイアウト)とのそれぞれに応じて、異
なる比率を設定しておくものとしてもよい。縦向きレイアウトと、横向きレイアウトとで
は、好適な構図となる比率(r/W)が若干異なるので、このように縦向きレイアウトと
横向きレイアウトとで、それぞれ別々の値を設定しておけば、それぞれのレイアウトにお
いてより好適な構図を得ることが可能である。
Also, as shown in FIG. 13 (b), different ratios are set depending on whether the trimming frame is set to be vertically long (vertical layout) or to be horizontally long (horizontal layout). It is good to keep it. Since the ratio (r / W) for achieving a suitable composition is slightly different between the vertical layout and the horizontal layout, if different values are set for the vertical layout and the horizontal layout in this way, It is possible to obtain a more suitable composition in this layout.

この様に、本実施例のトリミング枠設定処理では、1人の人物が写された画像であって
も、複数の人物が写された画像であっても、それぞれの人数に応じて適切なサイズのトリ
ミング枠を設定することが可能となっている。このため、ユーザーは、トリミング処理可
能な画像のみを選び出すために、画像に写された人物の数を確認するといった作業を行う
必要がなく、単に、自分が印刷したい画像を選択すればよい。もちろん、トリミング処理
を行う際に、操作パネル310を何度も操作してトリミング枠を設置するといった煩雑な
操作をする必要もない。このため、ユーザーは簡単にトリミング処理を実行することが可
能となっており、この結果、好適な構図にトリミングされた印刷画像をきわめて簡単に得
ることが可能となっている。
As described above, in the trimming frame setting process according to the present embodiment, an image having one person or a plurality of persons can be appropriately sized according to the number of persons. It is possible to set a trimming frame. For this reason, in order to select only the images that can be trimmed, the user does not need to perform an operation of confirming the number of persons photographed in the images, and simply selects an image that the user wants to print. Of course, when performing the trimming process, it is not necessary to perform complicated operations such as operating the operation panel 310 many times to install the trimming frame. For this reason, the user can easily perform the trimming process, and as a result, a printed image trimmed to a suitable composition can be obtained very easily.

C.変形例 :
上述した第1実施例および第2実施例では、複数の人物が写された画像の場合には、検
出した全ての顔領域に基づいてトリミング枠を設定するものとして説明した(図13参照
)。しかし、検出した顔領域の中から特定の人物の顔領域を探し出し、その人物の顔領域
のみを用いてトリミング枠を設定することとしてもよい。検出した顔領域の中から特定の
人物の顔領域を検出するには、次の処理を行えばよい。すなわち、画像データから抽出し
た「目」、「口」、「鼻」などの形状や、これらの互いの位置関係を、予め記憶しておい
た特定の人物の顔のデータと比較して、両者が一致するか否かを調べる。例えば、抽出し
た「目」の輪郭と、記憶しておいた特定の人物の目の輪郭とを比較して、両者が一致する
か否かを調べればよい。あるいは、抽出した両目および鼻を頂点とする三角形を作って、
その三角形の3つの角度を求める。そして、記憶しておいた特定の人物の顔についても同
様に三角形を作って3つの角度を求めて、先の三角形の3つの角度と一致するか否かを調
べればよい。これらが一致すれば、その顔は、特定の人物の顔であると判断することがで
きる。こうして、特定の人物の顔を検出したら、その人物の顔領域のみを用いて、トリミ
ング枠を設定する。
C. Modification:
In the first and second embodiments described above, in the case of an image in which a plurality of persons are captured, it has been described that the trimming frame is set based on all detected face regions (see FIG. 13). However, the face area of a specific person may be searched from the detected face areas, and the trimming frame may be set using only the face area of the person. In order to detect the face area of a specific person from the detected face areas, the following process may be performed. That is, the shape of “eyes”, “mouth”, “nose”, etc. extracted from the image data, and the positional relationship between them are compared with the face data of a specific person stored in advance. To see if they match. For example, the extracted “eye” outline may be compared with the stored outline of a specific person's eye to determine whether or not they match. Or make a triangle with the extracted eyes and nose at the top,
Find the three angles of the triangle. Then, a triangle is similarly created for the stored face of a specific person, and three angles are obtained, and it is determined whether or not they match the three angles of the previous triangle. If they match, the face can be determined to be the face of a specific person. Thus, when a face of a specific person is detected, a trimming frame is set using only the face area of the person.

図14は、特定の人物の顔領域のみに基づいてトリミング枠を設定した様子を例示した
説明図である。図示されているように、この画像では3人の人物の顔領域が検出されてい
るが、この内の1人の人物の顔領域に対してトリミング枠が設定されている。トリミング
枠をこの様に設定するには、1人の人物だけが写された画像にトリミング枠を設定する場
合と同様の処理を行えばよい。すなわち、その人物の顔領域の中心と、トリミング枠の基
準交点とが一致するようにトリミング枠を配置すればよい(図3参照)。もちろん、顔領
域の中心の代わりに、2つの目の中点とトリミング枠の基準交点とが一致するようにトリ
ミング枠を配置してもよい。この様に、特定の人物の顔領域に基づいてトリミング枠を設
定すれば、複数の人物が写っている画像であっても、ユーザーは、所望の人物だけを好適
な構図で抜き出して印刷することが可能である。例えば、特定の人物の顔のデータとして
自分の顔を記憶させておけば、複数の人物が写された画像であっても、自分の顔領域を基
準にトリミング枠が設定されるので、自分だけを好適な構図で抜き出して印刷することが
可能となる。そして、こうした場合も、トリミング枠が適切に配置されるので、ユーザー
は、操作パネル310を何度も操作するといった煩わしい操作をすることなく、簡単に自
分だけを抜き出して印刷することが可能となっている。
FIG. 14 is an explanatory diagram illustrating a state in which a trimming frame is set based only on a face area of a specific person. As shown in the figure, the face areas of three persons are detected in this image, and a trimming frame is set for the face area of one of these persons. In order to set the trimming frame in this way, the same processing as that for setting a trimming frame on an image in which only one person is captured may be performed. That is, the trimming frame may be arranged so that the center of the face area of the person coincides with the reference intersection of the trimming frame (see FIG. 3). Of course, instead of the center of the face area, the trimming frame may be arranged so that the midpoint of the two eyes coincides with the reference intersection of the trimming frame. In this way, if the trimming frame is set based on the face area of a specific person, even if the image shows a plurality of persons, the user can extract and print only the desired person with a suitable composition. Is possible. For example, if you store your face as face data of a specific person, even if it is an image of multiple persons, the trimming frame is set based on your face area, so you Can be extracted and printed with a suitable composition. In such a case, since the trimming frame is appropriately arranged, the user can easily extract and print only himself without performing troublesome operations such as operating the operation panel 310 many times. ing.

あるいは、複数の人物が写っている画像の中からユーザーに1人(あるいは複数人)の
顔を指定させて、それらの顔に対して上述した処理を行うことによりトリミング枠を設定
するようにしてもよい。このようにしても、ユーザーが人物を指定するだけで指定された
人物を切り出すように適切なトリミング枠を設定することができ、所望の画像を簡単に印
刷することが可能となる。
Alternatively, the user can designate one (or more) faces from an image in which a plurality of persons are captured, and the trimming frame is set by performing the above-described processing on the faces. Also good. Even in this case, it is possible to set an appropriate trimming frame so as to cut out the designated person simply by designating the person, and it is possible to easily print a desired image.

以上、本実施例の画像処理装置について説明したが、本発明は上記すべての実施例に限
られるものではなく、その要旨を逸脱しない範囲において種々の態様で実施することが可
能である。
The image processing apparatus according to the present embodiment has been described above. However, the present invention is not limited to all the embodiments described above, and can be implemented in various modes without departing from the spirit of the present invention.

例えば、上述の実施例では、本実施例の画像処理装置を印刷装置に搭載した場合につい
て説明したが、本実施例の画像処理装置をデジタルカメラに搭載することも可能である。
デジタルカメラに搭載した場合には、ユーザーが画像を撮影した直後に、本実施例の画像
処理装置によって、デジタルカメラのモニタ画面にトリミング枠を表示する。こうすれば
、ユーザーは、その場面を撮影するのに最適な構図を知ることができるので、この構図を
参考にして再び撮影をしなおすことによって、より良好な構図の画像を簡単に撮影するこ
とが可能となる。
For example, in the above-described embodiment, the case where the image processing apparatus of this embodiment is mounted on a printing apparatus has been described. However, the image processing apparatus of this embodiment can also be mounted on a digital camera.
When the digital camera is mounted, a trimming frame is displayed on the monitor screen of the digital camera by the image processing apparatus according to the present embodiment immediately after the user captures an image. In this way, the user can know the optimal composition for shooting the scene, so it is easy to shoot an image with a better composition by taking another shot with reference to this composition. Is possible.

もちろん、デジタルカメラや印刷装置に限られず、本実施例の画像処理装置を各種の装
置に搭載することが可能である。例えば、液晶ディスプレイやCRTディスプレイなどの
画像表示装置に搭載することも可能であるし、フォトビューワーや携帯電話端末などの携
帯型表示装置に搭載することも可能である。更には、街角や公共の場などに置かれた無人
の写真印刷端末などに搭載することも可能である。
Of course, the image processing apparatus of the present embodiment is not limited to a digital camera or a printing apparatus, and can be mounted on various apparatuses. For example, it can be mounted on an image display device such as a liquid crystal display or a CRT display, or can be mounted on a portable display device such as a photo viewer or a mobile phone terminal. Further, it can be mounted on an unmanned photo printing terminal placed on a street corner or in a public place.

本実施例の画像処理装置を搭載した印刷装置を示す説明図である。It is explanatory drawing which shows the printing apparatus carrying the image processing apparatus of a present Example. 本実施例のトリミング枠設定処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the trimming frame setting process of a present Example. 検出した顔領域の位置に基づいてトリミング枠を設定する様子を示した説明図である。It is explanatory drawing which showed a mode that a trimming frame was set based on the position of the detected face area. ユーザーがモニタ画面を確認しながらトリミング枠のサイズを設定する様子を例示した説明図である。It is explanatory drawing which illustrated a mode that the user sets the size of a trimming frame, confirming a monitor screen. トリミング枠の基準交点を顔領域の中心に配置した状態で、トリミング枠を拡大および縮小する様子を示した説明図である。It is explanatory drawing which showed a mode that a trimming frame was expanded and reduced in the state which has arrange | positioned the reference | standard intersection of a trimming frame to the center of a face area. トリミング枠によって抽出された画像データに基づいて出力された印刷画像を例示した説明図である。It is explanatory drawing which illustrated the print image output based on the image data extracted by the trimming frame. トリミング枠を縦長に配置する様子を示した説明図である。It is explanatory drawing which showed a mode that a trimming frame is arrange | positioned vertically long. トリミング枠の縦の長さ及び横の長さをそれぞれ別個に設定する様子を示した説明図である。It is explanatory drawing which showed a mode that the vertical length and horizontal length of a trimming frame were each set separately. 2人の人物が写された画像にトリミング枠を設定する様子を示した説明図である。It is explanatory drawing which showed a mode that a trimming frame was set to the image in which two persons were copied. 第2実施例のトリミング枠設定処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the trimming frame setting process of 2nd Example. 第2実施例においてトリミング枠のサイズを決定する様子を示した説明図である。It is explanatory drawing which showed a mode that the size of a trimming frame was determined in 2nd Example. 2人の人物が写された画像に対してトリミング枠の位置およびサイズを決定する様子を示した説明図である。It is explanatory drawing which showed a mode that the position and size of a trimming frame were determined with respect to the image in which two persons were copied. 人物の数に応じてトリミング枠のサイズを決定する方法を概念的に示した説明図である。It is explanatory drawing which showed notionally the method of determining the size of a trimming frame according to the number of persons. 特定の人物の顔領域のみに基づいてトリミング枠を設定した様子を示した説明図である。It is explanatory drawing which showed a mode that the trimming frame was set only based on the face area of the specific person.

符号の説明Explanation of symbols

10…印刷装置、 100…スキャナ部、 200…プリンタ部
300…制御部、 310…操作パネル、 320…モニタ画面
DESCRIPTION OF SYMBOLS 10 ... Printing apparatus 100 ... Scanner part 200 ... Printer part 300 ... Control part 310 ... Operation panel 320 ... Monitor screen

Claims (8)

画像データを読み込んで解析することにより、矩形形状の選択領域を、該画像データが
表す画像の中に設定する画像処理装置であって、
前記画像中で人物の顔が写った領域たる顔領域を、前記画像データを解析することによ
って検出する顔領域検出手段と、
前記画像中に設定された前記選択領域に少なくとも含まれるべき該画像中での目標位置
を、前記顔領域の検出結果に基づいて決定する目標位置決定手段と、
前記選択領域の内部で該選択領域を縦方向および横方向にそれぞれの所定比率で内分す
る位置に設けられた該選択領域の基準点が、前記画像中の前記目標位置と重なるように、
該画像中での該選択領域の位置を決定する選択領域位置決定手段と、
前記選択領域の基準点を前記画像中の目標位置に一致させたまま、該選択領域の大きさ
を変更することによって、該画像中に該選択領域を設定する選択領域設定手段と
を備える画像処理装置。
An image processing apparatus that sets a rectangular selection area in an image represented by the image data by reading and analyzing the image data,
A face area detecting means for detecting a face area that is an area in which a person's face is captured in the image by analyzing the image data;
Target position determining means for determining a target position in the image to be included at least in the selected area set in the image based on a detection result of the face area;
A reference point of the selection area provided at a position that divides the selection area in the vertical direction and the horizontal direction at a predetermined ratio inside the selection area so as to overlap the target position in the image.
Selection region position determining means for determining the position of the selection region in the image;
Image processing comprising: selection region setting means for setting the selection region in the image by changing the size of the selection region while keeping the reference point of the selection region coincident with the target position in the image apparatus.
請求項1に記載の画像処理装置であって、
前記目標位置決定手段は、前記検出された顔領域から前記人物の目を検出するとともに
、該人物の目が検出された位置に基づいて前記目標位置を決定する手段である画像処理装
置。
The image processing apparatus according to claim 1,
The target position determining means is an image processing apparatus which detects the person's eyes from the detected face area and determines the target position based on a position where the eyes of the person are detected.
請求項1または請求項2に記載の画像処理装置であって、
前記検出された顔領域の大きさに合わせて前記選択領域の大きさを決定する選択領域大
きさ決定手段を備え、
前記選択領域設定手段は、前記決定された大きさの前記選択領域を前記画像中に設定す
る手段である画像処理装置。
The image processing apparatus according to claim 1 or 2,
A selection area size determining means for determining the size of the selection area according to the size of the detected face area;
The image processing apparatus, wherein the selection area setting means is a means for setting the selected area of the determined size in the image.
請求項3に記載の画像処理装置であって、
前記選択領域大きさ決定手段は、前記検出された顔領域の大きさに加えて、該検出され
た顔領域の数も考慮して前記選択領域の大きさを決定する手段である画像処理装置。
The image processing apparatus according to claim 3,
The selection area size determining means is an image processing apparatus that determines the size of the selection area in consideration of the number of detected face areas in addition to the size of the detected face area.
請求項1ないし請求項4の何れかに記載の画像処理装置であって、
前記選択領域設定手段は、前記画像データが表す画像の縦横の長さの比率に基づいて、
前記選択領域の縦横の長さの比率を決定するとともに、前記選択領域の縦横の長さを該決
定した比率に保ちつつ該特別領域の大きさを変更することによって、前記画像中に該特別
領域を設定する手段である画像処理装置。
An image processing apparatus according to any one of claims 1 to 4,
The selection area setting means, based on the ratio of the length and width of the image represented by the image data,
By determining the ratio of the vertical and horizontal lengths of the selection area, and changing the size of the special area while maintaining the vertical and horizontal lengths of the selection area at the determined ratio, the special area in the image An image processing apparatus which is means for setting.
請求項1ないし請求項5の何れかに記載の画像処理装置であって、
前記目標位置決定手段は、前記検出された複数の顔領域の中から選択された少なくとも
一つの顔領域に基づいて、前記画像中の目標位置を決定する手段である画像処理装置。
An image processing apparatus according to any one of claims 1 to 5,
The target position determining means is an image processing apparatus which is a means for determining a target position in the image based on at least one face area selected from the plurality of detected face areas.
画像データを読み込んで解析することにより、矩形形状の選択領域を、該画像データが
表す画像の中に設定する画像処理方法であって、
前記画像中で人物の顔が写った領域たる顔領域を、前記画像データを解析することによ
って検出する工程と、
前記画像中に設定された前記選択領域に少なくとも含まれるべき該画像中での目標位置
を、前記顔領域の検出結果に基づいて決定する工程と、
前記選択領域の内部で該選択領域を縦方向および横方向にそれぞれの所定比率で内分す
る位置に設けられた該選択領域の基準点が、前記画像中の前記目標位置と重なるように、
該画像中での該選択領域の位置を決定する工程と、
前記選択領域の基準点を前記画像中の目標位置に一致させたまま、該選択領域の大きさ
を変更することによって、該画像中に該選択領域を設定する工程と
を備える画像処理方法。
An image processing method for setting a rectangular selection area in an image represented by the image data by reading and analyzing the image data,
Detecting a face area, which is an area in which the face of a person appears in the image, by analyzing the image data;
Determining a target position in the image to be included at least in the selected area set in the image based on a detection result of the face area;
A reference point of the selection area provided at a position that divides the selection area in the vertical direction and the horizontal direction at a predetermined ratio inside the selection area so as to overlap the target position in the image.
Determining the position of the selected region in the image;
An image processing method comprising: setting the selection area in the image by changing a size of the selection area while keeping a reference point of the selection area coincident with a target position in the image.
画像データを読み込んで解析することにより、矩形形状の選択領域を、該画像データが
表す画像の中に設定する画像処理方法を、コンピュータを用いて実現するためのプログラ
ムであって、
前記画像中で人物の顔が写った領域たる顔領域を、前記画像データを解析することによ
って検出する機能と、
前記画像中に設定された前記選択領域に少なくとも含まれるべき該画像中での目標位置
を、前記顔領域の検出結果に基づいて決定する機能と、
前記選択領域の内部で該選択領域を縦方向および横方向にそれぞれの所定比率で内分す
る位置に設けられた該選択領域の基準点が、前記画像中の前記目標位置と重なるように、
該画像中での該選択領域の位置を決定する機能と、
前記選択領域の基準点を前記画像中の目標位置に一致させたまま、該選択領域の大きさ
を変更することによって、該画像中に該選択領域を設定する機能と
をコンピュータにより実現させるプログラム。
A program for realizing, using a computer, an image processing method for setting a rectangular selection area in an image represented by the image data by reading and analyzing the image data,
A function of detecting a face area that is an area in which a person's face is captured in the image by analyzing the image data;
A function for determining a target position in the image to be included at least in the selected area set in the image based on a detection result of the face area;
A reference point of the selection area provided at a position that divides the selection area in the vertical direction and the horizontal direction at a predetermined ratio inside the selection area so as to overlap the target position in the image.
A function for determining the position of the selected region in the image;
A program for realizing by a computer a function of setting the selection area in the image by changing the size of the selection area while keeping the reference point of the selection area coincident with the target position in the image.
JP2007326861A 2007-12-19 2007-12-19 Unit and method for image processing, and program Withdrawn JP2009152718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007326861A JP2009152718A (en) 2007-12-19 2007-12-19 Unit and method for image processing, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007326861A JP2009152718A (en) 2007-12-19 2007-12-19 Unit and method for image processing, and program

Publications (1)

Publication Number Publication Date
JP2009152718A true JP2009152718A (en) 2009-07-09

Family

ID=40921371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007326861A Withdrawn JP2009152718A (en) 2007-12-19 2007-12-19 Unit and method for image processing, and program

Country Status (1)

Country Link
JP (1) JP2009152718A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011059775A (en) * 2009-09-07 2011-03-24 Nikon Systems Inc Image display method, program, image display device, and image pickup device
JP2011128816A (en) * 2009-12-16 2011-06-30 Canon Inc Image processing method and device
JP2012066543A (en) * 2010-09-27 2012-04-05 Brother Industries Ltd Printing control program and print controller
JP2014016818A (en) * 2012-07-09 2014-01-30 Canon Inc Image processing apparatus, image processing method, and program
JP2014064134A (en) * 2012-09-20 2014-04-10 Make Softwear:Kk Photographing game machine, control method for photographing game machine, and computer program
JP2015041359A (en) * 2013-08-23 2015-03-02 ブラザー工業株式会社 Image processing apparatus and computer program
KR101811717B1 (en) * 2011-11-14 2018-01-25 삼성전자주식회사 Zoom control method and apparatus, and digital photographing apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000261644A (en) * 1999-03-05 2000-09-22 Fuji Photo Film Co Ltd Image conversion method, system and recording medium thereof
JP2003319169A (en) * 2002-04-26 2003-11-07 Fuji Photo Film Co Ltd Image processing method
JP2007274017A (en) * 2006-03-30 2007-10-18 Fujifilm Corp Automatic trimming method, apparatus, and program
JP2007306463A (en) * 2006-05-15 2007-11-22 Fujifilm Corp Trimming supporting method, apparatus, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000261644A (en) * 1999-03-05 2000-09-22 Fuji Photo Film Co Ltd Image conversion method, system and recording medium thereof
JP2003319169A (en) * 2002-04-26 2003-11-07 Fuji Photo Film Co Ltd Image processing method
JP2007274017A (en) * 2006-03-30 2007-10-18 Fujifilm Corp Automatic trimming method, apparatus, and program
JP2007306463A (en) * 2006-05-15 2007-11-22 Fujifilm Corp Trimming supporting method, apparatus, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011059775A (en) * 2009-09-07 2011-03-24 Nikon Systems Inc Image display method, program, image display device, and image pickup device
JP2011128816A (en) * 2009-12-16 2011-06-30 Canon Inc Image processing method and device
JP2012066543A (en) * 2010-09-27 2012-04-05 Brother Industries Ltd Printing control program and print controller
KR101811717B1 (en) * 2011-11-14 2018-01-25 삼성전자주식회사 Zoom control method and apparatus, and digital photographing apparatus
JP2014016818A (en) * 2012-07-09 2014-01-30 Canon Inc Image processing apparatus, image processing method, and program
JP2014064134A (en) * 2012-09-20 2014-04-10 Make Softwear:Kk Photographing game machine, control method for photographing game machine, and computer program
JP2015041359A (en) * 2013-08-23 2015-03-02 ブラザー工業株式会社 Image processing apparatus and computer program

Similar Documents

Publication Publication Date Title
US7308158B2 (en) Imaging method and system
US7349020B2 (en) System and method for displaying an image composition template
US7920727B2 (en) Image evaluation system and method
JP2009152718A (en) Unit and method for image processing, and program
JP4970302B2 (en) Image processing apparatus, image processing method, and imaging apparatus
US20060120712A1 (en) Method and apparatus for processing image
JP4663699B2 (en) Image display device and image display method
TWI640199B (en) Image capturing apparatus and photo composition method thereof
JP2012027687A (en) Image processing apparatus and program
JP5360450B2 (en) Image processing apparatus, image processing method, and computer program
JP2006261711A (en) Image generating apparatus
JP2011097565A (en) Graphic arrangement deciding method, as well as its program and information processing apparatus
KR101098754B1 (en) Image processing apparatus and image processing method
JP2004361989A (en) Image selection system, image selection program, and image selection method
KR20080021519A (en) Image processing apparatus and image processing method, computer program and imaging apparatus
JP2008059534A (en) Image trimming device, image trimming method, and program therefor
KR101050555B1 (en) Method and apparatus for displaying a portrait picture on the display unit
JP2009065224A (en) Image data analyzing device, image data analisis method, and program
JP2009015749A (en) Device and method for displaying image, and program
JP6598402B1 (en) Receipt and other form image automatic acquisition / reading method, program, and portable terminal device
KR20070116410A (en) Photographing method and device for making a panorama using marker
JP2018097310A (en) Display control program, display control method and display control device
JP2006109005A (en) Image output device and imaging device
KR101898888B1 (en) Method and apparatus for providing automatic composition recognition and optimal composition guide of a digital image capture device
JP5477025B2 (en) Image display device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101027

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111129

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20120126