JP2018201101A - Imaging apparatus and control method thereof, program, and storage medium - Google Patents

Imaging apparatus and control method thereof, program, and storage medium Download PDF

Info

Publication number
JP2018201101A
JP2018201101A JP2017104283A JP2017104283A JP2018201101A JP 2018201101 A JP2018201101 A JP 2018201101A JP 2017104283 A JP2017104283 A JP 2017104283A JP 2017104283 A JP2017104283 A JP 2017104283A JP 2018201101 A JP2018201101 A JP 2018201101A
Authority
JP
Japan
Prior art keywords
subject
image
trimming
composition
image processing
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
JP2017104283A
Other languages
Japanese (ja)
Inventor
謙治 大内
Kenji Ouchi
謙治 大内
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 JP2017104283A priority Critical patent/JP2018201101A/en
Publication of JP2018201101A publication Critical patent/JP2018201101A/en
Pending legal-status Critical Current

Links

Landscapes

  • Exposure Control For Cameras (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

To provide a trimming technique giving preferable impression to a user, without increasing workload of the user, by automatically performing such trimming that the situation and atmosphere of a photographic scene remain in the composition, and connection of the front and the back can be understood, in the continuous shooting image.SOLUTION: An imaging apparatus includes image acquisition means for acquiring temporally continuous images, subject detection means for detecting a main subject from the image, tracking detection means for tracking and detecting the main subject in the second and subsequent continuous images, subject region determination means for determining the subject region based on the main subject information, and composition determination means for determining a trimming composition based on the main subject information and the subject region. At least the trimming size and the trimming aspect to be determined by the composition means are determined in the first image out of the temporally continuous images, and the trimming positions in the second and subsequent temporary continuous images are determined by the tracking detection subject information.SELECTED DRAWING: Figure 3

Description

本発明は、画像データに対するトリミング制御技術に関する。   The present invention relates to a trimming control technique for image data.

従来、デジタルカメラ等の撮像装置で撮影するとき、撮影者は構図を意識して撮影を行なうが、瞬時に被写体やシーンを判断して好適な構図を決定することは特に撮影初心者には難しく、多くの人から共感を得られるような好ましい構図を瞬時に決定するには熟練を要する。さらに、連写画像をトリミングする場合、トリミング画像を連続して再生してシーンの流れを確認することが多いため、前後のつながりがわかる構図になることが望ましい。   Conventionally, when taking a picture with an imaging device such as a digital camera, the photographer shoots with an awareness of the composition, but it is particularly difficult for beginners of photography to determine a suitable composition by instantly judging the subject and scene, It takes skill to instantly determine a desirable composition that can be sympathized with many people. Further, when trimming continuously shot images, the trimmed images are often reproduced continuously to check the flow of the scene, so it is desirable to have a composition that shows the connection between the front and back.

特許文献1は、連続して撮影した複数の画像から同一顔を検出し、同一顔の位置および大きさが揃うようにトリミングをすることで被写体の表情の変化を捉える技術である。   Patent Document 1 is a technique for detecting a change in facial expression of a subject by detecting the same face from a plurality of images taken continuously and performing trimming so that the position and size of the same face are aligned.

特許第5424827号Japanese Patent No. 5424827

しかしながら、上述の特許文献に開示された従来技術は、被写体やシーンを判断して好適な構図を決定するものではなく、また、連写画像のシーンのつながりがわかるようなトリミングは考慮されていない。   However, the prior art disclosed in the above-mentioned patent documents does not determine a suitable composition by judging a subject or a scene, and does not consider trimming that can understand the connection of scenes of continuous shot images. .

そこで本発明は、上記課題に鑑みてなされ、その目的は、連写画像において、撮影シーンの状況や雰囲気が構図内に残り、かつ前後のつながりがわかるようなトリミングを自動で行えるようにすることで、ユーザの作業負担を増やすことなく、ユーザに好適な印象を与えるトリミング技術を実現することである。   Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to enable automatic trimming so that the situation and atmosphere of the shooting scene remain in the composition and the connection between the front and rear can be recognized in the continuous shot image. Thus, it is to realize a trimming technique that gives a suitable impression to the user without increasing the work burden on the user.

本発明の画像処理装置は、時間的に連続した画像を取得する画像取得手段と、
前記画像から主要被写体を検出する被写体検出手段と、
前記時間的に連続した画像の2枚目以降において前記主要被写体を追尾して検出する追尾検出手段と、
前記主要被写体情報に基づいて被写体領域を決定する被写体領域決定手段と、
前記主要被写体情報と前記被写体領域に基づいてトリミング構図を決める構図決定手段と、
を備え、
少なくとも前記構図手段で決定するトリミングサイズとトリミングアスペクトは、前記時間的に連続した画像の1枚目で決定し、また前記トリミング位置は、前記時間的に連続した画像の二枚目以降は前記追尾検出被写体情報によって決定されることを特徴としている。
The image processing apparatus of the present invention includes an image acquisition unit that acquires temporally continuous images;
Subject detection means for detecting a main subject from the image;
Tracking detection means for tracking and detecting the main subject in the second and subsequent images of the temporally continuous image;
Subject region determining means for determining a subject region based on the main subject information;
Composition determining means for determining a trimming composition based on the main subject information and the subject region;
With
At least the trimming size and the trimming aspect determined by the composition means are determined for the first image of the temporally continuous image, and the trimming position is the tracking for the second and subsequent images of the temporally continuous image. It is characterized by being determined by detected subject information.

本発明によれば、連写画像のトリミングにおいて、被写体の動きや被写体の検出バラつきに影響を受けずに、前後の連続性を持たせた構図のトリミング画像を容易に得ることができる。   According to the present invention, in continuous image trimming, it is possible to easily obtain a trimmed image having a composition with continuity before and after without being affected by the movement of the subject and the variation in detection of the subject.

本実施形態に係る撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device which concerns on this embodiment. 本実施形態に係る画像撮影動作を示すフローチャートである。It is a flowchart which shows the image shooting operation | movement which concerns on this embodiment. 本実施形態に係るオートトリミング動作を示すフローチャートである。It is a flowchart which shows the auto trimming operation | movement which concerns on this embodiment. 三分割法を説明するための図である。It is a figure for demonstrating the three division method. 本実施形態に係る被写体の変化とトリミング枠の関係を示す図である。It is a figure which shows the change of the to-be-photographed object and trimming frame which concern on this embodiment. 第2の実施形態に係るオートトリミング動作を示すフローチャートである。It is a flowchart which shows the auto trimming operation | movement which concerns on 2nd Embodiment.

以下に、本発明を実施するための形態について詳細に説明する。尚、以下に説明する実施の形態は、本発明を実現するための一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施の形態に限定されるものではない。また、後述する各実施形態の一部を適宜組み合わせて構成しても良い。   Hereinafter, embodiments for carrying out the present invention will be described in detail. The embodiment described below is an example for realizing the present invention, and should be appropriately modified or changed according to the configuration and various conditions of the apparatus to which the present invention is applied. It is not limited to the embodiment. Moreover, you may comprise combining suitably one part of each embodiment mentioned later.

<装置構成>
まず、図1を参照して、本実施形態の撮像装置の主要な構成について説明する。図1において、100は画像処理装置である。10は撮影レンズである。12は絞り機能を備えるシャッターである。14は被写体の光学像を電気信号に変換する撮像素子である。16はA/D変換器であり、撮像素子14のアナログ信号出力をデジタル信号に変換する。
<Device configuration>
First, the main configuration of the imaging apparatus according to the present embodiment will be described with reference to FIG. In FIG. 1, reference numeral 100 denotes an image processing apparatus. Reference numeral 10 denotes a photographing lens. Reference numeral 12 denotes a shutter having an aperture function. An image sensor 14 converts an optical image of a subject into an electric signal. Reference numeral 16 denotes an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal.

18はタイミング発生回路であり、撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給するもので、メモリ制御回路22及びシステム制御回路50により制御される。20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。また、画像処理回路20では、撮像により生成された画像データを用いて所定の演算処理を行って、その演算結果をシステム制御回路50に供給する。   A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16, and the D / A converter 26, and is controlled by the memory control circuit 22 and the system control circuit 50. . An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22. Further, the image processing circuit 20 performs predetermined calculation processing using image data generated by imaging, and supplies the calculation result to the system control circuit 50.

システム制御回路50は、その演算結果に基づいて、露光制御部40、測距制御部42を制御して、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を実現する。さらに、画像処理回路20では、撮像により生成された画像データを用いてTTL方式のAWB(オートホワイトバランス)処理も行う。   Based on the calculation result, the system control circuit 50 controls the exposure control unit 40 and the distance measurement control unit 42 to perform TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure). Processing, EF (flash pre-emission) processing is realized. Further, the image processing circuit 20 also performs TTL AWB (auto white balance) processing using image data generated by imaging.

22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。A/D変換器16から出力されるデータは、画像処理回路20を介してメモリ制御回路22に供給され、或いは直接メモリ制御回路22に供給され、これにより、画像表示メモリ24或いはメモリ30に書き込まれる。   A memory control circuit 22 controls the A / D converter 16, the timing generation circuit 18, the image processing circuit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression circuit 32. The data output from the A / D converter 16 is supplied to the memory control circuit 22 via the image processing circuit 20 or directly to the memory control circuit 22, and thereby written in the image display memory 24 or the memory 30. It is.

24は画像表示メモリである。26はD/A変換器である。28はTFT−LCD等からなる画像表示部である。画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28に供給され、これにより画像表示部28に画像が表示される。画像表示部28に撮像に係る画像を逐次表示することにより、電子ファインダ機能を実現することができる。また、画像表示部28を用いて、再生表示機能、各種表示機能を利用することができる。また、画像表示部28は、システム制御回路50の指示により任意に表示をオン/オフすることが可能であり、表示をオフにした場合は、撮像装置100の電力消費を大幅に低減することができる。   Reference numeral 24 denotes an image display memory. Reference numeral 26 denotes a D / A converter. An image display unit 28 includes a TFT-LCD or the like. The display image data written in the image display memory 24 is supplied to the image display unit 28 via the D / A converter 26, whereby an image is displayed on the image display unit 28. An electronic viewfinder function can be realized by sequentially displaying images related to imaging on the image display unit 28. In addition, a playback display function and various display functions can be used by using the image display unit 28. Further, the image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control circuit 50. When the display is turned off, the power consumption of the imaging apparatus 100 can be significantly reduced. it can.

30はメモリであり、撮影した静止画像や動画像を格納する。メモリ30は、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。このメモリ30を利用することにより、複数枚の静止画像を連続して撮影する連写撮影やパノラマ撮影の場合においても、高速に大量の画像を保存することができる。また、メモリ30はシステム制御回路50の作業領域としても利用され得る。   A memory 30 stores captured still images and moving images. The memory 30 has a storage capacity sufficient to store a predetermined number of still images and a moving image for a predetermined time. By using this memory 30, a large number of images can be stored at high speed even in continuous shooting or panoramic shooting in which a plurality of still images are continuously shot. The memory 30 can also be used as a work area for the system control circuit 50.

32は圧縮・伸長回路であり、適応離散コサイン変換(ADCT)等により画像データを圧縮し又は伸長する。圧縮・伸長回路32では、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。   A compression / decompression circuit 32 compresses or decompresses image data by adaptive discrete cosine transform (ADCT) or the like. The compression / decompression circuit 32 reads an image stored in the memory 30, performs a compression process or an expansion process, and writes the processed data to the memory 30.

40は絞り機能を備えるシャッター12を制御する露光制御部であり、ストロボ48と連携してフラッシュ調光を行うこともできる。42は撮影レンズ10のフォーカシングを制御する測距制御部である。露光制御部40及び測距制御部42は、撮像により生成された画像データを画像処理回路20が演算した演算結果に基づいて、システム制御回路50によって制御される。これにより、TTL方式の露光制御及び測距制御が実現される。   An exposure control unit 40 controls the shutter 12 having an aperture function, and can perform flash light control in cooperation with the flash 48. A distance measuring control unit 42 controls focusing of the photographing lens 10. The exposure control unit 40 and the distance measurement control unit 42 are controlled by the system control circuit 50 based on a calculation result obtained by the image processing circuit 20 calculating image data generated by imaging. Thereby, TTL exposure control and distance measurement control are realized.

44は撮影レンズ10のズーミングを制御するズーム制御部である。46はバリア(保護部)102の動作を制御するバリア制御部である。48はストロボであり、被写体を明るく照らしてピントを合いやすくするためのAF補助光の投光機能を有する。なお、ストロボ48は、単一でもよいし、閃光発光用にキセノン管、微小長秒発光用にLEDなどのように複数設け、本発光時にそれぞれを切り替えて制御してもよい。   A zoom control unit 44 controls zooming of the photographing lens 10. A barrier control unit 46 controls the operation of the barrier (protection unit) 102. Reference numeral 48 denotes a strobe, which has a function of projecting AF auxiliary light for brightly illuminating the subject and facilitating focusing. The strobe 48 may be a single unit, or a plurality of strobes may be provided, such as a xenon tube for flash emission and an LED for minute long-second emission, and each may be switched and controlled during main emission.

50はシステム制御回路であり、撮像装置100全体を制御する。52はメモリであり、システム制御回路50の動作用の定数、変数、プログラム等を記憶する。また、メモリ52はAEで用いるプログラム線図も格納している。プログラム線図は、露出値に対する絞り開口径とシャッター速度の制御値との関係を定義したテーブルである。   Reference numeral 50 denotes a system control circuit that controls the entire imaging apparatus 100. A memory 52 stores constants, variables, programs, and the like for the operation of the system control circuit 50. The memory 52 also stores a program diagram used in AE. The program diagram is a table that defines the relationship between the aperture value for the exposure value and the control value for the shutter speed.

54は液晶表示装置、スピーカ等の表示部であり、システム制御回路50によるプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する。表示部54は、撮像装置100の操作部近辺の視認し易い位置に単数或いは複数箇所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。また、表示部54は、その一部が光学ファインダ104内に設置されている。   Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker, which displays an operation state, a message, and the like using characters, images, sounds, and the like in accordance with execution of a program by the system control circuit 50. The display unit 54 is installed in a single or a plurality of positions near the operation unit of the imaging apparatus 100 so that the display unit 54 can be visually recognized. A part of the display unit 54 is installed in the optical viewfinder 104.

表示部54の表示内容のうち、LCD等で表示するものとしては、シングルショット/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示等がある。加えて、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200の着脱状態表示、通信I/F動作表示、日付・時刻表示等がある。また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示等がある。   Among the display contents of the display unit 54, what is displayed on the LCD or the like includes single shot / continuous shooting display, self-timer display, compression rate display, number of recorded pixels, number of recorded pixels, number of remaining images, shutter There are speed display, aperture value display, etc. In addition, exposure compensation display, flash display, red-eye reduction display, macro shooting display, buzzer setting display, clock battery level display, battery level display, error display, information display with multiple digits, and attachment / detachment of the recording medium 200 There are status display, communication I / F operation display, date / time display, and the like. Among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes in-focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like.

56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等で構成される。60、62、64、66は、ユーザがシステム制御回路50へ各種動作を指示するための操作部であり、例えばスイッチやダイヤル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。具体的に説明すると、60はモードダイヤルスイッチであり、電源オフ、プログラムAEモードなどの自動露出モード、全自動モード、マニュアル露出モード、寝顔撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各モードを切り替えることができる。   Reference numeral 56 denotes an electrically erasable / recordable non-volatile memory, such as an EEPROM. Reference numerals 60, 62, 64, and 66 are operation units for the user to instruct the system control circuit 50 to perform various operations. For example, a switch or a dial, a touch panel, pointing by eye-gaze detection, a voice recognition device, or a combination of one or more Consists of. More specifically, 60 is a mode dial switch, which is turned off, automatic exposure mode such as program AE mode, fully automatic mode, manual exposure mode, sleeping face shooting mode, panoramic shooting mode, playback mode, multi-screen playback / erase Each mode such as a mode and a PC connection mode can be switched.

62はシャッタースイッチSW1であり、不図示のシャッターボタンの操作途中でオンとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。   Reference numeral 62 denotes a shutter switch SW1, which is turned on during operation of a shutter button (not shown), and performs AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct the start of operation.

64はシャッタースイッチSW2であり、前記シャッターボタンの操作完了でオンとなり、撮像素子14から読み出した信号をA/D変換器16、メモリ制御回路22を介してメモリ30に画像データを書き込む露光処理の動作を開始する。更に、画像処理回路20やメモリ制御回路22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200に画像データを書き込む記録処理という一連の処理の動作開始を指示する。   A shutter switch SW2 64 is turned on when the operation of the shutter button is completed, and an exposure process of writing image data into the memory 30 via the A / D converter 16 and the memory control circuit 22 with the signal read from the image sensor 14 being performed. Start operation. Further, a series of development processes using operations in the image processing circuit 20 and the memory control circuit 22, a recording process in which the image data is read from the memory 30, compressed by the compression / decompression circuit 32, and written to the recording medium 200. The operation start of the process is instructed.

66は各種ボタンやタッチパネル等からなる操作部である。操作部66には、メニューボタン、セットボタン、マクロボタン、画像表示オン/オフボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン等がある。   An operation unit 66 includes various buttons and a touch panel. The operation unit 66 includes a menu button, a set button, a macro button, an image display on / off button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, menu movement + (plus) Button, menu shift- (minus) button, playback image shift + (plus) button, playback image- (minus) button, shooting image quality selection button, exposure correction button, date / time setting button, and the like.

80は電源制御部であり、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されている。電源制御部80は、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。82、84はコネクタである。86は電源であり、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる。   Reference numeral 80 denotes a power supply control unit, which includes a battery detection circuit, a DC-DC converter, a switch circuit that switches blocks to be energized, and the like. The power supply control unit 80 detects the presence / absence of a battery, the type of battery, and the remaining battery level, controls the DC-DC converter based on the detection result and the instruction of the system control circuit 50, and requires the necessary voltage. It is supplied to each part including the recording medium for a period. 82 and 84 are connectors. A power source 86 includes 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, an AC adapter, or the like.

90及び94はメモリカードやハードディスク等の記録媒体とのインタフェースである。92及び96はメモリカードやハードディスク等の記録媒体と接続を行うコネクタである。98はコネクタ92及び或いは96に記録媒体200或いは210が装着されているか否かを検知する記録媒体着脱検知部である。   Reference numerals 90 and 94 denote interfaces with recording media such as memory cards and hard disks. Reference numerals 92 and 96 denote connectors for connecting to a recording medium such as a memory card or a hard disk. A recording medium attachment / detachment detection unit 98 detects whether or not the recording medium 200 or 210 is attached to the connectors 92 and 96.

なお、本実施形態では記録媒体を取り付けるインタフェース及びコネクタを2系統持つものとして説明している。もちろん、記録媒体を取り付けるインタフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて備える構成としても構わない。インタフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成して構わない。   In the present embodiment, it is assumed that there are two interfaces and connectors for attaching the recording medium. Of course, the interface and the connector for attaching the recording medium may have a single or a plurality of systems, any number of systems. Moreover, it is good also as a structure provided with combining the interface and connector of a different standard. The interface and the connector may be configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like based on a standard.

さらに、インタフェース90及び94、そしてコネクタ92及び96をPCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことが出来る。   In addition, when the interfaces 90 and 94 and the connectors 92 and 96 are configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like, a LAN card, a modem card, a USB card, IEEE1394. Image data and management information attached to image data are transferred to and from peripheral devices such as other computers and printers by connecting various communication cards such as cards, P1284 cards, SCSI cards, and PHS communication cards. I can meet each other.

102は、撮像装置100の撮影レンズ10を含む撮像部を覆う事により、撮像部の汚れや破損を防止するバリアである保護手段である。   Reference numeral 102 denotes protection means that is a barrier that prevents the imaging unit from being soiled or damaged by covering the imaging unit including the photographing lens 10 of the imaging device 100.

104は光学ファインダであり、画像表示部28による電子ファインダ機能を使用すること無しに、光学ファインダのみを用いて撮影を行うことが可能である。また、光学ファインダ104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示などが設置されている。   Reference numeral 104 denotes an optical viewfinder, which can take an image using only the optical viewfinder without using the electronic viewfinder function of the image display unit 28. In the optical viewfinder 104, some functions of the display unit 54, for example, a focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are installed.

110は通信部で、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信、等の各種通信機能を有する。
112は通信部110により撮像装置100を他の機器と接続するコネクタ或いは無線通信の場合はアンテナである。
A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication.
Reference numeral 112 denotes a connector for connecting the imaging apparatus 100 to another device by the communication unit 110 or an antenna in the case of wireless communication.

200はメモリカードやハードディスク等の記録媒体である。記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、撮像装置100とのインタフェース204、撮像装置100と接続を行うコネクタ206を備えている。   Reference numeral 200 denotes a recording medium such as a memory card or a hard disk. The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, and the like, an interface 204 with the imaging device 100, and a connector 206 that connects to the imaging device 100.

210はメモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、撮像装置100とのインタフェース214、撮像装置100と接続を行うコネクタ216を備えている。   Reference numeral 210 denotes a recording medium such as a memory card or a hard disk. The recording medium 210 includes a recording unit 212 composed of a semiconductor memory, a magnetic disk, and the like, an interface 214 with the imaging device 100, and a connector 216 that connects to the imaging device 100.

<動作説明>
本実施形態の撮像装置による画像撮影動作について説明する。なお、ここで説明する処理は、システム制御回路50が、不揮発性メモリ56に記録されたプログラムを、RAMなどの揮発性メモリ52のワークエリアに展開し、実行することで実現される。
<Description of operation>
An image capturing operation by the imaging apparatus of the present embodiment will be described. The processing described here is realized by the system control circuit 50 developing and executing a program recorded in the nonvolatile memory 56 in a work area of the volatile memory 52 such as a RAM.

システム制御回路50は、モードダイヤル60が撮影可能なモードにおいて電源86がオンされると、各種撮影準備動作を行い、撮影準備が完了すると、画像表示部28へスルー画像の表示を開始する。ここで、スルー画像とは、静止画を撮影する前後にファインダ機能として表示させるため、撮像素子14によって撮像された画像のことである。スルー画像表示状態においては、撮像素子14、A/D変換器16、画像処理回路20およびメモリ制御回路22を介して画像表示メモリ24に逐次書き込まれたデータは、メモリ制御回路22およびD/A変換器26を介して画像表示部28に逐次表示される。これにより、電子ビューファインダ(EVF)機能が実現する。   The system control circuit 50 performs various shooting preparation operations when the power supply 86 is turned on in the mode in which the mode dial 60 can shoot, and starts displaying a through image on the image display unit 28 when the shooting preparation is completed. Here, the through image is an image captured by the image sensor 14 for display as a finder function before and after taking a still image. In the through image display state, the data sequentially written to the image display memory 24 via the image sensor 14, the A / D converter 16, the image processing circuit 20, and the memory control circuit 22 are stored in the memory control circuit 22 and the D / A. The images are sequentially displayed on the image display unit 28 via the converter 26. Thereby, an electronic viewfinder (EVF) function is realized.

次に、図2を参照して、スルー画像表示状態における画像撮影動作について説明する。   Next, an image capturing operation in the through image display state will be described with reference to FIG.

図2において、シャッタースイッチSW1が押されるまでステップS201を繰り返す。シャッタースイッチSW1が押されたならばステップS202に進む。   In FIG. 2, step S201 is repeated until the shutter switch SW1 is pressed. If the shutter switch SW1 is pressed, the process proceeds to step S202.

システム制御回路50は、測距処理を行なって撮影レンズ10の焦点を被写体に合わせ、測光処理を行なって絞り値及びシャッター時間を決定する(ステップS202)。   The system control circuit 50 performs a distance measurement process to focus the photographing lens 10 on the subject, performs a photometry process, and determines an aperture value and a shutter time (step S202).

ステップS203では、シャッタースイッチSW2が押されずに、シャッタースイッチSW1が解除されたならばステップS201に戻る。ステップS204では、シャッタースイッチSW2が押されると、システム制御回路50は、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器から直接メモリ制御回路22を介して、メモリ30に撮影した画像データを書き込む露光処理、及び、メモリ制御回路22そして必要に応じて画像処理回路20を用いて、メモリ30に書き込まれた画像データを読み出して各種処理を行う現像処理からなる撮影処理を実行する(ステップS205)。 ステップS206では、撮影画像と被写体情報に基づいてオートトリミング処理を行う。詳細は後述する。   In step S203, if the shutter switch SW1 is released without pressing the shutter switch SW2, the process returns to step S201. In step S204, when the shutter switch SW2 is pressed, the system control circuit 50 passes through the image sensor 14, the A / D converter 16, the image processing circuit 20, the memory control circuit 22, or directly from the A / D converter. Through the memory control circuit 22, the image data written in the memory 30 is read out using the exposure processing for writing the image data taken in the memory 30 and the memory control circuit 22 and the image processing circuit 20 as necessary. A photographing process including a developing process for performing various processes is executed (step S205). In step S206, auto-trimming processing is performed based on the captured image and subject information. Details will be described later.

ステップS207では、連写が続いていればステップS205に戻り撮影を行い、連写指示が無ければ処理を終了する。   In step S207, if continuous shooting continues, the process returns to step S205 to perform shooting, and if there is no continuous shooting instruction, the process ends.

次に、図3を参照して、画像処理回路20において入力された画像を自動でトリミングするオートトリミング処理について説明する。   Next, an auto trimming process for automatically trimming an image input in the image processing circuit 20 will be described with reference to FIG.

まず、ステップS301では、撮影した画像が連写2枚目以降かそうでないかで分岐する。ここで言う連写とは、連写モードでの撮影である必要は無く、時間的に連続した撮影のことであり、所定時間以内に連続して撮影することである。連写2枚目以降でない場合、まずステップS302において被写体検出を行う。被写体が人物であれば顔検出することで被写体の領域を検出できる。顔検出については既知の方法で良い。例えば、画像処理回路20は、入力された画像データから、目、鼻や口などの顔領域の構成要素に相当する形状を抽出し、目、鼻や口の存在位置関係から顔領域を算出する。また、被写体が人物でない場合の被写体検出も既知の方法で良い。例えば、入力された画像データを色や輝度で領域分割し、分割した領域の大きさや画面中心からの距離に応じて被写体らしさの重み付けをする。そして、重みが一定以上となった領域を被写体として扱う。   First, in step S301, the process branches depending on whether the photographed image is the second or subsequent continuous shot or not. The continuous shooting referred to here does not have to be shooting in the continuous shooting mode, but is continuous shooting in time, and is continuous shooting within a predetermined time. If it is not the second and subsequent shots, subject detection is first performed in step S302. If the subject is a person, the region of the subject can be detected by detecting the face. A known method may be used for face detection. For example, the image processing circuit 20 extracts a shape corresponding to the constituent elements of the face area such as the eyes, nose and mouth from the input image data, and calculates the face area from the existing positional relationship of the eyes, nose and mouth. . A known method may be used for subject detection when the subject is not a person. For example, the input image data is divided into regions based on color and brightness, and subject-like weight is weighted according to the size of the divided regions and the distance from the screen center. Then, an area where the weight is a certain level or more is treated as a subject.

ステップS303では、被写体領域を算出する。例えば、顔検出できた場合は、顔の位置、向き、サイズから体領域を推測し、顔と体が含まれる領域を被写体領域としても良いし、画像の領域ごとの距離情報を取得する手段を用いて、主要な顔もしくは物と等距離の領域が含まれる領域を被写体領域としても良い。距離情報の取得方法も既存のものでよく、例えば、ピント位置を動かしていき、最もコントラストが高くなった領域を等距離グループとする。さらに、背景を解析し、背景に重要な被写体がある場合は、背景の重要被写体も被写体領域に含めることで、よりユーザに好適な印象を与える構図づくりを可能にする。   In step S303, a subject area is calculated. For example, when a face can be detected, a body region is estimated from the position, orientation, and size of the face, and the region including the face and body may be used as the subject region, or means for acquiring distance information for each region of the image. It is also possible to use a region including a region equidistant from the main face or object as the subject region. The distance information acquisition method may be an existing one. For example, the focus position is moved, and an area having the highest contrast is defined as an equidistant group. Further, when the background is analyzed and there is an important subject in the background, the background important subject is also included in the subject area, thereby making it possible to create a composition that gives a better impression to the user.

ステップS304では、トリミングのアスペクトを決定する。アスペクトの決定は、例えば、被写体の縦横比に基づいてカメラで設定可能なアスペクトから選択しても良いし、被写体が動いている場合は進行方向に長くなるように決定しても良い。   In step S304, the trimming aspect is determined. The aspect may be determined from, for example, an aspect that can be set by the camera based on the aspect ratio of the subject, or may be determined to be longer in the traveling direction when the subject is moving.

ステップS305では、トリミングのサイズを決定する。サイズの決定は、例えば、カメラで設定可能な画像出力サイズの内から、被写体領域を全て囲うことができる最小のサイズを選択しても良いし、主要被写体の顔のサイズに基づいて決定しても良い。さらに、被写体が人物のときに比べて、人物以外のときの方が検出誤差が大きくなる傾向があるため、被写体が人物以外のときはトリミングサイズを大きく設定して検出誤差を吸収するなど、被写体に応じてトリミングサイズを変えるようにしてもよい。   In step S305, the trimming size is determined. The size may be determined by, for example, selecting the smallest size that can enclose the entire subject area from the image output sizes that can be set by the camera, or by determining the size based on the face size of the main subject. Also good. Furthermore, the detection error tends to be larger when the subject is not a person than when the subject is a person, so when the subject is other than a person, the trimming size is set larger to absorb the detection error. You may make it change trimming size according to.

ステップS306では、トリミングの位置を決定する。位置の決定は、例えば、主要被写体が画像の中心になるような、所謂、日の丸構図にしても良いし、主要被写体が動いていれば、主要被写体の進行方向に広く空間ができるようにしても良いし、主要被写体に対して三分割法を適用しても良い。三分割法とは、図4に示すように、切り出す画角の水平方向と垂直方向のそれぞれを3分割するように2本ずつ線を引くことにより得られる分割線の4つの交点P1〜P4に被写体の重心などの重要な要素を置くとバランスが取れて安定した構図が得られるというものである。   In step S306, the trimming position is determined. The position may be determined by, for example, a so-called Hinomaru composition in which the main subject is the center of the image, or if the main subject is moving, a wide space may be created in the traveling direction of the main subject. It is also possible to apply the three-division method to the main subject. As shown in FIG. 4, the three-division method means that at the four intersections P1 to P4 of the dividing lines obtained by drawing two lines so as to divide each of the horizontal and vertical directions of the field angle to be divided into three. If an important element such as the center of gravity of the subject is placed, a balanced and stable composition can be obtained.

また、ステップS301で連写2枚目以降の場合、ステップS307において、連写一枚目で検出した被写体もしくは被写体領域の追尾を行い、ステップS306に進む。被写体追尾についても既存の方法で良い。例えば、検出被写体の部分画像をテンプレートとして記憶し、テンプレートマッチングを行う。連続画像における過去画像の被写体座標の近傍でテンプレートとの画素値の一致度が高い点を追尾領域とする。   If it is the second and subsequent shots in step S301, the subject or subject area detected in the first continuous shot is tracked in step S307, and the process proceeds to step S306. Existing methods may be used for subject tracking. For example, a partial image of the detected subject is stored as a template, and template matching is performed. A point having a high degree of coincidence of pixel values with the template in the vicinity of the subject coordinates of the past image in the continuous image is defined as a tracking region.

ステップS301からステップS307の構図決定の例を図5を参照して説明する。図5では、連写の1枚目、2枚目、3枚目をそれぞれ(a)、(b)、(c)で表している。(a)では、主要被写体T1は遠く、(b)、(c)と同一被写体T1が徐々に近づいてきている。また、(a)、(b)、(c)におけるトリミングの範囲をそれぞれW1、W2、W3で示している。   An example of composition determination from step S301 to step S307 will be described with reference to FIG. In FIG. 5, the first, second, and third images in continuous shooting are represented by (a), (b), and (c), respectively. In (a), the main subject T1 is far away, and the same subject T1 as in (b) and (c) is gradually approaching. In addition, the trimming ranges in (a), (b), and (c) are denoted by W1, W2, and W3, respectively.

(a)で示す連写1枚目のときは、ステップS302で被写体検出を行い、ステップS303で被写体領域を算出し、被写体領域を基にステップS303からステップS306で、トリミングのアスペクト、サイズ、位置を決定するが、(b)、(c)で示す連写2枚目以降のときは、ステップS307で被写体追尾を行い、ステップS306でトリミング位置のみを決定し、連写2枚目以降のトリミングのアスペクトとサイズは連写1枚目と同じにする。つまり、W1、W2,W3は、アスペクトとサイズは同じだが、ステップS307での被写体追尾結果に応じて位置のみ変化していく。   In the case of the first continuous shooting shown in (a), the subject is detected in step S302, the subject area is calculated in step S303, and the trimming aspect, size, and position are calculated in steps S303 to S306 based on the subject area. However, in the case of the second and subsequent continuous shots shown in (b) and (c), subject tracking is performed in step S307, only the trimming position is determined in step S306, and trimming for the second and subsequent continuous shots is performed. Use the same aspect and size as the first continuous shot. That is, W1, W2, and W3 have the same aspect and size, but only the position changes in accordance with the subject tracking result in step S307.

こうすることのメリットとして、まず、ステップS303の被写体領域算出が無くなるので、例として上述した距離情報や背景解析などの処理が無くなるため、処理時間を減らし、連写コマ速への影響をほとんど無くすことができる。さらに、トリミングのアスペクトやトリミングサイズを同じにすることで、被写体の動きや被写体の検出バラつきに影響を受けず、連写のトリミング画像に連続性をもたせることができるため、トリミング画像だけを画像表示部28で次々と表示する際のユーザへのストレスを低減することができる。   As an advantage of this, first, since the subject area calculation in step S303 is eliminated, the processing such as distance information and background analysis described above is eliminated as an example, so that the processing time is reduced and the influence on the continuous shooting frame speed is almost eliminated. be able to. Furthermore, by making the trimming aspect and trimming size the same, continuous cropped images can be given continuity without being affected by subject movement or subject detection variation, so only trimmed images are displayed. It is possible to reduce the stress on the user when displaying one after another on the unit 28.

さらに、トリミングの構図はトリミングサイズに占める被写体サイズの割合に応じて変化させても良い。例えば、(a)のようにトリミングサイズに占める被写体サイズの割合が十分に小さい場合、被写体の進行方向に空間をつくる構図や被写体に三分割法を適用した構図にし、(b)や(c)のようにトリミングサイズに占める被写体サイズが大きくなるにつれて被写体が構図の真ん中に寄せていくことで被写体がなるべく構図からはみ出さないようにする。   Further, the trimming composition may be changed according to the ratio of the subject size to the trimming size. For example, when the ratio of the subject size to the trimming size is sufficiently small as shown in (a), a composition for creating a space in the advancing direction of the subject or a composition in which the three-division method is applied to the subject, (b) and (c) As described above, as the subject size occupying the trimming size increases, the subject moves closer to the center of the composition so that the subject does not protrude from the composition as much as possible.

続いて、トリミングの構図が決まったらステップS308で、元画像の内側に収まっているかなど、トリミングが可能な構図か判断し、トリミングが可能な場合はシステム制御部50は、メモリ30に書き込まれた撮影画像データを読み出し、ステップS306で設定した構図に従って、画像処理回路20で画像データのトリミングを行ない、トリミングしてつくられたトリミング画像データをメモリ30に書きこむ(ステップS309)。   Subsequently, when the composition of trimming is determined, in step S308, it is determined whether the composition can be trimmed, such as whether it is within the original image. If trimming is possible, the system control unit 50 has written to the memory 30. The photographed image data is read out, and the image data is trimmed by the image processing circuit 20 according to the composition set in step S306, and the trimmed image data created by trimming is written in the memory 30 (step S309).

最後に、システム制御回路50は、メモリ30に書き込まれた画像データを読み出して、メモリ制御回路22そして必要に応じて画像処理回路20を用いて各種画像処理を、また、圧縮・伸長回路32を用いて設定したモードに応じた画像圧縮処理を行った後、記録媒体200或いは210へ画像データの書き込みを行う記録処理を実行する(S310)。   Finally, the system control circuit 50 reads the image data written in the memory 30 and performs various image processing using the memory control circuit 22 and the image processing circuit 20 as necessary, and the compression / decompression circuit 32. After performing the image compression process according to the mode set using the recording process, a recording process for writing image data to the recording medium 200 or 210 is executed (S310).

また、もしステップS302において、被写体検出に失敗した場合、もしくはステップS307において、被写体追尾に失敗した場合、不図示だが、オートトリミング処理を無理に行わなくてもよいし、さらに連写が続いている場合、ステップS205から連写枚数をリセットして、被写体検出と被写体領域算出とトリミング構図決めをやり直せばよい。   If the subject detection fails in step S302, or if the subject tracking fails in step S307, the auto-trimming process does not have to be performed, but continuous shooting continues. In this case, the number of continuous shots may be reset from step S205, and subject detection, subject area calculation, and trimming composition determination may be performed again.

<変形例>
上述した実施形態の変形例について図6を参照して説明する。ステップS301からステップS310は上述した実施形態と同じであり、変形例では新たにステップS601を追加した。以下、変更点について述べる。
<Modification>
A modification of the above-described embodiment will be described with reference to FIG. Steps S301 to S310 are the same as those in the above-described embodiment, and step S601 is newly added in the modification. The changes will be described below.

ステップS301で連写2枚目以降であると判断したとき、ステップS601に進み、トリミングサイズに占める被写体割合が所定範囲内かどうかを判断し、所定範囲内の場合は上述した実施例と同様にステップS307に進むが、所定範囲外の場合はステップS302に進む。具体的に説明すると、所定範囲内を例えば20%〜80%とすると、撮影した画像サイズを100としたとき、被写体サイズが20未満のときや80を超えたとき、ステップS602に進むことになる。ここでのサイズとは、単純に面積としてもよいし、縦と横の長辺の長さとしてもよい。   When it is determined in step S301 that the second and subsequent shots are taken, the process proceeds to step S601, where it is determined whether or not the subject ratio in the trimming size is within a predetermined range. The process proceeds to step S307, but if it is outside the predetermined range, the process proceeds to step S302. More specifically, assuming that the predetermined range is 20% to 80%, for example, when the captured image size is 100, when the subject size is less than 20 or exceeds 80, the process proceeds to step S602. . Here, the size may be simply the area, or the length of the long side in the vertical and horizontal directions.

ステップS601を経由した場合、ステップS304では、トリミングのアスペクトを決定し直してもよいし、アスペクトに関しては画角の変動を可能な限り減らすためにステップS303で決定したアスペクトと同じにしてもよい。   In the case of passing through step S601, the trimming aspect may be determined again in step S304, or the aspect may be the same as the aspect determined in step S303 in order to reduce the change in the angle of view as much as possible.

また、ステップS601の所定範囲は被写体の種類、撮影モード、被写体までの距離情報の少なくとも1つに応じて可変にしてもよい。例えば、被写体が子供のときや、撮影モードがスポーツモードのときや、被写体までの距離が近いときは、被写体が素早く動きまわる可能性を考慮して、所定範囲内を10%〜90%とし、簡単にはトリミングサイズが切り替わらないようにする。   Further, the predetermined range in step S601 may be varied according to at least one of the type of subject, the shooting mode, and distance information to the subject. For example, when the subject is a child, when the shooting mode is sport mode, or when the distance to the subject is short, the predetermined range is set to 10% to 90% in consideration of the possibility of the subject moving quickly, Easy to avoid changing the trimming size.

このように変形例では、被写体の動きや被写体の検出バラつきに影響を受けず、連写のトリミング画像に連続性をもたせることができるため、トリミング画像だけを画像表示部28で次々と表示する際のユーザのストレスを低減するだけでなく、トリミングサイズに占める被写体の割合に応じて適応的にトリミングサイズを変えることで、被写体が動きまわっても被写体がトリミング画角からはみ出したり、被写体が小さくなり過ぎてバランスの低い構図となったりすることを防止できる。   In this way, in the modified example, continuous shooting trimmed images can be given continuity without being affected by subject movement or subject detection variation, so that only the trimmed images are displayed one after another on the image display unit 28. In addition to reducing the user's stress, adaptively changing the trimming size according to the proportion of the subject in the trimming size allows the subject to protrude from the trimming angle of view even when the subject moves, and the subject becomes smaller It is possible to prevent the composition from becoming too low in balance.

<他の実施形態>
本発明は、以下の処理を実行することによっても実現される。即ち、上記実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
<Other embodiments>
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads and executes the program code. It is processing to do. In this case, the program and the storage medium storing the program constitute the present invention.

10:撮影レンズ、12:シャッター、14:撮像素子、16:A/D変換器、18:タイミング発生回路、20:画像処理回路、22:メモリ制御回路、24:画像表示メモリ、26:D/A変換器、28:画像表示部、30:メモリ、32:画像圧縮・伸長回路、40:露光制御部、42:測距制御部、44:ズーム制御部、46:バリア制御部、48:ストロボ、50:システム制御回路、52:メモリ、54:表示部、56:不揮発性メモリ、60:モードダイヤルスイッチ、62:シャッタースイッチSW1、64:シャッタースイッチSW2、66:操作部、80:電源制御部、82:コネクタ、84:コネクタ、86:電源、90:インタフェース、92:コネクタ、94:インタフェース、96:コネクタ、98:記録媒体着脱検知部、100:画像処理装置、102:保護手段、104:光学ファインダ、110:通信部、112:コネクタ(またはアンテナ)、200:記録媒体、202:記録部、204:インタフェース、206:コネクタ、210:記録媒体、212:記録部、214:インタフェース、216:コネクタ   10: photographing lens, 12: shutter, 14: image sensor, 16: A / D converter, 18: timing generation circuit, 20: image processing circuit, 22: memory control circuit, 24: image display memory, 26: D / A converter, 28: image display unit, 30: memory, 32: image compression / decompression circuit, 40: exposure control unit, 42: distance measurement control unit, 44: zoom control unit, 46: barrier control unit, 48: strobe 50: System control circuit, 52: Memory, 54: Display unit, 56: Non-volatile memory, 60: Mode dial switch, 62: Shutter switch SW1, 64: Shutter switch SW2, 66: Operation unit, 80: Power control unit , 82: connector, 84: connector, 86: power supply, 90: interface, 92: connector, 94: interface, 96: connector, 98: recording medium De-detection unit, 100: Image processing apparatus, 102: Protection means, 104: Optical finder, 110: Communication unit, 112: Connector (or antenna), 200: Recording medium, 202: Recording unit, 204: Interface, 206: Connector 210: Recording medium 212: Recording unit 214: Interface 216: Connector

Claims (8)

時間的に連続した画像を取得する画像取得手段と、
前記画像から主要被写体を検出する被写体検出手段と、
前記時間的に連続した画像の2枚目以降において前記主要被写体を追尾して検出する追尾検出手段と、
前記主要被写体情報に基づいて被写体領域を決定する被写体領域決定手段と、
前記主要被写体情報と前記被写体領域に基づいてトリミング構図を決める構図決定手段と、
を備え、
少なくとも前記構図手段で決定するトリミングサイズとトリミングアスペクトは、前記時間的に連続した画像の1枚目で決定し、また前記トリミング位置は、前記時間的に連続した画像の二枚目以降は前記追尾検出被写体情報によって決定されることを特徴とする画像処理装置。
Image acquisition means for acquiring temporally continuous images;
Subject detection means for detecting a main subject from the image;
Tracking detection means for tracking and detecting the main subject in the second and subsequent images of the temporally continuous image;
Subject region determining means for determining a subject region based on the main subject information;
Composition determining means for determining a trimming composition based on the main subject information and the subject region;
With
At least the trimming size and the trimming aspect determined by the composition means are determined for the first image of the temporally continuous image, and the trimming position is the tracking for the second and subsequent images of the temporally continuous image. An image processing apparatus characterized by being determined by detected subject information.
前記時間的に連続した画像とは、撮影してから次の撮影までの間隔が所定短時間以内であることを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the time-sequential images have a predetermined short time interval from one image capture to the next image capture. さらに画像の領域ごとの距離情報を取得する距離情報取得手段を備え、前記被写体領域決定手段は、前記主要被写体情報と前記距離情報に基づいて決定することを特徴とする請求項1または2に記載の画像処理装置。 The distance information acquiring unit for acquiring distance information for each area of the image, and the subject region determining unit determines based on the main subject information and the distance information. Image processing apparatus. 前記被写体領域決定手段は、前記時間的に連続した画像の2枚目以降では前記距離情報は使用しないことを特徴とする請求項3に記載の画像処理装置。 The image processing apparatus according to claim 3, wherein the subject area determination unit does not use the distance information for the second and subsequent images of the temporally continuous images. 前記構図決定手段は、前記被写体検出または前記追尾検出ができない場合、前記被写体検出と前記被写体領域算出と前記トリミング構図決めをやり直すことを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。 5. The composition determination unit according to claim 1, wherein the composition determination unit redoes the subject detection, the subject area calculation, and the trimming composition determination when the subject detection or the tracking detection cannot be performed. Image processing device. 前記構図決定手段は、トリミングサイズに占める被写体サイズの割合に応じて構図を決定することを特徴とする請求項1乃至5のいずれか1項に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the composition determination unit determines the composition according to a ratio of a subject size to a trimming size. さらにトリミングサイズ更新手段を備え、トリミングサイズに占める被写体サイズの割合が所定範囲を超えたら、少なくともトリミングサイズを更新することを特徴とする請求項1乃至6のいずれか1項に記載の画像処理装置。 7. The image processing apparatus according to claim 1, further comprising trimming size updating means, wherein at least the trimming size is updated when the ratio of the subject size to the trimming size exceeds a predetermined range. . 前記トリミングサイズ更新手段は、被写体の種類、撮影モード、被写体までの距離情報の少なくとも1つに応じて前記所定範囲を可変とすることを特徴とする請求項1乃至7のいずれか1項に記載の画像処理装置。 8. The trimming size update unit makes the predetermined range variable according to at least one of a subject type, a shooting mode, and distance information to the subject. Image processing apparatus.
JP2017104283A 2017-05-26 2017-05-26 Imaging apparatus and control method thereof, program, and storage medium Pending JP2018201101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017104283A JP2018201101A (en) 2017-05-26 2017-05-26 Imaging apparatus and control method thereof, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017104283A JP2018201101A (en) 2017-05-26 2017-05-26 Imaging apparatus and control method thereof, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2018201101A true JP2018201101A (en) 2018-12-20

Family

ID=64668377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017104283A Pending JP2018201101A (en) 2017-05-26 2017-05-26 Imaging apparatus and control method thereof, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2018201101A (en)

Similar Documents

Publication Publication Date Title
US7893984B2 (en) Image capturing apparatus, method of controlling the same, and program
JP5383356B2 (en) IMAGING DEVICE, INFORMATION PROCESSING DEVICE, IMAGING DEVICE CONTROL METHOD, INFORMATION PROCESSING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP5366584B2 (en) Imaging apparatus, image processing method, and program
JP5889247B2 (en) Image processing apparatus, image processing method, image processing program, and imaging apparatus
JP2007081732A (en) Imaging apparatus
JP2005167697A (en) Electronic camera having red-eye correction function
JP4906632B2 (en) Image processing apparatus, image processing method, and image processing program
JP2010103947A (en) Image processing apparatus, imaging apparatus, and image processing method
JP2006005640A (en) Imaging device, and its control method, program, and storage medium
JP2015097322A (en) Imaging apparatus, control method of the same, program, and storage medium
JP2017041797A (en) Imaging apparatus, control method and program
JP2012090041A (en) Image processing device, method, and program
JP6256298B2 (en) IMAGING DEVICE, ITS CONTROL METHOD AND PROGRAM
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP6353585B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2018201101A (en) Imaging apparatus and control method thereof, program, and storage medium
JP4401974B2 (en) Imaging apparatus and control method thereof
JP6611566B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP6289068B2 (en) Imaging apparatus and control method thereof
JP5828722B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2011130198A (en) Imaging apparatus, control method thereof and program
JP2008060844A (en) Image processor and image processing method
JP2005110128A (en) Imaging apparatus and imaging control method
JP2006203665A (en) Imaging device and method therefor, and recording medium and program
JP2016208206A (en) Recording apparatus

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20191125