Electronic device, control method of electronic device, and computer-readable storage medium
By detecting the tilt of the display surface and user operations, the display range position is corrected, which solves the problem of display range position recovery, achieving precise adjustment of the display range position and improving user experience.
Patent Information
- Application Number
- CN202080022373.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-19
- Filing Date
- 2020-03-04
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-03-04
AI Technical Summary
After changing the position of the display range, when the tilt of the display surface returns to the original state, the position of the display range cannot be easily restored to the original position, resulting in the user being unable to intuitively change the position of the display range to the expected position.
By detecting the inclination of the display surface and user operation, the control unit is used to correct the position of the display range based on the movement amount of the display range, ensuring that the display range can be adjusted at the position intended by the user.
Precise adjustment of the display range position is achieved, allowing users to easily change the display range position to the expected position, improving user experience.
Smart Images

Figure CN113574592B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electronic device, a control method of the electronic device, a program, and a storage medium, and more particularly to a control method for displaying an image having a wide video range. Background Art
[0002] Conventionally, there has been proposed a technology that displays a portion of an image having a wide range of video (such as a semi-spherical image or a spherical image) on a display unit as a display range, and arbitrarily changes the position of the display range in response to a change in the orientation of the display unit (tilt of the display surface), a user operation, etc. An image transmission technology that transmits the image used in this way has also been proposed.
[0003] Patent Document 1 discloses a technique for controlling the time axis direction and the reproduction speed of a 360° video according to the direction and magnitude of the tilt of a head mounted display.
[0004] Citation List
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent Application Publication No. 2017-111539 Summary of the invention
[0007] Technical issues
[0008] According to the conventional technology, after the position of the display range is changed by changing the inclination of the display surface, the position of the display range can be further changed by performing a user operation. However, after the position of the display range is changed in this way, even if the inclination of the display surface is returned to the original inclination, the position of the display range does not return to the original position, so the position of the display range cannot be easily changed to the desired position. In other words, the user cannot change the position of the display range to the desired position by intuitively changing the inclination of the display surface.
[0009] The present invention provides a technique that enables the position of a display range to be easily changed to a desired position.
[0010] Technical means of solving problems
[0011] An electronic device according to the present invention includes: a detection unit, which is configured to detect the inclination of a display surface; a receiving unit, which is configured to receive a user operation; and a control unit, which is configured to control to display a part of an image on the display surface as a display range, change the position of the display range in response to a change in the inclination of the display surface, and change the position of the display range in response to a user operation, wherein the control unit corrects a second movement amount of the display range moving in response to the change in the inclination of the display surface based on a first movement amount of the display range moving by the user operation.
[0012] Advantageous Effects of the Invention
[0013] According to the present invention, the position of the display range can be easily changed to a desired position. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a hardware block diagram showing an example of the configuration of the electronic device according to the first embodiment.
[0015] Figure 2 is a diagram showing an example of the configuration of a video transmission system according to the first embodiment.
[0016] Figure 3 is a diagram showing an example of a screen of a video player according to the first embodiment.
[0017] Figure 4 is a diagram showing an example of a method of determining a display range according to the first embodiment.
[0018] Figure 5 is a diagram showing an example of information transmitted from the electronic device according to the first embodiment.
[0019] Figure 6 is a flowchart illustrating an example of a display control process.
[0020] Figure 7 is a diagram showing an example of a problem to be solved by the first embodiment.
[0021] Figure 8 is a diagram showing an example of direction correspondence according to the first embodiment.
[0022] Fig. 9 is a diagram showing an example of a confirmation screen according to the first embodiment.
[0023] Fig.10 is a diagram showing an example of a user's gesture according to the second embodiment.
[0024] Fig.11 is a flowchart showing an example of a display control process according to the second embodiment. DETAILED DESCRIPTION
[0025] <First Embodiment>
[0026] A first embodiment of the present invention will be described below. Figure 11 is a hardware block diagram showing an example of the configuration of the electronic device 100 according to the present embodiment. The electronic device 100 is a smart phone, a head-mounted display, etc. When the electronic device 100 is not a head-mounted display, the electronic device 100 can also be used as a head-mounted display (HMD) by attaching to a head-mounted adapter. The head-mounted adapter is also called "VR (virtual reality) goggles".
[0027] The electronic device 100 (CPU 101) displays a part of an image (object image) as a display range on the display surface of the display unit 110. Note that the display unit 110 may also be a display device separate from the electronic device 100. For example, the electronic device 100 may be a personal computer (PC), a game console, any reproduction device, etc. that does not have the display unit 110, and the display unit 110 may be an HMD connected to the electronic device 100 or the like.
[0028] The object image is a semi-spherical image, a celestial image, etc., and has a video range (the range in which video exists; the effective video range) wider than the display range when the object image is displayed at a normal magnification. The effective video range can also be said to be an "imaging range". The normal magnification is, for example, a magnification that neither achieves zooming in nor zooming out. The celestial spherical image is also called a "full-view image", "360° image", "360° panoramic image", etc. The effective video range of the object image corresponds to a maximum field of view of 360 degrees in the vertical direction (vertical angle, angle relative to the zenith, pitch angle or altitude angle) and a maximum field of view of 360 degrees in the horizontal direction (horizontal angle or azimuth angle). Note that the effective video range of the object image can correspond to a pitch angle less than 360 degrees (for example, 180 degrees (±90 degrees)), or an azimuth angle less than 360 degrees (for example, 180 degrees (±90 degrees)). The object image can be a still image or a moving image. This embodiment will describe an example in which the object image is a moving image.
[0029] The electronic device 100 (CPU 101) arbitrarily changes the position of the display range in response to a change in the orientation of the electronic device 100 (a change in the inclination of the display unit 110 (the display surface of the display unit 110)). This enables the user to change the position of the display range to a desired position by intuitively changing the orientation of the electronic device 100 in the vertical / horizontal direction. In addition, the electronic device 100 (CPU 101) arbitrarily changes the position of the display range in response to a user operation (display position change operation). This enables the user to change the position of the display range to a desired position without changing the orientation of the electronic device 100, the user's posture, etc. A user who can appropriately and selectively perform the change in the orientation of the electronic device 100 and the display position change operation can conveniently change the position of the display range. Examples of the display position change operation include a touch operation (such as a tapping operation, a flicking operation, or a sliding operation) performed on a touch panel provided on the display surface of the display unit 110. The display position change operation may also be an operation performed on a controller connected to the electronic device 100, etc.
[0030] In a state where the electronic device 100 corresponding to the HMD is attached to the head region of the user, the user can visually recognize the display range displayed on the display unit 110 without manually holding the electronic device 100. In this case, when the user moves the head region or the entire body thereof, the orientation of the electronic device 100 (display unit 110) also changes. Therefore, the orientation of the electronic device 100 can be said to be "the orientation of the head region of the user (the direction in which the user's line of sight is oriented)".
[0031] A display method that changes the position of the display range in response to a change in the orientation of the electronic device 100 (display unit 110) is referred to as "VR display" or the like. VR display enables the user to feel a visual experience (sense of immersion or presence) as if actually in the object image (VR space). The object image can also be said to be "an image having an effective video range that forms at least a portion of the virtual space (VR space)." Such a method of displaying an object image such as that used by VR display is referred to as a "VR view" or the like, and an image that can be VR displayed is referred to as a "VR image" or the like. Note that the object image may or may not be a VR image.
[0032] like Figure 1 As shown, in the electronic device 100, a CPU 101, a DRAM 102, a ROM 103, a RAM 104, a display control unit 105, an operation unit 106, a direction detection unit 107, a communication IF 108, a display unit 110, and an EEPROM 111 are connected to an internal bus 109. The above-mentioned multiple units connected to the internal bus 109 can exchange data with each other via the internal bus 109.
[0033] The display unit 110 is a display device such as a liquid crystal panel. The ROM 103 stores various programs and various data. For example, in the ROM 103, a program for controlling the overall processing (operation) of the electronic device 100, an application program for a video player described later, etc. are stored in advance. The CPU 101 executes the program stored in the ROM 103 to control the processing of each unit of the electronic device 100. The DRAM 102 is the main memory of the electronic device 100. The RAM 104 is used as a working memory of the CPU 101. The EEPROM 111 is a non-volatile memory that can continuously store information even when the power of the electronic device 100 is turned off. The communication IF 108 communicates with a network 120 such as the Internet in response to an instruction from the CPU 101.
[0034] The operation unit 106 is an input device that receives an operation (user operation). For example, the operation unit 106 includes a pointing device such as a touch panel. The touch panel outputs coordinate information corresponding to the contact position of the user, touch pen, etc. contacting the touch panel, and is stacked on the display surface of the display unit 110, so as to be integrally constructed with the display unit 110, for example. Note that the display surface, touch panel, etc. may be planar or non-planar. The CPU 101 controls the processing of each unit of the electronic device 100 in response to the operation performed on the operation unit 106. Specifically, the operation unit 106 generates a control signal based on the operation performed on the operation unit 106, and provides the control signal to the CPU 101. The CPU 101 controls the processing of each unit of the electronic device 100 based on the control signal provided from the operation unit 106. Therefore, the electronic device 100 can be operated based on the user operation.
[0035] The display control unit 105 generates a display signal (such as an image signal or a drive signal for driving the display unit 110) for causing the display unit 110 to display an image, and outputs the display signal to the display unit 110. The CPU 101 generates a display control signal corresponding to an image to be displayed on the display unit 110, and supplies the display control signal to the display control unit 105. The display control unit 105 generates a display signal based on the display control signal supplied from the CPU 101, and supplies the display signal to the display unit 110. The display unit 110 displays an image on a display surface based on the display signal supplied from the display control unit 105.
[0036] The direction detection unit 107 detects the orientation of the electronic device 100 (the tilt of the display unit 110 (the display surface of the display unit 110); the direction in which the electronic device 100 is facing), and provides the detection result to the CPU 101. In the present embodiment, the direction detection unit 107 notifies the CPU 101 of the direction (elevation angle and azimuth angle) in which the electronic device 100 (the display unit 110 (the display surface of the display unit 110)) is facing as the detection result. The CPU 101 can determine (detect) the orientation (tilt) of the electronic device 100 based on the information provided thereto from the direction detection unit 107, or determine (detect) whether the orientation of the electronic device 100 has changed. As the direction detection unit 107, at least one of a plurality of sensors such as an acceleration sensor, a gyro sensor, a geomagnetic sensor, and an azimuth sensor can be used. As the direction detection unit 107, a combination of a plurality of sensors can also be used. Note that when the display unit 110 is a display device separate from the electronic device 100 , the direction detection unit 107 is provided in the display unit 110 , and an interface for acquiring a detection result from the direction detection unit 107 is provided in the electronic device 100 .
[0037] Figure 2 1 is a diagram showing an example of the configuration of a video transmission system according to the present embodiment. Figure 2 In a video transmission system, an electronic device 100 is connected to a video transmission server 10 via a network 120. The video transmission server 10 stores therein a video (object video) corresponding to the above-mentioned object image. The electronic device 100 sends information related to a display range and a display time position to the video transmission server 10. The display time position is a time position of a display object among a plurality of time positions included in a period from the beginning to the end of the object video. When receiving the information related to the display range and the display time position, the video transmission server 10 extracts image data corresponding to the display range and the display time position from the object video data (video data of the object video), and sends the image data to the electronic device 100. Then, the electronic device 100 displays an image based on the received image data. This processing is performed with each update timing for updating the display on the electronic device 100.
[0038] Note that the image size of the image data extracted by the video delivery server 10 is not particularly limited. The enlargement or reduction of the image may be performed by the video delivery server 10, or may also be performed by the electronic device 100. When the video delivery server 10 enlarges or reduces the image, the image size of the image data extracted by the video delivery server 10 may change. When the video delivery server 10 does not enlarge or reduce the image, the image size of the image data extracted by the video delivery server 10 does not change. The electronic device 100 may also obtain the entire object video data, extract the image data corresponding to the display range and the display time position from the object video data, and display the image data. The object video data may also be obtained from a device different from the video delivery server 10.
[0039] Figure 3 is a diagram showing an example of a screen displayed on the electronic device 100 . Figure 3 The screen in the figure is the screen of the video player. Figure 3 As shown, the screen of the video player has a display area 301, a reproduction button 302, a pause button 303, a stop button 304 and a display position change button 305. The display area 301 is an area where the object video is displayed. The reproduction button 302 receives a user operation for reproducing the object video. The pause button 303 receives a user operation for pausing the object video. The stop button 304 receives a user operation for stopping the object video. The reproduction control (such as reproduction, pause and stop, etc.) is performed by the CPU 101. The display position change button 305 receives a user operation for changing the position of the display range. In other words, in the present embodiment, the user operation performed on the display position change button 305 corresponds to the above-mentioned display position change operation.
[0040] The operation unit 106 generates a control signal based on a user operation of the reproduction button 302, the pause button 303, the stop button 304, the display position change button 305, etc., and supplies the control signal to the CPU 101. Then, the CPU 101 controls the processing of each unit of the electronic device 100 based on the control signal supplied from the operation unit 106. For example, when the reproduction button 302 is operated by the user, the CPU 101 controls based on the control signal so that the display time position is updated in sequence, and information (information related to the display range and the display time position) is sequentially sent to the video delivery server 10. When the pause button 303 is operated by the user, the CPU 101 controls based on the control signal so that the display time position is not updated, and the information is sequentially sent to the video delivery server 10. When the stop button 304 is operated by the user, the CPU 101 controls based on the control signal so that the information is stopped from being sent to the video delivery server 10 to prevent the display of the object video.
[0041] When a user operation is performed on any display position change button 305, the CPU 101 controls based on a control signal supplied from the operation unit 106 so that the display range is updated and information (information on the display range and display time position) is sequentially sent to the video delivery server 10. Figure 3 In the example of , the display position change button 305 includes an up arrow button 305a, a down arrow button 305b, a left arrow button 305c, and a right arrow button 305d. Whenever the up arrow button 305a is operated by the user, the display range moves up by one level, and whenever the down arrow button 305b is operated by the user, the display range moves down by one level. Whenever the left arrow button 305c is operated by the user, the display range moves left by one level, and whenever the right arrow button 305d is operated by the user, the display range moves right by one level.
[0042] Figure 4 (A) to Figure 4 (C) are diagrams each showing an example of a method of determining a display range. Figure 4 (A) to Figure 4 (C) shows an example of forming a hemispherical virtual space 401 by an object video. It is assumed here that when the object video is reproduced by the electronic device 100, the electronic device 100 is located at the center of the reference plane (bottom surface) 402 in the virtual space 401. Note that the shape of the virtual space formed by the object video (object image) is not limited to a hemispherical shape. For example, a completely spherical virtual space can also be formed.
[0043] exist Figure 4 In (A), arrow 403 indicates the direction that electronic device 100 is facing in virtual space 401. The direction of arrow 403 can also be said to be "the direction in which the user is looking (viewing direction; viewpoint direction in virtual space 401)". On the surface of virtual space 401, range 404 in the direction of arrow 403 is determined as the display range. The direction of arrow 403 and the position of display range 404 are represented by azimuth angle θ and elevation angle Φ. Azimuth angle θ is the angle between reference line 405 on reference plane 402 and the line connecting center point T of reference plane 402 and point P reached by a line extending vertically from the center of display range 404 to reference plane 402. Elevation angle Φ is the angle between the line connecting center point T and point P and the line connecting the center of display range 404 and center point T.
[0044] exist Figure 4 In (B), the user points the electronic device 100 at an object 406 in the virtual space 401 (object video). Therefore, a display range 407 including the object 406 is set, and the display range 407 is displayed in the display area 301. Figure 4In (C), the user points the electronic device 100 at the object 408 in the virtual space 401 (object video). Therefore, the display range 409 including the object 408 is set, and the display range 409 is displayed in the display area 301. Figure 4 (B) and Figure 4 As shown in (C), by changing the orientation of the electronic device 100 , the user can freely change the position of the display range (azimuth angle θ and elevation angle Φ), and can view any display range in the display area 301 .
[0045] As also described above, the user can also freely change the position of the display range by performing a user operation on any of the display position change buttons 305 (up arrow button 305a, down arrow button 305b, left arrow button 305c, and right arrow button 305d). For example, whenever the up arrow button 305a is operated by the user, the elevation angle Φ increases by 1 degree, and whenever the down arrow button 305b is operated by the user, the elevation angle Φ decreases by 1 degree. Whenever the left arrow button 305c is operated by the user, the azimuth angle θ increases by 1 degree, and whenever the right arrow button 305d is operated by the user, the azimuth angle θ decreases by 1 degree.
[0046] Note that the object video data forming the hemispherical virtual space 401 is stored in the video delivery server 10. The electronic device 100 uses the communication IF 108 to transmit the information (azimuth angle θ and elevation angle Φ) generated by the direction detection unit 107 to the video delivery server 10. Then, the video delivery server 10 extracts the image data within the display range determined by the azimuth angle θ and the elevation angle Φ based on the information received as the object video data from the electronic device 100 via the network 120. Then, the video delivery server 10 transmits the extracted image data to the electronic device 100 via the network 120. The electronic device 100 uses the communication IF 108 to receive the image data (image data within the display range) transmitted from the video delivery server 10. Then, the CPU 101 of the electronic device 100 generates a display control signal based on the received image data, the display control unit 105 generates a display signal based on the display control signal, and the display unit 110 displays the image based on the display signal. Therefore, the image within the display range is displayed on the display surface of the display unit 110 (in the display area 301). For the process of extracting (generating) image data to be displayed on an electronic device from object video data, various proposed technologies can be used.
[0047] Figure 51 is a diagram showing an example of information (data) transmitted from the electronic device 100 to the video delivery server 10. In the present embodiment, the electronic device 100 transmits the azimuth angle θ and the elevation angle Φ as display range information (information related to the display range). The electronic device 100 also transmits the time period elapsed from the start of the target video to the display time position as display time position information (information related to the display time position). Figure 5 The count value in is counted up with the display update timing and managed by the electronic device 100, wherein the display on the electronic device 100 is updated with the display update timing. The electronic device 100 sends the display range information and the display time position information to the video delivery server 10 every time the count value is counted up.
[0048] exist Figure 5 In the example of , it is assumed that the count value is counted up every minute, that is, the display on the electronic device 100 is updated every minute. At count values 0 to 5, the object video is paused, and the display time position stops at 0:00 (minutes: seconds). At count values 6 and subsequent count values, the object video is reproduced, and the display time position advances second by second starting from 0:01. At count values 0 to 2, the azimuth angle θ and the elevation angle Φ are both 0°, and video data in the direction defined by the azimuth angle θ and the elevation angle Φ is displayed. At count values 3 and subsequent count values, the azimuth angle θ and the elevation angle Φ each change, and the direction of the image data displayed on the electronic device 100 (that is, the position of the display range) changes.
[0049] Figure 6 1 is a flowchart showing an example of display control processing performed in the electronic device 100. The CPU 101 expands the application for the video player stored in the ROM 103 in the RAM 104 and executes the application to achieve Figure 6 The various processing steps in the flowchart. It is assumed here that the object video is predetermined. In addition, the device orientation information L1 indicating the direction (azimuth angle θ1 and elevation angle Φ1) toward which the electronic device 100 (display unit 110 (display surface of the display unit 110)) is facing is referred to as "device orientation information L1 (θ1, Φ1)". In addition, the movement amount information L2 indicating the movement amount (azimuth angle change amount θ2 and elevation angle change amount Φ2) of the display range (viewing direction) moved by the display position changing operation (user operation performed on the display position change button 305) is referred to as "movement amount information L2 (θ2, Φ2)". In addition, the display range information L (information indicating the display range (azimuth angle θ and elevation angle Φ)) to be sent to the video transmission server 10 is referred to as "display range information L (θ, Φ)".
[0050] In the description Figure 6 Before the display control processing in this embodiment ( Figure 6 Description of the problem to be solved in the display control process in . Considered here is a case where the position of the display range can be arbitrarily changed in response to a change in the orientation of the display unit (the inclination of the display surface) and a display position changing operation. In this case, after the position of the display range is changed by changing the inclination of the display surface, the position of the display range can also be changed by performing a display position changing operation. However, after the position of the display range is changed in this way, even if the inclination of the display surface returns to the original inclination, the position of the display range does not return to the original position, and therefore the position of the display range cannot be easily changed to the intended position. In other words, the user cannot change the position of the display range to the intended position by intuitively changing the inclination of the display surface.
[0051] For example, consider the following situation: Figure 7 (A) shows an electronic device facing the horizontal direction in a state where the azimuth angle θ=elevation angle Φ=0°. Figure 7 (B) is tilted upward by 30°. In this case, the display range moves vertically to update the range that satisfies the azimuth angle θ = elevation angle Φ = 0° to the range that satisfies the azimuth angle θ = 0° and the elevation angle Φ = 30°. Then, when the display position change operation is performed, the display range moves further. For example, Figure 7 As shown in (C), the display range moves vertically by a change of Φ2=30°, and the range satisfying the azimuth angle θ=0° and the elevation angle Φ=30° is updated to the range satisfying the azimuth angle θ=0° and the elevation angle Φ=60°. Then, when the electronic device is oriented in the horizontal direction, the change of Φ2=30° remains unchanged, so the display range does not return to the range satisfying the azimuth angle θ=elevation angle Φ=0°, and results in the range satisfying the azimuth angle θ=0° and the elevation angle Φ=30°. Therefore, even when the electronic device is oriented in the horizontal direction, the user cannot return the display range to the range satisfying the azimuth angle θ=elevation angle Φ=0°.
[0052] Therefore, in Figure 6 In the display control processing of , the following processing is performed: based on the movement amount (change amount θ2, Φ2) of the display range by the display position change operation, the movement amount of the display range in response to the change of the inclination of the display surface, etc., is corrected. This makes it possible to easily change the position of the display range to the desired position.
[0053] exist Figure 6 In step S601, the CPU 101 acquires the device orientation information L1 (θ1, Φ1) from the direction detection unit 107 and records the device orientation information L1 (θ1, Φ1) in the RAM 104. Figure 7(B) state, the device orientation information L1 (θ1 = 0°, Φ1 = 30°) is obtained. The CPU 101 also records each of the display range information L (θ, Φ) and the movement amount information L2 (θ2, Φ2) in the RAM 104. In step S601, there is no movement of the display range due to the display position change operation. Therefore, the CPU 101 records each of the display range information L (θ = θ1, Φ = Φ1) and the movement amount information L2 (θ2 = 0°, Φ2 = 0°) in the RAM 104. Then, the CPU 101 sends the display range information L (θ = θ1, Φ = Φ1) and the display time position information as the information at the count value 0 to the video transmission server 10. The display time position information at the count value 0 represents, for example, the time position (0:00) of the leading frame of the object video. Note that the display time position information at the count value 0 may also represent other time positions. For example, information indicating the time position at which the reproduction of the object video was previously stopped may also be used as the display time position information at the count value 0. Such a time position may be managed by at least one of the electronic device 100 and the video delivery server 10 .
[0054] In step S602, the CPU 101 receives image data (image data within the display range) from the video delivery server 10 using the communication IF 108, and records the received image data in the RAM 104. Then, the CPU 101 displays an image (image within the display range) based on the image data stored in the RAM 104 on the display unit 110 using the display control unit 105.
[0055] In step S603, the CPU 101 determines whether a display position changing operation (a user operation performed on any display position changing button 305) is performed. The determination in step S603 can be performed by monitoring a control signal output from the operation unit 106. When it is determined that a display position changing operation is performed, the process proceeds to step S604, and when it is determined that a display position changing operation is not performed, the process proceeds to step S607.
[0056] In step S604, the CPU 101 acquires the movement amount information L2 (θ2, Φ2) corresponding to the display position change operation from the operation unit 106. Then, the CPU 101 updates the movement amount information L2 (θ2, Φ2) stored in the RAM 104 to the movement amount information L2 (θ2, Φ2) acquired from the operation unit 106. Figure 7 In the state (C), the movement amount information L2 (θ2=0°, Φ2=30°) is acquired.
[0057] In step S605, the CPU 101 updates the display range information L(θ, Φ) stored in the RAM 104 based on the device orientation information L1(θ1, Φ1) and the movement amount information L2(θ2, Φ2) stored in the RAM 104. Specifically, using Expressions 1 and 2 shown below, the updated azimuth angle θ and the updated elevation angle Φ are calculated, and the display range information L(θ, Φ) stored in the RAM 104 is updated. Figure 7 (B) Status to Figure 7 When the state of (C) is changed, the updated azimuth angle θ=0° and the updated elevation angle Φ=60° are calculated, and the display range information L (θ, Φ) is updated to the display range information L (θ=0°, Φ=60°).
[0058] θ=θ1+θ2…(Expression 1)
[0059] Φ=Φ1+Φ2…(Expression 2)
[0060] In step S606 , the CPU 101 determines the correspondence relationship (directional correspondence relationship) between the elevation angle Φ1 of the electronic device 100 (display unit 110 (display surface of the display unit 110 )) and the elevation angle Φ of the display range. Figure 8 (A) shows the direction correspondence in the initial state, such as the direction correspondence before the display position change operation is performed or the direction correspondence in the state indicated by the movement amount information L2 (θ2 = 0°, Φ2 = 0°). In the direction correspondence in the initial state, the elevation angle Φ of the display range is equal to the elevation angle Φ1 of the electronic device 100. Figure 7 (B) Status to Figure 7 (C) When the state changes, in step S606, it is determined Figure 8 (B) The direction correspondence shown. Figure 8 The elevation angle Φn at point A in (B) is the elevation angle Φ=Φ1+Φ2=60° (display range information L(θ, Φ)) stored in RAM 104 when step S606 is performed. The elevation angle Φ1n at point A is the elevation angle Φ1=30° (device orientation information L1(θ1, Φ1)) stored in RAM 104 when step S606 is performed.
[0061] Consider using Figure 8(B) A case where the display range is determined by the direction correspondence shown. In this case, the display range is determined so that in response to a change in the tilt of the electronic device 100 (the change makes the direction in which the electronic device 100 (display unit 110 (display surface of the display unit 110)) faces closer to a specified direction), the display range continuously moves to a position corresponding to the tilt of the electronic device 100. In the present embodiment, the specified direction is a horizontal direction (a direction in which the elevation angle Φ1 of the electronic device is 0° or 180°). The “position corresponding to the tilt of the electronic device 100” is a position in which the change amount Φ2 (movement amount information L2 (θ2, Φ2)) is not taken into account and the elevation angle Φ of the display range is equal to the elevation angle Φ1 of the electronic device 100.
[0062] Note that by Figure 8 The elevation angle Φ represented by the direction correspondence in (B) is the elevation angle obtained by correcting the elevation angle Φ1 based on the change Φ2. Figure 8 The directional correspondence in (B) can also be said to be "a correspondence for correcting the change in the elevation angle Φ caused by the change in the elevation angle Φ1 based on the change Φ2". Note that the change Φ2 can also be said to be "the amount of movement of the display range in the virtual direction (elevation direction) by the display position change operation". The change in the elevation angle Φ caused by the change in the elevation angle Φ1 can also be said to be "the amount of movement of the display range in the vertical direction (elevation direction) in response to the change in the tilt of the display surface in the elevation direction".
[0063] In step S607, the CPU 101 acquires the device orientation information L1 (θ1, Φ1) from the direction detection unit 107 and records the device orientation information L1 (θ1, Φ1) in the RAM 104 (updates the device orientation information L1 (θ1, Φ1)). At this time, the CPU 101 determines whether the tilt of the electronic device 100 (display unit 110 (display surface of the display unit 110)) has changed. In the present embodiment, the CPU 101 determines whether the tilt of the electronic device 100 has changed by an amount of change greater than a threshold value. Specifically, the CPU 101 compares the device orientation information L1 (θ1, Φ1) before the update with the device orientation information L1 (θ1, Φ1) after the update to determine whether the amount of change in the elevation angle Φ1 is greater than the threshold value. When it is determined that the amount of change in the elevation angle Φ1 is greater than the threshold value, the processing proceeds to step S608, and when it is determined that the amount of change in the elevation angle Φ1 is equal to or less than the threshold value, the processing proceeds to step S613.
[0064] Note that the threshold value may be zero or may be greater than zero. The threshold value may or may not be a value predetermined by a manufacturer or the like. For example, the threshold value may also be a value specified by a user (variable value). In the present embodiment, when the elevation angle Φ1 does not change even if the azimuth angle θ1 changes, it is determined that the tilt of the electronic device 100 has not changed. However, in this case, it may also be determined that the tilt of the electronic device 100 has changed. In other words, it may also be possible to further consider the change in the azimuth angle θ1 to determine whether the tilt of the electronic device 100 has changed.
[0065] In step S608, the CPU 101 determines whether to reset the movement amount information L2 (θ2, Φ2) (the movement amount by which the display range is moved by the display position change operation). In the present embodiment, the CPU 101 displays a confirmation screen on the display surface to determine whether to reset the movement amount information L2 (θ2, Φ2) using the display control unit 105. Then, the CPU 101 determines whether to reset the movement amount information L2 (θ2, Φ2) in response to the user operation in response to the confirmation screen. Fig. 9 An example of a reconfirmation screen is shown. The confirmation screen 901 is superimposed and displayed on the screen of the video player ( Figure 3 ). In order to inquire whether the user wants to reset the movement amount information L2 (θ2, Φ2), the confirmation screen 901 displays a message such as "Do you want to reset the viewpoint change performed by the screen operation?" In addition, the confirmation screen 901 displays a yes button 902 and a no button 903. When the movement amount information L2 (θ2, Φ2) is to be reset, the user presses the yes button 902, and when the movement amount information L2 (θ2, Φ2) is not to be reset, the user presses the no button 903. The pressing of the yes button 902, the no button 903, etc. is reported from the operation unit 106 to the CPU 101. When it is determined that the movement amount information L2 (θ2, Φ2) is to be reset, the processing proceeds to step S612. When it is determined that the movement amount information L2 (θ2, Φ2) is not to be reset, the processing proceeds to step S609. Therefore, in the present embodiment, one of the processing in S609 and the processing in S612 is selected and performed.
[0066] Note that the method of selecting one of the processing in step S609 and the processing in step S612 is not limited to the method of displaying the confirmation screen described above. Figure 6 When the display control process of the display control process is started, the process to be performed (one of the process in step S609 and the process in step S612) is set in advance. It is also possible that the process always proceeds from step S608 to step S609 without involving the selection of one of the process in step S609 and the process in step S612. It is also possible that the process always proceeds from step S608 to step S612.
[0067] In step S609, the CPU 101 obtains the elevation angle Φ corresponding to the elevation angle Φ1 (the device orientation information L1 (θ1, Φ1) after the update in step S607) stored in the RAM 104 from the direction correspondence determined in step S606. For example, when the elevation angle Φ1 is determined in step S606, Figure 8 (B) When the direction correspondence is obtained and the elevation angle Φ1=15° is stored in RAM104, the elevation angle Φ=30° of point B is acquired. Then, CPU 101 updates the display range information L(θ, Φ) stored in RAM 104 so that the acquired elevation angle Φ is shown. As a result, the change in the elevation angle Φ caused by the change in the elevation angle Φ1 is corrected based on the change Φ2, so that the display range moves with the corrected change (the change in the elevation angle Φ). When the electronic device 100 (display unit 110 (display surface of the display unit 110)) is oriented in the horizontal direction (specified direction), the change Φ2 is not reflected, and the display range based on the elevation angle Φ1 is determined (the display range that satisfies the elevation angle Φ=Φ1).
[0068] In step S610, the CPU 101 determines whether the electronic device 100 (display unit 110 (display surface of the display unit 110)) is oriented in the horizontal direction (specified direction). Specifically, the CPU 101 determines whether the elevation angle Φ after updating in step S609 has a reference value (0° or 180°). In the direction correspondence determined in step S606 ( Figure 8 (B)), when the elevation angle Φ of the display range has a reference value, the elevation angle Φ of the display range is equal to the elevation angle Φ1 of the electronic device 100. Therefore, when the elevation angle Φ updated in step S609 has the reference value, the electronic device 100 is oriented in the horizontal direction. When it is determined that the elevation angle Φ has the reference value, the process proceeds to step S611, and when it is determined that the elevation angle Φ does not have the reference value, the process proceeds to step S613.
[0069] In step S611, the CPU 101 updates (initializes) the movement amount information L2 (θ2, Φ2) stored in the RAM 104 to the movement amount information L2 (0, 0). In addition, the CPU 101 returns (initializes) the direction correspondence relationship from the direction correspondence relationship determined in step S606 to Figure 8 Direction correspondence in (A). In other words, the CPU 101 resets the movement amount information L2 (θ2, Φ2) and the direction correspondence.
[0070] After the processing in step S612, the processing in step S611 (resetting of the movement amount information L2 (θ2, Φ2)) is inevitably performed. Therefore, in step S612, the CPU 101 updates the display range information L (θ, Φ) stored in the RAM 104 to the device orientation information L1 (θ1, Φ1) stored in the RAM 104. In other words, the CPU 101 updates the display range information L (θ, Φ) to information that does not reflect the movement amount information L2 (θ2, Φ2).
[0071] In step S613, the CPU 101 determines whether a stop operation (a user operation on the stop button 304) has been performed. The determination in step S613 can be performed by monitoring a control signal output from the operation unit 106. When it is determined that a stop operation has been performed, the CPU 101 uses the display control unit 105 to end the display of the target video and ends the video. Figure 6 When it is determined that the stop operation is not performed, the process proceeds to step S614.
[0072] In step S614, the CPU 101 updates the display time position information. Specifically, the CPU 101 determines whether a reproduction operation (a user operation performed on the reproduction button 302) or a pause operation (a user operation performed on the pause button 303) has been performed. This determination can be made by monitoring the control signal output from the operation unit 106. Then, during the period after the reproduction operation is performed and before the pause operation is performed, the CPU 101 sequentially updates the display time position information so that the display time position advances to increase the time period from the start of the object video to the display time position. Note that during the period after the pause operation is performed and before the reproduction operation is performed, the CPU 101 does not update the display time position information.
[0073] In step S615 , the CPU 101 increments the count value by one.
[0074] In step S616, the CPU 101 transmits the display time position information updated in step S614 and the display range information L (θ, Φ) stored in the RAM 104 to the video delivery server 10 as information on the count value updated in step S615.
[0075] As described above, according to the present embodiment, based on the movement amount of the display range by the display position change operation, the following processing is performed: the movement amount by which the display range moves in response to the change in the inclination of the display surface, etc. is corrected. This makes it possible to easily change the position of the display range to a desired position. For example, even after the position of the display range is changed by the display position change operation, by returning the inclination of the display surface to the original inclination, the position of the display range can be returned to the original position.
[0076] Although the following example is described: based on the change amount Φ2 (the change amount of the elevation angle Φ of the display range) caused by the display position change operation, the change amount of the elevation angle Φ of the display range caused by the change of the elevation angle Φ1 of the display surface is corrected, but the correction is not limited to this. For example, the change amount of the azimuth angle θ of the display range caused by the change of the azimuth angle θ1 of the display surface can also be corrected based on the change amount θ2 (the change amount of the azimuth angle θ of the display range) caused by the display position change operation. Only one of the azimuth angle θ and the elevation angle Φ can be appropriately corrected, or alternatively, both the azimuth angle θ and the elevation angle Φ can be appropriately corrected. In addition, the specified direction may be a direction different from the horizontal direction. For example, the specified direction may be a direction in which the azimuth angle θ1 is 90°, or alternatively, the specified direction may be a direction satisfying the azimuth angle θ1=elevation angle Φ1=45°.
[0077] It is also possible that, when the display surface is facing a specified direction (such as a horizontal direction, etc.), the CPU 101 does not change the position of the display range in response to the display position change operation. By doing so, even when the display position change operation is accidentally performed, the user can continue to watch along the specified direction.
[0078] <Second Embodiment>
[0079] A second embodiment of the present invention will be described below. Note that a detailed description will be given below of points different from the first embodiment such as configuration or processing, and description of points common to the first embodiment will be omitted.
[0080] In the present embodiment, the direction detection unit 107 also detects the posture (posture) of the user of the electronic device 100 (posture detection). Specifically, the direction detection unit 107 detects the height H at which the electronic device 100 is located using a gyro sensor. Fig.10 An example of the correspondence between the height H at which the electronic device 100 is located and the user's posture is shown. Fig.10 As shown, when the user's posture changes between standing, sitting, lying, etc., the height H at which the electronic device 100 is located will also change. Therefore, it can be said that the height at which the electronic device 100 is located is a "parameter corresponding to the user's posture". When the user's posture changes, it is very likely that the user intends to perform the display position change operation again. Therefore, in the present embodiment, the CPU 101 determines whether the user's posture has changed based on the detection result from the direction detection unit 107, and when it is determined that the user's posture has changed, the CPU 101 appropriately resets the movement amount information L2 (θ2, Φ2).
[0081] Fig.111 is a flowchart showing an example of display control processing according to the present embodiment. The CPU 101 expands the application for the video player stored in the ROM 103 in the RAM 104 and executes the application, thereby realizing Fig.11 The individual processing steps in the flowchart.
[0082] The processing steps in steps S1101 to S1112 are the same as Figure 6 The processing steps in steps S601 to S612 are the same.
[0083] In step S1113, the CPU 101 uses the direction detection unit 107 to determine whether the user's posture (posture) has changed. In the present embodiment, the CPU 101 determines whether the user's posture has changed by a change amount greater than a threshold value. Specifically, the direction detection unit 107 detects the height H at which the electronic device 100 is located and reports the height H to the CPU 101. Then, the CPU 101 determines whether the change amount of the reported height H (such as the change amount from the previously reported height H or the change amount per given time period, etc.) is greater than a threshold value. When it is determined that the change amount of the height H is greater than the threshold value, the processing proceeds to step S1114, and when it is determined that the change amount of the height H is equal to or less than the threshold value, the processing proceeds to step S1119. Note that the threshold value may be zero or may be greater than zero. The threshold value may or may not be a value predetermined by a manufacturer, etc. For example, the threshold value may also be a value (variable value) specified by the user.
[0084] The processing steps in steps S1114 to S1122 are the same as Figure 6 The processing steps in steps S608 to S616 are the same.
[0085] As described above, according to the present embodiment, when it is determined that the user's posture has changed, there is a high probability that the user intends to perform the display position change operation again, and thus the movement amount information L2 (θ2, Φ2) is appropriately reset. This can improve convenience.
[0086] Note that each of the various control operations described above assumed to be performed by CPU 101 may also be performed by one hardware item, or alternatively, a plurality of hardware items (eg, a plurality of processors or circuits) may share the processing to control the entire device.
[0087] Although the present invention has been described in detail based on the preferred embodiments of the present invention, the present invention is not limited to these specific embodiments and includes various forms within the scope of the spirit of the present invention. In addition, the above-mentioned embodiments only illustrate embodiments of the present invention, and the embodiments can also be appropriately combined.
[0088] <Other embodiments>
[0089] The present invention can also be implemented by the following process, wherein a program that implements one or more functions of the above-mentioned embodiments is provided to a system or device via a network or storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be implemented by a circuit (e.g., ASIC) that implements one or more functions.
[0090] The present invention is not limited to the above-described embodiments, and various changes and modifications may be made without departing from the spirit and scope of the present invention. Therefore, the claims are made to disclose the scope of the present invention.
[0091] This application claims the benefit of Japanese Patent Application No. 2019-051262, filed on March 19, 2019, which is hereby incorporated by reference herein in its entirety.
[0092] [reference numerals list]
[0093] 100 Electronic devices
[0094] 101 CPU
[0095] 106 Operating Units
[0096] 107 Direction detection unit
Claims
1. An electronic device, include: a tilt detection unit configured to detect a tilt of the display surface; A touch detection unit configured to detect a user touch operation position on the display surface; as well as a control unit configured to control to display a portion of the image on the display surface as a display range, to change the position of the display range in response to a change in the inclination of the display surface, and to change the position of the display range in response to a change in a user touch operation position on the display surface, Wherein, when the display surface is tilted toward a specified direction, the control unit corrects the position of the display range based on a first movement amount of the display range due to a change in a user touch operation position on the display surface, so that the display range corresponds to the tilt of the display surface and does not reflect the first movement amount.
2. The electronic device according to claim 1, in, The designated direction is a horizontal direction.
3. The electronic device according to claim 1 or 2, in, The control unit does not change the position of the display range in response to a change in a user touch operation position on the display surface in a state in which the display surface is tilted toward the specified direction.
4. The electronic device according to claim 1 or 2, in, The control unit determines the display range so that, in response to a change in the tilt of the display surface that brings the tilt of the display surface toward a direction closer to the designated direction, the display range continuously moves to a position corresponding to the tilt of the display surface.
5. The electronic device according to claim 1 or 2, in, The first movement amount is the movement amount in the vertical direction, and The control unit corrects, based on the first movement amount, a second movement amount by which the display range moves in the vertical direction in response to a change in the tilt of the display surface in the elevation direction.
6. The electronic device according to claim 1 or 2, in, In the event that the inclination of the display surface changes, the control unit selectively performs one of a process for moving the display range by a second movement amount and a process for resetting the first movement amount and determining the display range, wherein the second movement amount is an amount by which the display range moves in response to the change in the inclination of the display surface.
7. The electronic device according to claim 6, in, The case where the inclination of the display surface changes is a case where the inclination of the display surface changes by a change amount larger than a threshold value.
8. The electronic device according to claim 6, in, The control unit controls to display a confirmation screen on the display surface regarding whether to reset the first movement amount, when the inclination of the display surface changes.
9. The electronic device according to claim 1 or 2, further comprising: include: a gesture detection unit configured to detect a user's gesture, In which, when the user's posture changes, the control unit selectively performs one of a process for moving the display range by a second movement amount and a process for resetting the first movement amount and determining the display range, wherein the second movement amount is the movement amount by which the display range moves in response to a change in the inclination of the display surface.
10. The electronic device according to claim 9, in, The posture detection unit detects a height at which the electronic device is located as a parameter corresponding to the user's posture.
11. The electronic device according to claim 9, in, The case where the user's posture changes is a case where the user's posture changes by a change amount larger than a threshold value.
12. The electronic device according to claim 9, in, The control unit controls to display a confirmation screen on the display surface regarding whether to reset the first movement amount when the user's posture changes.
13. The electronic device according to claim 1 or 2, in, The image is a virtual reality image, namely a VR image.
14. A method for controlling an electronic device, include: A tilt detection step for detecting the tilt of the display surface; A touch detection step for detecting a user touch operation position on the display surface; as well as a control step for controlling to display a portion of the image on the display surface as a display range, to change the position of the display range in response to a change in the inclination of the display surface, and to change the position of the display range in response to a change in a user touch operation position on the display surface, Wherein, when the inclination of the display surface is toward a specified direction, in the control step, the position of the display range is corrected based on a first movement amount of the display range due to a change in the user touch operation position on the display surface, so that the display range corresponds to the inclination of the display surface and does not reflect the first movement amount.
15. A computer-readable storage medium storing a program for causing a computer to execute the control method according to claim 14.
