JP5775620B2 - Image processing apparatus, imaging apparatus, control method, and program - Google Patents

Image processing apparatus, imaging apparatus, control method, and program Download PDF

Info

Publication number
JP5775620B2
JP5775620B2 JP2014085881A JP2014085881A JP5775620B2 JP 5775620 B2 JP5775620 B2 JP 5775620B2 JP 2014085881 A JP2014085881 A JP 2014085881A JP 2014085881 A JP2014085881 A JP 2014085881A JP 5775620 B2 JP5775620 B2 JP 5775620B2
Authority
JP
Japan
Prior art keywords
image
processing
image data
frame
rotation
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.)
Expired - Fee Related
Application number
JP2014085881A
Other languages
Japanese (ja)
Other versions
JP2014140252A (en
Inventor
隆平 今野
隆平 今野
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2014085881A priority Critical patent/JP5775620B2/en
Publication of JP2014140252A publication Critical patent/JP2014140252A/en
Application granted granted Critical
Publication of JP5775620B2 publication Critical patent/JP5775620B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)

Description

本発明は、画像処理装置、撮像装置、制御方法及びプログラムに関する。   The present invention relates to an image processing apparatus, an imaging apparatus, a control method, and a program.

画像処理装置(画像処理アプリケーションソフト)を用いて撮像装置で撮像した画像を再生(表示)する際に、撮像時におけるオートフォーカス(AF)用の測距枠(以下、「AF枠」とする)を表示する機能が知られている。例えば、画像のピント確認を容易にするために、被写体への合焦に使用したAF枠(以下、「合焦AF枠」とする)の位置情報を画像(画像データ)に記録しておき、画像の再生時に、合焦AF枠を表示する技術が提案されている(特許文献1参照)。かかる技術では、合焦AF枠内の画像を自動的に拡大して表示させることも可能である。   A range-finding frame for autofocus (AF) at the time of imaging (hereinafter referred to as “AF frame”) when reproducing (displaying) an image captured by the imaging apparatus using an image processing apparatus (image processing application software) The function of displaying is known. For example, in order to make it easy to check the focus of the image, the position information of the AF frame used for focusing on the subject (hereinafter referred to as “focus AF frame”) is recorded in the image (image data). A technique for displaying an in-focus AF frame during image reproduction has been proposed (see Patent Document 1). With this technique, it is possible to automatically enlarge and display an image within the focusing AF frame.

一方、撮像装置で撮像した画像には、撮像装置の姿勢の影響で水平方向に傾きが生じることがある。そこで、画像処理の1つとして、撮像した画像を回転させることによって傾きを補正する回転処理が提案されている。   On the other hand, an image captured by the imaging device may be inclined in the horizontal direction due to the influence of the orientation of the imaging device. Therefore, as one of the image processes, a rotation process that corrects the tilt by rotating the captured image has been proposed.

特開2000−125178号公報JP 2000-125178 A

しかしながら、画像の回転処理を行った場合、画像に記録されているAF枠の位置情報をそのまま用いて合焦AF枠を表示させると、回転処理を行った後の画像において、実際の合焦AF枠の位置からずれた位置に合焦AF枠が表示されてしまう。   However, when the rotation processing of the image is performed, if the focusing AF frame is displayed using the position information of the AF frame recorded in the image as it is, the actual focusing AF is performed in the image after the rotation processing. The in-focus AF frame is displayed at a position shifted from the frame position.

図5を参照して、従来技術における課題を具体的に説明する。図5(a)は、水平方向に傾きが生じた画像(即ち、回転処理を行う前の画像)IM1に合焦AF枠を表示した場合の表示例を示す図である。図5(a)において、9つの矩形形状の枠は、撮像時に選択可能なAF枠FL1を表し、かかる9つの矩形形状の枠のうち太線の矩形形状の枠は、AF機能による被写体OB(の顔)への合焦に使用した合焦AF枠FL2を表している。   With reference to FIG. 5, the problem in a prior art is demonstrated concretely. FIG. 5A is a diagram illustrating a display example when the in-focus AF frame is displayed on an image IM1 that is inclined in the horizontal direction (that is, an image before the rotation process is performed) IM1. In FIG. 5A, nine rectangular frames represent AF frames FL1 that can be selected at the time of imaging, and among the nine rectangular frames, a thick-lined rectangular frame is a subject OB (of the object OB (of the AF function)). The in-focus AF frame FL2 used for focusing on (face) is shown.

図5(b)は、図5(a)に示す画像IM1に対して被写体OBが水平になるように回転処理を行った後の画像IM2に合焦AF枠を表示した場合の表示例を示す図である。図5(b)において、画像IM3は、回転処理を行った後の画像IM2から、回転処理を行う前の画像IM1にはない画像領域を含まないように、画像IM2の画像領域に内接する領域を切り出した画像である。回転処理を行った後の画像IM2における被写体OBの位置は、回転処理を行う前の画像IM1における被写体OBの位置からずれている。また、AF枠FL1や合焦AF枠FL2は、画像IM2から画像IM3を切り出す際に切り出された位置情報を用いて画像IM3に表示される。   FIG. 5B shows a display example when the in-focus AF frame is displayed on the image IM2 after the rotation processing is performed on the image IM1 shown in FIG. 5A so that the subject OB is horizontal. FIG. In FIG. 5B, the image IM3 is an area inscribed in the image area of the image IM2 so as not to include an image area not included in the image IM1 before the rotation process from the image IM2 after the rotation process. It is the image which cut out. The position of the subject OB in the image IM2 after the rotation process is shifted from the position of the subject OB in the image IM1 before the rotation process. Also, the AF frame FL1 and the focusing AF frame FL2 are displayed on the image IM3 using the position information cut out when the image IM3 is cut out from the image IM2.

このように、画像IM1に記録されている位置情報をそのまま用いてAF枠FL1や合焦AF枠FL2を画像IM3に表示すると、画像IM3における被写体OBの顔の位置(実際の合焦AF枠の位置)からずれた位置に合焦AF枠FL2が表示されることになる。   As described above, when the AF frame FL1 and the focusing AF frame FL2 are displayed on the image IM3 using the position information recorded in the image IM1 as they are, the position of the face of the subject OB in the image IM3 (the actual focusing AF frame) is displayed. The in-focus AF frame FL2 is displayed at a position shifted from (position).

本発明は、このような従来技術の課題に鑑みてなされ、回転処理を行った後の画像において、回転処理を行う前の画像における注目部分の位置と同じ位置に注目部分を表示することができる技術を提供することを例示的目的とする。   The present invention has been made in view of the above-described problems of the prior art, and can display an attention portion at the same position as the position of the attention portion in the image before the rotation processing in the image after the rotation processing. It is an exemplary purpose to provide technology.

上記目的を達成するために、本発明の一側面としての画像処理装置は、画像中の表示枠の位置を第1の座標系で特定する情報が記録された画像データの画像処理を行う画像処理装置であって、前記画像データの回転処理を行う第1処理手段と、前記第1処理手段による回転処理による前記画像データの回転に伴って前記表示枠の位置を特定するとともに、当該画像データの回転に応じて前記表示枠を回転する第2処理手段と、を有することを特徴とする。 In order to achieve the above object, an image processing apparatus according to one aspect of the present invention performs image processing of image data in which information for specifying a position of a display frame in an image is recorded in a first coordinate system. A first processing unit that performs rotation processing of the image data; and a position of the display frame as the image data is rotated by the rotation processing by the first processing unit ; a second processing means for rotating the pre-Symbol display frame according to the rotation, and having a.

本発明の更なる目的又はその他の側面は、以下、添付図面を参照して説明される好ましい実施形態によって明らかにされるであろう。   Further objects and other aspects of the present invention will become apparent from the preferred embodiments described below with reference to the accompanying drawings.

本発明によれば、例えば、回転処理を行った後の画像において、回転処理を行う前の画像における注目部分の位置と同じ位置に注目部分を表示する技術を提供することができる。   According to the present invention, for example, it is possible to provide a technique for displaying an attention portion at the same position as the position of the attention portion in the image before the rotation processing in the image after the rotation processing.

本発明の一側面としての撮像装置を示す概略図である。It is the schematic which shows the imaging device as 1 side surface of this invention. 図1に示す撮像装置における画像データの回転処理を説明するためのフローチャートである。3 is a flowchart for explaining a rotation process of image data in the imaging apparatus shown in FIG. 1. 本実施形態において、図5(a)に示す画像に対して被写体が水平になるように回転処理を行った後の画像にAF枠を表示した場合の表示例を示す図である。In this embodiment, it is a figure which shows the example of a display when an AF frame is displayed on the image after performing a rotation process so that a to-be-photographed object may become horizontal with respect to the image shown to Fig.5 (a). 図1に示す撮像装置における表示制御処理を説明するためのフローチャートである。3 is a flowchart for explaining display control processing in the imaging apparatus shown in FIG. 1. 従来技術における課題を説明するための図である。It is a figure for demonstrating the subject in a prior art.

以下、添付図面を参照して、本発明の好適な実施の形態について説明する。なお、各図において、同一の部材については同一の参照番号を付し、重複する説明は省略する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the accompanying drawings. In addition, in each figure, the same reference number is attached | subjected about the same member and the overlapping description is abbreviate | omitted.

図1は、本発明の一側面としての撮像装置100を示す概略図である。撮像装置100は、被写体を撮像する撮像装置であって、本実施形態では、デジタルカメラとして具現化される。また、撮像装置100は、撮像した画像に対応する画像データを、撮像装置100に接続された外部記憶装置200に記録すると共に、外部記憶装置200に記録された画像データに対応する画像を表示(再生)する。   FIG. 1 is a schematic diagram illustrating an imaging apparatus 100 according to one aspect of the present invention. The imaging apparatus 100 is an imaging apparatus that captures an image of a subject, and is embodied as a digital camera in the present embodiment. The imaging apparatus 100 records image data corresponding to the captured image in the external storage device 200 connected to the imaging apparatus 100 and displays an image corresponding to the image data recorded in the external storage device 200 ( Reproduce.

撮像レンズ102は、被写体からの光Lを撮像素子108の撮像面に結像する(即ち、光学像を形成する)。撮像素子108は、CCDやCMOS素子(光電変換素子)などで構成され、撮像レンズ102、絞り104及びシャッタ106を介して形成された光学像を電気信号に変換する。A/D変換部110は、撮像素子108から出力されるアナログ信号(アナログデータ)をデジタル信号(デジタルデータ)に変換する。タイミング発生部112は、メモリ制御部118及びシステム制御部142の制御下において、撮像素子108、A/D変換部110及びD/A変換部114にクロック信号や制御信号を供給して、それらの動作を制御する。   The imaging lens 102 forms an image of the light L from the subject on the imaging surface of the imaging element 108 (that is, forms an optical image). The image sensor 108 is configured by a CCD, a CMOS element (photoelectric conversion element), or the like, and converts an optical image formed through the image pickup lens 102, the diaphragm 104, and the shutter 106 into an electric signal. The A / D converter 110 converts an analog signal (analog data) output from the image sensor 108 into a digital signal (digital data). The timing generation unit 112 supplies a clock signal and a control signal to the image sensor 108, the A / D conversion unit 110, and the D / A conversion unit 114 under the control of the memory control unit 118 and the system control unit 142. Control the behavior.

画像処理部116は、A/D変換部110から入力されるデータ又はメモリ制御部118から入力されるデータに対して種々の処理を行う。例えば、画像処理部116は、ホワイトバランス処理、色補正処理、回転処理、撮像素子108に付着したゴミを検出するゴミ検出処理、かかるゴミを目立たなくするゴミ消し処理などを行う。なお、回転処理は、回転処理の前の画像データの座標系(第1の座標系)と異なる原点を有する座標系(第2の座標系)を用いて画像データを回転させることによって傾きを補正する処理である。   The image processing unit 116 performs various processes on the data input from the A / D conversion unit 110 or the data input from the memory control unit 118. For example, the image processing unit 116 performs white balance processing, color correction processing, rotation processing, dust detection processing for detecting dust attached to the image sensor 108, dust removal processing for making the dust inconspicuous, and the like. In the rotation process, the inclination is corrected by rotating the image data using a coordinate system (second coordinate system) having an origin different from the coordinate system (first coordinate system) of the image data before the rotation process. It is processing to do.

メモリ制御部118は、A/D変換部110、タイミング発生部112、D/A変換部114、画像処理部116、画像表示用メモリ120、メモリ122及び圧縮/伸張部124を制御する。A/D変換部110でA/D変換されたデジタル信号は、画像処理部116及びメモリ制御部118を介して、或いは、メモリ制御部118を介して、画像表示用メモリ120又はメモリ122に記録される(書き込まれる)。   The memory control unit 118 controls the A / D conversion unit 110, the timing generation unit 112, the D / A conversion unit 114, the image processing unit 116, the image display memory 120, the memory 122, and the compression / decompression unit 124. The digital signal A / D converted by the A / D converter 110 is recorded in the image display memory 120 or the memory 122 via the image processor 116 and the memory controller 118 or via the memory controller 118. Is written.

画像表示用メモリ120は、表示部126に表示される画像に対応する画像データを記憶する。メモリ122は、画像データ(例えば、撮像装置100で撮像した静止画像データや動画像データ)を記憶するメモリであり、所定数の画像データを記憶することが可能な記憶容量を備える。また、メモリ122は、画像処理部116やシステム制御部142の作業領域として使用することもできる。   The image display memory 120 stores image data corresponding to the image displayed on the display unit 126. The memory 122 is a memory for storing image data (for example, still image data or moving image data captured by the imaging apparatus 100), and has a storage capacity capable of storing a predetermined number of image data. The memory 122 can also be used as a work area for the image processing unit 116 and the system control unit 142.

圧縮/伸張部124は、メモリ122から画像データを読み出して圧縮処理を行い、或いは、メモリ122から圧縮された画像データを読み出して伸張処理を行い、かかる処理が行われた後の画像データをメモリ122に記録する。   The compression / decompression unit 124 reads out image data from the memory 122 and performs compression processing, or reads out compressed image data from the memory 122 and performs decompression processing, and stores the image data after such processing is performed in the memory 122.

表示部126は、TFT(Thin Film Transistor)やLCD(Liquid Crystal Display)などを含み、D/A変換部114を介して、画像表示用メモリ120に記憶された画像データに対応する画像を表示する。また、表示部126は、撮像装置100を制御するための各種メニュー画面(例えば、回転処理を設定するためのメニュー画面など)も表示する。これらのメニュー画面の表示やメニュー画面における設定及び選択は、ユーザが操作部152を操作することで行われる。   The display unit 126 includes a TFT (Thin Film Transistor), an LCD (Liquid Crystal Display), and the like, and displays an image corresponding to image data stored in the image display memory 120 via the D / A conversion unit 114. . The display unit 126 also displays various menu screens for controlling the imaging apparatus 100 (for example, a menu screen for setting a rotation process). The display of the menu screen and the setting and selection on the menu screen are performed by the user operating the operation unit 152.

測光センサ128は、撮像素子108の撮像面と共役に関係付けられた各々の画素の輝度を検出して、システム制御部142に入力する。システム制御部142では、測光センサ128の検出結果に応じた適切な露光量が算出される。露光制御部130は、システム制御部142で算出された露光量に基づいて、絞り104及びシャッタ106を制御する。   The photometric sensor 128 detects the luminance of each pixel associated with the imaging surface of the imaging element 108 and inputs it to the system control unit 142. The system control unit 142 calculates an appropriate exposure amount according to the detection result of the photometric sensor 128. The exposure control unit 130 controls the aperture 104 and the shutter 106 based on the exposure amount calculated by the system control unit 142.

測距センサ132は、ユーザが任意に選択した測距点(AF枠)の距離情報を検出する。但し、測距点は、ユーザが任意に選択するのではなく、測距センサ132の検出結果に基づいて、最短距離の被写体に自動的に合焦するように設定することも可能である。測距制御部134は、測距センサ132の検出結果に基づいて、撮像レンズ102のフォーカシングを制御する。   The distance measuring sensor 132 detects distance information of a distance measuring point (AF frame) arbitrarily selected by the user. However, the distance measuring point is not arbitrarily selected by the user, but can be set to automatically focus on the subject at the shortest distance based on the detection result of the distance measuring sensor 132. The distance measurement control unit 134 controls focusing of the imaging lens 102 based on the detection result of the distance measurement sensor 132.

ズーム制御部136は、ユーザが手動で操作した撮像レンズ102のズーミング量(焦点距離)を検出する。また、ズーム制御部136は、撮像レンズ102のズーミングを自動で行う場合には、撮像レンズ102のズーミング量を制御する。ストロボ部138は、AF補助光の投光機能やストロボの調光機能を有する。角速度センサ140は、撮像装置100の水平方向及び垂直方向の振れを検出するセンサであって、手振れ補正処理や縦位置撮像/横位置撮像の判定などに用いられる。   The zoom control unit 136 detects a zooming amount (focal length) of the imaging lens 102 manually operated by the user. The zoom control unit 136 controls the zooming amount of the imaging lens 102 when the zooming of the imaging lens 102 is automatically performed. The strobe unit 138 has an AF auxiliary light projecting function and a strobe dimming function. The angular velocity sensor 140 is a sensor that detects shakes in the horizontal direction and the vertical direction of the imaging apparatus 100, and is used for camera shake correction processing, determination of vertical position imaging / horizontal position imaging, and the like.

システム制御部142は、撮像装置100の全体の動作を制御する。システム制御部142は、不揮発性メモリ144に格納されたプログラムを実行して、本実施形態の各処理を実行する。不揮発性メモリ144は、データを電気的に消去及び記録可能なメモリであって、例えば、EEPROMなどを含む。不揮発性メモリ144は、システム制御部142の動作用の定数やプログラム(後述する種々のフローチャートを実行するためのプログラム)などを格納する。システムメモリ146は、例えば、RAMで構成され、システム制御部142の動作用の定数や変数、不揮発性メモリ144から読み出したプログラムなどを展開する。   The system control unit 142 controls the overall operation of the imaging apparatus 100. The system control unit 142 executes a program stored in the nonvolatile memory 144 and executes each process of the present embodiment. The nonvolatile memory 144 is a memory that can electrically erase and record data, and includes, for example, an EEPROM. The nonvolatile memory 144 stores constants and programs (programs for executing various flowcharts to be described later) for operating the system control unit 142 and the like. The system memory 146 is composed of, for example, a RAM, and expands constants and variables for operation of the system control unit 142, a program read from the nonvolatile memory 144, and the like.

出力部148は、システム制御部142におけるプログラムの実行に応じて、撮像装置100の動作状態やメッセージ等を文字や画像で表示する表示素子や音声で出力するスピーカを含む。出力部148は、シングルショット/連写撮像表示、タイマ表示、圧縮率表示、記録画素数表示、記録枚数表示、残記録可能枚数表示などを行う。また、出力部148は、シャッタスピード表示、絞り値表示、露出補正表示、電池残量表示、エラー表示、外部記憶装置200の着脱状態表示なども行う。   The output unit 148 includes a display element that displays an operation state, a message, and the like of the image capturing apparatus 100 as characters and an image and a speaker that outputs the sound according to execution of a program in the system control unit 142. The output unit 148 performs single shot / continuous shooting imaging display, timer display, compression rate display, recording pixel number display, recording number display, remaining recordable number display, and the like. The output unit 148 also performs shutter speed display, aperture value display, exposure correction display, battery remaining amount display, error display, attachment / detachment state display of the external storage device 200, and the like.

レリーズボタン150は、被写体の撮像を指示するためのボタンであって、第1のスイッチと、第2のスイッチとを含む。第1のスイッチは、レリーズボタン150の操作途中(半押し)でON状態となり、測光処理や測距処理を開始するための信号をシステム制御部142に供給する。第2のスイッチは、レリーズボタン150の操作完了(全押し)でON状態となり、露光処理を開始するための信号をシステム制御部142に供給する。   The release button 150 is a button for instructing imaging of a subject, and includes a first switch and a second switch. The first switch is turned on while the release button 150 is being operated (half-pressed), and supplies a signal for starting photometric processing and distance measurement processing to the system control unit 142. The second switch is turned on when the release button 150 is completely operated (fully pressed), and supplies a signal for starting the exposure process to the system control unit 142.

操作部152は、設定ボタン、選択ボタン、表示部126に設けられたタッチパネルなどを含み、ユーザの操作を受け付ける(システム制御部142に各種の指示を入力する)機能を有する。操作部152は、例えば、シングルショット/連写撮像/セルフタイマの切り替え、シャッタスピード、絞り値、露出補正の設定に使用される。   The operation unit 152 includes a setting button, a selection button, a touch panel provided on the display unit 126, and the like, and has a function of receiving a user operation (inputting various instructions to the system control unit 142). The operation unit 152 is used, for example, for setting of single shot / continuous shooting / self-timer switching, shutter speed, aperture value, and exposure correction.

電源スイッチ154は、撮像装置100の電源状態を電源ONの状態又は電源OFFの状態に切り替えるためのスイッチである。電源制御部156は、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路などを含み、電源部158における電池の装着の有無、電池の種類、電池の残容量を検出する。また、電源制御部156は、電源部158における検出結果及びシステム制御部142の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、外部記憶装置200を含む撮像装置100の各部に供給する。電源部158は、アルカリ電池やリチウム電池などの一次電池、NiCd電池、NiMH電池やLi電池などの二次電池、ACアダプターなどを着脱可能に保持して、電圧(直流電圧)を出力する。   The power switch 154 is a switch for switching the power state of the imaging apparatus 100 to a power ON state or a power OFF state. The power supply control unit 156 includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like, and detects whether or not the battery is installed in the power supply unit 158, the type of battery, and the remaining capacity of the battery. Further, the power supply control unit 156 controls the DC-DC converter based on the detection result in the power supply unit 158 and the instruction of the system control unit 142 and supplies the necessary voltage for the necessary period of the imaging device 100 including the external storage device 200. Supply to each part. The power supply unit 158 detachably holds a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery or a Li battery, or an AC adapter, and outputs a voltage (DC voltage).

外部記憶装置200は、撮像装置100に着脱可能な記憶媒体であって、CF(コンパクトフラッシュ(登録商標))カードやSDカードなどを含む。メモリ122に一時的に記録された画像データは、最終的に、外部記憶装置200に記録される。   The external storage device 200 is a storage medium that is detachable from the imaging device 100, and includes a CF (Compact Flash (registered trademark)) card, an SD card, and the like. The image data temporarily recorded in the memory 122 is finally recorded in the external storage device 200.

以下、撮像装置100の各種処理(動作)について説明する。まず、図2を参照して、外部記憶装置200に記録された画像データに対応する画像を回転させる、即ち、撮像装置100における画像データの回転処理について説明する。外部記憶装置200に記録された画像データは、撮像装置100によって生成された画像データであっても他の撮像装置によって生成された画像データであってもよい。但し、かかる画像データ(の画像ヘッダ部)には、画像中の注目部分の位置を特定する(第1の座標系で特定する)情報が記録されているものとする。   Hereinafter, various processes (operations) of the imaging apparatus 100 will be described. First, referring to FIG. 2, an image data rotation process in the imaging apparatus 100 will be described, in which an image corresponding to image data recorded in the external storage device 200 is rotated. The image data recorded in the external storage device 200 may be image data generated by the imaging device 100 or image data generated by another imaging device. However, it is assumed that information (identifying in the first coordinate system) specifying the position of the target portion in the image is recorded in the image data (image header portion thereof).

S202において、システム制御部142は、外部記憶装置200に記録されている画像データを画像表示用メモリ120に読み込む。この際、システム制御部142は、画像表示用メモリ120に読み込んだ画像データに対応する画像を表示部126に表示する。表示部126に表示される画像は、ユーザの操作(例えば、ユーザが操作部152を操作して画像切り替えの指示を入力すること)によって切り替えることが可能である。即ち、画像切り替えの指示が入力されると、システム制御部142は、外部記憶装置200から別の画像データを画像表示用メモリ120に読み込み、かかる画像データに対応する画像を表示部126に表示する。   In S <b> 202, the system control unit 142 reads the image data recorded in the external storage device 200 into the image display memory 120. At this time, the system control unit 142 displays an image corresponding to the image data read into the image display memory 120 on the display unit 126. The image displayed on the display unit 126 can be switched by a user operation (for example, the user operates the operation unit 152 to input an image switching instruction). That is, when an image switching instruction is input, the system control unit 142 reads another image data from the external storage device 200 into the image display memory 120 and displays an image corresponding to the image data on the display unit 126. .

S204において、システム制御部142は、S202で読み込んだ画像データから、ユーザの操作(例えば、ユーザが操作部152を操作して画像選択の指示を入力すること)に応じて、回転処理を行う処理対象の画像データを選択する。   In S <b> 204, the system control unit 142 performs a rotation process from the image data read in S <b> 202 according to a user operation (for example, the user inputs an image selection instruction by operating the operation unit 152). Select the target image data.

S206において、システム制御部142は、画像処理による画像データの回転量(画像の傾きを補正するために必要な画像データの回転量)を決定する。例えば、システム制御部142は、ユーザの操作に応じて、画像データの回転量を決定する。この際、システム制御部142は、ユーザが入力した回転量に応じて画像データを回転するように画像処理部116に指示し、画像処理部116によって回転された画像データに対応する画像を表示部126に表示する。従って、ユーザは、入力する画像データの回転量を増減させながら表示部126に表示される画像を確認し、画像データの回転量を最終的に決定することが可能である。   In step S <b> 206, the system control unit 142 determines a rotation amount of image data (image data rotation amount necessary for correcting an image inclination) by image processing. For example, the system control unit 142 determines the rotation amount of the image data in accordance with a user operation. At this time, the system control unit 142 instructs the image processing unit 116 to rotate the image data according to the rotation amount input by the user, and displays an image corresponding to the image data rotated by the image processing unit 116. 126. Therefore, the user can confirm the image displayed on the display unit 126 while increasing or decreasing the rotation amount of the input image data, and finally determine the rotation amount of the image data.

S208において、システム制御部142は、S204で選択した画像データに対してS206で決定した回転量で回転処理を行うように画像処理部116に指示し、画像処理部116において画像データの回転処理が行われる。なお、画像データの回転処理は、当業界で周知の回転処理アルゴリズムで実現できるため、ここでの詳細な説明は省略する。   In step S208, the system control unit 142 instructs the image processing unit 116 to perform rotation processing on the image data selected in step S204 with the rotation amount determined in step S206, and the image processing unit 116 performs image data rotation processing. Done. Note that the rotation processing of the image data can be realized by a rotation processing algorithm known in the art, and thus detailed description thereof is omitted here.

S210において、システム制御部142は、S204で選択された画像データから画像中の注目部分の位置を特定する情報を取得する。ここで、注目部分は、例えば、オートフォーカス用の測距枠(AF枠)に相当する部分、顔検出処理によって検出された被写体の顔(目、鼻、口等も含む)に相当する部分、ゴミ検出処理によって検出された撮像素子108に付着したゴミに相当する部分などである。なお、AF枠は、画像データを生成する際に選択可能であったAF枠及び画像データを生成する際に被写体への合焦に使用されたAF枠(合焦AF枠)の少なくとも一方を含む。   In S210, the system control unit 142 acquires information for specifying the position of the target portion in the image from the image data selected in S204. Here, the attention part is, for example, a part corresponding to a range frame (AF frame) for autofocus, a part corresponding to the face of the subject (including eyes, nose, mouth, etc.) detected by the face detection process, A portion corresponding to dust attached to the image sensor 108 detected by dust detection processing. The AF frame includes at least one of an AF frame that can be selected when generating the image data and an AF frame (focused AF frame) used for focusing on the subject when generating the image data. .

S212において、システム制御部142は、回転処理(S208)の前後において、注目部分の位置を特定する情報によって特定される注目部分の画像が一致するように、S206で決定した回転量に応じて注目部分の位置を特定する情報を変更する。   In S212, the system control unit 142 pays attention according to the rotation amount determined in S206 so that the images of the target portion specified by the information specifying the position of the target portion match before and after the rotation process (S208). Change the information that identifies the location of the part.

S212について具体的に説明する。ここでは、注目部分が画像データを生成する際に選択可能であったAF枠や画像データを生成する際に被写体への合焦に使用された合焦AF枠である場合について考える。AF枠は、図5(a)及び図5(b)に示したように、一般に、矩形形状を有する。従って、本実施形態では、注目部分、即ち、AF枠の位置を特定する情報は、AF枠の位置及び大きさを表すために、AF枠の矩形形状の4つの頂点のそれぞれの位置を表す4つの座標を含む。なお、AF枠の位置を特定する情報は、AF枠内(測距枠内)に含まれる1点(例えば、矩形形状の4つの頂点のうちの1つの頂点や矩形形状の中心点など)の位置を表す1つの座標であってもよい。但し、この場合には、かかる1つの座標を基準として矩形形状を表すための情報が画像データに記録されている必要がある。また、図5(a)及び図5(b)に示すように、画像データを生成する際に撮像装置で選択可能であるAF枠として9つのAF枠がある場合には、かかる9つのAF枠のそれぞれについて上述した4つの頂点のそれぞれの位置を表す4つの座標を含むことになる。   S212 will be specifically described. Here, consider a case where the target portion is an AF frame that can be selected when generating image data or a focusing AF frame that is used for focusing on a subject when generating image data. As shown in FIG. 5A and FIG. 5B, the AF frame generally has a rectangular shape. Therefore, in the present embodiment, the information for specifying the position of interest, that is, the position of the AF frame, represents the position of each of the four vertices of the rectangular shape of the AF frame in order to represent the position and size of the AF frame. Contains one coordinate. The information for specifying the position of the AF frame is one point included in the AF frame (in the distance measurement frame) (for example, one of the four rectangular vertices or the center point of the rectangular shape). One coordinate representing the position may be used. However, in this case, information for representing a rectangular shape on the basis of such one coordinate needs to be recorded in the image data. Also, as shown in FIGS. 5A and 5B, when there are nine AF frames that can be selected by the imaging apparatus when generating image data, the nine AF frames are selected. The four coordinates representing the positions of the four vertices described above for each of the above are included.

システム制御部142は、上述した4つの頂点のそれぞれの位置を表す4つの座標を取得し(S210)、画像処理部116による画像データの回転処理と同じ処理によって、注目部分の位置を特定する情報である4つの座標を変更する。これにより、回転処理を行った後の画像にAF枠を表示したとしても、実際のAF枠の位置(回転処理を行う前の画像におけるAF枠の位置)にAF枠を表示することが可能となる。   The system control unit 142 acquires four coordinates representing the positions of the four vertices described above (S210), and specifies the position of the target portion by the same processing as the image data rotation processing by the image processing unit 116. Change the four coordinates. As a result, even if the AF frame is displayed on the image after the rotation process, the AF frame can be displayed at the actual AF frame position (the position of the AF frame in the image before the rotation process). Become.

S214において、システム制御部142は、S212で変更した注目部分の位置を特定する情報を画像データ(の画像ヘッダ部)に記録する。   In S214, the system control unit 142 records information for specifying the position of the target portion changed in S212 in the image data (image header portion thereof).

なお、本実施形態では、注目部分であるAF枠の位置を特定する情報がAF枠の矩形形状の4つの頂点のそれぞれの位置を表す4つの座標であり、かかる4つの座標のそれぞれがS206で決定した回転量に応じて変更されて画像データに記録される。従って、回転処理が行われた後の画像にS214で記録された4つの座標を用いてAF枠を表示すると、図3(a)のようになる。図3(a)は、図5(a)に示す画像IM1に対して被写体OBが水平になるように回転処理を行った後の画像IM5にAF枠FL1及び合焦AF枠FL2を表示した場合の表示例を示す図である。図3(a)において、画像IM6は、回転処理を行った後の画像IM5から、回転処理を行う前の画像IM1にはない画像領域を含まないように、画像IM5の画像領域に内接する領域を切り出した画像である。なお、画像を切り出す際には、画像の切り出しに応じて、画像データに記録されている注目部分の位置を特定する情報もシフトさせる。図3(a)に示すように、AF枠FL1や合焦AF枠FL2は、S206で決定された回転量に応じて変更された4つの座標を用いて画像IM5に表示される。従って、AF枠FL1や合焦AF枠FL2は、実際の位置(回転処理を行う前の画像におけるAF枠の位置)に、回転量に応じて回転された状態で表示されている。   In the present embodiment, the information specifying the position of the AF frame that is the target portion is the four coordinates representing the positions of the four vertices of the rectangular shape of the AF frame, and each of the four coordinates is S206. It is changed according to the determined rotation amount and recorded in the image data. Accordingly, when the AF frame is displayed using the four coordinates recorded in S214 on the image after the rotation processing, the result is as shown in FIG. FIG. 3A shows a case where the AF frame FL1 and the in-focus AF frame FL2 are displayed on the image IM5 after the rotation processing is performed so that the subject OB is horizontal with respect to the image IM1 shown in FIG. It is a figure which shows the example of a display. In FIG. 3A, an image IM6 is an area inscribed in the image area of the image IM5 so as not to include an image area not included in the image IM1 before the rotation process from the image IM5 after the rotation process. It is the image which cut out. When the image is cut out, information for specifying the position of the target portion recorded in the image data is also shifted in accordance with the cutting out of the image. As shown in FIG. 3A, the AF frame FL1 and the focusing AF frame FL2 are displayed on the image IM5 using four coordinates changed according to the rotation amount determined in S206. Accordingly, the AF frame FL1 and the in-focus AF frame FL2 are displayed in a state of being rotated according to the rotation amount at the actual position (the position of the AF frame in the image before the rotation process).

一方、AF枠の位置を特定する情報がAF枠内に含まれる1点の位置を表す1つの座標である場合には、かかる1つの座標のみがS206で決定した回転量に応じて変更されて画像データに記録される。従って、回転処理が行われた後の画像にS214で記録された1つの座標と、画像データに記録されている1つの座標を基準として矩形形状を表すための情報とを用いてAF枠を表示すると、図3(b)のようになる。図3(b)は、図5(a)に示す画像IM1に対して被写体OBが水平になるように回転処理を行った後の画像IM7にAF枠FL1及び合焦AF枠FL2を表示した場合の表示例を示す図である。図3(b)において、画像IM8は、回転処理を行った後の画像IM7から、回転処理を行う前の画像IM1にはない画像領域を含まないように、画像IM7の画像領域に内接する領域を切り出した画像である。図3(b)に示すように、AF枠FL1や合焦AF枠FL2は、S206で決定された回転量に応じて変更された1つの座標と、1つの座標を基準として矩形形状を表すための情報とを用いて画像IM7に表示される。従って、AF枠FL1や合焦AF枠FL2は、実際の位置(回転処理を行う前の画像におけるAF枠の位置)に表示されている。但し、1つの座標を基準として矩形形状を表すための情報は回転処理(回転量)に応じて変更していないため、AF枠FL1や合焦AF枠FL2は回転されていない状態で画像IM7に表示され、違和感のある表示となる。そこで、AF枠も回転させた状態で回転処理を行った後の画像に表示させるために、S216において、システム制御部142は、S206で決定した回転量を画像データ(の画像ヘッダ部)に記録する。これにより、S206で決定した回転量に応じてAF枠を回転させて表示することが可能となる。なお、AF枠の位置を特定する情報がAF枠の矩形形状の4つの頂点のそれぞれの位置を表す4つの座標である場合、上述したように、S214で記録された4つの座標を用いてAF枠を回転させた状態で表示することが可能である。従って、S206で決定した回転量を画像データに記録する、即ち、S216を行う必要はない。   On the other hand, when the information specifying the position of the AF frame is one coordinate representing the position of one point included in the AF frame, only that one coordinate is changed according to the rotation amount determined in S206. Recorded in image data. Therefore, the AF frame is displayed using one coordinate recorded in S214 on the image after the rotation processing and information for representing a rectangular shape with reference to one coordinate recorded in the image data. Then, it becomes like FIG.3 (b). FIG. 3B shows a case where the AF frame FL1 and the in-focus AF frame FL2 are displayed on the image IM7 after the rotation processing is performed so that the subject OB is horizontal with respect to the image IM1 shown in FIG. It is a figure which shows the example of a display. In FIG. 3B, the image IM8 is an area inscribed in the image area of the image IM7 so as not to include an image area not included in the image IM1 before the rotation process from the image IM7 after the rotation process. It is the image which cut out. As shown in FIG. 3B, the AF frame FL1 and the in-focus AF frame FL2 represent a rectangular shape based on one coordinate changed according to the rotation amount determined in S206 and one coordinate. Are displayed on the image IM7. Therefore, the AF frame FL1 and the focusing AF frame FL2 are displayed at the actual positions (the positions of the AF frames in the image before the rotation process is performed). However, since the information for representing the rectangular shape on the basis of one coordinate is not changed according to the rotation process (rotation amount), the AF frame FL1 and the focusing AF frame FL2 are not rotated in the image IM7. Displayed, and the display becomes uncomfortable. Therefore, in order to display the image after the rotation processing with the AF frame also rotated, in S216, the system control unit 142 records the rotation amount determined in S206 in the image data (image header portion thereof). To do. As a result, the AF frame can be rotated and displayed according to the rotation amount determined in S206. When the information for specifying the position of the AF frame is four coordinates representing the positions of the four vertices of the rectangular shape of the AF frame, as described above, the four coordinates recorded in S214 are used for AF. It is possible to display with the frame rotated. Therefore, it is not necessary to record the rotation amount determined in S206 in the image data, that is, perform S216.

S218において、システム制御部142は、S212で変更した注目部分の位置を特定する情報(及びS206で決定した回転量)が記録された画像データを外部記憶装置200に記録する。   In S218, the system control unit 142 records the image data in which the information for specifying the position of the target portion changed in S212 (and the rotation amount determined in S206) is recorded in the external storage device 200.

なお、本実施形態では、外部記憶装置200に記録されている画像データに対して回転処理を行う場合について説明したが、これに限定されるものではない。例えば、外部記憶装置200に画像データを記録する前に回転処理を行う構成であってもよい。この場合、角速度センサ140の検出結果を用いて画像データの回転量を決定し、上述したように、画像データの回転量に応じて注目部分の位置を特定する情報を変更して画像データに記録する。   In the present embodiment, the case where the rotation process is performed on the image data recorded in the external storage device 200 has been described. However, the present invention is not limited to this. For example, the rotation processing may be performed before image data is recorded in the external storage device 200. In this case, the rotation amount of the image data is determined using the detection result of the angular velocity sensor 140, and the information for specifying the position of the target portion is changed and recorded in the image data according to the rotation amount of the image data as described above. To do.

次に、図4を参照して、外部記憶装置200に記憶された画像データを読み込んで、かかる画像データに対応する画像を表示部126に表示する、即ち、撮像装置100における表示制御処理について説明する。   Next, referring to FIG. 4, image data stored in the external storage device 200 is read and an image corresponding to the image data is displayed on the display unit 126, that is, display control processing in the imaging device 100 will be described. To do.

S402において、システム制御部142は、外部記憶装置200に記録されている画像データを画像表示用メモリ120に読み込む。   In S <b> 402, the system control unit 142 reads the image data recorded in the external storage device 200 into the image display memory 120.

S404において、システム制御部142は、画像中の注目部分(例えば、AF枠)を表示する機能が設定されているか否かを判定する。画像中の注目部分を表示する機能の設定は、ユーザが操作部152を操作することで行われる。画像中の注目部分を表示する機能が設定されると、例えば、注目部分表示機能フラグが有効となり、システム制御部142は、注目部分表示機能フラグを参照することで、画像中の注目部分を表示する機能が設定されているか否かを判定することができる。画像中の注目部分を表示する機能が設定されている場合には、S406に移行し、画像中の注目部分を表示する機能が設定されていない場合には、S410に移行する。   In step S404, the system control unit 142 determines whether or not a function for displaying a target portion (for example, an AF frame) in the image is set. The setting of the function for displaying the target portion in the image is performed by the user operating the operation unit 152. When the function for displaying the attention part in the image is set, for example, the attention part display function flag is enabled, and the system control unit 142 displays the attention part in the image by referring to the attention part display function flag. It is possible to determine whether or not a function to be set is set. If the function for displaying the attention part in the image is set, the process proceeds to S406. If the function for displaying the attention part in the image is not set, the process proceeds to S410.

S406において、システム制御部142は、S402で読み込んだ画像データから、注目部分の位置を特定する情報を取得する。この際、画像データの回転量やその他の情報(例えば、1つの座標を基準として矩形形状を表すための情報)が画像データに記録されている場合には、これらも取得する。   In step S406, the system control unit 142 acquires information for specifying the position of the target portion from the image data read in step S402. At this time, when the rotation amount of the image data and other information (for example, information for representing a rectangular shape with reference to one coordinate) are recorded in the image data, these are also acquired.

S408において、システム制御部142は、S406で取得した注目部分の位置を特定する情報に基づいて、注目部分表示用データ(例えば、注目部分である矩形形状のAF枠を示すデータ)を生成して画像データ(の画像イメージ部)に記録する。この際、S406で画像データの回転量やその他の情報も取得している場合には、注目部分の位置を特定する情報、回転量及びその他の情報に基づいて、注目部分表示用データを生成する。   In S408, the system control unit 142 generates attention part display data (for example, data indicating a rectangular AF frame that is the attention part) based on the information specifying the position of the attention part acquired in S406. Recorded in image data (image image portion thereof). At this time, if the rotation amount of the image data and other information are also acquired in S406, the attention portion display data is generated based on the information for specifying the position of the attention portion, the rotation amount, and other information. .

S410において、システム制御部142は、表示部126に画像を表示する。この際、画像中の注目部分を表示する機能が設定されていない場合には、S402で読み出した画像データに対応する画像をそのまま表示する(即ち、注目部分は表示しない)。一方、画像中の注目部分を表示する機能が設定されている場合には、S402で読み出した画像データに対応する画像を表示すると共に、かかる画像にS408で記録された注目部分表示用データに対応する注目部分を表示する。この場合、画像データに対して回転処理が行われていたとしても、上述したように、画像データに記録されている注目部分の位置を特定する情報は画像データの回転量に応じて変更されている。従って、図3(a)に示したように、回転処理が行われた後の画像に対して、注目部分を、実際の位置に、画像データの回転量に応じて回転させた状態で表示させることができる。   In step S <b> 410, the system control unit 142 displays an image on the display unit 126. At this time, if the function for displaying the attention portion in the image is not set, the image corresponding to the image data read in S402 is displayed as it is (that is, the attention portion is not displayed). On the other hand, when the function for displaying the attention portion in the image is set, the image corresponding to the image data read in S402 is displayed, and the attention portion display data recorded in S408 on the image is supported. The attention part to be displayed is displayed. In this case, even if rotation processing is performed on the image data, as described above, the information specifying the position of the target portion recorded in the image data is changed according to the rotation amount of the image data. Yes. Therefore, as shown in FIG. 3A, the target portion is displayed at the actual position in a state rotated according to the rotation amount of the image data with respect to the image after the rotation processing. be able to.

S412において、システム制御部142は、S410で表示された画像において、注目部分の画像の拡大が指示されたか否かを判定する。なお、注目部分の画像の拡大の指示は、ユーザが操作部152を操作することで行われる。注目部分の画像の拡大が指示されていない場合には、表示制御処理を終了する。一方、注目部分の画像の拡大が指示されている場合には、S414において、システム制御部142は、注目部分の画像を拡大して表示する。注目部分の画像を拡大する拡大方法には、当業界で周知のいかなる拡大方法も適用できるため、ここでの詳細な説明は省略する。   In step S <b> 412, the system control unit 142 determines whether enlargement of the image of the target portion has been instructed in the image displayed in step S <b> 410. Note that an instruction to enlarge the image of the attention portion is made by the user operating the operation unit 152. If the enlargement of the image of the attention portion has not been instructed, the display control process ends. On the other hand, if an instruction to enlarge the image of the attention portion is instructed, the system control unit 142 enlarges and displays the image of the attention portion in S414. Since any enlargement method known in the art can be applied to the enlargement method for enlarging the image of the attention portion, detailed description thereof is omitted here.

なお、注目部分が撮像素子108に付着したゴミに相当する部分である場合には、S412においてゴミ消し処理が指示されたか否かを判定し、S414においてゴミ消し処理を行うようにすることも可能である。   If the target portion is a portion corresponding to dust attached to the image sensor 108, it is possible to determine whether or not dust removal processing has been instructed in S412 and perform dust removal processing in S414. It is.

このように、本実施形態の撮像装置100によれば、画像データの回転処理を行う場合に、画像データに記録されている注目部分の位置を特定する情報も画像データの回転量に応じて変更する。これにより、画像処理を行った後の画像において、回転処理を行う前の画像における注目部分の位置と同じ位置に注目部分を表示することができる。   As described above, according to the imaging apparatus 100 of the present embodiment, when image data rotation processing is performed, the information for specifying the position of the target portion recorded in the image data is also changed according to the rotation amount of the image data. To do. Thereby, in the image after performing the image processing, the attention portion can be displayed at the same position as the position of the attention portion in the image before the rotation processing.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記録媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) for realizing the functions of the above-described embodiments is supplied to a system or apparatus via a network or various recording media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されないことはいうまでもなく、その要旨の範囲内で種々の変形及び変更が可能である。例えば、本実施形態では、撮像装置における画像データの回転処理について説明したが、これに限定されるものではない。例えば、パーソナルコンピュータ(PC)などの画像処理装置(画像処理アプリケーションソフト)において、本発明を実現することもできる。   As mentioned above, although preferable embodiment of this invention was described, it cannot be overemphasized that this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary. For example, in the present embodiment, the image data rotation processing in the imaging apparatus has been described, but the present invention is not limited to this. For example, the present invention can be realized in an image processing apparatus (image processing application software) such as a personal computer (PC).

100:撮像装置 116:画像処理部 142:システム制御部 100: Imaging device 116: Image processing unit 142: System control unit

Claims (20)

画像中の表示枠の位置を第1の座標系で特定する情報が記録された画像データの画像処理を行う画像処理装置であって、
前記画像データの回転処理を行う第1処理手段と、
前記第1処理手段による回転処理による前記画像データの回転に伴って前記表示枠の位置を特定するとともに、当該画像データの回転に応じて前記表示枠を回転する第2処理手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus that performs image processing of image data in which information for specifying the position of a display frame in an image is recorded in a first coordinate system,
First processing means for performing rotation processing of the image data;
Thereby specifying the position of the display frame in accordance with rotation of the image data by the rotation processing by the first processing means, second processing means for rotating the pre-Symbol display frame according to the rotation of the image data,
An image processing apparatus comprising:
前記画像データは、撮像装置によって生成され、
前記表示枠の位置は、前記画像データを生成する際に前記撮像装置で選択可能であったオートフォーカス用の測距枠に相当する位置及び前記画像データを生成する際に前記撮像装置によって被写体への合焦に使用されたオートフォーカス用の測距枠に相当する位置の少なくとも一方を含むことを特徴とする請求項1に記載の画像処理装置。
The image data is generated by an imaging device,
The position of the display frame is a position corresponding to a focus frame for autofocus that can be selected by the imaging device when the image data is generated, and a subject by the imaging device when the image data is generated. The image processing apparatus according to claim 1, comprising at least one of positions corresponding to an autofocus distance measurement frame used for focusing.
前記測距枠は、矩形形状を有し、
前記表示枠の位置を特定する複数の座標位置の情報は、前記測距枠の矩形形状の4つの頂点のそれぞれの位置を表す4つの座標を含み、
前記第2処理手段は、前記4つの座標が前記回転処理の前の画像中で表す位置と前記4つの座標が前記回転処理の後の画像中で表す位置とが一致するように、前記4つの座標を変更することを特徴とする請求項2に記載の画像処理装置。
The ranging frame has a rectangular shape,
The information of the plurality of coordinate positions specifying the position of the display frame includes four coordinates representing the positions of the four vertices of the rectangular shape of the distance measurement frame,
The second processing means may be configured so that the position represented by the four coordinates in the image before the rotation process coincides with the position represented by the four coordinates in the image after the rotation process. The image processing apparatus according to claim 2, wherein the coordinates are changed.
前記回転処理が行われた後の画像データに対応する画像を表示手段に表示する際に、前記第2処理手段によって変更された前記4つの座標を用いて前記画像に前記測距枠を表示する表示制御手段を更に有することを特徴とする請求項3に記載の画像処理装置。   When the image corresponding to the image data after the rotation processing is displayed on the display means, the distance measuring frame is displayed on the image using the four coordinates changed by the second processing means. The image processing apparatus according to claim 3, further comprising display control means. 前記測距枠は、矩形形状を有し、
前記表示枠の位置を特定する複数の座標位置の情報は、前記測距枠内に含まれる1点の位置を表す1つの座標を含み、
前記第2処理手段は、前記1つの座標が前記回転処理の前の画像中で表す位置と前記1つの座標が前記回転処理の後の画像中で表す位置とが一致するように、前記1つの座標を変更し、
前記回転処理が行われた後の画像データに対応する画像を表示手段に表示する際に、前記第2処理手段によって変更された前記1つの座標と、前記1つの座標を基準として前記矩形形状を表すための情報とを用いて前記画像に前記測距枠を表示する表示制御手段を更に有することを特徴とする請求項2に記載の画像処理装置。
The ranging frame has a rectangular shape,
The information of the plurality of coordinate positions specifying the position of the display frame includes one coordinate representing the position of one point included in the distance measurement frame,
The second processing means may be configured so that the position represented by the one coordinate in the image before the rotation process coincides with the position represented by the one coordinate in the image after the rotation process. Change the coordinates,
When the image corresponding to the image data after the rotation processing is displayed on the display means, the one coordinate changed by the second processing means and the rectangular shape on the basis of the one coordinate. The image processing apparatus according to claim 2, further comprising display control means for displaying the distance measurement frame on the image using information for representing.
前記画像データは、撮像装置によって生成され、
前記表示枠は、前記撮像装置の撮像素子に付着したゴミに相当する位置であることを特徴とする請求項1に記載の画像処理装置。
The image data is generated by an imaging device,
The image processing apparatus according to claim 1, wherein the display frame is a position corresponding to dust attached to an imaging element of the imaging apparatus.
前記第1処理手段は、前記回転処理の後の画像データに対して、前記第2処理手段によって変更された前記表示枠の位置を特定する複数の座標位置の情報を用いて、前記ゴミを目立たなくするゴミ消し処理を行うことを特徴とする請求項6に記載の画像処理装置。   The first processing unit uses the information of a plurality of coordinate positions that specify the position of the display frame changed by the second processing unit for the image data after the rotation processing to make the dust stand out. The image processing apparatus according to claim 6, wherein a dust erasing process is performed. 前記第1処理手段は、前記第1の座標系と異なる第2の座標系を用いて前記画像データの回転処理を行うことを特徴とする請求項1乃至7のうちいずれか1項に記載の画像処理装置。   The said 1st processing means performs the rotation process of the said image data using the 2nd coordinate system different from the said 1st coordinate system, The any one of Claims 1 thru | or 7 characterized by the above-mentioned. Image processing device. 前記回転処理の前と前記回転処理の後とで、前記表示枠の位置を特定する複数の座標位置の情報によって特定される表示枠の画像が一致することを特徴とする請求項1乃至8のうちいずれか1項に記載の画像処理装置。   The image of the display frame specified by the information of a plurality of coordinate positions specifying the position of the display frame matches before and after the rotation processing. The image processing apparatus of any one of them. 被写体を撮像して画像データを生成する撮像手段と、
前記撮像手段で生成された前記画像データの画像処理を行う請求項1乃至9のうちいずれか1項に記載の画像処理装置と、
を有することを特徴とする撮像装置。
Imaging means for imaging a subject and generating image data;
The image processing apparatus according to any one of claims 1 to 9, wherein the image processing of the image data generated by the imaging unit is performed.
An imaging device comprising:
画像中の表示枠の位置を第1の座標系で特定する情報が記録された画像データの画像処理を行う画像処理装置の制御方法であって、
第1処理手段が、前記画像データの回転処理を行う第1処理ステップと、
第2処理手段が、前記第1処理ステップでの回転処理による前記画像データの回転に伴って前記表示枠の位置を特定するとともに、当該画像データの回転に応じて前記表示枠を回転する第2処理ステップと、
を有することを特徴とする制御方法。
A control method of an image processing apparatus that performs image processing of image data in which information for specifying a position of a display frame in an image is specified in a first coordinate system,
A first processing step in which a first processing means performs a rotation process of the image data;
Together with the second processing unit, to identify the position of the display frame in accordance with rotation of the image data by the rotation processing in the first processing step, the rotating front Symbol display frame according to the rotation of the image data Two processing steps;
A control method characterized by comprising:
前記画像データは、撮像装置によって生成され、
前記表示枠の位置は、前記画像データを生成する際に前記撮像装置で選択可能であったオートフォーカス用の測距枠に相当する位置及び前記画像データを生成する際に前記撮像装置によって被写体への合焦に使用されたオートフォーカス用の測距枠に相当する位置の少なくとも一方を含むことを特徴とする請求項11に記載の制御方法。
The image data is generated by an imaging device,
The position of the display frame is a position corresponding to a focus frame for autofocus that can be selected by the imaging device when the image data is generated, and a subject by the imaging device when the image data is generated. The control method according to claim 11, comprising at least one of positions corresponding to an autofocus distance measurement frame used for focusing.
前記測距枠は、矩形形状を有し、
前記表示枠の位置を特定する複数の座標位置の情報は、前記測距枠の矩形形状の4つの頂点のそれぞれの位置を表す4つの座標を含み、
前記第2処理ステップでは、前記4つの座標が前記回転処理の前の画像中で表す位置と前記4つの座標が前記回転処理の後の画像中で表す位置とが一致するように、前記4つの座標を変更することを特徴とする請求項12に記載の制御方法。
The ranging frame has a rectangular shape,
The information of the plurality of coordinate positions specifying the position of the display frame includes four coordinates representing the positions of the four vertices of the rectangular shape of the distance measurement frame,
In the second processing step, the four coordinates are such that the position represented by the four coordinates in the image before the rotation process coincides with the position represented by the four coordinates in the image after the rotation process. The control method according to claim 12, wherein the coordinates are changed.
表示制御手段が、前記回転処理が行われた後の画像データに対応する画像を表示手段に表示する際に、前記第2処理ステップで変更された前記4つの座標を用いて前記画像に前記測距枠を表示する表示制御ステップを更に有することを特徴とする請求項13に記載の制御方法。   When the display control means displays an image corresponding to the image data after the rotation processing on the display means, the measurement is applied to the image using the four coordinates changed in the second processing step. The control method according to claim 13, further comprising a display control step of displaying a distance frame. 前記測距枠は、矩形形状を有し、
前記表示枠の位置を特定する複数の座標位置の情報は、前記測距枠内に含まれる1点の位置を表す1つの座標を含み、
前記第2処理ステップでは、前記1つの座標が前記回転処理の前の画像中で表す位置と前記1つの座標が前記回転処理の後の画像中で表す位置とが一致するように、前記1つの座標を変更し、
表示制御手段が、前記回転処理が行われた後の画像データに対応する画像を表示手段に表示する際に、前記第2処理ステップで変更された前記1つの座標と、前記1つの座標を基準として前記矩形形状を表すための情報とを用いて前記画像に前記測距枠を表示する表示制御ステップを更に有することを特徴とする請求項12に記載の制御方法。
The ranging frame has a rectangular shape,
The information of the plurality of coordinate positions specifying the position of the display frame includes one coordinate representing the position of one point included in the distance measurement frame,
In the second processing step, the position of the one coordinate indicated in the image before the rotation process and the position of the one coordinate indicated in the image after the rotation process coincide with each other. Change the coordinates,
When the display control means displays an image corresponding to the image data after the rotation processing on the display means, the one coordinate changed in the second processing step and the one coordinate as a reference The control method according to claim 12, further comprising: a display control step of displaying the distance measuring frame on the image using information for representing the rectangular shape.
前記画像データは、撮像装置によって生成され、
前記表示枠は、前記撮像装置の撮像素子に付着したゴミに相当する位置であることを特徴とする請求項11に記載の制御方法。
The image data is generated by an imaging device,
The control method according to claim 11, wherein the display frame is a position corresponding to dust attached to an imaging element of the imaging device.
前記第1処理ステップでは、前記回転処理の後の画像データに対して、前記第2処理ステップで変更された前記表示枠の位置を特定する複数の座標位置の情報を用いて、前記ゴミを目立たなくするゴミ消し処理を行うことを特徴とする請求項16に記載の制御方法。   In the first processing step, the dust is made conspicuous by using information on a plurality of coordinate positions that specify the position of the display frame changed in the second processing step with respect to the image data after the rotation processing. The control method according to claim 16, wherein a dust elimination process is performed. 前記第1処理ステップでは、前記第1の座標系と異なる第2の座標系を用いて前記画像データの回転処理を行うことを特徴とする請求項11乃至17のうちいずれか1項に記載の制御方法。   The said 1st process step performs the rotation process of the said image data using the 2nd coordinate system different from the said 1st coordinate system, The any one of Claims 11 thru | or 17 characterized by the above-mentioned. Control method. 前記回転処理の前と前記回転処理の後とで、前記表示枠の位置を特定する複数の座標位置の情報によって特定される表示枠の画像が一致することを特徴とする請求項11乃至18のうちいずれか1項に記載の制御方法。   The image of the display frame specified by the information of a plurality of coordinate positions that specify the position of the display frame matches before and after the rotation processing. The control method of any one of them. 請求項11乃至19のうちいずれか1項に記載の制御方法の各ステップをコンピュータに実行させるためのプログラム。   The program for making a computer perform each step of the control method of any one of Claims 11 thru | or 19.
JP2014085881A 2014-04-17 2014-04-17 Image processing apparatus, imaging apparatus, control method, and program Expired - Fee Related JP5775620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014085881A JP5775620B2 (en) 2014-04-17 2014-04-17 Image processing apparatus, imaging apparatus, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014085881A JP5775620B2 (en) 2014-04-17 2014-04-17 Image processing apparatus, imaging apparatus, control method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010024832A Division JP5529568B2 (en) 2010-02-05 2010-02-05 Image processing apparatus, imaging apparatus, control method, and program

Publications (2)

Publication Number Publication Date
JP2014140252A JP2014140252A (en) 2014-07-31
JP5775620B2 true JP5775620B2 (en) 2015-09-09

Family

ID=51416678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014085881A Expired - Fee Related JP5775620B2 (en) 2014-04-17 2014-04-17 Image processing apparatus, imaging apparatus, control method, and program

Country Status (1)

Country Link
JP (1) JP5775620B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008003335A (en) * 2006-06-23 2008-01-10 Casio Comput Co Ltd Imaging apparatus, focus control method, focus control program
JP4989385B2 (en) * 2007-09-12 2012-08-01 キヤノン株式会社 Imaging apparatus, control method thereof, and program
JP5020894B2 (en) * 2008-06-10 2012-09-05 キヤノン株式会社 Image processing apparatus, control method, and program

Also Published As

Publication number Publication date
JP2014140252A (en) 2014-07-31

Similar Documents

Publication Publication Date Title
JP5020894B2 (en) Image processing apparatus, control method, and program
JP5570316B2 (en) Imaging apparatus, control method thereof, and program
JP5450984B2 (en) Information processing apparatus, imaging apparatus, control method, and program
US9774782B2 (en) Image pickup apparatus and image pickup method
JP6518409B2 (en) Imaging apparatus and imaging method
JP2007201539A (en) Digital camera
JP5529568B2 (en) Image processing apparatus, imaging apparatus, control method, and program
US9621799B2 (en) Imaging apparatus
JP5775620B2 (en) Image processing apparatus, imaging apparatus, control method, and program
KR20130024021A (en) Digital photographing apparatus and control method thereof
JP2016134686A (en) Imaging apparatus and imaging method
JP6395156B2 (en) Imaging apparatus and imaging method
JP5882794B2 (en) Imaging device
JP2009159394A (en) Electronic equipment
JP2012231362A (en) Digital camera
US20160057350A1 (en) Imaging apparatus, image processing method, and non-transitory computer-readable medium
JP2014165517A (en) Image pickup device and control method therefor
JP6611478B2 (en) Imaging apparatus, recording control method, and program
JP2017055268A (en) Imaging device, control method and program for imaging device
JP5274223B2 (en) Imaging apparatus and control method thereof
JP2018125785A (en) Imaging apparatus, control method of imaging apparatus, and program
JP2012165087A (en) Electronic camera
JP2009232408A (en) Image pickup device
JP2011049739A (en) Imaging device and control method thereof, and program
JP2010114565A (en) Imaging apparatus and method of controlling the same

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140519

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140519

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150302

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150430

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: 20150605

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150703

R151 Written notification of patent or utility model registration

Ref document number: 5775620

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees