JP5479883B2 - Imaging apparatus and imaging method - Google Patents
Imaging apparatus and imaging method Download PDFInfo
- Publication number
- JP5479883B2 JP5479883B2 JP2009295947A JP2009295947A JP5479883B2 JP 5479883 B2 JP5479883 B2 JP 5479883B2 JP 2009295947 A JP2009295947 A JP 2009295947A JP 2009295947 A JP2009295947 A JP 2009295947A JP 5479883 B2 JP5479883 B2 JP 5479883B2
- Authority
- JP
- Japan
- Prior art keywords
- line
- screen
- straight line
- horizontal
- vertical
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/633—Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
Description
本発明は、撮像装置及び撮像方法に関する。 The present invention relates to an imaging apparatus and an imaging method.
デジタルスチルカメラやビデオカメラ等の撮像装置を用いて静止画像や動画像を撮影する際、LCD(Liquid Crystal Display)モニタやEVF(Electronic View Finder)等の画面に補助線を表示することで、撮影者は被写体像の構図が決定し易くなることがある。ファインダーに表示される補助線は、例えば図11に示すように、画面70内に縦線72,74が2本と横線76,78が2本、均等な間隔で表示されて、画面70を9分割する表示パターンが一般的である。図11は、補助線が表示された画面70を示す説明図である。また、補助線の表示は、撮影者によるメニュー操作によって、画面内に補助線が常に同じ位置で固定されて表示されるか、画面内に補助線が全く表示されないかのいずれかが選択される。 When shooting still images and moving images using an imaging device such as a digital still camera or video camera, the auxiliary line is displayed on a screen such as an LCD (Liquid Crystal Display) monitor or EVF (Electronic View Finder). It may be easier for the person to determine the composition of the subject image. For example, as shown in FIG. 11, the auxiliary lines displayed on the viewfinder are displayed on the screen 70 with two vertical lines 72 and 74 and two horizontal lines 76 and 78 at equal intervals. A display pattern to be divided is common. FIG. 11 is an explanatory diagram showing a screen 70 on which auxiliary lines are displayed. As for the display of the auxiliary line, either the auxiliary line is always fixed and displayed in the same position on the screen or the auxiliary line is not displayed on the screen at all by the menu operation by the photographer. .
特許文献1は、撮影時に画面内に補助線を表示する技術を開示している。特許文献1では、画面に常に補助線が表示されるという煩わしさを避けるため、被写体像に直線部分が含まれるときだけ、補助線が被写体像の直線部分の近傍のみに自動的に表示される。 Patent Document 1 discloses a technique for displaying an auxiliary line in a screen during photographing. In Patent Document 1, in order to avoid the annoyance that an auxiliary line is always displayed on the screen, the auxiliary line is automatically displayed only in the vicinity of the linear portion of the subject image only when the subject image includes a linear portion. .
撮像装置を用いて画像を撮影する際、図9に示すように、構造物に沿った垂直線が画面70内で垂直になり、海の水平線が画面70内で水平になって、被写体像の垂直と水平が画面枠に対して平行に被写体が撮影されることが望ましい。図9は、被写体像が表示された画面70を示す説明図である。しかし、補助線を使用せずに撮影すると、撮像装置本体がロール方向に回転して傾いて、図10のように、構図としては好ましくない画像を撮影してしまうことがある。図10では、海の水平線が右下斜め方向になって撮影されている。図10は、被写体像が表示された画面70を示す説明図である。 When an image is taken using the imaging apparatus, as shown in FIG. 9, the vertical line along the structure is vertical in the screen 70, and the horizontal line of the sea is horizontal in the screen 70, so that the subject image It is desirable that the subject be photographed with the vertical and horizontal parallel to the screen frame. FIG. 9 is an explanatory diagram showing a screen 70 on which a subject image is displayed. However, if an image is taken without using an auxiliary line, the image pickup apparatus body may rotate and tilt in the roll direction, and an image that is not desirable as a composition may be taken as shown in FIG. In FIG. 10, the sea horizon is photographed with the diagonal direction in the lower right. FIG. 10 is an explanatory diagram showing a screen 70 on which a subject image is displayed.
図10に示すような構図の良くない画像の撮影を防止するため、撮像装置は、図11に示すように画面70内に補助線を表示し、被写体像の垂直又は水平の傾きを撮影者に示す機能を有する。補助線は、LCDモニタやEVFの画面上にOSD(On Screen Display)を使用して表示される。 In order to prevent shooting an image with poor composition as shown in FIG. 10, the imaging device displays an auxiliary line in the screen 70 as shown in FIG. 11, and the vertical or horizontal inclination of the subject image is shown to the photographer. Has the function to show. The auxiliary line is displayed on the screen of the LCD monitor or EVF using OSD (On Screen Display).
しかし、従来の補助線は、画面70内に固定されて表示されている。従って、被写体像が画面内70で4本の補助線のいずれかに近ければ、撮影者は被写体像の直線に垂直又は水平を合わせやすいが、補助線から被写体像の直線が離れている場合は、望ましい構図にしにくい。例えば、図11では、画面70内の海の水平線を補助線の横線78と平行に合わせれば、望ましい構図が得られる。しかし、画面70内の海の水平線と横線78が離れているため、撮影者は画面を水平にしづらい。また、画面70内の海の水平線と横線78を無理に近づけようとして、構図を移動させてしまうと、被写体像の他の部分、図11の例では吊り橋の頂点付近が画面に入らなくなる等、本来撮影したい構図が得られなくなる恐れがある。 However, the conventional auxiliary line is fixed and displayed in the screen 70. Therefore, if the subject image is close to any of the four auxiliary lines in the screen 70, the photographer can easily align the subject image with the vertical or horizontal line, but if the subject image is separated from the auxiliary line, It is difficult to achieve a desirable composition. For example, in FIG. 11, a desirable composition can be obtained by aligning the horizontal line of the sea in the screen 70 in parallel with the horizontal line 78 of the auxiliary line. However, since the horizontal line and the horizontal line 78 of the sea in the screen 70 are separated, it is difficult for the photographer to level the screen. Further, if the composition is moved in order to force the horizontal line and the horizontal line 78 of the sea in the screen 70 closer, other parts of the subject image, in the example of FIG. 11, the apex of the suspension bridge will not enter the screen. There is a risk that the composition that is originally intended to be shot cannot be obtained.
また、垂直又は水平に合わせる必要のない被写体の場合に、4本の補助線が表示されて画面が9分割されていると、撮影者にとってかえって目障りになり、画面を見づらくさせてしまう。 Also, in the case of a subject that does not need to be aligned vertically or horizontally, if four auxiliary lines are displayed and the screen is divided into nine parts, the photographer will be annoying and the screen will be difficult to see.
更に、特許文献1のように、補助線を被写体像の直線部分の近傍のみに表示する場合、被写体像の直線部分によっては、短い補助線が表示され、撮影者は垂直又は水平を合わせにくい。また、特許文献1では、被写体像の直線部分と補助線の傾きの差が一定範囲内に入った場合、表示したり非表示にしたりする。しかし、このような制御では、被写体像の傾きによっては、補助線の表示と非表示が短時間に繰り返される場合があり、撮影者にとって補助線の表示が煩わしくなることがある。更に、特許文献1では、画面内に被写体像の直線部分が複数存在し分散している場合、画面内に補助線が多数表示される場合があり、やはり撮影者にとって補助線の表示が煩わしくなることがある。 Further, when the auxiliary line is displayed only in the vicinity of the straight line portion of the subject image as in Patent Document 1, a short auxiliary line is displayed depending on the straight line portion of the subject image, and it is difficult for the photographer to adjust the vertical or horizontal. Further, in Patent Document 1, when the difference between the inclination of the straight line portion of the subject image and the auxiliary line falls within a certain range, it is displayed or not displayed. However, in such control, depending on the inclination of the subject image, the display and non-display of the auxiliary line may be repeated in a short time, and the display of the auxiliary line may be troublesome for the photographer. Further, in Patent Document 1, when a plurality of straight line portions of a subject image exist and are dispersed in the screen, a large number of auxiliary lines may be displayed on the screen, and it is also troublesome for the photographer to display the auxiliary lines. Sometimes.
そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、煩わしい補助線の表示を回避し、撮影者が被写体像に合わせやすい補助線を画面に表示することが可能な、新規かつ改良された撮像装置及び撮像方法を提供することにある。 Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to avoid displaying troublesome auxiliary lines and display auxiliary lines on the screen that are easy for the photographer to match the subject image. It is an object of the present invention to provide a new and improved image pickup apparatus and image pickup method that can be used.
上記課題を解決するために、本発明のある観点によれば、画面内で水平方向に移動可能な少なくとも1本の垂直線及び画面内で垂直方向に移動可能な少なくとも1本の水平線を表示する補助線表示部と、被写体の撮影によって取得された画像データから被写体像の輪郭を抽出する輪郭抽出部と、抽出された輪郭から複数の直線部分を検出する直線検出部と、検出された直線部分の画面内における角度及び画面内における長さに応じて、検出された複数の直線部分から目標直線部分を抽出する目標抽出部と、抽出された目標直線部分と垂直線又は水平線との距離を算出する距離算出部とを備え、補助線表示部は、目標直線部分と垂直線又は水平線との距離に基づいて、垂直線又は水平線を目標直線部分に向けて移動させながら表示する、撮像装置が提供される。 In order to solve the above-described problem, according to an aspect of the present invention, at least one vertical line movable in the horizontal direction within the screen and at least one horizontal line movable in the vertical direction within the screen are displayed. An auxiliary line display unit, a contour extraction unit that extracts a contour of a subject image from image data acquired by photographing a subject, a straight line detection unit that detects a plurality of straight line portions from the extracted contour, and a detected straight line portion A target extraction unit that extracts a target straight line portion from a plurality of detected straight line portions and a distance between the extracted target straight line portion and a vertical line or a horizontal line according to the angle in the screen and the length in the screen. And an auxiliary line display unit that displays the moving line while moving the vertical line or horizontal line toward the target straight line part based on the distance between the target straight line part and the vertical line or horizontal line. There is provided.
この構成によれば、画面内で水平方向に移動可能な少なくとも1本の垂直線及び画面内で垂直方向に移動可能な少なくとも1本の水平線が表示される。また、被写体の撮影によって取得された画像データから被写体像の輪郭が抽出され、抽出された輪郭から複数の直線部分が検出され、検出された直線部分の画面内における角度及び画面内における長さに応じて、検出された複数の直線部分から目標直線部分が抽出される。そして、抽出された目標直線部分と垂直線又は水平線との距離が算出されて、目標直線部分と垂直線又は水平線との距離に基づいて、垂直線又は水平線が目標直線部分に向けて移動しながら表示される。その結果、補助線の表示が撮影者にとって煩わしいものにすることなく、撮影者が被写体像に合わせやすい補助線を画面に表示できる。 According to this configuration, at least one vertical line movable in the horizontal direction within the screen and at least one horizontal line movable in the vertical direction within the screen are displayed. In addition, the contour of the subject image is extracted from the image data acquired by photographing the subject, a plurality of straight line portions are detected from the extracted contour, and the angle of the detected straight line portion in the screen and the length in the screen are determined. In response, a target straight line portion is extracted from the plurality of detected straight line portions. Then, the distance between the extracted target straight line portion and the vertical line or horizontal line is calculated, and the vertical line or horizontal line moves toward the target straight line portion based on the distance between the target straight line portion and the vertical line or horizontal line. Is displayed. As a result, it is possible to display on the screen an auxiliary line that is easy for the photographer to match the subject image without making the display of the auxiliary line bothersome for the photographer.
上記垂直線及び水平線を画面に表示する補助線表示モードであるか否かを判断するモード判断部を更に備え、補助線表示部は、補助線表示モードであると判断されたとき、垂直線及び水平線を画面に表示し、補助線表示モードでないと判断されたとき、垂直線及び水平線を画面に表示しない。この構成によれば、補助線表示モードは、垂直線及び水平線を画面に表示するモードである。そして、補助線表示モードであるか否かが判断され、補助線表示モードであると判断されたとき、垂直線及び水平線が画面に表示され、補助線表示モードでないと判断されたとき、垂直線及び水平線が画面に表示されない。 A mode determination unit that determines whether or not the auxiliary line display mode displays the vertical line and the horizontal line on the screen. The auxiliary line display unit determines whether the vertical line and the horizontal line are in the auxiliary line display mode. A horizontal line is displayed on the screen, and when it is determined that the auxiliary line display mode is not set, the vertical line and the horizontal line are not displayed on the screen. According to this configuration, the auxiliary line display mode is a mode in which vertical lines and horizontal lines are displayed on the screen. Then, it is determined whether or not the auxiliary line display mode is selected. When it is determined that the auxiliary line display mode is selected, the vertical line and the horizontal line are displayed on the screen, and when it is determined that the auxiliary line display mode is not selected, the vertical line is displayed. And horizontal lines are not displayed on the screen.
上記目標抽出部は、検出された複数の直線部分のうち、長さが最も長い直線部分を目標直線部分として抽出する。この構成によれば、直線部分の長さが考慮されて、目標直線部分が検出された複数の直線部分から抽出される。 The target extraction unit extracts a straight line portion having the longest length as a target straight line portion from among the detected plurality of straight line portions. According to this configuration, the length of the straight line portion is taken into consideration, and the target straight line portion is extracted from the detected plurality of straight line portions.
上記目標抽出部は、検出された複数の直線部分のうち、水平又は垂直との傾きの差が最も小さい直線部分を目標直線部分として抽出する。この構成によれば、直線部分の水平又は垂直との傾きが考慮されて、目標直線部分が検出された複数の直線部分から抽出される。 The target extraction unit extracts, as a target straight line part, a straight line part having the smallest difference in inclination from the horizontal or vertical among the detected plurality of straight line parts. According to this configuration, the straight line portion is extracted from a plurality of detected straight line portions in consideration of the inclination of the straight line portion with respect to horizontal or vertical.
上記目標抽出部は、検出された複数の直線部分のうち、画面中央からの距離が最も小さい直線部分を目標直線部分として抽出する。この構成によれば、直線部分の画面中央からの距離が考慮されて、目標直線部分が検出された複数の直線部分から抽出される。 The target extraction unit extracts, as a target straight line portion, a straight line portion having the smallest distance from the center of the screen among the detected plurality of straight line portions. According to this configuration, the distance from the screen center of the straight line portion is taken into consideration, and the target straight line portion is extracted from the detected plurality of straight line portions.
上記目標抽出部が、目標直線部分を抽出できないとき、距離算出部は、画面中央と垂直線又は水平線との距離を算出し、補助線表示部は、画面中央と垂直線又は水平線との距離に基づいて、垂直線又は水平線を画面中央に向けて移動させながら表示する。この構成によれば、目標直線部分を抽出できないとき、画面中央と垂直線又は水平線との距離が算出され、画面中央と垂直線又は水平線との距離に基づいて、垂直線又は水平線が画面中央に向けて移動しながら表示される。 When the target extraction unit cannot extract the target straight line portion, the distance calculation unit calculates the distance between the screen center and the vertical line or horizontal line, and the auxiliary line display unit calculates the distance between the screen center and the vertical line or horizontal line. Based on this, the vertical line or horizontal line is displayed while moving toward the center of the screen. According to this configuration, when the target straight line portion cannot be extracted, the distance between the screen center and the vertical line or horizontal line is calculated, and based on the distance between the screen center and the vertical line or horizontal line, the vertical line or horizontal line is located at the screen center. It is displayed while moving toward.
また、上記課題を解決するために、本発明の別の観点によれば、画面内で垂直方向に移動可能な少なくとも1本の水平線及び画面内で水平方向に移動可能な少なくとも1本の垂直線を表示するステップと、被写体の撮影によって取得された画像データから被写体像の輪郭を抽出するステップと、抽出された輪郭から複数の直線部分を検出するステップと、検出された直線部分の画面内における角度及び画面内における長さに応じて、検出された複数の直線部分から目標直線部分を抽出するステップと、抽出された目標直線部分と垂直線又は水平線との距離を算出するステップと、目標直線部分と垂直線又は水平線との距離に基づいて、垂直線又は水平線を目標直線部分に向けて移動させながら表示するステップとを備える、撮像方法が提供される。 In order to solve the above problem, according to another aspect of the present invention, at least one horizontal line movable in the vertical direction within the screen and at least one vertical line movable in the horizontal direction within the screen. , A step of extracting the contour of the subject image from the image data acquired by photographing the subject, a step of detecting a plurality of straight line portions from the extracted contour, and a screen of the detected straight line portion A step of extracting a target straight line portion from a plurality of detected straight line portions according to an angle and a length in the screen; a step of calculating a distance between the extracted target straight line portion and a vertical line or a horizontal line; and a target straight line An imaging method comprising: displaying the vertical line or the horizontal line while moving the vertical line or the horizontal line toward the target straight line part based on a distance between the part and the vertical line or the horizontal line. That.
以上説明したように本発明によれば、煩わしい補助線の表示を回避し、撮影者が被写体像に合わせやすい補助線を画面に表示することができる。 As described above, according to the present invention, it is possible to avoid annoying display of auxiliary lines and display on the screen auxiliary lines that are easy for the photographer to match with the subject image.
以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In addition, in this specification and drawing, about the component which has the substantially same function structure, duplication description is abbreviate | omitted by attaching | subjecting the same code | symbol.
[1.撮像装置100の構成]
まず、図1を参照して、本発明の一実施形態に係る撮像装置100の構成について説明する。図1は、本実施形態に係る撮像装置100を示すブロック図である。
[1. Configuration of Imaging Device 100]
First, with reference to FIG. 1, a configuration of an imaging apparatus 100 according to an embodiment of the present invention will be described. FIG. 1 is a block diagram illustrating an imaging apparatus 100 according to the present embodiment.
撮像装置100は、例えば静止画像を撮影できるデジタルスチルカメラ、又は動画像を撮影できるビデオカメラである。本実施形態における画面内のガイドラインの表示は、静止画像撮影の際に表示するライブビュー表示、動画像撮影における撮影画像の表示のいずれにも適用できる。なお、デジタルスチルカメラで動画像を撮影する場合、又はビデオカメラで静止画像を撮影する場合にも適用できる。 The imaging apparatus 100 is, for example, a digital still camera that can capture still images or a video camera that can capture moving images. The display of the guideline in the screen in the present embodiment can be applied to either a live view display that is displayed at the time of still image shooting or a captured image display at the time of moving image shooting. Note that the present invention can also be applied to a case where a moving image is taken with a digital still camera or a still image is taken with a video camera.
撮像装置100は、例えば、レンズ102と、撮像素子104と、コントローラ部108と、全体信号処理部110と、EVF駆動部122と、EVF124と、モニタ駆動部132と、LCDモニタ134と、静止画/動画圧縮処理部140と、メモリカード150と、操作部160等からなる。 The imaging apparatus 100 includes, for example, a lens 102, an imaging element 104, a controller unit 108, an overall signal processing unit 110, an EVF driving unit 122, an EVF 124, a monitor driving unit 132, an LCD monitor 134, and a still image. / A moving image compression processing unit 140, a memory card 150, an operation unit 160, and the like.
レンズ102は、外部の光情報を撮像素子104に結像させる光学系システムであり、被写体からの光を撮像素子104まで透過させる。レンズ102は、図示しないが、例えばズームレンズ、絞り、フォーカスレンズなどからなる。ズームレンズは、焦点距離を変化させて画角を変えるレンズである。絞りは、透過する光量を調節する機構である。フォーカスレンズは、光軸方向に移動することで撮像素子104の撮像面に被写体像を合焦させる。フォーカスレンズは、コントローラ部108によって駆動される。 The lens 102 is an optical system that forms an image of external light information on the image sensor 104, and transmits light from the subject to the image sensor 104. Although not shown, the lens 102 includes, for example, a zoom lens, a diaphragm, and a focus lens. The zoom lens is a lens that changes the angle of view by changing the focal length. The diaphragm is a mechanism that adjusts the amount of light transmitted. The focus lens moves in the optical axis direction to focus the subject image on the imaging surface of the image sensor 104. The focus lens is driven by the controller unit 108.
撮像素子104は、光電変換素子の一例であり、レンズ102を透過して入射した光情報を電気信号に変換する光電変換が可能な複数の素子から構成される。各素子は受光した光量に応じた電気信号を生成する。撮像素子104は、CCD(Charge Coupled Device)イメージセンサー、CMOS(Complementary Metal Oxide Semiconductor)イメージセンサー等を適用することができる。 The image sensor 104 is an example of a photoelectric conversion element, and includes a plurality of elements capable of performing photoelectric conversion that converts light information that has passed through the lens 102 and entered into an electrical signal. Each element generates an electrical signal corresponding to the amount of light received. As the image sensor 104, a charge coupled device (CCD) image sensor, a complementary metal oxide semiconductor (CMOS) image sensor, or the like can be applied.
なお、撮像素子104の露光時間を制御するため、非撮影時に光を遮って撮影時のみ光が当たるように、メカニカルシャッター(図示せず。)を適用することができる。また、これに限定されず、電子シャッターを適用してもよい。なお、メカニカルシャッター又は電子シャッターの動作は、シャッターボタン(操作部160)のスイッチによって行われる。 In order to control the exposure time of the image sensor 104, a mechanical shutter (not shown) can be applied so that the light is blocked during non-photographing and the light is applied only during photographing. Further, the present invention is not limited to this, and an electronic shutter may be applied. The mechanical shutter or electronic shutter is operated by a switch of the shutter button (operation unit 160).
撮像素子104は、更にCDS/AMP部、A/D変換部を有する。CDS/AMP部(相関二重サンプリング回路(Correlated Double Sampling)/増幅器(Amplifier))は、撮像素子104から出力された電気信号に含まれるリセットノイズとアンプノイズを除去すると共に、電気信号を任意のレベルまで増幅する。A/D変換部は、CDS/AMP部から出力された電気信号をデジタル変換してデジタル信号を生成する。A/D変換部は、生成したデジタル信号を映像信号処理部106に出力する。 The image sensor 104 further includes a CDS / AMP unit and an A / D conversion unit. The CDS / AMP unit (Correlated Double Sampling / Amplifier) removes reset noise and amplifier noise included in the electrical signal output from the image sensor 104, and converts the electrical signal to an arbitrary signal. Amplify to level. The A / D conversion unit digitally converts the electrical signal output from the CDS / AMP unit to generate a digital signal. The A / D conversion unit outputs the generated digital signal to the video signal processing unit 106.
映像信号処理部106は、前処理部と、画像処理部などからなる。前処理部は、A/D変換部から出力されたデジタル信号に対して処理を施し、画像処理が可能となる画像信号を生成する。前処理部は、例えば、撮像素子104の画素欠陥補正、黒レベル補正、シェーディング補正などの処理を行う。前処理部は、生成した画像信号を画像処理部に出力する。 The video signal processing unit 106 includes a preprocessing unit and an image processing unit. The pre-processing unit performs processing on the digital signal output from the A / D conversion unit, and generates an image signal that can be image-processed. The preprocessing unit performs processing such as pixel defect correction, black level correction, and shading correction of the image sensor 104, for example. The preprocessing unit outputs the generated image signal to the image processing unit.
画像処理部は、前処理部から画像信号を受け、輝度信号と色信号に変換処理する。画像処理部は、WB制御値、γ値、エッジ(輪郭)強調制御値などに基づいて、画像処理された画像信号を生成する。画像処理部は、生成した画像信号を静止画/動画圧縮処理部140に送る。 The image processing unit receives the image signal from the preprocessing unit, and converts it into a luminance signal and a color signal. The image processing unit generates an image signal subjected to image processing based on a WB control value, a γ value, an edge (contour) enhancement control value, and the like. The image processing unit sends the generated image signal to the still image / moving image compression processing unit 140.
コントローラ部108は、例えばCPU(Central Processor Unit)であり、操作部160や全体信号処理部110からの信号に基づいてレンズ102、映像信号処理部106といった構成要素を制御する。 The controller unit 108 is, for example, a CPU (Central Processor Unit), and controls components such as the lens 102 and the video signal processing unit 106 based on signals from the operation unit 160 and the overall signal processing unit 110.
全体信号処理部110は、例えばCPUであり、プログラムによって演算処理装置及び制御装置として機能し、撮像装置100内に設けられた各構成要素の処理を制御する。全体信号処理部110は、例えば、コントローラ部108に信号を出力してレンズ102のフォーカスレンズを駆動させる。なお、本実施形態においては、コントローラ部108による操作系の命令と、全体信号処理部110による信号系の命令とを別々のCPUで行う構成であるが、CPUが1つだけからなる構成でもよい。 The overall signal processing unit 110 is a CPU, for example, and functions as an arithmetic processing device and a control device according to a program, and controls processing of each component provided in the imaging device 100. For example, the overall signal processing unit 110 outputs a signal to the controller unit 108 to drive the focus lens of the lens 102. In the present embodiment, the operation system command by the controller unit 108 and the signal system command by the overall signal processing unit 110 are performed by separate CPUs, but a configuration having only one CPU may be used. .
全体信号処理部110は、移動量算出部112と、ガイド表示部114を備える。 The overall signal processing unit 110 includes a movement amount calculation unit 112 and a guide display unit 114.
移動量算出部112は、例えばモード判断部と、輪郭抽出部と、直線検出部と、目標抽出部と、距離算出部などからなる。
モード判断部は、撮像装置100が垂直線及び水平線からなるガイドラインを画面に表示するガイド表示モード(補助線表示モード)であるか否かを判断する。輪郭抽出部は、被写体の撮影によって取得された画像データから被写体像の輪郭を抽出する。直線検出部は、抽出された輪郭から複数の直線部分を検出する。目標抽出部は、検出された直線部分の画面内における角度及び画面内における長さに応じて、検出された複数の直線部分から目標直線部分を抽出する。距離算出部は、抽出された目標直線部分と垂直線又は水平線との距離を算出する。
The movement amount calculation unit 112 includes, for example, a mode determination unit, a contour extraction unit, a straight line detection unit, a target extraction unit, a distance calculation unit, and the like.
The mode determination unit determines whether or not the imaging apparatus 100 is in a guide display mode (auxiliary line display mode) in which a guide line including vertical lines and horizontal lines is displayed on the screen. The contour extraction unit extracts the contour of the subject image from the image data acquired by photographing the subject. The straight line detection unit detects a plurality of straight line portions from the extracted contour. The target extraction unit extracts the target straight line portion from the plurality of detected straight line portions according to the angle in the screen and the length in the screen of the detected straight line portion. The distance calculation unit calculates the distance between the extracted target straight line portion and the vertical line or horizontal line.
ガイド表示部114は、ガイド表示モードであると判断されたとき、画面内で垂直方向に移動可能な1本の水平線及び画面内で水平方向に移動可能な1本の垂直線を表示する。ガイド表示部114は、補助線表示部の一例である。ガイド表示部114は、目標直線部分と垂直線又は水平線との距離に基づいて、垂直線又は水平線を目標直線部分に向けて移動させながら表示する。ガイド表示部114は、ガイド表示モードでないと判断されたとき、垂直線及び水平線を画面に表示しない。 When it is determined that the guide display mode is in the guide display mode, the guide display unit 114 displays one horizontal line that can be moved in the vertical direction within the screen and one vertical line that can be moved in the horizontal direction within the screen. The guide display unit 114 is an example of an auxiliary line display unit. The guide display unit 114 displays the vertical line or horizontal line while moving the vertical line or horizontal line toward the target straight line part based on the distance between the target straight line part and the vertical line or horizontal line. When it is determined that the guide display unit 114 is not in the guide display mode, the guide display unit 114 does not display the vertical line and the horizontal line on the screen.
EVF駆動部122又はモニタ駆動部132は、VRAMから画像データを受けて、EVF124又はLCDモニタ134の画面に画像を表示する。EVF124及びLCDモニタ134は、撮像装置100の本体に設けられる。EVF124及びLCDモニタ134が表示する画像は、例えば、VRAMから読み出された撮影前の画像(ライブビュー表示)、撮像装置100の各種設定画面や、撮像して記録された画像などである。EVF124及びLCDモニタ134は、例えば液晶ディスプレイ、有機ELディスプレイなどである。EVF124及びLCDモニタ134は、本実施形態のように両方が撮像装置100に設けられてもよいし、いずれか一方のみが撮像装置100に設けられるとしてもよい。 The EVF driving unit 122 or the monitor driving unit 132 receives image data from the VRAM and displays an image on the screen of the EVF 124 or the LCD monitor 134. The EVF 124 and the LCD monitor 134 are provided in the main body of the imaging apparatus 100. The images displayed by the EVF 124 and the LCD monitor 134 are, for example, an image before shooting (live view display) read from the VRAM, various setting screens of the imaging apparatus 100, images captured and recorded, and the like. The EVF 124 and the LCD monitor 134 are, for example, a liquid crystal display or an organic EL display. Both the EVF 124 and the LCD monitor 134 may be provided in the imaging apparatus 100 as in the present embodiment, or only one of them may be provided in the imaging apparatus 100.
また、EVF124及びLCDモニタ134には、撮影者が構図を決定しやすくするためのガイドライン(補助線)が表示される。ガイドラインは、EVF124又はLCDモニタ134が全体信号処理部110から信号を受けて、OSD(On Screen Display)によって表示される。 Further, the EVF 124 and the LCD monitor 134 display a guideline (auxiliary line) for facilitating the photographer to determine the composition. The guideline is displayed by an OSD (On Screen Display) when the EVF 124 or the LCD monitor 134 receives a signal from the overall signal processing unit 110.
静止画/動画圧縮処理部140は、映像信号処理部106からの画像データに対して、例えばJPEG(Joint Photographic Experts Group)規格などの静止画像の符号化方式で圧縮符号化処理を行う。生成された圧縮符号化されたデータはメモリカード150等に記録される。 The still image / moving image compression processing unit 140 performs compression encoding processing on the image data from the video signal processing unit 106 by a still image encoding method such as JPEG (Joint Photographic Experts Group) standard. The generated compression-encoded data is recorded on the memory card 150 or the like.
また、静止画/動画圧縮処理部140は、映像信号処理部106から静止画像の画像データを受けて、コーディング(符号化)処理によって動画像データを生成する。静止画/動画圧縮処理部140は、例えばMPEG形式などで符号化処理をして、複数の画像フレームが一つのファイルとして纏められたストリームデータを生成する。生成された動画像データは、メモリカード150等に記録される。また、静止画/動画圧縮処理部140は、メモリカード150から供給された静止画像又は動画像の符号化データに対して伸張復号化処理を行う。 The still image / moving image compression processing unit 140 receives image data of a still image from the video signal processing unit 106 and generates moving image data by coding (encoding) processing. The still image / moving image compression processing unit 140 performs encoding processing, for example, in the MPEG format, and generates stream data in which a plurality of image frames are collected as one file. The generated moving image data is recorded on the memory card 150 or the like. The still image / moving image compression processing unit 140 performs a decompression decoding process on the encoded data of the still image or the moving image supplied from the memory card 150.
メモリカード150は、画像データの書き込み、又は記録された画像データや設定情報などの読み出しがされる。メモリカード150は、例えば、磁気ディスク、半導体記憶媒体などの記録媒体であり、撮影された画像データを記録する。記録媒体であれば、メモリカード150に限定されず、光ディスク(CD、DVD、ブルーレイディスク等)、光磁気ディスクなどでもよい。メモリカード150は、撮像装置100から着脱可能に構成されてもよい。 The memory card 150 writes image data or reads recorded image data and setting information. The memory card 150 is a recording medium such as a magnetic disk or a semiconductor storage medium, and records photographed image data. As long as it is a recording medium, it is not limited to the memory card 150, and may be an optical disc (CD, DVD, Blu-ray disc, etc.), a magneto-optical disc, or the like. The memory card 150 may be configured to be detachable from the imaging device 100.
操作部160は、例えば、撮像装置100に設けられた上下左右キー、電源スイッチ、モードダイアル、シャッターボタンなどである。操作部160は、ユーザーによる操作に基づいて操作信号をコントローラ部108等に送る。例えば、静止画像の撮影に使用されるシャッターボタンは、ユーザーによる半押し(S1操作)、全押し(S2操作)、解除が可能である。シャッターボタンは、半押しされたときフォーカス制御開始の操作信号を出力し、半押し解除でフォーカス制御が終了する。また、シャッターボタンは、全押しされたとき、撮影開始の操作信号を出力する。 The operation unit 160 is, for example, an up / down / left / right key, a power switch, a mode dial, or a shutter button provided in the imaging apparatus 100. The operation unit 160 sends an operation signal to the controller unit 108 or the like based on an operation by the user. For example, a shutter button used for taking a still image can be pressed halfway (S1 operation), fully pressed (S2 operation), and released by the user. When the shutter button is half-pressed, it outputs an operation signal for starting focus control, and when the half-press is released, the focus control ends. Further, when the shutter button is fully pressed, an operation signal for starting shooting is output.
なお、撮像装置100における一連の処理は、ハードウェアで処理してもよいし、コンピュータ上のプログラムによるソフトウェア処理で実現してもよい。 Note that a series of processing in the imaging apparatus 100 may be processed by hardware or may be realized by software processing by a program on a computer.
[2.撮像装置100の動作]
(ガイドラインの表示動作)
まず、図2を参照して、撮像装置100のガイドラインの表示動作について説明する。図2は、本実施形態に係る撮像装置100のガイドラインの表示動作を示すフローチャートである。
[2. Operation of Imaging Device 100]
(Guideline display operation)
First, a guideline display operation of the imaging apparatus 100 will be described with reference to FIG. FIG. 2 is a flowchart showing the guideline display operation of the imaging apparatus 100 according to the present embodiment.
本実施形態のガイドラインは、図4に示すように、垂直線172及び水平線174からなり、被写体像から検出された目標直線部分に向けて画面内で徐々に移動する。ガイドラインが移動して撮影者がガイドラインに被写体像を合わせることによって、ガイドラインは、図8に示すように、目標直線部分に沿って表示される。図4及び図8は、ガイドラインが表示された画面170を示す説明図である。 As shown in FIG. 4, the guideline of the present embodiment includes a vertical line 172 and a horizontal line 174, and gradually moves on the screen toward the target straight line portion detected from the subject image. As the guideline moves and the photographer aligns the subject image with the guideline, the guideline is displayed along the target straight line portion as shown in FIG. 4 and 8 are explanatory diagrams showing a screen 170 on which a guideline is displayed.
以下、詳細にガイドラインの表示動作を説明する。まず、撮像装置100は、ガイドラインをEVF124やLCDモニタ134の画面に表示可能とするガイド表示モードであるか否かを判断する(ステップS101)。ガイド表示モードの開始又は終了は、例えば撮影者によってメニュー画面を介して選択され決定されている。 The guideline display operation will be described in detail below. First, the imaging apparatus 100 determines whether or not it is a guide display mode in which a guideline can be displayed on the screen of the EVF 124 or the LCD monitor 134 (step S101). The start or end of the guide display mode is selected and determined by the photographer via the menu screen, for example.
ステップS101において、ガイド表示モードであると判断されたときは、画面にガイドラインを表示する(ステップS102)。ガイドラインは、図4に示すように、1本の垂直線172と1本の水平線174の2本の直線からなり、画面170を4つに分割する。垂直線172、水平線174ともに、画面170の一側の端部又は端部近傍から他側の端部又は端部近傍にわたって延びる直線である。このように画面に長い直線を表示することで、撮影者は、ガイドラインの位置を認識し易くなる。また、画面内の直線部分の近傍のみにガイドラインが表示される場合に比べて、撮影者は被写体像を画面内で垂直線172又は水平線174に合わせやすい。 If it is determined in step S101 that the guide display mode is set, the guideline is displayed on the screen (step S102). As shown in FIG. 4, the guide line is composed of two straight lines of one vertical line 172 and one horizontal line 174, and divides the screen 170 into four. Both the vertical line 172 and the horizontal line 174 are straight lines extending from one end or the vicinity of one end of the screen 170 to the other end or the vicinity of the end. By displaying a long straight line on the screen in this way, the photographer can easily recognize the position of the guideline. In addition, the photographer can easily align the subject image with the vertical line 172 or the horizontal line 174 in the screen as compared with the case where the guideline is displayed only in the vicinity of the straight line portion in the screen.
なお、撮影者によるメニュー選択などによって、ガイドライン表示モードでない状態からガイドライン表示モードに移行したときは、例えば、図4に示すように、画面の中央を通るようにガイドラインの垂直線172と水平線174を表示する。 When the photographer makes a menu selection or the like and shifts from the non-guideline display mode to the guideline display mode, for example, as shown in FIG. 4, the vertical lines 172 and horizontal lines 174 of the guide lines pass through the center of the screen. indicate.
次に、被写体像から移動目標とする目標直線部分(目標垂直直線部分と目標水平直線部分)を検出して、ガイドラインをその目標直線部分に移動する。目標直線部分とは、撮影者が画像の構図を決めるために基準となる被写体像に含まれる直線である。 Next, a target straight line portion (target vertical straight line portion and target horizontal straight line portion) to be moved is detected from the subject image, and the guideline is moved to the target straight line portion. The target straight line portion is a straight line included in the subject image that serves as a reference for the photographer to determine the composition of the image.
ガイドラインの目標直線部分への移動のために、まず、ガイドラインの画面内における移動量を算出する(ステップS103)。移動量は、図7に示すように、垂直線172についてΔx、水平線174についてΔyとして算出される。図7は、ガイドラインと目標直線部分との関係を表示した画像190を示す説明図である。 In order to move the guideline to the target straight line portion, first, the amount of movement of the guideline within the screen is calculated (step S103). As shown in FIG. 7, the movement amount is calculated as Δx for the vertical line 172 and Δy for the horizontal line 174. FIG. 7 is an explanatory diagram showing an image 190 displaying the relationship between the guideline and the target straight line portion.
Δxは、垂直線172の現在位置から目標垂直直線部分192までの距離であり、Δyは、水平線174の現在位置から目標水平直線部分までの距離である。移動量の算出の詳細については、後述する。 Δx is the distance from the current position of the vertical line 172 to the target vertical straight line portion 192, and Δy is the distance from the current position of the horizontal line 174 to the target horizontal straight line portion. Details of the calculation of the movement amount will be described later.
移動量が算出されると、画面内に垂直線をΔx/nだけ目標垂直直線部分に移動して表示し、水平線をΔy/nだけ目標水平直線部分に移動して表示する(ステップS104)。なお、nは、n回の処理で移動が完了するとしたときの自然数である。このとき、ガイドラインの現在位置から目標直線部分まで、短時間でガイドラインを移動させるのではなく、撮影者が移動していることを認識できるような比較的長い時間で徐々にガイドラインを移動させる。これにより、撮影者はガイドラインを画面内で見つけやすくなり、ガイドラインに合わせて被写体像を画面内で動かしやすくなる。 When the movement amount is calculated, the vertical line is moved and displayed on the target vertical straight line portion by Δx / n on the screen, and the horizontal line is moved and displayed on the target horizontal straight line portion by Δy / n (step S104). Note that n is a natural number when the movement is completed in n processes. At this time, instead of moving the guideline from the current position of the guideline to the target straight line portion in a short time, the guideline is gradually moved in a relatively long time so that the photographer can recognize the movement. This makes it easier for the photographer to find the guideline within the screen and to move the subject image within the screen according to the guideline.
また、移動量の算出は、撮像装置100が画面全体の被写体像の切り替わりを認識した後や、比較的長い間隔で行うとよい。本実施形態と異なり、反対に、ガイドラインを目標直線部分に短時間に移動させたり、移動量の算出を短い間隔で行ったりすると、撮影者が画像の構図を決めている最中に、ガイドラインが画面内の様々な箇所に表示されたり非表示となったりする。その結果、撮影者は、ガイドラインの表示がかえって煩わしくなる。本実施形態のように、ガイドラインを目標直線部分まで徐々に移動させて、比較的長い間隔で移動量を算出することで、撮影者が画面を少しずらしたときに、ガイドラインは、目標直線部分を追いかけるように、遅れながら表示される。従って、撮影者は、画像の構図を決めやすくなる。 Further, the movement amount may be calculated after the imaging apparatus 100 recognizes the switching of the subject image on the entire screen or at a relatively long interval. Contrary to this embodiment, on the contrary, if the guideline is moved to the target straight line portion in a short time or the movement amount is calculated at a short interval, the guideline will be displayed while the photographer decides the composition of the image. It is displayed or hidden at various locations on the screen. As a result, the photographer becomes annoyed by displaying the guideline. As in this embodiment, when the photographer slightly shifts the screen by moving the guideline gradually to the target straight line and calculating the movement amount at relatively long intervals, the guideline It is displayed with a delay to follow. Therefore, the photographer can easily determine the composition of the image.
そして、ガイドラインをn回移動処理したか、又はガイドラインの現在位置と目標直線部分までの距離が0(ゼロ)になったかを判断して、移動が完了したか否かを判断する(ステップS105)。移動が完了すれば、図8に示すように、その位置にガイドラインを表示し続ける。一方、移動が完了していないと判断されたときは、ガイドラインの移動処理を継続する。 Then, it is determined whether the movement has been completed by determining whether the guideline has been moved n times or whether the distance between the current position of the guideline and the target straight line portion has become 0 (zero) (step S105). . When the movement is completed, the guide line is continuously displayed at the position as shown in FIG. On the other hand, when it is determined that the movement is not completed, the guideline movement process is continued.
以上、ステップS101において、ガイド表示モードであると判断されたときについて説明した。一方、ステップS101において、ガイド表示モードでないと判断されたときは、ガイドラインを画面に表示しない(ステップS106)。撮影者によるメニュー選択によって、ガイド表示モードである状態からガイド表示モードでない状態に移行したときは、画面からガイドラインを消去する。これにより、撮影者がガイドラインを表示させたくないと判断したときは、ガイドラインを非表示にできる。 As described above, the case where it is determined that the guide display mode is set in step S101 has been described. On the other hand, when it is determined in step S101 that the guide display mode is not set, the guideline is not displayed on the screen (step S106). When the menu selection by the photographer shifts from the guide display mode to the non-guide display mode, the guideline is deleted from the screen. Thereby, when the photographer determines that the guideline is not desired to be displayed, the guideline can be hidden.
(ガイドラインの移動量算出)
次に、図3を参照して、本実施形態に係る撮像装置100のガイドラインの移動量算出動作について説明する。図3は、本実施形態に係る撮像装置100のガイドラインの移動量算出動作を示すフローチャートである。
(Calculation of guideline movement)
Next, a guideline movement amount calculation operation of the imaging apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 3 is a flowchart illustrating the guideline movement amount calculation operation of the imaging apparatus 100 according to the present embodiment.
ガイド表示モードで、画面にガイドラインが表示されると、ガイドラインの目標直線部分への移動のために、ガイドラインの画面内における移動量を算出する。以下、詳細にガイドラインの移動量算出動作を説明する。 When the guideline is displayed on the screen in the guide display mode, the amount of movement of the guideline within the screen is calculated in order to move the guideline to the target straight line portion. The guideline movement amount calculation operation will be described in detail below.
まず、撮影中の画像からガイドラインの移動目標とする目標垂直直線部分と目標水平直線部分を検出する。例えば、被写体の撮影によって得られた画像データ全体から被写体像の輪郭部を抽出する(ステップS111)。輪郭抽出処理は、例えば画像処理において通常用いられる技術を適用できる。そして、抽出された輪郭部に対して2値化処理を施して、図5に示すような画像を取得する。図5は、被写体像に対して輪郭抽出し2値化処理した結果を表示した画像180を示す説明図である。次に、被写体像に対して輪郭抽出し2値化処理した結果から、図6に示すように、画像全体を直線で近似する。図6は、被写体像を直線近似した結果を表示した画像190を示す説明図である。 First, a target vertical straight line portion and a target horizontal straight line portion, which are guideline movement targets, are detected from the image being shot. For example, the contour portion of the subject image is extracted from the entire image data obtained by photographing the subject (step S111). For the contour extraction process, for example, a technique usually used in image processing can be applied. And the binarization process is performed with respect to the extracted outline part, and an image as shown in FIG. 5 is acquired. FIG. 5 is an explanatory diagram showing an image 180 that displays the result of the contour extraction and binarization processing performed on the subject image. Next, as shown in FIG. 6, the entire image is approximated by a straight line from the result of contour extraction and binarization processing on the subject image. FIG. 6 is an explanatory diagram showing an image 190 displaying the result of linear approximation of the subject image.
そして、直線近似して得られた画像における複数の直線部分から、垂直線、水平線それぞれに対して一定角度以下にあって、その直線部分の長さが一定長さ以上である直線部分を抽出する(ステップS112)。抽出する直線部分を一定角度以下かつ一定長さ以下に制限することで、画像の構図の決定に関係のない直線部分を排除することができ、構図の決定に関係度の高い直線部分を目標としてガイドラインを移動させることができる。 Then, from a plurality of straight line portions in the image obtained by the straight line approximation, a straight line portion having a certain angle or less with respect to each of the vertical line and the horizontal line and the length of the straight line portion being a certain length or more is extracted. (Step S112). By limiting the extracted straight line portion to a certain angle or less and a certain length or less, it is possible to eliminate straight portions that are not related to determining the composition of the image, and target straight portions that are highly relevant to determining the composition. Guideline can be moved.
次に、ステップS112の抽出の結果、抽出された直線部分が存在するか否かを判断する(ステップS113)。抽出された直線部分が存在する場合は、垂直線に対する目標垂直直線部分と、水平線に対する目標水平直線部分を抽出する(ステップS114)。図6の例では、例えば直線Aが目標水平直線部分として、直線Bが目標垂直直線部分として抽出される。 Next, it is determined whether or not the extracted straight line portion exists as a result of the extraction in step S112 (step S113). If the extracted straight line portion exists, the target vertical straight line portion for the vertical line and the target horizontal straight line portion for the horizontal line are extracted (step S114). In the example of FIG. 6, for example, the straight line A is extracted as the target horizontal straight line portion, and the straight line B is extracted as the target vertical straight line portion.
例えば、(1)抽出された複数の直線部分のうち、垂直、水平それぞれにおいて、長さが最も長い直線部分を選択することで、目標垂直直線部分と目標水平直線部分を抽出する。または、(2)抽出された複数の直線部分のうち、垂直、水平それぞれにおいて、垂直又は水平との傾きの差が最も小さい直線部分を選択することで、目標垂直直線部分と目標水平直線部分を抽出する。また更には、(3)抽出された複数の直線部分のうち、垂直、水平それぞれにおいて、画面中央からの距離が最も小さい直線部分を選択することで、目標垂直直線部分と目標水平直線部分を抽出する。 For example, (1) a target vertical straight line portion and a target horizontal straight line portion are extracted by selecting a straight line portion having the longest length in each of a plurality of extracted straight line portions in the vertical and horizontal directions. Or (2) by selecting a straight line portion having a smallest difference in inclination from the vertical or horizontal in the vertical and horizontal directions among the plurality of extracted straight line portions, the target vertical straight line portion and the target horizontal straight line portion are selected. Extract. Furthermore, (3) the target vertical straight line portion and the target horizontal straight line portion are extracted by selecting the straight line portion having the shortest distance from the screen center in the vertical and horizontal directions among the plurality of extracted straight line portions. To do.
(1)の条件は、直線部分の位置や角度より直線部分の長さを重視したものである。(2)の条件は、直線部分の位置や長さより直線部分の角度を重視したものである。(3)の条件は、直線部分の長さや角度より直線部分の位置(画面中央)を重視したものである。これら(1)〜(3)のいずれか一つを、予め決定しておく。撮影された被写体像のシチュエーションなどに応じて決定してもよい。または、(1)〜(3)を組み合わせて優先順位を決定しておく。そして、決定しておいた条件に基づいて、ステップS114で垂直線に対する目標垂直直線部分と、水平線に対する目標水平直線部分を抽出する。なお、(1)〜(3)以外の条件を設定しておいてもよい。 The condition (1) emphasizes the length of the straight line portion rather than the position and angle of the straight line portion. The condition (2) emphasizes the angle of the straight line portion rather than the position and length of the straight line portion. The condition (3) emphasizes the position of the straight line portion (center of the screen) rather than the length and angle of the straight line portion. Any one of (1) to (3) is determined in advance. It may be determined according to the situation of the photographed subject image. Alternatively, the priority order is determined by combining (1) to (3). Based on the determined condition, a target vertical straight line portion for the vertical line and a target horizontal straight line portion for the horizontal line are extracted in step S114. Note that conditions other than (1) to (3) may be set.
そして、図7に示すように、垂直線172の現在位置から目標垂直直線部分192の中心までの距離Δxと、水平線174の現在位置から目標水平直線部分194の中心までの距離Δyを算出する(ステップS116)。なお、距離の算出は、目標直線部分の中心ではなく、目標直線部分の他の部分、例えば端点を使用し、目標直線部分の端点と、垂直線172の現在位置又は水平線174の現在位置との距離を算出してもよい。 Then, as shown in FIG. 7, a distance Δx from the current position of the vertical line 172 to the center of the target vertical straight line portion 192 and a distance Δy from the current position of the horizontal line 174 to the center of the target horizontal straight line portion 194 are calculated ( Step S116). Note that the distance is calculated not by using the center of the target straight line portion but by using other parts of the target straight line portion, for example, end points, and the end point of the target straight line portion and the current position of the vertical line 172 or the current position of the horizontal line 174 are calculated. The distance may be calculated.
ステップS112で一定角度以下かつ一定長さ以下の直線部分がなく、ステップS113で直線部分が存在しないと判断された場合、ガイドラインを移動させるための目標座標を画面中央に設定する(ステップS115)。そして、垂直線172の現在位置から画面中央までの距離Δxと、水平線174の現在位置から画面中央までの距離Δyを算出する(ステップS116)。 If it is determined in step S112 that there is no straight line portion with a certain angle or less and a certain length or less, and it is determined in step S113 that there is no straight line portion, the target coordinates for moving the guideline are set at the center of the screen (step S115). Then, a distance Δx from the current position of the vertical line 172 to the center of the screen and a distance Δy from the current position of the horizontal line 174 to the center of the screen are calculated (step S116).
以上によって、移動量の算出動作が終了する。その後、算出された移動量に基づいて、ガイドラインが画面内で移動する。 The movement amount calculation operation is thus completed. Thereafter, the guideline moves within the screen based on the calculated movement amount.
以上、本実施形態によれば、撮像装置100に水平又は垂直を検知するセンサーを内蔵させて、センサーによって本来の垂直線や水平線を画面に表示させることなく、適正な構図を容易に得ることができる。 As described above, according to the present embodiment, a sensor that detects horizontal or vertical is built in the imaging apparatus 100, and an appropriate composition can be easily obtained without causing the sensor to display an original vertical line or horizontal line on the screen. it can.
また、本実施形態では、垂直線及び水平線からなるガイドラインが適切な位置に移動するため、撮影者は被写体像をガイドラインに合わせやすい。例えば、従来、ガイドラインが固定されているとき、被写体像を無理にガイドラインに合わせることで本来撮影したい構図が得られなくなることがあったが、本実施形態ではこのような問題が発生しない。 In the present embodiment, since the guide line composed of the vertical line and the horizontal line moves to an appropriate position, the photographer can easily align the subject image with the guide line. For example, conventionally, when the guideline is fixed, it may not be possible to obtain a composition to be originally photographed by forcing the subject image to the guideline. However, in this embodiment, such a problem does not occur.
更に、本実施形態では、画面内で移動可能なガイドラインが、画面の一側の端部又は端部近傍から他端の端部又は端部近傍まで延びているため、短い補助線が表示される場合に比べて、撮影者は垂直又は水平を合わせやすい。また、目標直線部分を抽出して目標直線部分に向けてガイドラインを移動させるため、被写体像をガイドラインに合わせやすい。更に、本実施形態は、ガイドラインを移動させながら表示するため、画面内でガイドラインの切り替わりが少なく、撮影者は煩わしさを感じることなく構図を決定できる。 Furthermore, in this embodiment, the guideline that can be moved in the screen extends from one end or near the end of the screen to the other end or near the other end, so that a short auxiliary line is displayed. Compared to the case, the photographer can easily adjust the vertical or horizontal. Further, since the target straight line portion is extracted and the guideline is moved toward the target straight line portion, it is easy to match the subject image with the guideline. Further, in the present embodiment, the guideline is displayed while being moved, so that the guideline is hardly switched on the screen, and the photographer can determine the composition without feeling troublesome.
以上、添付図面を参照しながら本発明の好適な実施形態について詳細に説明したが、本発明はかかる例に限定されない。本発明の属する技術の分野における通常の知識を有する者であれば、特許請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本発明の技術的範囲に属するものと了解される。 The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to such examples. It is obvious that a person having ordinary knowledge in the technical field to which the present invention pertains can come up with various changes or modifications within the scope of the technical idea described in the claims. Of course, it is understood that these also belong to the technical scope of the present invention.
例えば、上記実施形態では、ガイドラインが垂直線1本と水平線1本からなるとしたが、本発明はかかる例に限定されない。例えば、ガイドラインは3本以上でもよく、例えば、垂直線2本と水平線2本からなるガイドラインを表示するとしてもよい。 For example, in the above embodiment, the guide line is composed of one vertical line and one horizontal line, but the present invention is not limited to such an example. For example, the number of guide lines may be three or more. For example, a guide line including two vertical lines and two horizontal lines may be displayed.
また、上記実施形態では、2本のガイドラインが両方とも画面内で移動するとしたが、必ずしも全てのガイドラインを画面内で移動させなくてもよい。例えば垂直線2本と水平線2本からなるガイドラインを表示する場合、垂直線1本と水平線1本を画面内で固定させ、残りの垂直線1本と水平線1本を画面内で移動させてもよい。 In the above embodiment, both of the two guidelines are moved within the screen. However, it is not always necessary to move all the guidelines within the screen. For example, when displaying a guideline composed of two vertical lines and two horizontal lines, even if one vertical line and one horizontal line are fixed in the screen and the remaining one vertical line and one horizontal line are moved in the screen, Good.
100 撮像装置
102 レンズ
104 撮像素子
106 映像信号処理部
108 コントローラ部
110 全体信号処理部
112 移動量算出部
114 ガイド表示部
122 EVF駆動部
124 EVF
132 モニタ駆動部
134 LCDモニタ
140 静止画/動画圧縮処理部
150 メモリカード
160 操作部
DESCRIPTION OF SYMBOLS 100 Imaging device 102 Lens 104 Image pick-up element 106 Image | video signal processing part 108 Controller part 110 Whole signal processing part 112 Movement amount calculation part 114 Guide display part 122 EVF drive part 124 EVF
132 Monitor Drive Unit 134 LCD Monitor 140 Still Image / Movie Compression Processing Unit 150 Memory Card 160 Operation Unit
Claims (4)
被写体の撮影によって取得された画像データから被写体像の輪郭を抽出する輪郭抽出部と、
抽出された前記輪郭から複数の直線部分を検出する直線検出部と、
検出された前記複数の直線部分のうち、画面中央からの距離が最も小さい前記直線部分を目標直線部分として抽出する目標抽出部と、
抽出された前記目標直線部分と前記垂直線又は前記水平線との距離を算出する距離算出部と
を備え、
前記補助線表示部は、前記目標直線部分と前記垂直線又は前記水平線との距離に基づいて、前記垂直線又は前記水平線を前記目標直線部分に向けて移動させながら表示する、撮像装置。 An auxiliary line display unit for displaying at least one vertical line movable in the horizontal direction in the screen and at least one horizontal line movable in the vertical direction in the screen;
A contour extraction unit that extracts a contour of a subject image from image data acquired by photographing the subject;
A straight line detection unit for detecting a plurality of straight line parts from the extracted outline;
Among the detected plurality of straight portions, and a target extractor which distance from the screen center to extract the smallest the linear portion as a target linear portion,
A distance calculation unit for calculating a distance between the extracted target straight line portion and the vertical line or the horizontal line;
The auxiliary line display unit displays an image while moving the vertical line or the horizontal line toward the target straight line portion based on a distance between the target straight line portion and the vertical line or the horizontal line.
前記補助線表示部は、前記補助線表示モードであると判断されたとき、前記垂直線及び前記水平線を前記画面に表示し、前記補助線表示モードでないと判断されたとき、前記垂直線及び前記水平線を前記画面に表示しない、請求項1に記載の撮像装置。 A mode determination unit for determining whether or not the display mode is an auxiliary line display mode for displaying the vertical line and the horizontal line on the screen;
The auxiliary line display unit displays the vertical line and the horizontal line on the screen when it is determined that the auxiliary line display mode is selected, and the vertical line and the horizontal line when it is determined that the auxiliary line display mode is not selected. The imaging apparatus according to claim 1, wherein a horizontal line is not displayed on the screen.
前記距離算出部は、画面中央と前記垂直線又は前記水平線との距離を算出し、
前記補助線表示部は、前記画面中央と前記垂直線又は前記水平線との距離に基づいて、前記垂直線又は前記水平線を前記画面中央に向けて移動させながら表示する、請求項1または2に記載の撮像装置。 When the target extraction unit cannot extract the target straight line portion,
The distance calculation unit calculates a distance between the center of the screen and the vertical line or the horizontal line,
3. The display according to claim 1, wherein the auxiliary line display unit displays the vertical line or the horizontal line while moving the vertical line or the horizontal line toward the screen center based on a distance between the center of the screen and the vertical line or the horizontal line. Imaging device.
被写体の撮影によって取得された画像データから被写体像の輪郭を抽出するステップと、
抽出された前記輪郭から複数の直線部分を検出するステップと、
検出された前記複数の直線部分のうち、画面中央からの距離が最も小さい前記直線部分を目標直線部分として抽出するステップと、
抽出された前記目標直線部分と前記垂直線又は前記水平線との距離を算出するステップと、
前記目標直線部分と前記垂直線又は前記水平線との距離に基づいて、前記垂直線又は前記水平線を前記目標直線部分に向けて移動させながら表示するステップと
を備える、撮像方法。
Displaying at least one horizontal line vertically movable within the screen and at least one vertical line movable horizontally within the screen;
Extracting the contour of the subject image from the image data acquired by photographing the subject;
Detecting a plurality of straight line portions from the extracted contour;
Among the detected plurality of straight portions, comprising the steps of: a distance from the screen center to extract the smallest the linear portion as a target linear portion,
Calculating a distance between the extracted target straight line portion and the vertical line or the horizontal line;
An imaging method comprising: displaying the vertical line or the horizontal line while moving the vertical line or the horizontal line toward the target straight line part based on a distance between the target straight line part and the vertical line or the horizontal line.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009295947A JP5479883B2 (en) | 2009-12-25 | 2009-12-25 | Imaging apparatus and imaging method |
| KR1020100127872A KR101720775B1 (en) | 2009-12-25 | 2010-12-14 | Photoghraphing apparatus and method |
| US12/978,228 US8675089B2 (en) | 2009-12-25 | 2010-12-23 | Apparatus and method for assisting composition of photographic image |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009295947A JP5479883B2 (en) | 2009-12-25 | 2009-12-25 | Imaging apparatus and imaging method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011139129A JP2011139129A (en) | 2011-07-14 |
| JP5479883B2 true JP5479883B2 (en) | 2014-04-23 |
Family
ID=44350160
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009295947A Expired - Fee Related JP5479883B2 (en) | 2009-12-25 | 2009-12-25 | Imaging apparatus and imaging method |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP5479883B2 (en) |
| KR (1) | KR101720775B1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9374517B2 (en) | 2012-10-12 | 2016-06-21 | Ebay Inc. | Guided photography and video on a mobile device |
| KR102254773B1 (en) * | 2020-09-14 | 2021-05-24 | 한국건설기술연구원 | Automatic decision and classification system for each defects of building components using image information, and method for the same |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3863327B2 (en) * | 1999-03-15 | 2006-12-27 | 富士フイルムホールディングス株式会社 | Digital still camera with composition advice function and operation control method thereof |
| JP2004104463A (en) * | 2002-09-10 | 2004-04-02 | Sony Corp | Imaging device |
| JP2005198035A (en) * | 2004-01-07 | 2005-07-21 | Fuji Photo Film Co Ltd | Digital camera |
| JP4363642B2 (en) * | 2004-07-02 | 2009-11-11 | 富士フイルム株式会社 | Map display system and digital camera |
-
2009
- 2009-12-25 JP JP2009295947A patent/JP5479883B2/en not_active Expired - Fee Related
-
2010
- 2010-12-14 KR KR1020100127872A patent/KR101720775B1/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| KR20110074668A (en) | 2011-07-01 |
| KR101720775B1 (en) | 2017-03-28 |
| JP2011139129A (en) | 2011-07-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101931752B (en) | Imaging apparatus and focusing method | |
| JP5025532B2 (en) | Imaging apparatus, imaging apparatus control method, and imaging apparatus control program | |
| US8675089B2 (en) | Apparatus and method for assisting composition of photographic image | |
| KR100906522B1 (en) | Imaging apparatus, data extraction method, and data extraction program recording medium | |
| JP5331128B2 (en) | Imaging device | |
| US9609220B2 (en) | Image pickup apparatus, image pickup method, and program | |
| US8040429B2 (en) | Electronic apparatus having autofocus camera function | |
| JP2010141657A (en) | Imaging apparatus and imaging method | |
| JP5479883B2 (en) | Imaging apparatus and imaging method | |
| US8537266B2 (en) | Apparatus for processing digital image and method of controlling the same | |
| JP4888829B2 (en) | Movie processing device, movie shooting device, and movie shooting program | |
| JP5195663B2 (en) | Imaging apparatus, focusing method, and program | |
| JP4983479B2 (en) | Imaging device | |
| JP4985716B2 (en) | Imaging apparatus, method for setting focus evaluation area, and program | |
| JP5477345B2 (en) | Imaging apparatus, focusing method, and program | |
| JP5229371B2 (en) | Imaging device | |
| JP2009094741A (en) | Imaging apparatus, imaging method, and program | |
| JP5024033B2 (en) | Object tracking device, object tracking program, and object tracking method | |
| JP4936799B2 (en) | Electronic camera | |
| JP5561392B2 (en) | Imaging apparatus, focusing method, and program | |
| JP6564295B2 (en) | Composite image creation device | |
| US9525815B2 (en) | Imaging apparatus, method for controlling the same, and recording medium to control light emission | |
| JP7669221B2 (en) | IMAGE PROCESSING APPARATUS, IMAGING APPARATUS, AND METHOD AND PROGRAM FOR CONFIRMING BLUR | |
| JP5168424B2 (en) | Imaging device | |
| JP5359334B2 (en) | Image processing apparatus, image processing program, and imaging apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121213 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130912 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130917 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131217 |
|
| 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: 20140114 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140213 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5479883 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 |
|
| LAPS | Cancellation because of no payment of annual fees |