JP2013115656A - Photographing apparatus - Google Patents

Photographing apparatus Download PDF

Info

Publication number
JP2013115656A
JP2013115656A JP2011260773A JP2011260773A JP2013115656A JP 2013115656 A JP2013115656 A JP 2013115656A JP 2011260773 A JP2011260773 A JP 2011260773A JP 2011260773 A JP2011260773 A JP 2011260773A JP 2013115656 A JP2013115656 A JP 2013115656A
Authority
JP
Japan
Prior art keywords
image
control unit
unit
signal processing
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011260773A
Other languages
Japanese (ja)
Inventor
Aya Numata
彩 沼田
Junichi Shimoyama
順一 霜山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2011260773A priority Critical patent/JP2013115656A/en
Publication of JP2013115656A publication Critical patent/JP2013115656A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a photographed image with a face part or the like processed by a simple operation.SOLUTION: A photographing apparatus comprises: an imaging unit that outputs a photographed image obtained by photographing a subject; a detection unit that detects a specific region in the photographed image as a non-public region; and a composition control unit that, in photographing the subject, combines a mask image covering at least part of the non-public region with the photographed image, thereby generating a composite image. This disables recognition of the non-public region, and enables protection of personal information or the like even when the image including the non-public region is recorded, transmitted, or the like.

Description

本発明は、アップロード用の撮影画像等の撮影に好適な撮影機器に関する。   The present invention relates to a photographing apparatus suitable for photographing a photographed image for uploading.

近年、デジタルカメラなどの撮影機能付き携帯機器(撮影機器)は、画像処理を駆使して、様々な撮影機能を備えている。また、撮影機器においては、通信機能を備えたものもあり、撮影して得た画像を他の機器やネットワーク上に伝送することも可能である。   2. Description of the Related Art In recent years, portable devices (photographing devices) with a photographing function such as digital cameras have various photographing functions by making full use of image processing. Some photographing devices have a communication function, and an image obtained by photographing can be transmitted to another device or a network.

例えば、自分の周りで起こった日常を撮影して得た撮影画像を、インターネット等のネットワーク上にアップロードして、第3者との間で画像共有して楽しむこともできる。しかしながら、街の風景などの撮影時には、意図せず、撮影画像内に人の顔などが入ってしまうことがある。このような撮影画像が画像共有されると、肖像権やプライバシーの観点から好ましくない。   For example, it is possible to upload a photographed image obtained by photographing the daily life that occurred around you to a network such as the Internet and share it with a third party for enjoyment. However, when photographing a city landscape or the like, a human face or the like may be included in the photographed image unintentionally. If such a photographed image is shared, it is not preferable from the viewpoint of portrait rights and privacy.

そこで、特許文献1においては、画像中の顔部にモザイクをかけることでプライバシーを保護する技術が開示されている。   Therefore, Patent Document 1 discloses a technique for protecting privacy by applying a mosaic to a face portion in an image.

特開2009−284235号公報JP 2009-284235 A

しかしながら、特許文献1の技術では、モザイク処理に必要な設定が煩雑であるという問題があった。   However, the technique disclosed in Patent Document 1 has a problem in that settings necessary for mosaic processing are complicated.

本発明は、簡単な操作で、顔部等に処理を施した撮影画像を得ることができる撮影機器を提供することを目的とする。   An object of the present invention is to provide a photographing apparatus that can obtain a photographed image obtained by processing a face portion or the like with a simple operation.

本発明に係る撮影機器は、被写体を撮影して得た撮影画像を出力する撮像部と、前記撮影画像中の特定の領域を非公開領域として検出する検出部と、前記被写体の撮影に際して、前記非公開領域の少なくとも一部を覆うマスク画像を前記撮影画像に合成して合成画像を生成する合成制御部とを具備する。   An imaging device according to the present invention includes an imaging unit that outputs a captured image obtained by capturing a subject, a detection unit that detects a specific region in the captured image as a non-public region, And a synthesis control unit that synthesizes a mask image covering at least a part of the non-public area with the captured image to generate a synthesized image.

本発明によれば、簡単な操作で、顔部等に処理を施した撮影画像を得ることができるという効果を有する。   According to the present invention, it is possible to obtain a photographed image obtained by processing a face portion or the like with a simple operation.

本発明の一実施の形態に係る撮影機器の回路構成を示すブロック図。1 is a block diagram illustrating a circuit configuration of a photographing apparatus according to an embodiment of the present invention. 合成モードの利用形態を説明するための説明図。Explanatory drawing for demonstrating the utilization form of synthetic | combination mode. 撮影画像と合成画像を説明するための説明図。Explanatory drawing for demonstrating a picked-up image and a synthesized image. カメラ制御を説明するためのフローチャート。The flowchart for demonstrating camera control. 図4中の合成画像作成処理を説明するためのフローチャート。The flowchart for demonstrating the synthetic | combination image creation process in FIG. 仮記憶部14の記憶内容を模式的に説明するための説明図。Explanatory drawing for demonstrating the memory content of the temporary memory | storage part 14 typically. 仮記憶部14の記憶内容を模式的に説明するための説明図。Explanatory drawing for demonstrating the memory content of the temporary memory | storage part 14 typically. 仮記憶部14の記憶内容を模式的に説明するための説明図。Explanatory drawing for demonstrating the memory content of the temporary memory | storage part 14 typically. 合成画像の表示例を示す説明図。Explanatory drawing which shows the example of a display of a synthesized image.

以下、図面を参照して本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は本発明の一実施の形態に係る撮影機器の回路構成を示すブロック図である。本実施の形態は、撮影時に、撮影画像中の顔部等を非公開領域として検出し、この領域にマスク画像を合成して処理を行うモード(以下、合成モードという)での撮影を可能にするものである。本実施の形態の撮影機器においては、常に合成モードでの撮影を行うように構成してもよく、また、撮影画像をそのまま処理する通常モードと合成モードとを切換え可能に構成してもよい。   FIG. 1 is a block diagram showing a circuit configuration of a photographing apparatus according to an embodiment of the present invention. In this embodiment, at the time of shooting, it is possible to detect a face portion or the like in a shot image as a non-public area, and to shoot in a mode in which a mask image is synthesized in this area (hereinafter referred to as a synthesis mode). To do. The imaging device of the present embodiment may be configured to always perform imaging in the synthesis mode, or may be configured to be able to switch between a normal mode for processing a captured image as it is and a synthesis mode.

図1において、撮影機器本体10は、CCDやCMOSセンサ等の撮像素子によって構成された撮像部11を有している。撮像部11は、撮影機器本体10の前面に設けられた交換レンズ20からの被写体像を光電変換して撮影画像信号を得る。   In FIG. 1, an imaging device body 10 has an imaging unit 11 constituted by an imaging element such as a CCD or a CMOS sensor. The imaging unit 11 photoelectrically converts the subject image from the interchangeable lens 20 provided on the front surface of the imaging device body 10 to obtain a captured image signal.

交換レンズ20は、撮影機器本体10の撮像部11に被写体像を導く撮影光学系21を有している。撮影光学系21は、円筒状の部分を有するレンズ収納部21a及びレンズを駆動制御するためのリング状の操作部22を備えている。操作部22はレンズ収納部21aの周方向に回動自在であると共に、光軸方向にスライド自在に構成されている。   The interchangeable lens 20 has a photographic optical system 21 that guides a subject image to the imaging unit 11 of the photographic device body 10. The photographing optical system 21 includes a lens storage portion 21a having a cylindrical portion and a ring-shaped operation portion 22 for driving and controlling the lens. The operation unit 22 is configured to be rotatable in the circumferential direction of the lens storage unit 21a and to be slidable in the optical axis direction.

回転操作判定部23は、例えばフォトカプラやエンコーダー等によって構成されており、操作部22の回転操作に基づく操作信号を制御部25に出力するようになっている。また、スライド位置判定部24は、例えば、複数のスイッチ等によって構成されており、操作部22のスライド操作に基づく操作信号を制御部25に出力するようになっている。制御部25は、マイコン等によって構成される。   The rotation operation determination unit 23 is configured by, for example, a photocoupler or an encoder, and outputs an operation signal based on the rotation operation of the operation unit 22 to the control unit 25. The slide position determination unit 24 includes, for example, a plurality of switches and the like, and outputs an operation signal based on the slide operation of the operation unit 22 to the control unit 25. The control unit 25 is configured by a microcomputer or the like.

回転操作判定部23からの操作信号は操作部22の回転位置に対応しており、制御部25は、操作部22の回転位置に応じたフォーカス信号を生成して駆動部26を制御する。撮影光学系21には図示しない複数のレンズが設けられており、モーター等によって構成された駆動部26はこれらのレンズを駆動してレンズ位置を変更し、ズーム制御及びフォーカス制御を行う。操作部22を回転操作することで、回転操作に応じたピント微調整が行われる。   The operation signal from the rotation operation determination unit 23 corresponds to the rotation position of the operation unit 22, and the control unit 25 generates a focus signal corresponding to the rotation position of the operation unit 22 and controls the drive unit 26. The photographing optical system 21 is provided with a plurality of lenses (not shown), and a drive unit 26 configured by a motor or the like drives these lenses to change the lens position, and performs zoom control and focus control. By rotating the operation unit 22, focus fine adjustment according to the rotation operation is performed.

スライド位置判定部24は、操作部22のスライド位置として2つの状態を判定可能に構成することができる。制御部25は、スライド位置の判定結果に基づいて、ピント合わせのモードとして通常モードとパンフォーカスモードとを切換える。例えば、制御部25は、スライド位置判定部24によってスライド位置が一方の位置であることが示された場合には、通常モードを設定して操作部22の回転操作に基づくピント微調整を行う。   The slide position determination unit 24 can be configured to be able to determine two states as the slide position of the operation unit 22. The control unit 25 switches between the normal mode and the pan focus mode as the focusing mode based on the slide position determination result. For example, when the slide position determination unit 24 indicates that the slide position is one position, the control unit 25 sets the normal mode and performs fine focus adjustment based on the rotation operation of the operation unit 22.

一方、制御部25は、スライド位置が他方の位置であることが示された場合には、駆動部26を制御してレンズを駆動し、特定の距離にピントが合うようにパンフォーカス制御を行う。この場合には、制御部25は、操作部22の回転操作に基づいてパンフォーカス設定の距離を変更する。   On the other hand, if it is indicated that the slide position is the other position, the control unit 25 controls the drive unit 26 to drive the lens, and performs pan focus control so that a specific distance is in focus. . In this case, the control unit 25 changes the pan focus setting distance based on the rotation operation of the operation unit 22.

撮影光学系21にはピント制御部21bが設けられており、ピント制御部21bはレンズの位置に対応した信号をピント位置判定部27に出力する。ピント位置判定部27は、ピント制御部21bの出力に基づいてピント位置を判定して判定結果を制御部25に出力する。制御部25のピント換算部25aは、回転操作の判定結果及びピント位置の判定結果が与えられ、操作部22の回転操作とレンズの移動量との換算を行って、ピント位置が回転操作に基づく所定の位置になるように、駆動部26を制御する。   The photographing optical system 21 is provided with a focus control unit 21 b, and the focus control unit 21 b outputs a signal corresponding to the lens position to the focus position determination unit 27. The focus position determination unit 27 determines the focus position based on the output of the focus control unit 21 b and outputs the determination result to the control unit 25. The focus conversion unit 25a of the control unit 25 is given the determination result of the rotation operation and the determination result of the focus position, performs conversion between the rotation operation of the operation unit 22 and the moving amount of the lens, and the focus position is based on the rotation operation. The drive unit 26 is controlled so as to be in a predetermined position.

交換レンズ20には、通信部28が設けられている。また、撮影機器本体10には通信部13が設けられている。通信部28は、所定の伝送路を介して撮影機器本体10の通信部13との間で情報の送受を行う。制御部25は、撮影機器本体10の通信部13との間の通信が確立すると、図示しないメモリに格納したレンズ情報を通信部28,13によって撮影機器本体10に送信させることができる。これにより、撮影機器本体10は、交換レンズ20がどのようなズーム機能を有しているか、ズームレンズの倍率、焦点距離、明るさナンバーや、ピント合わせのモード等を認識することができる。また、制御部25は、通信部13,28介して撮影機器本体10の信号処理及び制御部12から制御信号が供給されて、信号処理及び制御部12によって制御可能に構成されている。   The interchangeable lens 20 is provided with a communication unit 28. The photographing device main body 10 is provided with a communication unit 13. The communication unit 28 transmits and receives information to and from the communication unit 13 of the photographing apparatus main body 10 via a predetermined transmission path. When communication with the communication unit 13 of the photographing apparatus main body 10 is established, the control unit 25 can cause the communication unit 28 and 13 to transmit lens information stored in a memory (not shown) to the photographing apparatus main body 10. As a result, the photographing apparatus main body 10 can recognize what zoom function the interchangeable lens 20 has, the magnification of the zoom lens, the focal length, the brightness number, the focusing mode, and the like. The control unit 25 is configured to be controlled by the signal processing and control unit 12 by being supplied with a control signal from the signal processing and control unit 12 of the photographing apparatus main body 10 via the communication units 13 and 28.

なお、本実施の形態においては種々の交換レンズを採用することができる。図1では、回転及びスライド自在の操作部22によってピント合わせのモードを設定可能な交換レンズを採用する例を示したが、撮影機器本体側でパンフォーカスモードを設定可能にしてもよく、ピント合わせのモードの設定機能や通信機能等を有していない交換レンズを採用してもよく、あるいは交換不能なレンズを採用してもよい。   In the present embodiment, various interchangeable lenses can be employed. FIG. 1 shows an example in which an interchangeable lens capable of setting a focus mode by the rotatable and slidable operation unit 22 is shown. However, the pan focus mode may be set on the photographing apparatus main body side. An interchangeable lens that does not have a mode setting function, a communication function, or the like may be employed, or a lens that is not interchangeable may be employed.

撮影機器本体10の撮像部11は、信号処理及び制御部12によって駆動制御されて、交換レンズ20を介して被写体を撮影し、撮影画像を出力する。信号処理及び制御部12は、撮像部11に撮像素子の駆動信号を出力すると共に、撮像部11からの撮影画像を読み出す。信号処理及び制御部12は、読み出した撮影画像に対して、所定の信号処理、例えば、色調整処理、マトリックス変換処理、ノイズ除去処理、その他各種の信号処理を行う。   The imaging unit 11 of the imaging apparatus main body 10 is driven and controlled by the signal processing and control unit 12 to capture a subject through the interchangeable lens 20 and output a captured image. The signal processing and control unit 12 outputs a driving signal for the imaging element to the imaging unit 11 and reads a captured image from the imaging unit 11. The signal processing and control unit 12 performs predetermined signal processing, for example, color adjustment processing, matrix conversion processing, noise removal processing, and other various signal processing on the read captured image.

本実施の形態においては、撮影機器本体10には、仮記憶部14及び顔検出部16が設けられている。仮記憶部14は、信号処理及び制御部12による信号処理後の撮影画像を仮記憶することができるようになっている。また、信号処理及び制御部12は、撮影画像を顔検出部16にも与える。   In the present embodiment, the photographic device main body 10 is provided with a temporary storage unit 14 and a face detection unit 16. The temporary storage unit 14 can temporarily store a captured image after signal processing by the signal processing and control unit 12. Further, the signal processing and control unit 12 gives the captured image to the face detection unit 16.

顔検出部16は、公知の顔検出の手法によって、撮影画像中の人物の顔を検出する。例えば、顔検出部16は、顔の明るさの特徴をモデル化した複数の濃淡画像と撮影画像とを順次比較することで、人物の顔を検出する手法を採用してもよい。また、顔検出部16は、例えば笑顔の場合における口角の角度や目尻の角度、顔パーツの陰影の特徴を記憶したデータベースを利用することで、顔の表情を判定することもできる。更に、顔検出部16は、多数の人物の顔の特徴量を記憶したデータベースを利用することで、撮影された人物の年齢、性別等を判定することも可能である。   The face detection unit 16 detects the face of a person in the captured image by a known face detection method. For example, the face detection unit 16 may employ a technique for detecting a person's face by sequentially comparing a plurality of grayscale images obtained by modeling facial brightness characteristics and a captured image. In addition, the face detection unit 16 can determine the facial expression by using a database that stores, for example, the angle of the mouth corner, the angle of the corner of the eye in the case of a smile, and the shadow characteristics of the facial parts. Furthermore, the face detection unit 16 can determine the age, sex, and the like of the photographed person by using a database that stores the facial feature values of a large number of persons.

信号処理及び制御部12は、顔検出部16の検出結果が与えられる。信号処理及び制御部12は、大きさ及び位置判定部12aを有しており、大きさ及び位置判定部12aは、顔検出の検出結果によって、撮影画像中の顔部の大きさ及び位置を判定する。また、信号処理及び制御部12は、コントラスト判定部12bを有しており、コントラスト判定部12bは、撮影画像中の顔部及びその周囲のコントラストを判定する。なお、コントラスト判定部12bは、交換レンズ20のピント合わせ処理にも用いられる。   The signal processing and control unit 12 is given the detection result of the face detection unit 16. The signal processing and control unit 12 includes a size and position determination unit 12a. The size and position determination unit 12a determines the size and position of the face in the captured image based on the detection result of the face detection. To do. Further, the signal processing and control unit 12 includes a contrast determination unit 12b, and the contrast determination unit 12b determines the contrast of the face portion in the captured image and its surroundings. The contrast determination unit 12b is also used for the focusing process of the interchangeable lens 20.

信号処理及び制御部12は、信号処理後の撮影画像を仮記憶部14に与える。また、信号処理及び制御部12は、撮影時には、ROM15に記憶されているマスク画像を読み出して仮記憶部14に記憶させるようになっている。なお、信号処理及び制御部12は、ROM15に記憶されているマスク画像の他に、ユーザが図示しないメモリに記録している画像をマスク画像として読み出して仮記憶部14に記憶させるようにしてもよい。   The signal processing and control unit 12 gives the captured image after the signal processing to the temporary storage unit 14. The signal processing and control unit 12 reads out a mask image stored in the ROM 15 and stores it in the temporary storage unit 14 at the time of photographing. In addition to the mask image stored in the ROM 15, the signal processing and control unit 12 may read out an image recorded in a memory (not shown) as a mask image and store it in the temporary storage unit 14. Good.

信号処理及び制御部12は、リサイズ処理部12c及び合成制御部12dを有している。リサイズ処理部12cは、仮記憶部14に記憶されているマスク画像を読み出して、大きさ及び位置判定部12aの大きさの判定結果に従ってマスク画像の拡大又は縮小処理(以下、リサイズ処理という)を行う。合成制御部12dは、仮記憶部14に記憶されている撮影画像を読み出し、顔部の大きさに従ってリサイズ処理されたマスク画像(顔部合成画像)を、大きさ及び位置判定部12aの位置の判定結果に従って、撮影画像の顔部の位置に合成した合成画像を生成する。合成制御部12dは、合成画像を仮記憶部14の合成画像記憶部14aに記憶させる。   The signal processing and control unit 12 includes a resizing processing unit 12c and a synthesis control unit 12d. The resize processing unit 12c reads the mask image stored in the temporary storage unit 14, and performs a mask image enlargement or reduction process (hereinafter referred to as a resize process) according to the determination result of the size and the position determination unit 12a. Do. The compositing control unit 12d reads the captured image stored in the temporary storage unit 14, and converts the mask image (face composite image) resized according to the size of the face to the size and position of the position determination unit 12a. According to the determination result, a composite image synthesized at the position of the face portion of the photographed image is generated. The composite control unit 12d stores the composite image in the composite image storage unit 14a of the temporary storage unit 14.

信号処理及び制御部12は、仮記憶部14に記憶されている撮影画像、マスク画像及び合成画像を読み出して表示部19に与える。表示部19はLCD(液晶表示パネル)等によって構成されており、信号処理及び制御部12から与えられた画像を表示する。   The signal processing and control unit 12 reads out the captured image, the mask image, and the composite image stored in the temporary storage unit 14 and gives them to the display unit 19. The display unit 19 is configured by an LCD (liquid crystal display panel) or the like, and displays an image given from the signal processing and control unit 12.

また、信号処理及び制御部12は、仮記憶部14に記憶されている撮影画像や合成画像を読み出して圧縮処理し、圧縮後の画像を記録部17に与えて記録させることができる。記録部17としては、例えばカードインターフェースを採用することができ、記録部17はメモリカード等の記録媒体に画像情報及び音声情報等を記録可能である。   In addition, the signal processing and control unit 12 can read and compress the captured image and the composite image stored in the temporary storage unit 14, and can apply the compressed image to the recording unit 17 for recording. As the recording unit 17, for example, a card interface can be adopted, and the recording unit 17 can record image information, audio information, and the like on a recording medium such as a memory card.

また、撮影機器本体10には、操作判定部18も設けられている。操作判定部18は、図示しないレリーズボタンや、撮影モード設定等の各種スイッチ等を有しており、ユーザ操作に基づく操作信号を発生して信号処理及び制御部12に供給する。信号処理及び制御部12は、操作信号に基づいて、各部を制御する。   The photographing device body 10 is also provided with an operation determination unit 18. The operation determination unit 18 has a release button (not shown), various switches for setting a shooting mode, and the like, and generates an operation signal based on a user operation and supplies the operation signal to the signal processing and control unit 12. The signal processing and control unit 12 controls each unit based on the operation signal.

更に、撮影機器本体10にはタッチパネル19aが設けられている。例えば、タッチパネル19aを表示部19の表示画面上に設けることで、ユーザが指で指し示した表示画面上の位置に応じた操作信号を発生することができる。これにより、ユーザは、表示部19の表示画面上に表示された画像に対する選択操作等を簡単に行うことができる。   Further, the photographing apparatus main body 10 is provided with a touch panel 19a. For example, by providing the touch panel 19a on the display screen of the display unit 19, an operation signal corresponding to the position on the display screen pointed by the user with a finger can be generated. Accordingly, the user can easily perform a selection operation or the like on the image displayed on the display screen of the display unit 19.

信号処理及び制御部12は、各部を制御することで、ユーザ操作に基づく撮影モードを設定して、各撮影モードに応じた撮影機能を実現する。例えば、信号処理及び制御部12は、操作判定部18から合成モードを指示するための図示しないスイッチの操作に基づく操作信号が入力されると、合成モードを設定することができるようになっている。   The signal processing and control unit 12 controls each unit to set a shooting mode based on a user operation, and realize a shooting function according to each shooting mode. For example, when the operation signal based on the operation of a switch (not shown) for instructing the synthesis mode is input from the operation determination unit 18, the signal processing and control unit 12 can set the synthesis mode. .

また、信号処理及び制御部12は、操作部22のスライド操作によってパンフォーカスモードが設定された場合には、自動的に合成モードを設定するようにしてもよい。また、信号処理及び制御部12は、オートフォーカスモードが設定された場合や、所定の時間以内にレリーズボタンを押し終える(一気押し)の場合等において、合成モードを設定するようにしてもよい。   Further, when the pan focus mode is set by the slide operation of the operation unit 22, the signal processing and control unit 12 may automatically set the synthesis mode. Further, the signal processing and control unit 12 may set the synthesis mode when the autofocus mode is set or when the release button is completely pressed within a predetermined time (pressed at a stroke).

合成モード時においては、信号処理及び制御部12は、ユーザ操作に応じて、マスク画像の合成処理、マスク画像の変更処理、合成画像から合成されたマスク画像を除去するマスク画像除去処理を、各顔部毎に実施することができるようになっている。また、信号処理及び制御部12は、マスク画像の合成処理、変更処理及び除去処理時における撮影画像、マスク画像及び合成画像を表示させることができると共に、これらの処理後の撮影画像及び合成画像を記録部17に与えて記録させることができるようになっている。   In the synthesis mode, the signal processing and control unit 12 performs a mask image synthesis process, a mask image change process, and a mask image removal process for removing a mask image synthesized from the synthesized image in accordance with a user operation. It can be implemented for each face. In addition, the signal processing and control unit 12 can display the captured image, the mask image, and the combined image at the time of the mask image composition processing, change processing, and removal processing, and the captured image and composite image after these processing can be displayed. The recording unit 17 can be given and recorded.

撮影機器本体10には、通信部31が設けられており、通信部31は、信号処理及び制御部12に制御されて、記録部17に記録された合成画像をインターネット等の図示しない伝送路を介して他の機器に送信することができるようになっている。例えば、信号処理及び制御部12は、通信部31によって、記録部17に記録された合成画像を自動的に送信するモードを設定することができる。   The photographing apparatus main body 10 is provided with a communication unit 31, which is controlled by the signal processing and control unit 12 to transmit the composite image recorded in the recording unit 17 to a transmission path (not shown) such as the Internet. It can be transmitted to other devices via the network. For example, the signal processing and control unit 12 can set a mode for automatically transmitting a composite image recorded in the recording unit 17 by the communication unit 31.

次に、このように構成された実施の形態の動作について図2乃至図9を参照して説明する。図2は合成モードの利用形態を説明するための説明図であり、図3は撮影画像と合成画像を説明するための説明図である。   Next, the operation of the embodiment configured as described above will be described with reference to FIGS. FIG. 2 is an explanatory diagram for explaining how to use the synthesis mode, and FIG. 3 is an explanatory diagram for explaining a captured image and a synthesized image.

本実施の形態においては、パンフォーカスモードを設定することができる。パンフォーカスモードにおいては、予めパンフォーカスの距離を設定しておくことで、撮影時におけるピント合わせを不要にするものである。パンフォーカスモードを設定すると、例えば、散策中等において、気に入った風景をとっさに撮影する場合等においても、シャッターチャンスを逃さない撮影が容易となる。ネットワーク上の記録領域に撮影画像をアップロードして写真共有する場合等においては、このような撮影方法によって撮影されることが多い。   In the present embodiment, the pan focus mode can be set. In the pan focus mode, by setting the pan focus distance in advance, it is not necessary to focus at the time of shooting. When the pan focus mode is set, for example, when taking a picture of a favorite landscape during a walk or the like, it is easy to shoot without missing a photo opportunity. When a photographed image is uploaded to a recording area on a network and the photograph is shared, the photograph is often taken by such a photographing method.

図2(a)はこのような撮影方法が採用される場面の例を示している。撮影者41は、道路42上を歩行中である。撮影者41の前方には、ビル群43やタワー44等の建造物等の風景が見渡せる。ここで、撮影者41が前方の風景を撮影しようとするものとする。図2(b)に示すように、撮影者41は手45によってカメラ46を構えて撮影を行う。この場合において、撮影範囲内に、人物47が存在することがある。パンフォーカスモードは、手早く撮影を行う場合に適したものであり、このような撮影時に、ピント合わせが不要で簡単に撮影できる反面、意図しない人物が撮影されてしまうことがある。このような場合に、撮影画像をそのまま画像共有のためにアップロードすると、個人情報保護の観点から好ましくない。   FIG. 2A shows an example of a scene where such a photographing method is adopted. The photographer 41 is walking on the road 42. In front of the photographer 41, a landscape such as a building group 43 or a tower 44 can be seen. Here, it is assumed that the photographer 41 intends to photograph a landscape in front. As shown in FIG. 2B, the photographer 41 takes a picture by holding the camera 46 with the hand 45. In this case, a person 47 may exist within the shooting range. The pan focus mode is suitable for quick shooting. In such shooting, focusing is not necessary and easy shooting is possible, but an unintended person may be shot. In such a case, uploading the captured image as it is for image sharing is not preferable from the viewpoint of protecting personal information.

そこで、本実施の形態においては、撮影時において、このような人物の顔部等にマスク画像を合成する合成モードを採用し、撮影画像中の人物を判別不能にする。図3(a)は撮影画像を示し、図3(b)は合成画像を示している。   Therefore, in the present embodiment, a composition mode in which a mask image is synthesized with such a person's face or the like is employed at the time of photographing so that the person in the photographed image cannot be identified. FIG. 3A shows a captured image, and FIG. 3B shows a composite image.

図3(a)は撮影された画像51中に、建物の画像52及び人物の画像53が撮影されている様子を示している。画像51においては、人物の顔部の画像54が写された状態を示している。図3(b)は図3(a)の撮影画像中の人物の顔部の画像54上に、マスク画像55を合成した合成画像51bの一例を示している。図3(a),(b)の比較から明らかなように、図3(b)の合成画像51bにおいては、顔の画像54の大部分はマスク画像55によって覆い隠されており、合成画像51bに写された人物を特定することはできない。   FIG. 3A shows a state in which a building image 52 and a person image 53 are captured in the captured image 51. An image 51 shows a state in which an image 54 of a human face is captured. FIG. 3B shows an example of a composite image 51b in which the mask image 55 is combined with the face image 54 of the person in the photographed image of FIG. As is clear from the comparison between FIGS. 3A and 3B, in the composite image 51b in FIG. 3B, most of the face image 54 is covered by the mask image 55, and the composite image 51b It is not possible to specify the person who is shown in

次に、図4乃至図8を参照して合成モードを可能にするカメラ制御について説明する。図4はカメラ制御を説明するためのフローチャートであり、図5は図4中の合成画像作成処理を説明するためのフローチャートである。また、図6乃至図8は仮記憶部14の記憶内容を模式的に説明するための説明図である。   Next, camera control that enables the synthesis mode will be described with reference to FIGS. FIG. 4 is a flowchart for explaining camera control, and FIG. 5 is a flowchart for explaining the composite image creation processing in FIG. 6 to 8 are explanatory diagrams for schematically explaining the storage contents of the temporary storage unit 14.

なお、図4はオートフォーカスモード及びパンフォーカスモードを指定するユーザ操作を検出して合成モードを設定する例について示しているが、他の所定の操作、例えば、2段階で押下するシャッターボタンを短時間で一気に押し終える一気押し操作を検出して、合成モードを設定してもよく、また、撮影時にはユーザ操作に拘わらず、常に合成モードを設定するようにしてもよい。   Note that FIG. 4 shows an example in which the user mode for specifying the auto focus mode and the pan focus mode is detected and the composition mode is set, but other predetermined operations, for example, a shutter button that is pressed in two stages is shortened. The combination mode may be set by detecting a pressing operation that finishes pressing at once, and the combination mode may always be set at the time of shooting regardless of the user operation.

例えば、撮影者が、交換レンズ20の操作部22をスライドさせる操作によって、制御部25はパンフォーカスモードを設定することができる。パンフォーカスモードが設定されたことを示す情報は、制御部25から通信部28,31を介して撮影機器本体10の信号処理及び制御部12に供給される。このように、ピント合わせ用の操作部22をスライドさせるという簡単な操作によって、パンフォーカスモードを設定して、自動的に合成モードに移行することができる。   For example, when the photographer slides the operation unit 22 of the interchangeable lens 20, the control unit 25 can set the pan focus mode. Information indicating that the pan focus mode has been set is supplied from the control unit 25 to the signal processing and control unit 12 of the photographing apparatus body 10 via the communication units 28 and 31. In this way, the pan focus mode can be set and the mode can be automatically shifted to the composition mode by a simple operation of sliding the focusing operation unit 22.

更に、通常モードから合成モードへの移行は、撮影機器本体10の姿勢又は振動等を検出することで行ってもよい。例えば、手早く撮影行おうとした場合には、撮影機器本体10を撮影位置に構える場合のように、姿勢が安定していない状態、或いは、直前に撮影機器本体10の振動が大きくなる状態等が生じることがあるので、このような状態を検出することで、合成モードに移行するようにしても良い。   Further, the transition from the normal mode to the composition mode may be performed by detecting the posture or vibration of the photographing apparatus body 10. For example, when an attempt is made to quickly shoot, a state in which the posture is not stable, such as when the photographic device main body 10 is held at the photographing position, or a state in which the vibration of the photographic device main body 10 is increased immediately before, occurs. Therefore, it is possible to shift to the synthesis mode by detecting such a state.

図4のステップS1において、信号処理及び制御部12は撮影モードであるか否かを判定する。いま、撮影モードが指示されているものとする。この場合には、信号処理及び制御部12は、ステップS2において、スルー画の表示及び顔検出を行う。信号処理及び制御部12は撮像部11からの撮影画像を取り込んで、所定の信号処理を施す。信号処理及び制御部12は、信号処理後の撮影画像を顔検出部16に出力すると共に、信号処理後の撮影画像を表示部19に与えてスルー画を表示させる。   In step S1 of FIG. 4, the signal processing and control unit 12 determines whether or not the shooting mode is set. Assume that the shooting mode is instructed. In this case, the signal processing and control unit 12 performs through image display and face detection in step S2. The signal processing and control unit 12 takes a photographed image from the imaging unit 11 and performs predetermined signal processing. The signal processing and control unit 12 outputs the captured image after the signal processing to the face detection unit 16, and gives the captured image after the signal processing to the display unit 19 to display a through image.

また、信号処理及び制御部12は、ROM15からマスク画像を読み出して仮記憶部14に記憶させる。図6は仮記憶部14の記憶領域61内に4つのマスク画像FA,FC,MA,MCが格納されていることを模式的に示している。   Further, the signal processing and control unit 12 reads out the mask image from the ROM 15 and stores it in the temporary storage unit 14. FIG. 6 schematically shows that four mask images FA, FC, MA, and MC are stored in the storage area 61 of the temporary storage unit 14.

信号処理及び制御部12は、ステップS3においてオートフォーカスモードが指定されているか否かを判定し、指定されている場合にはステップS4においてオートフォーカスモードを設定し、ステップS5で撮影操作の有無を判定する。   The signal processing and control unit 12 determines whether or not the autofocus mode is designated in step S3. If so, the signal processing and control unit 12 sets the autofocus mode in step S4, and determines whether or not the photographing operation is performed in step S5. judge.

ここで、撮影者がレリーズボタン等の操作によって撮影を行うものとする。この場合には、信号処理及び制御部12は、次のステップS6に移行して、オートフォーカス又はパンフォーカスが設定されているか否かを判定する。   Here, it is assumed that the photographer performs photographing by operating the release button or the like. In this case, the signal processing and control unit 12 proceeds to the next step S6 and determines whether or not autofocus or pan focus is set.

オートフォーカス又はパンフォーカスが設定されていない場合等においては、信号処理及び制御部12は、通常モードを設定して撮影及び圧縮記録を行う(ステップS7)。即ち、信号処理及び制御部12は、レリーズボタンの押下によって、撮像部11からの撮影画像を取り込んで、所定の信号処理を行う。信号処理及び制御部12は、信号処理後の撮影画像を圧縮して、記録部17に与えて記録する。また、信号処理及び制御部12は、ステップS8において、記録した撮影画像を表示部19にも与えてレックビュー表示させる(ステップS8)。   When autofocus or pan focus is not set, the signal processing and control unit 12 sets the normal mode and performs shooting and compression recording (step S7). That is, the signal processing and control unit 12 captures a photographed image from the imaging unit 11 by pressing the release button, and performs predetermined signal processing. The signal processing and control unit 12 compresses the captured image after the signal processing, gives it to the recording unit 17 and records it. Further, in step S8, the signal processing and control unit 12 gives the recorded photographed image to the display unit 19 to display the REC view (step S8).

信号処理及び制御部12は、レックビュー表示の開始から所定時間経過後に(ステップS9)、レックビュー表示を終了させる(ステップS10)。信号処理及び制御部12は、次のステップS11において、記録した撮影画像の通信が可能な状態で有るか否かを判定(ステップS11)した後、通信可能であれば、ステップS12において、通信部31を制御して、記録した撮影画像を所定のネットワークに送信する。   The signal processing and control unit 12 ends the REC view display after a predetermined time has elapsed from the start of the REC view display (Step S9). In the next step S11, the signal processing and control unit 12 determines whether or not the recorded captured image can be communicated (step S11). 31 is controlled and the recorded photographed image is transmitted to a predetermined network.

ここで、撮影者が、オートフォーカスモード、パンフォーカスモードを指定する操作や、シャッターボタンを短時間に押し終える(一気押し)操作を行うものとする。この場合には、信号処理及び制御部12は、合成モードを設定する。   Here, it is assumed that the photographer performs an operation for designating the auto focus mode and the pan focus mode, and an operation for pressing the shutter button in a short time (pressing at once). In this case, the signal processing and control unit 12 sets the synthesis mode.

例えば、撮影に際して、撮影者が交換レンズ20の操作部22をスライド操作して、パンフォーカスモードを指定している場合には、信号処理及び制御部12は、ステップS6から処理をステップS15に移行して、合成モードのための撮影と仮記憶を行う。   For example, when photographing, the photographer slides the operation unit 22 of the interchangeable lens 20 to designate the pan focus mode, and the signal processing and control unit 12 proceeds from step S6 to step S15. Then, shooting and temporary storage for the synthesis mode are performed.

ステップS15〜S24は合成モードの処理を示している。信号処理及び制御部12は、レリーズボタンの押下によって撮像部11から転送された撮影画像を取り込んで信号処理した後、信号処理後の撮影画像を仮記憶部14に与えて仮記憶させる。信号処理及び制御部12は、ステップS16においてマスク画像(顔部合成画像)を作成し、撮影画像と合成した合成画像を作成する。   Steps S15 to S24 show processing in the synthesis mode. The signal processing and control unit 12 captures a captured image transferred from the imaging unit 11 by pressing the release button and performs signal processing, and then provides the captured image after the signal processing to the temporary storage unit 14 to temporarily store the captured image. In step S <b> 16, the signal processing and control unit 12 creates a mask image (face part composite image), and creates a composite image synthesized with the captured image.

図5は合成画像作成の具体的なフローの一例を示している。   FIG. 5 shows an example of a specific flow for creating a composite image.

顔検出部16には、レリーズボタン等の撮影操作によって得られた撮影画像が信号処理及び制御部12から供給され、顔検出部16は、撮影画像中の顔検出処理を行う。更に、顔検出部16は、撮影画像中の顔から当該人物の性別及び小児か否かを検出すると共に、顔の表情についても検出する。顔検出部16の検出結果は信号処理及び制御部12に与えられる。   The face detection unit 16 is supplied with a photographed image obtained by a photographing operation such as a release button from the signal processing and control unit 12, and the face detection unit 16 performs face detection processing in the photographed image. Further, the face detection unit 16 detects the gender of the person and whether or not the child is a child from the face in the captured image, and also detects the facial expression. The detection result of the face detection unit 16 is given to the signal processing and control unit 12.

信号処理及び制御部12は、顔検出部16の検出結果を元に、ステップS51において顔が女性のものであるか否か、ステップS52,53において顔が小児のものであるか否かを判定する。信号処理及び制御部12は、顔が男性の大人であると判定した顔部については、仮記憶部14から男性で大人用のマスク画像MAを選択して顔部合成画像に用いる(ステップS57)。同様に、信号処理及び制御部12は、顔が男性の小児であると判定した顔部については、仮記憶部14から男性の小児用のマスク画像MCを選択し(ステップS56)、顔が女性の大人であると判定した顔部については、仮記憶部14から女性の大人用のマスク画像FAを選択し(ステップS55)、顔が女性の小児であると判定した顔部については、仮記憶部14から女性の小児用のマスク画像FCを選択して(ステップS54)、顔部合成画像に用いる。   Based on the detection result of the face detection unit 16, the signal processing and control unit 12 determines whether or not the face is female in step S51 and whether or not the face is a child in steps S52 and 53. To do. The signal processing and control unit 12 selects the male mask image MA for the male from the temporary storage unit 14 for the face determined to be a male adult (step S57). . Similarly, the signal processing and control unit 12 selects a mask image MC for a male child from the temporary storage unit 14 for the face determined to be a male child (step S56), and the face is female. For the face part determined to be an adult, the mask image FA for female adults is selected from the temporary storage part 14 (step S55), and the face part determined to be a female child is temporarily stored. A mask image FC for a female child is selected from the portion 14 (step S54), and is used as a face composite image.

信号処理及び制御部12の大きさ及び位置判定部12aは、顔検出部16の検出結果に基づいて、撮影画像中の顔部の大きさ及び位置を判定する(ステップS60)。リサイズ処理部12cは、各顔毎に選択されたマスク画像を、各顔の大きさに応じて夫々リサイズする(ステップS61)。更に、信号処理及び制御部12は、ステップS62において、撮影画像中の各顔毎に顔の表情を判定し、表情に応じてマスク画像を選択すると共に変形させる。例えば、性別毎、大人と小児毎に複数のマスク画像が用意されている場合には、表情に応じてマスク画像を選択することができる。更に、選択したマスク画像を表情に応じて変形させることもできる。   The size and position determination unit 12a of the signal processing and control unit 12 determines the size and position of the face in the captured image based on the detection result of the face detection unit 16 (step S60). The resizing processing unit 12c resizes the mask image selected for each face according to the size of each face (step S61). Further, in step S62, the signal processing and control unit 12 determines the facial expression for each face in the captured image, and selects and deforms the mask image according to the facial expression. For example, when a plurality of mask images are prepared for each sex and each adult and child, the mask image can be selected according to the facial expression. Furthermore, the selected mask image can be deformed according to the facial expression.

また、信号処理及び制御部12のコントラスト判定部12bは、撮影画像中の顔部及びその周囲のコントラストを判定する(ステップS64)。信号処理及び制御部12は、選択したマスク画像のコントラストを顔部のコントラストに比べて十分に高く又は低くする(ステップS65)。顔のコントラスト以外にも、背景のコントラストや色の判定結果を利用してもよい。また輪郭の太さを切り換えても良い。その場合は、ステップS65の前で、顔部の周辺のコントラストや色を判定するステップを設ければよい。   Further, the contrast determination unit 12b of the signal processing and control unit 12 determines the contrast of the face portion in the captured image and its surroundings (step S64). The signal processing and control unit 12 makes the contrast of the selected mask image sufficiently higher or lower than the contrast of the face part (step S65). In addition to the face contrast, the background contrast and color determination results may be used. Further, the thickness of the contour may be switched. In that case, a step of determining the contrast and color around the face may be provided before step S65.

合成モード時には、顔部を加工していることを明確に表した方がよいことが考えられる。このため、例えば顔のコントラストを求め、そのコントラストよりも高いコントラストのマスク画像を合成することで、顔部をマスク画像で置き換えたことが明確になるようにする。また、顔部の色を検出し、マスク画像を顔部の色よりも濃い色に補正するようにしてもよい。また、顔部の色が濃い人物については、薄い色のマスク画像を顔部に重ねるようにしてもよい。例えば、黒い顔の人物が撮影されている場合には、その顔部に白い花のマスク画像を合成する等の方法が考えられる。また、顔部の背景に対して、コントラストや色合いを強調したマスク画像を合成するようにしてもよい。これによって、背景や顔部から分離して見えるようにして、マスク画像であることを鑑賞者に分かりやすく認識できるようにすると共に、はっきりさせすぎて不自然にならないようにすることができる。   In the synthesis mode, it may be better to clearly indicate that the face is being processed. For this reason, for example, the face contrast is obtained, and a mask image having a higher contrast than the contrast is synthesized so that it is clear that the face has been replaced with the mask image. Alternatively, the face color may be detected and the mask image may be corrected to a color darker than the face color. For a person with a dark face, a light mask image may be superimposed on the face. For example, when a person with a black face is photographed, a method of combining a mask image of a white flower on the face can be considered. Further, a mask image in which contrast and color tone are emphasized may be synthesized with the face background. As a result, the image can be seen separately from the background and the face so that the viewer can easily recognize that the image is a mask image, and can be made clear and not unnatural.

信号処理及び制御部12の合成制御部12dは、選択されてリサイズ、変形等が加えられたマスク画像を撮影画像の顔部に重ねた合成画像を生成して、仮記憶部14の合成画像記憶部14aに記憶させる。   The composite control unit 12d of the signal processing and control unit 12 generates a composite image in which the mask image selected and resized, deformed, or the like is superimposed on the face of the photographed image, and stores the composite image in the temporary storage unit 14 Store in the unit 14a.

図7は仮記憶部14及び合成画像記憶部14aに記憶されている撮影画像62a、マスク画像FA,FC,MA,MC及び合成画像62bの一例を示している。図7は図3(a),(b)の撮影画像に対応した例を示しており、仮記憶された撮影画像62aには、人物の画像が含まれており、信号処理及び制御部12は、この人物が女性の小児であるものと判定し、女性の小児用のマスク画像FCを選択した例を示している。そして、図7の例では、信号処理及び制御部12が、撮影画像62aの人物の顔部に、選択した後にリサイズ、変形等を加えたマスク画像FCを重ねて合成した合成画像62aを生成したことを示している。   FIG. 7 shows an example of the captured image 62a, the mask images FA, FC, MA, MC, and the composite image 62b stored in the temporary storage unit 14 and the composite image storage unit 14a. FIG. 7 shows an example corresponding to the captured images of FIGS. 3A and 3B. The temporarily stored captured image 62a includes a person image, and the signal processing and control unit 12 In this example, it is determined that this person is a female child and a mask image FC for a female child is selected. In the example of FIG. 7, the signal processing and control unit 12 generates a composite image 62a in which the mask image FC that has been selected and resized, deformed, and the like is superimposed on the person's face portion of the captured image 62a. It is shown that.

合成画像の作成が終わると、信号処理及び制御部12は、ステップS17において、この合成画像の記録の前にレックビュー表示を開始する。信号処理及び制御部12は、合成画像記憶部14aから合成画像を読み出して、表示部19に与えて表示させる。こうして、表示部19の表示画面上において、図3(b)に示す合成画像が表示される。   When the composite image is created, the signal processing and control unit 12 starts REC view display before recording the composite image in step S17. The signal processing and control unit 12 reads the composite image from the composite image storage unit 14a and gives it to the display unit 19 for display. Thus, the composite image shown in FIG. 3B is displayed on the display screen of the display unit 19.

レックビュー表示の表示開始から所定時間が経過するまでは、ステップS21〜S24においてマスク画像の解除、設定操作が可能である。ユーザが撮影画像中のマスク画像が合成された顔部(以下、合成顔部という)を選択する操作、例えば、タッチパネル19aが設けられた表示部19の表示画面上の合成顔部の位置をタッチする操作を行うと(ステップS21)、この操作に応じた操作信号が信号処理及び制御部12に与えられ、信号処理及び制御部12は、合成画像からマスク画像を除去した画像を生成して(ステップS22)、合成画像記憶部14aに記憶させる。   Until a predetermined time has elapsed since the start of the REC view display, the mask image can be canceled and set in steps S21 to S24. An operation in which the user selects a face portion (hereinafter referred to as a composite face portion) in which a mask image in the captured image is combined, for example, touches the position of the composite face portion on the display screen of the display unit 19 provided with the touch panel 19a. When the operation is performed (step S21), an operation signal corresponding to this operation is given to the signal processing and control unit 12, and the signal processing and control unit 12 generates an image obtained by removing the mask image from the composite image ( In step S22), the image is stored in the composite image storage unit 14a.

図8はこの例を示しており、合成画像記憶部14aに記憶されている画像62bは、マスク画像が除去されている。信号処理及び制御部12は、図8に示す画像62bを表示部19に与えて表示させる。即ち、表示部19の表示画面上には、図3(a)に示す画像が表示されることになる。なお、説明の便宜上、一度合成処理された画像は、マスク画像が除去されたとしても合成画像と言うことがある。   FIG. 8 shows this example, and the mask image is removed from the image 62b stored in the composite image storage unit 14a. The signal processing and control unit 12 gives the image 62b shown in FIG. That is, the image shown in FIG. 3A is displayed on the display screen of the display unit 19. For convenience of explanation, an image that has been combined once may be referred to as a combined image even if the mask image is removed.

この状態で、ユーザが画像中の顔部を選択する操作、例えば、表示部19の表示画面上の顔部の位置をタッチする操作を行うと(ステップS23)、この操作に応じた操作信号が信号処理及び制御部12に与えられ、信号処理及び制御部12は、画像上に再度マスク画像を合成した合成画像を生成して(ステップS24)、合成画像記憶部14aに記憶させる。即ち、この場合には、合成画像記憶部14aには、図7に示す合成画像62bが記憶されることになる。信号処理及び制御部12は、図7に示す合成画像62bを表示部19に与えて表示させる。即ち、表示部19の表示画面上には、再度図3(b)に示す画像が表示されることになる。   In this state, when the user performs an operation of selecting a face in the image, for example, an operation of touching the position of the face on the display screen of the display unit 19 (step S23), an operation signal corresponding to this operation is generated. The signal processing and control unit 12 is provided with the signal processing and control unit 12 to generate a combined image obtained by combining the mask image on the image again (step S24), and stores the combined image in the combined image storage unit 14a. That is, in this case, the composite image 62b shown in FIG. 7 is stored in the composite image storage unit 14a. The signal processing and control unit 12 gives the composite image 62b shown in FIG. That is, the image shown in FIG. 3B is displayed again on the display screen of the display unit 19.

レックビュー表示の表示開始から所定時間が経過するまで、マスク画像の解除、設定操作が可能であり、信号処理及び制御部12は、所定時間経過すると、ステップS18からステップS19に処理を移行して、合成画像記憶部14aに記憶されている画像を記録部17に与えて記憶させる。信号処理及び制御部12は、ステップS20においてレックビュー表示を終了させた後、処理をステップS11に移行する。こうして、ステップS12では、撮影画像中の人物の顔部にマスク画像を合成した合成画像を記録すると共に、アップロードすることが可能となる。   The mask image can be canceled and set until a predetermined time has elapsed from the start of the REC view display. When the predetermined time has elapsed, the signal processing and control unit 12 proceeds from step S18 to step S19. Then, the image stored in the composite image storage unit 14a is given to the recording unit 17 for storage. The signal processing and control unit 12 ends the REC view display in step S20, and then proceeds to step S11. In this way, in step S12, it is possible to record and upload a composite image in which the mask image is combined with the face of the person in the captured image.

また、図4の例では、マニュアルフォーカス時においても、合成画像を表示して合成画像を確認することができるようになっている。信号処理及び制御部12は、ステップS3,S31においてオートフォーカス又はパンフォーカスが指定されているか否かを判定し、いずれも指定されていない場合には、ステップS32において顔部がタッチされたか否かを判定する。レリーズボタンが押下される前のレックビュー表示時において、表示画面上の顔部がタッチされた場合には、信号処理及び制御部12は、処理をステップS33に移行して、合成画像を表示する。なお、ステップS33の処理はステップS16と同様の処理であり、レックビュー画像中の人物の顔部に、選択されたマスク画像がリサイズ、変形等の処理が施された後合成されて表示される。   In the example of FIG. 4, the composite image can be displayed and confirmed even during manual focus. The signal processing and control unit 12 determines whether or not auto focus or pan focus is specified in steps S3 and S31. If neither is specified, whether or not the face is touched in step S32. Determine. When the face part on the display screen is touched during the REC view display before the release button is pressed, the signal processing and control unit 12 shifts the process to step S33 to display the composite image. . Note that the processing in step S33 is the same as that in step S16, and the selected mask image is subjected to processing such as resizing and deformation on the face portion of the person in the REC view image and is displayed after being synthesized. .

撮影モードが指定されていない場合には、信号処理及び制御部12は、ステップS41において再生モードが指定されているか否かを判定する。再生モードが指定された場合には、信号処理及び制御部12は、記録部17に記録されている画像を読み出し、伸張処理等の所定の信号処理を施した後、表示部19に与えて再生表示させる。信号処理及び制御部12は、ステップS43において再生画像の変更操作が行われていたか否かを判定し、他の画像を指定する変更操作があった場合には、指定された他の画像を読み出し、伸張処理等の所定の信号処理を施した後、表示部19に与えて再生表示させる(ステップS44)。   If the shooting mode is not designated, the signal processing and control unit 12 determines whether or not the reproduction mode is designated in step S41. When the reproduction mode is designated, the signal processing and control unit 12 reads out the image recorded in the recording unit 17, performs predetermined signal processing such as expansion processing, and then provides it to the display unit 19 for reproduction. Display. The signal processing and control unit 12 determines whether or not a reproduction image change operation has been performed in step S43, and if there is a change operation for specifying another image, reads the specified other image. Then, after performing predetermined signal processing such as expansion processing, it is given to the display unit 19 to be reproduced and displayed (step S44).

信号処理及び制御部12は、ステップS41において再生モードが指定されていないと判定した場合には、ステップS45において通信可能で未送信の画像が記録部17に記録されているか否かを判定する。信号処理及び制御部12は、通信可能な未送信の画像が存在する場合には、ステップS46において、当該未送信画像を読み出し、通信部31によってネットワーク上に送信させる。   If the signal processing and control unit 12 determines in step S41 that the reproduction mode is not designated, it determines whether or not a communicable and untransmitted image is recorded in the recording unit 17 in step S45. If there is an untransmitted image that can be communicated, the signal processing and control unit 12 reads out the untransmitted image and causes the communication unit 31 to transmit it on the network in step S46.

なお、図4のフローチャートでは、ステップS21〜S24において、マスク画像の解除、設定を行う例について説明したが、マスク画像の解除、設定の他にマスク画像の変更を可能にするようにしてもよい。例えば、信号処理及び制御部12は、仮記憶部14に格納されているマスク画像の一部又は全部をレックビュー表示時に合成画像に重ねて表示させるようにしてもよい。図9はこの場合の表示例を示す説明図である。図9において、レックビュー画像71には、人物の顔部72にマスク画像73が合成されている。このレックビュー画像71の所定の領域には、選択可能な複数のマスク画像74が配置表示されている。   In the flowchart of FIG. 4, the example in which the mask image is canceled and set in steps S <b> 21 to S <b> 24 has been described. However, in addition to the mask image cancellation and setting, the mask image may be changed. . For example, the signal processing and control unit 12 may display a part or the whole of the mask image stored in the temporary storage unit 14 so as to be superimposed on the composite image at the time of rec view display. FIG. 9 is an explanatory view showing a display example in this case. In FIG. 9, a mask image 73 is combined with a face portion 72 of a person in the REC view image 71. A plurality of selectable mask images 74 are arranged and displayed in a predetermined area of the REC view image 71.

ユーザが変更前後のマスク画像を指定する操作を行うものとする。例えば、表示されているマスク画像のうち変更後のマスク画像として選択したいマスク画像をタッチしながらスライドさせて変更したい合成顔部又は顔部の位置に移動させる、即ち、ドラッグ操作することで、このような指定が可能である。   It is assumed that the user performs an operation of specifying mask images before and after the change. For example, by touching a mask image to be selected as a mask image after change from the displayed mask images and sliding it to the position of the composite face or face to be changed, that is, by dragging, Such a specification is possible.

信号処理及び制御部12は、この操作に応答して、ユーザによって指定されたマスク画像を選択して、大きさ及び位置判定部12a、コントラスト判定部12b、リサイズ処理部12c及び合成制御部12dにより、選択したマスク画像に対して、リサイズ、変形等の処理を施した後、処理後のマスク画像を指定された合成顔部のマスク画像と入れ替える又は新たに顔部に合成する。これにより、レックビュー表示期間であれば、マスク画像の設定、変更、解除を自由に行うことが可能である。   In response to this operation, the signal processing and control unit 12 selects a mask image designated by the user, and uses the size and position determination unit 12a, the contrast determination unit 12b, the resizing processing unit 12c, and the synthesis control unit 12d. After the selected mask image is subjected to processing such as resizing and deformation, the processed mask image is replaced with the mask image of the designated synthetic face portion or newly synthesized to the face portion. Thereby, it is possible to freely set, change, and cancel the mask image during the REC view display period.

このように本実施の形態においては、撮影時において、撮影画像中の人物の顔部に、自動的にマスク画像を重ねた合成画像を生成することができる。これにより、撮影直後に記録した撮影画像をネットワーク上にアップロードする場合等においても、撮影された人物の個人情報を保護することができる。また、撮影者は、撮影時においてマスク画像が合成された合成画像を記録するか、マスク画像が合成されていない通常の撮影画像を記録するかを選択すると共に、簡単な操作でマスク画像を指定して合成することができ、利便性に優れている。更に、通常モードから合成モードへの移行は、パンフォーカスモードの設定操作等の極めて簡単な操作で行うことができ、操作性に優れている。   As described above, in the present embodiment, at the time of shooting, it is possible to generate a composite image in which the mask image is automatically superimposed on the face portion of the person in the shot image. Thereby, even when a photographed image recorded immediately after photographing is uploaded to the network, personal information of the photographed person can be protected. In addition, the photographer selects whether to record a composite image in which the mask image is combined at the time of shooting or to record a normal shot image in which the mask image is not combined, and specifies the mask image with a simple operation. And can be synthesized. Furthermore, the transition from the normal mode to the composition mode can be performed by an extremely simple operation such as a pan focus mode setting operation, and the operability is excellent.

なお、上記実施の形態においては、通常モードから合成モードへの移行は、撮影機器本体の物理的な状態の変化を検出することで行ったが、撮影画像の状態によってモードの移行を行うようにしてもよい。例えば、撮影操作時において、撮影画像の中央に十分な大きさで人物が位置する場合には、この人物を被写体として撮影することを意図したものと考えることできるので、通常モードを設定する。逆に、スルー画中の被写体の動きを検出し、画面の中心から外れる方向に移動する人物、或いは移動量が大きい人物について、撮影を意図しない被写体であるものと判定して、これらの人物の顔部にマスク画像を合成する合成モードを設定するようにしてもよい。また、スルー画中の人物のうち、移動する人物は撮影を意図しない被写体と判定してマスク画像を合成し、移動しない人物は撮影を意図した被写体と判定してマスク画像を合成しないようにしてもよい。   In the above embodiment, the transition from the normal mode to the composition mode is performed by detecting a change in the physical state of the photographing apparatus body. However, the mode transition is performed according to the state of the photographed image. May be. For example, when a person is located at a sufficient size in the center of the photographed image at the time of photographing operation, it can be considered that the person is intended to photograph as a subject, so the normal mode is set. Conversely, the movement of the subject in the through image is detected, and it is determined that a person who moves away from the center of the screen or a person whose movement amount is large is an object that is not intended to be photographed. You may make it set the synthetic | combination mode which synthesize | combines a mask image with a face part. Also, among the people in the through image, the moving person is determined as a subject that is not intended for shooting, and a mask image is synthesized. Also good.

また、上記実施の形態においては、人物の顔部の略全体を覆うマスク画像を合成する例について説明したが、目及びその周囲等の顔の一部のみを覆うマスク画像、顔部及び顔部周囲の部分まで覆うマスク画像、或いは人物全体を覆うマスク画像を合成するようにしてもよいことは、明らかである。   In the above embodiment, an example of synthesizing a mask image that covers substantially the entire face of a person has been described. However, a mask image that covers only a part of the face such as the eyes and the surroundings, the face and the face Obviously, a mask image covering up to the surrounding portion or a mask image covering the entire person may be synthesized.

また、上記実施の形態においては、合成画像記憶部に記憶された合成画像のみをアップロードすると共に記録部に与えて記録する例について説明したが、合成画像だけでなく合成前の撮影画像についても同様に記録するようにしてもよい。更に、信号処理及び制御部によって、合成画像記憶部に記憶された合成画像については、圧縮した後通信部に与えてネットワーク上にアップロードすると共に、合成前の撮影画像については、圧縮処理した後記録部に与えて記録するようにしてもよい。   In the above embodiment, an example has been described in which only a composite image stored in the composite image storage unit is uploaded and given to the recording unit for recording. However, the same applies not only to the composite image but also to the captured image before synthesis. May be recorded. Further, the composite image stored in the composite image storage unit by the signal processing and control unit is compressed and then given to the communication unit and uploaded to the network. The photographed image before the synthesis is recorded after being compressed. You may make it record by giving to a part.

また、上記実施の形態においては、撮影画像から人物の顔部を検出してマスク画像を合成する例について説明したが、撮影画像中の非公開としたい領域、例えば、撮影画像中の看板や住所表示等の文字列の画像を検出して、文字列の画像を覆うマスク画像を合成するものにも同様に適用可能である。   In the above-described embodiment, the example of detecting a human face from a captured image and synthesizing a mask image has been described. However, an area in the captured image that is desired to be kept private, for example, a signboard or an address in the captured image. The present invention can be similarly applied to an apparatus that detects a character string image such as a display and synthesizes a mask image that covers the character string image.

さらに、上記実施形態においては、撮影のための機器として、デジタルカメラを用いて説明したが、カメラとしては、デジタル一眼レフカメラでもコンパクトデジタルカメラでもよく、ビデオカメラ、ムービーカメラのような動画用のカメラでもよく、さらに、携帯電話やスマートフォンなど携帯情報端末(PDA:Personal Digital Assist)等に内蔵されるカメラでも勿論構わない。   Furthermore, in the above-described embodiment, the digital camera is used as the photographing device. However, the camera may be a digital single-lens reflex camera or a compact digital camera, and may be used for moving images such as video cameras and movie cameras. Of course, a camera may be used, and a camera built in a personal digital assistant (PDA) such as a mobile phone or a smartphone may of course be used.

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

なお、特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。また、これらの動作フローを構成する各ステップは、発明の本質に影響しない部分については、適宜省略も可能であることは言うまでもない。   It should be noted that even if the operation flow in the claims, the description, and the drawings is described using “first,” “next,” etc. for convenience, it is essential to carry out in this order. It doesn't mean. In addition, it goes without saying that the steps constituting these operation flows can be omitted as appropriate for portions that do not affect the essence of the invention.

10…撮影機器本体、11…撮像部、12…信号処理及び制御部、12a…大きさ及び位置判定部、12b…コントラスト判定部、12c…リサイズ処理部、12d…合成制御部、13,28,31…通信部、14…仮記憶部、14a合成画像記憶部、16…顔検出部、17…記録部、19…表示部、19a…タッチパネル、21…撮影光学系、22…操作部、23…回転操作判定部、24…スライド位置判定部、25…制御部、26…駆動部。     DESCRIPTION OF SYMBOLS 10 ... Imaging device main body, 11 ... Imaging part, 12 ... Signal processing and control part, 12a ... Size and position determination part, 12b ... Contrast determination part, 12c ... Resize processing part, 12d ... Composition control part, 13, 28, DESCRIPTION OF SYMBOLS 31 ... Communication part, 14 ... Temporary memory | storage part, 14a synthetic | combination image memory | storage part, 16 ... Face detection part, 17 ... Recording part, 19 ... Display part, 19a ... Touch panel, 21 ... Shooting optical system, 22 ... Operation part, 23 ... Rotation operation determination unit, 24 ... slide position determination unit, 25 ... control unit, 26 ... drive unit.

Claims (10)

被写体を撮影して得た撮影画像を出力する撮像部と、
前記撮影画像中の特定の領域を非公開領域として検出する検出部と、
前記被写体の撮影に際して、前記非公開領域の少なくとも一部を覆うマスク画像を前記撮影画像に合成して合成画像を生成する合成制御部と
を具備したことを特徴とする撮影機器。
An imaging unit for outputting a photographed image obtained by photographing a subject;
A detection unit that detects a specific area in the captured image as a non-public area;
An imaging apparatus comprising: a synthesis control unit configured to generate a synthesized image by synthesizing a mask image covering at least a part of the non-public area with the taken image when photographing the subject.
前記合成制御部は、所定のユーザ操作に応答して、前記マスク画像を合成する合成モードを自動的に設定する
ことを特徴とする請求項1に記載の撮影機器。
The photographing apparatus according to claim 1, wherein the composition control unit automatically sets a composition mode for compositing the mask image in response to a predetermined user operation.
前記所定のユーザ操作は、オートフォーカスモード或いはパンフォーカスモードを指定する操作又はレリーズボタンを一気押しする操作である
ことを特徴とする請求項2に記載の撮影機器。
The photographing apparatus according to claim 2, wherein the predetermined user operation is an operation of designating an autofocus mode or a pan focus mode or an operation of pressing a release button at once.
前記検出部は、
人物の顔部を前記非公開領域として検出する
ことを特徴とする請求項1乃至3のいずれか1つに記載の撮影機器。
The detector is
The photographing device according to any one of claims 1 to 3, wherein a human face is detected as the non-public area.
前記合成画像を前記撮影画像の記録又は送信前に表示する表示制御部
を具備したことを特徴とする請求項1乃至4のいずれか1つに記載の撮影機器。
The photographing apparatus according to claim 1, further comprising a display control unit configured to display the composite image before recording or transmitting the photographed image.
前記検出部は、前記人物の顔部の特徴を検出し、
前記合成制御部は、前記検出部の検出結果に基づいて、複数のマスク画像から前記撮像画像に合成するマスク画像を選択する
ことを特徴とする請求項4に記載の撮影機器。
The detection unit detects features of the person's face,
The photographing apparatus according to claim 4, wherein the combination control unit selects a mask image to be combined with the captured image from a plurality of mask images based on a detection result of the detection unit.
前記合成制御部は、前記検出部の検出結果に基づいて、前記マスク画像をリサイズして前記撮像画像に合成する
ことを特徴とする請求項6に記載の撮影機器。
The imaging apparatus according to claim 6, wherein the composition control unit resizes the mask image and composes the captured image based on a detection result of the detection unit.
前記検出部は、前記人物の顔部の背景のコントラストを検出し、
前記合成制御部は、前記検出部によるコントラストの検出結果に基づいて、前記マスク画像を強調する
ことを特徴とする請求項4に記載の撮影機器。
The detection unit detects a background contrast of the face of the person,
The imaging apparatus according to claim 4, wherein the synthesis control unit enhances the mask image based on a contrast detection result by the detection unit.
前記合成制御部は、前記表示制御部によって表示された合成画像に対するユーザ操作に応答して、前記マスク画像の合成を解除可能である
ことを特徴とする請求項5に記載の撮影機器。
The photographing apparatus according to claim 5, wherein the composition control unit is capable of canceling the composition of the mask image in response to a user operation on the composite image displayed by the display control unit.
前記合成制御部は、前記表示制御部によって表示された合成画像に対するユーザ操作に応答して、合成されているマスク画像の合成を解除して他のマスク画像を合成可能である
ことを特徴とする請求項5に記載の撮影機器。
In response to a user operation on the composite image displayed by the display control unit, the composite control unit can cancel the composite of the combined mask image and composite another mask image. The imaging device according to claim 5.
JP2011260773A 2011-11-29 2011-11-29 Photographing apparatus Pending JP2013115656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011260773A JP2013115656A (en) 2011-11-29 2011-11-29 Photographing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011260773A JP2013115656A (en) 2011-11-29 2011-11-29 Photographing apparatus

Publications (1)

Publication Number Publication Date
JP2013115656A true JP2013115656A (en) 2013-06-10

Family

ID=48710812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011260773A Pending JP2013115656A (en) 2011-11-29 2011-11-29 Photographing apparatus

Country Status (1)

Country Link
JP (1) JP2013115656A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018047347A1 (en) * 2016-09-12 2018-03-15 三菱電機株式会社 Elevator system
JP2019149793A (en) * 2015-01-15 2019-09-05 日本電気株式会社 Information output device, information output system, information output method, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019149793A (en) * 2015-01-15 2019-09-05 日本電気株式会社 Information output device, information output system, information output method, and program
US11042667B2 (en) 2015-01-15 2021-06-22 Nec Corporation Information output device, camera, information output system, information output method, and program
US11227061B2 (en) 2015-01-15 2022-01-18 Nec Corporation Information output device, camera, information output system, information output method, and program
WO2018047347A1 (en) * 2016-09-12 2018-03-15 三菱電機株式会社 Elevator system
CN109641716A (en) * 2016-09-12 2019-04-16 三菱电机株式会社 Elevator device
CN109641716B (en) * 2016-09-12 2020-09-18 三菱电机株式会社 Elevator system

Similar Documents

Publication Publication Date Title
JP5350928B2 (en) Camera and camera control method
KR101817657B1 (en) Digital photographing apparatus splay apparatus and control method thereof
JP4513903B2 (en) Image processing apparatus and image processing method
JP2008182485A (en) Photographing device and photographing method
JP2011087183A (en) Imaging apparatus, image processing apparatus, and program
JP6529533B2 (en) Imaging device, control method of imaging device, and program
KR20120002834A (en) Image pickup apparatus for providing reference image and method for providing reference image thereof
JP2013251724A (en) Photographing instrument
JP2017005626A (en) Image effect processing support device, image effect processing support method, and image effect processing support program
JP6528773B2 (en) Zoom control device, zoom control method and program
JP4912972B2 (en) Imaging apparatus and imaging system
JP2014053863A (en) Photographing apparatus
JP2013115656A (en) Photographing apparatus
JP2005073161A (en) Processing apparatus and image recording method
JP5242756B2 (en) Image processing apparatus, image processing method, and camera
JP4922066B2 (en) camera
JP2005229280A (en) Image processing apparatus and method, and program
JP5847230B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2015126243A (en) Imaging device, method of controlling display control device, and method of controlling recording device
JP5857170B2 (en) Imaging apparatus and imaging method
JP4965315B2 (en) IMAGING DEVICE, IMAGING METHOD, AND INFORMATION DEVICE
JP2010034838A (en) Electronic camera
JP2014207580A (en) Photographing apparatus
JP6257715B2 (en) Display device and method of operating display device
JP6211139B2 (en) Image synthesizer