Electronic device and control method and program thereof

The electronic device with multiple camera units automates the process of capturing and composing images with different angles of view, addressing the inefficiencies of manual adjustments, enabling quick and effortless composition.

JP7542023B2Active Publication Date: 2024-08-29CANON KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022036303
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-03-09
Publication Date
2024-08-29
Estimated Expiration
2042-03-09

AI Technical Summary

Technical Problem

When taking pictures using an electronic device equipped with multiple camera units that can capture images with different angles of view, photographers face the challenge of manually adjusting the position of the subject, shooting direction, and camera units to achieve the desired composition, which is time-consuming and effort-intensive.

Method used

The electronic device includes a plurality of camera units capable of photographing images with mutually different angles of view, featuring a first acquisition means for acquiring live view images, a setting means for cropping ranges, a display control for displaying cropped images, a selection means for choosing a camera unit, and a recording control for capturing and recording images based on user input.

Benefits of technology

This approach allows for taking pictures with a desired composition efficiently without the need for manual adjustments, saving time and effort by automating the process of selecting and recording images from multiple camera units.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007542023000002
    Figure 0007542023000002
  • Figure 0007542023000010
    Figure 0007542023000010
  • Figure 0007542023000015
    Figure 0007542023000015
Patent Text Reader

Abstract

To solve the problem in which: a photographer adjusts the position of a subject, the direction of photographing, and the zoom magnification of a camera unit to achieve a desired composition; however, it takes time and effort to check and manually adjust images photographed by a plurality of camera units.SOLUTION: An electronic apparatus starts imaging processing by using a plurality of camera units to acquire a plurality of live-view videos, sets a segmentation range for each of the live-view videos, displays, on a screen, a plurality of first segmented images created by executing segmentation processing, selects any one of the plurality of segmented images, specifies a camera unit used for the imaging processing to acquire the image, executes imaging processing to acquire a photographed image, and records, in a storage medium, a second segmented image created by executing segmentation processing on the photographed image according to the segmentation range used for the segmentation processing to acquire the selected first segmented image.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an electronic device for controlling photography using a plurality of camera units, and a control method and program for the same. [Background technology]

[0002] Conventionally, a camera is provided with a plurality of lens units, and images captured using each of the lens units are recorded simultaneously (see Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2020-162139 A Summary of the Invention [Problem to be solved by the invention]

[0004] When a photographer takes a picture using an electronic device equipped with multiple camera units capable of taking images with different angles of view, the photographer adjusts the subject position, shooting direction, zoom magnification of the camera units, etc., to obtain a desired composition. In this case, there is a problem that it takes time and effort to check and manually adjust each image taken by the multiple camera units. [Means for solving the problem]

[0005] In order to solve the above problems, one aspect of the present invention is an electronic device including a plurality of camera units capable of capturing images with different angles of view, the electronic device comprising: a first acquisition means for acquiring a plurality of live view images by starting an image capturing process using the plurality of camera units; and for each of the live view images, Based on the results of object recognition processingA setting means for setting a cutout range, a display control means for controlling the display on a screen of a plurality of first cutout images generated by executing a cutout process according to the set cutout range for each live view image, and a display control means for displaying any one of the plurality of cutout images on a screen. Depending on user actions The image capturing apparatus is characterized in that it comprises a selection means for selecting, an identification means for identifying a camera unit used in the imaging process of the selected cut-out image, a second acquisition means for acquiring a captured image by executing imaging processing using the identified camera unit, and a recording control means for controlling the recording of a second cut-out image generated by executing cut-out processing on the captured image in accordance with the cut-out range used in the cut-out process of the selected first cut-out image on a recording medium. Effect of the Invention

[0006] According to the present invention, when photographing using an electronic device equipped with multiple camera units capable of photographing images with different angles of view, it is possible to obtain the effect of being able to photograph with a desired composition without spending time and effort. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a diagram illustrating an example of the appearance of a smartphone. [Diagram 2] FIG. 2 is a block diagram showing an example of a hardware configuration of a smartphone. [Diagram 3] FIG. 13 is a diagram showing an example of a screen displayed on a display of a smartphone. [Figure 4] FIG. 11 is a flowchart illustrating an example of an operation of the smartphone. [Diagram 5] FIG. 11 is a flowchart illustrating an example of an operation of the smartphone. [Figure 6] FIG. 13 is a diagram for explaining feature point detection. [Figure 7] FIG. 1 is a diagram for explaining a golden ratio pattern. [Figure 8]1A and 1B are diagrams for explaining feature points and golden ratio patterns; [Figure 9] FIG. 11 is a diagram for explaining a cut-out range based on a face region. [Figure 10] FIG. 11 is a diagram for explaining a cut-out range based on a face region. [Figure 11] FIG. 11 is a flowchart illustrating an example of an operation of the smartphone. [Figure 12] FIG. 11 is a flowchart illustrating an example of an operation of the smartphone. [Figure 13] FIG. 11 is a flowchart illustrating an example of an operation of the smartphone. [Figure 14] FIG. 11 is a flowchart illustrating an example of an operation of the smartphone. [Figure 15] FIG. 13 is a diagram showing an example of a cut-out image. [Figure 16] FIG. 11 is a diagram for explaining a cut-out range based on a face region. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. However, the components described in the embodiments are merely examples, and are not intended to limit the scope of the present invention.

[0009] (First embodiment) 1(a), 1(b), and 1(c) show external views of a smartphone 100 as an example of a device (electronic device) to which the present invention can be applied. FIG. 1(a) is a front view of the smartphone 100, FIG. 1(b) is a rear view of the smartphone 100, and FIG. 1(c) is a front view of a smartphone 100 having another configuration with two in-cameras. In FIG. 1, a display 105 is a display unit provided on the front of the smartphone for displaying images and various information. A touch panel 106a is a touch operation member and can detect a touch operation on the display surface (operation surface) of the display 105. The smartphone 100 has an out-camera 114 or an in-camera 115 as a camera unit, and can display a live view image (LV image) captured using these on the display 105. The out-camera 114 includes a telephoto camera 114a, a standard camera 114b, and an ultra-wide-angle camera 114c, which will be described later. A power button 106b is an operation member included in the operation unit 106, and can switch the display 105 on and off. By continuing to press (long press) the power button 106b for a certain period of time, for example, 3 seconds, the power of the smartphone 100 can be switched ON / OFF. The volume plus button 106c and the volume minus button 106d are volume buttons that control the volume of the sound output from the audio output unit 112. Pressing the volume plus button 106c increases the volume, and pressing the volume minus button 106d decreases the volume. In addition, in a shooting standby state when using the camera, pressing the volume plus button 106c or the volume minus button 106d also functions as a shutter button that instructs shooting. The user can arbitrarily set that a specific function is executed when the power button 106b and the volume minus button 106d are pressed simultaneously or when the volume minus button 106d is pressed quickly several times. The home button 106e is an operation button for displaying a home screen, which is a startup screen of the smartphone 100, on the display 105. When various applications have been launched and are being used on the smartphone 100, pressing the home button 106e can temporarily close the various launched applications and display the home screen.Note that the home button 106e is assumed to be a physically pressable button, but may be a touchable button having a similar function and displayed on the display 105 instead of a physical button. The audio output terminal 112a is an earphone jack, and is a terminal for outputting audio to earphones, an external speaker, etc. The speaker 112b is a built-in speaker that outputs audio. When a terminal for outputting audio, for example an earphone cord, is not attached to the audio output terminal 112a, audio is output from the speaker 112b in such a case that audio is output from the smartphone 100.

[0010] 2 is a block diagram showing an example of the configuration of the smartphone 100 according to the present embodiment. A CPU 101, a memory 102, a non-volatile memory 103, an out-camera image processing unit 104, a display 105, an operation unit 106, a storage medium I / F 107, an external I / F 109, and a communication I / F 110 are connected to an internal bus 150. In addition, a sound output unit 112, a posture detection unit 113, an out-camera 114, an in-camera 115, and an in-camera image processing unit 116 are also connected to the internal bus 150. Each unit connected to the internal bus 150 is configured to be able to exchange data with each other via the internal bus 150.

[0011] The CPU 101 is a control unit that controls the entire smartphone 100, and is composed of at least one processor or circuit. The memory 102 is composed of, for example, a RAM (a volatile memory using a semiconductor element, etc.). The CPU 101 controls each unit of the smartphone 100 using the memory 102 as a work memory according to a program stored in, for example, the non-volatile memory 103. The non-volatile memory 103 stores image data, audio data, other data, various programs for the CPU 101 to operate, and the like. The non-volatile memory 103 is composed of, for example, a flash memory, a ROM, and the like. In this embodiment, camera photography application program software is stored therein.

[0012] Moreover, the external storage device ×04 stores user information in this embodiment.

[0013] The out-camera image processing unit 104 performs various image processing and object recognition processing on the image captured by the out-camera 114 under the control of the CPU 101. The telephoto camera 114a, the standard camera 114b, and the super-wide-angle camera 114c each have a telephoto camera image processing unit 104a, a standard camera image processing unit 104b, and a super-wide-angle camera image processing unit 104c. Each image processing unit processes the image captured by each camera. In this embodiment, each of the three out-cameras has an image processing unit, but it is not necessary that all of them are separate. Any two cameras may share one image processing unit, or three cameras may share an image processing unit. Similarly, the in-camera image processing unit 116 processes the image captured by the in-camera 115. The standard in-camera 116a and the super-wide-angle in-camera 116b each have a standard in-camera image processing unit 115a and a super-wide-angle in-camera image processing unit 115b. Each image processing unit processes the image captured by each camera. In the present embodiment, the in-camera is also configured such that each of the two in-cameras has an image processing unit, but all of them do not necessarily have to be individual, and any two cameras may share the image processing unit. Although the configuration having two in-cameras is exemplified, the in-camera may be one or more. Each image processing unit can also perform various image processing on images stored in the non-volatile memory 103 or the storage medium 108, video signals acquired via the external I / F 109, images acquired via the communication I / F 110, etc. The image processing performed by each image processing unit includes A / D conversion processing, D / A conversion processing, image data encoding processing, compression processing, decoding processing, enlargement / reduction processing (resizing), noise reduction processing, color conversion processing, etc. Each image processing unit may be configured with a dedicated circuit block for performing a specific image processing. The out-camera image processing unit 104 may be integrated into one processing block and may be configured to handle images from each camera by parallel processing or time-division processing. Depending on the type of image processing, the CPU 101 may perform image processing according to a program without using each image processing unit.

[0014] Display 105 displays images, GUI screens constituting a GUI (Graphical User Interface), and the like under the control of CPU 101. CPU 101 generates a display control signal according to a program, and controls each unit of smartphone 100 to generate a video signal for display on display 105 and output it to display 105. Display 105 displays an image based on the output video signal. Note that the configuration of smartphone 100 itself is limited to an interface for outputting a video signal for display on display 105, and display 105 may be configured as an external monitor (such as a television).

[0015] The operation unit 106 is an input device for receiving user operations, including a character information input device such as a keyboard, a pointing device such as a mouse or a touch panel, a button, a dial, a joystick, a touch sensor, a touch pad, etc. The touch panel is an input device that is configured in a planar manner by being overlaid on the display 105, and outputs coordinate information according to the touched position. The operation unit 106 includes the above-mentioned touch panel 106a, power button 106b, volume plus button 106c, volume minus button 106d, and home button 106e.

[0016] The storage medium I / F 107 allows a storage medium 108 such as a memory card, CD, or DVD to be attached, and reads data from the attached storage medium 108 and writes data to the storage medium 108 under the control of the CPU 101. The storage medium 108 may be an internal storage incorporated in the smartphone 100. The external I / F 109 is an interface for connecting to an external device via a wired cable or wirelessly, and inputting and outputting video signals and audio signals. The communication I / F 110 is an interface for communicating with an external device, the Internet 111, etc., and sending and receiving various data such as files and commands.

[0017] The audio output unit 112 outputs audio of video and music data, operation sounds, ringtones, various notification sounds, etc. The audio output unit 112 includes an audio output terminal 112a for connecting earphones, etc., and a speaker 112b, but audio output may also be performed via wireless communication, etc.

[0018] The attitude detection unit 113 detects the attitude of the smartphone 100 with respect to the direction of gravity and the inclination of the attitude with respect to each axis of yaw, roll, and pitch. Based on the attitude detected by the attitude detection unit 113, it is possible to determine whether the smartphone 100 is held horizontally, vertically, facing up, facing down, or at an angle. As the attitude detection unit 113, at least one of an acceleration sensor, a gyro sensor, a geomagnetic sensor, a direction sensor, an altitude sensor, and the like can be used, and a combination of two or more sensors can also be used.

[0019] The out-camera 114 is a camera arranged on the opposite side of the display 105 in the housing of the smartphone 100. The focal length of the telephoto camera 114a is longer than that of the standard camera 114b, and the telephoto camera 114a can capture images on a wider telephoto side than the standard camera 114b. The focal length of the super-wide-angle camera 114c is shorter than that of the standard camera 114b, and the super-wide-angle camera 114c can capture images at a wider angle than the standard camera 114b. That is, the focal lengths of the telephoto camera 114a, the standard camera 114b, and the super-wide-angle camera 114c are shorter in this order, and the angle of view is narrower accordingly. In this embodiment, the telephoto camera 114a is assumed to be a lens with a mechanism that optically magnifies the image to a predetermined magnification, but the mechanism may be such that the magnification can be changed by the user. The in-camera 115 is a camera arranged on the same surface as the display 105 in the housing of the smartphone 100. The telephoto camera 114a, the standard camera 114b, and the super-wide-angle camera 114c can perform three shooting operations simultaneously. As mentioned above, the three outer cameras can perform shooting operations simultaneously, but it is not necessary that all three cameras operate simultaneously. Any two of the three cameras may be operated, or one camera may operate alone.

[0020] In the case of the outer camera 114 and the inner camera 115, the two can also perform shooting operations simultaneously. Although it has been described above that the outer camera and the inner camera can perform shooting operations simultaneously, it is not necessary that all two cameras operate simultaneously, and one camera can operate independently. Alternatively, a mechanism such as that shown in FIG. 1(c) with multiple inner cameras may be used, and these can also perform shooting operations simultaneously, or they may operate independently without necessarily performing shooting operations simultaneously.

[0021] Any captured live view images can be displayed on the display 105.

[0022] When live view images from multiple cameras are displayed simultaneously, multiple live view images are displayed on 105 as shown in Fig. 3. In this case, although rectangular images are arranged side by side in Fig. 3, each live view image may be cropped into a shape such as a circle and displayed. Also, although three or two live view images are displayed simultaneously, the number is not particularly limited. The size of the display area for all the live view images may be the same, or there may be differences in size.

[0023] The operation unit 106 includes a touch panel 106a. The CPU 101 can detect the following operations or states on the touch panel 106a. A finger or pen that has not been touching the touch panel 106a touches the touch panel 106a again, that is, the start of touching (hereinafter referred to as touch-down). The touch panel 106a is in a state where a finger or a pen is touching the touch panel 106a (hereinafter referred to as Touch-On). A finger or a pen is moved while touching the touch panel 106a (hereinafter referred to as Touch-Move). The finger or pen that has been touching the touch panel 106a is removed from the touch panel 106a, that is, the touch ends (hereinafter referred to as "touch-up"). A state in which nothing is touching the touch panel 106a (hereinafter referred to as Touch-Off)

[0024] When touch-down is detected, touch-on is also detected at the same time. After touch-down, touch-on will usually continue to be detected unless touch-up is detected. If touch-move is detected, touch-on is also detected at the same time. Even if touch-on is detected, touch-move will not be detected if the touch position does not move. When it is detected that all fingers or pens that were touching have touched up, touch-off is detected.

[0025] These operations and states, as well as the position coordinates of the touch panel 106a touched by a finger or pen, are notified to the CPU 101 via the internal bus. The CPU 101 determines what kind of operation (touch operation) has been performed on the touch panel 106a based on the notified information. For touch-move, the moving direction of the finger or pen moving on the touch panel 106a can also be determined for each vertical and horizontal component on the touch panel 106a based on the change in the position coordinates. If a touch-move of a predetermined distance or more is detected, it is determined that a slide operation has been performed. An operation in which a finger is touched on the touch panel 106a, quickly moved a certain distance, and then released is called a flick. In other words, a flick is an operation in which a finger is quickly traced on the touch panel 106a as if flicking it. If a touch-move of a predetermined distance or more at a predetermined speed or more is detected and a touch-up is detected immediately, it can be determined that a flick has been performed (it can be determined that a flick has occurred following a slide operation). Furthermore, a touch operation in which multiple points (for example, two points) are touched simultaneously and the touch positions are brought closer to each other is called pinch in, and a touch operation in which the touch positions are moved away from each other is called pinch out. Pinch out and pinch in are collectively called pinch operation (or simply pinch). The touch panel 106a may be of any of various touch panel types, such as a resistive film type, a capacitive type, a surface acoustic wave type, an infrared type, an electromagnetic induction type, an image recognition type, and an optical sensor type. There are types that detect a touch by contact with the touch panel, and types that detect a touch by the approach of a finger or a pen to the touch panel, and either type may be used.

[0026] The electronic device of this embodiment may be realized by a single computer device, or may be realized by distributing each function among multiple computers as necessary. When configured by multiple computers, they are connected to each other by a local area network (LAN) or Bluetooth so as to be able to communicate with each other. For example, the display 105 and the camera unit 114 may be housed in separate computers.

[0027] An example of the operation of the smartphone 100 of this embodiment during shooting will be described with reference to the flowchart of Fig. 4. This operation is realized by the CPU 101 of the smartphone 100 reading and executing camera shooting application software stored in the memory 102 and controlling each module.

[0028] First, in response to an operation by the photographer, the CPU 101 starts up the camera photography application software and displays the corresponding screen on the display 105 .

[0029] Then, the CPU 101 determines whether or not a multi-photographing instruction has been received in response to an operation by the photographer. For example, an icon for receiving a multi-photographing instruction is displayed on the screen of the camera photography application software, and the CPU 101 determines that a multi-photographing instruction has been received if a tap operation on the icon is detected.

[0030] CPU 101 accepts an instruction for multi-shooting (Yes in S401), and simultaneously drives at least two of telephoto camera 114a, standard camera 114b, and ultra-wide-angle camera 114c to perform imaging processing (S402). Then, two or more live view images are acquired (S403). CPU 101 performs a cropping range setting process (described later) for two or more live view images (S404). Then, CPU 101 performs a process for cropping the range set in step S404 from the live view images of each camera 114, and performs display control to display them in a list as shown in FIG. 3 (S405). Here, CPU 101 selects at least one of the cropped results of the live view images of each camera and displays them in a list.

[0031] In response to the photographer's operation, CPU 101 selects one of the live view images displayed in the list (S406). CPU 101 identifies the camera used in the image capture process of the selected live view image, and drives the camera to execute the image capture process (S407). Note that even if the same camera is used, the captured image acquired in the image capture process of step S407 may have a higher resolution than the live view image acquired in the image capture process of step S402. In this case, the image resulting from the cut-out process of step S408 described later will also have a higher resolution than the image resulting from the cut-out process displayed in step S405.

[0032] CPU 101 performs the cutout process on the image acquired in step S407 under the same conditions as the image selected in step S406 (S408). For example, if the image selected in step S406 has been cut out with a view angle size of 1.5 times zoom magnification centered on a face region of a person, the cutout process is also performed on the image acquired in step S407 under the same conditions.

[0033] The CPU 101 executes recording control so as to record the image for which the cut-out process has been executed in the storage medium 108 (S409), and ends this process.

[0034] Next, the operation of CPU 101 in the process of cutting out the live view video of each camera in step S404 will be described with reference to the flowchart of Fig. 5. This process is executed for each of the multiple cameras that started the imaging process in step S402.

[0035] CPU 101 acquires a live view image with the minimum zoom magnification of camera 114, that is, the maximum angle of view that can be captured by camera 114 (S501), and executes object recognition processing (S502). CPU 101 determines, as a result of the object recognition processing, whether or not the live view image includes an object other than a person or an animal (S503).

[0036] If the live view image includes a subject other than a person or an animal (Yes in S503), CPU 101 executes a process of detecting feature points of the subject and determines whether or not there are feature points (S504). CPU 101 detects feature points (610a, 601b) as shown in FIG. 6, for example, by recognizing colors included in the live view image and detecting areas where differences in color occur or by detecting edges.

[0037] If the CPU 101 detects a feature point of the subject from the live view video (Yes in S504), it compares it with the golden ratio pattern shown in FIG. 7. The golden ratio pattern shown in FIG. 7 is an example of a composition based on a ratio that many people generally find beautiful. Information on such golden ratio patterns is stored in advance in the non-volatile memory 103. Then, the CPU 101 specifies a position where the detected feature point approximately matches the golden ratio pattern, and sets a part of the live view video as a cropping range (S505). In FIG. 8, the range 803b in the live view video 803a is the position specified as matching the golden ratio pattern, and the result of cropping the range 803b from the live view video 803a is image 803c.

[0038] If no feature points of the subject are detected from the live view image (No in S504), CPU 101 sets a part of the live view image as a cropping range in accordance with a predetermined condition (S506). The predetermined condition may be, for example, setting a range of 2x electronic zoom magnification centered on the center of the angle of view of the live view image, or setting ranges obtained by dividing the live view image into four parts.

[0039] If the live view image does not include a subject other than a person or an animal (No in S503), the CPU 101 executes a process of detecting a face area of ​​a person or an animal on the live view image (S507). Then, the CPU 101 sets a cutout range based on the face area detected (S508). For example, as shown in FIG. 9, in the live view image 905a, only the face area 905d, the upper body including the face area 905c, and the whole body including the face area 905b are set as the cutout range. The cutout results from the live view image 905a are shown by 905e, 905f, and 905g. In addition, if the live view image includes multiple people or animals, the cutout range is set for each combination of adjacent people or animals as shown in FIG. 10. In the live view image 1006a, only one person 1006c out of the multiple people, two adjacent people 1006d, and three adjacent people 1006b are set as the cutout range. The results of cutting out from the live view image 1006a are indicated by 1006e, 1006f, and 1006g. Furthermore, an eye region may be detected from the face region, and the cut-out range may be set with the eye region at the center.

[0040] 5 is executed for each of the cameras 114a to 114c. Therefore, images having different electronic zoom magnifications and cut-out ranges (angles of view) are generated for the multiple cameras 114a to 114c.

[0041] After steps S506 to S507, the set cut-out range may be displayed on the live view video, and the cut-out range may be moved, resized, or otherwise adjusted in response to a user operation.

[0042] According to this embodiment, when an electronic device is equipped with multiple cameras capable of capturing images with different angles of view, the photographer can quickly and effortlessly check the compositions that can be captured using each camera while preparing to shoot (while the live view image is being displayed).

[0043] Second embodiment The present invention will be described in another embodiment, in which the same configuration as the first embodiment will not be described.

[0044] In this embodiment, when at least two of the three outer cameras 114, namely, the telephoto camera 114a, the standard camera 114b, and the ultra-wide-angle camera 114c, are driven simultaneously, multiple angles of view are displayed on the display 105, and control is described for determining the angle of view that is considered optimal.

[0045] 11 is a control process flowchart for driving the image processing unit 104 of the outer camera 114 to display multiple angles of view on the display 105 and derive the optimum angle of view that is considered to be optimal. This control process is realized by the CPU 101 of the smartphone 100 executing a program stored in the non-volatile memory 103.

[0046] The flowchart in FIG. 11 starts when the camera application is launched in the smartphone 100 and the smartphone 100 is in a standby state for photographing.

[0047] In S1101, when a multi-screen transition operation is performed, the CPU 101 starts driving the camera image processing units (image processing units 104a to 104c) of the three cameras, the super wide-angle camera 114c, the telephoto camera 114a, and the standard camera 114b. Note that the multi-screen transition operation may be performed by any operation using the operation unit 106.

[0048] In S1102, the CPU 101 calculates a display pattern of the angle of view to be simultaneously displayed on the display 105. The calculation method is shown in the flowcharts of FIGS.

[0049] FIG. 12 shows a method of calculation starting from the camera capable of capturing images with the widest angle of view (super wide-angle camera 114c in this embodiment).

[0050] In S1212, the camera capable of capturing images with the widest angle of view (ultra-wide-angle camera 114c in this embodiment) is used to calculate various patterns from captured images that can be displayed in live view. Details of the method of calculating various patterns are shown in the flowchart of FIG.

[0051] As an example of a calculation method, as in S1315, CPU 101 determines whether the subject being photographed is an object, a landscape, etc. other than a person or an animal, or a person, an animal, etc. If it is an object or a landscape, the process proceeds to S1316.

[0052] In S1316, the CPU 101 executes feature point detection processing to determine whether there are feature points of the subject. As shown in Fig. 6, the angle of view is the widest possible for a camera. Parts of the subject that have a distinctive shape and a color difference from the surroundings are detected, as shown in 601a and 601b.

[0053] If detection is successful in S1316, the process proceeds to S1317, where an extraction pattern is created from the feature points using a golden ratio pattern as shown in Fig. 7. The feature points detected in S1316 are combined with the golden ratio composition in Fig. 7 (for example, 1503a in Fig. 15), and a extraction pattern is calculated by learning so as to obtain an angle of view that is closest to the golden ratio composition (for example, 1503b in Fig. 15).

[0054] In S1318, the main subject is cut out in its entirety and in part. For example, in the case of Figure 6, the results are as shown in 1503(a), 1503(b), and 1503(c) in Figure 15.

[0055] If no feature points are detected in S1316, the image is regarded as a general landscape photo as in S1319, and a cutout pattern is randomly created.

[0056] If it is determined in S1315 that the subject to be photographed is an object or a landscape, the process proceeds to S1320.

[0057] In S1320, the CPU 101 determines whether anything other than people and animals is included, and if only people or animals are included, the process proceeds to S421.

[0058] In S1321, the CPU 101 determines whether there is one (or more than one) person, and if there is one person, the process proceeds to S1322.

[0059] In S1322, the CPU 101 detects a face.

[0060] In S1323, the face detected in S1322 is used as the starting point for the original angle of view 905a, and cropping ranges are generated for just the face (905d), the upper body (905c), and the whole body (905b) as shown in Fig. 9. 905e, 905f, and 905g show the results of cropping ranges from the live view video.

[0061] If it is determined in S1321 that there are multiple faces, the process proceeds to S1324, where the CPU 101 distinguishes between multiple faces.

[0062] In S1325, combinations of adjacent people or animals are created by the CPU 101. In Fig. 10, combinations of two people and combinations of three people are created.

[0063] In S1326, for each combination created in S1325, cut-out patterns are created starting from each face, for the face only, the upper body, and the whole body, without cutting out the human face.

[0064] In S1327, for all detected faces, the CPU 101 creates cut-out patterns for the face only, the upper body, and the whole body starting from the face, as in S1323 performed when a single person is detected.

[0065] If it is determined in S1320 that an object other than a person or an animal is included in the image, the CPU 101 detects feature points of the object other than a person or an animal in the image as in S1328.

[0066] In S1329, the same processing as in S1316 to S1319 is performed, and the CPU 101 creates a pattern including objects, scenery, people, and animals.

[0067] In S1330, the CPU 101 removes any part of the pattern calculated in S1329 in which the face is cut off or not included, or fine-tunes the pattern to include the face.

[0068] In S1331, the CPU creates a person-centered pattern like S1320-S1327, other than the pattern created in S1327-S1330.

[0069] The number of patterns created in steps S1315 to S1330 is predetermined, for example, 4 to 10.

[0070] In S1213, the CPU 101 calculates patterns that are closest to the golden ratio in FIG. 7 from among the patterns created in S415 to S430, and selects a predetermined number of patterns (for example, 3 to 6).

[0071] S1214 selects a lens suitable for shooting at each angle of view, that is, a camera that does not deteriorate image quality. If telephoto camera 114a can be used, telephoto camera 114a is used, if the angle of view of telephoto camera 114a is too wide, standard camera 114b is used, and if the angle of view of standard camera 114b is too wide, ultra-wide-angle camera 114c is used. If using telephoto camera 114a and another camera (standard camera 114b or ultra-wide-angle camera 114c) produces a more blurred effect, such as a portrait, they are used. For example, 1606a in FIG. 16 is the angle of view that can be shot with ultra-wide-angle camera 114c, 1606b is the standard camera 114b, and 1606c is the telephoto camera 114a. Suppose that the patterns created in S1315 to S1330 are 1606b to 1606d. In the case of the angle of view of the upper body of one person as in 1606d, it is captured by the telephoto lens 114a since it fits within the angle of view that can be captured by the telephoto camera 114a. In the case of the angle of view of the upper bodies of two people as in 1006c, it is captured by the standard lens 114b since it fits within the angle of view that can be captured by the standard camera 114b. In the case of the angle of view of the entire three people as in 1606d, it is captured by the super wide angle lens 114c.

[0072] Although S1312 to S1313 have described an example of calculation of the optimal angle of view, the CPU 101 may use another machine learning method or the like to store an optimal composition in the non-volatile memory 103 and learn the optimal angle of view. The optimal angle of view may also be derived by learning the user's past shooting style in the non-volatile memory 103. Alternatively, the angle of view may be learned or derived by accessing the outside via the recording medium I / F 107, the external I / F 109, or the communication I / F 110. Alternatively, the CPU 101 may obtain an angle of view that has been learned and calculated externally via the communication I / F 110. Alternatively, the angle of view may be derived by other means.

[0073] FIG. 14 shows a method for calculating the pattern of the angle of view that can be captured by each camera (telephoto camera 114a, standard camera 114b, and super-wide-angle camera 114c in this embodiment) and deriving a plurality of angles of view.

[0074] In S1432, various patterns are calculated from captured images that can be displayed in live view using each camera (telephoto camera 114a, standard camera 114b, and ultra-wide-angle camera 114c in this embodiment). The calculation method may be performed by CPU 101 in the same manner as in S1315 to S1331, or CPU 101 may derive the optimal angle of view using another machine learning method stored in non-volatile memory 103. Alternatively, the angle of view may be learned or derived by accessing the outside via recording medium I / F 107, external I / F 109, or communication I / F 110. Alternatively, CPU 101 may obtain the angle of view learned or calculated externally via communication I / F 110. Alternatively, the angle of view may be derived by other means.

[0075] In S1433, the CPU 101 calculates the patterns that are closest to the golden ratio in FIG. 7 from among the patterns created in S1432, and selects 3 to 6 of them.

[0076] In S1103, a plurality of the display patterns derived in S1102 are displayed on the display 105. A specific example of a display method is shown in FIG.

[0077] 3(a) shows the calculated angles of view of the respective cameras (telephoto camera 114a, standard camera 114b, and ultra-wide-angle camera 114c in this embodiment) as they are displayed as 301a to 301c. In other words, this is a display pattern in which the angles of view of the electronic zoom are displayed as 301d and 301e.

[0078] 3(b), the calculated angle of view of each camera (telephoto camera 114a, standard camera 114b, and ultra-wide-angle camera 114c in this embodiment) is displayed as is in 302a to 302c. That is, there are display patterns 302d and 302e which display cropped images captured by standard camera 114b and ultra-wide-angle camera 114c.

[0079] FIG. 3(c) is a display pattern in which the angles of view 303a to 303c of the camera as they are and other angles of view 303d to 303e are displayed in a manner that is distinct from the display pattern shown in FIG. 3(b), as shown in 303f.

[0080] 3(d) and (e) show display patterns that, by switching between them, can distinguish between the camera's original angles of view 304a to 304c and the other angles of view 304d to 304e.

[0081] FIG. 3F shows a display pattern in which the pattern determined by the CPU 101 in step S1102 as being more optimal is displayed larger.

[0082] FIG. 3(g) is a display pattern in which only those patterns that the CPU 101 recognizes as being more optimal among the patterns derived in S1102 are displayed.

[0083] FIG. 3(h) is a display pattern that displays the pattern that the CPU 101 recognizes as more optimal among the patterns derived in S1102, with a guide as to why it is optimal.

[0084] Although a square is used for the angle of view in Fig. 3, the displayed angle of view pattern may be another shape (for example, a circle). The size of the angle of view may be displayed large or small, and any number of angles may be displayed.

[0085] In S1104, the CPU 101 determines whether or not an operation to change the display pattern has been accepted from any of the operation units 106. If accepted, the process proceeds to S1105. If not accepted, the process proceeds to S1108.

[0086] In step S1105, when an operation to change the display pattern occurs, the CPU 101 determines whether an operation to change all of the display patterns has been accepted from any of the operation units 106.

[0087] For example, the touch panel 106a accepts the operation by touching the screen on and then touching up the touch panel 106a. If the operation to change all the display patterns is not accepted, the process proceeds to S1110.

[0088] In S1106, the display patterns are calculated again when all the display patterns are to be changed, in the same manner as in S402.

[0089] In S1107, the calculation result is displayed again, similarly to S1103.

[0090] S1110 describes a change in which only a part of the display result is changed without changing the entire result in S1105. As shown in Fig. 3(i), by touching on, touching and moving, or touching up on the angle of view 308b, for example, of the angle of view displayed on the display 105 in S1103, the user can adjust the angle of view by trimming only the imaged portion 308d that the user wants to capture. The same applies when trimming the portion 309b for the angle of view 309 in Fig. 3(j). Note that, although an example of the operation using the touch panel 106a on the screen has been shown, another operation method using the operation unit 106 may be used as long as the user can trim the angle of view to the angle of view he or she desires.

[0091] In S1111, the image is displayed after changing to a cropped angle of view.

[0092] In S1108, it is determined whether an operation to shoot has occurred. The operation may be performed using any of the operation units 106.

[0093] In S1109, an image is taken at the angle of view selected by the operation in S1108.

[0094] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

Claims

1. An electronic device equipped with a plurality of camera units capable of capturing images with different angles of view, a first acquisition means for acquiring a plurality of live view images by starting an image capturing process using the plurality of camera units; a setting means for setting a cutout range for each of the live view images based on a result of the object recognition processing; a display control means for controlling the display of a plurality of first cropped images, which are generated by performing cropping processing according to the set cropping range for each of the live view images, on a screen; a selection means for selecting one of the plurality of cut-out images in response to a user operation; An identification means for identifying a camera unit used in the image capturing process of the selected cut-out image; a second acquisition means for acquiring a captured image by performing an imaging process using the specified camera unit; and a recording control means for controlling the recording of a second cut-out image generated by performing a cut-out process on the captured image in accordance with the cut-out range used in the cut-out process of the selected first cut-out image on a recording medium.

2. a face detection unit that detects a face area on the live view image, 2. The electronic device according to claim 1, wherein the setting unit sets the cut-out range based on the detected face area.

3. a feature point detection means for executing a feature point detection process on the live view image; A storage means for storing in advance a pattern of a golden ratio for a composition; 3. The electronic device according to claim 1, wherein the setting means sets the cut-out range based on the detected feature points and a pattern of the golden ratio.

4. 4. The electronic device according to claim 1, wherein the display control means controls the display of the first cut-out images displayed on the screen to include at least one cut-out image generated by a cut-out process for each live view image.

5. 5. The electronic device according to claim 1, wherein a resolution of the second extracted image is higher than a resolution of the first extracted image.

6. A method for controlling an electronic device having a plurality of camera units capable of capturing images with different angles of view, comprising the steps of: acquiring a plurality of live view images by starting an image capturing process using the plurality of camera units; setting a cropping range for each live view image based on a result of an object recognition process; a step of controlling so as to display, on a screen, a plurality of first cropped images generated by performing cropping processing for each of the live view images according to the set cropping range; selecting one of the plurality of cut-out images in response to a user operation; Identifying a camera unit used to capture the selected cropped image; acquiring a captured image by performing an imaging process using the identified camera unit; and a step of controlling so that a second cut-out image generated by performing cut-out processing on the captured image is recorded on a recording medium in accordance with the cut-out range used in the cut-out processing of the selected first cut-out image.

7. A computer is configured to function as each of the means of the electronic device according to any one of claims 1 to 5. A program to help you.

Citation Information

Patent Citations

  • Electronic camera

    JP1998191130A

  • Camera capable of automatic composition extraction, and composition extraction program

    JP2008092046A

  • Digital camera

    JP2008252711A

  • Imaging device, control method therefor, and program

    JP2013219525A

  • Imaging apparatus and setting screen of the same

    JP2020162139A