Electronic device, control method of electronic device, and storage medium
By detecting and storing the orientation of the display device and automatically adjusting the image source, it solves the problem of multi-viewpoint image data display layout matching and achieves a user-friendly image viewing experience.
Patent Information
- Application Number
- CN202210367569.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-04-12
- Filing Date
- 2022-04-08
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-04-08
AI Technical Summary
When viewing multi-viewpoint images captured by multiple cameras, it is difficult for users to easily change the size of the image data to match the screen layout, resulting in the possibility of missing key scenes.
Automatically adjust the image display to match the user's orientation by acquiring images from multiple image sources, storing orientation information of the display device, and detecting the orientation of the display device, and controlling the display device to display images from image sources associated with the detected orientations. Expected screen layout.
Users can easily view image data in the desired screen layout, avoiding the problem of missing key scenes when changing the display direction, and realizing image data display without cropping or resizing.
Smart Images

Figure CN115209203B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electronic device, a control method of the electronic device and a storage medium, and more particularly, to a display control technology for displaying images captured by multiple camera devices. Background Art
[0002] As a conventional method of viewing image content, there are common methods such as editing an image / multiple images taken by one or more cameras and distributing it as one content, and distributing a live broadcast while switching images taken by multiple cameras. In particular, in recent years, in social network services (SNS) and motion image distribution services, not only horizontally long images suitable for TV screens but also vertically long images suitable for vertically long terminals such as smartphones and tablets have been distributed.
[0003] In addition to services that allow viewing of single-viewpoint image data captured by one camera, there are services that allow viewing of multi-viewpoint image data captured by multiple cameras at the same time. Among the latter services, there are services that allow viewing of free-viewpoint images as images that can be viewed from a free viewpoint by synthesizing images, and services that distribute images from multiple viewpoints as they are without synthesizing images (for example, see Japanese Patent Laid-Open No. 2019-057291). In addition, a horizontally long image showing the entire viewing angle and a vertically long image focused on a person are distributed at the same time, and the user can select the image he / she wants to see and enjoy it from the perspective he / she wants to see.
[0004] However, although multi-viewpoint images including horizontally long images showing the entire viewing angle and vertically long images focusing on people are being distributed, it is troublesome to select the image data he / she wants to see and change the screen layout to match the size of the image data. For example, it is necessary to change the display direction of the viewing terminal or the setting of the terminal's own direction, and there is a problem that the user may miss a key scene while performing such an operation. Summary of the invention
[0005] The present invention has been made in view of the above circumstances, and a user can easily see an image of image data he / she wants to see in a desired screen layout.
[0006] According to the present invention, an electronic device is provided, which includes: a processor and a memory storing a program, which, when executed by the processor, causes the electronic device to: acquire a plurality of images obtained from a plurality of different image sources; store in the memory information about a relationship between an orientation of a display device and at least one of the plurality of images; detect the orientation of the display device; and control the display device to display an image obtained from an image source that is the same as the image source of an image associated with the detected orientation, among the plurality of different image sources.
[0007] In addition, according to the present invention, a control method for an electronic device is provided, which control method includes: acquiring multiple images obtained from multiple different image sources; storing information about the relationship between the orientation of a display device and at least one of the multiple images in a memory based on operation through an operation unit; detecting the orientation of the display device; and displaying on the display device an image obtained from an image source that is the same as the image source of an image associated with the detected orientation among the multiple different image sources.
[0008] In addition, according to the present invention, a non-transitory computer-readable storage medium is provided, which stores a program executable by a computer, wherein the program includes a program code for causing the computer to function as an electronic device, the electronic device including: an acquisition unit that acquires multiple images obtained from multiple different image sources; a display device; a memory that stores information about a relationship between an orientation of the display device and at least one of the multiple images based on an operation through an operation unit; a detector that detects the orientation of the display device; and a controller that controls the display device to display an image obtained from the same image source as an image source of an image associated with the detected orientation among the multiple different image sources.
[0009] Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings). BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0011] Figure 1 is a diagram showing a configuration example of an image distribution system according to an embodiment of the present invention.
[0012] Figure 2 is a block diagram showing a configuration example of an electronic device according to an embodiment.
[0013] Figure 3 is a flowchart of the priority setting process according to the first embodiment.
[0014] Figure 4 : is a diagram showing an example of a screen for priority setting processing according to the first embodiment.
[0015] Figure 5 is a flowchart of the image display process according to the first embodiment.
[0016] Fig. 6A and Figure 6B is a diagram showing an example of a display image on a screen according to the first embodiment.
[0017] Figure 7 is a flowchart of the priority setting process according to the second embodiment.
[0018] Figure 8 is a diagram showing an example of the priority of image data according to the second embodiment.
[0019] Fig. 9 : is a diagram showing an example of a screen for priority setting processing according to the third embodiment.
[0020] Fig. 10A and Fig. 10B : is a diagram showing an example of a display layout setting screen according to the third embodiment.
[0021] Fig.11 is a flowchart of the image display process according to the third embodiment.
[0022] Fig. 12A and Fig. 12B is a diagram showing an example of a display image on a screen according to the third embodiment.
[0023] Fig.13 : is a diagram showing an example of the priority of image data according to a modification example of the third embodiment.
[0024] Fig.14A and Fig. 14B is a diagram showing an example of a display image on a screen according to the fourth embodiment.
[0025] FIG. 15A to FIG. 15D is a diagram illustrating a method of displaying image data according to the fourth embodiment.
[0026] Fig.16A and Fig. 16B is a diagram illustrating a method of displaying image data according to the fourth embodiment.
[0027] Fig.17 : is a diagram showing an example of audio information associated with image data and priorities for respective modes according to the fourth embodiment. DETAILED DESCRIPTION
[0028] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Please note that the following embodiments are not intended to limit the scope of the invention claimed for protection, and do not limit the invention requiring the combination of all the features described in the embodiments. Two or more of the multiple features described in the embodiments can be appropriately combined. In addition, the same reference numerals are given to the same or similar configurations, and their redundant description is omitted.
[0029] Figure 11 is a diagram showing a configuration example of an image distribution system according to the present embodiment. Cameras 101 to 104 record image signals and output the image signals to an electronic device 200 connected wirelessly or by wire. The electronic device 200 edits the image signals received from the cameras 101 to 104 regarding image quality, audio, and subtitles, and distributes the created image data via a communication network 201 such as the Internet. The electronic device 200 can distribute the image signals received from the cameras 101 to 104 as they are without editing them.
[0030] The electronic device 300 displays and reproduces, on the screen of its display unit, image data received via the communication network 201. Here, the electronic device 300 is shown as an example of an information processing device, but any terminal having a display unit capable of displaying image content, such as a digital camera, a tablet device, and a personal computer having a wireless communication function, may be used.
[0031] Figure 2 3 is a block diagram showing a configuration example of an electronic device 300, which is an example of an information processing device of the present embodiment and constitutes Figure 1 The system shown.
[0032] The control unit 11 controls the respective components of the electronic device 300 according to an input signal and a program stored in a nonvolatile memory 13 described later. Instead of the control unit 11 controlling the entire device, a plurality of hardware may share processing to control the entire device.
[0033] The image sensing unit 12 converts light from the subject formed by the lens included in the image sensing unit 12 into an electric signal, performs noise reduction processing, and outputs digital data as image data. The captured image data is stored in a buffer memory, subjected to predetermined processing by the control unit 11, and recorded in the recording medium 17.
[0034] The nonvolatile memory 13 is a nonvolatile memory that can be electrically erased and recorded. In the nonvolatile memory 13, an operating system (OS) as basic software executed by the control unit 11 and an application that cooperates with the OS to realize application functions are recorded. In addition, in the present embodiment, the nonvolatile memory 13 stores an application for communicating with the electronic device 200.
[0035] The work memory 14 is used as an image display memory of the display unit 16 , a work area of the control unit 11 , and the like.
[0036] The operation unit 15 is used to receive instructions from the user to the electronic device 300. The operation unit 15 includes, for example, a power button for the user to instruct turning on / off the power of the electronic device 300 and an operation member such as a touch panel 16a.
[0037] The touch panel 16a may be any of various touch panels such as a resistive touch panel, a capacitive touch panel, a surface acoustic wave touch panel, an infrared touch panel, an electromagnetic induction touch panel, an image recognition touch panel, and an optical sensor touch panel. Depending on the type of the touch panel, some touch panels detect touch by detecting actual contact with the touch panel, while other touch panels detect touch by detecting the proximity of a finger or a pen to the touch panel, and any of these types of touch panels may be used.
[0038] The touch panel 16a and the display unit 16 may be integrally constructed. For example, the touch panel 16a is constructed so that its light transmittance does not interfere with the display content of the display unit 16, and is provided on an upper layer of the display surface of the display unit 16. Then, the coordinates of the touch position on the touch panel 16a are associated with the coordinates of the display screen of the display unit 16. This makes it possible to provide a graphical user interface (GUI) as if the user can directly operate the image displayed on the display unit 16. The control unit 11 can detect the operation on the touch panel 16a or the state of the touch panel 16a.
[0039] The display unit 16 displays image data and character strings for interactive operations.
[0040] The recording medium 17 may record the image data output from the image sensing unit 12. The recording medium 17 may be configured to be detachable from the electronic device 300, or may be built in the electronic device 300. That is, the electronic device 300 may have at least a component for accessing the recording medium 17.
[0041] The communication unit 18 is an interface for connecting to an external device. The electronic device 300 of this embodiment can exchange data with the electronic device 200 via the communication unit 18. In this embodiment, the communication unit 18 is an antenna, and the control unit 11 can be connected to the electronic device 200 via the antenna. The connection between the electronic device 300 and the electronic device 200 can be a direct connection, or it can be an indirect connection via an access point. For example, PTP / IP (Picture Transfer Protocol based on Internet Protocol) via a wireless LAN can be used as a protocol for data communication. The way of communicating with the electronic device 200 is not limited to this. For example, the communication unit 18 may include an infrared communication module, a Bluetooth (Bluetooth, registered trademark) communication module, a wireless communication module such as a wireless USB (WirelessUSB), etc. In addition, wired connections such as USB cables, HDMI (registered trademark), IEEE1394, etc. can be used.
[0042] The short-range wireless communication unit 19 is a communication unit for realizing non-contact short-range communication with another device. The short-range wireless communication unit 19 includes an antenna for wireless communication, a modulation / demodulation circuit for processing wireless signals, and a communication controller. The short-range wireless communication unit 19 realizes non-contact short-range communication by outputting a modulated wireless signal from the antenna and demodulating the wireless signal received from the antenna. Here, non-contact communication according to the ISO / IEC 18092 standard (so-called NFC (registered trademark)) is realized.
[0043] When the short-range wireless communication unit 19 receives a data read request from another device, the short-range wireless communication unit 19 outputs response data based on the data stored in the non-volatile memory 13. In the present embodiment, the electronic device 300 operates in the reader mode, the writer mode, and the P2P mode defined by the NFC (registered trademark) standard through the short-range wireless communication unit 19, and mainly acts as an initiator. On the other hand, in the card emulation mode, the electronic device 300 mainly acts as a target via the short-range wireless communication unit 19.
[0044] Optionally, the short-range wireless communication unit 19 outputs a modulated wireless signal from the antenna and demodulates the wireless signal received from the antenna to implement short-range wireless communication according to the IEEE802.15 standard. In the present embodiment, the short-range wireless communication unit 19 communicates with other devices according to the IEEE802.15.1 standard (so-called Bluetooth). In addition, in the present embodiment, the Bluetooth communication adopts the low-power Bluetooth 4.0 (BLE) version requiring low power consumption.
[0045] The public network communication unit 20 is an interface used when performing public wireless communication. The electronic device 300 can make a phone call with other devices via the public network communication unit 20. At this time, the control unit 11 implements the phone call by inputting and outputting audio signals via the microphone 21 and the speaker 22 respectively. In this embodiment, the public network communication unit 20 is an antenna, and the control unit 11 can be connected to the public network communication network via the antenna. The communication unit 18 and the public network communication unit 20 can share one antenna.
[0046] The posture detection unit 23 detects the posture of the electronic device 300 with respect to the gravity direction. Based on the posture detected by the posture detection unit 23, it can be determined whether the image captured by the image sensing unit 12 is an image captured by holding the electronic device 300 horizontally or an image captured by holding the electronic device 300 vertically. The control unit 11 can add orientation information according to the posture detected by the posture detection unit 23 to the image file of the image captured by the image sensing unit 12, or can rotate the image and record it.
[0047] An acceleration sensor, a gyro sensor, etc. may be used as the posture detection unit 23. The posture detection unit 23 may also detect the movement (translation, tilt, roll, elevation, whether stationary, etc.) of the electronic device 300 using an accelerometer or a gyro sensor.
[0048] <First Embodiment>
[0049] Set the display priority of the image
[0050] Figure 3 1 is a flowchart of a priority setting process performed by the electronic device 300 according to the first embodiment, and each step of the process is performed by the control unit 11 by expanding the program stored in the nonvolatile memory 13 to the working memory 14. It should be noted that when, for example, "Set display priority" is displayed as one of the menu options and this option is selected via the operation unit 15, the priority setting process is performed.
[0051] In step S301 , the control unit 11 receives one or more image data photographed by at least one camera 101 to 104 transmitted from the electronic device 200 via the communication network 201 , and holds it in the working memory 14 in the main body.
[0052] The image data stored in the working memory 14 is not limited to the image data received and distributed by the electronic device 200. Specifically, the image data may be image data captured by an internal camera or an external camera built in the electronic device 300.
[0053] In step S302, the control unit 11 acquires the orientation of the display unit 16 for the priority setting process selected via the operation unit 15 and stores it in the work memory 14. Specifically, the stored information is orientations such as the vertical orientation, the horizontal orientation, etc., and are hereinafter referred to as the vertical display mode and the horizontal display mode, respectively.
[0054] In step S303, the control unit 11 reads out the image data held in the work memory 14, displays it on the display unit 16, and displays a screen for setting display priorities regarding the image data in each display mode.
[0055] Figure 44 is a diagram showing an example of a screen for setting a priority setting process for image data to be displayed preferentially in a longitudinal display mode and a transverse display mode. Window 401 is a window for the transverse display mode, and window 402 is a window for the longitudinal display mode. When it is determined that the electronic device 300 is in the longitudinal display mode or the transverse display mode, the images to be displayed preferentially on the display unit 16 are displayed in the corresponding windows respectively. Images 403, 404, and 405 are images of image data captured by different cameras 101 to 104, cameras built into the electronic device 300, etc. and acquired in step S301. First, the user selects an area of the window 401 or 402 via the operation unit 15, and then reselects one of the images 403, 404, 405. By doing so, it is possible to specify image data to be displayed preferentially in the transverse display mode or the longitudinal display mode corresponding to the selected window 401 or 402.
[0056] At this time, the image data displayed as images 403, 404, and 405 is not limited to the image data acquired in step S301, and for example, image data acquired in the past and stored in the working memory 14 can be displayed in chronological order. By doing so, image data captured by a camera and viewed in the past can be retroactively set, and image data from a camera desired by the user can be easily fixed in the display area.
[0057] In step S304 , the control unit 11 displays the image selected in step S303 in the window 401 or 402 , and stores information of image data of the selected image in the work memory 14 in association with the display mode.
[0058] In step S305, the control unit 11 determines whether to end the priority setting process. Here, in the case where the "Cancel" button 406 or the "Set" button 407 is pressed, it is determined that the process is ended. If the "Cancel" button 406 is pressed, the setting content is discarded, and if the "Set" button 407 is pressed, the setting content is saved and the process is ended.
[0059] If neither the "Cancel" button 406 nor the "Set" button 407 has been pressed, the process returns to step S301, assuming that the priority setting process continues.
[0060] Display images with priority
[0061] Next, we will refer to Figure 5 The display processing of the image data set to be displayed preferentially in each display mode as described above is described. Each processing is executed by the control unit 11 expanding the program stored in the nonvolatile memory 13 to the work memory 14.
[0062] In step S501, the control unit 11 acquires one or more image data captured by at least one of the cameras 101 to 104 and distributed from the electronic device 200 via the communication network 201, image data stored in the electronic device 300, etc. Then, the image data held in the working memory 14 in the main body is updated with the acquired image data.
[0063] In step S502 , the control unit 11 acquires the value of the posture information from the posture detection unit 23 and stores it in the work memory 14 .
[0064] In step S503, the control unit 11 acquires the value of the posture information stored in the work memory 14 and determines the posture of the electronic device 300. Table 1 is a table showing an example of a criterion for determining the posture of the electronic device 300 based on the posture information.
[0065] [Table 1]
[0066]
[0067] If the posture information of the electronic device 300 indicates a value between -100 and 100, it is determined to be a vertical orientation, and if the posture information indicates a value between 101 and 300, it is determined to be a horizontal orientation (clockwise). In addition, if the posture information indicates a value between 301 and 400 and between -301 and -401, it is determined to be a vertical orientation (inverted), and if the posture information indicates a value between -101 and -300, it is determined to be a horizontal orientation (counterclockwise). Then, the judgment result is stored in the working memory 14 as the latest orientation information of the electronic device 300. The orientation information is not limited to the vertical and horizontal, and can be in multiple orientations.
[0068] Next, in step S504, the control unit 11 compares the past orientation information of the electronic device 300 with the latest orientation information of the electronic device 300 stored in the working memory 14 in the previous step S503. If they are different, the processing proceeds to step S505. If they are the same, the processing proceeds to step S507.
[0069] In step S505 , the control unit 11 overwrites the past orientation information of the electronic device 300 stored in the working memory 14 with the latest orientation information of the electronic device 300 stored in the working memory 14 in step S503 .
[0070] In step S506, the control unit 11 displays on the display unit 16 an image of image data obtained from the same image source as the image source of the image data obtained by Figure 3The image data is set by the processing described in .
[0071] In step S507 , the control unit 11 determines whether to end viewing. For example, the user makes the end viewing determination via a touch operation on the touch panel 16 a of the operation unit 15 .
[0072] Will refer to Fig. 6A and Figure 6B Description Figure 5 An example of an image that is preferentially displayed in the image display process is shown.
[0073] like Fig. 6A As shown, when the portrait orientation is set as the orientation information of the electronic device 300, image data obtained from the same image source as the image source of the image data of the image 404 is displayed. Figure 4 Set in portrait display mode.
[0074] When the orientation of the electronic device 300 changes from this state to the horizontal orientation ("Yes" in step S504), the orientation information of the electronic device 300 changes (step S505), and as shown in FIG. Figure 6B As shown, the image to be displayed is changed to image data obtained from the same image source as the image data of image 403, the image data of which is obtained from Figure 4 The horizontal display mode is set in (step S506).
[0075] As described above, according to the first embodiment, it is possible to switch to desired image data set in advance in conjunction with a change in the screen orientation of the terminal.
[0076] In addition, the image data to be displayed on the screen of the terminal may correspond to the orientation information of the electronic device 300, and when the display unit 16 is in the horizontal orientation, the horizontally long image data may be automatically displayed, and when the display unit 16 is in the vertical orientation, the vertically long image data may be automatically displayed. By doing so, the image data to be displayed in the display area may be displayed without cropping or resizing, so that the image data may be displayed in the display area of the display unit 16 without losing any information about the image data.
[0077] <Second Embodiment>
[0078] Next, a second embodiment of the present invention will be described.
[0079] In the first embodiment, a case where one image data is set for each of the vertical display mode and the horizontal display mode has been described. On the other hand, in the second embodiment, a case where a plurality of image data are set with priority for each display mode will be described.
[0080] Set display priority for images
[0081] Figure 7 1 is a flowchart of a priority setting process performed by the electronic device 300 according to the second embodiment, and each process of the process is performed by the control unit 11 by expanding the program stored in the nonvolatile memory 13 to the working memory 14. Similar to the first embodiment, when, for example, "Set display priority" is displayed as one of the menu options and the option is selected via the operation unit 15, the priority setting process is performed. Figure 7 In the process of steps S301 to S303 and S305, Figure 3 The same as shown, so the same step numbers are assigned and the description thereof will be omitted.
[0082] When the display mode is selected in step S302, the process proceeds to step S303 and selects one of the image data held in the working memory 14. Then, in step S701, the image data selected first is displayed, and the information of the selected image data is set to priority 1 and stored in the working memory 14 in association with the display mode.
[0083] Then, in step S702, it is determined whether the image data of the next priority is selected, and if so, the process returns to step S303 and the above process is repeated. Each time the process of step S303 is repeated, the priority is sequentially reduced.
[0084] When the selection of image data is completed, in step S703, it is determined whether the display mode is changed, and if so, the process returns to step S303 and repeats the above process. Figure 4 In the illustrated example, when the vertical display mode is selected by touching the window 402 in a state where image data for the horizontal display mode of the window 401 is selected, the display mode is changed.
[0085] If the display mode is not changed in step S703, the process proceeds to step S305, and the control unit 11 determines whether to end the priority setting process. If no instruction to end the process is issued, the process returns to step S702 and repeats the above process. If an instruction to end the process is issued, the process ends.
[0086] Figure 8 It is shown in Figure 7 A table showing examples of the setting contents set in the process shown. Figure 8 In FIG. 1 , it is assumed that the image data A to E are held in the work memory 14 as image data that can be set.
[0087] The display processing of the image displayed with priority in the second embodiment is basically the same as that in the reference numeral 2 except for the following differences: Figure 5 The processes described are the same and thus description thereof will be omitted, except that, in step S506, among the image data that can be displayed, image data obtained from the same image source as that of image data having a higher priority is displayed.
[0088] As described above, according to the second embodiment, priority order is given to a plurality of image data for each display mode and the priority order is maintained. As a result, even if image data cannot be acquired from the same image source as the image source of image data having the highest priority when displaying image data, image data acquired from the same image source as the image source of image data having the next highest priority can be displayed.
[0089] The priority may be set by the user or may be automatically assigned according to the viewing angle when the image is captured. For example, based on the size of the image transmitted at the time of capture and given posture information, a high priority may be set for image data captured using a vertically long viewing angle in a vertical display mode, and a high priority may be set for image data captured using a horizontally long viewing angle in a horizontal display mode.
[0090] <Third Embodiment>
[0091] Next, a third embodiment of the present invention will be described.
[0092] The image data that can be displayed on the screen in each display mode is not limited to one, and a plurality of image data can be displayed simultaneously. In the third embodiment, the display layout is in accordance with the configuration described in the second embodiment. Figure 7 Note that, for example, when pressing the Fig. 9 In the case of pressing the "display layout setting" button 901 shown in FIG. 1 , the display layout setting process is executed, and the display Fig. 10A The screen shown.
[0093] Display layout settings
[0094] Fig. 10A Here, as an example, the following screen is displayed, which is used to select the display layout. Fig. 9 Set the layout when displaying multiple image data on one screen while the horizontal display mode is selected in .
[0095] Reference numeral 501 indicates a currently selected display layout. The user can select a layout from among layout candidates 502, 503, 504 using the operation unit 15 (eg, a touch operation on the touch panel 16a). Fig. 10AIn the example shown, a case where layout candidate 503 is selected is shown. The display layout may be a layout in which one screen is divided into a plurality of sections, such as layout candidates 503 and 504, or a layout in which a display area for displaying one image data includes a second display area 505 for displaying another image data, such as layout candidate 502.
[0096] In the third embodiment, each display area is prioritized in the order of the size of the display area in each layout candidate, and whether each display area is in a vertical orientation or a horizontal orientation is automatically determined according to the aspect ratio of each display area. Alternatively, the priority of each display area can be manually set by the user.
[0097] Fig. 10B : is a table showing the difference between the vertical orientation / horizontal orientation of each of the display areas 5011 to 5013 of the selected display layout 501 as an example, and an example of the priority order of each display area. Figure 8 The priority shown is based on the later reference Fig.11 The display processing of image data is described to select and display image data.
[0098] For example, since display area 5011 has priority 1 in the portrait orientation, video data D is displayed there. Also, since display area 5012 has priority 1 in the landscape orientation, video data C is displayed there. Display area 5013 is landscape oriented and smaller than display area 5012, and therefore has priority 2 in the landscape orientation, and video data B is displayed there.
[0099] If you select a layout candidate and press Fig. 10A When the "Set" button 507 is pressed, the selected layout is retained, and when the "Cancel" button 506 is pressed, the display layout setting is abandoned and the screen display returns to Fig. 9 screen.
[0100] When Fig. 9 When the vertical display mode is selected, layout candidates for splitting window 402 are displayed.
[0101] In addition, the layout candidates are not limited to the three displayed layout candidates 502, 503, and 504, and there may be four or more candidates. At this time, for example, a simplified display such as a mark 508 indicating that other layout candidates exist may be displayed, and in response to a sliding operation, etc., other hidden layout candidates may be displayed in the area where the layout candidates 502, 503, and 504 are displayed.
[0102] Display images with priority
[0103] Next, we will refer to Fig.11 The display processing of the image data set to be displayed preferentially in each display area as described above is described. Each processing is executed by the control unit 11 expanding the program stored in the nonvolatile memory 13 to the work memory 14. Fig.11 In the process shown, Figure 5 Similar processes to those shown are given the same step numbers, and descriptions thereof are appropriately omitted.
[0104] When the past orientation information of the electronic device 300 stored in the working memory 14 is overwritten by the latest orientation information of the electronic device 300 stored in the working memory 14 in step S503, the process proceeds to step S1101. In step S1101, the control unit 11 changes the display layout according to the latest orientation information of the electronic device 300 stored in the working memory 14.
[0105] In step S1102, the control unit 11 acquires the number of display areas from the information of the display layout stored in the work memory 14, stores it as a loop variable Num, and initializes a variable i to 0. Hereinafter, when the variable i is smaller than the loop variable Num, the processing of steps S1103 to S1106 is repeated.
[0106] In step S1103, the control unit 11 increments the variable i. Then, in step S1104, among the plurality of display areas of the display layout, a display area having the highest priority among the display areas where image data is not displayed is selected. Here, it is assumed that a larger display area is assigned a higher priority.
[0107] In step S1105, for the selected display area, the control unit 11 Fig. 10B Portrait / landscape orientation shown and the priority within each orientation, based on Figure 8 The image data having the highest priority among the image data not displayed in any display area is selected according to the priority shown.
[0108] In step S1106 , the control unit 11 displays the image data obtained from the same image source as the image source of the image data selected in step S1105 in the display area selected in step S1104 .
[0109] Then, in step S1107, if the variable i is equal to or greater than the loop variable Num, the process proceeds to step S507, and if the variable i is smaller than the loop variable Num, the process returns to step S1103 and the above-mentioned process is repeated.
[0110] Will refer to Fig. 12A and Fig. 12B Description Fig.11 An example of an image that is preferentially displayed in the image display process is shown.
[0111] Fig. 12A and 12B An example of image data displayed in a case where a display layout according to the layout candidate 502 is selected in the vertical display mode and the horizontal display mode respectively in the display layout setting described in the third embodiment is shown.
[0112] like Fig. 12A As shown in FIG. 1 , when the vertical orientation is set as the orientation information of the electronic device 300, the loop variable Num is set to 2 in step S1102. Then, through the processing of steps S1103 to S1106, the image data obtained from the same image source as the image source of the image data D is displayed in the display area 1201. The image data D is as shown in FIG. Figure 8 1. In addition, image data obtained from the same image source as that of image data C is displayed in display area 1202. Figure 8 Shown is a priority of 1 set for landscape display mode.
[0113] If the orientation of the electronic device 300 is changed from this state to the landscape orientation ("Yes" in step S504), the orientation information of the electronic device 300 is changed (step S505), and the display layout selected in the landscape display mode is acquired and set (step S1101). Then, in step S1102, the variable Num is set to 2, and through the processing of steps S1103 to S1106, the image data obtained from the same video source as the image source of the image data C is displayed in the display area 1203, and the image data C is as shown in FIG. Figure 8 1. In addition, in the display area 1204, image data obtained from the same image source as the image source of the image data D is displayed. Figure 8 Shown has a priority of 1 set for portrait display mode.
[0114] As described above, according to the third embodiment, even when one screen is divided into a plurality of display areas, it is possible to switch to desired image data to be displayed in conjunction with a change in the orientation of the terminal screen.
[0115] <Modification 1>
[0116] When not in use Figure 8 In the case of the priority order of image data of the display mode shown, the priority of image data can be set for each layout candidate.
[0117] Fig.13 is a table showing the priorities of image data for portrait orientation and landscape orientation for each layout candidate, and is used instead of Figure 8 For example, in Figure 7 In step S302 of the process shown in the figure, image data with priority is set for each layout candidate, instead of selecting a display mode, selecting Fig. 10A The various layout candidates are shown.
[0118] By setting the image data to be displayed preferentially in each layout candidate in this manner, different image data can be displayed preferentially depending on whether the screen is not divided or divided into a plurality of display areas.
[0119] <Fourth Embodiment>
[0120] Next, a fourth embodiment of the present invention will be described.
[0121] In the fourth embodiment, various control methods for setting a display area for displaying another image data while displaying image data will be described.
[0122] Fig.14A and Fig. 14B 14 is a diagram showing an example of a display screen in the present embodiment. When image data set for the vertical display mode is displayed in the main display area 1401, as shown in FIG. 14, a "hold" button 1402 is displayed. Then, as shown in FIG. Fig. 14B As shown, when a “hold” button 1402 is pressed, a sub display area 1403 is set within the main display area 1401 , and the image data displayed in the main display area 1401 is displayed in the sub display area 1403 .
[0123] In this state, if the orientation of the electronic device 300 is changed to the landscape orientation, the image is displayed as shown in FIG. Fig. 12B As shown, and is controlled so that image data set for the horizontal display mode is displayed in the main display area 1203, and image data displayed in the sub display area 1403 is continuously displayed in the sub display area 1204.
[0124] By controlling in this manner, it is possible to easily specify content distributed from a favorite video camera and continue viewing the content while switching between image content distributed from a plurality of cameras (such as television programs).
[0125] Image data to be displayed in the sub display area can be set according to an input from the still instruction member and a touch operation via the operation unit 15 , or a voice instruction input from the microphone 21 .
[0126] Fig.15A15 is a schematic diagram when the sub display area 1502 is selected by a selection operation using the operation unit 15. In this way, when the sub display area 1502 is selected by an input operation using the operation unit 15, the sub display area 1502 can be displayed as shown in FIG. Fig. 15B is hidden, or as shown Fig. 15C A small icon 1503 may be displayed as shown, or Fig.15D As shown, the sub-display area 1502 can be moved to another area. By selecting icon 1503, as shown Fig.15A Sub-display area 1502 is displayed as shown.
[0127] Furthermore, iconification and displacement of the sub display area 1502 may be automatically performed based on the subject information of the display area 1501. Specifically, the control unit 11 refers to the subject information of the image data stored in the working memory 14, and determines whether the sub display area 1502 overlaps with the subject displayed in the display area 1501. If they overlap, the display area 1502 may be displayed as shown in FIG. Fig. 15B is hidden, as shown Fig. 15C as shown, or as Fig.15D The sub display area 1502 may be moved to another area as shown, and if they do not overlap, the sub display area 1502 may continue to be displayed as is. By doing so, it is possible to avoid a situation where the sub display area 1502 covers the subject and the desired image cannot be viewed.
[0128] Fig.16A and Fig. 16B 16 is a diagram showing an example of a change process of image data displayed in each of a plurality of display areas, and in the case where a plurality of image data are set with priority, the control shown below can be performed. The user can change the image data displayed in the main display area 1601 by performing an operation using the operation unit 15 or performing a touch operation such as a slide operation.
[0129] Specifically, when a slide operation in the right direction is performed while image data obtained from the same video source as the video source of image data having priority 1 is displayed in main display area 1601, the image data to be displayed in main display area 1601 is changed to image data obtained from the same video source as the video source of image data having the next priority 2 for the vertical display mode. Figure 8In the example shown, the image data acquired from the same video source as the video source of the image data D is changed to the image data acquired from the same video source as the video source of the image data C. At this time, if a sliding operation is performed in the sub display area 1602, the operation can be interpreted as an instruction to change the image data displayed in the sub display area 1602. In addition, the processing can be changed according to the sliding direction. For example, if the sliding operation is in the right direction, the priority of the image data to be displayed can be increased, and if the sliding operation is in the left direction, the priority of the image data to be displayed can be lowered.
[0130] Although a method of switching image data to be displayed on the display unit 16 based on the posture information of the electronic device 300 has been described so far, a subject of the image data may be determined, and audio data may be switched at the same time as the image data is switched.
[0131] Fig.17 is a table of audio information in the case where the situation is caused by a change in the orientation of the display unit 16, such as Fig. 12A The image data displayed in the main display area 1201 and the sub display area 1202 are respectively changed to be displayed as shown in FIG. Fig. 12B The sub display area 1204 and the main display area 1203 are shown. The audio information to be output from the speaker 22 built in the electronic device 300 is controlled so that the ratio of the audio information of the image data displayed in the display area having a higher priority in the current orientation stored in the working memory 14 is high.
[0132] The audio information is not limited to the information associated with the image data, and can be determined for each subject. Specifically, it can be controlled so that the audio data of each subject associated with the image data is received, and the sound from the subject in the image data displayed in the display area with priority 1 can be output louder than other subjects / multiple other subjects. By doing so, in the case of preferentially displaying the image data showing the same subject, the sound from the subject can be heard loudly, thereby enabling the desired sound to be selectively heard.
[0133] As described above, according to the fourth embodiment, image data can be switched by various methods, and desired image data can be easily selected without complicated key operations or the like.
[0134] In the above-mentioned embodiment, the case where the present invention is applied to an electronic device such as a smartphone is described as an example, however, the present invention is not limited to this example, and the present invention can also be applied to any electronic device provided with a display unit and capable of determining the orientation of the terminal itself based on the information obtained from the posture detection unit. That is, the present invention can be applied to a camera, a personal computer, a PDA, etc. having an imaging unit and an image reproduction function.
[0135] Other embodiments
[0136] The (multiple) embodiments of the present invention may also be implemented as follows: a computer of a system or device, the system or device reads and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be more fully referred to as a "non-transitory computer-readable storage medium") to perform the functions of one or more of the above (multiple) embodiments, and / or the system or device includes one or more circuits (e.g., application-specific integrated circuits (ASICs)) for performing the functions of one or more of the above (multiple) embodiments; and a method executed by a computer of the system or device, for example, reading and executing computer executable instructions from a storage medium to perform one or more of the above (multiple) embodiments, and / or controlling the one or more circuits to perform one or more of the above (multiple) embodiments. The computer may include one or more processors (e.g., a central processing unit (CPU), a microprocessing unit (MPU)), and may include a network of separate computers or separate processors to read and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or a storage medium. The storage medium may include, for example, a hard disk, a random access memory (RAM), a read-only memory (ROM), a memory of a distributed computing system, an optical disk (such as a compact disc (CD), a digital versatile disc (DVD), or a Blu-ray disc (BD) TM ), one or more of a flash memory device and a memory card, etc.
[0137] The embodiments of the present invention may also be implemented by providing software (program) for performing the functions of the above-described embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.
[0138] While the present invention has been described with respect 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.
Claims
1. An electronic device, comprising: processor; as well as a memory storing a program which, when executed by the processor, causes the electronic device to: acquiring a plurality of images obtained from a plurality of different image sources; storing in the memory information regarding a relationship between an orientation of a display device and at least one of the plurality of images; detecting an orientation of a display device; and controlling the display device to display an image obtained from the same image source as the image source of the image associated with the detected orientation, among the plurality of different image sources, wherein information about a relationship between one or more of the plurality of images and one or more priorities for respective orientations of the display device is stored in the memory, wherein the program, when executed by the processor, further causes the electronic device to: select an image having the highest priority from images obtained from the same image source as the image associated with the detected orientation and capable of being displayed, and wherein the display device is controlled to display the selected image, The electronic device further comprises a speaker, Wherein, in the case where a plurality of images are displayed in the display device, the program, when executed by the processor, also sets a ratio of audio information associated with each of the plurality of images according to a priority set for a plurality of display areas displaying the plurality of images, and performs control to output audio data from the speaker.
2. The electronic device according to claim 1, wherein: Information regarding a relationship between respective orientations of the display device and one of the plurality of images is stored in the memory.
3. The electronic device according to claim 1, wherein: The display device is controlled to simultaneously display a plurality of images on a screen of the display device, and wherein the plurality of images are displayed in a display area in which a priority order is set.
4. The electronic device according to claim 1, wherein: The display device is controlled to simultaneously display a plurality of images on a screen of the display device, and wherein the plurality of images are displayed in a display area in which a priority order is set, and Wherein information about a relationship between the orientation of each of the display areas and at least one of the plurality of images is stored in the memory.
5. The electronic device according to claim 1, wherein: When an instruction to maintain the image displayed in the first display area is issued while the image is displayed in the first display area of the display device, The program, when executed by the processor, further causes the electronic device to set a second display area within the first display area and display, in the second display area, an image identical to the image displayed in the first display area.
6. The electronic device according to claim 5, wherein: In case the orientation of the display device changes, The program, when executed by the processor, further causes the electronic device to maintain the second display area and to display the image displayed in the first display area in the second display area.
7. The electronic device according to claim 5, wherein: When the second display area is specified, The program, when executed by the processor, further causes the electronic device to iconify the second display area or hide the second display area.
8. The electronic device according to claim 5, wherein: When executed by the processor, the program also causes the electronic device to: detect the position of a subject in an image displayed in the first display area, and, if the second display area overlaps with the subject, iconify the second display area, hide the second display area, or move the second display area to a position where the second display area does not overlap with the subject.
9. The electronic device according to claim 1, further comprising a touch panel provided on a surface of the display device, in, When a sliding operation is performed on the touch panel, the program, when executed by the processor, further causes the electronic device to: change an image displayed in an area where the sliding operation is performed to an image having a higher or lower priority than the displayed image, depending on the direction of the sliding operation.
10. The electronic device according to claim 1, wherein: Information is stored based on audio instructions.
11. A method for controlling an electronic device, comprising: acquiring a plurality of images obtained from a plurality of different image sources; storing, in a memory, information about a relationship between an orientation of a display device and at least one of the plurality of images based on an operation by an operation unit; detecting an orientation of the display device; as well as displaying, on the display device, an image obtained from the same image source as the image source of the image associated with the detected orientation from among the plurality of different image sources, wherein information about a relationship between one or more of the plurality of images and one or more priorities for respective orientations of the display device is stored in the memory, wherein the program stored in the memory, when executed by the processor, causes the electronic device to: select an image having the highest priority from images obtained from the same image source as the image associated with the detected orientation and capable of being displayed, wherein the display device is controlled to display the selected image, and Wherein, in the case where a plurality of images are displayed in the display device, the program, when executed by the processor, also sets a ratio of audio information associated with each of the plurality of images according to a priority set for a plurality of display areas displaying the plurality of images, and performs control to output audio data from a speaker.
12. A non-transitory computer-readable storage medium storing a program executable by a computer, wherein: The program includes a program code for causing a computer to function as an electronic device, the electronic device including: an acquisition unit, which acquires a plurality of images obtained from a plurality of different image sources; Display devices; a memory storing information on a relationship between the orientation of the display device and at least one of the plurality of images based on an operation by an operation unit; a detector that detects an orientation of the display device; and a controller that controls the display device to display an image obtained from the same image source as the image source of the image associated with the detected orientation among the plurality of different image sources, wherein information about a relationship between one or more of the plurality of images and one or more priorities for respective orientations of the display device is stored in the memory, wherein the program, when executed by the processor, causes the electronic device to: select an image having the highest priority from images obtained from the same image source as the image associated with the detected orientation and capable of being displayed, and wherein the display device is controlled to display the selected image, The electronic device further comprises a speaker, Wherein, in the case where a plurality of images are displayed in the display device, the program, when executed by the processor, also sets a ratio of audio information associated with each of the plurality of images according to a priority set for a plurality of display areas displaying the plurality of images, and performs control to output audio data from the speaker.
