IMAGING CONTROL APPARATUS AND METHOD FOR CONTROLLING IMAGING CONTROL APPARATUS
A generation unit configured to generate a combined image obtained by combining an image captured in a case where an image capturing direction is moved in a first direction from an image capturing start, and an image captured in a case where the image capturing direction is moved in a second direction opposite to the first direction with respect to a position of the image capturing start, and a recording control unit configured to perform control to, in a case where the image capturing direction is moved in the first direction before the image capturing direction is moved in the second direction, then according to an end condition for ending image capturing being satisfied, record the combined image obtained by the generation unit combining the image captured in the case where the image capturing direction is moved in the first direction are included.
The aspect of the embodiments relates to an imaging control apparatus for performing panoramic image capturing.
Description of the Related ArtJapanese Patent Application Laid-Open No. 2010-28764 discusses a technique for continuously capturing still images while swinging an imaging apparatus in one direction, and for combining a plurality of obtained still images into a panoramic image.
Japanese Patent Application Laid-Open No. 2017-139759 discusses a technique for capturing an image of an object such as the face of a person, then continuously capturing still images while swinging a camera in right and left directions with respect to the object, and combining a plurality of still images obtained with the object at the center into a panoramic image.
Japanese Patent Application Laid-Open No. 2010-28764 and Japanese Patent Application Laid-Open No. 2017-139759, however, have an issue that panoramic image capturing can be performed only by either the technique for swinging the imaging apparatus in one direction or the technique for swinging the camera in the left and right directions. Meanwhile, if Japanese Patent Application Laid-Open No. 2010-28764 and Japanese Patent Application Laid-Open No. 2017-139759 are simply combined, which of the technique for swinging the imaging apparatus in one direction and the technique for swinging the camera in both directions is used to perform panoramic image capturing is set in advance.
SUMMARY OF THE INVENTIONAccording to an aspect of the embodiments, an apparatus includes at least one processor and at least one memory coupled to the at least one processor, the memory having instructions that, when executed by the processor, performs operations as a generation unit configured to generate a combined image obtained by combining an image captured in a case where an image capturing direction is moved in a first direction from an image capturing start, and an image captured in a case where the image capturing direction is moved in a second direction opposite to the first direction with respect to a position of the image capturing start, and a recording control unit configured to perform control to, in a case where the image capturing direction is moved in the first direction before the image capturing direction is moved in the second direction, then according to an end condition for ending image capturing being satisfied, record the combined image obtained by the generation unit combining the image captured in the case where the image capturing direction is moved in the first direction.
Further features of the disclosure will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
An exemplary embodiment of the disclosure will be described in detail below with reference to the accompanying drawings.
It is to be noted that the following exemplary embodiment is merely one example for implementing the disclosure and can be appropriately modified or changed depending on individual constructions and various conditions of apparatuses to which the disclosure is applied. Thus, the disclosure is in no way limited to the following exemplary embodiment.
The present exemplary embodiment is described using as an example a case where an imaging control apparatus is a digital camera.
A display unit 101 displays an image and various pieces of information. The display unit 101 corresponds to an example of a display unit. A shutter button 102 is an operation unit for a user to give an image capturing instruction. A mode selection switch 103 is an operation unit for switching various modes. A connector 104 is a connection portion for connecting a connection cable 105 for connecting to an external device such as a personal computer (PC) or a printer.
An operation unit 106 receives various operations from the user. The operation unit 106 includes operation members such as various switches, buttons, a controller wheel 107, and a touch panel. The controller wheel 107 is an operation member included in the operation unit 106 and capable of being rotationally operated. A power switch 108 is a push button for switching the turning on and off of the camera 100. A recording medium 109 is a memory card or a hard disk. A recording medium slot 110 stores the recording medium 109. The recording medium 109 stored in the recording medium slot 110 can communicate with the camera 100 and can record or reproduce image data. The recording medium slot 110 is closed by a cover 111.
An imaging lens 200 is a lens group including a zoom lens and a focus lens. A shutter 201 has an aperture function. An image capturing unit 202 is an image sensor including a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) device, which converts an optical image into an electric signal. The image capturing unit 202 corresponds to an example of an image capturing unit. An analog-to-digital (A/D) converter 203 converts an analog signal output from the image capturing unit 202 into a digital signal. A barrier 204 covers the imaging lens 200, thereby preventing stains on and breakage of the imaging system including the imaging lens 200, the shutter 201, and the image capturing unit 202.
An image processing unit 205 performs various types of image processing based on control of the system control unit 50. That is, the image processing unit 205 performs resizing processes, such as predetermined pixel interpolation and reduction, and a color conversion process on image data from the A/D converter 203 or image data from a memory control unit 206. Further, the image processing unit 205 performs a predetermined calculation process using captured image data. Then, the system control unit 50 performs exposure control and distance measurement control based on the obtained calculation result. In this manner, an autofocus (AF) process, an automatic exposure (AE) process, and a pre-flash (EF) process are performed by a through-the-lens (TTL) method. Further, the image processing unit 205 performs a predetermined calculation process using captured image data and performs an auto white balance (AWB) process by the TTL method based on the obtained calculation result.
Image data from the A/D converter 203 is written directly to a memory 207 via the image processing unit 205 and the memory control unit 206 or via the memory control unit 206. The memory 207 stores image data obtained by the image capturing unit 202 and converted into digital data by the A/D converter 203 and image data to be displayed on the display unit 101. The memory 207 includes a sufficient storage capacity for storing a predetermined number of still images, and a moving image and a sound of a predetermined length of time. Further, the memory 207 doubles as a memory for image display (a video memory).
A digital-to-analog (D/A) converter 208 converts image data for display stored in the memory 207 into an analog signal and supplies the analog signal to the display unit 101. Thus, the image data for display written in the memory 207 is displayed on the display unit 101 via the D/A converter 208. The display unit 101 performs display on a display device such as a liquid crystal display (LCD) based on an analog signal from the D/A converter 208. Analog signals are once converted into digital signals by the A/D converter 203, and the digital signals are accumulated in the memory 207 and converted into analog signals by the D/A converter 208. Then, the analog signals are sequentially transferred to and displayed at the display unit 101, thereby displaying a live view image (an LV image). Thus, the display unit 101 functions as an electronic viewfinder.
A non-volatile memory 209 is an electrically erasable and recordable memory as a recording medium and is, for example, an electrically erasable programmable read-only memory (EEPROM). The non-volatile memory 209 stores a constant for the operation of the system control unit 50 and a program. The program is a computer program for executing flow charts described below in the present exemplary embodiment.
The system control unit 50 is at least one processor including a circuit and controls the entirety of the camera 100. The system control unit 50 corresponds to examples of a generation unit, a recording control unit, and a display control unit. The system control unit 50 executes a program stored in the non-volatile memory 209, thereby achieving processes described below in the present exemplary embodiment. Furthermore, the system control unit 50 controls the memory 207, the D/A converter 208, and the display unit 101, thereby also performing display control.
A system memory 210 is, for example, a random-access memory (RAM). A constant or a variable for the operation of the system control unit 50 and a program read from the non-volatile memory 209 are loaded into the system memory 210. A system timer 211 is a time measurement unit for measuring the time used for various types of control or the time of a built-in clock.
The mode selection switch 103, a first shutter switch 212, a second shutter switch 213, and the operation unit 106 are operation units for inputting various operation instructions to the system control unit 50.
The mode selection switch 103 is used to switch an operation mode to any one of a still image capturing mode, a moving image capturing mode, and a reproduction mode. The system control unit 50 sets the operation mode switched using the mode selection switch 103. The still image capturing mode includes an auto image capturing mode, an auto scene distinction mode, a manual mode, a stop priority mode (an Av mode), a shutter speed priority mode (a Tv mode), a program AE mode, and a panoramic image capturing mode. Further, the still image capturing mode includes various scene modes in which image capturing settings are made depending on image capturing scenes, and a custom mode. Using the mode selection switch 103, the user can directly switch to any one of the above modes. Alternatively, using the mode selection switch 103, the user may once switch to a list screen of image capturing modes, then select any one of a plurality of modes displayed on the list screen, and switch to the selected mode using another operation member. Similarly, the moving image capturing mode may also include a plurality of modes.
The first shutter switch 212 is turned on in an intermediate state of an operation, i.e., by a so-called half press (an image capturing preparation instruction), of the shutter button 102 provided in the camera 100 and generates a first shutter switch signal SW1. Based on the first shutter switch signal SW1, an image capturing preparation process such as the operation of an AF process, an AE process, an AWB process, or an EF process is started.
The second shutter switch 213 is turned on by the completion of an operation, i.e., by a so-called full press (an image capturing instruction), of the shutter button 102 and generates a second shutter switch signal SW2. Based on the second shutter switch signal SW2, the system control unit 50 starts a series of operations of an image capturing process from the reading of a signal from the image capturing unit 202 to the writing of image data to the recording medium 109.
The operation members of the operation unit 106 are appropriately assigned functions for corresponding scenes by performing the operation of selecting various function icons displayed at the display unit 101 and act as various function buttons. The function buttons include, for example, an end button, a return button, an image feeding button, a jump button, a narrowing-down button, and an attribute change button. For example, if a menu button is pressed, a menu screen where various settings can be made is displayed at the display unit 101. The user can intuitively make various settings using the menu screen displayed at the display unit 101, a four-directional button for up, down, left, and right directions, and a set button. The operation unit 106 includes the controller wheel 107. The controller wheel 107 is an operation member included in the operation unit 106 and capable of being rotationally operated. The controller wheel 107 is used together with the directional button to indicate a selection item.
A power supply control unit 214 includes a battery detection circuit, a direct-current-to-direct-current (DC/DC) converter, and a switch circuit for switching blocks to which to apply a current. The power supply control unit 214 detects the presence or absence of attachment of a battery, the type of a battery, and the remaining life of a battery. Furthermore, the power supply control unit 214 controls the DC/DC converter based on the detection results and an instruction from the system control unit 50 and supplies a required voltage to the components including the recording medium 109 for a required period. A power supply unit 215 includes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a nickel-cadmium (NiCd) battery, a nickel-metal hydrate (NiMH) battery, or a lithium-ion (Li) battery, or an alternating current (AC) adapter. A recording medium interface (I/F) 216 is an interface with the recording medium 109. The recording medium 109 is composed of a semiconductor memory, an optical disc, or a magnetic disk.
A communication unit 217 connects to an external device wirelessly or via a cable for a wired connection, and transmits and receives a video signal or a sound signal to and from the external device. The communication unit 217 can connect to a wireless local area network (LAN) or the Internet. Further, the communication unit 217 can communicate with the external device also using Bluetooth (registered trademark) or Bluetooth Low Energy. The communication unit 217 can transmit an image (including a live view image) captured by the image capturing unit 202 or image data stored in the storage medium 109, or receive image data or various other pieces of information from the external device.
An orientation detection unit 218 detects the orientation of the camera 100 relative to the direction of gravity. Based on orientation information detected by the orientation detection unit 218, the system control unit 50 can determine whether an image captured by the image capturing unit 202 is an image captured when the camera 100 is held horizontally or an image captured when the camera 100 is held vertically. The system control unit 50 can add direction information based on the orientation detected by the orientation detection unit 218 to an image file of data on an image captured by the image capturing unit 202 or store image data by rotating the image data based on the orientation detected by the orientation detection unit 218. Based on the orientation information detected by the orientation detection unit 218, the system control unit 50 can also detect the motion of the camera 100 (whether the camera 100 is panned, tilted, lifted, or at rest). The orientation detection unit 218 can use either or both of an acceleration sensor and a gyro sensor. The gyro sensor detects the two-axial or three-axial angular velocity of the rotation of the camera 100.
Next, with reference to a flowchart in
In step S301, the system control unit 50 displays an image capturing standby screen in the panoramic image capturing mode at the display unit 101.
On the image capturing standby screen 400, a live view image 401, a mode icon 402, a progress bar 403, and image capturing setting items 404 to 406 are displayed.
The live view image 401 is image data that is being captured by the image capturing unit 202. The mode icon 402 is a display item indicating that the current image capturing mode is the panoramic image capturing mode. The progress bar 403 is a display item for guiding the progress of panoramic image capturing. The progress bar 403 displays an image-capturing-possible range where an image used for a panoramic image can be captured. The image capturing setting items 404 to 406 are items for displaying parameters regarding image capturing set for the camera 100.
The user adjusts the image capturing direction and the angle of view while confirming the live view image 401 on the image capturing standby screen 400. In the panoramic image capturing mode, the user directs the image capturing direction of the camera 100 to particularly a main object among objects in a wide range and then presses the shutter button 102.
In step S302, the system control unit 50 determines whether the shutter button 102 is half-pressed, i.e., whether the first shutter switch 212 is turned on. If the first shutter switch 212 is turned on (Yes in step S302), the processing proceeds to step S303. If not (No in step S302), the processing proceeds to step S307.
In step S303, the system control unit 50 performs an image capturing preparation process such as an AF process or an AE process.
In step S304, the system control unit 50 determines whether the shutter button 102 is full-pressed, i.e., whether the second shutter switch 212 is turned on. If the second shutter switch 212 is turned on (Yes in step S304), the processing proceeds to step S305. If not (No in step S304), the processing proceeds to step S306.
In step S305, the system control unit 50 controls the image capturing unit 202 and the image processing unit 205 to perform a panoramic image capturing process. In the panoramic image capturing process, the system control unit 50 can generate a combined image by combining an image captured when as to the image capturing direction the user swings the camera in a first direction from an image capturing start, and an image captured when as to the image capturing direction the user swings the camera in a second direction opposite to the first direction with respect to the position of the image capturing start. Such a combined image is a vertically long or horizontally long panoramic image. The details of the panoramic image capturing process will be described below in exemplary embodiments.
In step S306, the system control unit 50 determines whether the shutter button 102 continues to be half-pressed, i.e., whether the first shutter switch 212 continues to be on. If the first shutter switch 212 continues to be on (Yes in step S306), the processing returns to step S304. If not (No in step S306), the processing proceeds to step S307.
In step S307, the system control unit 50 determines whether the image capturing mode is changed using the mode selection switch 103. If the image capturing mode is changed (Yes in step S307), the panoramic image capturing mode is ended. If not (No in step S307), the processing proceeds to step S302. In step S302, the system control unit 50 returns to the panoramic image capturing standby state.
With reference to
First, with reference to a flowchart in
First, as the detailed description of the progress bar 403 in
An area 601 in
The dotted line 602 in
An area 603 in
A solid line 604 in
An area 605 in
An area 606 in
The swing-possible range 601, the assumed combined range 603, the combining-completed range 605, and the swing-impossible range 606 are displayed by a display method using different colors, patterns, or oblique lines.
Before the panoramic image capturing process is started, i.e., in the standby state in the panoramic image capturing mode, in step S301, the progress bar 600 or 700 in an initial display form illustrated in
A description is given below on the premise that panoramic image capturing is performed by the user swinging the camera 100 in a direction A (a first direction) illustrated in
In step S501, according to the start of the panoramic image capturing process, the system control unit 50 controls the imaging lens 200, the shutter 201, and the image capturing unit 202 to capture the first image and holds the captured image in the memory 207.
In step S502, the system control unit 50 determines whether a condition for ending panoramic image capturing is satisfied. If the condition for ending panoramic image capturing is satisfied (Yes in step S502), the processing proceeds to step S520. If the end condition is not satisfied (if a condition for continuing panoramic image capturing is satisfied) (No in step S502), the processing proceeds to step S503. Examples of the end condition include the condition that the full press of the shutter button 102 is released, i.e., the condition that an instruction to end image capturing is received.
Thus, in step S502, the system control unit 50 determines whether the full press of the shutter button 102 is continued. If the full press of the shutter button 102 is not continued, the processing proceeds to step S520. Other examples of the end condition include a case where the state where a change in the orientation of the camera 100 or an object is too great to combine images continues, a case where the remaining life of a battery decreases, and a case where the remaining number of images that can be recorded in the recording medium 109 is insufficient.
In step S503, similar to step S501, the system control unit 50 controls the imaging lens 200, the shutter 201, and the image capturing unit 202 to capture the second image and holds the captured image in the memory 207.
In step S504, using the image processing unit 205 (or using the orientation detection unit 218 alone or in combination with the image processing unit 205), the system control unit 50 detects the amount of movement from the first and second captured images held in steps S501 and 5503 and calculates the amount of swing.
In step S505, based on the detection result of the amount of movement in step S504, the system control unit 50 determines whether the images can be combined. If the amount of movement cannot be detected in step S504, it is determined that the images cannot be combined (No in step S505). Then, the processing returns to step S502. If not (Yes in step S505), the processing proceeds to step S506. In step S502 after step S505, if the amount of movement cannot be detected a predetermined number of times or more in step S504 (if the end condition is satisfied that the state where a change in the orientation of the camera 100 or an object is too great to combine images continues) (Yes in step S502), the processing proceeds to step S520.
In step S506, using the image processing unit 205, the system control unit 50 combines the first and second images based on the detection result of the amount of movement in step S504, thereby generating a panoramic image. The system control unit 50 holds the generated panoramic image in the memory 207.
In step S507, based on the detection result of the amount of movement in step S504, the system control unit 50 stores information regarding to which of the left and right the camera 100 moves from the capturing of the first image to the capturing of the second image, as an initial moving direction D in the system memory 210.
In step S508, the system control unit 50 performs a progress bar update process 1 on the progress bar 600 or 700 displayed at the display unit 101. In the progress bar update process 1, using the detection result of the amount of movement in step S504, the system control unit 50 displays the combining-completed range 605 as the amount of movement in the direction A from the image capturing start position 602 in
Thus, as illustrated in
If the combining-completed range 605 does not reach the boundary 604, the user can recognize that to obtain a panoramic image having bilaterally equal widths with respect to the image capturing start position 602 by swinging the camera 100 by the maximum swing-possible amount, the user should still swing the camera 100 in the direction A.
If the combining-completed range 605 does not reach the right end of the swing-possible range 601, the user can recognize that if the user does not turn back the swing direction, the user can still swing the camera 100 in the direction A.
At this time, using the detection result of the amount of movement in step S504, the system control unit 50 displays the swing-impossible range 606 (see
Thus, the user can recognize that even if the user turns back the swing direction from the current time, the swing-impossible range 606 cannot be included in the image capturing range of a panoramic image. Conversely, the user can recognize that if the user immediately turns back the swing direction, a portion up to the left end of the swing-possible range 601 (the right end of the swing-impossible range 606) can be included in the image capturing range of a panoramic image. At this time, a length L3 from the left end of the combining-completed range 605 (the image capturing start position 602) to the left end of the swing-possible range 601 (the right end of the swing-impossible range 606) illustrated in
If the user continues to swing the camera 100 in the direction A as the initial moving direction D, the swing-impossible range 606 gradually expands from the left on the opposite side to the right. Thus, the user can intuitively easily understand that the further in the direction A the camera 100 is swung, the narrower to the right the swing-possible range 601 on the opposite side becomes. At this time, the swing-possible range 601 and the swing-impossible range 606 are displayed, whereby the user can confirm on the same screen the movable amount by which the camera 100 continues to be swung in the direction A, and the movable amount by which the camera 100 is swung in the direction B by turning back the swing direction.
As illustrated in
Thus, the user can recognize that if the user turns back the swing direction from the current time, a panoramic image wider in the direction A from the image capturing start position 602 than in the direction B that is the opposite direction with respect to the image capturing start position 602 is generated. In
In step S509, similar to step S502, the system control unit 50 determines whether the condition for ending panoramic image capturing is satisfied. If the end condition is satisfied (Yes in step S509), the processing proceeds to step S520. If the end condition is not satisfied (if the continuation condition is satisfied) (No in step S509), the processing proceeds to step S510. Examples of the end condition in step S509 newly include the condition that the amount of movement reaches a predetermined amount of movement, i.e., the condition that the swing-possible range 601 is not present. Thus, the system control unit 50 determines whether the swing-possible range 601 is present. Then, if the swing-possible range 601 is not present, it is determined that the end condition is satisfied. Then, the processing proceeds to step S520. The case where the swing-possible range 601 is not present is a case where the camera 100 is largely swung in a single direction as the initial moving direction D (the direction A in
If the swing-possible range 601 is not present, i.e., if the right end of the combining-completed range 605 goes beyond the right end of the swing-possible range 601, the system control unit 50 notifies the user of the state by indicating that the swing goes beyond the swing-possible range, or producing a sound.
In step S510, similar to steps S501 and S503, the system control unit 50 controls the imaging lens 200, the shutter 201, and the image capturing unit 202 to capture the third or subsequent image and holds the captured image in the memory 207. The third or subsequent image is captured in step S510.
In step S511, using the image processing unit 205, the system control unit 50 detects the amount of movement from the most recently captured image among the third and subsequent images held in step S510, and the panoramic image generated until immediately before this step and held in step S506, and calculates the amount of swing. The system control unit 50 may detect the amount of movement using the orientation detection unit 218 alone or in combination with the image processing unit 205.
In step S512, based on the initial moving direction D held in step S507 and the detection result of the amount of movement in step S511, the system control unit 50 determines whether the initial moving direction D from the first image to the second image and the swing direction from image capturing performed one time before to image capturing performed most recently are the same direction. That is, the system control unit 50 determines whether the current swing direction is the same as the initial moving direction D. If the swing direction is the same as the initial moving direction D (Yes in step S512), the processing proceeds to step S513. If not (No in step S512), the processing proceeds to step S515.
In step S513, similar to step S505, based on the detection result of the amount of movement in step S511, the system control unit 50 determines whether the images can be combined. If the amount of movement cannot be detected in step S511, it is determined that the images cannot be combined (No in step S513). Then, the processing returns to step S509. If not (Yes in step S513), the processing proceeds to step S514.
In step S514, similar to step S506, using the image processing unit 205, the system control unit 50 combines the third captured image held in step S510 and the panoramic image held in step S506 based on the detection result of the amount of movement in step S511, thereby generating a panoramic image. The system control unit 50 holds the generated panoramic image in the memory 207. The panoramic image generated at this time is a panoramic image of which the angle of view is wider than that of the panoramic image held in step S506 (the image size in the moving direction is larger than that of the panoramic image held in step S506).
In step S508 after step S514, using the detection result of the amount of movement in step S511, the system control unit 50 performs the progress bar update process 1 on the progress bar 600 or 700 displayed at the display unit 101.
On the other hand, if it is determined in step S512 that the swing direction is not the initial moving direction D, i.e., if the turning back (switching) of the swing direction occurs (No in step S512), the processing proceeds to step S515.
In step S515, based on the detection results of the amounts of movement in steps S504 and 5511, the system control unit 50 determines whether the image is captured in step S510 in the direction B with respect to the image capturing start position 602 (a portion further in the direction B than the first image is imaged). If the image is captured in step S510 further in the direction B than the image capturing start position 602 (Yes in step S515), the processing proceeds to step S516. If not (No in step S515), the processing proceeds to step S509. The case where the determination is No in step S515 is a case where the swing does not return to the first image capturing start position 602 after the turning back of the swing direction occurs. An object to be imaged in this section is already imaged while the camera 100 moves in the direction A. Thus, the object appears in the panoramic image. Thus, if an image is captured in step S510, and the determination is No in step S515 immediately after that, the system control unit 50 discards the captured image without using the captured image for the combining of a panoramic image. The captured image, however, may be used to complementarily combine with an already generated panoramic image.
In step S516, similar to step S513, based on the detection result of the amount of movement in step S511, the system control unit 50 determines whether the images can be combined. If the amount of movement cannot be detected in step S511, it is determined that the images cannot be combined (No in step S516). Then, the processing returns to step S509. If not (Yes in step S516), the processing proceeds to step S517.
In step S517, similar to step S514, using the image processing unit 205, the system control unit 50 combines the captured image held in step S510 and the panoramic image held in step S506 based on the detection result of the amount of movement in step S511, thereby generating a panoramic image. The system control unit 50 holds the generated panoramic image in the memory 207. The panoramic image generated at this time is a panoramic image of which the angle of view is wider than that of the panoramic image held in step S506 (the image size in the moving direction is larger than that of the panoramic image held in step S506).
In step S518, the system control unit 50 performs a progress bar update process 2 on the progress bar 600 or 700 displayed at the display unit 101. In the progress bar update process 2, using the detection result of the amount of movement in step S511, the system control unit 50 displays the combining-completed range 605 as the amount of movement in the direction B from the image capturing start position 602 in
That is, as illustrated in
Specifically, the progress bar 600 or 700 is displayed such that the combining-completed range 605 gradually expands in the direction B from the image capturing start position 602. By viewing this, the user can view the state where the combining-completed range 605 extends in the direction B, and therefore can recognize that a portion corresponding to the current swing motion is used to generate a panoramic image. That is, the user can understand that after the swing direction is turned back, the combining of an image further in the direction B than the image capturing start position 602 is safely started.
Further, the progress bar 600 or 700 is displayed such that the combining-completed range 605 gradually comes close to the swing-impossible range 606. By viewing this, the user can recognize the remaining amount of movement in the direction B by which an image can be included in the image capturing range of a panoramic image.
At this time, using the detection result of the amount of movement in step S511, the system control unit 50 displays the swing-impossible range 606 from the right end of the swing-possible range 601. The system control unit 50 performs display such that a length L4 from the image capturing start position 602 to the left end of the combining-completed range 605 and a length L5 of the swing-impossible range 606 are approximately the same length, or so that the user can recognize that the lengths L4 and L5 are approximately the same length.
By viewing this, the user can recognize that an image can still be included in the image capturing range of a panoramic image by moving the camera 100 in the direction A, and also recognize the remaining amount of movement in the direction A at that time. Further, the user can recognize the width of the range in each of the directions A and B from the image capturing start position 602 in an obtained panoramic image.
In step S519, similar to step S509, the system control unit 50 determines whether the condition for ending panoramic image capturing is satisfied. If the end condition is satisfied (Yes in step S519), the processing proceeds to step S520. If not (No in step S519), the processing proceeds to step S509. Examples of the end condition in step S519 also include the condition that the swing-possible range 601 or the assumed combined range 603 is not present in the direction B opposite to the direction A. The case where the swing-possible range 601 or the assumed combined range 603 is not present in the direction B is a case where a swing operation for panoramic image capturing for a single time is completed by safely swinging the camera 100 by the maximum swing-possible amount, including the turning back of the swing direction. In this case, as illustrated in
In step S520, the system control unit 50 adds an image capturing condition to the generated panoramic image, thereby generating a panoramic image file.
In step S521, the system control unit 50 saves (records) the panoramic image file generated in step S520 in the recording medium 109 and ends the panoramic image capturing process.
As described above, when a user swings a camera in one direction as an initial moving direction, then according to the fact that a condition for ending image capturing is satisfied, a panoramic image is generated by combining only images captured when the user swings the camera in the one direction. Consequently, before panoramic image capturing is performed, the user does not need to set in advance whether to capture images without turning back a swing direction or capture images by turning back the swing direction. Thus, it is possible to improve usability for the user in a case where panoramic image capturing is performed using any of a technique for swinging a camera in one direction and a technique for swinging the camera in both directions.
Furthermore, the above progress bars can let the user know the storage area for a panoramic image that changes during image capturing. Thus, the user can start image capturing and end image capturing from a desired angle of view. Thus, it is possible to improve usability for the user.
A case is assumed where, after panoramic image capturing is started, the user swings the camera 100 in one direction without turning back the swing direction. In this case, based on the above progress bars, by viewing the length to the end of the swing-possible range 601 in the direction A in
On the other hand, a case is assumed where, after panoramic image capturing is started, the user swings the camera 100 by turning back the swing direction. In this case, based on the display of the above progress bars, by viewing the length to the end in the direction B of the assumed combined range 603 in
As described above, the progress bars illustrated in
Next, with reference to the flowchart in
In
In
First, before the panoramic image capturing process is started, i.e., in the standby state in the panoramic image capturing mode, the progress bar 800 or 900 in an initial display form illustrated in
In step S508, the system control unit 50 performs a progress bar update process 1 on the progress bar 800 or 900 displayed at the display unit 101. In the progress bar update process 1, using the detection result of the amount of movement in step S504, the system control unit 50 displays the combining-completed range 605 as the amount of movement in the direction A from the image capturing start position 602 (see
As illustrated in
At this time, using the detection result of the amount of movement in step S504, the system control unit 50 displays the swing-possible range 601 by moving the left end of the swing-possible range 601 to the image capturing start position 602 side.
Thus, the user can recognize that even if the user turns back the swing direction from the current time, a portion beyond the left end of the swing-possible range 601 cannot be included in the image capturing range of a panoramic image. Conversely, the user can recognize that if the user immediately turns back the swing direction, a portion up to the left end of the swing-possible range 601 can be included in the image capturing range of a panoramic image. At this time, a length L3 from the left end of the combining-completed range 605 (the image capturing start position 602) to the left end of the swing-possible range 601 illustrated in
The user can intuitively easily understand that if the user continues to swing the camera 100 in the direction A as the initial moving direction D, the swing-possible range 601 on the opposite side narrows to the right.
As illustrated in
Thus, the user can recognize that if the user turns back the swing direction from the current time, a panoramic image wider in the direction A from the image capturing start position 602 than in the direction B that is the opposite direction with respect to the image capturing start position 602 is generated. In
In step S518, the system control unit 50 performs a progress bar update process 2 on the progress bar 800 or 900 displayed at the display unit 101. In the progress bar update process 2, using the detection result of the amount of movement in step S511, the system control unit 50 displays the combining-completed range 605 as the amount of movement in the direction B from the image capturing start position 602 in
As illustrated in
If the condition for ending panoramic image capturing is satisfied in step S519 (Yes in step S519), then as illustrated in
As described above, similar the effects described in the first exemplary embodiment, the progress bars according to the present exemplary embodiment can let the user know the storage area for a panoramic image that changes during image capturing. Thus, the user can start image capturing and end image capturing from a desired angle of view.
Further, in the progress bars according to the present exemplary embodiment, the swing-impossible range 606 in the first exemplary embodiment is not displayed, whereby it is possible to display a progress guide more simply. The swing-impossible range 606 can be replaced with an end portion of the swing-possible range 601 or an end portion of the assumed combined range 603. Thus, based on the end portion of the swing-possible range 601 or the end portion of the assumed combined range 603, the user can grasp the amount of movement by which an image used for a panoramic image can be captured.
Next, with reference to the flowchart in
In
In
First, before the panoramic image capturing process is started, i.e., in the standby state in the panoramic image capturing mode, the progress bar 1000 in an initial display form illustrated in
As illustrated in
At this time, the system control unit 50 does not move the left end of the assumed combined range 603 by fixing the left end of the assumed combined range 603. If the combining-completed range 605 does not reach the right end of the assumed combined range 603, the user can recognize that to obtain a panoramic image having bilaterally equal widths with respect to the image capturing start position 602 by swinging the camera 100 by the maximum swing-possible amount, the user should still swing the camera 100 in the direction A.
As illustrated in
Thus, the user can recognize that if the user turns back the swing direction from the current time, a panoramic image wider in the direction A from the image capturing start position 602 than in the direction B that is the opposite direction with respect to the image capturing start position 602 is generated. At this time, a length L6 from the left end of the combining-completed range 605 (the image capturing start position 602) to the left end of the assumed combined range 603 illustrated in
The user can intuitively easily understand if the user continues to swing the camera 100 in the direction A, the assumed combined range 603 on the opposite side narrows to the right.
In step S518, the system control unit 50 performs a progress bar update process 2 on the progress bar 1000 displayed at the display unit 101. In the progress bar update process 2, using the detection result of the amount of movement in step S511, the system control unit 50 displays the combining-completed range 605 as the amount of movement in the direction B from the image capturing start position 602 in
As illustrated in
If the condition for ending panoramic image capturing is satisfied in step S519 (Yes in step S519), then as illustrated in
As described above, the progress bar according to the present exemplary embodiment can let the user know the storage area for a panoramic image particularly after the combining-completed range 605 goes beyond the assumed combined range 603.
Further, in the progress bar according to the present exemplary embodiment, the swing-possible range 601 and the swing-impossible range 606 in the first exemplary embodiment are not displayed, whereby it is possible to display a progress guide more simply.
Next, with reference to the flowchart in
In
An area 1101 in
An area 1102 in
An area 1103 in
First, before the panoramic image capturing process is started, i.e., in the standby state in the panoramic image capturing mode, the progress bar 1100 or 1200 in an initial display form illustrated in
In step S508, the system control unit 50 performs a progress bar update process 1 on the progress bar 1100 or 1200 displayed at the display unit 101. In the progress bar update process 1, using the detection result of the amount of movement in step S504, the system control unit 50 displays the combining-completed range 605 as the amount of movement in the direction A from the image capturing start position 602 (see
As illustrated in
In step S518 after step S515, the system control unit 50 performs a progress bar update process 1 on the progress bar 1100 or 1200 displayed at the display unit 101. In the progress bar update process 1, using the detection result of the amount of movement in step S511, the system control unit 50 displays the combining-completed range 1102 as the amount of movement in the direction B after the swing direction is turned back.
As illustrated in
Furthermore, as illustrated in
Further, as illustrated in
At this time, a length L7 from the image capturing start position 602 to the left end of the assumed combined range 603 (or the right end of the swing-impossible range 1103) illustrated in
The system control unit 50 displays the left end position of the assumed combined range 603 based on the position where the swing direction is turned back, i.e., the right end position of the combining-completed range 1102. Display is performed such that the further in the direction A the right end position of the combining-completed range 1102 is, the closer to the image capturing start position 602 the left end position of the assumed combined range 603 is. Display is performed such that the closer to the image capturing start position 602 the right end position of the combining-completed range 1102 is, the further in the direction B the left end position of the assumed combined range 603 is.
If the condition for ending panoramic image capturing is satisfied in step S519 (Yes in step S519), then as illustrated in
Further, based on the progress bars according to the present exemplary embodiment, in a case where the swing direction is the initial moving direction, the uncertain range 1101 is displayed on the opposite side of the initial moving direction with respect to the image capturing start position 602. Thus, the user can concentrate on how much the user swings the camera 100 in the initial moving direction. The swing-impossible range 1103 can be replaced with an end portion of the swing-possible range 601 or an end portion of the assumed combined range 603. Thus, based on the end portion of the swing-possible range 601 or the end portion of the assumed combined range 603, the user can grasp the amount of movement by which an image used for a panoramic image can be captured.
As described above, based on the camera 100 according to the present exemplary embodiment, in a case where an image capturing direction is moved in a first direction, then according to the fact that a condition for ending image capturing is satisfied, a combined image is generated by combining images captured when the image capturing direction is moved in the first direction. Thus, before panoramic image capturing is performed, the user does not need to set in advance whether to capture images without turning back a swing direction or capture images by turning back the swing direction. Thus, it is possible to improve usability for the user.
Furthermore, based on the camera 100 according to the present exemplary embodiment, according to the movement in the first direction, display indicating a movable amount in a second direction by which an image used for an image to be combined can be captured is performed, whereby it is possible to appropriately display an image-capturing-possible range to the user during panoramic image capturing. Thus, the user can easily grasp the amount of movement by which an image used for a panoramic image can be captured. Thus, the user can image a desired object to fall within the range of a panoramic image. Thus, it is possible to improve usability for the user.
Further, based on the camera 100 according to the present exemplary embodiment, display is performed such that the greater the amount of movement in the first direction, the smaller the movable amount in the second direction by which an image used for an image to be combined can be captured. Thus, the user can easily grasp that the further in the first direction the camera 100 is swung, the smaller the amount of movement in the second direction by which an image can be captured. Therefore, the user can image a desired object present in the second direction to fall within the range of a panoramic image.
The above various types of control performed by the system control unit 50 in the description may be performed by a single piece of hardware, or the processing of the above various types of control may be shared by a plurality of pieces of hardware (e.g., a plurality of processors or circuits), thereby controlling the entirety of the apparatus.
Further, a case has been described where the combining-completed range 605 according to each exemplary embodiment is displayed as a part of the progress bar. The disclosure, however, is not limited to this case. Alternatively, a reduced combined image may be displayed.
Furthermore, in each exemplary embodiment, a case has been described where the mode of capturing images while swinging the camera 100 in the horizontal direction is used. Alternatively, the mode of capturing images while swinging the camera 100 in the vertical direction may be used. In this case, it is possible to display the progress bars such that the progress bars are long in the vertical direction.
Further, the above bilaterally equal widths and the above bilateral symmetry include approximately equal widths and approximate symmetry, respectively.
Furthermore, while the disclosure has been described in detail based on its exemplary embodiments, the disclosure is not limited to these specific exemplary embodiments. The disclosure also includes various forms without departing from the spirit and scope of the disclosure. Further, the above exemplary embodiments merely illustrate exemplary embodiments of the disclosure, and can also be appropriately combined together.
Furthermore, in the above exemplary embodiment, as an example, a case has been described where the disclosure is applied to the camera 100. The disclosure, however, is not limited to this case, and is applicable to any apparatus capable of generating a panoramic image. That is, the disclosure is applicable to a smartphone, a tablet terminal, a mobile PC, a personal digital assistant (PDA), a mobile image viewer, a digital photo frame, a music player, a game apparatus, and an electronic book reader.
Further, the aspect of the embodiments is applicable not only to an imaging apparatus main body, but also to a control apparatus that communicates with an imaging apparatus (including a network camera) through wired or wireless communication and remotely controls the imaging apparatus. Examples of the apparatus that remotely controls the imaging apparatus include apparatuses such as a smartphone, a tablet PC, and a desktop PC. Based on operations performed in the control apparatus or processes performed in the control apparatus, the control apparatus notifies the imaging apparatus of commands to perform various operations and make various settings and thereby can remotely control the imaging apparatus. Furthermore, a live view image captured by the imaging apparatus may be able to be received by the control apparatus through wired or wireless communication and displayed at the control apparatus.
According to the aspect of the embodiments, it is possible to improve usability for a user in a case where panoramic image capturing is performed.
Other EmbodimentsEmbodiment(s) of the disclosure can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the disclosure has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2018-090469, filed May 9, 2018, which is hereby incorporated by reference herein in its entirety.
Claims
1. An apparatus comprising:
- at least one processor; and
- at least one memory coupled to the at least one processor, the memory having instructions that, when executed by the processor, performs operations as:
- a generation unit configured to generate a combined image obtained by combining an image captured in a case where an image capturing direction is moved in a first direction from an image capturing start, and an image captured in a case where the image capturing direction is moved in a second direction opposite to the first direction with respect to a position of the image capturing start; and
- a recording control unit configured to perform control to, in a case where the image capturing direction is moved in the first direction before the image capturing direction is moved in the second direction, then according to an end condition for ending image capturing being satisfied, record the combined image obtained by the generation unit combining the image captured in the case where the image capturing direction is moved in the first direction.
2. The apparatus according to claim 1, wherein the generation unit generates the combined image by combining a plurality of images obtained by a series of image capturing operations started by the image capturing start.
3. The apparatus according to claim 1, wherein the condition for ending image capturing is at least either one of a condition that an amount of movement in the first direction reaches a predetermined amount of movement, and a condition that an instruction to end image capturing is received.
4. The apparatus according to claim 3, wherein the condition that the amount of movement in the first direction reaches the predetermined amount of movement is a case where an amount of acquisition of an image obtained by a series of image capturing operations started by the image capturing start and performed by moving the image capturing direction in the first direction reaches a predetermined amount.
5. The apparatus according to claim 1, wherein the end condition includes a condition that an amount of movement reaches a predetermined amount of movement,
- wherein the recording control unit performs control to, in a case where the end condition is not satisfied in a case where the image capturing direction is moved in the first direction, and the image capturing direction is changed in the second direction, and the image capturing direction is moved further in the second direction than the position of the image capturing start, then according to the end condition being satisfied, record a combined image obtained by the generation unit combining an image captured in a case where the image capturing direction is moved in the first direction, and an image captured in the case where the image capturing direction is moved further in the second direction than the position of the image capturing start, and
- wherein the greater an amount of movement by which the image capturing direction is moved in the first direction before the image capturing direction is moved in the second direction, the smaller an amount of movement by which the image capturing direction is moved further in the second direction than the position of the image capturing start until the end condition is satisfied.
6. The apparatus according to claim 1, further comprising a display control unit configured to perform control to, based on an amount of movement in the first direction, perform display indicating a movable amount in the second direction by which an image used for an image to be combined can be captured.
7. An apparatus comprising:
- at least one processor; and
- at least one memory coupled to the at least one processor, the memory having instructions that, when executed by the processor, performs operations as:
- a generation unit configured to generate a combined image obtained by combining an image captured in a case where an image capturing direction is moved in a first direction from an image capturing start, and an image captured in a case where the image capturing direction is moved in a second direction opposite to the first direction with respect to a position of the image capturing start; and
- a display control unit configured to perform control to, based on an amount of movement in the first direction, perform display indicating a movable amount in the second direction by which an image used for an image to be combined can be captured.
8. The apparatus according to claim 7, wherein the generation unit generates the combined image by combining a plurality of images obtained by a series of image capturing operations started by the image capturing start.
9. The apparatus according to claim 7, wherein the amount of movement in the first direction is acquired based on a plurality of images obtained by a series of image capturing operations started by the image capturing start and performed by moving the image capturing direction in the first direction.
10. The apparatus according to claim 7, wherein the display control unit performs control to perform display such that a greater the amount of movement in the first direction, a smaller the amount of movement in the second direction by which an image used for an image to be combined can be captured.
11. The apparatus according to claim 7, wherein the display control unit performs control to, based on the movement in the first direction, update the display indicating the movable amount in the second direction.
12. The apparatus according to claim 7, wherein the display control unit performs, according to the movement in the first direction being turned back to the movement in the second direction, the display indicating the movable amount in the second direction.
13. The apparatus according to claim 7, wherein the display control unit performs, based on the amount of movement in the first direction, display indicating a movable amount in the first direction by which an image used for an image to be combined can be captured.
14. The apparatus according to claim 13, wherein the display control unit performs, on the same screen, the display indicating the movable amount in the second direction and the display indicating the movable amount in the first direction.
15. The apparatus according to claim 7, wherein the display control unit performs, in a case where the image capturing direction is moved in the second direction, display indicating an amount of movement in the second direction from the position of the image capturing start or a position where the movement is turned back in the second direction to a current time.
16. The apparatus according to claim 15, wherein the display control unit performs, in a case where the image capturing direction is moved in the first direction, display indicating an amount of movement in the first direction from the position of the image capturing start to the current time.
17. The apparatus according to claim 16, wherein the display control unit performs, in different forms, the display indicating the amount of movement in the first direction performed in a case where the image capturing direction is moved in the first direction, and the display indicating the amount of movement in the second direction performed in a case where the image capturing direction is moved in the second direction.
18. The apparatus according to claim 16, wherein the display control unit performs, in a case where the image capturing direction is moved in the second direction, and an image capturing position at the current time overlaps an image capturing position in a case where the image capturing direction is moved in the first direction, display such that it can be recognized that the image capturing positions are positions overlapping each other.
19. The apparatus according to claim 7, wherein the display control unit performs, based on the amount of movement in the first direction, display indicating a range where the movement in the second direction is impossible and an image used for an image to be combined cannot be captured.
20. The apparatus according to claim 7, wherein the display control unit performs, based on an amount of movement in the second direction, display indicating a range where the movement in the first direction is impossible and an image used for an image to be combined cannot be captured.
21. The apparatus according to claim 19, wherein the display control unit performs, according to the movement in the first direction being turned back to the movement in the second direction, the display indicating the range where the movement in the second direction is impossible.
22. The apparatus according to claim 7, wherein the display control unit performs, in a case where images having approximately equal lengths in the first and second directions with respect to the position of the image capturing start are combined, display indicating a position where the movement in the first direction is turned back to the movement in the second direction.
23. The apparatus according to claim 7, wherein the display control unit performs display indicating an entirety of an amount of movement in a case where an image used for an image to be combined is captured.
24. The apparatus according to claim 7, wherein the display control unit performs display indicating the position of the image capturing start.
25. A method for controlling an apparatus, the method comprising:
- generating a combined image obtained by combining an image captured in a case where an image capturing direction is moved in a first direction from an image capturing start, and an image captured in a case where the image capturing direction is moved in a second direction opposite to the first direction with respect to a position of the image capturing start; and
- performing, in a case where the image capturing direction is moved in the first direction before the image capturing direction is moved in the second direction, then according to a condition for ending image capturing being satisfied, record of the combined image obtained by combining the image captured in the case where the image capturing direction is moved in the first direction.
26. A method for controlling an apparatus, the method comprising:
- generating a combined image obtained by combining an image captured in a case where an image capturing direction is moved in a first direction from an image capturing start, and an image captured in a case where the image capturing direction is moved in a second direction opposite to the first direction with respect to a position of the image capturing start; and
- performing, based on an amount of movement in the first direction, display indicating a movable amount in the second direction by which an image used for an image to be combined can be captured.
27. A non-transitory computer-readable recording medium that stores a program for causing a computer to function as:
- a generation unit configured to generate a combined image obtained by combining an image captured in a case where an image capturing direction is moved in a first direction from an image capturing start, and an image captured in a case where the image capturing direction is moved in a second direction opposite to the first direction with respect to a position of the image capturing start; and
- a recording control unit configured to perform control to, in a case where the image capturing direction is moved in the first direction before the image capturing direction is moved in the second direction, then according to an end condition for ending image capturing being satisfied, record the combined image obtained by the generation unit combining the image captured in the case where the image capturing direction is moved in the first direction.
28. A non-transitory computer-readable recording medium that stores a program for causing a computer to function as:
- a generation unit configured to generate a combined image obtained by combining an image captured in a case where an image capturing direction is moved in a first direction from an image capturing start, and an image captured in a case where the image capturing direction is moved in a second direction opposite to the first direction with respect to a position of the image capturing start; and
- a display control unit configured to perform control to, based on an amount of movement in the first direction, perform display indicating a movable amount in the second direction by which an image used for an image to be combined can be captured.
Type: Application
Filed: Apr 29, 2019
Publication Date: Nov 14, 2019
Patent Grant number: 11115589
Inventor: Takuya Masamura (Kawasaki-shi)
Application Number: 16/397,952