JP2016029828A - Imaging device, imaging method, and program - Google Patents

Imaging device, imaging method, and program Download PDF

Info

Publication number
JP2016029828A
JP2016029828A JP2015204755A JP2015204755A JP2016029828A JP 2016029828 A JP2016029828 A JP 2016029828A JP 2015204755 A JP2015204755 A JP 2015204755A JP 2015204755 A JP2015204755 A JP 2015204755A JP 2016029828 A JP2016029828 A JP 2016029828A
Authority
JP
Japan
Prior art keywords
bright spot
image
processing
bright
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015204755A
Other languages
Japanese (ja)
Other versions
JP6138211B2 (en
Inventor
国重 恵二
Keiji Kunishige
恵二 国重
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.)
Olympus Corp
Original Assignee
Olympus Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP2015204755A priority Critical patent/JP6138211B2/en
Publication of JP2016029828A publication Critical patent/JP2016029828A/en
Application granted granted Critical
Publication of JP6138211B2 publication Critical patent/JP6138211B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging device, an imaging method, and a program capable of cross filter processing appropriate for live view display or a moving image.SOLUTION: The imaging device converts a subject image to an electric signal, outputs image data with a live view, divides the image data into plural areas for each predetermined frame, and configures at least one of the areas as a bright point detection area (S41 to S47). Then, the imaging device detects a bright point within the configured bright point detection area, performs a bright point process at the position of the detected bright point (S47), and displays the image subjected to the bright point process (S51).SELECTED DRAWING: Figure 5

Description

本発明は、クロスフィルタと類似の特殊効果を施すことが可能な撮像装置、撮像方法、およびプログラムに関する。   The present invention relates to an imaging apparatus, an imaging method, and a program capable of applying a special effect similar to a cross filter.

従来より、静止画撮影の際に、光学フィルタであるクロスフィルタを装着し、特殊効果を施す手法が知られている。また、近年、デジタルカメラ等の撮像装置において、静止画撮影を行う際に、クロスフィルタを装着して撮影する代わりに、画像処理によりクロスフィルタと類似の特殊効果を施すことが提案されている。   Conventionally, a technique for applying a special effect by attaching a cross filter, which is an optical filter, is known when taking a still image. In recent years, it has been proposed to apply a special effect similar to that of a cross filter by image processing instead of shooting with a cross filter when shooting a still image in an imaging apparatus such as a digital camera.

例えば、特許文献1には、静止画撮影された画像の中から輝度の高い部分を抽出し、高輝度の中心に光のスジ(以下、光条という)を画像処理によって施し、クロスフィルタと類似の特殊効果を達成する可能な電子スチルカメラが開示されている。この電子スチルカメラによれば、光学クロスフィルタを装着することなく、電気的なスイッチによりデジタル処理だけで手軽に光条効果を得ることができる。   For example, in Patent Document 1, a portion with high luminance is extracted from an image taken with a still image, and a light streak (hereinafter referred to as “light stripe”) is applied to the center of high luminance by image processing. An electronic still camera capable of achieving the special effects is disclosed. According to this electronic still camera, the optical streak effect can be easily obtained only by digital processing using an electrical switch without mounting an optical cross filter.

特開平6−30373号公報JP-A-6-30373

近年のデジタルカメラでは、液晶モニタ等の表示部に動画で被写体像を表示するライブビュー表示を行い、撮影者はライブビュー表示を確認しながら静止画や動画の撮影を行うのが一般的となっている。このライブビュー表示においても、前述のクロスフィルタと類似の特殊効果を付与する画像処理ができると便利である。しかしながら、動画であるライブビュー表示を行う際に、クロスフィルタ効果を与える画像処理を行うのは、困難であった。   In recent digital cameras, a live view display in which a subject image is displayed as a moving image is displayed on a display unit such as a liquid crystal monitor, and a photographer generally shoots a still image or a movie while checking the live view display. ing. Also in this live view display, it is convenient if image processing that gives a special effect similar to the above-described cross filter can be performed. However, when performing live view display as a moving image, it has been difficult to perform image processing that provides a cross filter effect.

すなわち、クロスフィルタ効果を与えるためには、画像全体をスキャンして輝点を探し出し、探し出した輝点の輝度や色に応じてクロス画像を描写しなければならず、これらの一連の処理を行うには、非常に時間がかかってしまう。特に、(1)対象画像が大きければ大きい程、輝点を探すための時間が増加し、(2)クロスフィルタの光条の数が多い程、また長さが長い程、処理時間が増加する。さらに、(3)被写体の輝点数が多い程、処理時間が増加し、また処理時間が変動してしまう。   That is, in order to give the cross filter effect, the entire image is scanned to find a bright spot, and the cross image must be drawn according to the brightness and color of the found bright spot, and a series of these processes is performed. It takes a very long time. In particular, (1) the larger the target image, the longer the time for searching for bright spots, and (2) the longer the length of the cross filter, the longer the processing time. . Furthermore, (3) the processing time increases and the processing time fluctuates as the number of bright spots on the subject increases.

従来のように静止画を撮影し、記録済みの静止画を編集処理するのであれば、クロスフィルタ効果を与えるための画像処理は可能である。しかし、ライブビュー表示や、動画撮影のように、所定のフレームレート、例えば、30fps(frame-per-second)程度の高速で動画処理される場合には、クロスフィルタ効果を与えるための画像処理は、前述の(1)〜(3)のため処理負担が大きく、現実にはクロスフィルタ効果を与えることは困難であった。また、前述の(3)のため、通常のライブビュー表示や動画撮影において、撮影方向を変化させると、処理時間の変動に伴い、フレームレートが変動してしまい、不自然なライブビュー表示や動画表現になってしまった。   If a still image is photographed and a recorded still image is edited as in the past, image processing for providing a cross filter effect is possible. However, when a moving image is processed at a predetermined frame rate, for example, about 30 fps (frame-per-second), such as live view display or moving image shooting, image processing for providing a cross filter effect is not performed. Because of the above (1) to (3), the processing load is large, and in reality it was difficult to give a cross filter effect. In addition, because of the above (3), if the shooting direction is changed in normal live view display or moving image shooting, the frame rate will change with the change in processing time, resulting in an unnatural live view display or moving image. It became an expression.

本発明は、このような事情を鑑みてなされたものであり、ライブビュー表示や動画に相応しいクロスフィルタ処理が可能な撮像装置、撮像方法、およびプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and an object thereof is to provide an imaging apparatus, an imaging method, and a program capable of performing a cross-filter process suitable for live view display and moving images.

上記目的を達成するため第1の発明に係わる撮像装置は、被写体像を電気信号に変換しライブビューで画像データを出力する撮像部と、上記画像データに対して、所定フレーム毎に複数の領域に分割し、そのうち少なくとも一つの領域を輝点検出領域として設定する輝点領域設定部と、上記輝点領域設定部によって設定された上記輝点検出領域内の輝点を検出する輝点検出部と、上記輝点検出部によって検出された上記輝点の輝点位置において輝点処理を行う輝点処理部と、上記輝点処理部によって輝点処理された画像を表示用または記録用に出力する画像出力部と、を有する。   In order to achieve the above object, an imaging apparatus according to a first invention includes an imaging unit that converts a subject image into an electrical signal and outputs image data in a live view, and a plurality of regions for each predetermined frame with respect to the image data. A bright spot area setting section for setting at least one area as a bright spot detection area, and a bright spot detection section for detecting a bright spot in the bright spot detection area set by the bright spot area setting section A bright spot processing section that performs bright spot processing at the bright spot position of the bright spot detected by the bright spot detection section, and outputs an image that has been bright spot processed by the bright spot processing section for display or recording An image output unit.

第2の発明に係わる撮像装置は、上記第1の発明において、上記輝点領域設定部は、縦横に最小限のサイズ以上に上記輝点検出領域を設定する。
第3の発明に係わる撮像装置は、上記第1の発明において、上記輝点領域設定部は、上記輝点検出領域をランダムに順次設定する。
In the imaging apparatus according to a second aspect of the present invention, in the first aspect, the bright spot area setting unit sets the bright spot detection area at least in the vertical and horizontal directions.
In the imaging device according to a third aspect of the present invention, in the first aspect, the bright spot area setting unit sequentially sets the bright spot detection areas in a random order.

第4の発明に係わる撮像装置は、上記第1の発明において、上記輝点処理部における輝点処理は、クロスフィルタ処理である。
第5の発明に係わる撮像装置は、上記第1の発明において、上記輝点処理部は、連続するフレームの輝点処理の際に、少なくとも一部の明るさ、輝線の長さ、輝線の本数、輝線の角度、色、大きさの何れかを変える。
In the imaging device according to a fourth invention, in the first invention, the bright spot processing in the bright spot processing section is a cross filter process.
The imaging device according to a fifth invention is the imaging device according to the first invention, wherein the bright spot processing unit performs at least a part of brightness, a length of a bright line, and a number of bright lines when performing bright spot processing of successive frames. Change the angle, color, or size of the bright line.

第6の発明に係わる撮像装置は、上記第1の発明において、上記輝点処理部は、設定された輝点検出領域内で処理する輝点の数を限定する。   In the imaging apparatus according to a sixth aspect of the present invention, in the first aspect, the bright spot processing unit limits the number of bright spots to be processed within the set bright spot detection area.

第7の発明に係わる撮像方法は、被写体像を電気信号に変換しライブビューで画像データを出力する第1出力ステップと、上記画像データに対して、所定フレーム毎に複数の領域に分割し、そのうち少なくとも一つの領域を輝点検出領域として設定する設定ステップと、上記設定された上記輝点検出領域内の輝点を検出する検出ステップと、上記検出された輝点の輝点位置において輝点処理を行う処理ステップと、上記輝点処理された画像を表示用または記録用に出力する第2出力ステップと、を有する。   According to a seventh aspect of the present invention, there is provided an imaging method according to a first output step of converting a subject image into an electrical signal and outputting image data in a live view, and dividing the image data into a plurality of regions for each predetermined frame. A setting step for setting at least one of the areas as a bright spot detection area, a detection step for detecting a bright spot in the set bright spot detection area, and a bright spot at the bright spot position of the detected bright spot A processing step for performing processing, and a second output step for outputting the image subjected to the bright spot processing for display or recording.

第8の発明に係わるプログラムは、被写体像を電気信号に変換しライブビューで画像データを出力する第1出力ステップと、上記画像データに対して、所定フレーム毎に複数の領域に分割し、そのうち少なくとも一つの領域を輝点検出領域として設定する設定ステップと、上記設定された上記輝点検出領域内の輝点を検出する検出ステップと、上記検出された輝点の輝点位置において輝点処理を行う処理ステップと、上記輝点処理された画像を表示用または記録用に出力する第2出力ステップと、をコンピュータに実行させる。   A program according to an eighth invention includes a first output step of converting a subject image into an electrical signal and outputting image data in a live view, and dividing the image data into a plurality of regions for each predetermined frame, A setting step for setting at least one area as a bright spot detection area, a detection step for detecting a bright spot in the set bright spot detection area, and a bright spot process at the bright spot position of the detected bright spot And a second output step of outputting the bright spot processed image for display or recording.

本発明によれば、ライブビュー表示や動画に相応しいクロスフィルタ処理が可能な撮像装置、撮像方法、およびプログラムを提供することができる。   According to the present invention, it is possible to provide an imaging apparatus, an imaging method, and a program that can perform cross-filter processing suitable for live view display and moving images.

本発明の一実施形態に係わるカメラの主として電気的構成を示すブロック図である。1 is a block diagram mainly showing an electrical configuration of a camera according to an embodiment of the present invention. 本発明の一実施形態に係わるカメラの背面側から見た外観斜視図である。It is the external appearance perspective view seen from the back side of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラにおいて、クロスフィルタ効果を与える領域を説明する図である。It is a figure explaining the area | region which gives the cross filter effect in the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのメイン動作を示すフローチャートである。4 is a flowchart illustrating a main operation of the camera according to the embodiment of the present invention. 本発明の一実施形態に係わるカメラのライブビュー動作を示すフローチャートである。It is a flowchart which shows the live view operation | movement of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのクロスフィルタ処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the cross filter process of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラの飽和点検出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the saturation point detection process of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのクロスフィルタ描画処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the cross filter drawing process of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのライブビュー動作の変形例を示すフローチャートである。It is a flowchart which shows the modification of the live view operation | movement of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのクロスフィルタ動画撮影の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the cross filter moving image photography of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのクロスフィルタ動画撮影の第1変形例の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the 1st modification of the cross filter video recording of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのクロスフィルタ動画撮影の第1変形例における演出効果設定の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the production effect setting in the 1st modification of the cross filter video recording of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのクロスフィルタ動画撮影の第2の変形例の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the 2nd modification of the cross filter video recording of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのクロスフィルタでの画像を説明する図である。It is a figure explaining the image in the cross filter of the camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるカメラのクロスフィルタ動画撮影の第2の変形例における画像を説明する図である。It is a figure explaining the image in the 2nd modification of cross filter animation photography of the camera concerning one embodiment of the present invention.

以下、図面に従って本発明を適用したカメラを用いて好ましい実施形態について説明する。本発明の好ましい一実施形態に係わるカメラは、デジタルカメラであり、撮像部を有し、この撮像部によって被写体像を画像データに変換し、この変換された画像データに基づいて、被写体像を本体の背面等に配置した表示部にライブビュー表示する。撮影者はライブビュー表示を観察することにより、構図やシャッタチャンスを決定する。レリーズ操作時には、画像データが記録媒体に記録される。記録媒体に記録された画像データは、再生モードを選択すると、表示部に再生表示することができる。また、クロスフィルタモードを設定すると、クロスフィルタ処理が施されたライブビュー表示がなされ、また、動作撮影の際には、クロスフィルタ処理が施された画像データが記録される。   Hereinafter, a preferred embodiment will be described using a camera to which the present invention is applied according to the drawings. A camera according to a preferred embodiment of the present invention is a digital camera, includes an imaging unit, converts a subject image into image data by the imaging unit, and converts the subject image into a main body based on the converted image data. Live view is displayed on the display unit arranged on the back of the camera. The photographer determines the composition and the photo opportunity by observing the live view display. During the release operation, image data is recorded on the recording medium. The image data recorded on the recording medium can be reproduced and displayed on the display unit when the reproduction mode is selected. When the cross filter mode is set, live view display subjected to the cross filter processing is performed, and image data subjected to the cross filter processing is recorded at the time of motion shooting.

図1は、本発明の一実施形態に係わるカメラ100の主として電気的構成を示すブロック図である。撮影レンズ101の光軸上に、絞り機構103、シャッタ105および撮像素子107が配置されている。撮像素子107の出力はA/D変換部109に接続され、A/D変換部109の出力はメモリ110に接続されている。メモリ110は画像処理部111とシステム制御部116に接続されている。システム制御部116には、撮像制御部108、シャッタ制御部106、絞り制御部104、レンズ制御部102、露出制御部112、AF処理部113、フラッシュ制御部121、不揮発性メモリ118、外部メモリ114、表示部115、操作部117、電源制御部120がそれぞれ接続されている。上述の撮像制御部108は撮像素子107に接続されており、シャッタ制御部106はシャッタ105に接続されており、絞り制御部104は絞り103に接続されており、レンズ制御部102は撮影レンズ101に接続されている。また、電源制御部120は電源部119に接続されており、フラッシュ制御部121はフラッシュ充電部122とフラッシュ発光部123にそれぞれ接続されている。   FIG. 1 is a block diagram mainly showing an electrical configuration of a camera 100 according to an embodiment of the present invention. An aperture mechanism 103, a shutter 105, and an image sensor 107 are disposed on the optical axis of the photographing lens 101. The output of the image sensor 107 is connected to the A / D converter 109, and the output of the A / D converter 109 is connected to the memory 110. The memory 110 is connected to the image processing unit 111 and the system control unit 116. The system control unit 116 includes an imaging control unit 108, a shutter control unit 106, an aperture control unit 104, a lens control unit 102, an exposure control unit 112, an AF processing unit 113, a flash control unit 121, a nonvolatile memory 118, and an external memory 114. The display unit 115, the operation unit 117, and the power control unit 120 are connected to each other. The above-described imaging control unit 108 is connected to the imaging element 107, the shutter control unit 106 is connected to the shutter 105, the aperture control unit 104 is connected to the aperture 103, and the lens control unit 102 is the imaging lens 101. It is connected to the. The power control unit 120 is connected to the power supply unit 119, and the flash control unit 121 is connected to the flash charging unit 122 and the flash light emitting unit 123, respectively.

撮影レンズ101は、被写体光束を撮像素子107に集光させ、被写体像を結像させるための光学系である。この撮影レンズ101は、システム制御部116からの指示に応じて動作するレンズ制御部102により光軸方向に移動され、焦点状態が変化する。絞り機構103は、撮影レンズ101を介して撮像素子107に入射する被写体光束の入射量を調節する。絞り機構103は、システム制御部116からの指示に応じて動作する絞り制御部104により開口量が制御される。   The photographing lens 101 is an optical system for condensing a subject light beam on the image sensor 107 and forming a subject image. The photographing lens 101 is moved in the optical axis direction by the lens control unit 102 that operates in response to an instruction from the system control unit 116, and the focus state changes. The diaphragm mechanism 103 adjusts the incident amount of the subject light beam incident on the image sensor 107 via the photographing lens 101. The aperture amount of the aperture mechanism 103 is controlled by the aperture controller 104 that operates in accordance with an instruction from the system controller 116.

シャッタ105は、撮影レンズ101によって形成される被写体像の光束の開閉を行うものであり、公知のレンズシャッタやフォーカルプレーンシャッタ等によって構成される。シャッタ105は、システム制御部116からの指示に応じて動作するシャッタ制御部106によりシャッタ開口時間(シャッタ速度値)が制御される。   The shutter 105 opens and closes the light flux of the subject image formed by the photographing lens 101, and is configured by a known lens shutter, focal plane shutter, or the like. The shutter opening time (shutter speed value) of the shutter 105 is controlled by the shutter control unit 106 that operates in accordance with an instruction from the system control unit 116.

撮像部として機能する撮像素子107は、CMOSイメージセンサやCCDイメージセンサ等の二次元撮像センサであり、前面に配置されたベイヤ―配列のカラーフィルタと、このカラーフィルタに対応して配列されたフォトダイオード等の光電変換素子から構成される。各カラーフィルタとこれに対応する各光電変換素子から構成される画素群によって撮像領域が構成される。撮像素子107は、撮影レンズ101により集光された光を各画素で受光し光電流に変換し、この光電流をコンデンサに蓄積し、アナログ電圧信号(画像信号)としてA/D変換部109に出力する。撮像制御部108は、システム制御部116からの指示に応じて撮像素子107の動作制御を行う。   The image sensor 107 functioning as an image capturing unit is a two-dimensional image sensor such as a CMOS image sensor or a CCD image sensor. A Bayer array color filter arranged on the front surface and a photo array corresponding to the color filter are provided. It is composed of photoelectric conversion elements such as diodes. An imaging region is configured by a pixel group including each color filter and a corresponding photoelectric conversion element. The image sensor 107 receives the light collected by the photographing lens 101 by each pixel and converts it into a photocurrent, accumulates this photocurrent in a capacitor, and sends it to the A / D converter 109 as an analog voltage signal (image signal). Output. The imaging control unit 108 controls the operation of the imaging element 107 in accordance with an instruction from the system control unit 116.

A/D変換部109は、撮像素子107から出力されるアナログ電圧信号(画像信号)をデジタル画像信号(画像データ)に変換する。メモリ110は、A/D変換部109において得られた画像データや、画像処理部111において処理された画像データ等、各種データを一時的に記憶する記憶部である。なお、本明細書においては、撮像素子107から出力される画像信号に基づく信号であれば、A/D変換部109によってA/D変換された信号のみならず画像処理された信号も含めて画像データと称する場合がある。   The A / D conversion unit 109 converts an analog voltage signal (image signal) output from the image sensor 107 into a digital image signal (image data). The memory 110 is a storage unit that temporarily stores various data such as image data obtained by the A / D conversion unit 109 and image data processed by the image processing unit 111. In this specification, as long as the signal is based on the image signal output from the image sensor 107, the image includes not only the signal A / D converted by the A / D converter 109 but also the image processed signal. Sometimes referred to as data.

画像処理部111は、メモリ110に一時記憶された画像データを読み出し、この画像データに対して、ホワイトバランス補正処理、同時化処理、色変換処理等の画像処理を行う。また、画像処理部111は、後述する外部メモリ114に記録する際に画像圧縮を行い、また外部メモリ114から読み出した圧縮された画像データの伸張を行う。   The image processing unit 111 reads out image data temporarily stored in the memory 110 and performs image processing such as white balance correction processing, synchronization processing, and color conversion processing on the image data. The image processing unit 111 performs image compression when recording in an external memory 114 described later, and decompresses compressed image data read from the external memory 114.

露出制御部112はメモリ110に一時記憶された画像データを用いて被写体輝度(被写体を含むシーンの明るさ)を算出する。なお、専用の測光センサを用いて被写体輝度を算出するようにしても勿論かまわない。   The exposure control unit 112 calculates subject brightness (brightness of the scene including the subject) using the image data temporarily stored in the memory 110. Of course, the subject brightness may be calculated using a dedicated photometric sensor.

AF(Auto Focus)処理部113は、メモリ110に一時記憶された画像データから高周波成分の信号を抽出し、AF積算処理により合焦評価値を取得する。システム制御部116は、合焦評価値に基づいてレンズ制御部102を通じて、撮影レンズ101が合焦位置となるように駆動制御を行う。なお、AF処理部113は、TTL位相差AFセンサ等、専用のセンサを設け、この専用センサの出力に基づいて撮影レンズ101の焦点ずれ量を求めるようにしても勿論かまわない。露出制御部112およびAF処理部113は、静止画撮影時と動画撮影時ではそれぞれの撮影モードに適した処理を行い、両者の処理は異なっている。   An AF (Auto Focus) processing unit 113 extracts a high-frequency component signal from image data temporarily stored in the memory 110, and acquires a focus evaluation value by AF integration processing. Based on the focus evaluation value, the system control unit 116 performs drive control through the lens control unit 102 so that the photographing lens 101 is in the in-focus position. Of course, the AF processing unit 113 may be provided with a dedicated sensor such as a TTL phase difference AF sensor, and the focus shift amount of the photographing lens 101 may be obtained based on the output of the dedicated sensor. The exposure control unit 112 and the AF processing unit 113 perform processing suitable for each shooting mode during still image shooting and during moving image shooting, and the processing of both is different.

システム制御部116は、CPU(Central Processing Unit:中央処理装置)等を含むASIC(Application Specific Circuit:特定用途向け集積回路)で構成され、撮像制御部108やフラッシュ制御部121等のカメラ100の各種シーケンスを統括的に制御する。システム制御部116は、後述するように、撮像素子107からの画像データに対して輝点領域を設定する輝点領域設定部として機能する。また、設定された輝点領域内で、輝点を検出する輝点検出部として、また検出された輝点の輝点位置において輝点処理を行う輝点処理部として、また輝点処理された画像を表示用または記録用に出力する画像出力部としても機能する。   The system control unit 116 includes an ASIC (Application Specific Circuit) including a CPU (Central Processing Unit) and the like, and various types of the camera 100 such as the imaging control unit 108 and the flash control unit 121. Centrally control the sequence. As will be described later, the system control unit 116 functions as a bright spot area setting section that sets a bright spot area for image data from the image sensor 107. In addition, as a bright spot detection unit for detecting a bright spot within the set bright spot region, a bright spot processing unit for performing bright spot processing at the bright spot position of the detected bright spot, and bright spot processing. It also functions as an image output unit that outputs an image for display or recording.

操作部117は、図2に示すような電源釦117a、レリーズ釦117b、撮影モードダイヤル117c、動画釦117d、ファンクション釦117e、十字釦117f、OK釦117g、メニュー釦、各種入力キー等の操作部材を含む。ユーザが操作部117のいずれかの操作部材を操作すると、システム制御部116は、ユーザの操作に応じた各種シーケンスを実行する。   The operation unit 117 includes operation members such as a power button 117a, a release button 117b, a shooting mode dial 117c, a moving image button 117d, a function button 117e, a cross button 117f, an OK button 117g, a menu button, and various input keys as shown in FIG. including. When the user operates one of the operation members of the operation unit 117, the system control unit 116 executes various sequences according to the user's operation.

操作部117の内の電源釦117aはカメラ100の電源のオンオフを指示するための操作部材であり、電源釦117aが押されるとシステム制御部116は電源オンとし、再度押されると電源オフとする。レリーズ釦117bは、1stレリーズスイッチと2ndレリーズスイッチの2段スイッチを有している。レリーズ釦117bが半押しされると1stレリーズスイッチがオンとなり、半押しから更に押し込まれ全押しされると2ndレリーズスイッチがオンとなる。1stレリーズスイッチがオンとなると、システム制御部116は、AE処理やAF処理等撮影準備シーケンスを実行する。また2ndレリーズスイッチがオンとなると、システム制御部116は、静止画の撮影シーケンスを実行し、撮影を行う。   The power button 117a in the operation unit 117 is an operation member for instructing the power on / off of the camera 100. The system control unit 116 is turned on when the power button 117a is pressed, and the power is turned off when the power button 117a is pressed again. . The release button 117b has a two-stage switch including a 1st release switch and a 2nd release switch. When the release button 117b is half-pressed, the 1st release switch is turned on. When the release button 117b is further pressed halfway and fully pressed, the 2nd release switch is turned on. When the 1st release switch is turned on, the system control unit 116 executes a shooting preparation sequence such as AE processing and AF processing. When the 2nd release switch is turned on, the system control unit 116 executes a still image shooting sequence to perform shooting.

操作部117の内の動画釦117dは、動画撮影の開始と停止を指示する釦である。最初に動画釦117dを押下げると動画撮影を開始し、再度、動画釦117dを押下げると動画撮影を停止する。撮影モードダイヤル117cは、オートモード、絞り優先モード、シャッタ速度優先モード、ムービー撮影モード(動画撮影モード)、シーンモード、バルブ撮影モード等を設定するためのダイヤルである。   The moving image button 117d in the operation unit 117 is a button for instructing start and stop of moving image shooting. When the moving image button 117d is first depressed, moving image shooting starts. When the moving image button 117d is depressed again, moving image shooting is stopped. The shooting mode dial 117c is a dial for setting an auto mode, an aperture priority mode, a shutter speed priority mode, a movie shooting mode (moving image shooting mode), a scene mode, a bulb shooting mode, and the like.

外部メモリ114は、例えば、カメラ本体に着脱自在に記憶媒体であり、画像処理部111において圧縮された画像データおよびその付随データが記録される。また、記憶された画像データは読み出され、表示部115に再生表示される。なお、画像データ等を記録するための記録媒体として、カメラ本体に着脱可能な外部メモリに限らず、カメラ本体に内蔵のハードディスク等の記録媒体であってもかまわない。   The external memory 114 is, for example, a storage medium that is detachable from the camera body, and stores the image data compressed by the image processing unit 111 and its associated data. The stored image data is read out and reproduced and displayed on the display unit 115. The recording medium for recording image data or the like is not limited to an external memory that can be attached to and detached from the camera body, but may be a recording medium such as a hard disk built in the camera body.

表示部115は、カメラ本体の背面等に配置された液晶モニタ115a(図2参照)等を含み、画像データに基づいてライブビュー表示を行う。また、表示部115は、外部メモリ114に記録された撮影画像の再生表示を行い、さらに露出制御値等の表示や撮影モード等設定のためのメニュー画面の表示を行う。このメニュー画面において、後述するクロスフィルタモードの設定を行う。メニュー画面以外にも、ファンクション釦117e等の操作部材によって設定するようにしても構わない。なお、画像等を表示できるものであれば、液晶モニタに限らず、有機EL等のディスプレイでもよい。   The display unit 115 includes a liquid crystal monitor 115a (see FIG. 2) disposed on the back surface of the camera body and the like, and performs live view display based on image data. In addition, the display unit 115 reproduces and displays the captured image recorded in the external memory 114, and further displays a menu screen for setting an exposure control value and the like and setting a shooting mode and the like. On this menu screen, a cross filter mode to be described later is set. In addition to the menu screen, it may be set by an operation member such as the function button 117e. In addition, as long as it can display an image etc., not only a liquid crystal monitor but a display, such as organic EL, may be used.

不揮発性メモリ118は、電気的に書き換え可能な不揮発性メモリであり、カメラ100の動作に必要な各種パラメータを記憶している。また、不揮発性メモリ118は、システム制御部116において実行するプログラムも記憶している。システム制御部116は、不揮発性メモリ118に記憶されているプログラムに従い、また不揮発性メモリ118に記憶されているパラメータを読み込み、各種シーケンスを実行する。   The nonvolatile memory 118 is an electrically rewritable nonvolatile memory, and stores various parameters necessary for the operation of the camera 100. The nonvolatile memory 118 also stores a program executed by the system control unit 116. The system control unit 116 reads parameters stored in the non-volatile memory 118 according to a program stored in the non-volatile memory 118, and executes various sequences.

電源部119は、カメラ100の各部の動作に必要な電力を供給し、例えば、2次電池等の電源電池で構成される。電源制御部120は、電源部119を構成する電池の電源電圧や残量の検出等、電源部119の制御を行う。   The power supply unit 119 supplies power necessary for the operation of each unit of the camera 100, and is configured by a power supply battery such as a secondary battery, for example. The power supply control unit 120 controls the power supply unit 119 such as detection of a power supply voltage and a remaining amount of a battery constituting the power supply unit 119.

フラッシュ制御部121は、システム制御部116からの指示に応じてフラッシュ充電部122における充電動作、およびフラッシュ発光部123における発光動作を制御する。フラッシュ充電部122は、電源部119の電源電圧を昇圧する昇圧回路や、ここで昇圧された電圧でエネルギを蓄積するコンデンサを有し、フラッシュ発光部123の発光を行うに必要なエネルギを蓄積する。フラッシュ発光部123は、例えば、キセノン(Xe)管等の発光管や反射傘を備えており、フラッシュ制御部121から発光指示を受信した際に、フラッシュ充電部122のコンデンサに蓄積されたエネルギを利用して発光する。   The flash control unit 121 controls the charging operation in the flash charging unit 122 and the light emitting operation in the flash light emitting unit 123 according to an instruction from the system control unit 116. The flash charging unit 122 includes a booster circuit that boosts the power supply voltage of the power supply unit 119 and a capacitor that stores energy using the boosted voltage. The flash charging unit 122 stores energy necessary for the flash light emitting unit 123 to emit light. . The flash light-emitting unit 123 includes, for example, a light-emitting tube such as a xenon (Xe) tube and a reflector, and the energy stored in the capacitor of the flash charging unit 122 when the light-emitting instruction is received from the flash control unit 121 Use to emit light.

次に、本実施形態に係わるカメラ100の外観について、図2を用いて説明する。図2は、背面側からみたカメラ100の外観図であり、カメラ本体10に交換レンズ20が装着されている。カメラ本体10の上面には、電源釦117a、レリーズ釦117b、撮影モードダイヤル117cが配置されている。   Next, the appearance of the camera 100 according to the present embodiment will be described with reference to FIG. FIG. 2 is an external view of the camera 100 as seen from the back side. The interchangeable lens 20 is attached to the camera body 10. On the upper surface of the camera body 10, a power button 117a, a release button 117b, and a shooting mode dial 117c are arranged.

また、カメラ本体10の背面には、液晶モニタ115aが配置されており、これによって被写体像のライブビュー表示やメニュー画面表示、記録画像の再生表示等の各種表示を行う。カメラ本体10の背面の右上側には、動画釦117d、ファンクション釦117eが配置されており、また、これらの釦の下側には、十字釦117gとOK釦117fが配置されている。十字釦117gは、液晶モニタ115aに表示されるメニュー画面等において、カーソルを画面上で移動させ、OK釦117fを押下げるとカーソルによって選択された項目を確定させることができる。   In addition, a liquid crystal monitor 115a is disposed on the back of the camera body 10, thereby performing various displays such as live view display of a subject image, menu screen display, and playback display of a recorded image. A moving image button 117d and a function button 117e are arranged on the upper right side of the rear surface of the camera body 10, and a cross button 117g and an OK button 117f are arranged below these buttons. The cross button 117g moves the cursor on the menu screen or the like displayed on the liquid crystal monitor 115a, and can confirm the item selected by the cursor by pressing the OK button 117f.

次に、本実施形態におけるクロスフィルタ処理について、図3を用いて説明する。図3(a)は、撮像素子107の画素群を縦4・横6の24のエリアに分割した様子を示す。本実施形態においては、1フレームごとにランダマイズ関数によって、乱数を発生させ、この乱数に基づいて、24分割されたエリアを選択し、このエリアとこのエリアに隣接する全4エリアを効果付与領域(輝点処理を施す輝点検出領域)とし、その効果付与領域に対して輝点処理を施す。   Next, the cross filter processing in the present embodiment will be described with reference to FIG. FIG. 3A shows a state where the pixel group of the image sensor 107 is divided into 24 areas of 4 × 6. In the present embodiment, a random number is generated for each frame by a randomizing function, an area divided into 24 is selected based on the random number, and this area and all four areas adjacent to this area are added to the effect imparting area ( (Bright spot detection area to which bright spot processing is performed), and bright spot processing is performed on the effect imparting area.

例えば、図3(b)は1フレーム目であり、ここでは、(1,1)、(1,2)、(2,1)、(2,2)の各エリアにクロスフィルタ処理等の輝点処理が施される。続く2フレーム目では、図3(c)に示すように、(4,1)、(4,2)、(5,1)、(5,2)の各エリアにクロスフィルタ処理等の輝点処理が施される。続く3フレーム目では、図3(d)に示すように、(3,2)、(3,3)、(4,2)、(4,3)の各エリアにクロスフィルタ処理等の輝点処理が施される。   For example, FIG. 3B is the first frame, and here, in each area of (1, 1), (1, 2), (2, 1), (2, 2), a brightness such as cross filter processing is obtained. Point processing is performed. In the subsequent second frame, as shown in FIG. 3 (c), bright spots such as cross filter processing are provided in the areas (4, 1), (4, 2), (5, 1), and (5, 2). Processing is performed. In the subsequent third frame, as shown in FIG. 3 (d), bright areas such as cross filter processing are provided in the areas (3, 2), (3, 3), (4, 2), and (4, 3). Processing is performed.

4フレーム目では、図3(e)に示すように、(2,3)、(2,4)、(3,3)、(3,4)の各エリアにクロスフィルタ処理等の輝点処理が施される。続く5フレーム目では、図3(f)に示すように、(5,2)、(5,3)、(6,2)、(6,3)の各エリアにクロスフィルタ処理等の輝点処理が施される。続く6フレーム目では、図3(g)に示すように、(1,3)、(1,4)、(2,3)、(2,4)の各エリアにクロスフィルタ処理等の輝点処理が施される。   In the fourth frame, as shown in FIG. 3E, bright spot processing such as cross filter processing is performed in each of the areas (2, 3), (2, 4), (3, 3), and (3,4). Is given. In the subsequent fifth frame, as shown in FIG. 3 (f), bright spots such as cross filter processing are provided in the areas (5, 2), (5, 3), (6, 2), and (6, 3). Processing is performed. In the subsequent sixth frame, as shown in FIG. 3G, bright spots such as cross filter processing are provided in the areas (1, 3), (1, 4), (2, 3), and (2, 4). Processing is performed.

7フレーム目では、図3(h)に示すように、(2,1)、(2,2)、(3,1)、(3,2)の各エリアにクロスフィルタ処理等の輝点処理が施される。続く8フレーム目では、図3(i)に示すように、(4,3)、(4,4)、(5,3)、(5,4)の各エリアにクロスフィルタ処理等の輝点処理が施される。続く9フレーム目では、図3(j)に示すように、(5,1)、(5,2)、(6,1)、(6,2)の各エリアにクロスフィルタ処理等の輝点処理が施される。   In the seventh frame, as shown in FIG. 3 (h), bright spot processing such as cross filter processing is performed in each area of (2, 1), (2, 2), (3, 1), (3, 2). Is given. In the subsequent 8th frame, as shown in FIG. 3 (i), bright areas such as cross filter processing are applied to the areas (4, 3), (4, 4), (5, 3), and (5, 4). Processing is performed. In the subsequent 9th frame, as shown in FIG. 3 (j), bright areas such as cross filter processing are provided in the areas (5, 1), (5, 2), (6, 1), and (6, 2). Processing is performed.

10フレーム目では、図3(k)に示すように、(5,3)、(5,4)、(6,3)、(6,4)の各エリアにクロスフィルタ処理等の輝点処理が施される。本実施形態においては、10フレーム目に効果を施すと、再度、1フレーム目に戻る。図3から分かるように、1フレーム目から10フレームまで、エリア選択が一巡すると、全てのエリアでクロスフィルタ処理が実行される。これらのエリアの設定と輝点処理としてのクロスフィルタ処理は、システム制御部116によって実行される。   In the 10th frame, as shown in FIG. 3 (k), bright spot processing such as cross filter processing is performed in each of the areas (5, 3), (5, 4), (6, 3), and (6, 4). Is given. In this embodiment, when the effect is applied to the 10th frame, the operation returns to the 1st frame again. As can be seen from FIG. 3, when the area selection is completed from the first frame to the 10th frame, the cross filter process is executed in all areas. The setting of these areas and the cross filter process as the bright spot process are executed by the system control unit 116.

次に、本実施形態におけるカメラ100の動作について、図4ないし図13に示すフローチャートを用いて説明する。これらのフローは不揮発性メモリ118に記憶されているプログラムに従ってシステム制御部116によって実行される。図4に示すフローはメインルーチン動作である。このメインルーチンは、操作部117の電源釦117aがオンとなると実行を開始する。   Next, the operation of the camera 100 in the present embodiment will be described using the flowcharts shown in FIGS. These flows are executed by the system control unit 116 according to a program stored in the nonvolatile memory 118. The flow shown in FIG. 4 is a main routine operation. This main routine starts executing when the power button 117a of the operation unit 117 is turned on.

メインルーチンの動作が開始すると、まず、ライブビュー動作を行う(S1)。ライブビュー動作では、撮像素子107から出力される画像信号が、画像処理部111によってライブビュー表示用に画像処理され、この処理された画像データが表示部115の液晶モニタ115aに表示される。撮影者はこのライブビュー表示を見て、静止画や動画の構図を決定し、シャッタタイミングを決める。また、クロスフィルタモード設定時に、ライブビュー表示を行う際には、図3を用いて説明したような効果付与領域(輝点検出領域)に対してクロスフィルタ処理を画像データに施し、表示を行う。ライブビュー動作の詳細については、図5を用いて後述する。   When the operation of the main routine is started, a live view operation is first performed (S1). In the live view operation, the image signal output from the image sensor 107 is subjected to image processing for live view display by the image processing unit 111, and the processed image data is displayed on the liquid crystal monitor 115 a of the display unit 115. The photographer looks at this live view display, determines the composition of the still image or moving image, and determines the shutter timing. Further, when live view display is performed when the cross filter mode is set, the image data is subjected to cross filter processing for the effect imparting region (bright spot detection region) described with reference to FIG. 3 and displayed. . Details of the live view operation will be described later with reference to FIG.

ライブビュー動作を行うと、次に、操作部117のレリーズ釦117bが半押しされたか、すなわち、1stレリーズスイッチがオンか否かの判定を行う(S3)。この判定の結果、1stレリーズスイッチがオンとなると、AF処理を実行する(S5)。このステップでは、システム制御部116は、AF処理部113によって得られる合焦評価値に基づいて、撮像素子107上に結像される被写体像が最も鮮明になるように、言い換えると合焦状態となるように、レンズ制御部102を介して撮影レンズ101の焦点状態を制御する。   When the live view operation is performed, it is next determined whether or not the release button 117b of the operation unit 117 is half-pressed, that is, whether or not the 1st release switch is on (S3). If the result of this determination is that the first release switch is on, AF processing is executed (S5). In this step, the system control unit 116 makes the subject image formed on the image sensor 107 the clearest based on the focus evaluation value obtained by the AF processing unit 113, in other words, the focus state. Thus, the focus state of the taking lens 101 is controlled via the lens control unit 102.

AF処理を行うと、続いて、測光を行い(S7)、露出演算を行う(S9)。これらのステップにおいて、露出制御部112は被写体輝度の算出を行い、システム制御部116は算出された被写体輝度を用いて絞り値とシャッタ速度等の露出制御値を求める。絞り値とシャッタ速度の算出にあたっては、アペックス演算またはテーブル参照により決定する。   Once the AF process is performed, photometry is performed (S7) and exposure calculation is performed (S9). In these steps, the exposure control unit 112 calculates subject brightness, and the system control unit 116 obtains exposure control values such as an aperture value and a shutter speed by using the calculated subject brightness. The aperture value and shutter speed are calculated by apex calculation or table reference.

ステップS9において露出演算を行うと、または、ステップS3における判定の結果、1stレリーズがオンでなかった場合には、次に、動画釦117dに連動してオンオフする動画スイッチがオフからオンに変化したか否かの判定を行う(S11)。ここでは、操作部117の動画釦117dの状態に基づいて判定する。   If exposure calculation is performed in step S9 or if the result of determination in step S3 is that the first release is not on, then the movie switch that turns on and off in conjunction with the movie button 117d changes from off to on. It is determined whether or not (S11). Here, the determination is made based on the state of the moving image button 117d of the operation unit 117.

ステップS11における判定の結果、動画スイッチがオフからオンに変化した場合には、次に、動画撮影のフラグが0、静止画撮影のフラグがxであるか否かを判定する(S13)。ここで、動画フラグの0は動画撮影が停止状態にあることを示し、動画フラグの1は動画撮影が続行中であることを示す。また、静止画撮影フラグの1は静止画撮影中であることを示し、静止画撮影フラグの0は静止画撮影終了であることを示す。動画撮影または静止画撮影のフラグのxは、任意状態、すなわち、いずれの状態であってもよく、それまでの状態を示すフラグが保持される。なお、カメラ100のリセット時に、動画撮影のフラグおよび静止画撮影のフラグは、共に0にリセットされる。   If the result of determination in step S11 is that the moving image switch has changed from off to on, it is next determined whether or not the moving image shooting flag is 0 and the still image shooting flag is x (S13). Here, 0 of the moving image flag indicates that moving image shooting is stopped, and 1 of the moving image flag indicates that moving image shooting is continuing. Still image shooting flag 1 indicates that still image shooting is being performed, and still image shooting flag 0 indicates that still image shooting has ended. The flag x for moving image shooting or still image shooting may be in an arbitrary state, that is, any state, and a flag indicating the previous state is held. When the camera 100 is reset, both the moving image shooting flag and the still image shooting flag are reset to zero.

ステップS13における判定の結果、動画撮影フラグが0、すなわち動画撮影が停止状態にあった場合には、動画撮影フラグを1とし、静止画撮影フラグをxとする(S15)。ここで、xとするとは、フラグに変更をかけずに、保持することを意味する。このフラグ設定を行うと、動画の撮影を開始する(S17)。ここでは、撮像素子107によって取得した画像データを画像処理部111によって動画処理した後、外部メモリ114に記録する。また、同時に表示部115にライブビュー表示を行う。なお、クロスフィルタモードの設定時に、動画撮影を行う場合には、図3を用いて説明したようなクロスフィルタ処理を記録用の画像データに施し、記録する。このクロスフィルタモード設定時の動画撮影の詳細については、図10を用いて後述する。   If the result of determination in step S13 is that the movie shooting flag is 0, that is, movie shooting has been stopped, the movie shooting flag is set to 1, and the still image shooting flag is set to x (S15). Here, x means that the flag is held without being changed. When this flag is set, shooting of a moving image is started (S17). Here, the image data acquired by the image sensor 107 is processed by the image processing unit 111 and then recorded in the external memory 114. At the same time, live view display is performed on the display unit 115. When moving image shooting is performed when the cross filter mode is set, the cross filter processing as described with reference to FIG. 3 is performed on the recording image data and recorded. Details of moving image shooting when the cross filter mode is set will be described later with reference to FIG.

一方、ステップS13における判定の結果、動画撮影フラグ1、すなわち動画撮影中であった場合には、動画撮影フラグを0とし、静止画撮影フラグをxとする(S19)。動画撮影中にステップS11において、動画釦117dが押下げられたことを検出したことから、このステップでは動画撮影停止のためのフラグ処理を行う。このフラグ設定を行うと、動画の撮影を停止する(S21)。ここでは、動画の画像データの記録動作を終了するための処理を行う。   On the other hand, if the result of determination in step S13 is that the moving image shooting flag 1, that is, moving image shooting is in progress, the moving image shooting flag is set to 0 and the still image shooting flag is set to x (S19). Since it is detected in step S11 that the moving image button 117d has been pressed during moving image shooting, flag processing for stopping moving image shooting is performed in this step. When this flag is set, the movie shooting is stopped (S21). Here, processing for ending the recording operation of moving image data is performed.

ステップS17において動画の撮影を開始すると、またはステップS21において動画の撮影を停止すると、次に、静止画が撮影終了であるか否かを判定する(S23)。後述するステップS27において2ndレリーズがオンすると、静止画撮影が開始し、静止画の画像データを外部メモリ114に記録すると静止画撮影が終了する。そこで、このステップでは、これらの一連の動作中であるか否かに基づいて判定する。   When shooting of a moving image is started in step S17 or when shooting of a moving image is stopped in step S21, it is next determined whether or not shooting of a still image has ended (S23). When the 2nd release is turned on in step S27 to be described later, still image shooting starts. When still image data is recorded in the external memory 114, still image shooting ends. Therefore, in this step, determination is made based on whether or not a series of these operations are being performed.

ステップS23における判定の結果、静止画撮影が終了していれば、次に、動画撮影フラグをxとし、静止画撮影フラグを0とする(S25)。このフラグ設定を行うと、次に、2ndレリーズがオンか否かを判定する(S27)。ここでは、操作部117のレリーズ釦117bが全押しされたか否かを判定する。   If the result of determination in step S23 is that still image shooting has been completed, then the moving image shooting flag is set to x and the still image shooting flag is set to 0 (S25). Once this flag is set, it is next determined whether or not the 2nd release is on (S27). Here, it is determined whether or not the release button 117b of the operation unit 117 is fully pressed.

ステップS27における判定の結果、2ndレリーズがオンであった場合には、次に、動画撮影フラグをxとし、静止画撮影フラグを1とする(S29)。そして、静止画撮影を実行する(S31)。ここでは、撮像素子107によって取得した画像データを画像処理部111によって静止画処理した後、外部メモリ114に記録する。   If the result of determination in step S27 is that the 2nd release is on, then the moving image shooting flag is set to x and the still image shooting flag is set to 1 (S29). Then, still image shooting is executed (S31). Here, the image data acquired by the image sensor 107 is subjected to still image processing by the image processing unit 111 and then recorded in the external memory 114.

静止画撮影を行うと、次に、動画撮影フラグが0、静止画撮影フラグが0であるか否かを判定する(S33)。ここでは、動画撮影中でもなく静止画撮影中でもないか否かを判定する。この判定の結果、Yesの場合、すなわち、動画撮影も終了し、また静止画撮影も終了している場合には、ステップS1に戻る。   If still image shooting has been carried out, it is next determined whether or not the moving image shooting flag is 0 and the still image shooting flag is 0 (S33). Here, it is determined whether it is not during moving image shooting or still image shooting. If the result of this determination is Yes, that is, if moving image shooting has ended and still image shooting has also ended, the process returns to step S1.

ステップS33における判定の結果、Noであった場合、すなわち、動画撮影中であるか又は静止画撮影中であった場合には、次に、動画撮影フラグが1、静止画撮影フラグが0であるか否かを判定する(S35)。ここでは、動画撮影中であるが静止画撮影中ではないかを判定する。   If the result of determination in step S33 is No, that is, if moving image shooting or still image shooting is in progress, then the moving image shooting flag is 1 and the still image shooting flag is 0. It is determined whether or not (S35). Here, it is determined whether a moving image is being shot but a still image is not being shot.

ステップS35における判定の結果、Yesであった場合、すなわち、静止画撮影が終了し、動画撮影が行われている場合には、ステップS3に戻り、動画撮影を続行する。一方、ステップS35における判定の結果、Noであった場合、すなわち、動画撮影は終了しているが、静止画撮影が終了していない場合には、ステップS11に戻り、静止画撮影を続行する。   If the result of determination in step S35 is Yes, that is, if still image shooting has been completed and moving image shooting has been performed, the flow returns to step S3 to continue moving image shooting. On the other hand, if the result of determination in step S35 is No, that is, if moving image shooting has ended, but still image shooting has not ended, the process returns to step S11 to continue still image shooting.

このように、本実施形態におけるメインフローにおいては、ライブビュー表示を行うと共に、動画釦117dが操作されるたびに動画撮影の開始と停止を交互に実行し、またレリーズ釦117bの全押しに応じて静止画撮影を実行する。クロスフィルタモードが設定されている場合には、ライブビュー表示や動画撮影時に効果付与領域に対してクロスフィルタ処理が施される。   Thus, in the main flow in the present embodiment, live view display is performed, and moving image shooting is started and stopped alternately each time the moving image button 117d is operated, and in response to the release button 117b being fully pressed. To execute still image shooting. When the cross filter mode is set, the cross filter process is performed on the effect imparting area during live view display or moving image shooting.

次に、ステップS1におけるライブビュー動作の詳細について図5を用いて説明する。ライブビュー動作に入ると、クロスフィルタモードが設定されているか否かを判定する(S41)。   Next, details of the live view operation in step S1 will be described with reference to FIG. When the live view operation is started, it is determined whether or not the cross filter mode is set (S41).

ステップS41における判定の結果、クロスフィルタモードが設定されていた場合には、次に、乱数を発生し(S43)、効果付与領域の決定を行う(S45)。ここでは、図3を用いて説明したように、撮像素子107の画素を縦4分割、横6分割の合計24のエリア、この中から、ランダムにエリアを選択し、この選択されたエリアに基づいて効果付与領域(輝点検出領域)を決定する。   If the result of determination in step S41 is that the cross filter mode has been set, then a random number is generated (S43), and an effect imparting region is determined (S45). Here, as described with reference to FIG. 3, the pixels of the image sensor 107 are divided into 4 vertical areas and 6 horizontal areas, for a total of 24 areas, and an area is randomly selected from these areas, and based on the selected area. To determine the effect application region (bright spot detection region).

まず、乱数を発生させ、乱数によって決まるエリアと、そのエリアの右隣、下、右斜め下の合計4エリアを効果付与領域とする。なお、本実施形態においては、4つのエリアを効果付与領域(輝点検出領域)としているが、輝点検出領域の数や、その輝点検出領域内の画素数等に応じて、エリアの数としては4より多くても少なくても構わない。   First, a random number is generated, and an area determined by the random number and a total of four areas on the right side, lower side, and lower right side of the area are set as an effect imparting area. In the present embodiment, four areas are used as the effect imparting areas (bright spot detection areas), but the number of areas depends on the number of bright spot detection areas, the number of pixels in the bright spot detection areas, and the like. The number may be more or less than four.

ステップS43において乱数を発生させるが、本実施形態においては、乱数(RND)は、0.000000・・・〜0.999999・・・の値を発生する。図3に示した例では、縦4分割、横6分割であることから、
x=INT(RND×6+1)、y=INT(RND×4+1)
をエリアの位置と定義し、このエリアとエリアの右隣、下、右斜め下を輝点検出領域とすればよい。ここで、INTは括弧内の整数部分を意味する。
In step S43, a random number is generated. In the present embodiment, the random number (RND) generates a value from 0.000000 to 0.9999999. In the example shown in FIG. 3, since it is divided into 4 vertical and 6 horizontal,
x = INT (RND × 6 + 1), y = INT (RND × 4 + 1)
Is defined as the position of the area, and the area next to the right side, the lower side, and the lower right side of the area may be defined as the bright spot detection region. Here, INT means an integer part in parentheses.

乱数発生および効果付与領域の決定を行うと、次に、クロスフィルタ処理を行う(S47)。ここでは、ステップS45において決定された効果付与領域内において、明るく輝いている輝点部分を検出し、この検出された輝点部分に対して、光学クロスフィルタと同様の効果を与えるクロスフィルタ描画処理を施す。このクロスフィルタ処理の詳細については、図6ないし図8を用いて後述する。   Once the random number generation and the effect imparting area are determined, a cross filter process is performed (S47). Here, a cross-filter drawing process for detecting a bright bright spot portion in the effect applying region determined in step S45 and giving the same effect as the optical cross filter to the detected bright spot portion. Apply. Details of the cross filter processing will be described later with reference to FIGS.

ステップS47においてクロスフィルタ処理を行うと、またはステップS41における判定の結果、クロスフィルタモードが設定されていなかった場合には、次に、表示を行う(S51)。ここでは、撮像素子107からの画像データに基づいて、表示部115にライブビュー表示を行う。クロスフィルタモードが設定されている場合には、クロスフィルタ処理を施したライブビュー表示を行う。   If the cross filter process is performed in step S47 or if the result of determination in step S41 is that the cross filter mode has not been set, then display is performed (S51). Here, live view display is performed on the display unit 115 based on image data from the image sensor 107. When the cross filter mode is set, live view display with cross filter processing is performed.

表示を行うと、次に、次のフレームの取得が完了した否かを判定する(S53)。撮像素子107が次のフレームの画像データを取得したか否かを判定する。フレームレートが30fpsの場合には、1/30秒に1回の割合でフレームが取得される。この判定の結果、次のフレームの取得が完了していなかった場合には、ステップS51に戻り、一方、取得完了の場合には、ステップS41に戻る。   Once the display has been carried out, it is next determined whether or not the acquisition of the next frame has been completed (S53). It is determined whether the image sensor 107 has acquired image data of the next frame. When the frame rate is 30 fps, frames are acquired once every 1/30 seconds. If the result of this determination is that the acquisition of the next frame has not been completed, the process returns to step S51. On the other hand, if acquisition has been completed, the process returns to step S41.

次に、ステップS47のクロスフィルタ処理について、図6を用いて説明する。クロスフィルタ処理に入ると、まず、飽和点検出処理を行う(S61)。ここでは、ステップS45において決定された効果付与領域内の全画素のRGBの画像データについて、飽和値に対応する輝度値以上であるか否かを判定し、飽和値以上の輝点を検出する。この飽和点検出処理の詳細については、図7を用いて後述する。   Next, the cross filter processing in step S47 will be described with reference to FIG. When the cross filter process is started, a saturation point detection process is first performed (S61). Here, it is determined whether or not the RGB image data of all the pixels in the effect applying region determined in step S45 is equal to or higher than the luminance value corresponding to the saturation value, and a bright spot equal to or higher than the saturation value is detected. Details of the saturation point detection processing will be described later with reference to FIG.

飽和点検出処理を行うと、次に、クロスフィルタ描画処理を行う(S63)。ここでは、ステップS61において検出された輝点に対して、光学クロスフィルタを装着した場合と同様の効果を生ずる画像処理を施す。このクロスフィルタ描画処理の詳細については、図8を用いて後述する。   Once the saturation point detection process is performed, a cross filter drawing process is then performed (S63). Here, the bright spot detected in step S61 is subjected to image processing that produces the same effect as when the optical cross filter is mounted. Details of the cross filter drawing processing will be described later with reference to FIG.

次に、ステップS61の飽和点検出処理について、図7を用いて説明する。飽和点検出処理のフローに入ると、まず、飽和点を示すフラグfを0にリセットする(S71)。続いて、画素の位置を示す座標(x,y)をx=1、y=1に初期化する(S73)。なお、画素の座標は、設定された効果付与領域内の左上隅等を(1,1)の位置とする。   Next, the saturation point detection process in step S61 will be described with reference to FIG. If the flow of the saturation point detection process is entered, first, the flag f indicating the saturation point is reset to 0 (S71). Subsequently, coordinates (x, y) indicating the position of the pixel are initialized to x = 1 and y = 1 (S73). Note that the coordinates of the pixel have the position of (1, 1) at the upper left corner or the like in the set effect applying region.

続いて、位置(x,y)のRデータが255より大きいか否かを判定する(S75)。本実施形態においえは、画像データを構成するRGBの各データは、8ビットで構成されおり、その最大値を10進数で表わすと、255となる。従って、この数値255は、画像データのビット数に基づいて適宜決めればよく、また、飽和状態とみなせる程度であれば、ビット数で決まる最大値よりも小さな値でも構わない。   Subsequently, it is determined whether or not the R data at the position (x, y) is larger than 255 (S75). In the present embodiment, each RGB data constituting the image data is composed of 8 bits, and the maximum value is represented by 255. Therefore, the numerical value 255 may be determined as appropriate based on the number of bits of the image data, and may be a value smaller than the maximum value determined by the number of bits as long as it can be regarded as a saturated state.

ステップS75における判定の結果、R(x,y)≧255であった場合には、次に、(R,G,B,f)(x,y)=(R,G,B,1)とする(S77)。ここでは、位置(x,y)の画像データの内、Rデータ、Gデータ、Bデータは取得した値のままとし、飽和点を示すフラグfを1とする。フラグf=1とすることにより、位置(x,y)の画素の画像データは、飽和しており、輝点であることを示す。   If the result of determination in step S75 is R (x, y) ≧ 255, then (R, G, B, f) (x, y) = (R, G, B, 1) (S77). Here, among the image data at the position (x, y), the R data, the G data, and the B data are kept at the acquired values, and the flag f indicating the saturation point is set to 1. By setting the flag f = 1, the image data of the pixel at the position (x, y) is saturated and indicates a bright spot.

ステップS77において(R,G,B,f)(x,y)=(R,G,B,1)とすると、またはステップS75における判定の結果、R(x、y)<255であった場合には、次に、G(x,y)≧255であるか否かを判定する(S79)。ここでは、位置(x,y)のGデータが255より大きいか否かを判定する。   If (R, G, B, f) (x, y) = (R, G, B, 1) in step S77, or if R (x, y) <255 as a result of determination in step S75 Next, it is determined whether or not G (x, y) ≧ 255 (S79). Here, it is determined whether or not the G data at the position (x, y) is larger than 255.

ステップS79における判定の結果、G(x,y)≧255であった場合には、ステップS77と同様に、(R,G,B,f)(x,y)=(R,G,B,1)とする(S81)。この処理を行うと、またはステップS79における判定の結果、G(x,y)<255であった場合には、次に、B(x,y)≧255であるか否かを判定する(S83)。ここでは、位置(x,y)のBデータが255より大きいか否かを判定する。   As a result of the determination in step S79, if G (x, y) ≧ 255, as in step S77, (R, G, B, f) (x, y) = (R, G, B, 1) (S81). If this processing is performed or if the result of determination in step S79 is G (x, y) <255, it is next determined whether or not B (x, y) ≧ 255 (S83). ). Here, it is determined whether or not the B data at the position (x, y) is larger than 255.

ステップS83における判定の結果、B(x,y)≧255であった場合には、ステップS77と同様に、(R,G,B,f)(x,y)=(R,G,B,1)とする(S85)。この処理を行うと、またはステップS83における判定の結果、B(x,y)<255であった場合には、次に、画素の位置を表わすxをインクリメント、すなわち、xに1を加算する(S87)。   If the result of determination in step S83 is B (x, y) ≧ 255, as in step S77, (R, G, B, f) (x, y) = (R, G, B, 1) (S85). If this process is performed or if the result of determination in step S83 is B (x, y) <255, then x indicating the pixel position is incremented, that is, 1 is added to x ( S87).

ステップS87において、xをインクリメントすると、次に、x>最大座標であるか否かを判定する(S89)。前述したように、ステップS45において効果付与領域が決定されており、この決定された効果付与領域内のx座標について最大座標に達したか否かを判定する。この判定の結果、xが最大座標に達していなかった場合には、ステップS75に戻り、隣のx座標の位置における画素について、RGBデータのいずれかが飽和していないか検出する。   If x is incremented in step S87, it is next determined whether or not x> maximum coordinates (S89). As described above, the effect imparting region is determined in step S45, and it is determined whether or not the x coordinate in the determined effect imparting region has reached the maximum coordinate. As a result of this determination, if x has not reached the maximum coordinate, the process returns to step S75, and it is detected whether any of the RGB data is saturated for the pixel at the position of the adjacent x coordinate.

ステップS89における判定の結果、xが最大座標に達した場合には、次に、画素の位置を表わすyをインクリメント、すなわち、yに1を加算する(S91)。続いて、画素の位置を表わすxに1を設定する(S93)。   If the result of determination in step S89 is that x has reached the maximum coordinate, then y representing the pixel position is incremented, that is, 1 is added to y (S91). Subsequently, 1 representing x representing the pixel position is set (S93).

次に、y>最大座標であるか否かを判定する(S95)。ステップS45において決定された効果付与領域内のy座標について最大座標に達したか否かを判定する。この判定の結果、yが最大座標に達していなかった場合には、ステップS75に戻り、隣のy座標の位置における画素について、x=1から順次、RGBデータのいずれかが飽和していないか検出する。一方、判定の結果、yが最大座標に達すると、元のフローに戻る。   Next, it is determined whether or not y> maximum coordinates (S95). It is determined whether or not the y coordinate within the effect applying region determined in step S45 has reached the maximum coordinate. If the result of this determination is that y has not reached the maximum coordinate, the process returns to step S75, and for any pixel at the position of the adjacent y coordinate, is any of the RGB data sequentially saturated from x = 1? To detect. On the other hand, when y reaches the maximum coordinate as a result of the determination, the flow returns to the original flow.

次に、ステップS63のクロスフィルタ描画処理について、図8を用いて説明する。クロスフィルタ描画処理のフローに入ると、まず、ステップS73と同様に、画像データの画素の位置(x,y)をx=1、y=1に初期化する(S101)。   Next, the cross filter drawing process in step S63 will be described with reference to FIG. When the flow of the cross filter drawing process is entered, first, similarly to step S73, the pixel position (x, y) of the image data is initialized to x = 1 and y = 1 (S101).

画素位置を初期化すると、次に、(R,G,B,f)のf=1であるか否かを判定する(S103)。ステップS77、S81、またはS85において、RGBの画像データの内、少なくとも1つが飽和していると、飽和フラグfに1が設定される。このステップでは、画素位置(x,y)の画像データについて、飽和フラグfに1が設定されているか否かを判定する。   Once the pixel position is initialized, it is next determined whether or not (R, G, B, f) f = 1 (S103). In step S77, S81, or S85, if at least one of the RGB image data is saturated, 1 is set to the saturation flag f. In this step, it is determined whether or not 1 is set in the saturation flag f for the image data at the pixel position (x, y).

ステップS103における判定の結果、飽和フラグ1に1が設定されていた場合には、次に、(R、G,B)の色のクロスフィルタパターンの描画を行う(S105)。ここでは、飽和フラグ1が設定されていた画素位置(x,y)を中心としてその周辺に、光条を施す画像処理を行う。   If the result of determination in step S103 is that the saturation flag 1 has been set to 1, next, a cross filter pattern of the color (R, G, B) is drawn (S105). Here, image processing is performed in which a light stripe is applied around the pixel position (x, y) where the saturation flag 1 has been set.

クロスフィルタパターンの描画を行うと、またはステップS103における判定の結果、(R,G,B,f)のf=1でなかった場合には、次に、ステップS87と同様に、画素の位置を表わすxをインクリメントする(S107)。xのインクリメントを行うと、次に、ステップS89と同様に、x>最大座標であるか否かを判定する(S109)。この判定の結果、x>最大座標でなかった場合には、ステップS103に戻り、インクリメントしたxの座標位置の画素の画像データに対して前述の処理を繰り返す。   If the cross filter pattern is drawn or if the result of determination in step S103 is that f of (R, G, B, f) is not 1, then the pixel position is changed as in step S87. Indicate x is incremented (S107). Once x has been incremented, it is next determined whether or not x> maximum coordinates, as in step S89 (S109). As a result of this determination, if x> the maximum coordinate is not satisfied, the process returns to step S103, and the above-described processing is repeated for the image data of the pixel at the coordinate position of the incremented x.

一方、ステップS109における判定の結果、x>最大座標であった場合には、ステップS91と同様に、画素の位置を表わすyをインクリメントする(S111)。yのインクリメントを行うと、次に、ステップS93と同様に、画素の位置を表わすxに1を設定する(S113)。   On the other hand, if the result of determination in step S109 is that x> maximum coordinates, y representing the pixel position is incremented, as in step S91 (S111). Once y is incremented, 1 is set to x representing the position of the pixel, similarly to step S93 (S113).

続いて、ステップS95と同様に、y>最大座標であるか否かを判定する(S115)。この判定の結果、y>最大座標でなかった場合には、ステップS103に戻り、インクリメントしたy座標について、x=1から順次、前述の処理を繰り返す。一方、ステップS115における判定の結果、y>最大座標であった場合には、元のフローに戻る。   Subsequently, similarly to step S95, it is determined whether or not y> maximum coordinates (S115). As a result of this determination, if y> maximum coordinates are not satisfied, the process returns to step S103, and the above-described processing is repeated sequentially from x = 1 for the incremented y coordinates. On the other hand, if y> maximum coordinates as a result of the determination in step S115, the process returns to the original flow.

このように、本実施形態におけるライブビュー動作のフローにおいて、クロスフィルタモード設定時には、ライブビュー表示を行うためのフレーム画像を取得するたびに、効果付与領域を決定し、この決定された効果付与領域内で輝点検出(飽和点検出)を行い、この検出された輝点(飽和点)に対してクロスフィルタを装着したと同様の効果を与える画像処理(S105参照)を行っている。このクロスフィルタ処理の施された画像は、ライブビュー表示として表示部115に表示される。このため、撮影者は、クロスフィルタ処理が施された画像を容易に確認することができる。   As described above, in the flow of the live view operation in the present embodiment, when the cross filter mode is set, the effect applying region is determined every time the frame image for performing the live view display is acquired, and the determined effect applying region is determined. Bright spot detection (saturation point detection) is performed, and image processing (see S105) is performed that gives the same effect as the cross filter is attached to the detected bright spot (saturation point). The image subjected to the cross filter processing is displayed on the display unit 115 as a live view display. For this reason, the photographer can easily confirm the image on which the cross filter process has been performed.

次に、本実施形態におけるライブビュー動作の変形例について、図9を用いて説明する。図5ないし図8を用いて説明した本発明の一実施形態に係わるライブビュー動作では、1フレームの画像を取得するたびに、飽和点を検出し、この検出した飽和点の画像データに対して光条を表現するためのクロスフィルタ処理を施していた。このクロスフィルタ処理を行う領域を広くとると、処理に要する時間が長くなり、1フレームごとに処理することが困難となる。そこで、本変形例においては、数フレームごとにクロスフィルタ処理を行い、処理時間の短縮を図っている。   Next, a modified example of the live view operation in the present embodiment will be described with reference to FIG. In the live view operation according to the embodiment of the present invention described with reference to FIGS. 5 to 8, a saturation point is detected every time an image of one frame is acquired, and the image data of the detected saturation point is detected. A cross filter process for expressing the light stripes was performed. If the area for performing the cross filter processing is widened, the time required for the processing becomes long, and it becomes difficult to process every frame. Therefore, in this modification, cross filter processing is performed every several frames to shorten the processing time.

本変形例に係わるライブビュー動作のフローは、図5のライブビュー動作と比較し、ステップS48〜S50、S55、およびS57が追加されているだけであるので、この追加部分を中心に説明する。   The flow of the live view operation according to this modification example is only described with reference to steps S48 to S50, S55, and S57, as compared with the live view operation of FIG.

本変形例のライブビュー動作のフローに入り、クロスフィルタモードが設定されていた場合には(S41Yes)、乱数を発生し(S43)、効果付与領域を決定する(S43)。続いて、クロスフィルタ画像生成処理を行う(S48)。今、取得したライブビュー表示用のフレーム画像203(図14(a)参照)とすると、ステップS48において、このフレーム画像203とは別画像で、画像合成用クロスフィルタ画像201を生成する。この画像合成用クロスフィルタ画像201は、ライブビュー表示用のフレーム画像に基づいて、ステップS45において決定した効果付与領域の領域に光条201aを生成し、この光条201aのみを抽出した画像である。   When the live view operation flow of this modification is entered and the cross filter mode is set (S41 Yes), a random number is generated (S43), and an effect imparting region is determined (S43). Subsequently, cross filter image generation processing is performed (S48). Now, assuming that the acquired frame image 203 for live view display (see FIG. 14A), in step S48, an image composition cross-filter image 201 is generated as a separate image from the frame image 203. The image composition cross-filter image 201 is an image in which the light stripe 201a is generated in the effect applying area determined in step S45 based on the live view display frame image, and only the light stripe 201a is extracted. .

ステップS48において、クロスフィルタ画像を生成すると、次に、効果付与フラグとしてNを設定する(S49)。効果付与フラグは、何フレームごとにクロスフィルタによる効果を付与するかを示す自然数Nである。N回目の取得画像にクロスフィルタ処理を実行する。   If a cross filter image is generated in step S48, next, N is set as an effect applying flag (S49). The effect imparting flag is a natural number N indicating how many frames the effect of the cross filter is imparted. Cross filter processing is executed on the Nth acquired image.

効果付与フラグを設定すると、次に、クロスフィルタ画像合成処理を行う(S50)。ここでは、図14(b)に示すように、ステップS48において生成した画像合成用クロスフィルタ画像201に、ライブビュー表示用のフレーム画像203を合成し、表示用の合成画像205を生成する。   If the effect imparting flag is set, next, a cross filter image synthesis process is performed (S50). Here, as shown in FIG. 14B, the live view display frame image 203 is combined with the image combining cross-filter image 201 generated in step S48 to generate a display combined image 205.

クロスフィルタ画像合成処理を行うと、次に、表示を行い(S51)、次のフレーム画像の取得が完了したか否かを判定する(S53)。この判定の結果、次のフレーム画像の取得が完了していなかった場合には、ステップS51に戻る。   Once the cross filter image composition processing has been performed, display is then performed (S51), and it is determined whether acquisition of the next frame image has been completed (S53). If the result of this determination is that acquisition of the next frame image has not been completed, processing returns to step S51.

一方、ステップS53における判定の結果、次のフレーム画像の取得が完了した場合には、効果フラグから1を減算し、この減算値を効果付与フラグとする(S55)。続いて、この効果付与フラグが0か否かの判定を行う(S57)。この判定の結果、効果フラグが0でなかった場合には、ステップS50に戻る。したがって、効果付与フラグが0になるまでは、ステップS48において新たにクロスフィルタ画像を生成することなく、同じクロスフィルタ画像を、新たに取得したライブビュー表示用のフレーム画像と合成し、表示用合成画像を生成し、ライブビュー表示する。   On the other hand, if the result of determination in step S53 is that the acquisition of the next frame image has been completed, 1 is subtracted from the effect flag, and this subtraction value is used as the effect imparting flag (S55). Subsequently, it is determined whether or not this effect imparting flag is 0 (S57). If the result of this determination is that the effect flag is not 0, processing returns to step S50. Therefore, until the effect imparting flag becomes 0, the same cross filter image is synthesized with the newly acquired frame image for live view display without generating a new cross filter image in step S48, thereby combining the images for display. Generate an image and display it in live view.

ステップS57における判定の結果、効果付与フラグが0となると、ステップS41に戻る。このため、クロスフィルタモードが設定されていれば、新たな画像合成用クロスフィルタ画像を生成し、前述の処理を繰り返す。   As a result of the determination in step S57, when the effect imparting flag becomes 0, the process returns to step S41. Therefore, if the cross filter mode is set, a new cross filter image for image synthesis is generated, and the above-described processing is repeated.

このように、本変形例においては、所定フレーム(ここではNフレーム)毎に、画像合成用クロスフィルタ画像を生成しており、クロスフィルタ処理がNフレーム分ほど、長くかかっても、ライブビューのフレームレートを落とさずに済む。   As described above, in this modification, an image composition cross-filter image is generated for each predetermined frame (here, N frames), and even if the cross-filter processing takes as long as N frames, the live view There is no need to reduce the frame rate.

次に、ステップS17において開始し、ステップS21において停止する動画撮影において、クロスフィルタモードが設定されているときのクロスフィルタ動画撮影の詳細について、図10を用いて説明する。クロスフィルタ動画撮影のフローに入ると、まず、ステップS41と同様に、クロスフィルタモードに設定されているか否かを判定する(S121)。   Next, details of cross-filter moving image shooting when the cross-filter mode is set in moving image shooting starting in step S17 and stopping in step S21 will be described with reference to FIG. If the flow for cross-filter moving image shooting is entered, it is first determined whether or not the cross-filter mode is set (S121) as in step S41.

ステップS121における判定の結果、クロスフィルタモードが設定されていた場合には、図9のステップS43〜S57と同様の処理を行う。すなわち、ステップS43と同様に、乱数を発生し(S123)、この乱数に基づいて、ステップS45と同様に、効果付与領域を決定する(S125)。   If the result of determination in step S121 is that the cross filter mode has been set, processing similar to that in steps S43 to S57 in FIG. 9 is performed. That is, a random number is generated as in step S43 (S123), and an effect imparting region is determined based on the random number as in step S45 (S125).

効果付与領域を決定すると、次に、ステップS48と同様に、クロスフィルタ画像生成処理を行う(S127)。ここでは、図14(a)に示すように、フレーム画像203とは別画像で、画像合成用クロスフィルタ画像201を生成する。ただし、ライブビュー動作時には、ライブビュー表示用の画素数の画像データを用いていたが、動画撮影の際には、外部メモリ114に記録するレベルの画素数のフレーム画像203と画像合成用クロスフィルタ画像201を処理する。   Once the effect imparting region is determined, next, a cross filter image generation process is performed as in step S48 (S127). Here, as shown in FIG. 14A, the image synthesis cross-filter image 201 is generated as a separate image from the frame image 203. However, during live view operation, image data having the number of pixels for live view display is used. However, when shooting a moving image, the frame image 203 having the number of pixels to be recorded in the external memory 114 and the image synthesis cross filter are used. The image 201 is processed.

画像合成用クロスフィルタ画像を生成すると、次に、ステップS49と同様に、効果付与フラグにNを設定し(S129)、ステップS50と同様に、クロスフィルタ画像合成処理を行う(S131)。   Once the cross filter image for image synthesis is generated, next, N is set in the effect imparting flag as in step S49 (S129), and cross filter image synthesis processing is performed as in step S50 (S131).

ステップS121における判定の結果、クロスフィルタモードが設定されていなかった場合、またはステップS131においてクロスフィルタ画像合成処理を行うと、次に、表示を行う(S141)。ここでは、クロスフィルタ処理された動画撮影中の記録用画像データを、表示用画像データに変換して、表示部115に表示する。また、この表示と並行して、クロスフィルタ処理された画像データを、圧縮処理した後、外部メモリ114に記録する。なお、クロスフィルタモードが設定されていない場合には、通常の撮影画像の表示と、記録を行う。   If the result of determination in step S121 is that the cross filter mode has not been set, or if cross filter image composition processing has been performed in step S131, then display is performed (S141). Here, the image data for recording during moving image shooting subjected to the cross filter process is converted into display image data and displayed on the display unit 115. In parallel with this display, the cross-filtered image data is compressed and then recorded in the external memory 114. If the cross filter mode is not set, normal captured image display and recording are performed.

表示を行うと、次に、ステップS53と同様に、次のフレームの取得が完了した否かを判定する(S143)。この判定の結果、取得が完了していなければ、ステップS141に戻る。一方、次のフレームの取得が完了した場合には、次に、ステップS55と同様に、効果フラグから1を減算し、この減算値を効果付与フラグとし(S145)、この効果付与フラグが0か否かの判定を行う(S147)。この効果フラグが0でなければ、ステップS131に戻る。したがって、効果付与フラグが0になるまでは、ステップS127において新たにクロスフィルタ画像を生成することなく、同じクロスフィルタ画像を、新たに取得した記録用の撮影画像のフレーム画像と合成し、記録用合成画像を生成し、外部メモリ114に記録する。また、クロスフィルタ処理された撮影画像を、表示用に変換し、表示部115に表示する。   Once the display has been carried out, next, as in step S53, it is determined whether or not the acquisition of the next frame has been completed (S143). If the result of this determination is that acquisition has not been completed, processing returns to step S141. On the other hand, when acquisition of the next frame is completed, next, as in step S55, 1 is subtracted from the effect flag, and this subtraction value is used as the effect imparting flag (S145). It is determined whether or not (S147). If this effect flag is not 0, the process returns to step S131. Therefore, until the effect imparting flag becomes 0, the same cross filter image is synthesized with the frame image of the newly acquired recording image without generating a new cross filter image in step S127, and for recording. A composite image is generated and recorded in the external memory 114. In addition, the captured image subjected to the cross filter process is converted for display and displayed on the display unit 115.

一方、ステップS147における判定の結果、効果付与フラグが0となると、ステップS121に戻る。このため、クロスフィルタモードが設定されていれば、新たな画像合成用クロスフィルタ画像を生成し、動画の撮影を続行する。   On the other hand, if the result of the determination in step S147 is 0, the process returns to step S121. For this reason, if the cross filter mode is set, a new cross filter image for image synthesis is generated, and shooting of a moving image is continued.

このように、本実施形態におけるクロスフィルタ動画撮影では、図9を用いて説明したライブビュー動作とほぼ同様の処理を行うことにより、クロスフィルタ処理を施した動画を表示すると共に記録することができる。特に動画撮影の場合には、記録する画像データの容量が大きくなり、処理時間もかかることから、所定フレーム毎にクロスフィルタ処理を行うことにより、処理時間の短縮を図ることができる。   As described above, in the cross-filter moving image shooting in the present embodiment, the moving image subjected to the cross-filter process can be displayed and recorded by performing substantially the same processing as the live view operation described with reference to FIG. . In particular, in the case of moving image shooting, the amount of image data to be recorded becomes large and the processing time also takes. Therefore, the processing time can be shortened by performing the cross filter processing for each predetermined frame.

次に、本実施形態におけるクロスフィルタ動画撮影の第1の変形例を図11および図12を用いて説明する。本実施形態においては、クロスフィルタ動画撮影時のクロスフィルタ処理では、一律の光条を追加する画像処理であった。本変形例においては、クロスフィルタ処理にあたって、乱数を発生させ、この乱数によってランダムな変化を与えるようにしている。   Next, a first modification of cross-filter moving image shooting in the present embodiment will be described with reference to FIGS. In the present embodiment, the cross filter processing at the time of cross filter moving image shooting is image processing in which uniform light stripes are added. In this modification, a random number is generated in the cross filter process, and a random change is given by this random number.

図11に示す本変形例におけるクロスフィルタ動画撮影のフローは、図10に示した本発明の一実施形態におけるクロスフィルタ動画撮影のフローに対して、ステップS126を追加しただけであり、他のステップは一実施形態と同様である。ステップS126は、ステップS125において決定した効果付与領域に対するクロスフィルタ処理の演出効果を設定する。この演出効果設定の詳細について、図12を用いて説明する。   The cross-filter moving image shooting flow in the present modification shown in FIG. 11 is obtained by adding step S126 to the cross-filter moving image shooting flow in the embodiment of the present invention shown in FIG. Is the same as in the embodiment. In step S126, the effect of the cross filter process for the effect applying region determined in step S125 is set. Details of the effect setting will be described with reference to FIG.

演出効果設定のフローに入ると、まず、乱数を発生させ(S151)、続いて、発生した乱数に応じて光条の本数を設定する(S153)。光条の数としては、例えば、4本、6本、8本等、発生させた乱数に近い本数を設定する。   If the production effect setting flow is entered, first, a random number is generated (S151), and then the number of light stripes is set according to the generated random number (S153). As the number of light stripes, for example, a number close to the generated random number, such as 4, 6, 8, etc., is set.

光条の本数を設定すると、再び、乱数を発生させ(S155)、続いて、光条の長さを設定する(S157)。光条の長さとしては、例えば、ショート(=4)、ミドル(=6)、ロング(=8)の内、発生させた乱数が近い長さを設定する。なお、括弧内の数値は乱数の値である。   When the number of light stripes is set, a random number is generated again (S155), and then the length of the light stripe is set (S157). As the length of the light stripe, for example, a length close to the generated random number is set among short (= 4), middle (= 6), and long (= 8). The numbers in parentheses are random numbers.

光条の長さを設定すると、再び乱数を発生させ(S159)、続いて、光条角度を設定する(S161)。光条角度としては、例えば、0度(=4)、30度(=6)、45度(=8)の内、発生させた乱数が近い角度を設定する。なお、括弧内の数値は乱数の値である。   When the length of the light stripe is set, a random number is generated again (S159), and then the light stripe angle is set (S161). As the light stripe angle, for example, an angle close to the generated random number is set among 0 degrees (= 4), 30 degrees (= 6), and 45 degrees (= 8). The numbers in parentheses are random numbers.

光条角度を設定すると、再び、乱数を発生させ、光条色を設定する(S165)。光条色としては、例えば、赤(=4)、緑(=6)、青(=8)の内、発生させた乱数が近い色を設定する。なお、括弧内の数値は乱数の値である。光条色を設定すると、元のフローに戻る。   When the light stripe angle is set, a random number is generated again and the light stripe color is set (S165). As the light stripe color, for example, a color close to the generated random number is set among red (= 4), green (= 6), and blue (= 8). The numbers in parentheses are random numbers. When the light color is set, the original flow is restored.

このように、本変形例においては、光条の本数や、長さ、角度、色等について、クロスフィルタ処理を行うたびに異なるようにしている。このため、変化に富んだクロスフィルタ処理が施され、興味をそそる画像となる。なお、本変形例においては、乱数を発生させ、この乱数に応じて演出を設定していたが、これに限らず、数フレームに亘って所定のプログラムされた変化を与えるようにしても勿論かまわない。また、光条の変化も、例示したものに限らず、またその一部であっても構わない。   As described above, in this modification, the number of light stripes, the length, the angle, the color, and the like are changed every time the cross filter process is performed. For this reason, a variety of cross filter processes are performed, and the image becomes intriguing. In this modification, a random number is generated and an effect is set according to the random number. However, the present invention is not limited to this, and it is of course possible to give a predetermined programmed change over several frames. Absent. Further, the change of the light stripe is not limited to that illustrated, and may be a part thereof.

次に、本実施形態におけるクロスフィルタ動画撮影の第2の変形例を図13および図15を用いて説明する。一実施形態や第1変形例においては、効果付与フラグNフレーム間隔で、画像合成用クロスフィルタ画像を生成していた。この処理は、モーションJPEGに最適なクロスフィルタ処理であるが、MPEGを採用する場合には、キーフレームのみにクロスフィルタ処理による効果を付するようにしてもよい。キーフレームは通常2秒おきに現われるので、処理時間を十分にとることができ、このため、効果付与領域としては、前述の実施例や変形例よりも広くとることが可能となる。   Next, a second modification of cross-filter moving image shooting in the present embodiment will be described with reference to FIGS. In the embodiment and the first modification, the image synthesis cross-filter image is generated at the effect imparting flag N frame interval. This process is a cross filter process most suitable for motion JPEG. However, when MPEG is employed, the effect of the cross filter process may be applied only to key frames. Since the key frame usually appears every 2 seconds, a sufficient processing time can be taken. Therefore, the effect imparting region can be made wider than in the above-described embodiments and modifications.

本変形例は、図11に示した第1変形例のフローチャートにおいて、ステップS129における効果付与フラグの設定と、ステップS145における効果付与フラグから1を減算するステップを省略し、ステップS147における判定をキーフレームか否かの判定に変更した以外は、同様である。図11のフローと同一の処理を行うステップについては、同一のステップ番号を付し、相違点を中心に説明する。   In this modification, in the flowchart of the first modification shown in FIG. 11, the setting of the effect applying flag in step S129 and the step of subtracting 1 from the effect applying flag in step S145 are omitted, and the determination in step S147 is a key. This is the same except that the determination is made as to whether or not the frame. Steps that perform the same processing as in the flow of FIG. 11 are assigned the same step numbers, and differences will be mainly described.

ステップS121における判定の結果、クロスフィルタモードが設定されていた場合には、乱数を発生させ(S123)、この乱数に応じて効果付与領域の決定を行い(125)、演出効果を設定し(S126)、この設定された演出効果に従って、クロスフィルタ画像の生成処理を行う(S127)。ここでは、図15(a)に示すように、フレーム画像203とは別に、クロスフィルタ処理に用いる画像合成用クロスフィルタ画像201を生成する。   If the cross filter mode is set as a result of the determination in step S121, a random number is generated (S123), an effect imparting area is determined according to the random number (125), and an effect is set (S126). ), A cross filter image generation process is performed in accordance with the set effect (S127). Here, as shown in FIG. 15A, an image composition cross-filter image 201 used for cross-filter processing is generated separately from the frame image 203.

ステップS127においてクロスフィルタ画像の生成処理を行うと、第1変形例では、次に効果付与フラグの設定を行っていたが、本変形例では効果付与フラグを使用しないことからのこの設定を省略し、次に、クロスフィルタ画像合成処理を行う(S131)。ここでは、図15(b)に示すように、フレーム画像203に画像合成用クロスフィルタ画像201を合成し、合成画像205を生成する。   When the cross filter image generation process is performed in step S127, the effect imparting flag is set next in the first modification, but this setting is omitted because the effect imparting flag is not used in the present modification. Next, cross filter image synthesis processing is performed (S131). Here, as shown in FIG. 15B, the image synthesis cross-filter image 201 is synthesized with the frame image 203 to generate a synthesized image 205.

クロスフィルタ画像合成処理を行うと、次に、表示と記録を行い(S141)、次のフレームの取得が完了したか否かを判定する(S143)。この判定の結果、次のフレームの取得が完了していない場合には、ステップS141に戻り、表示を続行する。   Once the cross filter image composition processing has been performed, display and recording are then performed (S141), and it is determined whether or not acquisition of the next frame has been completed (S143). If the result of this determination is that acquisition of the next frame has not been completed, processing returns to step S141 and display continues.

一方、ステップS143における判定の結果、次のフレームの取得が完了すると、キーフレームか否かの判定を行う(S148)。前述したようにMPEGでは、所定時間間隔でキーフレームが現われる。このステップでは、現在、取得したフレームがキーフレームか否かを判定する。   On the other hand, when the acquisition of the next frame is completed as a result of the determination in step S143, it is determined whether or not it is a key frame (S148). As described above, in MPEG, key frames appear at predetermined time intervals. In this step, it is determined whether or not the acquired frame is a key frame.

ステップS148における判定の結果、キーフレームでない場合には、ステップS141に戻り、ステップS127において新たにクロスフィルタ画像を生成することなく、同じクロスフィルタ画像を、新たに取得した記録用の撮影画像のフレーム画像と合成し、記録用合成画像を生成し、外部メモリ114に記録する。また、クロスフィルタ処理された撮影画像を、表示用に変換し、表示部115に表示する。   If the result of determination in step S148 is not a key frame, processing returns to step S141, and the same cross-filter image is generated in step S127 without newly generating a cross-filter image. A composite image for recording is generated by combining with the image and recorded in the external memory 114. In addition, the captured image subjected to the cross filter process is converted for display and displayed on the display unit 115.

一方、ステップS148における判定の結果、キーフレームであった場合には、ステップS121に戻る。ステップS121に戻り、クロスフィルタモードが設定されていれば、新たな画像合成用クロスフィルタ画像を生成し、動画の撮影を続行する。   On the other hand, if the result of determination in step S148 is a key frame, processing returns to step S121. Returning to step S121, if the cross filter mode is set, a new cross filter image for image synthesis is generated, and shooting of a moving image is continued.

本変形例においては、図15(c)に示すように、所定時間間隔でキーフレームが現われ、キーフレームに対してのみ、合成画像205が表示・記録され、その間はフレーム画像203のみが表示・記録される。   In this modified example, as shown in FIG. 15C, key frames appear at predetermined time intervals, and the composite image 205 is displayed / recorded only on the key frames, and only the frame image 203 is displayed / recorded during that time. To be recorded.

このように、本発明の第2変形例においては、キーフレームを巧みに活用し、キーフレームに対してクロスフィルタ処理を施すようにしている。このため、効果付与フラグの管理が不要になる。   Thus, in the second modified example of the present invention, the key frame is skillfully used, and the cross filter process is performed on the key frame. For this reason, management of the effect imparting flag becomes unnecessary.

以上説明したように、本発明の一実施形態やその変形例においては、撮像素子107からの画像データに対して、輝点検出領域を設定し(S45)、この輝点検出領域内の輝点を検出し(S61)、この検出された輝点の輝点位置において輝点処理を行い(S63)、輝点処理された画像を表示や記録を行っている(S51、S141)。このように撮像素子107の撮像領域の全てについて輝点処理を行うのではなく、輝点検出領域内の輝点に対して輝点処理を行うようにしている。このため、ライブビュー表示や動画に相応しいクロスフィルタ処理が可能となる。   As described above, in one embodiment of the present invention and its modification, a bright spot detection area is set for the image data from the image sensor 107 (S45), and the bright spots in the bright spot detection area are set. (S61), the bright spot processing is performed at the bright spot position of the detected bright spot (S63), and the bright spot processed image is displayed or recorded (S51, S141). In this way, the bright spot processing is not performed on the entire imaging region of the image sensor 107, but the bright spot processing is performed on the bright spots in the bright spot detection area. For this reason, it is possible to perform cross-filter processing suitable for live view display and moving images.

なお、本発明の一実施形態や変形例においては、効果付与領域(輝点検出領域)の設定にあたって、撮像領域を24のエリアに分割し、その中から4エリアを設定するようにしていたが、撮像領域の分割数や、また効果付与領域のエリア数は、適宜変更しても構わない。縦横に最小限サイズ以上に効果付与領域を設定すればよい。また、そのエリアの大きさは、一定であったが、フレーム毎に変更しても構わない。また、本発明の一実施形態や変形例においては、効果付与領域(輝点検出領域)の設定は、乱数を発生させランダムに設定したが、輝点領域を順番に選択するようにしても構わない。   In the embodiment and the modification of the present invention, when setting the effect imparting region (bright spot detection region), the imaging region is divided into 24 areas, and 4 areas are set out of them. The number of divisions of the imaging region and the number of areas of the effect applying region may be changed as appropriate. What is necessary is just to set an effect provision area | region more than the minimum size vertically and horizontally. Further, the size of the area is constant, but it may be changed for each frame. In one embodiment or modification of the present invention, the effect imparting area (bright spot detection area) is set randomly by generating a random number. However, the bright spot area may be selected in order. Absent.

また、本発明の一実施形態や変形例においては、設定された効果付与領域(輝点検出領域)で処理する輝点の数を制限しなかったが、処理する輝点の数を制限するようにしてもよい。輝点の数を制限することにより、処理時間が長時間になることを防止することができる。   In one embodiment or modification of the present invention, the number of bright spots to be processed in the set effect application area (bright spot detection area) is not limited, but the number of bright spots to be processed is limited. It may be. By limiting the number of bright spots, it is possible to prevent a long processing time.

また、本発明の一実施形態においては、輝点処理として高輝度の中心に光のスジを追加するクロスフィルタ処理を施した。しかしながら、輝点を検出した場合に、クロスフィルタ処理以外にも輝点周辺を円形に飽和(白く)させたり、また星型に飽和させたり等、他の輝点処理を施すようにしても構わない。   In one embodiment of the present invention, a cross filter process for adding a light streak to the center of high luminance is performed as the bright spot process. However, when a bright spot is detected, in addition to the cross filter processing, other bright spot processing such as saturation (white) around the bright spot or saturation in a star shape may be performed. Absent.

また、本発明の一実施形態や変形例においては、撮影のための機器として、デジタルカメラを用いて説明したが、カメラとしては、デジタル一眼レフカメラでもコンパクトデジタルカメラでもよく、ビデオカメラ、ムービーカメラのような動画用のカメラでもよく、さらに、携帯電話や携帯情報端末(PDA:Personal Digital Assist)、ゲーム機器等に内蔵されるカメラでも構わない。   In the embodiment and the modification of the present invention, the digital camera is used as the photographing device. However, the camera may be a digital single-lens reflex camera or a compact digital camera, such as a video camera or movie camera. It may be a camera for moving images such as a mobile phone, a personal digital assistant (PDA), a game machine, or the like.

本発明は、上記実施形態にそのまま限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素の幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   The present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, you may delete some components of all the components shown by embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

10・・・カメラ本体、20・・・交換レンズ、100・・・デジタルカメラ、101・・・撮影レンズ、102・・・レンズ制御部、103・・・絞り機構、104・・・絞り制御部、105・・・シャッタ、106・・・シャッタ制御部、107・・・撮像素子、108・・・撮像制御部、109・・・A/D変換部、110・・・メモリ、111・・・画像処理部、112・・・露出制御部、113・・・AF処理部、114・・・外部メモリ、115・・・表示部、115a・・・液晶モニタ、116・・・システム制御部、117・・・操作部、117a・・・電源釦、117b・・・レリーズ釦、117c・・・撮影モードダイヤル、117d・・・動画釦、117e・・・ファンクション釦、117f・・・十字釦、117g・・・OK釦、118・・・不揮発性メモリ、119・・・電源部、120・・・電源制御部、121・・・フラッシュ制御部、122・・・フラッシュ充電部、123・・・フラッシュ発光部、201・・・画像合成用クロスフィルタ画像、201a・・・光条、203・・・フレーム画像、205・・・合成画像
DESCRIPTION OF SYMBOLS 10 ... Camera body, 20 ... Interchangeable lens, 100 ... Digital camera, 101 ... Shooting lens, 102 ... Lens control part, 103 ... Aperture mechanism, 104 ... Aperture control part , 105 ... shutter, 106 ... shutter control unit, 107 ... imaging device, 108 ... imaging control unit, 109 ... A / D conversion unit, 110 ... memory, 111 ... Image processing unit 112... Exposure control unit 113... AF processing unit 114... External memory 115... Display unit 115 a. ... Operation unit, 117a ... Power button, 117b ... Release button, 117c ... Shooting mode dial, 117d ... Movie button, 117e ... Function button, 117f ... Cross button, 117g ..OK button, 118 ... nonvolatile memory, 119 ... power supply unit, 120 ... power supply control unit, 121 ... flash control unit, 122 ... flash charging unit, 123 ... flash emission , 201... Cross filter image for image composition, 201a...

Claims (8)

被写体像を電気信号に変換しライブビューで画像データを出力する撮像部と、
上記画像データに対して、所定フレーム毎に複数の領域に分割し、そのうち少なくとも一つの領域を輝点検出領域として設定する輝点領域設定部と、
上記輝点領域設定部によって設定された上記輝点検出領域内の輝点を検出する輝点検出部と、
上記輝点検出部によって検出された上記輝点の輝点位置において輝点処理を行う輝点処理部と、
上記輝点処理部によって輝点処理された画像を表示用または記録用に出力する画像出力部と、
を有することを特徴とする撮像装置。
An imaging unit that converts a subject image into an electrical signal and outputs image data in a live view;
A bright spot area setting unit that divides the image data into a plurality of areas for each predetermined frame and sets at least one area as a bright spot detection area,
A bright spot detection unit for detecting a bright spot in the bright spot detection area set by the bright spot area setting unit;
A bright spot processing unit that performs bright spot processing at the bright spot position of the bright spot detected by the bright spot detection unit;
An image output unit for outputting the image subjected to the bright spot processing by the bright spot processing unit for display or recording;
An imaging device comprising:
上記輝点領域設定部は、縦横に最小限のサイズ以上に上記輝点検出領域を設定することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the bright spot area setting unit sets the bright spot detection area at least in a vertical and horizontal size. 上記輝点領域設定部は、上記輝点検出領域をランダムに順次設定することを特徴とする請求項1に記載に撮像装置。   The imaging apparatus according to claim 1, wherein the bright spot area setting unit sequentially sets the bright spot detection areas in a random order. 上記輝点処理部における輝点処理は、クロスフィルタ処理であることを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the bright spot processing in the bright spot processing unit is a cross filter process. 上記輝点処理部は、連続するフレームの輝点処理の際に、少なくとも一部の明るさ、輝線の長さ、輝線の本数、輝線の角度、色、大きさの何れかを変えることを特徴とする請求項1に記載の撮像装置。   The bright spot processing unit changes at least part of brightness, length of bright lines, number of bright lines, angle of bright lines, color, size when performing bright spot processing of successive frames. The imaging apparatus according to claim 1. 上記輝点処理部は、設定された輝点検出領域内で処理する輝点の数を限定することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the bright spot processing unit limits the number of bright spots to be processed within a set bright spot detection area. 被写体像を電気信号に変換しライブビューで画像データを出力する第1出力ステップと、
上記画像データに対して、所定フレーム毎に複数の領域に分割し、そのうち少なくとも一つの領域を輝点検出領域として設定する設定ステップと、
上記設定された上記輝点検出領域内の輝点を検出する検出ステップと、
上記検出された輝点の輝点位置において輝点処理を行う処理ステップと、
上記輝点処理された画像を表示用または記録用に出力する第2出力ステップと、
を有することを特徴とする撮像方法。
A first output step of converting a subject image into an electrical signal and outputting image data in a live view;
A setting step for dividing the image data into a plurality of areas for each predetermined frame, and setting at least one area as a bright spot detection area,
A detection step for detecting a bright spot in the set bright spot detection area;
A processing step for performing bright spot processing at the bright spot position of the detected bright spot;
A second output step for outputting the bright spot processed image for display or recording;
An imaging method characterized by comprising:
被写体像を電気信号に変換しライブビューで画像データを出力する第1出力ステップと、
上記画像データに対して、所定フレーム毎に複数の領域に分割し、そのうち少なくとも一つの領域を輝点検出領域として設定する設定ステップと、
上記設定された上記輝点検出領域内の輝点を検出する検出ステップと、
上記検出された輝点の輝点位置において輝点処理を行う処理ステップと、
上記輝点処理された画像を表示用または記録用に出力する第2出力ステップと、
をコンピュータに実行させることを特徴とするプログラム。
A first output step of converting a subject image into an electrical signal and outputting image data in a live view;
A setting step for dividing the image data into a plurality of areas for each predetermined frame, and setting at least one area as a bright spot detection area,
A detection step for detecting a bright spot in the set bright spot detection area;
A processing step for performing bright spot processing at the bright spot position of the detected bright spot;
A second output step for outputting the bright spot processed image for display or recording;
A program that causes a computer to execute.
JP2015204755A 2015-10-16 2015-10-16 Imaging apparatus, imaging method, and program Active JP6138211B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015204755A JP6138211B2 (en) 2015-10-16 2015-10-16 Imaging apparatus, imaging method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015204755A JP6138211B2 (en) 2015-10-16 2015-10-16 Imaging apparatus, imaging method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010249860A Division JP5827466B2 (en) 2010-11-08 2010-11-08 Imaging apparatus, imaging method, and program

Publications (2)

Publication Number Publication Date
JP2016029828A true JP2016029828A (en) 2016-03-03
JP6138211B2 JP6138211B2 (en) 2017-05-31

Family

ID=55435527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015204755A Active JP6138211B2 (en) 2015-10-16 2015-10-16 Imaging apparatus, imaging method, and program

Country Status (1)

Country Link
JP (1) JP6138211B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003058880A (en) * 2001-08-21 2003-02-28 Noritsu Koki Co Ltd Method, device and program for processing cross filter and computer readable recording medium recording the same program
JP2005309914A (en) * 2004-04-23 2005-11-04 Omron Corp Method for processing color image and image processor
JP2009177508A (en) * 2008-01-24 2009-08-06 Nikon Corp Imaging apparatus, and image-effect adding program
JP2010016580A (en) * 2008-07-03 2010-01-21 Sony Corp Image processing apparatus and image processing method
JP2010119051A (en) * 2008-11-14 2010-05-27 Samsung Techwin Co Ltd Imaging device and imaging method
JP2012104932A (en) * 2010-11-08 2012-05-31 Olympus Imaging Corp Imaging device and imaging method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003058880A (en) * 2001-08-21 2003-02-28 Noritsu Koki Co Ltd Method, device and program for processing cross filter and computer readable recording medium recording the same program
JP2005309914A (en) * 2004-04-23 2005-11-04 Omron Corp Method for processing color image and image processor
JP2009177508A (en) * 2008-01-24 2009-08-06 Nikon Corp Imaging apparatus, and image-effect adding program
JP2010016580A (en) * 2008-07-03 2010-01-21 Sony Corp Image processing apparatus and image processing method
JP2010119051A (en) * 2008-11-14 2010-05-27 Samsung Techwin Co Ltd Imaging device and imaging method
JP2012104932A (en) * 2010-11-08 2012-05-31 Olympus Imaging Corp Imaging device and imaging method

Also Published As

Publication number Publication date
JP6138211B2 (en) 2017-05-31

Similar Documents

Publication Publication Date Title
JP5827466B2 (en) Imaging apparatus, imaging method, and program
US9426392B2 (en) Imaging device, image processing device, recording medium in which image file is recorded, recording method, image playback method, and computer-readable recording medium
JP5622513B2 (en) Image processing apparatus, image processing method, and imaging apparatus
JP4697606B2 (en) Imaging apparatus and focus control method
WO2012147560A1 (en) Image capturing apparatus and image capturing method
JP2017220892A (en) Image processing device and image processing method
JP2015216532A (en) Imaging device, imaging method, and program
JP2012124608A (en) Camera
JP2017108309A (en) Imaging apparatus and imaging method
JP6717690B2 (en) Imaging device, imaging method, and program
JP5825505B2 (en) Control device, display control method, and program
JP5750692B2 (en) Imaging apparatus, imaging program, and imaging method
JP5620196B2 (en) Imaging device
JP2013090095A (en) Imaging device, imaging method, and program
JP5883564B2 (en) Imaging device
JP6706167B2 (en) Imaging device, image synthesizing method, and program
JP2012019341A (en) Imaging device, and method and program for controlling the same
JP6559014B2 (en) Imaging apparatus, control method thereof, and program
JP6138211B2 (en) Imaging apparatus, imaging method, and program
JP5742282B2 (en) camera
JP6084316B2 (en) Imaging device
JP5602472B2 (en) Image capturing apparatus and method for controlling image capturing apparatus
JP5208295B2 (en) Imaging apparatus and control method thereof
JP5022837B2 (en) Imaging apparatus and control method thereof
JP5142811B2 (en) Imaging apparatus and imaging method in imaging apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160711

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160816

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160928

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170425

R151 Written notification of patent or utility model registration

Ref document number: 6138211

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250