JP2007329608A - Image processing unit, and control method therefor and program thereof - Google Patents

Image processing unit, and control method therefor and program thereof Download PDF

Info

Publication number
JP2007329608A
JP2007329608A JP2006158006A JP2006158006A JP2007329608A JP 2007329608 A JP2007329608 A JP 2007329608A JP 2006158006 A JP2006158006 A JP 2006158006A JP 2006158006 A JP2006158006 A JP 2006158006A JP 2007329608 A JP2007329608 A JP 2007329608A
Authority
JP
Japan
Prior art keywords
image
target
extracted
target image
subject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006158006A
Other languages
Japanese (ja)
Other versions
JP4509063B2 (en
Inventor
Kenji Ito
研治 伊藤
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2006158006A priority Critical patent/JP4509063B2/en
Publication of JP2007329608A publication Critical patent/JP2007329608A/en
Application granted granted Critical
Publication of JP4509063B2 publication Critical patent/JP4509063B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To enable position information for indicating a facial image to accurately indicate the face image; even when cutting an image cut. <P>SOLUTION: Image data indicating an object image 21 and facial position information indicating the position of a facial image region 22 are recorded in a memory card. A region 23 in the object image 21 is cut, and enlargement processing is performed by an electronic zoom so that the size of the image in the region 23 becomes the same as that of the object image 21. In the enlarged object image, the facial position information for indicating a region, corresponding to the facial image region 22, is recalculated. The new recalculated facial position information and the image data for indicating the enlarged object image are recorded in the memory card. The new facial position information recorded in the memory card will accurately indicate the facial image region in the enlarged object. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は,画像処理装置,その制御方法およびその制御プログラムに関する。   The present invention relates to an image processing apparatus, a control method thereof, and a control program thereof.

被写体像の中から顔画像部分などの対象画像部分を検出する装置が実現されている。被写体像を表す画像データと検出された対象画像部分の位置を示すデータとをメモリ・カードなどに記録することにより,そのメモリ・カードから画像データと位置データとが読み出されると,読み出された画像データによって表される被写体像のうち,位置データによって示される位置に顔画像部分などの対象画像部分があることが分かる。顔画像部分などの対象画像部分が明るくなるような処理(たとえば,プリント)を実現できる。   An apparatus for detecting a target image portion such as a face image portion from a subject image has been realized. When the image data representing the subject image and the data indicating the position of the detected target image portion are recorded on a memory card, the image data and the position data are read from the memory card. It can be seen that among the subject images represented by the image data, there is a target image portion such as a face image portion at the position indicated by the position data. It is possible to realize processing (for example, printing) in which a target image portion such as a face image portion becomes bright.

画像処理を行うための参照部位の位置情報と画像処理制御データとを画像ファイルに記録するもの(特許文献1),ファイルの操作履歴情報などをファイルとは別に格納するもの(特許文献2),顔の画像部分を検出して顔の位置,大きさなどに応じて合成処理を行うもの(特許文献3)などが存在している。
特開2003−6666号公報 特開2005-18734号公報 特開2000-322588号公報
Recording the position information and image processing control data of a reference part for performing image processing in an image file (Patent Document 1), storing operation history information of a file separately from a file (Patent Document 2), There is a technique (Patent Document 3) that detects an image portion of a face and performs synthesis processing according to the position and size of the face.
JP 2003-6666 Japanese Unexamined Patent Publication No. 2005-18734 Japanese Unexamined Patent Publication No. 2000-322588

しかしながら,画像データとその画像データによって表される被写体像中の顔画像部分などの対象画像部分の位置を示すデータとがメモリ・カードなどの記録媒体に記録されていたとしても,画像データによって表される被写体像のトリミングなどが行われ,そのトリミング後の被写体像を表す画像データがメモリ・カードに記録されていると,位置データによって表される位置が,トリミング後の被写体像における対象画像部分を正確に表さないことがある。   However, even if the image data and the data indicating the position of the target image portion such as the face image portion in the subject image represented by the image data are recorded on a recording medium such as a memory card, the image data is displayed. If the subject image is trimmed, and image data representing the trimmed subject image is recorded on the memory card, the position represented by the position data is the target image portion in the trimmed subject image. May not be accurately represented.

この発明は,位置データによって表される位置が対象画像部分を正確に表すようにすることを目的とする。   An object of the present invention is to make the position represented by the position data accurately represent the target image portion.

この発明による画像処理装置は,被写体像を表す画像データおよび上記被写体像中における対象画像部分(顔,目,自動車など)の位置を示す位置データを,着脱自在な記録媒体から読み取る読み取り手段,上記読み取り手段によって読み取られた画像データによって表される被写体像の一部分の画像抽出処理を行う画像抽出手段,上記画像抽出手段によって抽出された画像中における対象画像部分の位置を決定する対象画像位置決定手段,ならびに上記対象画像位置決定手段によって決定された位置を示すデータおよび上記画像抽出手段によって抽出された画像を表す画像データを上記記録媒体に記録する記録制御手段を備えていることを特徴とする。   An image processing apparatus according to the present invention comprises: reading means for reading image data representing a subject image and position data indicating the position of a target image portion (face, eye, car, etc.) in the subject image from a detachable recording medium; Image extraction means for performing image extraction processing of a part of the subject image represented by the image data read by the reading means, and target image position determination means for determining the position of the target image portion in the image extracted by the image extraction means And recording control means for recording data indicating the position determined by the target image position determining means and image data representing the image extracted by the image extracting means on the recording medium.

この発明は,上記画像処理装置に適した制御方法も提供している。すなわち,この方法は,読み取り手段が,被写体像を表す画像データおよび上記被写体像中における対象画像部分の位置を示す位置データを,着脱自在な記録媒体から読み取り,画像抽出手段が,上記読み取り手段によって読み取られた画像データによって表される被写体像の一部分の画像抽出処理を行い,対象画像位置決定手段が,上記画像抽出手段によって抽出された画像中における対象画像部分の位置を決定し,記録制御手段が,上記対象画像位置決定手段によって決定された位置を示すデータおよび上記画像抽出手段によって抽出された画像を表す画像データを上記記録媒体に記録するものである。   The present invention also provides a control method suitable for the image processing apparatus. That is, in this method, the reading means reads image data representing the subject image and position data indicating the position of the target image portion in the subject image from a detachable recording medium, and the image extracting means uses the reading means. Image extraction processing of a part of the subject image represented by the read image data is performed, and the target image position determining means determines the position of the target image portion in the image extracted by the image extracting means, and the recording control means However, the data indicating the position determined by the target image position determining means and the image data representing the image extracted by the image extracting means are recorded on the recording medium.

この発明は,上記画像処理装置の制御方法を実現するためのプログラムも提供している。   The present invention also provides a program for realizing the control method of the image processing apparatus.

この発明によると,被写体像を表す画像データと上記被写体像中における対象画像部分の位置を示す位置データとが着脱自在な記録媒体から読み取られる。読み取られた画像データによって表される被写体像の一部分を抽出する画像抽出処理が行われる。抽出された画像の大きさは被写体像の大きさと異なる。このために,記録媒体から読み取られた位置データによって表される位置には,対象画像部分は存在しないことがある。この発明によると,抽出された画像中における対象画像部分の位置が新たに決定(検出,算出)される。新たに決定された位置を示すデータと抽出された画像を表す画像データとが記録媒体に記録される。画像抽出処理が行われると,その抽出された画像に合った対象画像部分の位置が決定され,決定された位置を示すデータと抽出された画像を表す画像データとが記録媒体に記録されるので,新たに決定された位置は抽出された画像中の対象画像部分を正確に表すものとなる。   According to the present invention, the image data representing the subject image and the position data representing the position of the target image portion in the subject image are read from the removable recording medium. Image extraction processing for extracting a part of the subject image represented by the read image data is performed. The size of the extracted image is different from the size of the subject image. For this reason, the target image portion may not exist at the position represented by the position data read from the recording medium. According to the present invention, the position of the target image portion in the extracted image is newly determined (detected and calculated). Data indicating the newly determined position and image data representing the extracted image are recorded on the recording medium. When the image extraction process is performed, the position of the target image portion that matches the extracted image is determined, and the data indicating the determined position and the image data representing the extracted image are recorded on the recording medium. The newly determined position accurately represents the target image portion in the extracted image.

上記画像抽出手段によって抽出された画像の大きさを,上記被写体像の大きさに拡大する拡大手段をさらに備えてもよい。この場合,上記対象画像位置決定手段は,上記拡大手段によって拡大された画像中における対象画像部分の位置を決定するものとなり,上記記録制御手段は,上記対象画像位置決定手段によって決定された位置を示すデータおよび上記拡大手段において拡大された画像を表す画像データを上記記録媒体に記録するものとなろう。   You may further provide the expansion means which expands the magnitude | size of the image extracted by the said image extraction means to the magnitude | size of the said to-be-photographed image. In this case, the target image position determining means determines the position of the target image portion in the image enlarged by the enlarging means, and the recording control means determines the position determined by the target image position determining means. The data shown and the image data representing the image magnified by the magnification means will be recorded on the recording medium.

上記対象画像位置検出手段は,たとえば,上記画像抽出手段によって抽出された画像の中から対象画像部分を検出する対象画像部分検出手段をさらに備える。この場合,上記対象画像部分検出手段によって検出された対象画像部分の位置を上記抽出された画像における対象画像部分の位置と決定するものとなろう。   The target image position detecting unit further includes, for example, a target image part detecting unit that detects a target image part from the image extracted by the image extracting unit. In this case, the position of the target image portion detected by the target image portion detection means will be determined as the position of the target image portion in the extracted image.

また,上記対象画像位置検出手段は,上記画像抽出手段によって抽出された画像の位置と上記読み取り手段によって読み取られた位置データによって示される位置とにもとづいて,上記画像抽出手段によって抽出された画像における対象画像部分の位置を算出するものでもよい。   In addition, the target image position detecting unit is configured to detect the position of the image extracted by the image extracting unit based on the position of the image extracted by the image extracting unit and the position indicated by the position data read by the reading unit. The position of the target image portion may be calculated.

さらに,上記記録制御手段は,上記対象画像位置決定手段によって決定された位置を示すデータ,および上記画像抽出手段によって抽出された画像を表す画像データに加えて,上記画像抽出手段による抽出処理が行われたことを示すデータを上記記録媒体に記録するものでもよい。   Further, the recording control means performs an extraction process by the image extraction means in addition to the data indicating the position determined by the target image position determination means and the image data representing the image extracted by the image extraction means. Data indicating that it has been transmitted may be recorded on the recording medium.

さらに,上記読み取り手段は,被写体像を表す画像データおよび対象画像部分の位置を示す位置データに加えて,上記画像抽出手段における抽出処理の回数を示す回数データを読み取るものでもよい。この場合,上記画像抽出手段における抽出処理が行われたことに応じて,上記読み取り手段によって読み取られた回数データによって示される回数をインクレメントするインクレメント手段をさらに備え,上記記録制御手段は,上記対象画像位置決定手段によって決定された位置を示すデータ,および上記画像抽出手段によって抽出された画像を表す画像データを上記記録媒体に記録することに加えて,上記インクレメント手段によりインクレメントされた回数を示すデータを,上記記録媒体に記録されている回数データに上書きするものとなろう。   Further, the reading means may read frequency data indicating the number of extraction processes in the image extracting means in addition to image data representing the subject image and position data indicating the position of the target image portion. In this case, the recording control unit further includes an incrementing unit that increments the number of times indicated by the number-of-times data read by the reading unit in response to the extraction process performed by the image extracting unit. In addition to recording data indicating the position determined by the target image position determining means and image data representing the image extracted by the image extracting means on the recording medium, the number of times incremented by the increment means Will be overwritten on the number of times data recorded on the recording medium.

図1は,この発明の実施例を示すもので,画像処理装置の電気的構成を示すブロック図である。   FIG. 1 shows an embodiment of the present invention and is a block diagram showing an electrical configuration of an image processing apparatus.

画像処理装置の全体の動作は,CPU2によって統括される。画像処理装置には,CPU2の周辺回路8が含まれている。この周辺回路8は,割り込み制御回路,シリアル制御回路などを含むものである。   The overall operation of the image processing apparatus is controlled by the CPU 2. The image processing apparatus includes a peripheral circuit 8 of the CPU 2. The peripheral circuit 8 includes an interrupt control circuit, a serial control circuit, and the like.

画像処理装置には,操作装置1が含まれており,この操作装置1から出力される操作信号は,CPU2に入力する。   The image processing apparatus includes an operation device 1, and an operation signal output from the operation device 1 is input to the CPU 2.

画像処理装置には,着脱自在なメモリ・カード11が装着されている。メモリ・カード11からの画像データの読み取りおよびメモリ・カード11への画像データの書き込みは,メディア制御回路6によって制御される。メモリ・カード11に記録されている画像データはメディア制御回路6によって読み取られる。読み取られた画像データは,メモリ制御回路9によってメモリ10に一時的に記憶される。   A removable memory card 11 is attached to the image processing apparatus. Reading of image data from the memory card 11 and writing of image data to the memory card 11 are controlled by the media control circuit 6. The image data recorded on the memory card 11 is read by the media control circuit 6. The read image data is temporarily stored in the memory 10 by the memory control circuit 9.

メモリ・カード11から読み取られた画像データが圧縮されている場合には,画像データはメモリ10から読み出されて圧縮伸長処理回路5に与えられる。圧縮伸長処理回路5においてデータ伸長が行われる。データ伸長された画像データは,メモリ10に与えられ,再び記憶される。   When the image data read from the memory card 11 is compressed, the image data is read from the memory 10 and given to the compression / decompression processing circuit 5. Data decompression is performed in the compression / decompression processing circuit 5. The decompressed image data is given to the memory 10 and stored again.

また,画像処理装置には,画像データによって表される画像の一部の切り出し(トリミング,加工)などを行うディジタル信号処理回路3,画像データによって表される画像の中から顔画像部分を検出する顔検出回路4等も含まれている。   The image processing apparatus also includes a digital signal processing circuit 3 that cuts out (trims or processes) a part of the image represented by the image data, and detects a face image portion from the image represented by the image data. A face detection circuit 4 and the like are also included.

メモリ10に記憶されている画像データが読み出され,表示制御回路7に与えられると,読み出された画像データによって表される被写体像が表示装置12の表示画面上に表示される。たとえば,操作装置1を用いてユーザによって画像切り出し等の加工処理が行われると,加工された画像が表示装置12の表示画面上に表示される。   When the image data stored in the memory 10 is read and given to the display control circuit 7, a subject image represented by the read image data is displayed on the display screen of the display device 12. For example, when the user performs processing such as image cutting using the operation device 1, the processed image is displayed on the display screen of the display device 12.

顔検出が行われる場合には,メモリ10に記憶された画像データはメモリ10から読み出されて顔検出回路4に入力する。顔検出回路4において,入力した画像データによって表される被写体像の中から顔画像部分が検出される。検出された顔画像部分の領域を表す顔位置情報がCPU2によって算出される。   When face detection is performed, the image data stored in the memory 10 is read from the memory 10 and input to the face detection circuit 4. In the face detection circuit 4, a face image portion is detected from the subject image represented by the input image data. The CPU 2 calculates face position information representing the area of the detected face image portion.

算出された顔位置情報および切り出し等によって加工された画像を表す画像データがメモリ・カード11に記録される。メモリ・カード11に加工された回数が記録される場合には,その加工回数をインクレメントし,メモリ・カード11に上書きするようにしてもよい。必要であれば,加工回数をインクレメントするための加算回路が画像処理装置に設けられよう。さらに,画像データが加工されている場合には,加工されていることを示すデータをメモリ・カードに記録してもよい。加工されていることを示すデータを読み取ることによりメモリ・カードに記録されている画像データは加工処理が行われているものであることが分かる。   Image data representing the calculated face position information and an image processed by clipping or the like is recorded in the memory card 11. When the number of times processed is recorded in the memory card 11, the number of times processed may be incremented and overwritten on the memory card 11. If necessary, the image processing apparatus may be provided with an adder circuit for incrementing the number of times of processing. Further, when the image data is processed, data indicating that the image data is processed may be recorded on the memory card. By reading the data indicating that it has been processed, it can be seen that the image data recorded on the memory card is processed.

上述の実施例においては,顔画像検出回路4によって顔画像部分を検出し,検出された顔画像部分の位置を表す顔位置情報がメモリ・カード11に記録されているが,後述するようにメモリ・カード11に記録されている顔位置情報と切り出し等の処理により得られる情報(電子ズームの倍率等)とを用いて新たな顔位置情報を再計算するようにしてもよい。再計算により得られた新たな顔位置情報がメモリ・カード11に記録される。   In the above-described embodiment, the face image detection circuit 4 detects the face image portion, and the face position information indicating the position of the detected face image portion is recorded in the memory card 11, but as will be described later, New face position information may be recalculated using face position information recorded on the card 11 and information (electronic zoom magnification, etc.) obtained by processing such as clipping. New face position information obtained by recalculation is recorded in the memory card 11.

メモリ・カード11に上述した動作プログラムが格納されている場合には,そのメモリ・カード11から動作プログラムを読み出して画像処理装置にインストールすることにより,上述の動作を画像処理装置に行わせることができる。   When the operation program described above is stored in the memory card 11, it is possible to cause the image processing apparatus to perform the operation described above by reading the operation program from the memory card 11 and installing it in the image processing apparatus. it can.

図2は,画像ファイルのファイル構造(データ構造)の一例である。   FIG. 2 shows an example of the file structure (data structure) of an image file.

画像ファイルには,ヘッダ記録領域と画像データ記録領域とが含まれている。   The image file includes a header recording area and an image data recording area.

画像データ記録領域には,サムネイル画像データおよび画像データ(原画像データ)が記録される。   Thumbnail image data and image data (original image data) are recorded in the image data recording area.

ヘッダ記録領域には,画像ファイルの管理データを含む画像情報が記録される。また,この実施例においては,画像データ記録領域に記録されているサムネイル画像データおよび原画像データによって表される被写体像が加工された回数(複写回数),被写体像に含まれている顔画像の位置を示す顔位置情報などもヘッダ記録領域に記録される。   Image information including image file management data is recorded in the header recording area. In this embodiment, the number of times the subject image represented by the thumbnail image data and the original image data recorded in the image data recording area is processed (number of times of copying), and the face image included in the subject image is recorded. Face position information indicating the position is also recorded in the header recording area.

図3および図4は,被写体像の一例である。これらの図を参照して,被写体像の一部の画像部分を切り出して電子ズームにより拡大する処理,拡大前後の被写体像に含まれる顔画像の位置について説明する。   3 and 4 are examples of subject images. With reference to these drawings, a process of cutting out a part of a subject image and enlarging it by electronic zoom, and a position of a face image included in the subject image before and after enlargement will be described.

図3を参照して,メモリ・カード11に記録されている画像データによって表される被写体像21が表示装置12の表示画面に表示される。メモリ・カード11に記録されている画像データについて,すでに顔画像検出処理が行われていると上述したようにメモリ・カード11には顔位置情報が記録されている。その顔位置情報から被写体像21に含まれている顔画像部分を表す顔画像領域22が検出される。顔画像領域22は,水平方向(横方向)の座標をX座標,垂直方向(縦方向)の座標をY座標とすると,x11,x12,y11およびy12によって囲まれる矩形の領域である。   Referring to FIG. 3, a subject image 21 represented by image data recorded on memory card 11 is displayed on the display screen of display device 12. If face image detection processing has already been performed on image data recorded on the memory card 11, face position information is recorded on the memory card 11 as described above. A face image area 22 representing a face image portion included in the subject image 21 is detected from the face position information. The face image area 22 is a rectangular area surrounded by x11, x12, y11, and y12, where the horizontal (horizontal) coordinate is the X coordinate and the vertical (vertical) coordinate is the Y coordinate.

顔画像領域22が規定されている被写体像21が表示装置12の表示画面上に表示される。顔画像領域22を表すための枠が示されているが,その枠は,表示されてもされなくとも良い。ユーザによって操作装置1を用いて切り出すべき領域23が指定される。この指定された領域23内の画像の大きさが元の被写体像21の大きさとなるように電子ズーム(必要であれば,画素補間が行われる)により拡大処理される。指定された領域23の原点の座標(領域23の左上の座標)は,(x0,y0)で表される。   A subject image 21 in which the face image area 22 is defined is displayed on the display screen of the display device 12. Although a frame for representing the face image area 22 is shown, the frame may or may not be displayed. The user designates an area 23 to be cut out using the controller device 1. Enlargement processing is performed by electronic zoom (pixel interpolation is performed if necessary) so that the size of the image in the designated area 23 becomes the size of the original subject image 21. The coordinates of the origin of the designated area 23 (the upper left coordinates of the area 23) are represented by (x0, y0).

図4は,拡大された被写体像31を示している。   FIG. 4 shows an enlarged subject image 31.

拡大された被写体像31内には,上述したように,拡大前の被写体像21(図3参照)に含まれている顔画像領域22に対応する顔画像領域32が含まれている。顔画像領域32は,座標x21,x22,y21およびy22によって囲まれる矩形の領域である。この顔画像領域32は,電子ズーム前の顔画像領域22を電子ズームのズーム倍率に応じて拡大されたものである。したがって,電子ズーム前の顔画像領域22の座標x11,x12,y11およびy12と電子ズーム後の顔画像領域32の座標x21,x22,y21およびy22とは,式1から式4によって表される。   As described above, the enlarged subject image 31 includes the face image region 32 corresponding to the face image region 22 included in the subject image 21 before enlargement (see FIG. 3). The face image area 32 is a rectangular area surrounded by coordinates x21, x22, y21 and y22. The face image area 32 is obtained by enlarging the face image area 22 before the electronic zoom according to the zoom magnification of the electronic zoom. Therefore, the coordinates x11, x12, y11 and y12 of the face image area 22 before the electronic zoom and the coordinates x21, x22, y21 and y22 of the face image area 32 after the electronic zoom are expressed by Expressions 1 to 4.

x21=(ズーム倍率)×(x11−x0)・・・式1
x22=(ズーム倍率)×(x12−x0)・・・式2
y21=(ズーム倍率)×(y11−y0)・・・式3
y22=(ズーム倍率)×(y12−y0)・・・式4
x21 = (zoom magnification) × (x11−x0) Equation 1
x22 = (zoom magnification) × (x12−x0) Equation 2
y21 = (zoom magnification) × (y11−y0) Equation 3
y22 = (zoom magnification) × (y12−y0) Equation 4

このように,画像切り出しおよび電子ズームによる拡大処理が行われると,拡大後の被写体像31を表す画像データおよび拡大後の被写体像31における顔画像領域32を示す新たな顔位置情報(座標x21,x22,y21およびy22)がメモリ・カードに記録される。被写体像の一部分が拡大された場合でも,新たな顔位置情報は,その拡大された被写体像における顔画像領域の位置を正確に表すものとなる。メモリ・カードに記録された拡大された被写体像を表す画像データによって表される被写体像における顔画像領域が,新たに記録された顔位置情報から検出できるようになる。   As described above, when image segmentation and enlargement processing using electronic zoom are performed, new face position information (coordinates x21, x22, y21 and y22) are recorded on the memory card. Even when a part of the subject image is enlarged, the new face position information accurately represents the position of the face image area in the enlarged subject image. The face image area in the subject image represented by the image data representing the enlarged subject image recorded on the memory card can be detected from the newly recorded face position information.

上述した実施例においては切り出された画像部分が拡大されているが,必ずしも拡大されなくともよい。拡大されない場合には,切り出された画像部分を表すデータと,その画像部分中における顔画像部分を示す顔位置情報がメモリ・カードに記録されることとなろう。   In the embodiment described above, the clipped image portion is enlarged, but it is not always necessary to enlarge it. If the image is not enlarged, data representing the clipped image portion and face position information indicating the face image portion in the image portion will be recorded on the memory card.

図5は,画像処理装置の再生処理手順を示すフローチャートである。   FIG. 5 is a flowchart showing the playback processing procedure of the image processing apparatus.

画像処理装置にメモリ・カード11が接続されると,そのメモリ・カード11に記録されている画像データが読み出されて再生処理が行われる(ステップ41)。   When the memory card 11 is connected to the image processing apparatus, the image data recorded on the memory card 11 is read and reproduction processing is performed (step 41).

メモリ・カード11に顔位置情報が記録されていると(ステップ42でYES),その顔位置情報が読み出されて画像処理装置のメモリ10に一時的に記憶される(ステップ43)。上述した画像切り出し処理が行われる場合には(ステップ44でYES),メモリ・カード11から読み出された画像データによって表される被写体像が表示装置12の表示画面上に表示される(ステップ45)。被写体像が表示されると,上述のように,その被写体像の中から切り出し処理が行われ(ステップ46),その切り出された範囲に応じて電子ズーム処理が行われる。切り出された画像(電子ズームにより拡大された画像)にもとづいて顔位置情報が再計算される(ステップ47)。再計算により得られた新たな顔位置情報および拡大された画像を表す画像データがメモリ・カード11に記録される(ステップ48)。   If face position information is recorded in the memory card 11 (YES in step 42), the face position information is read out and temporarily stored in the memory 10 of the image processing apparatus (step 43). When the image cut-out process described above is performed (YES in step 44), the subject image represented by the image data read from the memory card 11 is displayed on the display screen of the display device 12 (step 45). ). When the subject image is displayed, the clipping process is performed from the subject image as described above (step 46), and the electronic zoom process is performed according to the clipped range. Face position information is recalculated based on the clipped image (image enlarged by electronic zoom) (step 47). New face position information obtained by recalculation and image data representing the enlarged image are recorded in the memory card 11 (step 48).

再計算により得られた新たな顔位置情報および拡大された画像を表す画像データは,上述のようにメモリ・カード11から読み取られた画像データ等が記録されている画像ファイルに上書きされることとなるが,必ずしも上書きしなくともよい。新たな画像ファイルを生成して,メモリ・カード11に記録するようにしてもよい。   The new face position information obtained by recalculation and the image data representing the enlarged image are overwritten on the image file in which the image data read from the memory card 11 is recorded as described above. However, it is not necessary to overwrite. A new image file may be generated and recorded in the memory card 11.

画像ファイルに上書きする場合には,その上書きされた回数(すなわち,切り出し処理が行われた回数,複写回数など)を,その画像ファイルに記録するようにしてもよい。また,切り出し処理等が行われたことを示す情報を画像ファイルに記録するようにしてもよい。上書きされた回数,切り出し処理等が行われた回数等を示す情報を参照することにより,画像データの上書き,切り出し等により,画像データによって表される被写体像中の顔画像の位置を,顔位置情報が正確に表していないことがあることが分かる。   When overwriting an image file, the number of times of overwriting (that is, the number of times of clipping processing, the number of times of copying, etc.) may be recorded in the image file. In addition, information indicating that the clipping process or the like has been performed may be recorded in the image file. By referring to the information indicating the number of times overwritten, the number of times clipping processing, etc. are performed, the position of the face image in the subject image represented by the image data by overwriting or cutting out the image data is changed to the face position. It can be seen that the information may not be accurate.

画像処理装置の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of an image processing apparatus. 画像ファイルのファイル構造の一例である。It is an example of the file structure of an image file. 被写体像の一例である。It is an example of a to-be-photographed image. 拡大処理された被写体像の一例である。It is an example of the to-be-photographed subject image. 再生処理手順を示すフローチャートである。It is a flowchart which shows the reproduction | regeneration processing procedure.

符号の説明Explanation of symbols

2 CPU
4 顔検出回路
6 メディア制御回路
11 メモリ・カード

2 CPU
4 Face detection circuit 6 Media control circuit
11 Memory card

Claims (8)

被写体像を表す画像データおよび上記被写体像中における対象画像部分の位置を示す位置データを,着脱自在な記録媒体から読み取る読み取り手段,
上記読み取り手段によって読み取られた画像データによって表される被写体像の一部分の画像抽出処理を行う画像抽出手段,
上記画像抽出手段によって抽出された画像中における対象画像部分の位置を決定する対象画像位置決定手段,ならびに
上記対象画像位置決定手段によって決定された位置を示すデータおよび上記画像抽出手段によって抽出された画像を表す画像データを上記記録媒体に記録する記録制御手段,
を備えた画像処理装置。
Reading means for reading image data representing a subject image and position data indicating a position of a target image portion in the subject image from a removable recording medium;
Image extraction means for performing image extraction processing of a part of the subject image represented by the image data read by the reading means;
Target image position determining means for determining the position of the target image portion in the image extracted by the image extracting means, data indicating the position determined by the target image position determining means, and the image extracted by the image extracting means Recording control means for recording image data representing the above onto the recording medium,
An image processing apparatus.
上記画像抽出手段によって抽出された画像の大きさを,上記被写体像の大きさに拡大する拡大手段をさらに備え,
上記対象画像位置決定手段が,
上記拡大手段によって拡大された画像中における対象画像部分の位置を決定するものであり,
上記記録制御手段が,
上記対象画像位置決定手段によって決定された位置を示すデータおよび上記拡大手段において拡大された画像を表す画像データを上記記録媒体に記録するものである,
請求項1に記載の画像処理装置。
And further comprising an enlarging means for enlarging the size of the image extracted by the image extracting means to the size of the subject image,
The target image position determining means is
Determining the position of the target image portion in the image magnified by the magnification means,
The recording control means is
The data indicating the position determined by the target image position determining means and the image data representing the image enlarged by the enlargement means are recorded on the recording medium.
The image processing apparatus according to claim 1.
上記対象画像位置検出手段が,上記画像抽出手段によって抽出された画像の中から対象画像部分を検出する対象画像部分検出手段をさらに備え,
上記対象画像部分検出手段によって検出された対象画像部分の位置を上記抽出された画像における対象画像部分の位置と決定するものである,
請求項1に記載の画像処理装置。
The target image position detecting means further comprises target image part detecting means for detecting a target image part from the images extracted by the image extracting means;
Determining the position of the target image portion detected by the target image portion detection means as the position of the target image portion in the extracted image;
The image processing apparatus according to claim 1.
上記対象画像位置検出手段が,
上記画像抽出手段によって抽出された画像の位置と上記読み取り手段によって読み取られた位置データによって示される位置とにもとづいて,上記画像抽出手段によって抽出された画像における対象画像部分の位置を算出するものである,
請求項1に記載の画像処理装置。
The target image position detecting means is
Based on the position of the image extracted by the image extracting means and the position indicated by the position data read by the reading means, the position of the target image portion in the image extracted by the image extracting means is calculated. is there,
The image processing apparatus according to claim 1.
上記記録制御手段は,
上記対象画像位置決定手段によって決定された位置を示すデータ,および上記画像抽出手段によって抽出された画像を表す画像データに加えて,上記画像抽出手段による抽出処理が行われたことを示すデータを上記記録媒体に記録するものである,
請求項1に記載の画像処理装置。
The recording control means is
In addition to the data indicating the position determined by the target image position determining unit and the image data representing the image extracted by the image extracting unit, the data indicating that the extraction processing by the image extracting unit has been performed To be recorded on a recording medium,
The image processing apparatus according to claim 1.
上記読み取り手段は,
被写体像を表す画像データおよび対象画像部分の位置を示す位置データに加えて,上記画像抽出手段における抽出処理の回数を示す回数データを読み取るものであり,
上記画像抽出手段における抽出処理が行われたことに応じて,上記読み取り手段によって読み取られた回数データによって示される回数をインクレメントするインクレメント手段をさらに備え,
上記記録制御手段が,上記対象画像位置決定手段によって決定された位置を示すデータ,および上記画像抽出手段によって抽出された画像を表す画像データを上記記録媒体に記録することに加えて,上記インクレメント手段によりインクレメントされた回数を示すデータを,上記記録媒体に記録されている回数データに上書きするものである,
請求項1に記載の画像処理装置。
The reading means is
In addition to the image data representing the subject image and the position data indicating the position of the target image portion, the number of times data indicating the number of extraction processes in the image extracting means is read.
Incrementing means for incrementing the number of times indicated by the number-of-times data read by the reading means in response to the extraction processing in the image extracting means being performed;
In addition to the recording control means recording data indicating the position determined by the target image position determination means and image data representing the image extracted by the image extraction means on the recording medium, the increment The data indicating the number of times incremented by the means is overwritten on the number-of-times data recorded on the recording medium,
The image processing apparatus according to claim 1.
読み取り手段が,被写体像を表す画像データおよび上記被写体像中における対象画像部分の位置を示す位置データを,着脱自在な記録媒体から読み取り,
画像抽出手段が,上記読み取り手段によって読み取られた画像データによって表される被写体像の一部分の画像抽出処理を行い,
対象画像位置決定手段が,上記画像抽出手段によって抽出された画像中における対象画像部分の位置を決定し,
記録制御手段が,上記対象画像位置決定手段によって決定された位置を示すデータおよび上記画像抽出手段によって抽出された画像を表す画像データを上記記録媒体に記録する,
画像処理装置の制御方法。
Reading means reads image data representing the subject image and position data representing the position of the target image portion in the subject image from a removable recording medium,
An image extracting means performs image extraction processing of a part of the subject image represented by the image data read by the reading means,
The target image position determining means determines the position of the target image portion in the image extracted by the image extracting means;
Recording control means records data indicating the position determined by the target image position determining means and image data representing the image extracted by the image extracting means on the recording medium;
A method for controlling an image processing apparatus.
被写体像を表す画像データおよび上記被写体像中における対象画像部分の位置を示す位置データを,着脱自在な記録媒体から読み取る手順,
読み取られた画像データによって表される被写体像の一部分の画像抽出処理を行う手順,
抽出された画像中における対象画像部分の位置を決定する手順,
決定された位置を示すデータおよび抽出された画像を表す画像データを上記記録媒体に記録する手順を画像処理装置に実行させるための画像処理装置の制御プログラム。

A procedure for reading image data representing a subject image and position data indicating the position of the target image portion in the subject image from a removable recording medium;
A procedure for performing image extraction processing of a portion of the subject image represented by the read image data;
A procedure for determining the position of the target image portion in the extracted image;
A control program for an image processing apparatus for causing an image processing apparatus to execute a procedure for recording data indicating a determined position and image data representing an extracted image on the recording medium.

JP2006158006A 2006-06-07 2006-06-07 Image processing apparatus, control method thereof, and control program thereof Expired - Fee Related JP4509063B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006158006A JP4509063B2 (en) 2006-06-07 2006-06-07 Image processing apparatus, control method thereof, and control program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006158006A JP4509063B2 (en) 2006-06-07 2006-06-07 Image processing apparatus, control method thereof, and control program thereof

Publications (2)

Publication Number Publication Date
JP2007329608A true JP2007329608A (en) 2007-12-20
JP4509063B2 JP4509063B2 (en) 2010-07-21

Family

ID=38929798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006158006A Expired - Fee Related JP4509063B2 (en) 2006-06-07 2006-06-07 Image processing apparatus, control method thereof, and control program thereof

Country Status (1)

Country Link
JP (1) JP4509063B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103884A (en) * 2008-10-27 2010-05-06 Sanyo Electric Co Ltd Image processing device, image processing method and electronic apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0652300A (en) * 1992-08-03 1994-02-25 Ricoh Co Ltd Picture processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0652300A (en) * 1992-08-03 1994-02-25 Ricoh Co Ltd Picture processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103884A (en) * 2008-10-27 2010-05-06 Sanyo Electric Co Ltd Image processing device, image processing method and electronic apparatus

Also Published As

Publication number Publication date
JP4509063B2 (en) 2010-07-21

Similar Documents

Publication Publication Date Title
EP2722850B1 (en) Method for generating thumbnail image and electronic device thereof
US20150022698A1 (en) Removing unwanted objects from photographed image
CN107610153B (en) Electronic device and camera
JP2003018541A (en) Information processing equipment and method therefor
JP2006094053A (en) Photo movie creating method and apparatus thereof, and photo movie creating program
JP4624948B2 (en) Image trimming method and imaging apparatus
JP4509063B2 (en) Image processing apparatus, control method thereof, and control program thereof
JP4930304B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2004054898A (en) Printing data generating device, printing data generating method and program
JP2005210392A (en) Image pickup device
JP2006295749A (en) Reduced image list displaying system, method, and program controlling the system
JP2008020944A (en) Image processing method, program, and device
JP2012165321A (en) Image processing apparatus, display, and image processing method
JP2010011050A (en) Moving picture processing unit, image recording device integrated with camera, moving picture reproducing device, remote control system, moving picture processing program, storage medium, and moving picture processing system
JP2008177797A (en) Image processor, image forming device provided with the same, and show-through-effect-image processing system
JP5653674B2 (en) Image processing device
JP5419783B2 (en) Image reproducing apparatus and method for controlling image reproducing apparatus
JP2008167220A (en) Image processing apparatus and method, and program and recording medium
JP2009175467A (en) Recording and reproducing device, and program
JP2008181304A (en) Information processor, method, and program
JP2008244872A (en) Image display device and program
JP2009141718A (en) Video signal processing apparatus
JP4140885B2 (en) Image processing apparatus, image processing method, and program
JP2022165815A (en) Image processing apparatus and image processing method
JP2005167939A (en) Image processing method, and image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100326

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100413

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100427

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4509063

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140514

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees