JP6318547B2 - Image processing apparatus, imaging apparatus, and image processing program - Google Patents

Image processing apparatus, imaging apparatus, and image processing program Download PDF

Info

Publication number
JP6318547B2
JP6318547B2 JP2013223230A JP2013223230A JP6318547B2 JP 6318547 B2 JP6318547 B2 JP 6318547B2 JP 2013223230 A JP2013223230 A JP 2013223230A JP 2013223230 A JP2013223230 A JP 2013223230A JP 6318547 B2 JP6318547 B2 JP 6318547B2
Authority
JP
Japan
Prior art keywords
image data
moving
movement
data
movement effect
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.)
Active
Application number
JP2013223230A
Other languages
Japanese (ja)
Other versions
JP2015088771A (en
Inventor
祐輝 勝俣
祐輝 勝俣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2013223230A priority Critical patent/JP6318547B2/en
Publication of JP2015088771A publication Critical patent/JP2015088771A/en
Application granted granted Critical
Publication of JP6318547B2 publication Critical patent/JP6318547B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置、撮像装置および画像処理プログラムに関する。   The present invention relates to an image processing device, an imaging device, and an image processing program.

従来から、3次元空間中でのデジタルカメラの挙動を検出することにより、検出した挙動情報に応じて、よりダイナミックな演出効果を施して画像再生を行うデジタルカメラが知られている(たとえば特許文献1)。   2. Description of the Related Art Conventionally, a digital camera that reproduces an image by detecting a behavior of a digital camera in a three-dimensional space and applying a more dynamic effect according to the detected behavior information is known (for example, Patent Documents). 1).

特開2008−193333号公報JP 2008-193333 A

しかしながら、撮影時にデジタルカメラの挙動情報に基づいて演出効果が施されるので、被写体の実際の移動の状態に即した効果を表現できないという問題がある。   However, there is a problem in that an effect in accordance with the actual movement state of the subject cannot be expressed because an effect is applied based on the behavior information of the digital camera at the time of shooting.

請求項1に記載の画像処理装置は、複数の画像データに基づいて、移動被写体の移動方向が実質的に同一方向を維持しながら一点に収束する収束点が存在するか否かを判定する判定手段と、前記判定手段により前記収束点が存在すると判定された場合、前記移動被写体の後方に放射状に延びる複数の直線を移動効果データとして生成し、前記移動効果データを対象画像データと合成して移動効果付画像データを生成し、前記収束点が存在しない場合、前記移動被写体の後方に前記移動方向に沿って同一方向に延びる複数の直線を前記移動効果データとして生成し、前記移動効果データを前記対象画像データと合成して前記移動効果付画像データを生成する画像処理手段とを備えることを特徴とする。The image processing apparatus according to claim 1, for determining whether there is a convergence point that converges to one point while maintaining the movement direction of the moving subject substantially the same direction based on the plurality of image data. And a plurality of straight lines extending radially behind the moving subject are generated as movement effect data, and the movement effect data is combined with the target image data when the determination unit determines that the convergence point exists. When image data with a movement effect is generated and the convergence point does not exist, a plurality of straight lines extending in the same direction along the movement direction behind the moving subject are generated as the movement effect data, and the movement effect data is And image processing means for generating the image data with movement effect by combining with the target image data.
請求項6に記載の撮像装置は、請求項1から請求項5のいずれか一項に記載の画像処理装置において、ユーザにより操作されるレリーズボタンと、被写体を撮像して画像データを生成する撮像手段とを更に備え、前記ユーザにより前記レリーズボタンが半押し操作されている間、前記撮像手段は、前記画像データを順次生成し、前記判定手段は、前記撮像手段により生成された複数の前記画像データに基づいて前記収束点が存在するか否かを判定し、前記ユーザにより前記レリーズボタンが全押し操作されたことに応じて、前記撮像手段は、前記対象画像データとして前記画像データを生成することを特徴とする撮像装置。An imaging apparatus according to a sixth aspect is the image processing apparatus according to any one of the first to fifth aspects, wherein a release button operated by a user and imaging for imaging a subject to generate image data. And the imaging means sequentially generates the image data while the release button is half-pressed by the user, and the determination means includes a plurality of the images generated by the imaging means. It is determined whether or not the convergence point exists based on the data, and the imaging unit generates the image data as the target image data in response to the release button being fully pressed by the user. An imaging apparatus characterized by that.
請求項7に記載の画像処理プログラムは、複数の画像データに基づいて、移動被写体の移動方向が実質的に同一方向を維持しながら一点に収束する収束点が存在するか否かを判定する判定処理と、前記判定処理により前記収束点が存在すると判定された場合、前記移動被写体の後方に放射状に延びる複数の直線を移動効果データとして生成し、前記移動効果データを対象画像データと合成して移動効果付画像データを生成し、前記収束点が存在しない場合、前記移動被写体の後方に前記移動方向に沿って同一方向に延びる複数の直線を前記移動効果データとして生成し、前記移動効果データを前記対象画像データと合成して前記移動効果付画像データを生成する画像処理とをコンピュータに実行させることを特徴とする画像処理プログラム。The image processing program according to claim 7 determines whether or not there is a convergence point that converges to one point while maintaining the movement direction of the moving subject substantially the same direction based on a plurality of image data. When it is determined that the convergence point exists by the processing and the determination processing, a plurality of straight lines extending radially behind the moving subject are generated as movement effect data, and the movement effect data is combined with the target image data. When image data with a movement effect is generated and the convergence point does not exist, a plurality of straight lines extending in the same direction along the movement direction behind the moving subject are generated as the movement effect data, and the movement effect data is An image processing program causing a computer to execute image processing for generating the image data with movement effect by combining with the target image data.

本発明の実施の形態によるデジタルカメラの要部構成を説明するブロック図The block diagram explaining the principal part structure of the digital camera by embodiment of this invention 実施の形態による画像処理部が備える機能を説明するブロック図Block diagram for explaining the functions of the image processing unit according to the embodiment 移動効果付画像データの生成処理を説明する概念図Conceptual diagram explaining generation processing of image data with movement effect 移動効果付画像データの一例を示す図The figure which shows an example of image data with a movement effect 移動効果付画像データの生成処理を説明する概念図Conceptual diagram explaining generation processing of image data with movement effect 移動効果付画像データの生成処理を説明する概念図Conceptual diagram explaining generation processing of image data with movement effect 実施の形態によるデジタルカメラの移動効果付画像データの生成処理を説明するフローチャートFlowchart for explaining generation process of image data with movement effect of digital camera according to embodiment 実施の形態によるデジタルカメラの移動効果付画像データの生成処理を説明するフローチャートFlowchart for explaining generation process of image data with movement effect of digital camera according to embodiment 実施の形態によるデジタルカメラの移動効果付画像データの生成処理を説明するフローチャートFlowchart for explaining generation process of image data with movement effect of digital camera according to embodiment 変形例における移動効果付画像データの一例を示す図The figure which shows an example of the image data with a movement effect in a modification 変形例における移動効果付画像データの一例を示す図The figure which shows an example of the image data with a movement effect in a modification 変形例における画像処理装置の要部構成を説明するブロック図A block diagram for explaining a main configuration of an image processing apparatus according to a modification.

図面を参照して、本発明の一実施の形態における撮像装置として、レンズ交換式デジタルカメラを例に挙げて説明する。なお、レンズ固定式デジタルカメラについても本発明の一態様に含まれる。
図1はデジタルカメラ1の要部構成を示すブロック図である。デジタルカメラ1は、交換レンズ200とカメラボディ100とから構成され、交換レンズ200がマウント部(不図示)を介してカメラボディ100に装着される。
With reference to the drawings, an interchangeable lens digital camera will be described as an example of an imaging apparatus according to an embodiment of the present invention. Note that a lens-fixed digital camera is also included in one embodiment of the present invention.
FIG. 1 is a block diagram showing a main configuration of the digital camera 1. The digital camera 1 includes an interchangeable lens 200 and a camera body 100, and the interchangeable lens 200 is attached to the camera body 100 via a mount portion (not shown).

交換レンズ200は、撮影レンズ201と、レンズ制御部202とを備えている。撮影レンズ201は、結像レンズや焦点調節レンズ等の種々の光学レンズ群を含んで構成される。なお、図1では撮影レンズ201を1枚のレンズで代表して表している。レンズ制御部202は、図示しないCPU、ROM、RAMなどを有し、制御プログラムに基づいて、各種のデータ処理を実行したりする演算回路である。レンズ制御部202は、データ処理の結果に基づいて、撮影レンズ201や絞り(不図示)の駆動を制御したり、マウント部(不図示)に設けられた電気接点211を介してカメラボディ100との間で状態情報やレンズ情報の送信とカメラ情報の受信とを行ったりする。   The interchangeable lens 200 includes a photographing lens 201 and a lens control unit 202. The taking lens 201 includes various optical lens groups such as an imaging lens and a focus adjustment lens. In FIG. 1, the photographing lens 201 is represented by a single lens. The lens control unit 202 includes a CPU, a ROM, a RAM, and the like (not shown), and is an arithmetic circuit that executes various types of data processing based on a control program. The lens control unit 202 controls driving of the photographing lens 201 and the diaphragm (not shown) based on the result of the data processing, and is connected to the camera body 100 via the electrical contact 211 provided on the mount unit (not shown). In this state, state information and lens information are transmitted and camera information is received.

カメラボディ100は、撮像素子101、制御回路102、バッファメモリ103、LCD駆動回路104、液晶表示器105、操作部106、メモリカードインタフェース107およびマイク108を備えている。撮像素子101には、CCDやCMOS等の撮像画素が二次元状(行と列)に配置され、後述する制御回路102の制御に応じて駆動して、撮影レンズ201を通して入力される被写体像を撮像し、撮像して得た撮像信号を出力する。撮像素子101の撮像面には、それぞれR(赤)、G(緑)およびB(青)のカラーフィルタが画素位置に対応するように設けられている。撮像素子101がカラーフィルタを通して被写体像を撮像するため、撮像素子101から出力される撮像信号はRGB表色系の色情報を有する。   The camera body 100 includes an image sensor 101, a control circuit 102, a buffer memory 103, an LCD drive circuit 104, a liquid crystal display 105, an operation unit 106, a memory card interface 107, and a microphone 108. The imaging element 101 is provided with imaging pixels such as a CCD and a CMOS in a two-dimensional manner (rows and columns), and is driven in accordance with the control of the control circuit 102 described later to capture a subject image input through the photographing lens 201. Imaging is performed, and an imaging signal obtained by imaging is output. On the imaging surface of the imaging device 101, color filters of R (red), G (green), and B (blue) are provided so as to correspond to the pixel positions, respectively. Since the image sensor 101 captures a subject image through the color filter, the image signal output from the image sensor 101 has color information of the RGB color system.

制御回路102は、図示しないCPU、ROM、RAMなどを有し、制御プログラムに基づいて、デジタルカメラ1の各構成要素を制御したり、各種のデータ処理を実行する演算回路である。制御プログラムは、制御回路102内の不図示の不揮発性メモリに格納されている。制御回路102は、画像処理部112を機能として備え、撮像素子101から出力された撮像信号に対して、たとえばホワイトバランス調整やガンマ補正等の種々の画像処理を施して画像データを生成して、所定の圧縮処理を施して後述するメモリカード109へ記録する。また、画像処理部112は、撮像素子101から出力された撮像信号や、後述するメモリカード109に記録されている画像データに基づいて、後述する液晶表示器105に表示するための表示画像データを生成する。なお、画像処理部112の機能の詳細については、説明を後述する。   The control circuit 102 includes a CPU, a ROM, a RAM, and the like (not shown), and is an arithmetic circuit that controls each component of the digital camera 1 and executes various data processes based on a control program. The control program is stored in a nonvolatile memory (not shown) in the control circuit 102. The control circuit 102 includes an image processing unit 112 as a function, and performs various image processing such as white balance adjustment and gamma correction on the imaging signal output from the imaging element 101 to generate image data. Predetermined compression processing is performed and recorded in a memory card 109 described later. The image processing unit 112 also displays display image data to be displayed on the liquid crystal display 105 described later based on the imaging signal output from the image sensor 101 and image data recorded on the memory card 109 described later. Generate. The details of the function of the image processing unit 112 will be described later.

バッファメモリ103は、画像処理前、画像処理後および画像処理途中のデータを一時的に記憶する他、メモリカード109へ記録する前の画像ファイルを記憶したり、メモリカード109から読み出した画像ファイルを記憶したりするために使用される。マイク108は、動画モードにて動画撮影中に、音声を入力し、増幅等の処理を行って音声データとして制御回路102へ出力する。   The buffer memory 103 temporarily stores data before image processing, after image processing, and during image processing, and also stores an image file before recording to the memory card 109, and stores an image file read from the memory card 109. Used to remember. The microphone 108 inputs sound during moving image shooting in the moving image mode, performs processing such as amplification, and outputs it as sound data to the control circuit 102.

LCD駆動回路104は、制御回路102の命令に基づいて液晶表示器105を駆動する回路である。液晶表示器105は、画像処理部112で作成された表示画像データに対応する画像の表示を行う。液晶表示器105には、デジタルカメラ1の各種動作を設定するためのメニュー画面が表示される。   The LCD drive circuit 104 is a circuit that drives the liquid crystal display 105 based on a command from the control circuit 102. The liquid crystal display 105 displays an image corresponding to the display image data created by the image processing unit 112. The liquid crystal display 105 displays a menu screen for setting various operations of the digital camera 1.

メモリカードインタフェース107は、メモリカード109が着脱可能なインタフェースである。メモリカードインタフェース107は、制御回路102の制御に基づいて、画像ファイルをメモリカード109に書き込んだり、メモリカード109に記録されている画像ファイルを読み出すインタフェース回路である。メモリカード109はコンパクトフラッシュ(登録商標)やSDカードなどの半導体メモリカードである。   The memory card interface 107 is an interface to which the memory card 109 can be attached and detached. The memory card interface 107 is an interface circuit that writes an image file to the memory card 109 or reads an image file recorded on the memory card 109 based on the control of the control circuit 102. The memory card 109 is a semiconductor memory card such as a compact flash (registered trademark) or an SD card.

操作部106はユーザによって操作される種々の操作部材に対応して設けられた種々のスイッチを含み、操作部材の操作に応じた操作信号を制御回路102へ出力する。操作部材は、たとえばレリーズボタンや、液晶表示器105にメニュー画面を表示させるためのメニューボタンや、各種の設定等を選択操作する時に操作される十字キー、十字キーにより選択された設定等を決定するための決定ボタン、動画撮影モードと静止画撮影モードとを含む撮影モードと再生モードとの間でデジタルカメラ1の動作を切替えるモード切替ボタン等を含む。さらに、操作部106の操作により、静止画データが生成される前に取得された複数の時間的に連続する画像データを用いて、画像上の主要被写体の移動状態を示す移動線が描画された移動効果付画像データを生成する移動効果付画像生成モードが選択可能に構成されている。なお、移動効果付画像生成モードにおけるデジタルカメラ1の動作については、詳細を以下に説明する。   The operation unit 106 includes various switches provided corresponding to various operation members operated by the user, and outputs an operation signal corresponding to the operation of the operation member to the control circuit 102. For example, the operation member determines a release button, a menu button for displaying a menu screen on the liquid crystal display 105, a cross key operated when selecting various settings, and a setting selected by the cross key. And a mode switching button for switching the operation of the digital camera 1 between a shooting mode including a moving image shooting mode and a still image shooting mode and a playback mode. Furthermore, a movement line indicating the movement state of the main subject on the image is drawn by using the operation unit 106 using a plurality of temporally continuous image data acquired before the still image data is generated. An image generation mode with a movement effect for generating image data with a movement effect is selectable. The operation of the digital camera 1 in the movement effect-added image generation mode will be described in detail below.

−移動効果付画像生成モード−
ユーザによる操作部106の操作によって、移動効果付画像生成モードが設定された場合について説明する。移動効果付画像生成モードでは、画像処理部112は、ユーザによりレリーズボタンが半押し操作されてから全押し操作されるまでに取得された所定枚数の時間的に連続する画像データ、すなわちプリキャプチャーにより取得された画像データを用いて移動している主要被写体(移動被写体)の移動量、移動方向等の移動情報の検出を行う。そして、画像処理部112は、検出した移動被写体に関する移動情報を用いて、ユーザによるレリーズボタンの全押し操作に応じて生成された静止画データに移動被写体の移動状態を示す移動線を描画した移動効果データを合成して移動効果付画像データを生成する。
-Image generation mode with movement effect-
A case where the movement effect-added image generation mode is set by the operation of the operation unit 106 by the user will be described. In the image generation mode with a movement effect, the image processing unit 112 uses a predetermined number of time-sequential image data acquired from when the release button is pressed halfway down by the user until it is fully pressed, that is, by pre-capture. Using the acquired image data, movement information such as a movement amount and a movement direction of the moving main subject (moving subject) is detected. Then, the image processing unit 112 uses the movement information regarding the detected moving subject to move the drawing of a moving line indicating the moving state of the moving subject in the still image data generated in response to the user fully pressing the release button. The effect data is synthesized to generate image data with a movement effect.

まず、移動効果付画像生成モードにおける画像データの取得動作について説明する。ユーザによるレリーズボタンの半押し操作に応じて操作部106から操作信号が出力されると、制御回路102は、撮像素子101から所定の周期(たとえば60fps)にて撮像信号を出力させる。画像処理部112は、所定の周期ごとに出力される撮像信号を用いて1フレームの画像データを生成して、バッファメモリ103に順次格納する。なお、本実施の形態においては、画像処理部112は、1フレームの動画データをたとえば1920×1080画素の解像度にて生成する。   First, the image data acquisition operation in the movement effect-added image generation mode will be described. When an operation signal is output from the operation unit 106 in response to a half-press operation of the release button by the user, the control circuit 102 causes the image sensor 101 to output an image signal at a predetermined cycle (for example, 60 fps). The image processing unit 112 generates image data of one frame using an imaging signal output every predetermined cycle, and sequentially stores the image data in the buffer memory 103. In the present embodiment, the image processing unit 112 generates one frame of moving image data with a resolution of 1920 × 1080 pixels, for example.

上記の処理を繰り返して行っている際に、ユーザによるレリーズボタンの全押し操作に応じて操作部106から操作信号が出力されると、画像処理部112は、このタイミングで出力された撮像信号を用いて静止画データを生成する。なお、本実施の形態においては、画像処理部112は、静止画データをたとえば3840×2160画素の解像度にて生成する。なお、上記の解像度、フレーム数、フレームレートの値は一例であり、この値に限定されるものではない。   When the above processing is repeated and an operation signal is output from the operation unit 106 in response to the user fully pressing the release button, the image processing unit 112 outputs the imaging signal output at this timing. To generate still image data. In the present embodiment, the image processing unit 112 generates still image data with a resolution of, for example, 3840 × 2160 pixels. Note that the values of the resolution, the number of frames, and the frame rate described above are examples, and are not limited to these values.

図2は、上記のプリキャプチャーにより生成される複数の画像データ(以後、フレーム画像データと呼ぶ)と静止画データとを用いて移動効果付画像データを生成するために画像処理部112が有する機能を説明するためのブロック図である。図2に示すように、画像処理部112は、画像選択部120と、移動被写体検出部121と、移動情報検出部122と、描画効果選択部124と、処理部125とを機能として備えている。画像選択部120は、この静止画データを対象画像データとして選択する。移動被写体検出部121は、フレーム画像データのそれぞれに対して、公知の技術を用いて移動被写体を検出する。   FIG. 2 shows a function of the image processing unit 112 for generating image data with a movement effect using a plurality of image data (hereinafter referred to as frame image data) generated by the pre-capture and still image data. It is a block diagram for demonstrating. As shown in FIG. 2, the image processing unit 112 includes an image selection unit 120, a moving subject detection unit 121, a movement information detection unit 122, a drawing effect selection unit 124, and a processing unit 125 as functions. . The image selection unit 120 selects this still image data as target image data. The moving subject detection unit 121 detects a moving subject using a known technique for each of the frame image data.

移動情報検出部122は、フレーム画像データから検出された移動被写体の画像上での位置をそれぞれ比較して、移動ベクトルを算出することによって移動被写体の移動方向を検出する。また、移動方向検出部122は、移動被写体の移動方向と、検出された移動被写体の画像上での大きさをそれぞれ比較した比較結果とに基づいて、移動被写体の移動方向の収束点を検出する。移動方向検出部122は、移動被写体が次の(1)および(2)の条件を満たす場合に収束点が存在するものと判定し、静止画データ上における収束点の位置を特定する。
(1)移動被写体の移動方向が画像の水平方向に対して所定の角度以上の方向を有し、かつ、各フレーム画像データ間で移動方向が実質的に一定の場合。
(2)移動被写体の大きさが小さくなる(移動被写体がデジタルカメラ1から遠ざかる方向へ移動している)か、大きくなる(移動被写体がデジタルカメラ1に対して接近する方向へ移動している)場合。
The movement information detection unit 122 detects the moving direction of the moving subject by calculating the movement vector by comparing the positions on the image of the moving subject detected from the frame image data. In addition, the moving direction detection unit 122 detects a convergence point of the moving direction of the moving subject based on the moving direction of the moving subject and a comparison result obtained by comparing the sizes of the detected moving subjects on the image. . The moving direction detection unit 122 determines that a convergence point exists when the moving subject satisfies the following conditions (1) and (2), and specifies the position of the convergence point on the still image data.
(1) When the moving direction of the moving subject has a direction greater than a predetermined angle with respect to the horizontal direction of the image, and the moving direction is substantially constant between the frame image data.
(2) The size of the moving subject becomes smaller (the moving subject moves away from the digital camera 1) or becomes larger (the moving subject moves closer to the digital camera 1). If.

描画効果選択部124は、収束点の有無と、移動被写体に関する移動方向や移動量等の移動情報とに基づいて、生成する移動効果データに対応する移動線の形状や移動線の本数、移動線の長さ等の移動効果を選択して決定する。処理部125は、描画効果選択部124により選択された移動効果に応じて軌跡データを生成し、対象画像データと合成することにより移動効果付画像データを生成する。   The drawing effect selection unit 124 determines the shape of the movement line, the number of movement lines, the movement line corresponding to the movement effect data to be generated based on the presence / absence of the convergence point and movement information such as the movement direction and movement amount regarding the moving subject. Select and determine the movement effect such as the length. The processing unit 125 generates trajectory data according to the movement effect selected by the drawing effect selection unit 124, and generates image data with movement effect by synthesizing with the target image data.

デジタルカメラ1による移動効果付画像データの生成について、収束点が存在する場合と、収束点が存在しない場合とに分けて説明する。
−収束点が存在する場合−
図3(a)は、時刻t1にてユーザによるレリーズボタンの半押し操作に応じて生成が開始されたフレーム画像データF1〜Fn(総称する場合は、フレーム画像データFとする)と、時刻t2にてユーザのレリーズボタンの全押し操作に応じて生成された静止画データSとを模式的に示している。図3(a)に示すフレーム画像データFと静止画データSとは、紙面の右手奥へ向かって遠ざかる車両を撮影したものである。この車両が移動被写体検出部121により移動被写体MSとして検出されている。また、静止画データSは、上述したように、画像選択部120により選択された対象画像データである。
The generation of movement effect-added image data by the digital camera 1 will be described separately for a case where a convergence point exists and a case where a convergence point does not exist.
-When there is a convergence point-
FIG. 3A shows frame image data F1 to Fn (generally referred to as frame image data F) whose generation is started in response to a half-press operation of the release button by the user at time t1, and time t2. 4 schematically shows still image data S generated in response to the user's full depression operation of the release button. The frame image data F and the still image data S shown in FIG. 3A are images of a vehicle moving away from the right side of the paper. This vehicle is detected as the moving subject MS by the moving subject detection unit 121. Still image data S is the target image data selected by the image selection unit 120 as described above.

移動情報検出部122は、フレーム画像データF1〜Fnのうち時間的に互いに隣接し合う2つのフレーム画像データF(m−1)とFm(2<m<n)のそれぞれについて検出された移動被写体MSにおいて、対応する位置の画像上での座標間の差分を演算することにより移動ベクトルを算出する。さらに、移動情報検出部122は、2つのフレーム画像データF(m−1)とFmのそれぞれにおいて検出された移動被写体MSの大きさを比較する。すなわち、移動情報検出部122は、フレーム画像データF(m−1)にて検出された移動被写体MSの大きさに対するフレーム画像データFmにて検出された移動被写体MSの大きさの割合を算出する。算出した割合が第1閾値よりも大きい場合には、移動情報検出部122は、移動被写体MSが接近していると判定し、算出した割合が第2閾値(<第1閾値)よりも小さい場合には、移動被写体MSが遠ざかっていると判定する。なお、第1閾値および第2閾値は実験等に基づいて適した値が設定され、所定の記憶領域に記憶されているものとする。   The movement information detection unit 122 detects a moving subject detected for each of two frame image data F (m−1) and Fm (2 <m <n) that are temporally adjacent to each other among the frame image data F1 to Fn. In the MS, the movement vector is calculated by calculating the difference between the coordinates on the image of the corresponding position. Furthermore, the movement information detection unit 122 compares the size of the moving subject MS detected in each of the two frame image data F (m−1) and Fm. That is, the movement information detection unit 122 calculates the ratio of the size of the moving subject MS detected in the frame image data Fm to the size of the moving subject MS detected in the frame image data F (m−1). . When the calculated ratio is larger than the first threshold, the movement information detection unit 122 determines that the moving subject MS is approaching, and the calculated ratio is smaller than the second threshold (<first threshold). Is determined that the moving subject MS is moving away. It is assumed that suitable values are set for the first threshold value and the second threshold value based on experiments or the like and stored in a predetermined storage area.

図3(a)に示す例においては、上述したように、紙面の右手奥へ向かって遠ざかる車両を移動被写体MSとしたものである。したがって、移動情報検出部122により算出され動きベクトルの向き、すなわち移動被写体MSの移動方向は、画面の水平面に対して所定の角度を有する。さらに、移動情報検出部122は、移動被写体MSの大きさの変化の割合が第2閾値よりも小さいと判定する。したがって、移動情報検出部122は、図3(a)に示すフレーム画像データFにて検出された移動被写体MSの移動方向には、収束点が存在するものと判定する。   In the example shown in FIG. 3A, as described above, the moving object MS is a vehicle that moves away from the right hand in the drawing. Therefore, the direction of the motion vector calculated by the movement information detection unit 122, that is, the movement direction of the moving subject MS has a predetermined angle with respect to the horizontal plane of the screen. Furthermore, the movement information detection unit 122 determines that the rate of change in the size of the moving subject MS is smaller than the second threshold value. Therefore, the movement information detection unit 122 determines that a convergence point exists in the movement direction of the moving subject MS detected from the frame image data F shown in FIG.

収束点が存在すると判定した場合には、移動情報検出部122は、収束点の画像上での位置を特定する。この場合、移動情報検出部122は、算出された動きベクトルの向き、すなわち移動被写体MSの移動方向を延伸させた位置を収束点の位置として特定する。図3(a)に示す例においては、動きベクトルの方向は図の右上方となるので、移動情報検出部122は、図3(b)に示すように、画像データの右上方の端部近傍の位置を収束点Pの位置として特定する。なお、図3(b)においては、便宜的に静止画データにおける移動被写体MSと背景とを破線で示している。収束点Pの位置が特定されると、描画効果選択部124は、移動効果を描画するための領域(描画領域)を決定する。図3(c)に描画効果選択部124により決定される描画領域Rを示す。なお、図3(c)においては、便宜的に描画領域Rの内部にドットを付与している。   When it is determined that a convergence point exists, the movement information detection unit 122 identifies the position of the convergence point on the image. In this case, the movement information detection unit 122 specifies the position of the calculated motion vector, that is, the position where the moving direction of the moving subject MS is extended as the position of the convergence point. In the example shown in FIG. 3A, since the direction of the motion vector is in the upper right part of the figure, the movement information detecting unit 122 is near the upper right end of the image data, as shown in FIG. Is determined as the position of the convergence point P. In FIG. 3B, the moving subject MS and the background in the still image data are indicated by broken lines for convenience. When the position of the convergence point P is specified, the drawing effect selection unit 124 determines an area (drawing area) for drawing the movement effect. FIG. 3C shows the drawing area R determined by the drawing effect selection unit 124. In FIG. 3C, dots are given inside the drawing region R for convenience.

図3(c)に示すように、描画領域Rは収束点Pを起点として、移動被写体MSの外縁を通過する2つの直線L1、L2で囲まれ、かつ、移動被写体MSの移動方向とは逆方向における移動被写体MSの境界の外側の領域である。なお、直線L1、L2は、公知のエッジ検出処理により検出された移動被写体MSのエッジと収束点Pとを結ぶ直線のうち、直線L1とL2との成す角度が最大となるものである。   As shown in FIG. 3C, the drawing area R is surrounded by two straight lines L1 and L2 passing through the outer edge of the moving subject MS starting from the convergence point P, and opposite to the moving direction of the moving subject MS. This is an area outside the boundary of the moving subject MS in the direction. Note that the straight lines L1 and L2 have the maximum angle formed by the straight lines L1 and L2 among the straight lines connecting the edge of the moving subject MS and the convergence point P detected by a known edge detection process.

描画領域Rが決定されると、描画効果選択部124は、生成する移動効果データに用いる移動効果を選択して決定する。収束点Pが存在する場合には、描画効果選択部124は、移動被写体MSの後方に放射状に延びる複数の直線を移動効果の表現、すなわち移動線として選択する。描画効果選択部124は、移動線の態様、すなわち描写する直線の本数、それぞれの直線の長さ、隣接し合う直線の間隔を検出された動きベクトルの大きさ、すなわち移動被写体MSの移動速度に応じて決定する。この場合、描画効果選択部124は、移動被写体MSの移動速度が大きいほど、直線の本数を多くし、直線の長さを長くし、直線間の間隔を密にするように決定することが好ましい。   When the drawing region R is determined, the drawing effect selection unit 124 selects and determines the movement effect used for the movement effect data to be generated. When the convergence point P exists, the drawing effect selection unit 124 selects a plurality of straight lines extending radially behind the moving subject MS as the expression of the movement effect, that is, the movement line. The drawing effect selection unit 124 determines the movement line mode, that is, the number of straight lines to be drawn, the length of each straight line, the distance between adjacent straight lines, the magnitude of the detected motion vector, that is, the moving speed of the moving subject MS. Decide accordingly. In this case, it is preferable that the drawing effect selection unit 124 determines to increase the number of straight lines, increase the length of the straight lines, and close the intervals between the straight lines as the moving speed of the moving subject MS increases. .

処理部125は、描画効果選択部124により決定された移動効果を、決定された描画領域Rに表現した移動効果データを生成する。図3(d)に、移動効果データの一例を示す。図3(d)に示すように、移動被写体MSの後方には6本の直線状の移動線LEのそれぞれが放射状に延伸している。処理部125は、生成した移動効果データを、対象画像データである静止画データSに合成することによって、図3(e)に示す移動効果付画像データSEを生成する。   The processing unit 125 generates movement effect data in which the movement effect determined by the drawing effect selection unit 124 is expressed in the determined drawing area R. FIG. 3D shows an example of the movement effect data. As shown in FIG. 3D, each of the six linear movement lines LE extends radially behind the moving subject MS. The processing unit 125 synthesizes the generated movement effect data with the still image data S that is the target image data, thereby generating the image data SE with movement effect shown in FIG.

移動被写体MSがデジタルカメラ1の光軸方向に沿って接近している場合には、描画効果選択部124は、次のような移動線LEを移動効果の表現として選択できる。図4(a)は、この場合に生成される移動効果付画像データSEの一例を示すものである。図4(a)に示す例では、こちらに向かって接近する人物が移動被写体MSとして検出されたものとする。この場合、描画効果選択部124は、描画領域Rを移動被写体MSの上部であって、移動被写体MSの境界の外側に設定する。そして、描画効果選択部124は、上記のように移動線LEの態様(直線の本数、長さ、隣接し合う直線の間隔)を検出された動きベクトルの大きさ、すなわち移動被写体MSの移動速度に応じて決定するとともに、移動線LEの太さが徐々に変化するように決定する。たとえば、図4(a)に示すように、移動被写体MSからの距離が離れるほど、移動線LEの太さが増すように描画することにより、移動被写体MSがこちらに接近している効果を表現できる。   When the moving subject MS is approaching along the optical axis direction of the digital camera 1, the drawing effect selection unit 124 can select the following movement line LE as the expression of the movement effect. FIG. 4A shows an example of the moving effect-added image data SE generated in this case. In the example shown in FIG. 4A, it is assumed that a person approaching here is detected as the moving subject MS. In this case, the drawing effect selection unit 124 sets the drawing region R above the moving subject MS and outside the boundary of the moving subject MS. Then, the drawing effect selection unit 124 detects the size of the motion line LE (number of straight lines, length, interval between adjacent straight lines) as described above, that is, the moving speed of the moving subject MS. And the thickness of the movement line LE is determined so as to gradually change. For example, as shown in FIG. 4A, the effect that the moving subject MS is approaching here is drawn by rendering the moving line LE to be thicker as the distance from the moving subject MS increases. it can.

また、移動被写体MSがデジタルカメラ1の光軸方向に沿って離れていく場合には、描画効果選択部124は、次のような移動線LEを移動効果の表現として選択できる。図4(b)は、この場合に生成される移動効果付画像データSEの一例を示すものである。図4(b)に示す例では、離れていく人物が移動被写体MSとして検出されたものとする。この場合、描画効果選択部124は、描画領域Rを移動被写体MSの下部であって、移動被写体MSの境界の外側に設定する。そして、描画効果選択部124は、上記のように移動線LEの態様(直線の本数、長さ、隣接し合う直線の間隔)を検出された動きベクトルの大きさ、すなわち移動被写体MSの移動速度に応じて決定する。この結果、移動被写体MSがこちらから遠方へ向かって去っている効果を表現できる。   When the moving subject MS moves away along the optical axis direction of the digital camera 1, the drawing effect selection unit 124 can select the following movement line LE as the expression of the movement effect. FIG. 4B shows an example of the image data SE with movement effect generated in this case. In the example shown in FIG. 4B, it is assumed that a person who moves away is detected as the moving subject MS. In this case, the drawing effect selection unit 124 sets the drawing region R below the moving subject MS and outside the boundary of the moving subject MS. Then, the drawing effect selection unit 124 detects the size of the motion line LE (number of straight lines, length, interval between adjacent straight lines) as described above, that is, the moving speed of the moving subject MS. To be decided. As a result, the effect that the moving subject MS is moving away from here can be expressed.

なお、処理部125は、移動効果付画像データSEを生成する際に、静止画データSに次のような処理を施してから移動効果データを合成してもよい。すなわち、処理部125は、静止画データSに対してモノクロ処理を施してから、コントラストを上げる処理を施す。その結果、静止画データSの被写体の輪郭が強調されることになるので、生成される移動効果付画像データSEに対応する画像を漫画風の静止画として再現することができる。また、処理部125は、移動効果データを生成して静止画データSに合成するものに代えて、静止画データS上に移動線LEを描画することにより移動効果付画像データSEを生成してもよい。   Note that the processing unit 125 may combine the movement effect data after performing the following processing on the still image data S when generating the movement effect-added image data SE. That is, the processing unit 125 performs a monochrome process on the still image data S and then performs a process of increasing the contrast. As a result, the contour of the subject in the still image data S is emphasized, so that the image corresponding to the generated moving effect-added image data SE can be reproduced as a cartoon-like still image. The processing unit 125 generates the moving effect-added image data SE by drawing the moving line LE on the still image data S instead of generating the moving effect data and combining it with the still image data S. Also good.

−収束点が存在しない場合−
移動被写体が上述した条件(1)または(2)を満たさない場合には、移動方向検出部122は、収束点は存在しないと判定する。収束点が存在しない場合の例として、移動被写体MSがデジタルカメラ1との相対距離を実質的に一定に保って移動する場合と、移動被写体MSの移動方向が実質的に一定とならない場合とを例に挙げて説明する。
-When there is no convergence point-
If the moving subject does not satisfy the condition (1) or (2) described above, the moving direction detection unit 122 determines that there is no convergence point. As an example of the case where the convergence point does not exist, there are a case where the moving subject MS moves while keeping the relative distance to the digital camera 1 substantially constant, and a case where the moving direction of the moving subject MS is not substantially constant. An example will be described.

−−移動被写体が相対距離を実質的に一定に保って移動する場合−−
図5(a)は、時刻t1にてユーザによるレリーズボタンの全押し操作に応じて生成が開始されたフレーム画像データF1〜Fnと、時刻t2にてユーザのレリーズボタンの全押し操作に応じて生成された静止画データSとを模式的に示している。図5(a)に示すフレーム画像データFと静止画データSとは、右側から左側へデジタルカメラ1との相対距離を実質的に一定に保って移動する人物を撮影したものである。この人物が動体検出部121により移動被写体MSとして検出されている。また、静止画データSは、上述したように、画像選択部120により選択された対象画像データである。
--When the moving subject moves with the relative distance substantially constant--
FIG. 5A shows the frame image data F1 to Fn that have been generated in response to the user's full-press operation of the release button at time t1, and the user's full-press operation of the release button at time t2. The generated still image data S is schematically shown. The frame image data F and the still image data S shown in FIG. 5A are images of a person who moves from the right side to the left side while keeping the relative distance from the digital camera 1 substantially constant. This person is detected as the moving subject MS by the moving object detection unit 121. Still image data S is the target image data selected by the image selection unit 120 as described above.

移動情報検出部122は、フレーム画像データF1〜Fnのそれぞれについて検出された移動被写体MSの動きベクトルを算出し、動きベクトルの大きさが所定値を超える領域を描画領域Rとして決定する。描画領域Rが決定されると、描画効果選択部124は、生成する移動効果データに用いる移動効果を選択して決定する。この場合、描画効果選択部124は、移動被写体MSの後方に移動方向に沿って同一方向に延びる複数の直線を移動効果の表現、すなわち移動線LEとして選択する。描画効果選択部124は、上述したように、移動線LEの態様として、描写する直線の本数、それぞれの直線の長さ、隣接し合う直線の間隔を検出された動きベクトルの大きさ、すなわち移動被写体MSの移動速度に応じて決定する。この場合についても、描画効果選択部124は、移動被写体MSの移動速度が大きいほど、直線の本数を多くし、直線の長さを長くし、直線間の間隔を密にするように決定することが好ましい。   The movement information detection unit 122 calculates a motion vector of the moving subject MS detected for each of the frame image data F1 to Fn, and determines an area where the magnitude of the motion vector exceeds a predetermined value as the drawing area R. When the drawing region R is determined, the drawing effect selection unit 124 selects and determines the movement effect used for the movement effect data to be generated. In this case, the drawing effect selection unit 124 selects a plurality of straight lines extending in the same direction along the moving direction behind the moving subject MS as a moving effect expression, that is, the moving line LE. As described above, the drawing effect selection unit 124 sets the number of straight lines to be drawn, the length of each straight line, the distance between adjacent straight lines, that is, the size of the motion vector detected as the movement line LE. This is determined according to the moving speed of the subject MS. Also in this case, the drawing effect selection unit 124 determines to increase the number of straight lines, increase the length of the straight lines, and close the intervals between the straight lines as the moving speed of the moving subject MS increases. Is preferred.

処理部125は、描画効果選択部124により決定された移動効果を、決定された描画領域Rに表現した移動効果データを生成する。図5(b)に、移動効果データの一例を示す。図5(b)に示すように、移動被写体MSの後方には3本の直線状の移動線LEのそれぞれが同一方向、すなわち移動被写体MSの後方に移動方向に沿って延伸している。処理部125は、生成した移動効果データを、対象画像データである静止画データSに合成することによって、図5(c)に示す移動効果付画像データSEを生成する。   The processing unit 125 generates movement effect data in which the movement effect determined by the drawing effect selection unit 124 is expressed in the determined drawing area R. FIG. 5B shows an example of the movement effect data. As shown in FIG. 5B, each of the three linear movement lines LE extends behind the moving subject MS in the same direction, that is, behind the moving subject MS along the moving direction. The processing unit 125 synthesizes the generated movement effect data with still image data S that is target image data, thereby generating image data SE with movement effect shown in FIG. 5C.

なお、処理部125は、移動効果付画像データSEを生成する際に、静止画データSに次のような処理を施してから移動効果データを合成してもよい。すなわち、処理部125は、静止画データSに対してモノクロ処理を施してから、コントラストを上げる処理を施す。その結果、静止画データSの被写体の輪郭が強調されることになるので、生成される移動効果付画像データSEに対応する画像を漫画風の静止画として再現することができる。また、処理部125は、移動効果データを生成して静止画データSに合成するものに代えて、静止画データS上に移動線LEを描画することにより移動効果付画像データSEを生成してもよい。   Note that the processing unit 125 may combine the movement effect data after performing the following processing on the still image data S when generating the movement effect-added image data SE. That is, the processing unit 125 performs a monochrome process on the still image data S and then performs a process of increasing the contrast. As a result, the contour of the subject in the still image data S is emphasized, so that the image corresponding to the generated moving effect-added image data SE can be reproduced as a cartoon-like still image. The processing unit 125 generates the moving effect-added image data SE by drawing the moving line LE on the still image data S instead of generating the moving effect data and combining it with the still image data S. Also good.

−−移動被写体MSの移動方向が実質的に一定とならない場合−−
図6(a)は、時刻t1にてユーザによるレリーズボタンの半押し操作に応じて生成が開始されたフレーム画像データF1〜Fnと、時刻t2にてユーザのレリーズボタンの全押し操作に応じて生成された静止画データSとを模式的に示している。図6(a)に示すフレーム画像データFと静止画データSとは、右側から進行してきたジェットコースターが宙返りをする様子を撮影したものである。このジェットコースターが移動被写体検出部121により移動被写体MSとして検出されている。また、静止画データSは、上述したように、画像選択部120により選択された対象画像データである。
--When the moving direction of the moving subject MS is not substantially constant--
FIG. 6A shows frame image data F1 to Fn that have been generated in response to the user's half-press operation of the release button at time t1, and the user's full-press operation of the release button at time t2. The generated still image data S is schematically shown. The frame image data F and the still image data S shown in FIG. 6A are images of a state where the roller coaster traveling from the right side flips over. This roller coaster is detected as the moving subject MS by the moving subject detection unit 121. Still image data S is the target image data selected by the image selection unit 120 as described above.

移動情報検出部122は、フレーム画像データF1〜Fnのそれぞれについて検出された移動被写体MSの動きベクトルを算出し、動きベクトルの大きさが所定値を超える領域を描画領域Rとして決定する。描画領域Rが決定されると、描画効果選択部124は、生成する移動効果データに用いる移動効果を選択して決定する。この場合、描画効果選択部124は、描画領域Rの形状に沿って移動線LEを描画する。移動線LEは、近似曲線を用いるものであってもよいし、動きベクトルの大きさに相当する長さを有する直線を連結して形成されるものでもよい。その結果、移動被写体MSの後方に移動方向に沿って同一方向に延びる複数の線を移動効果の表現として選択する。なお、描画効果選択部124は、上述したように、移動線LEの本数、それぞれの移動線LEの長さ、隣接し合う移動線LEの間隔を検出された動きベクトルの大きさ、すなわち移動被写体MSの移動速度に応じて決定する。この場合についても、描画効果選択部124は、移動被写体MSの移動速度が大きいほど、移動線LEの本数を多くし、移動線LEの長さを長くし、移動線LE間の間隔を密にするように決定することが好ましい。   The movement information detection unit 122 calculates a motion vector of the moving subject MS detected for each of the frame image data F1 to Fn, and determines an area where the magnitude of the motion vector exceeds a predetermined value as the drawing area R. When the drawing region R is determined, the drawing effect selection unit 124 selects and determines the movement effect used for the movement effect data to be generated. In this case, the drawing effect selection unit 124 draws the movement line LE along the shape of the drawing region R. The movement line LE may use an approximate curve, or may be formed by connecting straight lines having a length corresponding to the magnitude of the motion vector. As a result, a plurality of lines extending in the same direction along the moving direction behind the moving subject MS are selected as expressions for the moving effect. Note that, as described above, the drawing effect selection unit 124 detects the number of the movement lines LE, the length of each movement line LE, the size of the motion vector detected from the distance between adjacent movement lines LE, that is, the moving subject. It is determined according to the moving speed of MS. Also in this case, the drawing effect selection unit 124 increases the number of the movement lines LE, increases the length of the movement lines LE, and increases the distance between the movement lines LE as the moving speed of the moving subject MS increases. It is preferable to decide to do so.

処理部125は、描画効果選択部124により決定された移動効果を、決定された描画領域Rに表現した移動効果データを生成する。図6(b)に、移動効果データの一例を示す。図6(b)に示すように、移動被写体MSの後方には2本の移動方向に沿って曲線を描く移動線LEのそれぞれが移動被写体MSの後方に延びている。処理部125は、生成した移動効果データを、対象画像データである静止画データSに合成することによって、図6(c)に示す移動効果付画像データSEを生成する。   The processing unit 125 generates movement effect data in which the movement effect determined by the drawing effect selection unit 124 is expressed in the determined drawing area R. FIG. 6B shows an example of the movement effect data. As shown in FIG. 6B, behind the moving subject MS, each of the movement lines LE that draws a curve along the two moving directions extends behind the moving subject MS. The processing unit 125 synthesizes the generated movement effect data with the still image data S that is target image data, thereby generating image data SE with movement effect shown in FIG.

なお、処理部125は、移動効果付画像データSEを生成する際に、静止画データSに次のような処理を施してから移動効果データを合成してもよい。すなわち、処理部125は、静止画データSに対してモノクロ処理を施してから、コントラストを上げる処理を施す。その結果、静止画データSの被写体の輪郭が強調されることになるので、生成される移動効果付画像データSEに対応する画像を漫画風の静止画として再現することができる。また、処理部125は、移動効果データを生成して静止画データSに合成するものに代えて、静止画データS上に移動線LEを描画することにより移動効果付画像データSEを生成してもよい。   Note that the processing unit 125 may combine the movement effect data after performing the following processing on the still image data S when generating the movement effect-added image data SE. That is, the processing unit 125 performs a monochrome process on the still image data S and then performs a process of increasing the contrast. As a result, the contour of the subject in the still image data S is emphasized, so that the image corresponding to the generated moving effect-added image data SE can be reproduced as a cartoon-like still image. The processing unit 125 generates the moving effect-added image data SE by drawing the moving line LE on the still image data S instead of generating the moving effect data and combining it with the still image data S. Also good.

画像処理部112は、上述したようにして処理部125により生成された移動効果付画像データSEをメモリカード109に記録する。なお、画像処理部112は、静止画データSと処理部125により生成された移動効果データとを関連付けてメモリカード109に記録してもよい。この場合、表示を行うごとに、処理部125が移動効果データと静止画データSとを合成して移動効果付画像データSEを生成すればよい。   The image processing unit 112 records the movement effect-added image data SE generated by the processing unit 125 as described above on the memory card 109. Note that the image processing unit 112 may record the still image data S and the movement effect data generated by the processing unit 125 in the memory card 109 in association with each other. In this case, every time display is performed, the processing unit 125 may synthesize the movement effect data and the still image data S to generate the movement effect-added image data SE.

図7〜図9を参照しながら、本発明の実施の形態によるデジタルカメラ1の動作について説明する。図7の処理は制御回路102でプログラムを実行して行われる。このプログラムは、メモリ(不図示)に格納されており、ユーザにより移動効果負荷画像モードが選択されると制御回路102により起動され、実行される。   The operation of the digital camera 1 according to the embodiment of the present invention will be described with reference to FIGS. The processing in FIG. 7 is performed by executing a program in the control circuit 102. This program is stored in a memory (not shown), and is activated and executed by the control circuit 102 when the movement effect load image mode is selected by the user.

ステップS1においては、移動情報検出部122は、フレーム画像データ上の移動被写体MSを検出して動きベクトルを算出することにより、移動被写体MSに関する移動方向や移動量等の移動情報を取得してステップS2へ進む。ステップS2では、移動方向検出部122は、移動被写体MSの移動方向に収束点Pが存在するか否かを判定する。収束点が存在する場合には、ステップS2が肯定判定されてステップS3へ進み、収束点が存在しない場合には、ステップS2が否定判定されてステップS4へ進む。   In step S1, the movement information detection unit 122 acquires movement information such as a movement direction and a movement amount related to the moving subject MS by detecting the moving subject MS on the frame image data and calculating a motion vector. Proceed to S2. In step S2, the moving direction detector 122 determines whether or not the convergence point P exists in the moving direction of the moving subject MS. If a convergence point exists, step S2 is affirmed and the process proceeds to step S3. If no convergence point exists, step S2 is determined to be negative and the process proceeds to step S4.

ステップS3では、詳細を後述する収束点が存在する場合における移動効果付画像データ生成処理を行って処理を終了する。ステップS4では、詳細を後述する収束点が存在しない場合における移動効果付画像データ生成処理を行って処理を終了する。   In step S3, a moving effect-added image data generation process is performed when there is a convergence point whose details will be described later, and the process ends. In step S4, a moving effect-added image data generation process is performed when there is no convergence point whose details will be described later, and the process ends.

図8に示すフローチャートを参照しながら、ステップS3における収束点が存在する場合における移動効果付画像データ生成処理について説明する。
ステップS101では、移動情報検出部122は、収束点Pの画像データ上での位置を特定してステップS102へ進む。ステップS102では、描画効果選択部124は、特定された収束点Pの位置と、移動被写体MSの形状とに基づいて、描画領域Rを決定してステップS103へ進む。
With reference to the flowchart shown in FIG. 8, the moving effect-added image data generation process when there is a convergence point in step S3 will be described.
In step S101, the movement information detection unit 122 identifies the position of the convergence point P on the image data, and proceeds to step S102. In step S102, the drawing effect selection unit 124 determines the drawing region R based on the position of the specified convergence point P and the shape of the moving subject MS, and proceeds to step S103.

ステップS103では、描画効果選択部124は、描画領域Rに描画する移動線LEの態様、すなわち描写する直線の本数、それぞれの直線の長さ、隣接し合う直線の間隔を検出された動きベクトルの大きさ、すなわち移動被写体MSの移動速度に応じて決定してステップS104へ進む。ステップS104では、処理部125は、描画効果選択部124により決定された移動効果を、決定された描画領域Rに表現した移動効果データを生成してステップS105へ進む。ステップS105では、処理部125は、移動効果データと静止画データSとを合成して、移動効果付画像データSEを生成して移動効果付画像データ生成処理を終了する。   In step S103, the drawing effect selection unit 124 detects the movement vector LE that is drawn in the drawing area R, that is, the number of straight lines to be drawn, the length of each straight line, and the distance between adjacent straight lines. The determination is made according to the size, that is, the moving speed of the moving subject MS, and the process proceeds to step S104. In step S104, the processing unit 125 generates movement effect data expressing the movement effect determined by the drawing effect selection unit 124 in the determined drawing area R, and the process proceeds to step S105. In step S105, the processing unit 125 synthesizes the movement effect data and the still image data S to generate the movement effect-added image data SE and ends the movement effect-added image data generation process.

図9に示すフローチャートを参照しながら、ステップS4における収束点が存在しない場合における移動効果付画像データ生成処理について説明する。
ステップS201においては、移動情報検出部122は、移動被写体MSの動きベクトルの大きさが所定値を超える領域を描画領域Rとして決定してステップS202へ進む。ステップS202では、描画効果選択部124は、描画領域Rに描画する移動線LEの態様、すなわち描写する移動線LEの本数、それぞれの移動線LEの長さ、隣接し合う移動線LEの間隔を検出された動きベクトルの大きさ、すなわち移動被写体MSの移動速度に応じて決定してステップS203へ進む。ステップS203では、処理部125は、描画効果選択部124により決定された移動効果を、決定された描画領域Rに表現した移動効果データを生成してステップS204へ進む。ステップS204では、処理部125は、移動効果データと静止画データSとを合成して、移動効果付画像データSEを生成して移動効果付画像データ生成処理を終了する。
With reference to the flowchart shown in FIG. 9, the moving effect-added image data generation processing when there is no convergence point in step S4 will be described.
In step S201, the movement information detection unit 122 determines an area where the magnitude of the motion vector of the moving subject MS exceeds a predetermined value as the drawing area R, and proceeds to step S202. In step S202, the drawing effect selection unit 124 sets the mode of the movement line LE to be drawn in the drawing area R, that is, the number of movement lines LE to be drawn, the length of each movement line LE, and the interval between adjacent movement lines LE. The determination is made according to the detected magnitude of the motion vector, that is, the moving speed of the moving subject MS, and the process proceeds to step S203. In step S203, the processing unit 125 generates movement effect data in which the movement effect determined by the drawing effect selection unit 124 is expressed in the determined drawing area R, and the process proceeds to step S204. In step S204, the processing unit 125 synthesizes the movement effect data and the still image data S to generate the movement effect-added image data SE and ends the movement effect-added image data generation process.

上述した実施の形態によるデジタルカメラによれば、次の作用効果が得られる。
(1)デジタルカメラ1は、移動被写体検出部121により検出された移動被写体MSの移動方向を含む移動情報を検出する移動情報検出部122と、検出された移動情報に基づいて、移動効果を静止画データSに描画する処理部125とを備えるようにした。したがって、移動被写体MSの移動方向に即した移動効果を視覚的に観察可能な静止画を生成できる。
According to the digital camera according to the above-described embodiment, the following operational effects can be obtained.
(1) The digital camera 1 stops the movement effect based on the movement information detection unit 122 that detects movement information including the movement direction of the moving subject MS detected by the moving subject detection unit 121 and the detected movement information. And a processing unit 125 for drawing the image data S. Therefore, it is possible to generate a still image in which the moving effect according to the moving direction of the moving subject MS can be visually observed.

(2)描画効果選択部124は、移動被写体MSの移動方向が実質的に同一方向を維持しながら画像上の一点に収束するか否かに応じて、対象画像データである静止画データSに描画する移動効果を選択するようにした。具体的には、描画効果選択部124は、移動被写体MSの移動方向が実質的に同一方向を維持しながら画像上の一点である収束点Pに収束する場合には、移動被写体MSの外縁部後方に放射状に延伸する移動線LEを移動効果として選択する。移動被写体MSの移動方向が実質的に同一方向を維持しながら画像上の一点に収束しない場合には、移動被写体MSの外縁部後方に延伸する軌跡を移動線LEとして選択するようにした。したがって、移動被写体MSの移動方向に応じて移動線LEの描画の態様を異ならせることができるので、移動被写体MSの移動状況に応じた効果を視覚的に観察できる。 (2) The drawing effect selection unit 124 applies the still image data S as the target image data according to whether or not the moving direction of the moving subject MS converges to one point on the image while maintaining the substantially same direction. The movement effect to draw was selected. Specifically, the drawing effect selection unit 124, if the moving direction of the moving subject MS converges to a convergence point P that is one point on the image while maintaining the substantially same direction, the outer edge portion of the moving subject MS A movement line LE extending radially backward is selected as the movement effect. In the case where the moving direction of the moving subject MS does not converge to one point on the image while maintaining the substantially same direction, a trajectory extending behind the outer edge of the moving subject MS is selected as the moving line LE. Accordingly, since the manner of drawing the movement line LE can be varied according to the moving direction of the moving subject MS, the effect according to the moving state of the moving subject MS can be visually observed.

(3)描画効果選択部124は、移動被写体MSの移動速度の大小に応じて、移動線LEの本数、長さ、移動線LE間の間隔を増減させるようにした。この結果、移動被写体MSの移動速度を視覚的に捉えることができる。 (3) The drawing effect selection unit 124 increases or decreases the number and length of the moving lines LE and the interval between the moving lines LE according to the moving speed of the moving subject MS. As a result, it is possible to visually grasp the moving speed of the moving subject MS.

次のような変形も本発明の範囲内であり、変形例の一つ、もしくは複数を上述の実施形態と組み合わせることも可能である。
(1)連写モードで取得された複数の静止画データを用いて移動効果付画像データを生成するものも本発明の一態様に含まれる。この場合、画像選択部120は、たとえばユーザの選択操作に応じて、複数の静止画データの中から対象画像データを選択すればよい。
The following modifications are also within the scope of the present invention, and one or a plurality of modifications can be combined with the above-described embodiment.
(1) One aspect of the present invention includes generating moving effect-added image data using a plurality of still image data acquired in the continuous shooting mode. In this case, the image selection unit 120 may select target image data from a plurality of still image data, for example, according to a user's selection operation.

(2)動画モードで取得された複数のフレーム画像データFを用いて、移動効果付画像データを生成してもよい。この場合、画像選択部120は、複数のフレーム画像データFのそれぞれを、順次、対象画像データとして選択する。移動被写体検出部121は、対象画像データが取得される直前に生成された所定数(たとえば6フレーム)のフレーム画像データを用いて移動被写体MSを検出する。移動情報検出部122、描画効果選択部124、および処理部125は実施の形態の場合と同様の処理を行って、移動効果付画像データSEが生成される。対象画像データはフレーム画像データFのそれぞれについて順次選択されるため、処理部125により複数の移動効果付画像データSEが生成される。 (2) The movement effect-added image data may be generated using a plurality of frame image data F acquired in the moving image mode. In this case, the image selection unit 120 sequentially selects each of the plurality of frame image data F as target image data. The moving subject detection unit 121 detects the moving subject MS using a predetermined number (for example, six frames) of frame image data generated immediately before the target image data is acquired. The movement information detection unit 122, the drawing effect selection unit 124, and the processing unit 125 perform the same processing as in the embodiment to generate the movement effect-added image data SE. Since the target image data is sequentially selected for each of the frame image data F, the processing unit 125 generates a plurality of pieces of image data SE with movement effect.

複数の移動効果付画像データSEのそれぞれは、対応する対象画像データが取得される直前の6フレーム分のフレーム画像データFにおける移動被写体MSの移動情報が反映されている。この結果、複数の移動効果付画像データSEを動画として再生する場合、6フレーム分の移動情報に基づいた移動線LEが移動被写体MSとともに描画されて再生される。この場合、移動被写体MSが同一の移動速度で移動している際には、複数フレームの移動効果付画像データSEの再生に伴って、同一の長さの移動線LEが移動被写体MSの後方に描画されて再生される。移動被写体MSの移動速度の増減にともなって、移動線LEの長さが徐々に増減しながら移動被写体MSの後方に描画されて再生され、移動被写体MSが移動を停止すると移動線LEが消去する。停止した移動被写体MSが再び移動を開始すると、再び移動線LEが描画されて再生される。   Each of the plurality of image data SE with movement effect reflects the movement information of the moving subject MS in the frame image data F for 6 frames immediately before the corresponding target image data is acquired. As a result, when a plurality of image data SE with movement effect is reproduced as a moving image, the movement line LE based on the movement information for six frames is drawn and reproduced together with the moving subject MS. In this case, when the moving subject MS is moving at the same moving speed, the moving line LE having the same length is located behind the moving subject MS along with the reproduction of the image data SE with the movement effect of a plurality of frames. It is drawn and played. As the moving speed of the moving subject MS increases / decreases, the length of the moving line LE is gradually increased / decreased and is drawn and reproduced behind the moving subject MS. When the moving subject MS stops moving, the moving line LE is erased. . When the stopped moving subject MS starts moving again, the moving line LE is again drawn and reproduced.

(3)動きベクトルの大きさが所定値を超える場合、すなわち移動被写体MSの移動速度が所定速度を超える場合には、移動被写体MSの形状を変形させる画像処理を施してもよい。図10に一例を示す。図10は左から右へ移動する車両を移動被写体MSとした場合を示している。図10(a)に示すように、移動被写体MSの移動速度が所定速度以下の場合には、実施の形態の場合と同様にして移動線LEが描画された移動効果付画像データが生成される。これに対して、移動被写体MSの移動速度が所定速度を超えた場合には、処理部125は、対象画像データ上の移動被写体MSに対して画像処理を施して、たとえば、図10(b)に示す形状に変形させる。そして、処理部125は、移動効果データと図10(b)に示す画像処理後の対象画像データとを合成して、図10(c)に示す移動効果付画像データを生成すればよい。 (3) When the magnitude of the motion vector exceeds a predetermined value, that is, when the moving speed of the moving subject MS exceeds a predetermined speed, image processing for deforming the shape of the moving subject MS may be performed. An example is shown in FIG. FIG. 10 shows a case where the moving object MS is a vehicle moving from left to right. As shown in FIG. 10A, when the moving speed of the moving subject MS is equal to or lower than a predetermined speed, image data with a movement effect in which a movement line LE is drawn is generated in the same manner as in the embodiment. . On the other hand, when the moving speed of the moving subject MS exceeds the predetermined speed, the processing unit 125 performs image processing on the moving subject MS on the target image data, for example, FIG. To the shape shown in Then, the processing unit 125 may synthesize the movement effect data and the target image data after the image processing illustrated in FIG. 10B to generate the image data with the movement effect illustrated in FIG.

(4)動きベクトルの大きさが所定値に満たない場合、すなわち移動被写体MSの移動速度が非常に遅い場合には、移動線LEを動きベクトルの方向に準じた方向に沿った方向に延伸しないものとすることができる。図11に一例を示す。図11も、図10と同様に左から右へ移動する車両を移動被写体MSとした場合を示している。図11(a)は、図10(a)と同様である。これに対して、移動被写体MSの移動速度が非常に遅い場合には、描画効果選択部124は、図11(b)に示すような移動線LEを移動効果として選択する。その結果、図11(c)に示す移動効果付画像データSEが処理部125により生成される。 (4) When the magnitude of the motion vector is less than the predetermined value, that is, when the moving speed of the moving subject MS is very slow, the moving line LE is not extended in a direction along the direction of the motion vector. Can be. An example is shown in FIG. FIG. 11 also shows a case where the moving subject MS is a vehicle that moves from left to right as in FIG. FIG. 11A is the same as FIG. On the other hand, when the moving speed of the moving subject MS is very slow, the drawing effect selecting unit 124 selects a moving line LE as shown in FIG. 11B as the moving effect. As a result, the moving effect-added image data SE shown in FIG.

(5)移動効果として移動線LEを描画するものに限定されない。たとえば、移動被写体MSの後方に砂埃等を描画してもよい。この場合、描画効果選択部124は、移動被写体MSの移動速度が増加するほど、砂埃の範囲が広く、砂埃の量が多くなるような移動効果を選択すればよい。 (5) The movement effect is not limited to drawing the movement line LE. For example, dust or the like may be drawn behind the moving subject MS. In this case, the drawing effect selection unit 124 may select a moving effect that increases the moving speed of the moving subject MS so that the dust range is wider and the amount of dust increases.

(6)実施の形態においては、デジタルカメラ1を一例として説明したが、カメラと表示器とを備えるタブレット等の携帯情報表示端末等にも適用できる。
(7)デジタルカメラ1により移動効果付画像データの生成処理を行うものに代えて、画像処理装置(たとえばパーソナルコンピュータ等)により移動効果付画像データの生成処理を行ってもよい。
(6) In the embodiments, the digital camera 1 has been described as an example, but the present invention can also be applied to a portable information display terminal such as a tablet including a camera and a display.
(7) Instead of performing the generation process of the image data with movement effect by the digital camera 1, the generation process of the image data with the movement effect may be performed by an image processing apparatus (for example, a personal computer).

図12に、画像処理装置としてパーソナルコンピュータを一例としたブロック図を示す。画像処理装置300は、デジタルカメラ1で撮像した被写体像の画像データの表示や編集、画像データの保存を行う。画像処理装置300は、制御回路301、HDD302、モニタ制御回路303、モニタ304、バッファメモリ305、入力装置306、メモリカードインタフェース307、および外部インタフェース308を備える。外部インタフェース308は、所定のケーブルや無線伝送路を介してデジタルカメラ1等の外部装置とデータ通信を行う。   FIG. 12 is a block diagram illustrating a personal computer as an example of the image processing apparatus. The image processing apparatus 300 displays and edits image data of a subject image captured by the digital camera 1 and stores the image data. The image processing apparatus 300 includes a control circuit 301, an HDD 302, a monitor control circuit 303, a monitor 304, a buffer memory 305, an input device 306, a memory card interface 307, and an external interface 308. The external interface 308 performs data communication with an external device such as the digital camera 1 via a predetermined cable or wireless transmission path.

入力装置306は、ユーザによって操作され、たとえばキーボードやマウスなどで構成される。HDD302には、たとえばデジタルカメラ1で撮影した動画や静止画に対応する画像ファイルなどが記録されている。外部インタフェース308は、たとえば画像処理装置300にデジタルカメラ1などの外部機器を接続するUSBインタフェースである。画像処理装置300は、メモリカードインタフェース307や外部インタフェース308を介してメモリカード109や外部機器から画像ファイルなどを入力する。入力された画像ファイルは、制御回路301によりHDD302に記録される。上述したデジタルカメラ1で生成された画像ファイルも、同様にHDD302に記録される。   The input device 306 is operated by a user, and is composed of, for example, a keyboard and a mouse. In the HDD 302, for example, an image file corresponding to a moving image or a still image taken by the digital camera 1 is recorded. The external interface 308 is a USB interface for connecting an external device such as the digital camera 1 to the image processing apparatus 300, for example. The image processing apparatus 300 inputs an image file or the like from the memory card 109 or an external device via the memory card interface 307 or the external interface 308. The input image file is recorded on the HDD 302 by the control circuit 301. The image file generated by the digital camera 1 described above is also recorded in the HDD 302 in the same manner.

制御回路301は、画像処理装置300の制御を行うマイクロコンピュータであり、CPUやROMその他周辺回路により構成される。制御回路301は、画像処理部320を機能として備える。画像処理部320、入力された画像ファイルに基づいて、モニタ304に表示するための表示画像データを生成する。また、画像処理部320は、画像選択部321と、移動被写体検出部322と、移動情報検出部323と、描画効果選択部324と、処理部325とを機能として備え、デジタルカメラ1の画像選択部120と、移動被写体検出部121と、移動情報検出部122と、描画効果選択部124と、処理部125と同一の機能をそれぞれ有している   The control circuit 301 is a microcomputer that controls the image processing apparatus 300 and includes a CPU, a ROM, and other peripheral circuits. The control circuit 301 includes the image processing unit 320 as a function. The image processing unit 320 generates display image data to be displayed on the monitor 304 based on the input image file. The image processing unit 320 includes an image selection unit 321, a moving subject detection unit 322, a movement information detection unit 323, a drawing effect selection unit 324, and a processing unit 325 as functions. Unit 120, moving subject detection unit 121, movement information detection unit 122, drawing effect selection unit 124, and processing unit 125.

すなわち、メモリカード109を介してフレーム画像データFと静止画データSとが入力されると、画像選択部321は、静止画データSを対象画像データとして選択し、移動被写体検出部322はフレーム画像データFを用いて移動被写体MSを検出する。移動情報検出部323は、動きベクトルを算出し、収束点Pの有無の判定、描画領域Rの決定を行う。描画効果選択部324は、算出された動きベクトルに基づいて、移動効果の態様を選択し、処理部325は、選択された移動効果を描画した移動効果データを生成し、対象画像データである静止画データSと合成して移動効果付画像データSEを生成する。   That is, when frame image data F and still image data S are input via the memory card 109, the image selection unit 321 selects the still image data S as target image data, and the moving subject detection unit 322 The moving subject MS is detected using the data F. The movement information detection unit 323 calculates a motion vector, determines the presence / absence of the convergence point P, and determines the drawing region R. The drawing effect selection unit 324 selects a movement effect mode based on the calculated motion vector, and the processing unit 325 generates movement effect data in which the selected movement effect is drawn, and is a still image that is target image data. The image data SE with the movement effect is generated by combining with the image data S.

本発明の特徴を損なわない限り、本発明は上記実施の形態に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。   As long as the characteristics of the present invention are not impaired, the present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. .

1…デジタルカメラ、300…画像処理装置、
102、301…制御回路、103、305…バッファメモリ、
106…操作部、112、320…画像処理部、
120、321…画像選択部、121、322…移動被写体検出部、
122、323…移動情報検出部、124、324…描画効果選択部、
125、325…処理部
DESCRIPTION OF SYMBOLS 1 ... Digital camera, 300 ... Image processing apparatus,
102, 301 ... control circuit, 103, 305 ... buffer memory,
106: operation unit, 112, 320 ... image processing unit,
120, 321 ... image selection unit, 121, 322 ... moving subject detection unit,
122, 323 ... movement information detection unit, 124, 324 ... drawing effect selection unit,
125, 325 ... processing section

Claims (7)

複数の画像データに基づいて、移動被写体の移動方向が実質的に同一方向を維持しながら一点に収束する収束点が存在するか否かを判定する判定手段と、
前記判定手段により前記収束点が存在すると判定された場合、前記移動被写体の後方に放射状に延びる複数の直線を移動効果データとして生成し、前記移動効果データを対象画像データと合成して移動効果付画像データを生成し、前記収束点が存在しない場合、前記移動被写体の後方に前記移動方向に沿って同一方向に延びる複数の直線を前記移動効果データとして生成し、前記移動効果データを前記対象画像データと合成して前記移動効果付画像データを生成する画像処理手段とを備えること
を特徴とする画像処理装置。
Determining means for determining whether there is a convergence point that converges to one point while maintaining the moving direction of the moving subject substantially the same direction based on a plurality of image data;
When the determination means determines that the convergence point exists, a plurality of straight lines extending radially behind the moving subject are generated as movement effect data, and the movement effect data is combined with the target image data to add a movement effect. When image data is generated and the convergence point does not exist, a plurality of straight lines extending in the same direction along the moving direction are generated behind the moving subject as the moving effect data, and the moving effect data is the target image. An image processing apparatus comprising: image processing means for generating image data with a movement effect by combining with data .
請求項1に記載の画像処理装置において、The image processing apparatus according to claim 1.
前記判定手段は、前記移動被写体の前記移動方向が画像の水平方向に対して所定の角度以上の方向を有し、前記複数の画像データそれぞれの間で前記移動方向が実質的に一定であり、前記複数の画像データそれぞれの間で前記移動被写体の大きさに変化がある場合、前記収束点が存在すると判定することThe determination means has a direction in which the moving direction of the moving subject is a predetermined angle or more with respect to a horizontal direction of an image, and the moving direction is substantially constant between each of the plurality of image data, When there is a change in the size of the moving subject between each of the plurality of image data, it is determined that the convergence point exists.
を特徴とする画像処理装置。An image processing apparatus.
請求項1又は請求項2に記載の画像処理装置において、The image processing apparatus according to claim 1 or 2,
前記画像処理手段は、前記判定手段により前記収束点が存在すると判定された場合、前記移動被写体の移動速度が大きいほど、前記移動被写体の後方に放射状に延びる複数の直線の本数を多くした前記移動効果データを生成し、前記移動効果データを対象画像データと合成して移動効果付画像データを生成し、前記収束点が存在しない場合、前記移動被写体の前記移動速度が大きいほど、前記移動被写体の後方に前記移動方向に沿って同一方向に延びる複数の直線の本数を多くした前記移動効果データを生成し、前記移動効果データを前記対象画像データと合成して前記移動効果付画像データを生成することWhen the determination unit determines that the convergence point exists, the image processing unit increases the number of the plurality of straight lines radially extending behind the moving subject as the moving speed of the moving subject increases. When the effect data is generated and the movement effect data is combined with the target image data to generate image data with a movement effect, and the convergence point does not exist, the higher the moving speed of the moving subject, The movement effect data is generated by increasing the number of a plurality of straight lines extending backward in the same direction along the movement direction, and the movement effect data is combined with the target image data to generate the image data with movement effect. about
を特徴とする画像処理装置。An image processing apparatus.
請求項1から請求項3のいずれか一項に記載の画像処理装置において、The image processing apparatus according to any one of claims 1 to 3,
前記画像処理手段は、前記判定手段により前記収束点が存在すると判定された場合、前記移動被写体の移動速度が大きいほど、前記移動被写体の後方に放射状に延びる複数の直線それぞれの長さを長くした前記移動効果データを生成し、前記移動効果データを対象画像データと合成して移動効果付画像データを生成し、前記収束点が存在しない場合、前記移動被写体の前記移動速度が大きいほど、前記移動被写体の後方に前記移動方向に沿って同一方向に延びる複数の直線それぞれの長さを長くした前記移動効果データを生成し、前記移動効果データを前記対象画像データと合成して前記移動効果付画像データを生成することIn the case where the determination unit determines that the convergence point exists, the image processing unit increases the length of each of the plurality of straight lines extending radially behind the moving subject as the moving speed of the moving subject increases. The movement effect data is generated, and the movement effect data is combined with the target image data to generate image data with movement effect. When the convergence point does not exist, the movement speed of the moving subject increases as the movement speed increases. The movement effect data is generated by increasing the length of each of a plurality of straight lines extending in the same direction along the movement direction behind the subject, and the movement effect data is combined with the target image data to generate the image with the movement effect. Generating data
を特徴とする画像処理装置。An image processing apparatus.
請求項1から請求項4のいずれか一項に記載の画像処理装置において、In the image processing device according to any one of claims 1 to 4,
前記画像処理手段は、前記判定手段により前記収束点が存在すると判定された場合、前記移動被写体の移動速度が大きいほど、前記移動被写体の後方に放射状に延びる複数の直線の間隔を密にした前記移動効果データを生成し、前記移動効果データを対象画像データと合成して移動効果付画像データを生成し、前記収束点が存在しない場合、前記移動被写体の前記移動速度が大きいほど、前記移動被写体の後方に前記移動方向に沿って同一方向に延びる複数の直線の間隔を密にした前記移動効果データを生成し、前記移動効果データを前記対象画像データと合成して前記移動効果付画像データを生成することIn the case where the determination unit determines that the convergence point exists, the image processing unit increases the distance between a plurality of straight lines extending radially behind the moving subject as the moving speed of the moving subject increases. When the moving effect data is generated, the moving effect data is combined with the target image data to generate image data with moving effect, and the convergence point does not exist, the moving subject increases as the moving speed of the moving subject increases. The movement effect data in which the intervals of a plurality of straight lines extending in the same direction along the movement direction are densely rearward are generated, and the movement effect data is combined with the target image data to obtain the image data with movement effect. To generate
を特徴とする画像処理装置。An image processing apparatus.
請求項1から請求項5のいずれか一項に記載の画像処理装置において、The image processing apparatus according to any one of claims 1 to 5,
ユーザにより操作されるレリーズボタンと、A release button operated by the user;
被写体を撮像して画像データを生成する撮像手段とを更に備え、Imaging means for imaging a subject and generating image data;
前記ユーザにより前記レリーズボタンが半押し操作されている間、前記撮像手段は、前記画像データを順次生成し、前記判定手段は、前記撮像手段により生成された複数の前記画像データに基づいて前記収束点が存在するか否かを判定し、While the release button is half-pressed by the user, the imaging means sequentially generates the image data, and the determination means is based on the plurality of image data generated by the imaging means. Determine if a point exists,
前記ユーザにより前記レリーズボタンが全押し操作されたことに応じて、前記撮像手段は、前記対象画像データとして前記画像データを生成することIn response to the release button being fully pressed by the user, the imaging unit generates the image data as the target image data.
を特徴とする撮像装置。An imaging apparatus characterized by the above.
複数の画像データに基づいて、移動被写体の移動方向が実質的に同一方向を維持しながら一点に収束する収束点が存在するか否かを判定する判定処理と、A determination process for determining whether there is a convergence point that converges to one point while maintaining the movement direction of the moving subject substantially the same direction based on a plurality of image data;
前記判定処理により前記収束点が存在すると判定された場合、前記移動被写体の後方に放射状に延びる複数の直線を移動効果データとして生成し、前記移動効果データを対象画像データと合成して移動効果付画像データを生成し、前記収束点が存在しない場合、前記移動被写体の後方に前記移動方向に沿って同一方向に延びる複数の直線を前記移動効果データとして生成し、前記移動効果データを前記対象画像データと合成して前記移動効果付画像データを生成する画像処理とをコンピュータに実行させることIf it is determined by the determination process that the convergence point exists, a plurality of straight lines extending radially behind the moving subject are generated as movement effect data, and the movement effect data is combined with the target image data to add a movement effect. When image data is generated and the convergence point does not exist, a plurality of straight lines extending in the same direction along the moving direction are generated behind the moving subject as the moving effect data, and the moving effect data is the target image. Causing a computer to execute image processing for generating image data with movement effect by combining with data
を特徴とする画像処理プログラム。An image processing program characterized by the above.
JP2013223230A 2013-10-28 2013-10-28 Image processing apparatus, imaging apparatus, and image processing program Active JP6318547B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013223230A JP6318547B2 (en) 2013-10-28 2013-10-28 Image processing apparatus, imaging apparatus, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013223230A JP6318547B2 (en) 2013-10-28 2013-10-28 Image processing apparatus, imaging apparatus, and image processing program

Publications (2)

Publication Number Publication Date
JP2015088771A JP2015088771A (en) 2015-05-07
JP6318547B2 true JP6318547B2 (en) 2018-05-09

Family

ID=53051186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013223230A Active JP6318547B2 (en) 2013-10-28 2013-10-28 Image processing apparatus, imaging apparatus, and image processing program

Country Status (1)

Country Link
JP (1) JP6318547B2 (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3603629B2 (en) * 1998-12-24 2004-12-22 カシオ計算機株式会社 Image processing apparatus and image processing method
JP2003200782A (en) * 2002-01-08 2003-07-15 Hitachi Kokusai Electric Inc Vehicle travelling status display device
JP4986698B2 (en) * 2007-05-01 2012-07-25 キヤノン株式会社 Imaging apparatus, control method therefor, and program
JP5326809B2 (en) * 2009-05-22 2013-10-30 株式会社ニコン Imaging device
JP5483535B2 (en) * 2009-08-04 2014-05-07 アイシン精機株式会社 Vehicle periphery recognition support device
JP5618531B2 (en) * 2009-12-17 2014-11-05 キヤノン株式会社 Imaging apparatus, image processing apparatus, and image processing method
KR101630444B1 (en) * 2009-12-22 2016-06-14 톰슨 라이센싱 Method and apparatus for optimal motion reproduction in stereoscopic digital cinema
JP5325800B2 (en) * 2010-01-25 2013-10-23 シャープ株式会社 Image processing device, image photographing device, image display device, and program
JP5581728B2 (en) * 2010-02-24 2014-09-03 カシオ計算機株式会社 Image processing apparatus and method, and program
JP5983737B2 (en) * 2012-04-03 2016-09-06 ソニー株式会社 Image processing apparatus, image processing apparatus control method, and program

Also Published As

Publication number Publication date
JP2015088771A (en) 2015-05-07

Similar Documents

Publication Publication Date Title
CN107690649B (en) Digital photographing apparatus and method of operating the same
KR102090624B1 (en) Apparatus and method for processing a image in device
CN108156365B (en) Image pickup apparatus, image pickup method, and recording medium
EP3316568B1 (en) Digital photographing device and operation method therefor
JP6332996B2 (en) Moving image processing apparatus, imaging apparatus, and moving image processing method
JP2012151705A (en) Moving image processing system, moving image processing method, and program
WO2016008359A1 (en) Object movement track image synthesizing method, device and computer storage medium
US9143682B2 (en) Image capturing apparatus, method, and recording medium capable of continuously capturing object
JP5952782B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP2013007836A (en) Image display device, image display method, and program
JP6323022B2 (en) Image processing device
US10477112B2 (en) Display control apparatus displaying image, control method therefor, and storage medium storing control program therefor
KR20140109868A (en) Image processing apparatus, method thereof, and non-transitory computer readable storage medium
JP6699589B2 (en) Display device and display method
JP2015012481A (en) Image processing device
JP2017212550A (en) Image reproducer, control method thereof, program, and storage medium
US9661217B2 (en) Image capturing apparatus and control method therefor
JP6318547B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP2013175805A (en) Display device and image pickup device
JP2018074523A (en) Imaging device, control method thereof, program, and recording medium
JP5703771B2 (en) Imaging assistance device, imaging assistance method, and program
JP4887461B2 (en) 3D image pickup apparatus and 3D image display method
JP2016036081A (en) Image processing device, method and program, and recording medium
US20170364195A1 (en) Output control apparatus which controls output of contents
JP2011004220A (en) Digital camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170530

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20170718

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170927

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180319

R150 Certificate of patent or registration of utility model

Ref document number: 6318547

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250