JP5231759B2 - Imaging apparatus and imaging method - Google Patents

Imaging apparatus and imaging method Download PDF

Info

Publication number
JP5231759B2
JP5231759B2 JP2007166581A JP2007166581A JP5231759B2 JP 5231759 B2 JP5231759 B2 JP 5231759B2 JP 2007166581 A JP2007166581 A JP 2007166581A JP 2007166581 A JP2007166581 A JP 2007166581A JP 5231759 B2 JP5231759 B2 JP 5231759B2
Authority
JP
Japan
Prior art keywords
image
contour
image signal
unit
composition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007166581A
Other languages
Japanese (ja)
Other versions
JP2009005273A (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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2007166581A priority Critical patent/JP5231759B2/en
Publication of JP2009005273A publication Critical patent/JP2009005273A/en
Application granted granted Critical
Publication of JP5231759B2 publication Critical patent/JP5231759B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は撮像装置、画像処理装置、撮像方法、及び画像処理方法に係り、特に画像の輪郭情報を利用して撮影時のアシストを行う撮像装置、画像処理装置、撮像方法、及び画像処理方法に関する。   The present invention relates to an imaging apparatus, an image processing apparatus, an imaging method, and an image processing method, and more particularly, to an imaging apparatus, an image processing apparatus, an imaging method, and an image processing method that assist image capturing using image contour information. .

従来より、カメラのモニタ上の表示により、撮影をアシストする技術が知られている。   2. Description of the Related Art Conventionally, a technique for assisting photographing by display on a camera monitor is known.

例えば特許文献1には、輪郭表示スイッチがオンされると、白黒画像から輪郭画像が抽出され、輪郭画像が白黒用液晶表示装置に表示されるデジタルカメラについて記載されている。特許文献1に記載のデジタルカメラによれば、屋外撮影、室内撮影など表示装置の表示画面上に表示される被写体像が見にくい場合でも、輪郭表示スイッチをオンすることにより、被写体のモノクロの輪郭画像が表示され、被写体像より見やすい輪郭画像を用いて適切なフレーミングを行うことができる。   For example, Patent Document 1 describes a digital camera in which when a contour display switch is turned on, a contour image is extracted from a monochrome image and the contour image is displayed on a monochrome liquid crystal display device. According to the digital camera described in Patent Document 1, even when it is difficult to see the subject image displayed on the display screen of the display device such as outdoor photography or indoor photography, the monochrome contour image of the subject can be obtained by turning on the contour display switch. Is displayed, and appropriate framing can be performed using a contour image that is easier to see than the subject image.

また特許文献2には、前回の定点撮影時の撮影画像を構図画像として今回の定点撮影のスルー画像と重畳表示する電子カメラが記載されている。特許文献2に記載の電子カメラによれば、従来のように手間をかけることなく、前回と同じ構図の撮影が可能となる。
特開2004−179708号公報 特開2002−94854号公報
Further, Patent Document 2 describes an electronic camera that superimposes and displays a captured image at the previous fixed point shooting as a composition image with a through image of the current fixed point shooting. According to the electronic camera described in Patent Document 2, it is possible to shoot with the same composition as the previous time without taking time and effort as in the prior art.
JP 2004-179708 A JP 2002-94854 A

しかしながら、特許文献1に記載のデジタルカメラは、通常のスルー画を表示するカラーLCDと輪郭画像を表示する白黒LCDとが異なるLCDであり、2つのLCDを持つために装置が大型化する等の欠点があった。また特許文献2に記載の電子カメラは、2つの画像を半透明にして同時に表示しているためスルー画の表示がわかりにくく、構図の一致、不一致を判別するのに適していないという欠点があった。本発明はこのような事情に鑑みてなされたもので、画像の輪郭情報を利用して、撮影時の構図のアシストや定点観測撮影のアシストを行うことにより、所望の画像を得ることができる撮像装置、画像処理装置、撮像方法、及び画像処理方法を提供することを目的とする。   However, the digital camera described in Patent Document 1 is an LCD in which a color LCD that displays a normal through image is different from a monochrome LCD that displays a contour image, and the two LCDs increase the size of the device. There were drawbacks. In addition, the electronic camera described in Patent Document 2 has a drawback in that it is difficult to understand the through image display because it displays two images in a translucent state at the same time, and is not suitable for discriminating whether the composition matches or does not match. It was. The present invention has been made in view of such circumstances, and imaging that can obtain a desired image by assisting composition in photographing and assisting fixed point observation photographing by using image contour information. It is an object to provide an apparatus, an image processing apparatus, an imaging method, and an image processing method.

前記目的を達成するために請求項1に記載の撮像装置は、撮像レンズを介して受光した被写体像を所定のレートで画像信号に変換する撮像手段と、前記画像信号の輝度情報から全ての被写体像の輪郭画像を抽出する輪郭抽出手段と、前記画像信号の色差情報と前記輪郭画像とを所定の比率で合成する合成手段と、前記合成手段により合成された合成画像を前記所定のレートで更新してスルー画像として表示する表示手段と、本撮影を指示する撮影指示手段と、前記撮影指示手段により本撮影が指示されると、前記指示に応じて行われた本撮影で取得した画像信号に基づく撮影画像であって、合成画像以外の通常の撮影画像を記録する記録手段と、構図アシスト機能をON/OFFさせる手段とを備え、前記表示手段は、構図アシスト機能がOFFされると前記画像信号に基づいたスルー画像を表示し、構図アシスト機能がONされると、前記合成画像をスルー画像として表示することを特徴とする。 In order to achieve the object, an imaging apparatus according to claim 1, an imaging unit that converts a subject image received through an imaging lens into an image signal at a predetermined rate, and all subjects from luminance information of the image signal. A contour extracting means for extracting a contour image of the image; a synthesizing means for synthesizing the color difference information of the image signal and the contour image at a predetermined ratio; and a composite image synthesized by the synthesizing means is updated at the predetermined rate. Display means for displaying as a through image, shooting instruction means for instructing main shooting, and when the main shooting is instructed by the shooting instruction means, the image signal acquired in the main shooting performed in response to the instruction is displayed. A recording means for recording a normal photographed image other than a composite image, and means for turning on / off the composition assist function, wherein the display means has a composition assist function of O And displaying a through image based on the image signal to be F, the composition assistance function is turned ON, and displaying the combined image as a through image.

これにより、構図を意識して、より上手な撮影を行うことができる。   As a result, it is possible to perform better shooting in consideration of the composition.

これにより、必要なときだけ構図アシストを行うことができる。   Thereby, composition assistance can be performed only when necessary.

請求項2に示すように請求項1に記載の撮像装置において、前記輪郭抽出手段は、前記画像信号の輝度情報から全ての被写体像の輪郭が高輝度となる輪郭画像を作成する手段と、前記作成した輪郭画像の輝度を反転する手段と、前記輝度を反転した輪郭画像を強調するために階調を補正する手段とを備えたことを特徴とする。 As described in claim 2, in the imaging apparatus according to claim 1, the contour extraction unit creates a contour image in which the contours of all subject images have high luminance from the luminance information of the image signal; It is characterized by comprising means for inverting the brightness of the created contour image and means for correcting the gradation in order to enhance the contour image whose brightness has been inverted.

これにより、輪郭をわかりやすく表示することができる。   Thereby, an outline can be displayed in an easy-to-understand manner.

請求項に示すように請求項1又は2に記載の撮像装置において、前記所定の比率を設定するための入力手段を備えたことを特徴とする。 According to a third aspect of the present invention, in the image pickup apparatus according to the first or second aspect , the image pickup apparatus further includes an input unit for setting the predetermined ratio.

これにより、見やすいスルー画像を得ることができる。   Thereby, an easy-to-view through image can be obtained.

前記目的を達成するために請求項4に記載の撮像方法は、撮像レンズを介して受光した被写体像を所定のレートで画像信号に変換する撮像工程と、前記画像信号の輝度情報から全ての被写体像の輪郭画像を抽出する輪郭抽出工程と、前記画像信号の色差情報と前記輪郭画像とを所定の比率で合成する合成工程と、前記合成工程により合成された合成画像を前記所定のレートで更新してスルー画像として表示する表示工程と、撮影指示手段により本撮影が指示されると、前記指示に応じて行われた本撮影で取得した画像信号に基づく撮影画像であって、合成画像以外の通常の撮影画像を記録手段に記録する記録工程とを備え、前記表示工程は、構図アシスト機能をON/OFFさせる手段により構図アシスト機能がOFFされると前記画像信号に基づいたスルー画像を表示し、構図アシスト機能がONされると、前記合成画像をスルー画像として表示することを特徴とする。 In order to achieve the above object, the imaging method according to claim 4 includes an imaging step of converting a subject image received through an imaging lens into an image signal at a predetermined rate, and all subjects from luminance information of the image signal. A contour extracting step of extracting a contour image of the image, a combining step of combining the color difference information of the image signal and the contour image at a predetermined ratio, and updating the combined image combined by the combining step at the predetermined rate. When the main photographing is instructed by the display step for displaying as a through image and the photographing instruction means, the photographed image is based on the image signal acquired by the main photographing performed in response to the instruction, and other than the composite image A recording step of recording a normal photographed image in a recording unit, and the display step includes the step of displaying the image signal when the composition assist function is turned off by the unit for turning on / off the composition assist function. Through image based on Display, when composition assistance function is turned ON, and displaying the combined image as a through image.

これにより、構図を意識して、より上手な撮影を行うことができる。また、必要なときだけ構図アシストを行うことができる。 As a result, it is possible to perform better shooting in consideration of the composition. Also, composition assistance can be performed only when necessary.

本発明によれば、画像の輪郭情報を利用して、撮影時の構図のアシストや定点観測撮影のアシストを行うことにより、所望の画像を得ることができる撮像装置、画像処理装置、撮像方法、及び画像処理方法を提供することができる。   According to the present invention, an image capturing apparatus, an image processing apparatus, an image capturing method, and an image capturing apparatus that can obtain a desired image by assisting composition during photographing and assisting fixed point observation photographing using image contour information. And an image processing method can be provided.

以下、添付図面に従って本発明を実施するための最良の形態について説明する。   The best mode for carrying out the present invention will be described below with reference to the accompanying drawings.

<第1の実施の形態>
図1は、本発明が適用されたデジタルカメラの第1の実施の形態の電気的構成を示すブロック図である。デジタルカメラ1は、CPU11、操作部12、ROM13、RAM14、表示制御部15、画像表示部16、バッファメモリ17、バス18、画像記録部19、メモリカード20、画像信号処理部21、撮像制御部22、CCD23、撮像光学系24、絞り/フォーカス/ズーム制御部25、輪郭検出部26、輪郭情報処理部27、及び輪郭情報合成部28から構成されている。
<First Embodiment>
FIG. 1 is a block diagram showing an electrical configuration of a first embodiment of a digital camera to which the present invention is applied. The digital camera 1 includes a CPU 11, an operation unit 12, a ROM 13, a RAM 14, a display control unit 15, an image display unit 16, a buffer memory 17, a bus 18, an image recording unit 19, a memory card 20, an image signal processing unit 21, and an imaging control unit. 22, a CCD 23, an imaging optical system 24, an aperture / focus / zoom control unit 25, a contour detection unit 26, a contour information processing unit 27, and a contour information synthesis unit 28.

CPU11は、操作部12からの入力の処理、画像信号処理部21における信号処理、画像表示部16への表示出力、メモリカード20へのデータ記録等の、ROM13に格納された制御プログラムをRAM14に読み出し、逐次実行する。   The CPU 11 stores control programs stored in the ROM 13 in the RAM 14 such as input processing from the operation unit 12, signal processing in the image signal processing unit 21, display output to the image display unit 16, and data recording in the memory card 20. Read and execute sequentially.

撮影スタンバイ状態では、CPU11は、画像表示部16に動画(スルー画)を表示させる。ユーザ(撮影者)は、画像表示部16に表示されるスルー画を見ながらフレーミングしたり、撮影したい被写体を確認したり、撮影後の画像を確認したり、撮影条件を設定したりする。本発明においては、輪郭検出部26、輪郭情報処理部27、及び輪郭情報合成部28により構図アシストを行うスルー画を表示するが、詳細は後述する。   In the shooting standby state, the CPU 11 displays a moving image (through image) on the image display unit 16. The user (photographer) performs framing while viewing the through image displayed on the image display unit 16, confirms the subject to be photographed, confirms the image after photographing, and sets photographing conditions. In the present invention, a through image for performing composition assistance is displayed by the contour detection unit 26, the contour information processing unit 27, and the contour information synthesis unit 28. Details will be described later.

上記撮影スタンバイ状態時に操作部12のレリーズスイッチが押されると、CPU11は絞り/フォーカス/ズーム制御部25により露出、フォーカス、ズーム制御を行い、CCD23の受光面上に被写体像を結像させる。CCD23は、受光面に結像された被写体像に対し、その光量に応じた電荷を蓄積し、増幅して電圧信号に変換する。   When the release switch of the operation unit 12 is pressed in the shooting standby state, the CPU 11 performs exposure, focus, and zoom control by the aperture / focus / zoom control unit 25 to form a subject image on the light receiving surface of the CCD 23. The CCD 23 accumulates charges corresponding to the amount of light of the subject image formed on the light receiving surface, amplifies it, and converts it into a voltage signal.

このCCD23は、撮像制御部22から供給される垂直転送クロック及び水平転送クロックに同期して、各画素に蓄積された電荷を1ラインずつシリアルな画像信号として出力する。CPU11は、撮像制御部22を制御して、CCD23の駆動を制御する。   The CCD 23 outputs the charges accumulated in each pixel as a serial image signal line by line in synchronization with the vertical transfer clock and the horizontal transfer clock supplied from the imaging control unit 22. The CPU 11 controls the imaging control unit 22 to control the driving of the CCD 23.

なお、各画素の電荷蓄積時間(露出時間)は、撮像制御部22から与えられる電子シャッタ駆動信号によって決められる。CPU11は、撮像制御部22に対して電荷蓄積時間を指示する。   The charge accumulation time (exposure time) of each pixel is determined by an electronic shutter drive signal given from the imaging control unit 22. The CPU 11 instructs the image capturing control unit 22 on the charge accumulation time.

CCD23から出力された電圧信号は、画像信号処理部21で相関二重サンプリングや増幅等のアナログ処理が施された後A/D変換され、画素ごとのデジタルのR、G、B信号に変換される。さらに、光源種に応じたデジタルゲインをかけることでホワイトバランス調整を行うとともに、ガンマ(階調特性)処理及びシャープネス処理を行ってR、G、B信号を生成し、更にYC信号処理して輝度信号Yとクロマ信号Cr、Cb(YC信号)を生成し、そのYC信号をバッファメモリ17に格納する。   The voltage signal output from the CCD 23 is subjected to analog processing such as correlated double sampling and amplification in the image signal processing unit 21, and then A / D converted, and converted into digital R, G, and B signals for each pixel. The Furthermore, white balance adjustment is performed by applying a digital gain according to the type of light source, gamma (gradation characteristics) processing and sharpness processing are performed to generate R, G, and B signals, and YC signal processing is further performed for luminance. A signal Y and chroma signals Cr and Cb (YC signal) are generated, and the YC signal is stored in the buffer memory 17.

上記のようにしてバッファメモリ17に格納されたYC信号は、所定のフォーマットに圧縮されたのち、画像記録部19を介してデジタルカメラ1に着脱自在なメモリカード20に記録される。   The YC signal stored in the buffer memory 17 as described above is compressed into a predetermined format, and then recorded on the memory card 20 that is detachably attached to the digital camera 1 via the image recording unit 19.

また、操作部12を操作して再生モードが選択されると、メモリカード20に記録されている最終コマの画像ファイルが画像記録部19を介して読み出される。この読み出された画像ファイルの圧縮データは、画像信号処理部21により非圧縮のYC信号に伸張される。伸張されたYC信号は、表示制御部15によって画像表示部16に出力される。これにより、画像表示部16にはメモリカード20に記録されている最終コマの画像が表示される。   When the playback mode is selected by operating the operation unit 12, the image file of the last frame recorded on the memory card 20 is read via the image recording unit 19. The compressed data of the read image file is expanded into an uncompressed YC signal by the image signal processing unit 21. The expanded YC signal is output to the image display unit 16 by the display control unit 15. As a result, the image of the last frame recorded on the memory card 20 is displayed on the image display unit 16.

その後、操作部12の順コマ送りスイッチが押されると順方向にコマ送りされ、逆コマ送りスイッチが押されると逆方向にコマ送りされる。そして、コマ送りされたコマ位置の画像ファイルがメモリカード20から読み出され、上記と同様にして画像が画像表示部16に再生される。   Thereafter, when the forward frame advance switch of the operation unit 12 is pressed, the frame is advanced in the forward direction, and when the reverse frame advance switch is pressed, the frame is advanced in the reverse direction. Then, the frame-positioned image file at the frame position is read from the memory card 20, and the image is reproduced on the image display unit 16 in the same manner as described above.

次に、本実施の形態のデジタルカメラ1の、構図アシストについて説明する。図2は、構図アシストの機能図であり、図3は、構図アシストの動作を示したフローチャートである。   Next, composition assistance of the digital camera 1 of the present embodiment will be described. FIG. 2 is a functional diagram of composition assist, and FIG. 3 is a flowchart showing the composition assist operation.

最初に、ユーザが操作部12の構図アシストボタンを押すことにより、デジタルカメラ1を構図アシストモードに設定する(ステップS31)。構図アシストモードに設定されると、撮影スタンバイ状態において、CCD23から出力される画像信号の輝度情報から、輪郭検出部26が画像内の輪郭情報を検出する(ステップS32)。輪郭検出は、一次分のソーベルフィルタを用いる。図4(a)及び図4(b)は、水平方向のソーベルフィルタのフィルタ行列の例を示す図であり、図4(c)及び図4(d)は、垂直方向のソーベルフィルタのフィルタ行列の例を示す図である。 First, when the user presses the composition assist button of the operation unit 12, the digital camera 1 is set to the composition assist mode (step S31). When the composition assist mode is set, the contour detector 26 detects contour information in the image from the luminance information of the image signal output from the CCD 23 in the photographing standby state (step S32). Contour detection uses a Sobel filter of the primary finely divided. 4 (a) and 4 (b) are diagrams showing examples of filter matrices of horizontal Sobel filters, and FIGS. 4 (c) and 4 (d) are diagrams of vertical Sobel filters. It is a figure which shows the example of a filter matrix.

なお輪郭については、RGB単色の輪郭をそれぞれ検出してから合成してもよい。また、輪郭を検出する方法はソーベルフィルタに限られるものではなく、一次分のプレウィットフィルタを用いてもよいし、二次分のラプラシアンフィルタを使用してもよい。 Note that the contours may be synthesized after detecting the contours of each of the RGB colors. A method of detecting the contour is not limited to the Sobel filter may be used Prewitt filter of the primary finely divided, may be used a secondary fine min Laplacian filter.

次に、輪郭情報処理部27は、輪郭検出部26が検出した輪郭情報の輝度を反転し(ステップS33)、さらに階調補正を行って輪郭を強調し、輪郭画像を生成する(ステップS34)。階調を補正するには、計算式を用いてもよいし、ルックアップテーブルを用いてもよい。このように、ソーベルフィルタを用いて検出された輝度の高い輪郭情報を黒く見やすく表示するために、輪郭情報に反転処理を施す。また、階調補正を行い、輪郭画像を生成する。図5は、CCD23から出力される画像を示した図であり、図6は、図5の画像信号に対して輪郭情報処理部27が出力した輪郭画像を示した図である。   Next, the contour information processing unit 27 inverts the brightness of the contour information detected by the contour detection unit 26 (step S33), further performs gradation correction to emphasize the contour, and generates a contour image (step S34). . In order to correct the gradation, a calculation formula may be used, or a lookup table may be used. Thus, in order to display the high-luminance contour information detected using the Sobel filter in black so that it can be easily viewed, the contour information is inverted. Also, gradation correction is performed to generate a contour image. FIG. 5 is a diagram illustrating an image output from the CCD 23, and FIG. 6 is a diagram illustrating a contour image output from the contour information processing unit 27 with respect to the image signal in FIG.

次に、輪郭情報合成部28は、輪郭情報処理部27が出力した輪郭画像と、CCD23の出力する画像信号(輪郭情報処理部27が出力した信号の元信号)の色差情報を所定の比率で合成する(ステップS35)。即ち、色差情報の比率をα、輪郭画像の比率をβとすると、(数1)のように合成処理を行う。   Next, the contour information synthesizing unit 28 sets the color difference information between the contour image output from the contour information processing unit 27 and the image signal output from the CCD 23 (the original signal of the signal output from the contour information processing unit 27) at a predetermined ratio. Synthesis (step S35). That is, assuming that the ratio of the color difference information is α and the ratio of the contour image is β, the composition processing is performed as shown in (Equation 1).

(数1)
合成画像=α×色差情報+β×輪郭画像 (ただし、α+β=1)
図7は、CCD23から出力された画像信号の色差情報を示した図であり、図8は、図6に示した輪郭情報処理部27が出力した輪郭情報と、図7に示した色差情報を合成した合成画像を示す図である。この合成比率は、あらかじめROM13に記憶されていてもよいし、操作部12によりユーザが自由に設定できてもよい。
(Equation 1)
Composite image = α × color difference information + β × contour image (where α + β = 1)
7 is a diagram showing the color difference information of the image signal output from the CCD 23. FIG. 8 is a diagram showing the contour information output by the contour information processing unit 27 shown in FIG. 6 and the color difference information shown in FIG. It is a figure which shows the synthesized image which synthesize | combined. The composition ratio may be stored in advance in the ROM 13 or may be freely set by the user through the operation unit 12.

そして、輪郭情報合成部28が合成した合成画像を、表示制御部15により画像表示部16にスルー画として表示する(ステップS36)。上記の合成比率によっては輪郭情報のみにすることも可能であるが、撮影シーンの状況がつかみにくいこともあるため、下の画像の色差情報も重ね表示可能にしている。   Then, the composite image synthesized by the contour information synthesis unit 28 is displayed on the image display unit 16 as a through image by the display control unit 15 (step S36). Depending on the composition ratio, it is possible to use only the contour information. However, since the situation of the shooting scene may be difficult to grasp, the color difference information of the lower image can be displayed in an overlapping manner.

再度、操作部12の構図アシストボタンが押されたか否かを判定する(ステップS37)。押されていない場合は、ステップS32に戻り、同様の処理を繰り返す。ユーザは、このスルー画を見ながら構図を決定し、操作部12のレリーズスイッチを押すことにより、本撮影を行うことができる。   It is again determined whether or not the composition assist button of the operation unit 12 has been pressed (step S37). If not, the process returns to step S32 and the same process is repeated. The user can determine the composition while viewing this through image, and press the release switch of the operation unit 12 to perform the main photographing.

構図アシストボタンが押された場合は、構図アシストモードを終了する。なお、この構図アシストモードは、構図アシストボタンが再度押されない場合であっても、本撮影を行った後や、一定時間が経過した場合に解除するように構成してもよい。   When the composition assist button is pressed, the composition assist mode is terminated. Note that this composition assist mode may be configured to be canceled after the actual photographing is performed or when a certain time has elapsed even when the composition assist button is not pressed again.

このように、スルー画に合成して輪郭情報を表示することで、撮影者が構図を意識してより上手な撮影を行うことができる。また、輪郭情報だけでなく、色差情報を合成して表示することで、撮影シーンの状況をつかみやすくすることが可能となる。   In this manner, by combining the through image and displaying the contour information, the photographer can perform better shooting while being aware of the composition. Further, by combining and displaying not only the contour information but also the color difference information, it becomes possible to easily grasp the situation of the shooting scene.

また、RGB単色の輪郭をそれぞれ検出してから合成することにより輪郭検出を行う場合は、撮影シーンに存在する原色の被写体に対して、適切に輪郭を検出して構図を意識させるための表示を行うことができる。   In addition, when performing contour detection by detecting and synthesizing each RGB single color contour, a display for appropriately detecting the contour and making the composition conscious of the primary color subject existing in the shooting scene is displayed. It can be carried out.

<第2の実施の形態>
第2の実施の形態のデジタルカメラ1について説明する。第2の実施の形態のデジタルカメラ1は、定点観測アシストを行う。
<Second Embodiment>
A digital camera 1 according to the second embodiment will be described. The digital camera 1 according to the second embodiment performs fixed point observation assist.

図9は、デジタルカメラ1の内部構成を示すブロック図である。図1に示すブロック図とは、輪郭情報記憶部29を備えたところが異なる。   FIG. 9 is a block diagram showing an internal configuration of the digital camera 1. 1 is different from the block diagram shown in FIG. 1 in that an outline information storage unit 29 is provided.

図10は、定点観測アシストの機能図であり、図11は、デジタルカメラ1の定点観測アシストの準備段階の動作を示すフローチャートである。なお、図3に示すフローチャートと共通する部分には同一の符号を付し、その詳細な説明は省略する。   FIG. 10 is a functional diagram of the fixed point observation assist, and FIG. 11 is a flowchart showing the operation of the digital camera 1 in the fixed point observation assist preparation stage. In addition, the same code | symbol is attached | subjected to the part which is common in the flowchart shown in FIG. 3, and the detailed description is abbreviate | omitted.

まず、撮影済み画像の選択を行う(ステップS111)。前述した再生モードと同様に、操作部12を操作して輪郭記憶モードを選択することにより、メモリカード20に記録されている画像を読み出し、画像表示部16に表示することが可能である。ユーザは、メモリカード20に記録されている画像から、操作部12を用いて定点観測アシストモードで使用したい画像、即ち定点撮影を行いたい構図の画像を選択する。   First, a captured image is selected (step S111). Similar to the above-described playback mode, by operating the operation unit 12 and selecting the outline storage mode, it is possible to read out an image recorded on the memory card 20 and display it on the image display unit 16. The user selects an image to be used in the fixed point observation assist mode, that is, an image having a composition to be fixed point shooting from the images recorded in the memory card 20 using the operation unit 12.

ユーザが画像を選択すると、輪郭検出部26は選択した画像の輪郭を検出し(ステップS32)、輪郭情報処理部27は検出した輪郭情報の輝度を反転し(ステップS33)、さらに階調を補正して強調し、輪郭画像を生成する(ステップS34)。このように生成された輪郭画像を、輪郭情報記憶部29に記憶する(ステップS112)。   When the user selects an image, the contour detection unit 26 detects the contour of the selected image (step S32), the contour information processing unit 27 inverts the brightness of the detected contour information (step S33), and further corrects the gradation. And an outline image is generated (step S34). The contour image generated in this way is stored in the contour information storage unit 29 (step S112).

このように、第2の実施の形態のデジタルカメラ1では、定点観測アシストに用いる輪郭画像をあらかじめ輪郭情報記憶部29が記憶しておく。   As described above, in the digital camera 1 according to the second embodiment, the contour information storage unit 29 stores the contour image used for the fixed point observation assist in advance.

次に、定点観測アシストモードの動作について説明する。図12は、デジタルカメラ1の定点観測アシストモードの動作を示すフローチャートである。なお、図3に示すフローチャートと共通する部分には同一の符号を付し、その詳細な説明は省略する。   Next, the operation in the fixed point observation assist mode will be described. FIG. 12 is a flowchart showing the operation of the fixed point observation assist mode of the digital camera 1. In addition, the same code | symbol is attached | subjected to the part which is common in the flowchart shown in FIG. 3, and the detailed description is abbreviate | omitted.

まず、ユーザが操作部12を用いて、デジタルカメラ1を定点観測アシストモードに設定する(ステップS121)。定点観測アシストモードに設定されると、図9に示した輪郭記憶モードで輪郭情報記憶部29に記憶した輪郭画像を読み出す(ステップS122)。なお、複数の輪郭画像が記憶されている場合は、ユーザは操作部12を用いて所望の輪郭画像を選択する。また、輪郭記憶モードであらかじめ輪郭画像を記憶しておくのではなく、この時点で画像を選択し、輪郭画像を生成して記憶してもよい。   First, the user sets the digital camera 1 to the fixed point observation assist mode using the operation unit 12 (step S121). When the fixed point observation assist mode is set, the contour image stored in the contour information storage unit 29 in the contour storage mode shown in FIG. 9 is read (step S122). When a plurality of contour images are stored, the user uses the operation unit 12 to select a desired contour image. Further, instead of storing the contour image in advance in the contour storage mode, an image may be selected at this time, and a contour image may be generated and stored.

次に、輪郭検出部26はCCD23から出力される画像信号の輪郭を検出し(ステップS32)、輪郭情報処理部27は検出した輪郭情報の輝度を反転し(ステップS33)、さらに階調を補正して強調し、輪郭画像を生成する(ステップS34)。輪郭情報合成部28は、このように抽出された輪郭画像と、読み出した輪郭画像を所定の比率で合成する(ステップS123)。この合成比率は、あらかじめROM13に記憶されていてもよいし、操作部12によりユーザが自由に設定できてもよい。   Next, the contour detection unit 26 detects the contour of the image signal output from the CCD 23 (step S32), the contour information processing unit 27 inverts the brightness of the detected contour information (step S33), and further corrects the gradation. And an outline image is generated (step S34). The contour information synthesis unit 28 synthesizes the contour image extracted in this way and the read contour image at a predetermined ratio (step S123). The composition ratio may be stored in advance in the ROM 13 or may be freely set by the user through the operation unit 12.

この輪郭情報合成部28が合成した合成画像を、表示制御部15を介して画像表示部16にスルー画として表示する(ステップS36)。   The synthesized image synthesized by the contour information synthesizing unit 28 is displayed as a through image on the image display unit 16 via the display control unit 15 (step S36).

次に、定点観測アシストモードが解除されたか否かの判定を行う(ステップS124)。解除されていない場合は、ステップS122に戻り、同様の処理を繰り返す。解除された場合は、定点観測アシストの処理を終了する。   Next, it is determined whether or not the fixed point observation assist mode has been canceled (step S124). If not canceled, the process returns to step S122, and the same processing is repeated. If canceled, the fixed point observation assist process is terminated.

図13は、定点観測アシストモードにおける画像表示部16の表示を示す図である。図13(a)は、輪郭情報記憶部29から読み出した輪郭画像とスルー画から抽出した輪郭画像が不一致の場合を示した図である。ユーザは、表示されたそれぞれの輪郭画像の合成画像を見ながら、スルー画から抽出した輪郭画像が輪郭情報記憶部29から読み出した輪郭画像と一致するようにデジタルカメラ1をパン操作、チルト操作、及びズーム操作を行う。図13(b)は、それぞれの輪郭画像が一致した場合を示した図である。そして、輪郭画像が一致したことを確認して、操作部12のレリーズスイッチを押して本撮影を行うことにより、定点撮影して同一の構図の画像を得ることができる。   FIG. 13 is a diagram showing the display of the image display unit 16 in the fixed point observation assist mode. FIG. 13A is a diagram illustrating a case where the contour image read from the contour information storage unit 29 and the contour image extracted from the through image do not match. While viewing the composite image of each displayed contour image, the user performs pan operation, tilt operation, and the like so that the contour image extracted from the through image matches the contour image read from the contour information storage unit 29. And zoom operation. FIG. 13B is a diagram showing a case where the respective contour images match. Then, after confirming that the contour images match each other and pressing the release switch of the operation unit 12 to perform the main photographing, it is possible to obtain fixed-point photographing and obtain an image with the same composition.

なお、この定点観測アシストモードは、操作部12を操作した場合や、一定時間が経過した場合に解除するように構成されている。また、本撮影が終了した後に解除してもよい。   The fixed point observation assist mode is configured to be canceled when the operation unit 12 is operated or when a predetermined time has elapsed. Alternatively, it may be canceled after the actual shooting is completed.

図14は、本発明の定点観測アシストモードを使用して定点撮影を行い、四季の移り変わりを定点観測した画像を示す図である。また図15は、本発明の定点観測アシストモードを使用して定点撮影を行い、植物の成長を定点観測した画像を示す図である。また図16は、本発明の定点観測アシストモードを使用して、道路と線路の類似構図の撮影を行った画像を示す図である。   FIG. 14 is a diagram showing an image obtained by performing fixed-point shooting using the fixed-point observation assist mode of the present invention and observing fixed points in the four seasons. FIG. 15 is a diagram showing an image obtained by performing fixed-point imaging using the fixed-point observation assist mode of the present invention and observing plant growth at a fixed point. FIG. 16 is a diagram showing an image obtained by photographing a similar composition of a road and a track using the fixed point observation assist mode of the present invention.

このように構成することで、定点観測写真や類似構図写真を容易に撮影することができる。また、建造物保守作業時において、同一構図撮影を用意にすることができる。また、撮影を依頼するときに、構図の意図を明確に伝えることができる。   With this configuration, it is possible to easily take a fixed point observation photograph or a similar composition photograph. In addition, it is possible to prepare the same composition photographing during the building maintenance work. In addition, when requesting shooting, the intention of the composition can be clearly communicated.

なお、本実施の形態では、輪郭情報合成部28は、CCD23から出力される画像信号の輪郭画像と、輪郭情報記憶部29から読み出した輪郭画像を所定の比率で合成したが、それぞれの輪郭画像の色を異ならせて合成してもよい。また、一致している部分をさらに異なる色にしてもよい。このように構成することで、それぞれの輪郭が一致したか否かが見やすくなる。   In this embodiment, the contour information combining unit 28 combines the contour image of the image signal output from the CCD 23 and the contour image read from the contour information storage unit 29 at a predetermined ratio. Different colors may be combined. Moreover, you may make the color which matches also a different color. With this configuration, it is easy to see whether or not the respective contours match.

これらの輪郭画像と同時に、さらにCCD23から出力される画像信号から抽出した色差情報を合成してもよい。どの情報を読み出した輪郭情報と合成するか、ユーザが指定できるように構成してもよい。   Simultaneously with these contour images, color difference information extracted from an image signal output from the CCD 23 may be combined. You may comprise so that a user can designate which information is combined with the read outline information.

<第3の実施の形態>
第3の実施の形態のデジタルカメラ1について説明する。第3の実施の形態のデジタルカメラ1は、輪郭画像と共に定点観測アシストの指標の表示を行って定点観測アシストを行う。
<Third Embodiment>
A digital camera 1 according to a third embodiment will be described. The digital camera 1 according to the third embodiment performs fixed-point observation assistance by displaying a fixed-point observation assist indicator together with the contour image.

第3の実施の形態のデジタルカメラ1の内部構成は、図9に示す第2の実施の形態の内部構成と同様である。また定点観測の機能図も図10に示す第2の実施の形態と同様である。図24は、デジタルカメラ1の定点観測アシストモードの動作を示すフローチャートである。なお、図12に示すフローチャートと共通する部分には同一の符号を付し、その詳細な説明は省略する。   The internal configuration of the digital camera 1 of the third embodiment is the same as the internal configuration of the second embodiment shown in FIG. The functional diagram of fixed point observation is the same as that of the second embodiment shown in FIG. FIG. 24 is a flowchart showing the operation of the fixed point observation assist mode of the digital camera 1. In addition, the same code | symbol is attached | subjected to the part which is common in the flowchart shown in FIG. 12, and the detailed description is abbreviate | omitted.

まず、デジタルカメラ1を定点観測アシストモードに設定する(ステップS121)。定点観測アシストモードに設定されると、第2の実施の形態と同様に、最初に輪郭情報記憶部29に記憶した輪郭画像を読み出す(ステップS122)。次に、輪郭検出部26はCCD23から出力される画像信号の輪郭を検出し(ステップS32)、輪郭情報処理部27は検出した輪郭情報の輝度を反転し(ステップS33)、さらに階調を補正して強調し、輪郭画像を生成する(ステップS34)。   First, the digital camera 1 is set to the fixed point observation assist mode (step S121). When the fixed point observation assist mode is set, the contour image initially stored in the contour information storage unit 29 is read out as in the second embodiment (step S122). Next, the contour detection unit 26 detects the contour of the image signal output from the CCD 23 (step S32), the contour information processing unit 27 inverts the brightness of the detected contour information (step S33), and further corrects the gradation. And an outline image is generated (step S34).

次に、輪郭情報合成部28は、上記のように抽出された輪郭画像と、読み出した輪郭画像のズレ方向及びズレの量を算出する(ステップS241)。このズレ方向及びズレ量の算出は、読み出した輪郭画像内の所定の位置に存在する被写体を、CCD23の画像信号から抽出された輪郭画像から検出し、この被写体のズレ方向及びズレ量を算出することにより行う。本実施の形態では、画像内の5つの位置において、それぞれの位置におけるズレ方向及びズレ量の算出を行う。なお、ズレ方向及びズレ量の算出は、2つの輪郭画像の相関演算を行うことにより算出してもよい。   Next, the contour information composition unit 28 calculates the displacement direction and the amount of displacement between the contour image extracted as described above and the read contour image (step S241). In the calculation of the shift direction and the shift amount, a subject existing at a predetermined position in the read contour image is detected from the contour image extracted from the image signal of the CCD 23, and the shift direction and the shift amount of the subject are calculated. By doing. In the present embodiment, the shift direction and the shift amount at each position are calculated at five positions in the image. Note that the shift direction and the shift amount may be calculated by performing a correlation operation between the two contour images.

さらに輪郭情報合成部28は、算出した5つの位置におけるズレ方向及びズレ量から生成した定点観測アシスト指標を、算出を行った位置に所定の比率で合成する(ステップS123)。この合成比率は、あらかじめROM13に記憶されていてもよいし、操作部12によりユーザが自由に設定できてもよい。   Further, the contour information synthesis unit 28 synthesizes the fixed point observation assist index generated from the deviation direction and the deviation amount at the calculated five positions at a predetermined ratio (step S123). The composition ratio may be stored in advance in the ROM 13 or may be freely set by the user through the operation unit 12.

この輪郭情報合成部28が合成した合成画像を、表示制御部15を介して画像表示部16にスルー画として表示する(ステップS36)。   The synthesized image synthesized by the contour information synthesizing unit 28 is displayed as a through image on the image display unit 16 via the display control unit 15 (step S36).

次に、定点観測アシストモードが解除されたか否かの判定を行う(ステップS124)。解除されていない場合は、ステップS122に戻り、同様の処理を繰り返す。解除された場合は、定点観測アシストの処理を終了する。   Next, it is determined whether or not the fixed point observation assist mode has been canceled (step S124). If not canceled, the process returns to step S122, and the same processing is repeated. If canceled, the fixed point observation assist process is terminated.

図25は、本実施の形態の定点観測アシストモードにおける画像表示部16の表示を示す図である。41a〜41eは定点観測アシスト指標であり、5つの位置において算出したズレ方向及びズレ量に対応した矢印をその位置に表示している。ユーザは、2つの輪郭画像と共にこの定点観測アシスト指標である矢印を見ながら、2つの輪郭画像が一致するようにデジタルカメラ1をパン操作、チルト操作、及びズーム操作を行う。図26は、それぞれの輪郭画像が一致した場合を示した図である。定点観測アシスト指標は、その位置におけるズレ量が無くなった場合は、丸印の表示になる。図26では、42a〜42eの5つの位置全てに丸印が表示されており、画像が一致したことを示している。ユーザは、この丸印の表示を確認して、操作部12のレリーズスイッチを押して本撮影を行うことにより、定点撮影して同一の構図の画像を得ることができる。   FIG. 25 is a diagram showing the display on the image display unit 16 in the fixed point observation assist mode of the present embodiment. Reference numerals 41a to 41e are fixed point observation assist indexes, and arrows corresponding to the deviation directions and deviation amounts calculated at the five positions are displayed at the positions. The user performs a pan operation, a tilt operation, and a zoom operation on the digital camera 1 so that the two contour images coincide with each other while looking at the arrow that is the fixed point observation assist index together with the two contour images. FIG. 26 is a diagram illustrating a case where the respective contour images match. The fixed-point observation assist index is displayed as a circle when there is no longer the amount of deviation at that position. In FIG. 26, circles are displayed at all five positions 42a to 42e, indicating that the images match. The user confirms the display of the circle and presses the release switch of the operation unit 12 to perform the main shooting, thereby obtaining a fixed-point shooting and obtaining an image with the same composition.

なお、この定点観測アシストモードは、操作部12を操作した場合や、一定時間が経過した場合に解除するように構成されている。また、本撮影が終了した後に解除してもよい。   The fixed point observation assist mode is configured to be canceled when the operation unit 12 is operated or when a predetermined time has elapsed. Alternatively, it may be canceled after the actual shooting is completed.

定点観測アシスト指標である矢印、丸印は、それぞれ異なる色で表示すると、ユーザが認識しやすくなる。また定点観測アシスト指標は、5点に限られるものではなく、何点でもよい。   If the arrows and circles that are fixed point observation assist indicators are displayed in different colors, the user can easily recognize them. Further, the fixed-point observation assist index is not limited to five points, and may be any number.

これらの輪郭画像と同時に、さらにCCD23から出力される画像信号から抽出した色差情報を合成してもよい。どの情報を読み出した輪郭情報と合成するか、ユーザが指定できるように構成してもよい。   Simultaneously with these contour images, color difference information extracted from an image signal output from the CCD 23 may be combined. You may comprise so that a user can designate which information is combined with the read outline information.

<第4の実施の形態>
第4の実施の形態のデジタルカメラ1について説明する。第4の実施の形態のデジタルカメラ1は、第2の実施の形態と同様に定点観測アシストを行うが、事前に記憶した輪郭画像と現在の撮影シーンの輪郭画像の相関値が所定値以上になると、自動的に本撮影を行う。
<Fourth embodiment>
A digital camera 1 according to a fourth embodiment will be described. The digital camera 1 of the fourth embodiment performs fixed-point observation assistance as in the second embodiment, but the correlation value between the pre-stored contour image and the contour image of the current shooting scene is greater than or equal to a predetermined value. Then, the main shooting is automatically performed.

図17は、セルフ定点観測アシストの機能図であり、図18は、セルフ定点観測アシストモードの動作を示すフローチャートである。なお、図3及び図12に示すフローチャートと共通する部分には同一の符号を付し、その詳細な説明は省略する。   FIG. 17 is a functional diagram of the self-fixed point observation assist, and FIG. 18 is a flowchart showing the operation of the self-fixed point observation assist mode. In addition, the same code | symbol is attached | subjected to the part which is common in the flowchart shown in FIG.3 and FIG.12, and the detailed description is abbreviate | omitted.

まず、ユーザが操作部12を用いて、セルフ定点観測アシストモードに設定する(ステップS181)。セルフ定点観測アシストモードに設定されると、輪郭情報合成部28は、第2の実施の形態と同様にあらかじめ輪郭情報記憶部29に記憶されている輪郭画像を呼び出す(ステップS122)。なお、この時点で所望の画像を選択し、選択された画像について輪郭画像を生成してもよい。   First, the user uses the operation unit 12 to set the self-fixed point observation assist mode (step S181). When the self-fixed point observation assist mode is set, the contour information synthesis unit 28 calls the contour image stored in advance in the contour information storage unit 29 as in the second embodiment (step S122). Note that a desired image may be selected at this time, and a contour image may be generated for the selected image.

次に、輪郭検出部26が、CCD23から出力される画像信号の輝度情報から画像内の輪郭情報を検出し、輪郭情報処理部27が、輪郭検出部26が検出した輪郭情報の輝度を反転し、階調を補正して強調し、輪郭画像を生成する(ステップS182)。   Next, the contour detection unit 26 detects the contour information in the image from the luminance information of the image signal output from the CCD 23, and the contour information processing unit 27 inverts the luminance of the contour information detected by the contour detection unit 26. Then, the gradation is corrected and enhanced to generate a contour image (step S182).

輪郭情報合成部28は、CCD23の画像信号、CCD23の画像信号から生成した輪郭画像、及び輪郭情報記憶部29から読み出した輪郭画像を所定の比率で合成し(ステップS183)、画像表示部16に表示する(ステップS36)。この合成比率は、あらかじめROM13に記憶されていてもよいし、操作部12によりユーザが自由に設定できてもよい。また、CCD23の画像信号から生成した輪郭画像と輪郭情報記憶部29から読み出した輪郭画像を異なる色で表示させると、それぞれの輪郭が一致したか否かが見やすくなる。   The contour information synthesis unit 28 synthesizes the image signal of the CCD 23, the contour image generated from the image signal of the CCD 23, and the contour image read from the contour information storage unit 29 at a predetermined ratio (step S183). It is displayed (step S36). The composition ratio may be stored in advance in the ROM 13 or may be freely set by the user through the operation unit 12. Further, when the contour image generated from the image signal of the CCD 23 and the contour image read from the contour information storage unit 29 are displayed in different colors, it becomes easy to see whether or not the respective contours match.

またこのとき、輪郭情報合成部28は、CCD23の画像信号から生成した輪郭画像と、輪郭情報記憶部29から読み出した輪郭画像の相関値を算出し(ステップS184)、所定の閾値との比較を行う(ステップS185)。輪郭画像の相関値が所定の閾値以上の場合は、定点観測の構図が一致したと判断し、本撮影を行う(ステップS186)。輪郭画像の相関値が所定の閾値より小さい場合は、フレーミング中であると判断し、セルフ定点観測モードが継続されているか否かの判定を行う(ステップS187)。セルフ定点観測モードが継続中である場合は、ステップS122に戻り、同様の処理を行う。セルフ定点観測モードが解除されている場合は、処理を終了する。なお、セルフ定点観測アシストモードは、操作部12を操作した場合や、一定時間が経過した場合に解除するように構成されている。また、本撮影が終了した後に解除してもよい。   At this time, the contour information synthesis unit 28 calculates a correlation value between the contour image generated from the image signal of the CCD 23 and the contour image read from the contour information storage unit 29 (step S184), and compares it with a predetermined threshold value. This is performed (step S185). If the correlation value of the contour image is equal to or greater than a predetermined threshold value, it is determined that the fixed point observation composition matches, and the actual photographing is performed (step S186). If the correlation value of the contour image is smaller than the predetermined threshold, it is determined that framing is being performed, and it is determined whether or not the self-fixed point observation mode is continued (step S187). If the self-fixed point observation mode is ongoing, the process returns to step S122 and the same processing is performed. If the self-fixed point observation mode is cancelled, the process ends. The self-fixed point observation assist mode is configured to be canceled when the operation unit 12 is operated or when a certain time has elapsed. Alternatively, it may be canceled after the actual shooting is completed.

このように、輪郭画像の相関値が所定の閾値以上になった場合に構図が一致したと判断して自動的に撮影を行うことで、定点観測写真や類似構図写真を容易に撮影することが可能となる。   In this way, when the correlation value of the contour image exceeds a predetermined threshold value, it is determined that the composition is matched, and automatic shooting is performed, so that a fixed-point observation photograph or a similar composition photograph can be easily taken. It becomes possible.

本実施の形態では、それぞれの輪郭画像の相関値が所定の閾値以上になった場合に自動的に撮影を行ったが、第3の実施の形態のようにそれぞれの輪郭画像のズレ量を算出し、ズレ量が所定の閾値以下になった場合に自動的に撮影を行ってもよい。   In this embodiment, the image is automatically shot when the correlation value of each contour image is equal to or greater than a predetermined threshold value, but the amount of deviation of each contour image is calculated as in the third embodiment. However, the image may be automatically taken when the amount of deviation is equal to or less than a predetermined threshold.

本実施の形態では、輪郭情報合成部28は、CCD23の画像信号、CCD23の画像信号から抽出した輪郭画像、及び輪郭情報記憶部29から読み出した輪郭画像を所定の比率で合成して表示したが、CCD23の画像信号の色差情報、CCD23の画像信号から抽出した輪郭画像、及び輪郭情報記憶部29から読み出した輪郭画像を所定の比率で合成して表示してもよい。どの情報を輪郭情報記憶部29から読み出した輪郭画像と合成して表示するかを、ユーザが指定できるように構成してもよい。   In the present embodiment, the contour information combining unit 28 combines and displays the image signal of the CCD 23, the contour image extracted from the image signal of the CCD 23, and the contour image read from the contour information storage unit 29 at a predetermined ratio. The color difference information of the image signal of the CCD 23, the contour image extracted from the image signal of the CCD 23, and the contour image read from the contour information storage unit 29 may be combined and displayed at a predetermined ratio. You may comprise so that a user can designate which information is combined with the outline image read from the outline information storage unit 29 and displayed.

<第5の実施の形態>
第5の実施の形態のデジタルカメラ1について説明する。第5の実施の形態のデジタルカメラ1は、フレーミング中の構図の中からプリミティブ形状を抽出してスルー画と共に表示することにより、構図アシストを行う。
<Fifth embodiment>
A digital camera 1 according to a fifth embodiment will be described. The digital camera 1 according to the fifth embodiment performs composition assistance by extracting a primitive shape from a composition during framing and displaying it with a through image.

図19は、第5の実施の形態のデジタルカメラ1の内部構成を示すブロック図である。図1に示すブロック図とは、プリミティブ形状検出部30を備えたところが異なる。   FIG. 19 is a block diagram illustrating an internal configuration of the digital camera 1 according to the fifth embodiment. 1 differs from the block diagram shown in FIG. 1 in that a primitive shape detection unit 30 is provided.

図20は、プリミティブ構図アシストの機能図であり、図21は、プリミティブ構図アシストの動作を示すフローチャートである。なお、図3に示すフローチャートと共通する部分には同一の符号を付し、その詳細な説明は省略する。   FIG. 20 is a functional diagram of primitive composition assist, and FIG. 21 is a flowchart showing operations of primitive composition assist. In addition, the same code | symbol is attached | subjected to the part which is common in the flowchart shown in FIG. 3, and the detailed description is abbreviate | omitted.

まずユーザが、操作部12を用いてデジタルカメラ1をプリミティブ構図アシストモードに設定する(ステップS211)。プリミティブ構図アシストモードに設定されると、輪郭検出部26は、CCD23から出力される画像信号の輝度情報から画像内の輪郭情報を検出する(ステップS212)。   First, the user sets the digital camera 1 to the primitive composition assist mode using the operation unit 12 (step S211). When the primitive composition assist mode is set, the contour detection unit 26 detects contour information in the image from the luminance information of the image signal output from the CCD 23 (step S212).

次に、プリミティブ形状検出部30は、輪郭検出部26が検出した輪郭情報から、ハフ変換を用いてプリミティブ形状を検出する(ステップS213)。輪郭情報合成部28は、CCD23から出力される画像信号と、プリミティブ形状検出部30が検出したプリミティブ形状情報を所定の比率で合成する(ステップS214)。この合成比率は、あらかじめROM13に記憶されていてもよいし、操作部12によりユーザが自由に設定できてもよい。そして、輪郭情報合成部28が合成した画像信号に基づいて、表示制御部15により画像表示部16にスルー画を表示する(ステップS36)。なお、プリミティブ形状情報は、例えば赤などの目立つ色で表示すると、構図を意識しやすい。   Next, the primitive shape detection unit 30 detects a primitive shape from the contour information detected by the contour detection unit 26 using Hough transform (step S213). The contour information synthesis unit 28 synthesizes the image signal output from the CCD 23 and the primitive shape information detected by the primitive shape detection unit 30 at a predetermined ratio (step S214). The composition ratio may be stored in advance in the ROM 13 or may be freely set by the user through the operation unit 12. Then, based on the image signal synthesized by the contour information synthesis unit 28, the display control unit 15 displays a through image on the image display unit 16 (step S36). Note that when the primitive shape information is displayed in a conspicuous color such as red, the composition is easily conscious.

次に、プリミティブ構図アシストモードが継続されているか否かの判定を行う(ステップS215)。プリミティブ構図アシストモードが継続中である場合は、ステップS212に戻り、同様の処理を行う。ユーザは、このスルー画を見ながら構図を決定し、操作部12のレリーズスイッチを押すことにより、本撮影を行うことができる。   Next, it is determined whether or not the primitive composition assist mode is continued (step S215). If the primitive composition assist mode is continuing, the process returns to step S212 and the same processing is performed. The user can determine the composition while viewing this through image, and press the release switch of the operation unit 12 to perform the main photographing.

プリミティブ構図アシストモードが解除されている場合は、処理を終了する。なお、このプリミティブ構図アシストモードは、操作部12を操作した場合や、一定時間が経過した場合に解除するように構成されている。また、本撮影を行った後に解除してもよい。   If the primitive composition assist mode is cancelled, the process ends. The primitive composition assist mode is configured to be canceled when the operation unit 12 is operated or when a predetermined time has elapsed. Alternatively, it may be canceled after the actual shooting is performed.

このように、輪郭情報からプリミティブ形状を検出し、検出したプリミティブ形状を表示することで、撮影者が構図を意識してより上手な撮影を行うことができる。   In this way, by detecting the primitive shape from the contour information and displaying the detected primitive shape, the photographer can perform better shooting while being aware of the composition.

<第6の実施の形態>
第6の実施の形態のデジタルカメラ1について説明する。第6の実施の形態のデジタルカメラ1は、メモリカード20から読み出した画像について、第1の実施の形態と同様の画像を生成し、メモリカード20に保存する。図22は、画像加工モードの機能図であり、図23は、画像加工モードの動作を示したフローチャートである。
<Sixth Embodiment>
A digital camera 1 according to a sixth embodiment will be described. The digital camera 1 of the sixth embodiment generates an image similar to that of the first embodiment for the image read from the memory card 20 and stores it in the memory card 20. FIG. 22 is a functional diagram of the image processing mode, and FIG. 23 is a flowchart showing the operation of the image processing mode.

まず、ユーザが操作部12を操作し、メモリカード20に保存されている撮影済み画像から、加工したい画像を選択する(ステップS231)。ユーザが画像を選択すると、読み出した画像の輝度情報から、輪郭検出部26が画像内の輪郭情報を検出する(ステップS232)。次に、輪郭情報処理部27は、輪郭検出部26が検出した輪郭情報の輝度を反転し(ステップS33)、さらに階調補正を行って輪郭を強調し、輪郭画像を生成する(ステップS34)。   First, the user operates the operation unit 12 to select an image to be processed from photographed images stored in the memory card 20 (step S231). When the user selects an image, the contour detection unit 26 detects contour information in the image from the luminance information of the read image (step S232). Next, the contour information processing unit 27 inverts the brightness of the contour information detected by the contour detection unit 26 (step S33), further performs gradation correction to emphasize the contour, and generates a contour image (step S34). .

次に、輪郭情報合成部28は、輪郭情報処理部27が出力した輪郭画像と、メモリカードから読み出した画像の色差情報を所定の比率で合成する(ステップS233)。この合成比率は、あらかじめROM13に記憶されていてもよいし、操作部12によりユーザが自由に設定できてもよい。   Next, the contour information combining unit 28 combines the contour image output from the contour information processing unit 27 with the color difference information of the image read from the memory card at a predetermined ratio (step S233). The composition ratio may be stored in advance in the ROM 13 or may be freely set by the user through the operation unit 12.

そして、輪郭情報合成部28が合成した合成画像を、表示制御部15により画像表示部16に表示する(ステップS234)。また、この合成画像をメモリカード20に保存する(ステップS235)。   Then, the composite image synthesized by the contour information synthesis unit 28 is displayed on the image display unit 16 by the display control unit 15 (step S234). Further, the composite image is stored in the memory card 20 (step S235).

このように、メモリカード20から読み出した画像について、生成した輪郭画像と色差情報を合成して再びメモリカード20に保存することで、ユーザにとって面白みのある画像を作成し、保存することができる。この画像をプリントアウトし、ぬり絵等に用いてもよい。   In this way, by synthesizing the generated contour image and color difference information for the image read from the memory card 20 and storing it again in the memory card 20, it is possible to create and store an image that is interesting to the user. This image may be printed out and used for coloring or the like.

図1は、本発明が適用されたデジタルカメラの第1の実施の形態の電気的構成を示すブロック図である。FIG. 1 is a block diagram showing an electrical configuration of a first embodiment of a digital camera to which the present invention is applied. 図2は、構図アシストの機能図である。FIG. 2 is a functional diagram of composition assistance. 図3は、構図アシストの動作を示したフローチャートである。FIG. 3 is a flowchart showing the composition assist operation. 図4は、ソーベルフィルタのフィルタ行列を示す図である。FIG. 4 is a diagram illustrating a filter matrix of the Sobel filter. 図5は、CCD23から出力される画像を示した図である。FIG. 5 is a diagram showing an image output from the CCD 23. 図6は、図5の画像信号に対して輪郭情報処理部27が生成した輪郭画像を示した図である。FIG. 6 is a diagram showing a contour image generated by the contour information processing unit 27 for the image signal of FIG. 図7は、CCD23から出力される画像の色差情報を示した図である。FIG. 7 is a diagram showing the color difference information of the image output from the CCD 23. 図8は、図6に示した輪郭情報処理部27が出力した輪郭情報と、図7に示した式差情報を合成した画像を示す図である。8 is a diagram illustrating an image obtained by combining the contour information output from the contour information processing unit 27 illustrated in FIG. 6 and the formula difference information illustrated in FIG. 図9は、デジタルカメラ1の内部構成を示すブロック図である。FIG. 9 is a block diagram showing an internal configuration of the digital camera 1. 図10は、構図アシストの機能図である。FIG. 10 is a functional diagram of composition assistance. 図11は、デジタルカメラ1の定点観測アシストの準備段階の動作を示すフローチャートである。FIG. 11 is a flowchart showing the operation of the digital camera 1 at the fixed stage observation assist preparation stage. 図12は、定点観測アシストモードの動作を示すフローチャートである。FIG. 12 is a flowchart showing the operation in the fixed point observation assist mode. 図13は、画像表示部16の表示を示す図である。FIG. 13 is a diagram showing the display of the image display unit 16. 図14は、本発明のデジタルカメラ1により四季の移り変わりを定点観測撮影した画像を示す図である。FIG. 14 is a view showing an image obtained by taking a fixed-point observation of changes in the four seasons with the digital camera 1 of the present invention. 図15は、本発明のデジタルカメラ1により植物の成長を定点観測撮影した画像を示す図である。FIG. 15 is a diagram showing an image obtained by taking a fixed-point observation of plant growth with the digital camera 1 of the present invention. 図16は、本発明のデジタルカメラ1により道路と線路の類似構図を撮影した画像を示す図である。FIG. 16 is a view showing an image obtained by photographing a similar composition of a road and a track by the digital camera 1 of the present invention. 図17は、セルフ定点観測アシストの機能図である。FIG. 17 is a functional diagram of the self-fixed point observation assist. 図18は、セルフ定点観測アシストモードの動作を示すフローチャートである。FIG. 18 is a flowchart showing the operation in the self-fixed point observation assist mode. 図19は、デジタルカメラ1の内部構成を示すブロック図である。FIG. 19 is a block diagram showing the internal configuration of the digital camera 1. 図20は、プリミティブ構図アシストの機能図である。FIG. 20 is a functional diagram of primitive composition assist. 図21は、プリミティブ構図アシストモードの動作を示すフローチャートである。FIG. 21 is a flowchart showing the operation in the primitive composition assist mode. 図22は、画像加工モードの機能図である。FIG. 22 is a functional diagram of the image processing mode. 図23は、画像加工モードの動作を示したフローチャートである。FIG. 23 is a flowchart showing the operation in the image processing mode. 図24は、定点観測アシストモードの動作を示すフローチャートである。FIG. 24 is a flowchart showing the operation in the fixed point observation assist mode. 図25は、各輪郭画像が不一致の場合の定点観測アシスト指標表示を示した図である。FIG. 25 is a diagram showing fixed point observation assist indicator display when the contour images do not match. 図26は、各輪郭画像が一致の場合の定点観測アシスト指標表示を示した図である。FIG. 26 is a diagram illustrating a fixed point observation assist indicator display when the contour images match each other.

符号の説明Explanation of symbols

1…デジタルカメラ、11…CPU、12…操作部、13…ROM、15…表示制御部、16…画像表示部、17…バッファメモリ、19…画像記録部、20…メモリカード、21…画像信号処理部、23…CCD、26…輪郭検出部、27…輪郭情報処理部、28…輪郭情報合成部、29…輪郭情報記憶部、30…プリミティブ形状検出部、41a〜41e…不一致の場合の定点観測アシスト指標、42a〜42e…一致の場合の定点観測アシスト指標   DESCRIPTION OF SYMBOLS 1 ... Digital camera, 11 ... CPU, 12 ... Operation part, 13 ... ROM, 15 ... Display control part, 16 ... Image display part, 17 ... Buffer memory, 19 ... Image recording part, 20 ... Memory card, 21 ... Image signal Processing unit 23 ... CCD, 26 ... contour detection unit, 27 ... contour information processing unit, 28 ... contour information synthesis unit, 29 ... contour information storage unit, 30 ... primitive shape detection unit, 41a to 41e ... fixed point in case of mismatch Observation assist index, 42a-42e ... Fixed-point observation assist index in case of coincidence

Claims (4)

撮像レンズを介して受光した被写体像を所定のレートで画像信号に変換する撮像手段と、
前記画像信号の輝度情報から全ての被写体像の輪郭画像を抽出する輪郭抽出手段と、
前記画像信号の色差情報と前記輪郭画像とを所定の比率で合成する合成手段と、
前記合成手段により合成された合成画像を前記所定のレートで更新してスルー画像として表示する表示手段と、
本撮影を指示する撮影指示手段と、
前記撮影指示手段により本撮影が指示されると、前記指示に応じて行われた本撮影で取得した画像信号に基づく撮影画像であって、合成画像以外の通常の撮影画像を記録する記録手段と、
構図アシスト機能をON/OFFさせる手段と、
を備え、
前記表示手段は、構図アシスト機能がOFFされると前記画像信号に基づいたスルー画像を表示し、構図アシスト機能がONされると、前記合成画像をスルー画像として表示することを特徴とする撮像装置。
Imaging means for converting a subject image received through the imaging lens into an image signal at a predetermined rate ;
Contour extracting means for extracting contour images of all subject images from the luminance information of the image signal;
Synthesis means for synthesizing the color difference information of the image signal and the contour image at a predetermined ratio;
Display means for updating the synthesized image synthesized by the synthesizing means at the predetermined rate and displaying as a through image;
Photographing instruction means for instructing the main photographing;
A recording unit for recording a normal captured image other than a composite image, which is a captured image based on an image signal acquired by the actual photographing performed in response to the instruction when the photographing instruction is instructed by the photographing instruction unit; ,
Means for turning on / off the composition assist function;
With
The display device displays a through image based on the image signal when the composition assist function is turned off, and displays the composite image as a through image when the composition assist function is turned on. .
前記輪郭抽出手段は、
前記画像信号の輝度情報から全ての被写体像の輪郭が高輝度となる輪郭画像を作成する手段と、
前記作成した輪郭画像の輝度を反転する手段と、
前記輝度を反転した輪郭画像を強調するために階調を補正する手段と、
を備えたことを特徴とする請求項1に記載の撮像装置。
The contour extracting means includes
Means for creating a contour image in which the contours of all subject images have high brightness from the brightness information of the image signal;
Means for inverting the brightness of the created contour image;
Means for correcting gradation to enhance the contour image with the luminance inverted,
The imaging apparatus according to claim 1, further comprising:
前記所定の比率を設定するための入力手段を備えたことを特徴とする請求項1又は2に記載の撮像装置。   The imaging apparatus according to claim 1, further comprising an input unit configured to set the predetermined ratio. 撮像レンズを介して受光した被写体像を所定のレートで画像信号に変換する撮像工程と、
前記画像信号の輝度情報から全ての被写体像の輪郭画像を抽出する輪郭抽出工程と、
前記画像信号の色差情報と前記輪郭画像とを所定の比率で合成する合成工程と、
前記合成工程により合成された合成画像を前記所定のレートで更新してスルー画像として表示する表示工程と、
撮影指示手段により本撮影が指示されると、前記指示に応じて行われた本撮影で取得した画像信号に基づく撮影画像であって、合成画像以外の通常の撮影画像を記録手段に記録する記録工程と、
を備え、
前記表示工程は、構図アシスト機能をON/OFFさせる手段により構図アシスト機能がOFFされると前記画像信号に基づいたスルー画像を表示し、構図アシスト機能がONされると、前記合成画像をスルー画像として表示することを特徴とする撮像方法。
An imaging process for converting a subject image received through an imaging lens into an image signal at a predetermined rate ;
A contour extracting step of extracting contour images of all subject images from the luminance information of the image signal;
A combining step of combining the color difference information of the image signal and the contour image at a predetermined ratio;
A display step of updating the synthesized image synthesized at the synthesis step at the predetermined rate and displaying it as a through image;
When the photographing instruction is instructed by the photographing instruction means, a recording that is a photographed image based on the image signal acquired in the main photographing performed in response to the instruction and records a normal photographed image other than the composite image in the recording means. Process,
With
The display step displays a through image based on the image signal when the composition assist function is turned off by means for turning on / off the composition assist function, and displays the composite image as a through image when the composition assist function is turned on. As an imaging method.
JP2007166581A 2007-06-25 2007-06-25 Imaging apparatus and imaging method Expired - Fee Related JP5231759B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007166581A JP5231759B2 (en) 2007-06-25 2007-06-25 Imaging apparatus and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007166581A JP5231759B2 (en) 2007-06-25 2007-06-25 Imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
JP2009005273A JP2009005273A (en) 2009-01-08
JP5231759B2 true JP5231759B2 (en) 2013-07-10

Family

ID=40321135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007166581A Expired - Fee Related JP5231759B2 (en) 2007-06-25 2007-06-25 Imaging apparatus and imaging method

Country Status (1)

Country Link
JP (1) JP5231759B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5233726B2 (en) * 2009-02-17 2013-07-10 株式会社ニコン Electronic camera
JP5233727B2 (en) * 2009-02-17 2013-07-10 株式会社ニコン Electronic camera
JP5503725B2 (en) 2010-02-24 2014-05-28 富士通フロンテック株式会社 Authentication apparatus, authentication program, and authentication method
CN105227865B (en) * 2015-10-29 2019-04-26 努比亚技术有限公司 A kind of image processing method and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08294025A (en) * 1995-04-24 1996-11-05 Olympus Optical Co Ltd Camera
JP2001078222A (en) * 1999-09-08 2001-03-23 Matsushita Electric Ind Co Ltd Video display device and control method therefor
JP2004246644A (en) * 2003-02-14 2004-09-02 Pentax Corp Apparatus, method, and program for image processing
JP2005057736A (en) * 2003-07-18 2005-03-03 Casio Comput Co Ltd Image difference discrimination method, image pickup device attitude control method, image pickup device, and program
JP2006222690A (en) * 2005-02-09 2006-08-24 Nikon Corp Electronic camera
JP4548144B2 (en) * 2005-02-23 2010-09-22 カシオ計算機株式会社 Digital camera device and through image display method

Also Published As

Publication number Publication date
JP2009005273A (en) 2009-01-08

Similar Documents

Publication Publication Date Title
US7944483B2 (en) Apparatus, method and program for photography
JP4787180B2 (en) Imaging apparatus and imaging method
JP5660341B2 (en) Imaging apparatus and imaging method
JP3395770B2 (en) Digital still camera
JP2008219428A (en) Imaging apparatus
JP2013055567A (en) Imaging apparatus
KR20150109177A (en) Photographing apparatus, method for controlling the same, and computer-readable recording medium
JP2003209727A (en) Digital camera
JP5231759B2 (en) Imaging apparatus and imaging method
CN100550990C (en) Image correction apparatus and method for correcting image
JP2009033544A (en) Photographic device and control method of photographic device, and program
JP2009253669A (en) Image processing device and digital camera
JP2003189325A (en) Image processing apparatus and color image photographic apparatus
JP2006109199A (en) Digital camera and image processing system using the same
US9282257B2 (en) Image apparatus and imaging method
JP3800102B2 (en) Digital camera
JP4760496B2 (en) Image data generation apparatus and image data generation method
JP2010213105A (en) Imaging apparatus
US8334912B2 (en) Image processing apparatus, imaging apparatus, image processing method, and computer readable recording medium storing image processing program
JP4522232B2 (en) Imaging device
JP4887840B2 (en) Imaging apparatus and program
JP2008199522A (en) Imaging apparatus and imaging method
JP2008005248A (en) Imaging apparatus
JP2005229280A (en) Image processing apparatus and method, and program
JP2010050599A (en) Electronic camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110719

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120706

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130322

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160329

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees