JP2011035593A - Electronic apparatus - Google Patents

Electronic apparatus Download PDF

Info

Publication number
JP2011035593A
JP2011035593A JP2009178888A JP2009178888A JP2011035593A JP 2011035593 A JP2011035593 A JP 2011035593A JP 2009178888 A JP2009178888 A JP 2009178888A JP 2009178888 A JP2009178888 A JP 2009178888A JP 2011035593 A JP2011035593 A JP 2011035593A
Authority
JP
Japan
Prior art keywords
image
main subject
subject image
image processing
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009178888A
Other languages
Japanese (ja)
Inventor
Koichi Abe
幸一 阿部
Masaru Otsuka
大 大塚
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2009178888A priority Critical patent/JP2011035593A/en
Publication of JP2011035593A publication Critical patent/JP2011035593A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To allow the degree of effect of image processing application to be recognized on a monitor in details. <P>SOLUTION: A main CPU 11 reads out subject image data from a storage medium 17 and detects a face of a subject person (main subject) with respect to subject image data selected by a user and acquires coordinate data of an image of the face. An image processing circuit 12 performs beautiful skin treatment to face image data, and the main CPU 11 enlarges and displays the face image subjected to beautiful skin treatment, on a monitor 15 on the basis of the coordinate data. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像処理機能を有する電子機器、例えばデジタルカメラに関する。   The present invention relates to an electronic apparatus having an image processing function, such as a digital camera.

画像データに画像処理を施し、処理前の画像と処理後の画像とをモニタの同一画面上に並べて再生表示する画像再生装置が知られている(例えば、特許文献1参照)。   There is known an image reproduction apparatus that performs image processing on image data and reproduces and displays an unprocessed image and a processed image side by side on the same screen of a monitor (see, for example, Patent Document 1).

特開2009−38642号公報JP 2009-38642 A

しかしながら、上述した画像再生装置では、処理前後の2つの画像を同一画面上に並べて表示するので、2つの画像を比較するのは容易であるが、画像の大きさが小さくなるため、画像処理適用の効果が分かり難いという問題がある。特に、モニタ画面が小さいポータブル機器では、この傾向が大きい。   However, in the above-described image reproduction device, two images before and after the processing are displayed side by side on the same screen, so it is easy to compare the two images, but the size of the image is small, so the image processing application There is a problem that the effect of is difficult to understand. This tendency is particularly large in portable devices having a small monitor screen.

(1)請求項1の発明に係る電子機器は、被写体画像データを記憶媒体から読み出す読出し手段と、被写体画像データ中の主要被写体画像を検出して、該主要被写体画像の位置データを取得する検出手段と、主要被写体画像に対して所定の画像処理を施す画像処理手段と、主要被写体画像の位置データに基づいて、所定の画像処理が施された主要被写体画像を表示装置に拡大表示させる表示制御手段と、を備えることを特徴とする。 (1) The electronic device according to the invention of claim 1 is a reading means for reading out subject image data from a storage medium, and detection for detecting a main subject image in the subject image data and acquiring position data of the main subject image Means, image processing means for performing predetermined image processing on the main subject image, and display control for enlarging and displaying the main subject image subjected to the predetermined image processing on the display device based on position data of the main subject image And means.

本発明の電子機器によれば、被写体画像中の主要被写体画像に画像処理を施し、その主要被写体画像部分を拡大表示するので、画像処理適用の効果の程度を詳細に認識することができる。   According to the electronic apparatus of the present invention, the main subject image in the subject image is subjected to image processing, and the main subject image portion is displayed in an enlarged manner, so that the degree of effect of the image processing application can be recognized in detail.

本発明の実施の形態に係るデジタルカメラの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the digital camera which concerns on embodiment of this invention. 画像処理前の画面内容を模式的に示すデジタルカメラの背面図である。It is a rear view of the digital camera which shows typically the screen content before image processing. 主要被写体を画像処理して拡大表示した画面内容を模式的に示すデジタルカメラの背面図である。It is a rear view of the digital camera which shows typically the contents of a screen which expanded and displayed the main subject by image processing. 第1の実施の形態による処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process by 1st Embodiment. 第2の実施の形態による処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process by 2nd Embodiment. 第2の実施の形態の変形例による処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process by the modification of 2nd Embodiment.

<デジタルカメラの構成>
本発明の実施の形態による電子機器は、撮像部を有するデジタルカメラであり、その構成について、図1〜6を参照しながら詳細に説明する。
図1に示されるように、デジタルカメラ1は、メインCPU11、画像処理回路12、画像圧縮回路13、バッファメモリ14、モニタ(表示装置)15、記憶媒体インターフェース16、記憶媒体17、操作部材18、および撮影レンズ21と撮像素子22とを有する撮像部20を備える。
<Configuration of digital camera>
An electronic apparatus according to an embodiment of the present invention is a digital camera having an imaging unit, and the configuration thereof will be described in detail with reference to FIGS.
As shown in FIG. 1, the digital camera 1 includes a main CPU 11, an image processing circuit 12, an image compression circuit 13, a buffer memory 14, a monitor (display device) 15, a storage medium interface 16, a storage medium 17, an operation member 18, And an imaging unit 20 having a photographic lens 21 and an imaging element 22.

メインCPU11は、各ブロックから出力される信号を入力して所定の情報を検知したり、所定の演算を行って演算結果に基づく制御信号を各ブロックへ出力する。すなわち、メインCPU11は、不図示のフラッシュメモリに格納されているプログラムを実行することによってデジタルカメラ1が行う動作を統括的に制御する。
例えば、メインCPU11は、被写体画像データ中の人物の顔を検出したり、その顔データの座標を取得する。
The main CPU 11 inputs a signal output from each block to detect predetermined information, performs a predetermined calculation, and outputs a control signal based on the calculation result to each block. That is, the main CPU 11 comprehensively controls operations performed by the digital camera 1 by executing a program stored in a flash memory (not shown).
For example, the main CPU 11 detects the face of a person in the subject image data and acquires the coordinates of the face data.

画像処理回路12は、例えばASICとして構成され、撮像素子22から入力される画像信号に対して画像処理を行う。画像処理には、例えば、輪郭強調や色温度調整(ホワイトバランス調整)処理、画像信号に対するフォーマット変換処理が含まれる。   The image processing circuit 12 is configured as an ASIC, for example, and performs image processing on an image signal input from the image sensor 22. The image processing includes, for example, contour enhancement, color temperature adjustment (white balance adjustment) processing, and format conversion processing for an image signal.

画像圧縮回路13は、画像処理回路12による処理後の画像信号に対してJPEG方式で所定の圧縮比率の画像圧縮処理を行う。
バッファメモリ14は、画像処理前後および画像処理途中のデータを一時的に格納する他、記憶媒体17へ保存する前の画像ファイルを格納したり、記憶媒体17から読み出した画像ファイルを格納するために使用される。
The image compression circuit 13 performs image compression processing at a predetermined compression ratio on the image signal processed by the image processing circuit 12 by the JPEG method.
The buffer memory 14 temporarily stores data before and after image processing and during image processing, and stores an image file before being stored in the storage medium 17, and stores an image file read from the storage medium 17. used.

モニタ15は、メインCPU11からの指示に応じて画像や操作メニューなどを表示する。また、モニタ15は、メインCPU11からの指示に応じて表示態様(部分画像の位置移動表示や拡大表示)を行う。モニタ15としては、液晶ディスプレイ(LCD)や有機ELディスプレイなどが使用可能である。   The monitor 15 displays an image, an operation menu, and the like according to an instruction from the main CPU 11. Further, the monitor 15 performs a display mode (partial image position movement display and enlarged display) in accordance with an instruction from the main CPU 11. As the monitor 15, a liquid crystal display (LCD), an organic EL display, or the like can be used.

記憶媒体インターフェース16は、記憶媒体17と接続するためのスロットを有する。
記憶媒体17は、記憶媒体インターフェース16に対して着脱可能なメモリカードなどで構成される。記憶媒体17には、メインCPU11からの指示信号によって被写体画像データおよびその属性情報を含むExif形式の画像ファイルが記録される。Exif形式の画像ファイルは、JPEG画像フォーマットの画像データ内に撮影情報などの属性データを埋め込むようにしたものである。記憶媒体17に記録された画像ファイルは、メインCPU11からの指示信号によって読み出しが可能であり、その画像データに基づく再生画像をモニタ15に表示することができる。
The storage medium interface 16 has a slot for connecting to the storage medium 17.
The storage medium 17 includes a memory card that can be attached to and detached from the storage medium interface 16. An Exif format image file including subject image data and attribute information thereof is recorded in the storage medium 17 in accordance with an instruction signal from the main CPU 11. The Exif format image file is obtained by embedding attribute data such as shooting information in image data in the JPEG image format. The image file recorded in the storage medium 17 can be read by an instruction signal from the main CPU 11, and a reproduced image based on the image data can be displayed on the monitor 15.

操作部材18は、ユーザーが入力操作を行うための部材である。入力操作には、撮影の指示、モードの切替え、画像データの読出しの指示、画像の選択、画像処理の種類の選択、画像処理の効果の度合い(強弱)の選択などがある。   The operation member 18 is a member for a user to perform an input operation. Input operations include shooting instructions, mode switching, image data reading instructions, image selection, image processing type selection, and image processing effect level (strength) selection.

操作部材18は、図2、3に示されるレリーズボタン18aと、メニューボタン18bと、選択ボタン18cと、決定ボタン18dとを含む。ユーザーが操作部材18を操作することにより、モード切替え操作やメニュー選択/決定操作など各操作に応じた操作信号がメインCPU11へ送出される。
モニタ15は、メインCPU11からの指示に応じて画像処理の種類や画像処理の効果の度合いを表示する。例えば、図示されるように、15aは、選択された画像処理の種類「美肌処理」、15bは、画像処理の効果の度合い「強」の表示である。なお、画像処理を実行しない場合は、15bは、「OFF」と表示される。
The operation member 18 includes a release button 18a, a menu button 18b, a selection button 18c, and an enter button 18d shown in FIGS. When the user operates the operation member 18, an operation signal corresponding to each operation such as a mode switching operation or a menu selection / decision operation is sent to the main CPU 11.
The monitor 15 displays the type of image processing and the degree of image processing effect in accordance with an instruction from the main CPU 11. For example, as illustrated, 15a is a display of the selected type of image processing “skin-beautifying”, and 15b is a display of the degree of effect of image processing “strong”. When image processing is not executed, 15b is displayed as “OFF”.

撮像部20の撮影レンズ21は、撮像素子22の撮像面上に被写体像を結像させる。撮像素子22はCCDイメージセンサなどで構成され、撮像面上の被写体像を撮像し、光電変換によって生成された撮像信号を不図示のA/D変換回路を介して画像処理回路12へ出力する。   The photographing lens 21 of the imaging unit 20 forms a subject image on the imaging surface of the imaging element 22. The image pickup device 22 is configured by a CCD image sensor or the like, picks up a subject image on the image pickup surface, and outputs an image pickup signal generated by photoelectric conversion to the image processing circuit 12 via an A / D conversion circuit (not shown).

<第1の実施の形態>
以上のように構成されたデジタルカメラの動作を、図4も参照しながら説明する。
図4は、第1の実施の形態におけるメインCPU11の処理を示すフローチャートである。本フローチャートの処理を実行するためのプログラムは不図示のフラッシュメモリに保存されている。
図4のフローチャートを参照すると、ステップS31で、ユーザーが操作部材18を操作することにより記憶媒体17に記録されている被写体画像データをバッファメモリ14に読み出し、その被写体画像データに基づく画像がモニタ15に再生表示される。画像は1枚ずつ表示してもよいし、サムネイル一覧表示してもよい。
ステップS32で、モニタ15に再生表示された複数の被写体画像の中から画像を選択する。この選択された画像が処理対象画像である。
<First Embodiment>
The operation of the digital camera configured as described above will be described with reference to FIG.
FIG. 4 is a flowchart showing the processing of the main CPU 11 in the first embodiment. A program for executing the processing of this flowchart is stored in a flash memory (not shown).
Referring to the flowchart of FIG. 4, in step S31, subject image data recorded in the storage medium 17 is read into the buffer memory 14 by the user operating the operation member 18, and an image based on the subject image data is displayed on the monitor 15. Will be displayed. Images may be displayed one by one or as a thumbnail list.
In step S32, an image is selected from a plurality of subject images reproduced and displayed on the monitor 15. This selected image is a processing target image.

ステップS33で、ユーザーが操作部材18を操作して、具体的には図2のメニューボタン18bを操作して、画像処理メニューを呼び出し、複数の画像処理項目をモニタ15に表示させる。画像処理メニューには、美肌処理、赤目補正処理などの画像処理の種類を示す項目がある。美肌処理とは、人物画像の肌色のカラー成分を抽出してシミやアレが目立たなくなるように階調を平滑化する処理である。赤目補正処理とは、フラッシュ光の眼底反射のために赤く写った目の画像に対して色補正するものである。
なお、画像処理メニューは、画像処理対象の選択画像に代えてモニタ15に表示させてもよいし、選択画像と重畳表示させてもよい。
In step S <b> 33, the user operates the operation member 18, specifically, operates the menu button 18 b in FIG. 2 to call an image processing menu and display a plurality of image processing items on the monitor 15. The image processing menu includes items indicating types of image processing such as skin beautification processing and red-eye correction processing. The skin-beautifying process is a process of extracting the skin color component of the person image and smoothing the gradation so that the spots and spots are not noticeable. In the red-eye correction process, color correction is performed on an image of an eye that appears red due to fundus reflection of flash light.
Note that the image processing menu may be displayed on the monitor 15 instead of the selected image to be processed, or may be displayed superimposed on the selected image.

ステップS34で、画像処理メニューの中から「美肌処理」を選ぶ。具体的には図2の選択ボタン18cでカーソルを所望の画像処理項目に合わせて選択し、決定ボタン18dで選択した画像処理項目を決定する。このようにして、「美肌処理」が手動設定され、図2に示されるように、「美肌処理」の文字15aがモニタ15に表示される。   In step S34, "skin-beautifying process" is selected from the image processing menu. Specifically, the selection button 18c in FIG. 2 is used to select the cursor according to a desired image processing item, and the selected image processing item is determined by the determination button 18d. In this way, “skin-beautifying” is manually set, and the “skin-beautifying” 15a is displayed on the monitor 15 as shown in FIG.

ステップS35で、メインCPU11は、選択画像の被写体画像データと不図示のフラッシュメモリに格納されている顔データとを比較することにより、被写体画像中の被写体人物の顔を検出する。この被写体人物の顔が被写体画像中の主要被写体に相当するものである。
顔検出には、例えば、特開2001−16573号公報、特開2005−157679号公報に開示されている検出手法を用いることができる。
In step S35, the main CPU 11 detects the face of the subject person in the subject image by comparing the subject image data of the selected image with face data stored in a flash memory (not shown). The face of the subject person corresponds to the main subject in the subject image.
For the face detection, for example, detection methods disclosed in Japanese Patent Laid-Open Nos. 2001-16573 and 2005-157679 can be used.

ステップS36で、メインCPU11が人物の顔を検出した場合は、メインCPU11は、被写体画像中でのその顔の位置と大きさを表す顔領域15cの座標データを取得する。例えば、図2において、顔領域15cを顔画像に接する長方形の枠で構成し、モニタ画面の左上を原点としたとき、顔領域15cの左上隅P1の座標と右下隅P2の座標とによって顔領域15cの位置と大きさが特定される。   When the main CPU 11 detects a person's face in step S36, the main CPU 11 acquires coordinate data of the face area 15c representing the position and size of the face in the subject image. For example, in FIG. 2, when the face area 15c is formed of a rectangular frame in contact with the face image and the upper left corner of the monitor screen is the origin, the face area 15c is determined by the coordinates of the upper left corner P1 and the coordinates of the lower right corner P2. The position and size of 15c are specified.

ステップS37で、顔領域15cの座標データをバッファメモリ14に一時的に記憶させる。
ステップS38で、選択画像がモニタ15に再表示され、処理効果メニューが重畳表示される。処理効果メニューとは、画像処理の度合いを選択するためのメニューであり、例えば、美肌処理の効果の程度が「強」、「弱」の2段階で表わされる。
In step S37, the coordinate data of the face area 15c is temporarily stored in the buffer memory 14.
In step S38, the selected image is displayed again on the monitor 15, and the processing effect menu is displayed in a superimposed manner. The processing effect menu is a menu for selecting the degree of image processing. For example, the effect of the skin beautifying process is expressed in two levels, “strong” and “weak”.

ステップS39で、ユーザーが操作部材18を操作して、処理効果メニューの中から所望の効果、例えば「強」を選択する。このようにして、効果「強」が手動設定され、図2に示されるように、「強」の文字15bがモニタ15に表示される。
この操作により、ステップS40で、画像処理回路12は、選択された効果の度合いに応じた「美肌処理」を被写体画像データ中の顔領域15cの画像データに対して実行する。
ステップS39で、ユーザーが処理のキャンセルを選択すると、画像表示を終了し、本フローチャートの処理を終了する。
In step S39, the user operates the operation member 18 to select a desired effect, for example, “strong” from the processing effect menu. In this way, the effect “strong” is manually set, and the “strong” character 15b is displayed on the monitor 15 as shown in FIG.
With this operation, in step S40, the image processing circuit 12 executes “skin-beautifying process” corresponding to the selected degree of the effect on the image data of the face region 15c in the subject image data.
If the user selects cancel of the process in step S39, the image display is terminated and the process of this flowchart is terminated.

ステップS41で、「美肌処理」の結果が処理終了と共に自動的にモニタ15の画面に表示される。すなわち、図3に示されるように、画像処理済みの顔画像15dが所定の倍率で拡大されて表示される。拡大された顔画像15dはモニタ画面の中央に表示させる。この拡大された顔画像15dの大きさは、図2の顔領域15cの大きさに無関係にほぼ一定になるように定められ、図2の顔領域15cの大きさから図3の顔画像15dへの拡大率は、顔領域15cの大きさを表す2点(P1とP2)の座標データに基づいて決定される。   In step S41, the result of “skin-beautifying process” is automatically displayed on the screen of the monitor 15 upon completion of the process. That is, as shown in FIG. 3, the image-processed face image 15d is enlarged and displayed at a predetermined magnification. The enlarged face image 15d is displayed at the center of the monitor screen. The size of the enlarged face image 15d is determined to be substantially constant regardless of the size of the face region 15c in FIG. 2, and the size of the face region 15c in FIG. 2 is changed to the face image 15d in FIG. Is determined based on coordinate data of two points (P1 and P2) representing the size of the face region 15c.

ステップS42で、ユーザーは拡大された顔画像15dを確認し、効果の度合い「強」で「美肌処理」を実行した処理済み画像を記憶媒体17に保存するか否かを操作部材18を操作することにより決定する。保存する場合は、ステップS43へ移行し、この処理済み画像を記憶媒体17に新規に保存する。この新規保存の場合、画像処理の種類や処理効果の度合いを属性データとして画像に付加することができる。
一方、保存しない場合は、ステップS38へ戻り、選択画像と処理効果メニューをモニタ15に再度表示させて、ステップS39以下の動作を繰り返す。
In step S42, the user confirms the enlarged face image 15d, and operates the operation member 18 to determine whether or not to store in the storage medium 17 the processed image that has been subjected to the “skin-beautifying process” with the degree of effect “strong”. To decide. In the case of saving, the process proceeds to step S43, and this processed image is newly saved in the storage medium 17. In the case of this new storage, the type of image processing and the degree of processing effect can be added to the image as attribute data.
On the other hand, if not stored, the process returns to step S38, the selected image and the processing effect menu are displayed again on the monitor 15, and the operations after step S39 are repeated.

本実施の形態によれば、選択画像中の画像処理を施した顔画像を拡大して表示するので、処理結果を詳細に確認できる。そのため、処理済み画像を記憶媒体17に保存するか否かも容易に判断することができる。
なお、拡大された顔画像15dの大きさをほぼ一定にする代りに、拡大率を一定にすることもできる。また、拡大された顔画像15dをモニタ画面の中央部以外に表示してもよい。
According to the present embodiment, the face image subjected to image processing in the selected image is enlarged and displayed, so that the processing result can be confirmed in detail. Therefore, it can be easily determined whether or not to store the processed image in the storage medium 17.
Instead of making the size of the enlarged face image 15d substantially constant, the enlargement rate can be made constant. Further, the enlarged face image 15d may be displayed in a region other than the central portion of the monitor screen.

<第2の実施の形態>
第2の実施の形態は、図5のフローチャートを参照しながら説明する。
図5は、第2の実施の形態におけるメインCPU11の処理を示すフローチャートである。本フローチャートの処理を実行するためのプログラムは不図示のフラッシュメモリに保存されている。
図5のステップS51〜S57は、第1の実施の形態による図4のフローチャートのステップS31〜S37と同様であるので説明を省略する。
<Second Embodiment>
The second embodiment will be described with reference to the flowchart of FIG.
FIG. 5 is a flowchart showing the processing of the main CPU 11 in the second embodiment. A program for executing the processing of this flowchart is stored in a flash memory (not shown).
Steps S51 to S57 in FIG. 5 are the same as steps S31 to S37 in the flowchart in FIG. 4 according to the first embodiment, and thus description thereof is omitted.

ステップS58では、メインCPU11は画像処理回路12に指示を出して、選択画像を間引きして縮小することによりプレビュー画像を生成させる。プレビュー画像とは、表示用に特化した縮小画像であり、画像処理対象の選択画像を元に画面表示に十分な大きさにリサイズしたものである。そして、画像処理回路12は、プレビュー画像をコピーする。ここでは、効果の程度が「強」、「弱」の2段階であることから、「画像処理なし」のものと併せて3つのプレビュー画像をバッファメモリ14に保存する。これらの3つのプレビュー画像は、画僧処理効果が「強」、「弱」、「なし」の3つに対応する。   In step S58, the main CPU 11 instructs the image processing circuit 12 to generate a preview image by thinning out the selected image and reducing it. The preview image is a reduced image specialized for display, and is resized to a size sufficient for screen display based on a selected image to be processed. Then, the image processing circuit 12 copies the preview image. Here, since the degree of effect is two stages of “strong” and “weak”, three preview images are stored in the buffer memory 14 together with those of “no image processing”. These three preview images correspond to the three image processing effects “strong”, “weak”, and “none”.

ステップS59で、メインCPU11の指示に応じて、画像処理回路12は、効果の度合いに応じた「美肌処理」をプレビュー画像データに対して実行する。すなわち、1枚目のプレビュー画像データの顔領域に対しては効果の程度「強」で美肌処理を実行し、2枚目のプレビュー画像データの顔領域に対しては効果の程度「弱」で美肌処理を実行する。このようにして、2枚の画像処理済みのプレビュー画像を作成する。画像処理済みのプレビュー画像は、一時的にバッファメモリ14に記憶される。   In step S59, in response to an instruction from the main CPU 11, the image processing circuit 12 performs “skin-beautification processing” on the preview image data according to the degree of the effect. That is, the skin care process is executed with the effect level “strong” for the face area of the first preview image data, and the effect level is “weak” for the face area of the second preview image data. Perform skin beautification. In this way, two image-processed preview images are created. The processed preview image is temporarily stored in the buffer memory 14.

ステップS60では、ステップS57において、バッファメモリ14に記憶したプレビュー画像のうち画像処理が行われていないプレビュー画像データの画像、すなわち、ステップS52で選択した処理対象の選択画像の顔領域の画像(顔画像)がモニタ15に所定の倍率で拡大されて表示される。モニタ15の画面上には、処理効果メニューも重畳表示される。
ステップS61で、ユーザーが操作部材18を操作して効果の程度を選択或いは非選択(すなわち、OFFを選択)とすると、それに応じてステップS62A、S62B、S62Cのいずれかへ移行する。ステップS61で、キャンセルすれば、画像表示を終了して動作を終了する。
In step S60, the image of the preview image data that has not been subjected to image processing among the preview images stored in the buffer memory 14 in step S57, that is, the image of the face area of the selected image to be processed selected in step S52 (face Image) is enlarged and displayed on the monitor 15 at a predetermined magnification. A processing effect menu is also superimposed on the screen of the monitor 15.
In step S61, when the user operates the operation member 18 to select or deselect the effect level (that is, select OFF), the process proceeds to one of steps S62A, S62B, and S62C accordingly. If canceled in step S61, the image display is terminated and the operation is terminated.

ステップS62Aでは、ステップS59で効果の程度「強」で画像処理されたプレビュー画像の顔部分の拡大画像と、「強」の文字とがモニタ15に表示される。
ステップS62Bでは、ステップS59で効果の程度「弱」で画像処理されたプレビュー画像の顔部分の拡大画像と、「弱」の文字とがモニタ15に表示される。
ステップS62Cでは、ユーザーが効果「なし」を選択することにより、初期画面表示の「OFF」を選択している場合であり、処理対象の選択画像(処理前の選択画像)の顔拡大画像と、「OFF」の文字とが表示される。
In step S62A, the enlarged image of the face portion of the preview image that has been image-processed with the effect level “strong” in step S59 and the characters “strong” are displayed on the monitor 15.
In step S62B, an enlarged image of the face portion of the preview image that has been image-processed with the degree of effect “weak” in step S59, and “weak” characters are displayed on the monitor 15.
In step S62C, the user selects “OFF” of the initial screen display by selecting the effect “None”, and the face enlarged image of the selection target image (selected image before processing), “OFF” is displayed.

ステップS61で、ユーザーが効果の程度「強」を選択し、ステップS62Aへ移行した場合は、効果の程度「強」で画像処理されたプレビュー画像の顔部分の拡大画像と、「強」の文字とがモニタ15に表示される。
ステップS63で、ユーザーが選択した効果の程度「強」がバッファメモリ14に記憶される。
When the user selects the effect level “strong” in step S61 and the process proceeds to step S62A, the enlarged image of the face portion of the preview image subjected to image processing with the effect level “strong” and the character “strong” Are displayed on the monitor 15.
In step S 63, the effect level “strong” selected by the user is stored in the buffer memory 14.

ステップS64では、ステップS63でユーザーが選択した「強」以外の効果の程度として例えば「弱」を選択した場合は、ステップS62Bへ移行し、効果の程度「弱」で画像処理されたプレビュー画像の顔部分の拡大画像と、「弱」の文字とがモニタ15に表示される。
ステップS64で、「OFF」以外の画像、例えば、効果の程度「強」で画像処理されたプレビュー画像をユーザーが選択した場合は、ステップS65へ移行する。ステップS65で、画像処理回路12は、バッファメモリ14に記憶させた効果の程度「強」で処理対象の選択画像の顔領域に対して美肌処理を実行する。
なお、ステップS64で、キャンセルすれば、画像表示を終了して動作を終了する。
In step S64, if, for example, “weak” is selected as the degree of effect other than “strong” selected by the user in step S63, the process proceeds to step S62B, and the preview image subjected to image processing with the degree of effect “weak” is displayed. An enlarged image of the face portion and a “weak” character are displayed on the monitor 15.
In step S64, if the user selects an image other than “OFF”, for example, a preview image subjected to image processing with the degree of effect “strong”, the process proceeds to step S65. In step S <b> 65, the image processing circuit 12 executes the skin beautification process on the face area of the selected image to be processed with the degree of effect “strong” stored in the buffer memory 14.
If canceled in step S64, the image display is terminated and the operation is terminated.

ステップS66では、ステップS65の処理により得られた処理済み画像(例えば、効果の度合い「強」で「美肌処理」を実行した処理済み画像)を記憶媒体17に保存する。
本実施の形態によれば、プレビュー画像中の画像処理を施した顔画像を拡大して表示するので、処理結果を詳細に確認できる。画素数の少ないプレビュー画像を用いて画像処理の効果を判断できるので、メインCPU11やバッファメモリ14などの処理の負荷を軽減できる。
In step S66, the processed image obtained by the process of step S65 (for example, the processed image obtained by executing the “skin-beautifying process” with the degree of effect “strong”) is stored in the storage medium 17.
According to the present embodiment, since the face image subjected to the image processing in the preview image is enlarged and displayed, the processing result can be confirmed in detail. Since the effect of image processing can be determined using a preview image with a small number of pixels, the processing load on the main CPU 11 and the buffer memory 14 can be reduced.

<変形例>
第2の実施の形態の変形例について、図6のフローチャートを参照しながら説明する。図6のステップS71〜S77は、第2の実施の形態による図5のフローチャートのステップS51〜S57と同様であるので説明を省略する。
この変形例が第2の実施の形態と異なる点は、予めプレビュー画像を作成せず、ユーザーが効果の度合いを選択する都度、処理対象の選択画像に対して画像処理を施すものである。
<Modification>
A modification of the second embodiment will be described with reference to the flowchart of FIG. Steps S71 to S77 in FIG. 6 are the same as steps S51 to S57 in the flowchart in FIG. 5 according to the second embodiment, and thus the description thereof is omitted.
This modification is different from the second embodiment in that a preview image is not created in advance, and image processing is performed on a selection image to be processed every time the user selects the degree of effect.

ステップS78では、ステップS72で選択した処理対象の選択画像の顔領域の画像(顔画像)がモニタ15に所定の倍率で拡大されて表示される。モニタ15の画面上には、処理効果メニューも重畳表示される。   In step S78, the face area image (face image) of the selected image to be processed selected in step S72 is enlarged and displayed on the monitor 15 at a predetermined magnification. A processing effect menu is also superimposed on the screen of the monitor 15.

ステップS79で、ユーザーが操作部材18を操作して効果の程度を選択或いは非選択(すなわち、OFFを選択)とすると、それに応じてステップS80A、S80B、S80Cのいずれかへ移行する。ステップS79で、キャンセルすれば、画像表示を終了して動作を終了する。   In step S79, when the user operates the operation member 18 to select or not select the degree of effect (that is, select OFF), the process proceeds to one of steps S80A, S80B, and S80C accordingly. If canceled in step S79, the image display ends and the operation ends.

ステップS80Aでは、ユーザーが効果の程度「強」を選択したため、効果の程度「強」で処理対象の選択画像に対して美肌処理が実行される。また、ステップS80Bでは、ユーザーが効果の程度「弱」を選択したため、効果の程度「弱」で処理対象の選択画像に対して美肌処理が実行される。このように、ユーザーが効果の度合いを選択する都度、処理対象の選択画像に対して画像処理を施す。
また、ステップS80Cでは、ユーザーが効果の程度を選択せず、初期画面表示の「OFF」を選択している場合であり、処理対象の選択画像(処理前の選択画像)の顔拡大画像と、「OFF」の文字とが表示される。
In step S80A, since the user selects the effect level “strong”, the skin beautification process is executed on the selected image to be processed with the effect level “strong”. In step S80B, since the user selects the effect level “weak”, the skin beautification process is performed on the selected image to be processed with the effect level “weak”. In this way, each time the user selects the degree of effect, image processing is performed on the selected image to be processed.
Further, in step S80C, the user has selected “OFF” of the initial screen display without selecting the degree of effect, and the face enlarged image of the processing target selection image (selected image before processing), “OFF” is displayed.

ステップS81では、ステップS80A又はステップS80Bでの美肌処理結果、つまり、効果の程度「強」又は「弱」で画像処理された処理済み画像の顔部分の拡大画像と、「強」又は「弱」の文字とがモニタ15に表示される。
ステップS82で、「OFF」以外の画像、例えば、効果の程度「強」で画像処理された選択画像をユーザーが選択した場合は、ステップS83へ移行し、ステップS83で、この処理済み画像を記憶媒体17に新規に保存する。
ステップS82で、効果の程度を変更した場合は、ユーザー操作に応じてステップS80A,S80B,S80Cのいずれかへ戻り、上述した動作を繰り返す。
この変形例によれば、ステップS82で効果の程度を変更し、ステップS80A又はステップS80Bにおいて再度画像処理を行う場合、それ以前の処理済み画像を消去してから画像処理を行うことにより、メインCPU11やバッファメモリ14などの処理の負荷を軽減できる。
In step S81, the result of the skin beautification process in step S80A or step S80B, that is, the enlarged image of the face portion of the processed image that has been image-processed with the degree of effect “strong” or “weak”, and “strong” or “weak”. Are displayed on the monitor 15.
If the user selects an image other than “OFF” in step S82, for example, a selected image that has been image-processed with the effect level “strong”, the process proceeds to step S83, and the processed image is stored in step S83. Newly stored in the medium 17.
If the effect level is changed in step S82, the process returns to any of steps S80A, S80B, and S80C according to the user operation, and the above-described operation is repeated.
According to this modified example, when the degree of effect is changed in step S82 and image processing is performed again in step S80A or step S80B, the main CPU 11 performs the image processing after deleting the previous processed image. And the processing load of the buffer memory 14 and the like can be reduced.

なお、第2の実施の形態においては、ステップS57で、単純に選択画像を間引きすることによってプレビュー画像を生成したが、顔画像を含む拡大画像のプレビュー画像を生成することにしてもよい。すなわち、先ずステップS57で保存した顔座標に基づいて、第1の実施の形態のステップS41と同様の処理により拡大画像を生成する。そして、この画像を間引き処理することによってプレビュー画像を作成し、そのコピーを作成する。そして、ステップS59では、この拡大画像のプレビュー画像に対して、効果「強」と「弱」の画像処理を行うこととする。
この処理を行うことにより、ステップS62AとS62Bにおいて拡大処理が不要となるため、ユーザーが操作してから拡大画像が表示されるまでの時間が短縮される。
In the second embodiment, the preview image is generated by simply thinning out the selected image in step S57. However, a preview image of an enlarged image including a face image may be generated. That is, first, based on the face coordinates stored in step S57, an enlarged image is generated by the same process as in step S41 of the first embodiment. Then, a preview image is created by thinning the image, and a copy of the preview image is created. In step S59, image processing with effects “strong” and “weak” is performed on the preview image of the enlarged image.
By performing this process, the enlargement process is not necessary in steps S62A and S62B, so that the time from when the user operates to when the enlarged image is displayed is shortened.

上述の実施の形態は、画像処理を施すべき主要被写体として人物の顔について説明したが、主要被写体は、人物の顔に限らず、人物の全身や動物などでもよい。また、主要被写体は、バーコードや追尾しているターゲットなどでもよい。
また、上述の実施の形態は、本発明をデジタルカメラに適用したものであったが、本発明は、それに限らず、パソコンやその他の画像処理装置に適用することができる。例えば、図1の一点鎖線で囲んだ構成を有さない装置、すなわち、撮像部20を有さない電子機器に適用することができる。
本発明は、その特徴を損なわない限り、以上説明した実施の形態に何ら限定されない。
In the above-described embodiment, a person's face has been described as a main subject to be subjected to image processing. However, the main subject is not limited to a person's face, and may be a person's whole body or an animal. The main subject may be a barcode, a target being tracked, or the like.
In the above-described embodiment, the present invention is applied to a digital camera. However, the present invention is not limited to this, and can be applied to a personal computer and other image processing apparatuses. For example, the present invention can be applied to an apparatus that does not have the configuration surrounded by the one-dot chain line in FIG. 1, that is, an electronic apparatus that does not include the imaging unit 20.
The present invention is not limited to the embodiments described above as long as the characteristics are not impaired.

1:デジタルカメラ 11:メインCPU
12:画像処理回路 13:画像圧縮回路
14:バッファメモリ 15:モニタ(表示装置)
16:記憶媒体インターフェース 17:記憶媒体
18:操作部材 20:撮像部
1: Digital camera 11: Main CPU
12: Image processing circuit 13: Image compression circuit 14: Buffer memory 15: Monitor (display device)
16: Storage medium interface 17: Storage medium 18: Operation member 20: Imaging unit

Claims (6)

被写体画像データを記憶媒体から読み出す読出し手段と、
前記被写体画像データ中の主要被写体画像を検出して、該主要被写体画像の位置データを取得する検出手段と、
前記主要被写体画像に対して所定の画像処理を施す画像処理手段と、
前記主要被写体画像の位置データに基づいて、前記所定の画像処理が施された前記主要被写体画像を表示装置に拡大表示させる表示制御手段と、を備えることを特徴とする電子機器。
Reading means for reading out subject image data from a storage medium;
Detecting means for detecting a main subject image in the subject image data and obtaining position data of the main subject image;
Image processing means for performing predetermined image processing on the main subject image;
An electronic apparatus comprising: a display control unit that enlarges and displays on a display device the main subject image on which the predetermined image processing has been performed based on position data of the main subject image.
請求項1に記載の電子機器において、
前記所定の画像処理が施された前記主要被写体画像を表示させる指示を受け付ける操作手段を更に備え、
前記表示制御手段は、画像処理前の前記被写体画像を前記表示装置に表示させ、前記操作手段の操作に応じて、前記被写体画像に代えて前記画像処理済みの主要被写体画像を表示装置に拡大表示させることを特徴とする電子機器。
The electronic device according to claim 1,
An operation means for receiving an instruction to display the main subject image subjected to the predetermined image processing;
The display control unit displays the subject image before image processing on the display device, and displays the main subject image subjected to the image processing on the display device instead of the subject image in accordance with an operation of the operation unit. An electronic device characterized in that
請求項1に記載の電子機器において、
前記所定の画像処理が施された前記主要被写体画像を表示させる指示を受け付ける操作手段を更に備え、
前記表示制御手段は、画像処理前の前記主要被写体画像を前記位置データに基づいて前記表示装置に拡大表示させ、前記操作手段の操作に応じて、前記画像処理前の主要被写体画像に代えて前記画像処理済みの主要被写体画像を表示装置に拡大表示させることを特徴とする電子機器。
The electronic device according to claim 1,
An operation means for receiving an instruction to display the main subject image subjected to the predetermined image processing;
The display control means enlarges and displays the main subject image before image processing on the display device based on the position data, and replaces the main subject image before image processing according to the operation of the operation means. An electronic apparatus characterized in that an image-processed main subject image is enlarged and displayed on a display device.
請求項1〜3のいずれか1項に記載の電子機器において、
前記位置データは、前記主要被写体画像の位置と大きさを表す前記主要被写体画像上の2点の座標データであり、
前記表示制御手段は、前記2点の座標データに基づいて前記主要被写体画像を所定の大きさで拡大表示させることを特徴とする電子機器。
In the electronic device of any one of Claims 1-3,
The position data is coordinate data of two points on the main subject image representing the position and size of the main subject image,
The electronic control apparatus, wherein the display control means enlarges and displays the main subject image with a predetermined size based on the coordinate data of the two points.
請求項4に記載の電子機器において、
前記主要被写体は被写体人物の顔であり、
前記検出手段は、前記被写体人物の顔画像を検出して、該顔画像の座標データを取得することを特徴とする電子機器。
The electronic device according to claim 4,
The main subject is the face of the subject person,
The electronic device is characterized in that the detection means detects a face image of the subject person and acquires coordinate data of the face image.
請求項1〜5のいずれか1項に記載の電子機器において、
前記被写体を撮像して画像信号を出力する撮像手段を更に備えることを特徴とする電子機器。
In the electronic device of any one of Claims 1-5,
An electronic apparatus further comprising imaging means for imaging the subject and outputting an image signal.
JP2009178888A 2009-07-31 2009-07-31 Electronic apparatus Pending JP2011035593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009178888A JP2011035593A (en) 2009-07-31 2009-07-31 Electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009178888A JP2011035593A (en) 2009-07-31 2009-07-31 Electronic apparatus

Publications (1)

Publication Number Publication Date
JP2011035593A true JP2011035593A (en) 2011-02-17

Family

ID=43764239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009178888A Pending JP2011035593A (en) 2009-07-31 2009-07-31 Electronic apparatus

Country Status (1)

Country Link
JP (1) JP2011035593A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013161318A (en) * 2012-02-07 2013-08-19 Nikon Corp Image processing device, electronic camera, and program
JP2013172166A (en) * 2012-02-17 2013-09-02 Nikon Corp Image processing apparatus, imaging apparatus, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005129994A (en) * 2003-10-21 2005-05-19 Konica Minolta Photo Imaging Inc Digital camera
JP2006261912A (en) * 2005-03-16 2006-09-28 Casio Comput Co Ltd Photographing apparatus
JP2007184683A (en) * 2006-01-04 2007-07-19 Eastman Kodak Co Image data processing apparatus and method
JP2007221675A (en) * 2006-02-20 2007-08-30 Seiko Epson Corp Image processor, image processing method and image processing program
JP2008066978A (en) * 2006-09-06 2008-03-21 Casio Comput Co Ltd Image pickup apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005129994A (en) * 2003-10-21 2005-05-19 Konica Minolta Photo Imaging Inc Digital camera
JP2006261912A (en) * 2005-03-16 2006-09-28 Casio Comput Co Ltd Photographing apparatus
JP2007184683A (en) * 2006-01-04 2007-07-19 Eastman Kodak Co Image data processing apparatus and method
JP2007221675A (en) * 2006-02-20 2007-08-30 Seiko Epson Corp Image processor, image processing method and image processing program
JP2008066978A (en) * 2006-09-06 2008-03-21 Casio Comput Co Ltd Image pickup apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013161318A (en) * 2012-02-07 2013-08-19 Nikon Corp Image processing device, electronic camera, and program
JP2013172166A (en) * 2012-02-17 2013-09-02 Nikon Corp Image processing apparatus, imaging apparatus, and program

Similar Documents

Publication Publication Date Title
JP4534816B2 (en) Imaging apparatus and program
US7812864B2 (en) Red eye image correction device, electronic camera and red eye image correction program product
US8754952B2 (en) Digital camera
JP2006295646A (en) Image processor and image processing program
JP2006293782A (en) Image processing device and image processing program
JP2009017223A (en) Imaging device, image processing device, and their image processing method and program
JP2011044064A (en) Image processing device and image processing program
JP2014017641A (en) Electronic camera and image processing apparatus
US20160353021A1 (en) Control apparatus, display control method and non-transitory computer readable medium
JP5083080B2 (en) Image matching device and camera
JP2010146378A (en) Color correction apparatus, camera, color correction method and program for color correction
JP2004040559A (en) Method and program for processing image and image processor
JP2011035593A (en) Electronic apparatus
JP2010015548A (en) Object tracking device and camera
JP4632417B2 (en) Imaging apparatus and control method thereof
JP2012049870A (en) Image processing device, imaging device and image processing program
JP2010154365A (en) Color correction device, camera, color correction method, and color correction program
JP2008010970A (en) Image display device, image display method, and image display program
JP2011044989A (en) Image processing apparatus, image processing program and image processing method
JP2006350621A (en) Image processor and image processing program
JP2007201935A (en) Control method of image processing apparatus, and image processing apparatus
JP2009205468A (en) Image output method, image output device and image output program
JP4770965B2 (en) Image matching device and camera
JP6432290B2 (en) Imaging apparatus, imaging control method, and program
JP2017135755A (en) Electronic camera 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: 20120703

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130702

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130902

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131126