WO2022161340A1 - 图像显示方法、装置及电子设备 - Google Patents

图像显示方法、装置及电子设备 Download PDF

Info

Publication number
WO2022161340A1
WO2022161340A1 PCT/CN2022/073686 CN2022073686W WO2022161340A1 WO 2022161340 A1 WO2022161340 A1 WO 2022161340A1 CN 2022073686 W CN2022073686 W CN 2022073686W WO 2022161340 A1 WO2022161340 A1 WO 2022161340A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
display
input
preview
target object
Prior art date
Application number
PCT/CN2022/073686
Other languages
English (en)
French (fr)
Inventor
肖仪
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022161340A1 publication Critical patent/WO2022161340A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to an image display method, an apparatus, and an electronic device.
  • users can use the camera of the electronic device to capture images, for example, to capture landscapes, capture portraits, and the like.
  • electronic devices can usually use a zoom lens to focus on a certain subject and then shoot, but it is difficult to take into account the scope of the shooting scene.
  • the portrait in the landscape image may be smaller and less sharp due to the characteristics of the ultra-wide-angle lens itself.
  • the portrait image is often blurred, the details are not clear enough, and the image quality is poor. That is, the traditional shooting method cannot take into account the clarity of the subject and the scope of the shooting scene, which may result in a blurred subject in the image and poor imaging effect.
  • the purpose of the embodiments of the present application is to provide an image display method, device and electronic device, which can solve the problem that the traditional shooting method cannot take into account the clarity of the subject and the scope of the shooting scene, which may cause the subject in the image to be blurred and the imaging effect. worse problem.
  • an embodiment of the present application provides an image display method, the method includes: receiving a first input, where the first input is an input for viewing a target object in a currently displayed first image; responding to the first input , the first image is switched and displayed as a second image, the second image includes the target object, the first image and the second image are images captured by cameras with different focal lengths; wherein, the target object is displayed in the second image
  • the display size in is different from the display size of the target object in the first image.
  • an embodiment of the present application provides an image display device, the device includes: a receiving module and a display module; the receiving module is configured to receive a first input, where the first input is to view an image in a currently displayed first image. input of the target object; a display module, configured to switch and display the first image to a second image in response to the first input received by the receiving module, the second image including the target object, the first image and the first image
  • the two images are images captured by cameras with different focal lengths; wherein the display size of the target object in the second image is different from the display size of the target object in the first image.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor.
  • the program or instruction is executed by the processor, the The steps of the method of the first aspect.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
  • an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the method of the first aspect.
  • the electronic device receives a first input for viewing the target object in the currently displayed first image, and in response to the first input, switches and displays the first image as the first image including the target object.
  • Two images wherein the first image and the second image are images captured by cameras with different focal lengths, and the display size of the target object in the second image is different from the display size of the target object in the first image .
  • the user can obtain the first image and the second image containing the target object respectively through cameras with different focal lengths, and make the display size of the target object in the second image different from the display size in the first image, for example,
  • the display size of the target object in the second image is larger than the display size in the first image.
  • FIG. 1 is one of the schematic diagrams of an image display method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an operation of displaying a second image by an electronic device according to an embodiment of the present application
  • FIG. 3 is the second schematic diagram of an image display method provided by an embodiment of the present application.
  • FIG. 4 is a third schematic diagram of an image display method provided by an embodiment of the present application.
  • FIG. 5 is one of the schematic diagrams of displaying a first preview image and an image identifier by an electronic device according to an embodiment of the present application
  • FIG. 6 is a fourth schematic diagram of an image display method provided by an embodiment of the present application.
  • FIG. 7 is the second schematic diagram of an electronic device displaying a first preview image and an image identifier according to an embodiment of the present application
  • FIG. 8 is a fifth schematic diagram of an image display method provided by an embodiment of the present application.
  • FIG. 9 is one of the schematic structural diagrams of an image display device provided by an embodiment of the present application.
  • FIG. 10 is a second schematic structural diagram of an image display device provided by an embodiment of the application.
  • FIG. 11 is one of the hardware schematic diagrams of the electronic device provided by the embodiment of the application.
  • FIG. 12 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.
  • first”, “second” and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein.
  • the objects distinguished by “first”, “second”, etc. are usually one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the image display method provided by the embodiment of the present application can be applied to: a user uses one focal length of a zoom camera to shoot a landscape image, and then uses another focal length of the camera to shoot a portrait in the landscape, so that the portrait image is relatively blurred and the details are not clear enough, in scenes with poor image quality.
  • the electronic device may receive a first input for viewing the target object in the currently displayed first image, and in response to the first input, switch the display of the first image to a second image including the target object , wherein the first image and the second image are images captured by cameras with different focal lengths, and the display size of the target object in the second image is different from the display size of the target object in the first image.
  • the user can obtain the first image and the second image containing the target object respectively through cameras with different focal lengths, and make the display size of the target object in the second image different from the display size in the first image, for example,
  • the display size of the target object in the second image is larger than the display size in the first image.
  • a second image with a clearer target object and better shooting effect can be obtained, so that the user can trigger the electronic device to display the second image containing more details and clearer by inputting when viewing the specific details of the target object.
  • Check In order to achieve the purpose of taking into account the clarity of the target object and the scope of the shooting scene, it is convenient for the user to use, and the user experience is improved.
  • an embodiment of the present application provides an image display method, and the method may include the following steps 101 and 102 .
  • Step 101 The electronic device receives a first input.
  • the above-mentioned first input is an input for viewing the target object in the currently displayed first image.
  • the above-mentioned target object is an image of a photographed subject (also known as a photographed object, or a photographed object) in the photographed image.
  • a photographed subject also known as a photographed object, or a photographed object
  • the user can use an electronic device to take a photo of friend A in the park (for example, the first image), then the image of friend A in the photo is the target object, and the Friend A himself is the subject of the photo.
  • the user before receiving the first input, the user can trigger the electronic device to display the first image on its screen through other inputs, so that the user can view the currently displayed first image through the first input. , and then view the target object in the first image.
  • the above-mentioned first input is an input for viewing the target object in the currently displayed first image.
  • the first input may be a user touch input of a viewing control displayed on the interface, where the viewing control is used to view the currently displayed first image, and the viewing control may be a viewing control of an electronic device, or may For a control based on the viewing function of an application (eg, a photo album application), the touch input may be a user's single click, double click, two-finger sliding, dragging in a preset direction, etc. on the viewing control.
  • the first input may also be a user's touch operation input on the interface currently displaying the first image, wherein the touch operation input is for the user to view details in the first image (eg, to view the target object), and the touch operation input
  • the input for zooming in and viewing the first image may be, for example, the user slides two fingers against each other, the user double-clicks with one finger, and the user moves one finger along a preset trajectory. Specifically, it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.
  • Step 102 The electronic device switches and displays the first image to the second image in response to the first input.
  • the second image includes a target object
  • the first image and the second image are images captured by cameras with different focal lengths.
  • the display size of the target object in the second image is different from the display size of the target object in the first image.
  • the difference between the display size of the target object in the second image and the display size of the target object in the first image specifically includes the following two types: the target object is displayed in the second image.
  • the display size in the image is larger than the display size in the first image; or, the display size of the target object in the second image is larger than the display size in the first image.
  • the user can adaptively adjust the display size of the target object in the second image according to actual use requirements. For example, if the user wants to highlight the detailed features of the target object, the display size of the target object in the second image can be made larger than the first image.
  • the display size in the image ie, showing a larger and clearer image of the target object to see details clearly and easily).
  • the display size of the target object in the second image can be made smaller than the display size in the first image (that is, the smaller target object is displayed while making the display size of the target object smaller than that in the first image. more environment into the shooting range for easy viewing of environmental features).
  • the specific can be determined according to the actual use requirements.
  • the display size of the target object in the second image is larger than the display size in the first image as an example for illustrative description, which does not constitute a limitation of the present application.
  • the above-mentioned first image and second image are images captured by cameras with different focal lengths, which specifically include two methods: method A, the electronic device uses the same camera (for example, a zoom camera) and uses different The focal length is used to capture a first image and a second image of the target object, respectively.
  • Mode B the electronic device uses different cameras (for example, the first camera and the second camera described below) and uses different focal lengths to capture the first image and the second image of the target object respectively.
  • a first camera is used to capture a first image
  • a second camera is used to capture a second image.
  • the mode A since the mode A uses one camera to complete the shooting, the shooting time of the first image and the second image is in sequence, and the user can adjust the shooting between the two images according to the actual use requirements. interval (for example, shorten the capture time interval between two images to 60ms, etc.).
  • the capture moments of the first image and the second image may be the same or different, which may be determined according to the actual usage requirements of the user.
  • the display size of the above-mentioned target object in the second image is larger than the display size in the first image.
  • different ways are adopted according to the above-mentioned ways A and B.
  • the focal length of the first image is smaller than the focal length of the second image.
  • the electronic device uses a camera with a focal length of 70mm-120mm to capture images, captures a first image of a car Q (that is, a target object) with a focal length of 80mm, and captures a second image of the same car Q with a focal length of 120mm.
  • the image in this way, can make the display size of the car Q in the second image larger than the display size of the car Q in the first image.
  • the first image and the second camera are respectively taken for the target object.
  • the focal length range of the first camera that captures the first image is smaller than the focal length range that captures the second image, that is, the maximum focal length of the first camera is smaller than the minimum focal length of the second camera.
  • the first image is the image of the car Q captured by the first camera
  • the second image is the image of the car Q captured by the second camera. If it is a common mid-focus lens (focal length is 70mm-120mm), the display size of the car Q in the second image can be made larger than the display size of the car Q in the first image.
  • the shooting moments of the first image and the second image are the same.
  • the first image is an image captured by a first camera
  • the second image is an image captured by a second camera
  • the maximum focal length of the first camera is smaller than the minimum focal length of the second camera
  • cameras can be divided into the following three categories according to the range of focal length:
  • Wide-angle lens (focal length range: less than 45mm): Wide-angle lenses are roughly divided into two categories: ordinary wide-angle lenses and ultra-wide-angle lenses.
  • the focal length of ordinary wide-angle lenses is between 24mm-45mm;
  • the focal length of ultra-wide-angle lenses is generally less than 24mm, and there is a special fisheye.
  • the lens, the focal length is even just a few millimeters.
  • Wide-angle lenses are generally used to capture expansive occasions or landscapes.
  • Medium focal length lens (focal length range: 50mm-135mm): including zoom lens and fixed focal length lens, common medium focus zoom lens is the lens with focal length 70mm-120mm; and fixed focal length lens includes: 50mm standard lens, 85mm portrait lens , 100mm macro lens, 135mm portrait lens, etc. Standard lenses are usually used for most scenes and subjects because they are very close to what the human eye sees.
  • Telephoto lens (focal length range: more than 200mm): Telephoto lens is divided into two types: telephoto and super telephoto.
  • the focal length of telephoto is between 200-300mm, which is suitable for shooting close-ups, stages, etc.;
  • the focal length of the focal length is more than 400mm, and it is often used to shoot birds and wild animals that cannot be approached, as well as games in large stadiums.
  • the display size of the target object in the second image is larger than that in the second image. Display size in this first image. If the focal length of the first camera when capturing the first image is greater than the focal length of the second camera when capturing the second image, the display size of the target object in the second image is smaller than the display size in the first image.
  • the focal length when the first camera captures the first image is smaller than the focal length when the second camera captures the second image, and the focal length when the first camera captures the first image is described in detail.
  • a focal length smaller than the focal length when the second camera captures the second image is just the opposite of this case, and will not be repeated here.
  • the focal length when the first camera captures the first image is smaller than the focal length when the second camera captures the second image, which may specifically include the following two cases: Case 1, the first camera and the second camera When the two cameras use zoom cameras with the same range, the focal length of the first camera to capture the first image needs to be smaller than the focal length of the second camera to capture the second image. In case 2, when the first camera and the second camera use cameras of different ranges, the maximum focal length of the first camera needs to be smaller than the minimum focal length of the second camera.
  • the specific implementation methods for selecting the first camera and the second camera include the following four methods:
  • the second camera may be any other lens except the ultra-wide-angle lens.
  • the second camera can be selected within the range of a medium-focus lens or a telephoto lens (including a super-telephoto lens).
  • Mode 3 If the first camera is a mid-focus lens, the second camera is a telephoto lens (including an ultra-telephoto lens).
  • the second camera can only be a super telephoto lens.
  • the following embodiments take the first camera as a wide-angle lens
  • the second camera is a mid-focus lens (that is, the above-mentioned method 2) as an example for illustration, which does not constitute a limitation to the present application.
  • the electronic device can capture the first image through the first camera and capture the second image through the second camera, and the focal length when the first camera captures the first image is smaller than the focal length when the second camera captures the second image , so the display size of the target object in the second image can be made larger than the display size in the first image.
  • the target object in the second image can be made clearer and the shooting effect is better, so that the user can view the clear image of the target object through the second image, which is convenient for the user to use and improves the user's use experience.
  • the above-mentioned first image and the second image are images with an association relationship.
  • the association relationship includes: the target object in the first image and the target object in the second image are The same target object, and the display size of the target object in the second image is larger than the display size in the first image.
  • the association relationship may also be determined according to the actual use requirements of the user, which is not specifically limited in the embodiment of the present application.
  • the association relationship may further include: the first image and the second image are captured at the same time.
  • FIG. 2 is a schematic diagram of the operation of the electronic device to display the second image.
  • the viewing interface also displays switching A control 002 is displayed, which is used to switch and display the associated image of the currently displayed image (ie, the magnified image including the "little man” shot at different focal lengths).
  • the user can click the control 002 to trigger the electronic device to respond to the single-click input (ie, the first input), as shown in (b) of FIG. 2 , to switch and display an image 003, which is captured at another focal length
  • the user can view the image details of the "little man” according to the image 003.
  • An embodiment of the present application provides a display manner, in which an electronic device receives a first input for viewing a target object in a currently displayed first image, and in response to the first input, switches and displays the first image to include the target
  • the second image of the object wherein the first image and the second image are images captured by cameras with different focal lengths, and the display size of the target object in the second image is the same as the size of the target object in the first image Display size is different.
  • the image display method provided by this embodiment of the present application further includes the following steps 103 to 105 .
  • Step 103 The electronic device displays the first preview image on the shooting preview interface, and displays the image identifier.
  • the above-mentioned image identification is used to indicate the collection range of the second image.
  • the electronic device collects the first preview image through the first camera, and collects the second preview image through the second camera.
  • the maximum focal length of the first camera is smaller than the minimum focal length of the second camera.
  • the first camera is a wide-angle lens (focal length range: less than 45mm)
  • the second camera is a mid-focus lens (focal length range: 50mm-135mm).
  • the preview image collected by the first camera includes the target object
  • the second preview image collected by the second camera also includes the target object
  • the display size of the target object in the second preview image is larger than that in the first preview image. Display size in preview image.
  • the “displaying the image identification” in the above step 103 may be implemented in the following manner 1 or manner 2, and one of the two manners may be selected for execution, and the details are as follows:
  • the electronic device may display the entire second preview image as an image identification. That is, the electronic device can display the first preview image in one area (eg, the following first area) of the shooting preview interface, and display the second preview image in another area (eg, the following second area) of the shooting preview interface .
  • step 103 may be specifically implemented by the following step 103 a.
  • Step 103a the electronic device displays the first preview image in the first area of the shooting preview interface, and displays the second preview image in the second area of the shooting preview interface.
  • the above image is identified as a second preview image, and the second preview image corresponds to the second image.
  • the above image is identified as the entire second preview image. That is, the first preview image collected by the first camera is displayed in the first area in real time, and the second preview image collected by the second camera is displayed in the second area in real time.
  • the above-mentioned first area and second area are areas in the shooting preview interface of the electronic device.
  • the first area may include the second area (that is, the second area is in the first area. within the range of the first area, for example, the first area is the entire shooting preview interface, and the second area may be a part of the first area), the first area may also be adjacent to the second area and have no intersection, the first area It can also be an area in the second area. That is, the first area and the second area may overlap in whole or in part.
  • the relationship between the first area and the second area can be determined according to actual usage requirements, which is not specifically limited in this application. The above is only a simple example, which does not constitute a limitation on its specific implementation.
  • the user when the first preview image is displayed in the first area of the shooting preview interface, and the second preview image is displayed in the second area of the shooting preview interface, the user can input the adjustment through the first target.
  • the focal length of the first camera and/or the second camera so that the target object in the first preview image and the target object in the second preview image meet the needs of the user.
  • the first target input may specifically be an input for adjusting the focal length of the first camera and/or the second camera.
  • the first control for adjusting the focal length of the first camera
  • the second control displayed on the screen of the electronic device may be used. (for adjusting the focal length of the second camera) adjustment.
  • FIG. 5 is one of the schematic diagrams in which the electronic device displays the first preview image and the image identification.
  • the electronic device 00 can capture the first preview image through the first camera, and capture the second preview image through the second camera, as shown in FIG. ) displays the first preview image, and displays the second preview image in area 005 (ie, the second area).
  • the user can trigger the electronic device 00 to capture the first image according to the first preview image, and capture the second image according to the second preview image. Subsequently, as shown in (a) of FIG.
  • the viewing interface also Display toggle indicator 002.
  • the user can click the control 002 to trigger the electronic device to respond to the single-click input (ie, the first input), as shown in (b) of FIG. 2, to switch and display the image 002, which is captured at another focal length A clear zoomed-in image that contains the "little man”.
  • the user can view the image details of the "little man” according to the image 002 .
  • the electronic device can display the first preview image in the first area of the shooting preview interface, and display the second preview image in the second area of the shooting preview interface.
  • the electronic device can display the first preview image in the first area of the shooting preview interface, and display the second preview image in the second area of the shooting preview interface.
  • the user can adjust the focal length of the first camera or the second camera according to the actual use requirements, so that the user's needs can be met when the user triggers the electronic device to perform a shooting operation.
  • the first image and the second image are used, which is convenient for the user to use and improves the user's use experience.
  • the electronic device may display an image identification (eg, the following frame selection mark) on the first preview image, and the first preview image and the image in the frame selection area of the image identification are the same as the second preview image. That is, the electronic device can use the image identifier to indicate the range of the image captured by the second camera.
  • an image identification eg, the following frame selection mark
  • step 103 may be specifically implemented by the following step 103 b.
  • Step 103b the electronic device displays the first preview image on the shooting preview interface, and displays the image identifier on the first preview image.
  • the image in the area framed by the image identifier is the same as the collection range of the second preview image.
  • the above-mentioned image identification may be a frame selection identification, and the image of the frame selection identification in the area selected by the frame in the first image is the same as the second preview image.
  • the frame selection mark may be a rectangular frame, a diamond frame, a circular frame and other possible plane geometric shapes, and the border line of the frame selection mark may be any of the following: thick solid line, wavy line, dot-dash line , double-dot-dash line, thin solid line, etc. Specifically, it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.
  • the image in the area framed by the image identifier is the same as the second preview image, and both contain the target object.
  • the above-mentioned image identifier (for example, a frame selection identifier) is essentially used to identify the range of the image captured by the enemy camera. Since the maximum focal length of the first camera is smaller than the minimum focal length of the second camera, the range of the first preview image including the target object collected by the first camera includes the range of the second preview camera including the target object collected by the second camera, In this way, in order to represent the relationship between the collection range of the second preview image and the first preview image, the above-mentioned frame selection mark may be used for identification. That is, the frame selection mark is used to mark the range and position of the image collected by the second camera in the image collected by the first camera.
  • the user can adjust the first camera and/or the second camera through the second target input.
  • the focal length of the camera so that the target object in the first preview image and the target object in the second preview image meet the needs of the user.
  • the second target input may specifically be an input for adjusting the focal length of the first camera and/or the second camera.
  • the third control for adjusting the focal length of the first camera
  • the fourth control displayed on the screen of the electronic device may be used. Controls (for adjusting the focal length of the second camera) adjustment.
  • FIG. 7 is the second schematic diagram of the electronic device displaying the first preview image and the image identification.
  • the electronic device 00 can capture the first preview image through the first camera and capture the second preview image through the second camera, as shown in FIG. 7 , the electronic device 00 can display the first preview in the area 004 of the shooting preview interface.
  • the first preview image displays a logo 007, where the logo 007 is used to identify the range and position of the image captured by the second camera in the first preview image.
  • the user can trigger the electronic device 00 to obtain the first preview image to obtain the first image, and to obtain the second preview image to obtain the second image. Subsequently, as shown in (a) of FIG.
  • the viewing interface also Display toggle indicator 002.
  • the user can click the control 002 to trigger the electronic device to respond to the single-click input (ie, the first input), as shown in (b) of FIG. 2, to switch and display the image 002, which is captured at another focal length A clear zoomed-in image that contains the "little man”.
  • the user can view the image details of the "little man” according to the image 002 .
  • the electronic device can display an image identification (eg, a frame selection mark) on the first preview image, and the image in the first preview image marks the image in the frame selection area and the second preview image acquisition.
  • the range is the same. That is, the electronic device can use the image identifier to indicate the range of the image captured by the second camera.
  • the user can adjust the focal length of the first camera or the second camera according to the actual use requirements, and adjust the display range of the first preview image and the second preview image, so that the When the user triggers the electronic device to perform the shooting operation, the first image and the second image that meet the user's needs are obtained, which is convenient for the user to use and improves the user's use experience.
  • Step 104 the electronic device receives a photographing input.
  • the above-mentioned shooting input is used to trigger the first camera and the second camera to shoot images respectively, or when the first camera and the second camera collect images in real time, trigger the first camera and the second camera.
  • the image at the moment of shooting is saved.
  • the photographing input may be a user's pressing input on a physical key of the electronic device.
  • the shooting input may also be a user's voice input to the electronic device, and the content of the voice input is used to instruct the electronic device to use the first camera and the second camera to shoot respectively.
  • the voice is "start shooting" and the like.
  • the shooting input can also be a user touch input to a shooting control displayed on the screen of the electronic device, and the numerical control input can be any of the following: single-click, double-click, long-press, etc., wherein the shooting control is used to trigger the electronic device to adopt The first camera and the second camera shoot separately.
  • the form of the shooting input can be specifically determined according to actual usage requirements, which is not specifically limited in the embodiment of the present application.
  • Step 105 The electronic device obtains a first image corresponding to the first preview image and obtains a second image in response to the photographing input.
  • the electronic device in response to the shooting input, captures the first image based on the first preview image, and obtains the first image. and capturing a second image based on the second preview image.
  • the above-mentioned shooting parameters eg, exposure, saturation, shutter time, etc.
  • the electronic device in response to the shooting input, obtains the first preview image at the shooting moment as the first image, and obtains the second preview image at the shooting moment as the second image, so as to obtain the first image and the second image .
  • the specific acquisition manners of the first image and the second image may be determined according to actual usage requirements, which are not specifically limited in this embodiment of the present application.
  • the electronic device before receiving the first input, can collect the first preview image through the first camera, and collect the second preview image through the second camera, and can display the first preview image and the information used for the image on the shooting preview interface.
  • An image identifier indicating the acquisition range of the second preview image.
  • the user can trigger the electronic device to obtain the first image and the second image through the input of shooting.
  • a second image that better meets the user's needs can be obtained, that is, a clearer second image can be obtained, thus providing a basis for viewing a clear image of the target object through the second image and providing a guarantee for the convenience of the user.
  • the first input is an input for zooming in to view the target object in the first image.
  • the image display method provided by this embodiment of the present application may further include the following step 106.
  • switching the first image to the second image "Switching the display to the second image” can be specifically implemented through the following step 102a.
  • Step 106 The electronic device determines the magnification of the first image based on the first input.
  • the execution sequence of the above step 106 is located after “responding to the first input” in step 102 , and after “switching the first image to display the second image” in step 102 Before.
  • the electronic device may determine the magnification of the first image according to the specific input operation of the first input, and then obtain the magnification of the first image.
  • the first input is an operation of sliding the user's two fingers against each other when the first image is displayed on the screen of the electronic device
  • the electronic device can detect the distance between the two fingers of the user and the sliding
  • the corresponding relationship between the distance and the magnification of the image determines the magnification, and then the electronic device can obtain the magnification.
  • the above-mentioned magnification acts on the first image, and then acts on each object in the first image. That is, the magnification of the first image is the same as the magnification of the target object in the first image. For example, assuming that the magnification of the first image is 2 times, then each object in the first image is adaptively magnified twice, for example, the target object in the first image is also magnified by 2 times.
  • Step 102a In the case that the magnification of the first image is greater than or equal to the target threshold, the electronic device switches and displays the first image as a second image corresponding to the magnification.
  • the above target threshold may be specifically set according to actual usage requirements, which is not specifically limited in the present application.
  • the multiple zoom-in effects can be superimposed until the last operation of the first input.
  • the electronic device is triggered to switch and display the first image to the second image.
  • each target threshold corresponds to a second image, and when the magnification is sequentially greater than multiple target thresholds, the electronic device switches and displays the corresponding second images in sequence.
  • the second image corresponding to the target threshold is switched to display; then, the user can continue to perform the magnification operation, and when the magnification of the electronic device reaches another target threshold, the electronic device Toggle display of another second image corresponding to the other target threshold.
  • the target threshold value 1 is 2 times (the corresponding switching image is the second image A)
  • the target threshold value 2 is 5 times (the corresponding switching image is the second image B)
  • the electronic device switches to display the second image A.
  • the user continues to perform an enlarging operation on the second image A, and when the zooming in to 5 times, the condition of the target threshold 2 is satisfied, and the electronic device switches to display the second image B.
  • the user can also directly perform an enlarging operation on the first image, and when the zooming in to 5 times, the condition of the target threshold 2 is satisfied, and the electronic device switches to display the second image B.
  • the target object or image identifier in the first image may be used to indicate a second image.
  • the user can trigger the electronic device to display the corresponding second image through touch input on the target object in the image or the image identifier.
  • a frame selection marker 1 indicating the second image A
  • a frame selection marker 2 indicating the second image B. If the user clicks the frame selection mark 1, the electronic device switches to display the second image A indicated by the frame selection mark 1 in response to the click input; if the user clicks the frame selection mark 2, the electronic device responds to the click input.
  • the first image includes two target objects, namely target object 1 (indicating the second image A) and target object 2 (indicating the second image B). If the user clicks the target object 1, the electronic device switches and displays the second image A indicated by the target object 1 in response to the click input; if the user clicks the target object 2, the electronic device responds to the click input , and switch to display the second image B indicated by the target object 2 . In this way, the user can selectively switch the display according to actual use requirements, thereby facilitating the user to use.
  • the first input is that the user slides two fingers against each other to zoom in on the first image. If the first image is displayed on the screen of the electronic device, if the user slides two fingers back together for the first time to zoom in by 1.5 times, the electronic device keeps displaying the first image magnified by 1.5 times. On the basis of the 1.5 times, if the user continues to zoom in by sliding two fingers against each other for the second time, until the magnification of the first image is 2 times that of the original first image, the trigger condition that is greater than or equal to the target threshold is satisfied, The electronic device automatically switches and displays the 2x first image to the second image, and the second image displays the original magnification, that is, 1x without magnification.
  • the electronic device can detect and obtain the magnification of the first image by the user through the first input, and when the magnification of the first image is greater than or equal to the target threshold, trigger the electronic device to switch the first image. displayed as the second image. In this way, the electronic device can automatically switch to display a clearer second image under the condition that the switching display conditions are met, thereby facilitating the use of the user and improving the user's use experience.
  • the image display method provided by this embodiment of the present application further includes the following steps 107 and 108 .
  • Step 107 the electronic device receives the second input.
  • the above-mentioned second input is an input that triggers the display of the first image.
  • the above-mentioned second input is used to trigger the electronic device to display the first image.
  • the second input may be to trigger the electronic device to start the album application and display the first image;
  • the second input may be to find and trigger the display of the first image in the gallery application.
  • it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.
  • the second input may be a voice input to the electronic device, and the content of the voice input is used to instruct the electronic device to display the first image.
  • the second input may be a user's touch input, and the touch input is used to find and trigger the electronic device to display the first image, wherein the touch input may be at least one of the following: click, double-click, slide, press Drag in the preset direction, slide according to the preset track, etc. Specifically, it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.
  • Step 108 The electronic device displays target prompt information in response to the second input.
  • the above-mentioned target prompt information is used to prompt that there is an image with an associated relationship with the first image, and the image with an associated relationship includes the second image.
  • the above-mentioned target prompt information is used to prompt that an image (eg, a second image) associated with the first image exists in the electronic device.
  • the specific display mode of the target prompt information is not specifically limited in the embodiment of the present application, and reference may be made to the display mode in the related art.
  • the prompt information includes, but is not limited to, displaying in the following ways: displaying in the form of short message prompts, displaying in the form of displaying information pop-up windows, displaying in the form of displaying bubble information, and displaying text information and voice Announcement display, prompt display, etc.
  • the above-mentioned association relationship includes: the target object in the first image and the target object in the associated image (that is, the collective name of the images having an associated relationship with the first image) are the same target object, and the target object is in the association.
  • the display size in the image is larger than the display size in the first image.
  • the association relationship may further include: the first image and the associated image were captured at the same time, and the like.
  • the above-mentioned image with an associated relationship includes the second image, that is, the associated image may include the second image.
  • first image and the second image in the above embodiments may be stored separately or jointly.
  • the separate storage can be called and viewed based on the above-mentioned association relationship.
  • Joint storage refers to storing the first image and the second image in a data area. Specifically, when a JPEG file is generated, the pictures generated by the two cameras are pressed into the same JPEG file. Among them, the photo data of the high-power camera is placed in the JPEG data area. The image generated by the ultra-wide-angle camera is placed in an additional data area of the JPEG image. At this time, the association relationship is equivalent to the association relationship of the storage area, and based on the association relationship, it is convenient to call and view.
  • step 102 is exemplarily described by taking the second image as an associated image, which does not constitute a limitation on the association relationship.
  • the user in the case where the electronic device is triggered to display prompt information in the above step 108, the user can know, based on the prompt information, that there is prompt information of an image associated with the first image in the electronic device. .
  • the user can choose to view the associated image (that is, the image that has an associated relationship with the first image) according to the actual use requirement, that is, the user can trigger the electronic device to perform steps 101 and 102 to display the associated image that contains the target object more clearly. image (eg, the second image in step 102).
  • the user can trigger the electronic device to display the prompt information of the image that is associated with the first image through the second input, so that the user can choose to view the associated image according to the actual usage requirements, such as viewing the clarity.
  • Higher and better image quality associated images which are convenient for users to use and improve user experience.
  • the execution body may be an image display device, or a control module in the image display device for executing the image display method.
  • an image display device performing an image display method is used as an example to describe the device provided by the embodiments of the present application.
  • an embodiment of the present application provides an image display device 900 .
  • the image display device 900 may include: a receiving module 901 and a display module 902 .
  • the receiving module 901 may be configured to receive a first input, where the first input is an input for viewing the target object in the currently displayed first image.
  • the display module 902 is configured to switch and display the first image to a second image in response to the first input received by the receiving module 901, the second image includes the target object, and the first image and the second image are different The image captured by the focal length of the camera.
  • the display size of the target object in the second image is different from the display size of the target object in the first image.
  • the first image is an image captured by a first camera
  • the second image is an image captured by a second camera
  • the focal length of the first camera when capturing the first image is smaller than that captured by the second camera. The focal length of the second image.
  • an image display apparatus 900 may further include: a processing module 903 .
  • the display module 902 may also be configured to display the first preview image on the shooting preview interface, and display an image identifier, where the image identifier is used to indicate the collection range of the second preview image.
  • the processing module 903 may be configured to obtain the first image corresponding to the first preview image and obtain the second image in response to the shooting input.
  • the display module 902 can be specifically configured to display the first preview image in the first area of the shooting preview interface, and display the second preview image in the second area of the shooting preview interface.
  • the second preview image corresponds to the second image.
  • the display module 902 may be specifically configured to display a first preview image on the shooting preview interface, and display an image identifier on the first preview image, and the image identifies the image in the framed area.
  • the acquisition range of the second preview image is the same.
  • the first input is an input for zooming in to view the target object in the first image.
  • An image display apparatus 900 provided by an embodiment of the present application may further include a determination module 904 .
  • the determining module 904 may be configured to determine the magnification of the first image based on the first input before switching the first image to be displayed as the second image.
  • the display module 902 can be specifically configured to switch and display the first image as the second image corresponding to the magnification when the magnification is greater than or equal to the target threshold.
  • the receiving module 901 may be further configured to receive a second input before receiving the first input, where the second input is an input that triggers the display of the first image.
  • the display module 902 can also be configured to display target prompt information in response to the second input received by the receiving module 901, where the target prompt information is used to prompt the existence of an image with an associated relationship with the first image, and the associated image includes second image.
  • the image display apparatus in the embodiment of the present application may be a functional entity and/or a functional module that executes an image display method in an electronic device, and may also be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the image display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the image display apparatus provided in the embodiments of the present application can implement the various processes implemented by the image display apparatus in the method embodiments of FIG. 1 to FIG. 8 , which are not repeated here to avoid repetition.
  • An embodiment of the present application provides an image display device, the image display device receives a first input for viewing a target object in a currently displayed first image, and in response to the first input, switches and displays the first image as Including a second image of the target object, wherein the first image and the second image are images captured by cameras with different focal lengths, and the display size of the target object in the second image is larger than that of the target object in the first image
  • the display sizes in the images are different.
  • the user can obtain the first image and the second image containing the target object respectively through cameras with different focal lengths, and make the display size of the target object in the second image be different from that in the first image, for example,
  • the display size of the target object in the second image is larger than the display size in the first image.
  • an embodiment of the present application further provides an electronic device 1100, including a processor 1101, a memory 1102, a program or instruction stored in the memory 1102 and executable on the processor 1101,
  • an electronic device 1100 including a processor 1101, a memory 1102, a program or instruction stored in the memory 1102 and executable on the processor 1101,
  • the program or instruction is executed by the processor 1101
  • each process of the above-mentioned image display method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 2000 includes but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010, etc. part.
  • the input unit 2004 may include a graphics processor 20041 and a microphone 20042
  • the display unit 2006 may include a display panel 20061
  • the user input unit 2007 may include a touch panel 20071 and other input devices 20072
  • the memory 2009 may be used to store software programs (eg, operating system, applications required for at least one function) and various data.
  • the electronic device 2000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 2010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 2007 may be configured to receive a first input, where the first input is an input for viewing the target object in the currently displayed first image.
  • the display unit 2006 is configured to switch and display the first image as a second image in response to the first input received by the user input unit 2007, the second image includes the target object, and the first image and the second image are Images captured by cameras with different focal lengths. Wherein, the display size of the target object in the second image is different from the display size of the target object in the first image.
  • An embodiment of the present application provides an electronic device, the electronic device receives a first input for viewing a target object in a currently displayed first image, and in response to the first input, switches and displays the first image to include the A second image of the target object, wherein the first image and the second image are images captured by cameras with different focal lengths, and the display size of the target object in the second image is the same as that of the target object in the first image display size is different.
  • the user can obtain the first image and the second image containing the target object respectively through cameras with different focal lengths, and make the display size of the target object in the second image be different from that in the first image, for example,
  • the display size of the target object in the second image is larger than the display size in the first image.
  • the first image is an image captured by a first camera
  • the second image is an image captured by a second camera
  • the focal length of the first camera when capturing the first image is smaller than that captured by the second camera. The focal length of the second image.
  • the electronic device can capture the first image through the first camera, and capture the second image through the second camera, and the focal length of the first camera to capture the first image is smaller than the focal length of the second camera to capture the second image. Therefore, the display size of the target object in the second image can be made larger than the display size in the first image. In this way, the target object in the second image can be made clearer and the shooting effect is better, so that the user can view the clear image of the target object through the second image, which is convenient for the user to use and improves the user's use experience.
  • the display unit 2006 may be further configured to display the first preview image on the shooting preview interface, and display an image identifier, where the image identifier is used to indicate the collection range of the second preview image.
  • the processor 2010 may be configured to obtain the first image corresponding to the first preview image and obtain the second image in response to the shooting input.
  • the electronic device before receiving the first input, can collect the first preview image through the first camera, and collect the second preview image through the second camera, and can display the first preview image and the information used for the image on the shooting preview interface.
  • An image identifier indicating the acquisition range of the second preview image.
  • the user can trigger the electronic device to obtain the first image and the second image through the input of shooting.
  • a second image that better meets the user's needs can be obtained, that is, a clearer second image can be obtained, thus providing a basis for viewing a clear image of the target object through the second image and providing a guarantee for the convenience of the user.
  • the display unit 2006 may be specifically configured to display the first preview image in the first area of the shooting preview interface, and display the second preview image in the second area of the shooting preview interface.
  • the second preview image corresponds to the second image.
  • the electronic device can display the first preview image in the first area of the shooting preview interface, and display the second preview image in the second area of the shooting preview interface.
  • the electronic device can display the first preview image in the first area of the shooting preview interface, and display the second preview image in the second area of the shooting preview interface.
  • the user can adjust the focal length of the first camera or the second camera according to the actual use requirements, so that the user's needs can be met when the user triggers the electronic device to perform a shooting operation.
  • the first image and the second image are used, which is convenient for the user to use and improves the user's use experience.
  • the display unit 2006 may be specifically configured to display a first preview image on the shooting preview interface, and display an image identifier on the first preview image, the image identifier of the image in the framed area.
  • the acquisition range of the second preview image is the same.
  • the electronic device can display an image identification (eg, a frame selection mark) on the first preview image, the first preview image and the image in the frame selection area of the image identification are the same as the second preview image. That is, the electronic device can use the image identifier to indicate the range of the image captured by the second camera.
  • an image identification eg, a frame selection mark
  • the user can adjust the focal length of the first camera or the second camera according to the actual use requirements, and adjust the display range of the first preview image and the second preview image, so that the When the user triggers the electronic device to perform the shooting operation, the first image and the second image that meet the user's needs are obtained, which is convenient for the user to use and improves the user's use experience.
  • the first input is an input for zooming in to view the target object in the first image.
  • the processor 2010 may also be configured to determine the magnification of the first image based on the first input before switching the first image to be displayed as the second image.
  • the display unit 2006 may be specifically configured to switch and display the first image as the second image corresponding to the magnification when the magnification is greater than or equal to the target threshold.
  • the electronic device can detect and obtain the magnification of the first image by the user through the first input, and when the magnification of the first image is greater than or equal to the target threshold, trigger the electronic device to switch the first image. displayed as the second image. In this way, the electronic device can automatically switch to display a clearer second image under the condition that the switching display conditions are met, thereby facilitating the use of the user and improving the user's use experience.
  • the user input unit 2007 may also be configured to receive a second input before receiving the first input, where the second input is an input that triggers the display of the first image.
  • the display unit 2006 can also be configured to display target prompt information in response to the second input received by the user input unit 2007, where the target prompt information is used to prompt that there is an image in the electronic device that has an associated relationship with the first image, which is associated with the first image.
  • the image of the relationship includes the second image.
  • the user can trigger the electronic device to display the prompt information of the image that is associated with the first image through the second input, so that the user can choose to view the associated image according to the actual usage requirements, such as viewing the clarity.
  • Higher and better image quality associated images which are convenient for users to use and improve user experience.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above image display method embodiment can be achieved, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device in the above embodiment.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement each process of the above image display method embodiment, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

本申请公开了一种图像显示方法、装置及电子设备,属于通信技术领域。该方法包括:接收第一输入,该第一输入为查看当前显示的第一图像中的目标对象的输入;响应于该第一输入,将该第一图像切换显示为第二图像,该第二图像包括该目标对象,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像;其中,该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。

Description

图像显示方法、装置及电子设备
相关申请的交叉引用
本申请主张在2021年01月27日在中国提交的中国专利申请号202110113854.0的优先权,其全部内容通过引用包含于此。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种图像显示方法、装置及电子设备。
背景技术
随着电子技术的发展,用户可以使用电子设备的摄像头拍摄图像,例如,拍摄风景,拍摄人像等。
目前,电子设备通常可以使用变焦镜头对某个拍摄对象对焦后进行拍摄,但难以兼顾拍摄场景的范围。例如,用户在使用超广角镜头拍摄风景图像的情况下,位于该风景图像中的人像,可能由于超广角镜头本身的特性,导致拍摄的人像较小,且清晰度较低。当用户想要查看拍摄的风景图像中的人像图像时,往往该人像图像较为模糊,细节不够清楚,图像质量较差。即传统拍摄方法无法兼顾拍摄对象的清晰程度和拍摄场景的范围,从而可能导致图像中的拍摄对象较为模糊,成像效果较差。
发明内容
本申请实施例的目的是提供一种图像显示方法、装置及电子设备,能够解决传统拍摄方法无法兼顾拍摄对象的清晰程度和拍摄场景的范围,从而可能导致图像中的拍摄对象较为模糊,成像效果较差的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种图像显示方法,该方法包括:接收第一输入,该第一输入为查看当前显示的第一图像中的目标对象的输入;响应于该第一输入,将该第一图像切换显示为第二图像,该第二图像包括该目标对象,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像;其中,该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。
第二方面,本申请实施例提供了一种图像显示装置,该装置包括:接收模块和显示模块;接收模块,用于接收第一输入,该第一输入为查看当前显示的第一图像中的目标对象的输入;显示模块,用于响应于该接收模块接收的该第一输入,将该第一图像切换显示为第二图像,该第二图像包括该目标对象,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像;其中,该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,程 序或指令被处理器执行时实现如第一方面的方法的步骤。
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,该处理器用于运行程序或指令,实现如第一方面的方法。
在本申请实施例中,电子设备接收用于查看当前显示的第一图像中的目标对象的第一输入,并响应于该第一输入,将该第一图像切换显示为包括该目标对象的第二图像,其中,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像,且该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。通过该方法,用户可以通过不同焦距的摄像头分别获取包含目标对象的第一图像和第二图像,并使得第二图像中的目标对象的显示尺寸与该第一图像中的显示尺寸不同,例如,第二图像中的目标对象的显示尺寸大于该第一图像中的显示尺寸。如此,可以得到目标对象更为清晰,拍摄效果更佳的第二图像,从而用户在需要查看目标对象的具体细节时可以通过输入触发电子设备显示包含更多细节,且更清楚的第二图像进行查看。进而以达到兼顾目标对象的清晰程度和拍摄场景的范围的目的,提高图像拍摄效果。并方便用户使用,提升用户的使用体验。
附图说明
图1为本申请实施例提供的一种图像显示方法的示意图之一;
图2为本申请实施例提供的一种电子设备显示第二图像的操作示意图;
图3为本申请实施例提供的一种图像显示方法的示意图之二;
图4为本申请实施例提供的一种图像显示方法的示意图之三;
图5为本申请实施例提供的一种电子设备显示第一预览图像和图像标识的示意图之一;
图6为本申请实施例提供的一种图像显示方法的示意图之四;
图7为本申请实施例提供的一种电子设备显示第一预览图像和图像标识的示意图之二;
图8为本申请实施例提供的一种图像显示方法的示意图之五;
图9为本申请实施例提供的一种图像显示装置的结构示意图之一;
图10为本申请实施例提供的一种图像显示装置的结构示意图之二;
图11为本申请实施例提供的电子设备的硬件示意图之一;
图12为本申请实施例提供的电子设备的硬件示意图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像显示方法进行详细地说明。
本申请实施例所提供的图像显示方法可以应用于:用户使用变焦摄像头的一个焦距拍摄风景图像,然后使用该摄像头的另一个焦距拍摄风景中的人像,从而导致人像图像较为模糊,细节不够清楚,图像质量较差的场景中。本申请中,电子设备可以接收用于查看当前显示的第一图像中的目标对象的第一输入,并响应于该第一输入,将该第一图像切换显示为包括该目标对象的第二图像,其中,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像,且该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。通过该方法,用户可以通过不同焦距的摄像头分别获取包含目标对象的第一图像和第二图像,并使得第二图像中的目标对象的显示尺寸与该第一图像中的显示尺寸不同,例如,第二图像中的目标对象的显示尺寸大于该第一图像中的显示尺寸。如此,可以得到目标对象更为清晰,拍摄效果更佳的第二图像,从而用户在需要查看目标对象的具体细节时可以通过输入触发电子设备显示包含更多细节,且更清楚的第二图像进行查看。进而以达到兼顾目标对象的清晰程度和拍摄场景的范围的目的,并方便用户使用,提升用户的使用体验。
如图1所示,本申请实施例提供一种图像显示方法,该方法可以包括下述的步骤101和步骤102。
步骤101、电子设备接收第一输入。
其中,上述第一输入为查看当前显示的第一图像中的目标对象的输入。
需要说明的是,本申请实施例中,上述目标对象为拍摄主体(又称拍摄物体,或拍摄实物)在拍摄图像中的图像。示例性的,假设用户想要拍摄好友A的图像,那么用户可以使用电子设备拍摄好友A在公园中的照片(例如,第一图像),那么该照片中的好友A的图像为目标对象,该好友A本人为拍摄主体。
可选的,本申请实施例中,在接收第一输入之前,用户可以通过其他输入触发电子设备在其屏幕上显示该第一图像,从而用户可以通过该第一输入查看当前显示的第一图像,进而查看该第一图像中的目标对象。
可选的,本申请实施例中,上述第一输入为查看当前显示的第一图像中的目标对象的输入。具体的,该第一输入可以为用户对该界面显示的查看控件的触控输入,其中,该查看控件用于查看当前显示的第一图像,该查看控件可以为电子设备的查看控件,也可以为基于应用程序(如,相册应用程序)查看功能的控件,该触控输入可以为用户对该查看控件的单击、双击、双指滑动、沿预设方向拖动等。该第一输入也可以为用户对当前显示第一图像的界面的触控操作输入,其中,该触控操作输入用户查看第一图像中的细节(如,查看目标对象),该触控操作输入可以为放大查看第一图像的输入,例如,用户双指相背滑动,用户单指的双击,用户单指按预设轨迹移动等输入。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。
步骤102、电子设备响应于第一输入,将第一图像切换显示为第二图像。
其中,上述第二图像包括目标对象,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像。该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。
可选的,本申请实施例中,该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图 像中的显示尺寸不同具体包括以下两种:该目标对象在该第二图像中的显示尺寸大于在该第一图像中的显示尺寸;或者,该目标对象在该第二图像中的显示尺寸大于在该第一图像中的显示尺寸。用户可以根据实际使用需求适应性调整第二图像中目标对象的显示尺寸,例如,若用户想要突出该目标对象的细节特征,则可以使得第二图像中该目标对象的显示尺寸大于该第一图像中的显示尺寸(即,显示更大更清楚的目标对象的图像以清楚方便地查看细节)。若用户想要查看该目标对象周围更多的环境特征,则可以使得第二图像中该目标对象的的显示尺寸小于该第一图像中的显示尺寸(即,显示较小的目标对象的同时使得更多的环境进入拍摄范围以方便查看环境特征)。具体可以根据实际使用需求确定。
需要说明的是,下述实施例以该目标对象在该第二图像中的显示尺寸大于在该第一图像中的显示尺寸为例进行示例性说明,其并不构成对本申请的限定。
可选的,本申请实施例中,上述第一图像和第二图像为不同焦距的摄像头拍摄的图像,具体包括两种方式:方式A,电子设备使用同一摄像头(例如,变焦摄像头)使用不同的焦距,分别对目标对象拍摄第一图像和第二图像。方式B,电子设备使用不同的摄像头(例如,下述第一摄像头和第二摄像头),且使用不同的焦距,分别对目标对象拍摄第一图像和第二图像。例如,使用第一摄像头拍摄第一图像,并使用第二摄像头拍摄第二图像。需要说明的,在实际使用过程中,由于方式A是使用一个摄像头完成拍摄,因此,第一图像和第二图像的拍摄时刻由先后顺序,用户可以根据实际使用需求调整两张图像之间的拍摄间隔(例如,缩短两张图像之间的拍摄时间间隔至60ms等)。而方式B,由于时采用两个摄像头分别独立拍摄图像,因此,第一图像和第二图像的拍摄时刻可以相同或不同,具体可以根据用户的实际使用需求进行确定。
可选的,本申请实施例中,上述该目标对象在该第二图像中的显示尺寸大于在该第一图像中的显示尺寸。具体根据上述方式A和方式B而采用不同的方式实现。
具体的,若电子设备使用同一摄像头的不同的焦距,分别拍摄第一图像和第二图像(即,上述方式A),则拍摄该第一图像的焦距小于拍摄该第二图像的焦距。示例性的,假设电子设备使用焦距为:70mm-120mm的摄像头拍摄图像,以80mm的焦距拍摄一个汽车Q(即目标对象)的第一图像,并以120mm的焦距拍摄同一个汽车Q的第二图像,如此,可使得该第二图像中汽车Q的显示尺寸大于该第一图像中汽车Q的显示尺寸。
具体的,若电子设备使用不同的摄像头(如,下述第一摄像头和第二摄像头,此处为了例方便描述直接采用第一摄像头和第二摄像头),分别对目标对象拍摄第一图像和第二图像,则拍摄第一图像的第一摄像头的焦距范围小于拍摄第二图像的焦距范围,即可以通过第一摄像头的最大焦距小于该第二摄像头的最小焦距来实现。示例性的,假设第一图像为第一摄像头拍摄汽车Q的图像,第二图像为第二摄像头拍摄汽车Q的图像,若第一摄像头为普通广角镜头(焦距为24mm-45mm),且第二摄像头为常用中焦镜头(焦距为70mm-120mm),则可以使得该第二图像中汽车Q的显示尺寸大于该第一图像中汽车Q的显示尺寸。
需要说明的是,本申请下述实施例以上述方式B为例进行示例性说明,即第一图像和第二图像分别通过两个摄像头拍摄为例进行示例性说明。
可选的,本申请实施例中,上述第一图像和第二图像的拍摄时刻相同。
可选的,本申请实施例中,上述第一图像为第一摄像头拍摄的图像,上述第二图像为第二摄 像头拍摄的图像,该第一摄像头的最大焦距小于该第二摄像头的最小焦距。
需要说明的是,通常摄像头根据焦距的范围,具体可以分为以下3中:
1.广角镜头(焦距范围:小于45mm):广角镜头大致分为两类:普通广角镜头和超广角镜头,普通广角镜头的焦距在24mm-45mm之间;超广角镜头的焦距一般小于24mm,其中有一种特殊的鱼眼镜头,焦距甚至只有几毫米。广角镜头一般用于拍摄广阔的场合或风景。
2.中焦镜头(焦距范围:50mm-135mm):具体包括变焦镜头和定焦镜头,常见的中焦变焦镜头为焦距70mm-120mm的镜头;而定焦镜头包括:50mm标准镜头,85mm人像镜头,100mm微距镜头,135mm人像镜头等。标准镜头由于与人眼看到的效果非常接近,因此通常被用于大多数的场景和题材的拍摄。
3.长焦镜头(焦距范围:大于200mm):长焦镜头具体又分为长焦和超长焦两种,长焦的焦距在200-300mm之间,适合拍摄特写,舞台等;而超长焦的焦距在400mm以上,常用来拍摄无法靠近的鸟类、野生动物等,以及大型体育馆内的比赛。
可选的,本申请实施例中,若第一摄像头拍摄第一图像时的焦距小于该第二摄像头拍摄该第二图像时的焦距,则该目标对象在该第二图像中的显示尺寸大于在该第一图像中的显示尺寸。若第一摄像头拍摄第一图像时的焦距大于该第二摄像头拍摄该第二图像时的焦距,则该目标对象在该第二图像中的显示尺寸小于在该第一图像中的显示尺寸。
需要说明的是,下述实施例以第一摄像头拍摄第一图像时的焦距小于该第二摄像头拍摄该第二图像时的焦距为例进行详细说明,而第一摄像头拍摄第一图像时的焦距小于该第二摄像头拍摄该第二图像时的焦距与此情况恰好相反,不再赘述。
可选的,本申请实施例中,第一摄像头拍摄第一图像时的焦距小于该第二摄像头拍摄该第二图像时的焦距,具体可以包括以下两种情况:情况1,第一摄像头和第二摄像头采用范围相当的变焦摄像头时,需要满足该第一摄像头拍摄第一图像时的焦距小于该第二摄像头拍摄该第二图像时的焦距。情况2,第一摄像头和第二摄像头采用不同范围的摄像头是,需要满足第一摄像头的最大焦距小于该第二摄像头的最小焦距。
可选的,本申请实施例中,由于需要满足第一摄像头的最大焦距小于该第二摄像头的最小焦距,因此第一摄像头和第二摄像头的选择具体实现方式包括以下4种方式:
方式1、若第一摄像头为超广角镜头,则第二摄像头可以为除超广角镜头之外的其他任一镜头。
方式2、若第一摄像头为广角镜头,则第二摄像头可以在中焦镜头或长焦镜头(包括超长焦镜头)的范围内选择。
方式3、若第一摄像头为中焦镜头,则第二摄像头为长焦镜头(包括超长焦镜头)。
方式4、若第一摄像头为长焦镜头,则第二摄像头只能为超长焦镜头。
需要说明的是,本申请实施例中为了方便描述,且使得目标对象在第二图像中的显示尺寸大于在第一图像中的显示尺寸的效果较为明显,下述实施例以第一摄像头为广角镜头,第二摄像头为中焦镜头(即,上述方式2)为例进行示例性说明,其并不构成对本申请的限定。
可以理解的是,由于电子设备可以通过第一摄像头拍摄第一图像,并通过第二摄像头拍摄第二图像,且第一摄像头拍摄第一图像时的焦距小于第二摄像头拍摄第二图像时的焦距,因此可以 使得目标对象在该第二图像中的显示尺寸大于在该第一图像中的显示尺寸。如此可以使得第二图像中的目标对象更为清晰,拍摄效果更佳,从而用户可以通过第二图像查看目标对象的清晰图像,进而方便用户使用,提升用户的使用体验。
可选的,本申请是实施例中,上述第一图像和第二图像为具有关联关系的图像,具体的,该关联关系包括:第一图像中的目标对象和第二图像中的目标对象为同一目标对象,且该目标对象在该第二图像中的显示尺寸大于在该第一图像中的显示尺寸。具体该关联关系还可以根据用户的实际使用需求进行确定,本申请实施例不作具体限定。
此外,若第一图像和第二图像为使用不同摄像头拍摄的情况下,该关联关系还可以包括:第一图像和第二图像的拍摄时刻相同。
示例性的,图2为电子设备显示第二图像的操作示意图。如图2中的(a)所示,在电子设备00的图像查看界面中显示包括“小人”(即目标对象)的图像001(即第一图像)的情况下,该查看界面还显示切换显示控件002,该切换显示控件用于切换显示当前显示图像的关联图像(即,不同焦距拍摄的包含“小人”的放大图像)。用户可以单击该控件002,触发电子设备响应于该单击输入(即,第一输入),如图2中的(b)所示,切换显示图像003,该图像003为另一个焦距下拍摄的包含“小人”的清晰的放大图像。用户可以根据该图像003查看“小人”的图像细节。
本申请实施例提供一种显示方式,电子设备接收用于查看当前显示的第一图像中的目标对象的第一输入,并响应于该第一输入,将该第一图像切换显示为包括该目标对象的第二图像,其中,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像,且该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。通过该方法,用户可以通过不同焦距的摄像头分别获取包含目标对象的第一图像和第二图像,并使得第二图像中的目标对象的显示尺寸与该第一图像中的显示尺寸不同,例如,第二图像中的目标对象的显示尺寸大于该第一图像中的显示尺寸。如此,可以得到目标对象更为清晰,拍摄效果更佳的第二图像,从而用户在需要查看目标对象的具体细节时可以通过输入触发电子设备显示包含更多细节,且更清楚的第二图像进行查看。进而以达到兼顾目标对象的清晰程度和拍摄场景的范围的目的,提高图像拍摄效果。并方便用户使用,提升用户的使用体验。
可选的,结合图1,如图3所示,在上述步骤101之前,本申请实施例所提供的图像显示方法还包括下述步骤103至步骤105。
步骤103、电子设备在拍摄预览界面显示第一预览图像,并显示图像标识。
其中,上述图像标识用于指示该第二图像的采集范围。
可选的,本申请实施例中,在上述步骤104之前,电子设备通过第一摄像头采集第一预览图像,并通过第二摄像头采集第二预览图像。
可选的,本申请实施例中,上述第一摄像头的最大焦距小于第二摄像头的最小焦距。示例性的,该第一摄像头为广角镜头(焦距范围:小于45mm),第二摄像头为中焦镜头(焦距范围:50mm-135mm)。
需要说明的是,上述第一摄像头采集的预览图像中包括目标对象,第二摄像头采集的第二预览图像中也包括目标对象,且该目标对象在第二预览图像中的显示尺寸大于在第一预览图像中的显示尺寸。
可选的,本申请实施例中,上述步骤103中的“显示图像标识”具体可以通过下述方式一或方式二实现,两种方式可择一执行,具体如下:
方式一
电子设备可以将整个第二预览图像作为图像标识进行显示。即电子设备可以在拍摄预览界面的一个区域(如,下述第一区域)显示第一预览图像,并在该拍摄预览界面的另一个区域(如,下述第二区域)显示第二预览图像。
可选的,结合图3,如图4所示,上述步骤103具体可以通过下述步骤103a实现。
步骤103a、电子设备在拍摄预览界面的第一区域显示第一预览图像,并在拍摄预览界面的第二区域显示第二预览图像。
其中,上述图像标识为第二预览图像,该第二预览图像与第二图像对应。
可选的,本申请实施例中,上述图像标识为整个第二预览图像。即第一摄像头采集的第一预览图像实时在第一区域进行显示,第二摄像头采集的第二预览图像实时在第二区域进行显示。
可选的,本申请实施例中,上述第一区域和第二区域为电子设备的拍摄预览界面中的区域,具体的,该第一区域可以包括第二区域(即第二区域在第一区域的范围之内,例如,第一区域为整个拍摄预览界面,第二区域可以为第一区域中的部分区域),该第一区域也可以与第二区域相邻且没有交集,该第一区域还可以为第二区域中的区域。即该第一区域和第二区域可以全部或部分重叠。第一区域和第二区域的关系可以根据实际使用需求进行确定,本申请不作具体限定。上述仅为简单列举,其并不构成对其具体实施方式的限定。
可选的,本申请实施例中,在拍摄预览界面的第一区域显示第一预览图像,并在拍摄预览界面的第二区域显示第二预览图像的情况下,用户可以通过第一目标输入调整第一摄像头和/或第二摄像头的焦距,以使得第一预览图像中的目标对象和第二预览图像中的目标对象满足用户的需求。其中,该第一目标输入具体可以为调整第一摄像头和/或第二摄像头焦距的输入,具体可以通过电子设备屏幕中显示的第一控件(用于调整第一摄像头的焦距)和第二控件(用于调整第二摄像头的焦距)调节。
示例性的,图5电子设备显示第一预览图像和图像标识的示意图之一。电子设备00可以通过第一摄像头采集第一预览图像,并通过第二摄像头采集第二预览图像的情况下,如图5所示,电子设备00可以在拍摄预览界面的区域004(即第一区域)中显示第一预览图像,并在区域005(即第二区域)中显示第二预览图像。然后,用户可以触发电子设备00根据第一预览图像,拍摄得到第一图像,并根据第二预览图像,拍摄得到第二图像。随后,如图2中的(a)所示,在电子设备00的图像查看界面中显示包括“小人”(即目标对象)的图像001(即第一图像)的情况下,该查看界面还显示切换显示控件002。用户可以单击该控件002,触发电子设备响应于该单击输入(即,第一输入),如图2中的(b)所示,切换显示图像002,该图像002为另一个焦距下拍摄的包含“小人”的清晰的放大图像。用户可以根据该图像002查看“小人”的图像细节。
可以理解的是,由于整个第二预览图像可以作为图像标识,即电子设备可以在拍摄预览界面的第一区域显示第一预览图像,并在该拍摄预览界面的第二区域显示第二预览图像。如此,方便用户查看第一预览图像和第二预览图像,用户可以根据实际使用需求可以调整第一摄像头或第二摄像头的焦距,从而在用户触发电子设备执行拍摄操作的情况下,得到满足用户需求的第一图像 和第二图像,进而方便用户使用,提升用户的使用体验。
方式二
电子设备可以在第一预览图像上显示图像标识(如,下述的框选标识),而该第一预览图像种该图像标识所框选区域中的图像与第二预览图像相同。即电子设备可以通过该图像标识表示第二摄像头采集图像的范围。
可选的,结合图3,如图6所示,上述步骤103具体可以通过下述步骤103b实现。
步骤103b、电子设备在拍摄预览界面显示第一预览图像,并在第一预览图像上显示图像标识。
其中,上述图像标识所框选区域中的图像与第二预览图像的采集范围相同。
可选的,本申请实施例中,上述图像标识可以为框选标识,该框选标识在第一图像中所框选的区域中的图像与第二预览图像相同。具体的,该框选标识可以为矩形框,菱形框,圆形框等其他可能的平面几何形状,该框选标识的边框线条可以为以下任一项:粗实线,波浪线,点划线,双点划线,细实线等。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。
可选的,本申请实施例中,上述图像标识所框选区域中的图像与第二预览图像相同,且都包含目标对象。
需要说明的是,本申请实施例中,上述图像标识(例如,框选标识)其实质用于标识出敌人摄像头采集图像的范围。由于第一摄像头的最大焦距小于第二摄像头的最小焦距,因此,第一摄像头采集的包括目标对象的第一预览图像的范围包括第二摄像头采集的包括该目标对象的第二预览摄像头的范围,如此,为了表示第二预览图像和第一预览图像的采集范围之间的关系,可以使用上述框选标识予以标识。即该框选标识用于标识第二摄像头采集的图像在第一摄像头采集图像中的范围和位置。
可选的,本申请实施例中,在拍摄预览界面显示第一预览图像,并在第一预览图像上显示图像标识的情况下,用户可以通过第二目标输入调整第一摄像头和/或第二摄像头的焦距,以使得第一预览图像中的目标对象和第二预览图像中的目标对象满足用户的需求。其中,该第二目标输入具体可以为调整第一摄像头和/或第二摄像头焦距的输入,具体的可以通过电子设备屏幕中显示的第三控件(用于调整第一摄像头的焦距)和第四控件(用于调整第二摄像头的焦距)调节。
示例性的,图7电子设备显示第一预览图像和图像标识的示意图之二。电子设备00可以通过第一摄像头采集第一预览图像,并通过第二摄像头采集第二预览图像的情况下,如图7所示,电子设备00可以在拍摄预览界面的区域004中显示第一预览图像,并在该第一预览图像中显示标识007,该标识007用于标识第二摄像头采集的图像在该第一预览图像中的范围和位置。然后,用户可以触发电子设备00获取第一预览图像,得到第一图像,并获取第二预览图像,得到第二图像。随后,如图2中的(a)所示,在电子设备00的图像查看界面中显示包括“小人”(即目标对象)的图像001(即第一图像)的情况下,该查看界面还显示切换显示控件002。用户可以单击该控件002,触发电子设备响应于该单击输入(即,第一输入),如图2中的(b)所示,切换显示图像002,该图像002为另一个焦距下拍摄的包含“小人”的清晰的放大图像。用户可以根据该图像002查看“小人”的图像细节。
可以理解的是,由于电子设备可以在第一预览图像上显示图像标识(如,框选标识),而该第一预览图像中该图像标识所框选区域中的图像与第二预览图像的采集范围相同。即电子设备可 以通过该图像标识表示第二摄像头采集图像的范围。如此,方便用户查看第一预览图像和第二预览图像,用户可以根据实际使用需求可以调整第一摄像头或第二摄像头的焦距,以及调整第一预览图像和第二预览图像的显示范围,从而在用户触发电子设备执行拍摄操作的情况下,得到满足用户需求的第一图像和第二图像,进而方便用户使用,提升用户的使用体验。
步骤104、电子设备接收拍摄输入。
可选的,本申请实施例中上述输拍摄输入,用于触发第一摄像头和第二摄像头分别拍摄图像,或者在第一摄像头和第二摄像头实时采集图像时,触发第一摄像头和第二摄像头保存该拍摄时刻的图像。具体的,该拍摄输入可以为用户对电子设备的物理按键的按压输入。该拍摄输入也可以为用户对电子设备的语音输入,该语音输入的内容用于指示电子设备采用第一摄像头和第二摄像头分别进行拍摄。例如,该语音为“开始拍摄”等。该拍摄输入还可以为用户对电子设备屏幕显示的拍摄控件的触控输入,该数控输入可以为以下任一项:单击、双击、长按等,其中,该拍摄控件用于触发电子设备采用第一摄像头和第二摄像头分别进行拍摄。该拍摄输入的形式具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。
步骤105、电子设备响应于拍摄输入,得到与第一预览图像对应的第一图像,并得到第二图像。
可选的,本申请实施例中,上述得到第一图像和第二图像的方式有以下两种:第一种方式,电子设备响应于该拍摄输入,基于第一预览图像拍摄得到第一图像,并基于第二预览图像拍摄得到第二图像。其中,上述基于预览图像指示拍摄参数(如,曝光量、饱和度、快门时间等)与第一预览图像中的采集参数相同。第二种方式,电子设备响应于该拍摄输入获取该拍摄时刻的第一预览图像作为第一图像,并获取该拍摄时刻的第二预览图像作为第二图像,以得到第一图像和第二图像。第一图像和第二图像的具体获取方式可以根据实际使用需求进行确定,本申请实施例不作具体限定。
可以理解的是,在接收第一输入之前,电子设备可以通过第一摄像头采集第一预览图像,并通过第二摄像头采集第二预览图像,以及可以在拍摄预览界面显示第一预览图像和用于指示该第二预览图像的采集范围的图像标识。然后,用户可以通过拍摄输入,触发电子设备得到第一图像和第二图像。从而可以到达更加满足用户需求的第二图像,即得到更加清晰的第二图像,如此,为通过第二图像查看目标对象的清晰图像提供基础,为方便用户使用提供保障。
可选的,本申请实施例中,第一输入为放大查看第一图像中的目标对象的输入。在步骤102中的“将第一图像切换显示为第二图像”之前,本申请实施例所提供的图像显示方法还可以包括下述步骤106,相应的,上述步骤102中的“将第一图像切换显示为第二图像”具体可以通过下述步骤102a实现。
步骤106、电子设备基于第一输入确定第一图像的放大倍数。
需要说明的是,本申请实施例中,上述步骤106的执行顺序位于:步骤102中的“响应于第一输入”之后,且位于步骤102中的“将第一图像切换显示为第二图像”之前。
可选的,电子设备可以根据第一输入的具体输入操作,确定第一图像的放大倍数,进而获取该第一图像的放大倍数。示例性的,假设该第一输入为在电子设备屏幕显示第一图像的情况下,用户双指相背滑动的操作,那么电子设备可以根据检测用户双指相背滑动的距离,并根据该滑动 距离与图像放大倍数的对应关系(如,具体的滑动距离与放大倍数的对应表)确定放大倍数,进而电子设备可以获取该放大倍数。
需要说明的是,本申请实施例中,上述放大倍数作用于第一图像,进而作用于第一图像中的每个对象。即,第一图像的放大倍数与第一图像中的目标对象的放大倍数相同。例如,假设第一图像的放大倍数为2倍,那么第一图像中的每个对象均适应性的放大两倍,如第一图像中的目标对象也放大为原来的2倍。
步骤102a、在第一图像的放大倍数大于或等于目标阈值的情况下,电子设备将第一图像切换显示为与该放大倍数对应的第二图像。
可选的,本申请实施例中,上述目标阈值具体可以根据实际使用需求进行设置,本申请不作具体限定。
需要说明的是,在用户多次进行第一输入的情况下(例如,用户多次通过双指相背滑动以放大第一图像),多次放大效果可以叠加,至最后一次第一输入的操作使得第一图像的放大倍数大于或等于目标阈值的时,才触发电子设备将第一图像切换显示为第二图像。
可选的,本申请实施例中,上述目标阈值可以为多个,电子设备可以根据多个目标阈值,切换显示多个第二图像。其中,每个目标阈值对应一个第二图像,在放大倍数依次大于多个目标阈值的情况下,电子设备依次切换显示对应的第二图像。
具体的,电子设备的放大倍数在达到一个目标阈值时,切换显示该目标阈值对应的第二图像;然后,用户可以继续执行放大操作,在电子设备的放大倍数达到另一个目标阈值时,电子设备切换显示与该另一个目标阈值对应的另一个第二图像。示例性的,假设目标阈值1为2倍(对应切换的图像为第二图像A),假设目标阈值2为5倍(对应切换的图像为第二图像B),在用户双指滑动对第一图像放大至2倍时,满足目标阈值1的条件,电子设备切换显示第二图像A。然后,用户继续对第二图像A执行放大操作,放大至5倍时,满足目标阈值2的条件,电子设备切换显示第二图像B。用户也可直接对第一图像执行放大操作,放大至5倍时,满足目标阈值2的条件,电子设备切换显示第二图像B。
可选的,本申请实施例中,上述第一图像中的目标对象或图像标识(例如,上述实施例中的框选标识)可以用于指示一个第二图像。用户可以通过对图像中的目标对象或图像标识的触控输入,触发电子设备显示对应的第二图像。示例性的,假设第一图像中显示有两个图像标识,分别为框选标识1(指示第二图像A)和框选标识2(指示第二图像B)。若用户单击该框选标识1,则电子设备响应于该单击输入,切换显示该框选标识1指示的第二图像A;若用户单击该框选标识2,则电子设备响应于该单击输入,切换显示该框选标识2指示的第二图像B。示例性的,假设第一图像中包括有两个目标对象,分别为目标对象1(指示第二图像A)和目标对象2(指示第二图像B)。若用户单击该目标对象1,则电子设备响应于该单击输入,切换显示该目标对象1指示的第二图像A;若用户单击该目标对象2,则电子设备响应于该单击输入,切换显示该目标对象2指示的第二图像B。如此,用户可以根据实际使用需求,可选择性进行切换显示,从而方便用户使用。
示例性的,假设目标阈值为2倍,第一输入为用户双指相背滑动以放大第一图像。若在电子设备的屏幕上显示第一图像的情况下,用户第一次双指相背滑动放大的倍数为1.5倍,则电子设 备保持显示放大1.5倍的第一图像。若用户在该1.5倍的基础上,用户第二次双指相背滑动继续进行放大,至第一图像的放大倍数为原第一图像的2倍数时,满足大于或等于目标阈值的触发条件,电子设备自动将2倍的第一图像切换显示为第二图像,该第二图像显示原始倍率,即未进行放大的1倍。
可以理解的是,由于电子设备可以检测并获取用户通过第一输入对第一图像的放大倍数,并在第一图像的放大倍数大于或等于目标阈值的情况下,触发电子设备将第一图像切换显示为第二图像。如此可以使得电子设备在满足切换显示条件的情况下,自动切换显示更为清晰第二图像,从而方便用户使用,提升用户的使用体验。
可选的,结合图1,如图8所示,在上述步骤101之前,本申请实施例所提供的图像显示方法还包括下述步骤107和步骤108。
步骤107、电子设备接收第二输入。
其中,上述第二输入为触发显示第一图像的输入。
可选的,本申请实施例中,上述第二输入用于触发电子设备显示第一图像,具体的,该第二输入可以为触发电子设备启动相册应用程序并显示第一图像;或者,该第二输入可以为在相册应用程序中查找并触发显示第一图像。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。
具体的,第二输入可以为对电子设备的语音输入,该语音输入的内容用用于指示电子设备显示第一图像。该第二输入可以为用户的触控输入,该触控输入用以查找并触发电子设备显示该第一图像,其中,该触控输入可以为以下至少一项:单击、双击、滑动、按照预设方向拖动,按照预设轨迹滑动等。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。
步骤108、电子设备响应于第二输入,显示目标提示信息。
其中,上述目标提示信息用于提示存在与该第一图像具有关联关系的图像,该具有关联关系的图像包括第二图像。
可选的,本申请实施例中,上述目标提示信息用于提示电子设备中存在与该第一图像具有关联关系的图像(如,第二图像)。具体该目标提示信息的显示方式本申请实施例不作具体限定,可以参考相关技术中的显示方式。示例性的,该提示信息包括但不限于下列方式进行显示:以短信提示的方式进行显示、以显示信息弹窗的形式进行显示、以显示气泡信息的形式进行显示,以及以显示文字信息和语音播报的显示进行提示显示等。
可选的,上述关联关系包括:第一图像中的目标对象和关联图像(即,与第一图像具有关联关系的图像的统称)中的目标对象为同一目标对象,且该目标对象在该关联图像中的显示尺寸大于在该第一图像中的显示尺寸。此外,若在第一图像和关联图像为使用不同摄像头拍摄的情况下,该关联关系还可以包括:该第一图像和该关联图像的拍摄时刻相同等。其中,上述具有关联关系的图像包括第二图像,即该关联图像可以包括第二图像。
需要说明的是,上述实施例中的第一图像和第二图像可以单独存储或联合存储。单独存储可以基于上述关联关系调用查看,具体可以参考相关技术,此处不予赘述。联合存储,是指将第一图像和第二图像存储在一个数据区域中,具体的,在生成JPEG文件时,将两个摄像头生成的图片压入同一个JPEG文件中。其中,高倍摄像头的照片数据放到JPEG的数据区域。超广角摄像头 生成的图片放入JPEG图片的一个额外的数据区域。此时,该关联关系相当于存储区域的关联关系,进而基于该关联关系,方便调用和查看。
需要说明的是,本申请实施例中,对该关联关系的具体描述可以参考本申请上述步骤102中的具体描述,此处不再赘述。并且上述步骤102是以第二图像为关联图像为例进行的示例性描述,其并不构成对该关联关系的限定。
可选的,本申请实施例中,在上述步骤108触发电子设备显示提示信息的情况下,用户可以基于该提示信息得知该电子设备中存在与该第一图像具有关联关系的图像的提示信息。如此,用户可以根据实际使用需求选择查看关联图像(即与该第一图像具有关联关系的图像),即用户可以触发电子设备执行步骤101和步骤102,以显示查看包含目标对象更加清晰的该关联图像(例如,步骤102中的第二图像)。
可以理解的是,用户可以通过第二输入,触发电子设备显示电子设备中存在与该第一图像具有关联关系的图像的提示信息,从而用户可以根据实际使用需求选择查看关联图像,例如查看清晰度更高,图像质量更好的关联图像,进而方便用户使用,提升用户的使用体验。
需要说明的是,本申请实施例提供的图像显示方法,执行主体可以为图像显示装置,或者该图像显示装置中的用于执行图像显示方法的控制模块。本申请实施例中以图像显示装置执行图像显示方法为例,说明本申请实施例提供的装置。
如图9所示,本申请实施例提供一种图像显示装置900。该图像显示装置900可以包括:接收模块901和显示模块902。接收模块901,可以用于接收第一输入,该第一输入为查看当前显示的第一图像中的目标对象的输入。显示模块902,用于响应于接收模块901接收的该第一输入,将该第一图像切换显示为第二图像,该第二图像包括该目标对象,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像。其中,该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。
可选的,本申请实施例中,第一图像为第一摄像头拍摄的图像,第二图像为第二摄像头拍摄的图像,该第一摄像头拍摄该第一图像时的焦距小于该第二摄像头拍摄该第二图像时的焦距。
可选的,结合图9,如图10所示,本申请实施例提供一种图像显示装置900还可以包括:处理模块903。显示模块902,还可以用于在拍摄预览界面显示第一预览图像,并显示图像标识,该图像标识用于指示该第二预览图像的采集范围。处理模块903,可以用于响应于拍摄输入,得到与该第一预览图像对应的该第一图像,并得到第二图像。
可选的,本申请实施例中,显示模块902,具体可以用于在拍摄预览界面的第一区域显示第一预览图像,并在该拍摄预览界面的第二区域显示第二预览图像,图像标识为该第二预览图像,该第二预览图像与第二图像对应。
可选的,本申请实施例中,显示模块902,具体可以用于在拍摄预览界面显示第一预览图像,并在该第一预览图像上显示图像标识,该图像标识所框选区域中的图像与该第二预览图像的采集范围相同。
可选的,如图10所示,第一输入为放大查看第一图像中的目标对象的输入。本申请实施例提供一种图像显示装置900还可以包括确定模块904。确定模块904,可以用于在将第一图像切换显示为第二图像之前,基于第一输入确定该第一图像的放大倍数。显示模块902,具体可以用于在 该放大倍数大于或等于目标阈值的情况下,将第一图像切换显示为与该放大倍数对应的第二图像。
可选的,本申请实施例中,接收模块901,还可以用于在接收第一输入之前,接收第二输入,该第二输入为触发显示第一图像的输入。显示模块902,还可以用于响应于接收模块901接收的第二输入,显示目标提示信息,该目标提示信息用于提示存在与该第一图像具有关联关系的图像,该具有关联关系的图像包括第二图像。
本申请实施例中的图像显示装置可以是电子设备中执行图像显示方法的功能实体和/或功能模块,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(network attached storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的图像显示装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的图像显示装置能够实现图1至图8的方法实施例中图像显示装置实现的各个过程,为避免重复,这里不再赘述。
本申请实施例中提供一种图像显示装置,图像显示装置接收用于查看当前显示的第一图像中的目标对象的第一输入,并响应于该第一输入,将该第一图像切换显示为包括该目标对象的第二图像,其中,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像,且该目标对象在该第二图像中的显示尺寸于该目标对象在该第一图像中的显示尺寸不同。通过该方法,用户可以通过不同焦距的摄像头分别获取包含目标对象的第一图像和第二图像,并使得第二图像中的目标对象的显示尺寸大于该第一图像中的显示尺寸不同,例如,第二图像中的目标对象的显示尺寸大于该第一图像中的显示尺寸。如此,可以得到目标对象更为清晰,拍摄效果更佳的第二图像,从而用户在需要查看目标对象的具体细节时可以通过输入触发图像显示装置显示包含更多细节,且更清楚的第二图像进行查看。进而以达到兼顾目标对象的清晰程度和拍摄场景的范围的目的,并方便用户使用,提升用户的使用体验。
可选的,如图11所示,本申请实施例还提供一种电子设备1100,包括处理器1101,存储器1102,存储在存储器1102上并可在所述处理器1101上运行的程序或指令,该程序或指令被处理器1101执行时实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图12为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备2000包括但不限于:射频单元2001、网络模块2002、音频输出单元2003、输入单元2004、传感器2005、显示单元2006、用户输入单元2007、接口单元2008、存储器2009、以及处理器2010等部件。
其中,输入单元2004可以包括图形处理器20041和麦克风20042,显示单元2006可以包括 显示面板20061,用户输入单元2007可以包括触控面板20071以及其他输入设备20072,存储器2009可用于存储软件程序(如,操作***、至少一个功能所需的应用程序)以及各种数据。
本领域技术人员可以理解,电子设备2000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器2010逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元2007,可以用于接收第一输入,该第一输入为查看当前显示的第一图像中的目标对象的输入。显示单元2006,用于响应于用户输入单元2007接收的该第一输入,将该第一图像切换显示为第二图像,该第二图像包括该目标对象,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像。其中,该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。
本申请实施例提供一种电子设备,该电子设备接收用于查看当前显示的第一图像中的目标对象的第一输入,并响应于该第一输入,将该第一图像切换显示为包括该目标对象的第二图像,其中,该第一图像和该第二图像为不同焦距的摄像头拍摄的图像,且该目标对象在该第二图像中的显示尺寸与该目标对象在该第一图像中的显示尺寸不同。通过该方法,用户可以通过不同焦距的摄像头分别获取包含目标对象的第一图像和第二图像,并使得第二图像中的目标对象的显示尺寸大于该第一图像中的显示尺寸不同,例如,第二图像中的目标对象的显示尺寸大于该第一图像中的显示尺寸。如此,可以得到目标对象更为清晰,拍摄效果更佳的第二图像,从而用户在需要查看目标对象的具体细节时可以通过输入触发电子设备显示包含更多细节,且更清楚的第二图像进行查看。进而以达到兼顾目标对象的清晰程度和拍摄场景的范围的目的,提高图像拍摄效果。并方便用户使用,提升用户的使用体验。
可选的,本申请实施例中,第一图像为第一摄像头拍摄的图像,第二图像为第二摄像头拍摄的图像,该第一摄像头拍摄该第一图像时的焦距小于该第二摄像头拍摄该第二图像时的焦距。
可以理解的是,由于电子设备可以通过第一摄像头拍摄第一图像,并通过第二摄像头拍摄第二图像,且该第一摄像头拍摄该第一图像时的焦距小于该第二摄像头拍摄该第二图像时的焦距,因此可以使得目标对象在该第二图像中的显示尺寸大于在该第一图像中的显示尺寸。如此可以使得第二图像中的目标对象更为清晰,拍摄效果更佳,从而用户可以通过第二图像查看目标对象的清晰图像,进而方便用户使用,提升用户的使用体验。
可选的,本申请实施例中,显示单元2006,还可以用于在拍摄预览界面显示第一预览图像,并显示图像标识,该图像标识用于指示该第二预览图像的采集范围。处理器2010,可以用于响应于拍摄输入,得到与该第一预览图像对应的该第一图像,并得到第二图像。
可以理解的是,在接收第一输入之前,电子设备可以通过第一摄像头采集第一预览图像,并通过第二摄像头采集第二预览图像,以及可以在拍摄预览界面显示第一预览图像和用于指示该第二预览图像的采集范围的图像标识。然后,用户可以通过拍摄输入,触发电子设备得到第一图像和第二图像。从而可以到达更加满足用户需求的第二图像,即得到更加清晰的第二图像,如此,为通过第二图像查看目标对象的清晰图像提供基础,为方便用户使用提供保障。
可选的,本申请实施例中,显示单元2006,具体可以用于在拍摄预览界面的第一区域显示第 一预览图像,并在该拍摄预览界面的第二区域显示第二预览图像,图像标识为该第二预览图像,第二预览图像与第二图像对应。
可以理解的是,由于整个第二预览图像可以作为图像标识,即电子设备可以在拍摄预览界面的第一区域显示第一预览图像,并在该拍摄预览界面的第二区域显示第二预览图像。如此,方便用户查看第一预览图像和第二预览图像,用户可以根据实际使用需求可以调整第一摄像头或第二摄像头的焦距,从而在用户触发电子设备执行拍摄操作的情况下,得到满足用户需求的第一图像和第二图像,进而方便用户使用,提升用户的使用体验。
可选的,本申请实施例中,显示单元2006,具体可以用于在拍摄预览界面显示第一预览图像,并在该第一预览图像上显示图像标识,该图像标识所框选区域中的图像与该第二预览图像的采集范围相同。
可以理解的是,由于电子设备可以在第一预览图像上显示图像标识(如,框选标识),而该第一预览图像种该图像标识所框选区域中的图像与第二预览图像相同。即电子设备可以通过该图像标识表示第二摄像头采集图像的范围。如此,方便用户查看第一预览图像和第二预览图像,用户可以根据实际使用需求可以调整第一摄像头或第二摄像头的焦距,以及调整第一预览图像和第二预览图像的显示范围,从而在用户触发电子设备执行拍摄操作的情况下,得到满足用户需求的第一图像和第二图像,进而方便用户使用,提升用户的使用体验。
可选的,本申请实施例中,第一输入为放大查看第一图像中的目标对象的输入。处理器2010,还可以用于在将第一图像切换显示为第二图像之前,基于第一输入确定该第一图像的放大倍数。显示单元2006,具体可以用于在该放大倍数大于或等于目标阈值的情况下,将第一图像切换显示为与该放大倍数对应的第二图像。
可以理解的是,由于电子设备可以检测并获取用户通过第一输入对第一图像的放大倍数,并在第一图像的放大倍数大于或等于目标阈值的情况下,触发电子设备将第一图像切换显示为第二图像。如此可以使得电子设备在满足切换显示条件的情况下,自动切换显示更为清晰第二图像,从而方便用户使用,提升用户的使用体验。
可选的,本申请实施例中,用户输入单元2007,还可以用于在接收第一输入之前,接收第二输入,该第二输入为触发显示第一图像的输入。显示单元2006,还可以用于响应于用户输入单元2007接收的第二输入,显示目标提示信息,该目标提示信息用于提示电子设备中存在与该第一图像具有关联关系的图像,该具有关联关系的图像包括第二图像。
可以理解的是,用户可以通过第二输入,触发电子设备显示电子设备中存在与该第一图像具有关联关系的图像的提示信息,从而用户可以根据实际使用需求选择查看关联图像,例如查看清晰度更高,图像质量更好的关联图像,进而方便用户使用,提升用户的使用体验。
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,该处理器为上述实施例中的电子设备中的处理器。该可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种图像显示方法,所述方法包括:
    接收第一输入,所述第一输入为查看当前显示的第一图像中的目标对象的输入;
    响应于所述第一输入,将所述第一图像切换显示为第二图像,所述第二图像包括所述目标对象,所述第一图像和所述第二图像为不同焦距的摄像头拍摄的图像;
    其中,所述目标对象在所述第二图像中的显示尺寸与所述目标对象在所述第一图像中的显示尺寸不同。
  2. 根据权利要求1所述的方法,其中,所述第一图像为第一摄像头拍摄的图像,所述第二图像为第二摄像头拍摄的图像;
    所述第一摄像头拍摄所述第一图像时的焦距小于所述第二摄像头拍摄所述第二图像时的焦距。
  3. 根据权利要求2所述的方法,其中,在接收所述第一输入之前,所述方法还包括:
    在拍摄预览界面显示第一预览图像,并显示图像标识,所述图像标识用于指示所述第二图像的采集范围;
    响应于拍摄输入,得到与所述第一预览图像对应的所述第一图像,并得到所述第二图像。
  4. 根据权利要求3所述的方法,其中,所述在拍摄预览界面显示所述第一预览图像,并显示图像标识,包括:
    在所述拍摄预览界面的第一区域显示所述第一预览图像,并在所述拍摄预览界面的第二区域显示第二预览图像,所述图像标识为所述第二预览图像,所述第二预览图像与所述第二图像对应。
  5. 根据权利要求3所述的方法,其中,所述在拍摄预览界面显示所述第一预览图像,并显示图像标识,包括:
    在所述拍摄预览界面显示所述第一预览图像,并在所述第一预览图像上显示所述图像标识,所述图像标识所框选区域中的图像与所述第二图像的采集范围相同。
  6. 根据权利要求1所述的方法,其中,所述第一输入为放大查看所述第一图像中的所述目标对象的输入;
    所述将所述第一图像切换显示为第二图像之前,所述方法还包括:
    基于所述第一输入确定所述第一图像的放大倍数;
    所述将所述第一图像切换显示为第二图像,包括:
    在所述放大倍数大于或等于目标阈值的情况下,将所述第一图像切换显示为与所述放大倍数对应的所述第二图像。
  7. 根据权利要求1所述的方法,其中,所述接收第一输入之前,所述方法还包括:
    显示目标提示信息,所述目标提示信息用于提示存在与所述第一图像具有关联关系的图像,所述具有关联关系的图像包括所述第二图像。
  8. 一种图像显示装置,所述装置包括:接收模块和显示模块;
    所述接收模块,用于接收第一输入,所述第一输入为查看当前显示的第一图像中的目标对象的输入;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,将所述第一图像切换显示为 第二图像,所述第二图像包括所述目标对象,所述第一图像和所述第二图像为不同焦距的摄像头拍摄的图像;
    其中,所述目标对象在所述第二图像中的显示尺寸与所述目标对象在所述第一图像中的显示尺寸不同。
  9. 根据权利要求8所述的装置,其中,所述第一图像为第一摄像头拍摄的图像,所述第二图像为第二摄像头拍摄的图像;
    所述第一摄像头拍摄所述第一图像时的焦距小于所述第二摄像头拍摄所述第二图像时的焦距。
  10. 根据权利要求9所述的装置,其中,所述装置还包括处理模块;
    所述显示模块,还用于在拍摄预览界面显示第一预览图像,并显示图像标识,所述图像标识用于指示所述第二图像的采集范围;
    所述处理模块,用于响应于拍摄输入,得到与所述第一预览图像对应的所述第一图像,并得到所述第二图像。
  11. 根据权利要求10所述的装置,其中,所述显示模块,具体用于在所述拍摄预览界面的第一区域显示所述第一预览图像,并在所述拍摄预览界面的第二区域显示第二预览图像,所述图像标识为所述第二预览图像,所述第二预览图像与所述第二图像对应。
  12. 根据权利要求10所述的装置,其中,所述显示模块,具体用于在所述拍摄预览界面显示所述第一预览图像,并在所述第一预览图像上显示所述图像标识,所述图像标识所框选区域中的图像与所述第二图像的采集范围相同。
  13. 根据权利要求8所述的装置,其中,所述第一输入为放大查看所述第一图像中的所述目标对象的输入;所述装置还包括确定模块;
    所述确定模块,用于在将所述第一图像切换显示为所述第二图像之前,基于所述第一输入确定所述第一图像的放大倍数;
    所述显示模块,具体用于在所述放大倍数大于或等于目标阈值的情况下,将所述第一图像切换显示为与所述放大倍数对应的所述第二图像。
  14. 根据权利要求8所述的装置,其中,所述显示模块,还用于显示目标提示信息,所述目标提示信息用于提示存在与所述第一图像具有关联关系的图像,所述具有关联关系的图像包括所述第二图像。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至7中的任一项所述的图像显示方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的图像显示方法的步骤。
  17. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至7中任一项所述的图像显示方法。
  18. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至7中任一项所述的图像显示方法。
  19. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至7中任一项所述的图像显示方法。
PCT/CN2022/073686 2021-01-27 2022-01-25 图像显示方法、装置及电子设备 WO2022161340A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110113854.0 2021-01-27
CN202110113854.0A CN113014798A (zh) 2021-01-27 2021-01-27 图像显示方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2022161340A1 true WO2022161340A1 (zh) 2022-08-04

Family

ID=76384589

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/073686 WO2022161340A1 (zh) 2021-01-27 2022-01-25 图像显示方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN113014798A (zh)
WO (1) WO2022161340A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014798A (zh) * 2021-01-27 2021-06-22 维沃移动通信有限公司 图像显示方法、装置及电子设备
CN113473012A (zh) * 2021-06-30 2021-10-01 维沃移动通信(杭州)有限公司 虚化处理方法、装置和电子设备
CN113709368A (zh) * 2021-08-26 2021-11-26 维沃移动通信有限公司 图像显示方法、装置及设备
CN116389902B (zh) * 2023-05-11 2024-01-05 广东工业大学 一种液态镜头快速对焦方法及***

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100134641A1 (en) * 2008-12-01 2010-06-03 Samsung Electronics Co., Ltd. Image capturing device for high-resolution images and extended field-of-view images
CN106055247A (zh) * 2016-05-25 2016-10-26 努比亚技术有限公司 一种图片显示装置、方法和移动终端
CN106303258A (zh) * 2016-09-19 2017-01-04 深圳市金立通信设备有限公司 一种基于双摄像头的拍摄方法和终端
CN110769156A (zh) * 2019-10-31 2020-02-07 维沃移动通信有限公司 图片显示方法及电子设备
CN110944113A (zh) * 2019-11-25 2020-03-31 维沃移动通信有限公司 对象显示方法及电子设备
CN111835973A (zh) * 2020-07-22 2020-10-27 Oppo(重庆)智能科技有限公司 拍摄方法、拍摄装置、存储介质与移动终端
CN113014798A (zh) * 2021-01-27 2021-06-22 维沃移动通信有限公司 图像显示方法、装置及电子设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014083737A1 (ja) * 2012-11-30 2014-06-05 パナソニック株式会社 画像処理装置および画像処理方法
CN106791400B (zh) * 2016-12-23 2019-08-20 维沃移动通信有限公司 一种图像显示方法及移动终端
CN106909274B (zh) * 2017-02-27 2020-12-15 南京车链科技有限公司 一种图像显示方法和装置
CN107800961A (zh) * 2017-10-17 2018-03-13 珠海市魅族科技有限公司 一种无损放大图片方法及装置、终端及可读存储介质
CN110099213A (zh) * 2019-04-26 2019-08-06 维沃移动通信(杭州)有限公司 一种图像显示控制方法及终端
CN110209324B (zh) * 2019-04-30 2020-11-10 维沃移动通信有限公司 一种显示方法及终端设备
CN112333380B (zh) * 2019-06-24 2021-10-15 华为技术有限公司 一种拍摄方法及设备
CN110908558B (zh) * 2019-10-30 2022-10-18 维沃移动通信(杭州)有限公司 一种图像显示方法及电子设备
CN114205522B (zh) * 2020-01-23 2023-07-18 华为技术有限公司 一种长焦拍摄的方法及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100134641A1 (en) * 2008-12-01 2010-06-03 Samsung Electronics Co., Ltd. Image capturing device for high-resolution images and extended field-of-view images
CN106055247A (zh) * 2016-05-25 2016-10-26 努比亚技术有限公司 一种图片显示装置、方法和移动终端
CN106303258A (zh) * 2016-09-19 2017-01-04 深圳市金立通信设备有限公司 一种基于双摄像头的拍摄方法和终端
CN110769156A (zh) * 2019-10-31 2020-02-07 维沃移动通信有限公司 图片显示方法及电子设备
CN110944113A (zh) * 2019-11-25 2020-03-31 维沃移动通信有限公司 对象显示方法及电子设备
CN111835973A (zh) * 2020-07-22 2020-10-27 Oppo(重庆)智能科技有限公司 拍摄方法、拍摄装置、存储介质与移动终端
CN113014798A (zh) * 2021-01-27 2021-06-22 维沃移动通信有限公司 图像显示方法、装置及电子设备

Also Published As

Publication number Publication date
CN113014798A (zh) 2021-06-22

Similar Documents

Publication Publication Date Title
WO2022161340A1 (zh) 图像显示方法、装置及电子设备
CN111654629B (zh) 摄像头切换方法、装置、电子设备及可读存储介质
US20130120602A1 (en) Taking Photos With Multiple Cameras
JP2018503269A (ja) プレビューイメージの表示方法および装置
CN111277760B (zh) 一种拍摄构图方法及终端、存储介质
WO2018166069A1 (zh) 拍照预览方法、图形用户界面及终端
CN113840070B (zh) 拍摄方法、装置、电子设备及介质
CN112714253B (zh) 视频录制方法、装置、电子设备和可读存储介质
WO2022262720A1 (zh) 拍摄方法及装置
WO2022089284A1 (zh) 拍摄处理方法、装置、电子设备和可读存储介质
WO2022161240A1 (zh) 拍摄方法、装置、电子设备及介质
CN112954210A (zh) 拍照方法、装置、电子设备及介质
CN113141450A (zh) 拍摄方法、装置、电子设备及介质
CN112887617B (zh) 一种拍摄方法、装置和电子设备
CN112188097B (zh) 拍摄方法、拍摄装置、终端设备及计算机可读存储介质
CN112437232A (zh) 拍摄方法、装置、电子设备及可读存储介质
CN112954214A (zh) 拍摄的方法、装置、电子设备及存储介质
WO2022135260A1 (zh) 拍摄方法、装置、电子设备及可读存储介质
WO2024061134A1 (zh) 拍摄方法、装置、电子设备及介质
JP2023526806A (ja) 手振れ防止方法、手振れ防止装置及び電子機器
CN112653841B (zh) 拍摄方法、装置和电子设备
WO2022095878A1 (zh) 拍摄方法、装置、电子设备及可读存储介质
CN112153291B (zh) 拍照方法和电子设备
CN112887624B (zh) 一种拍摄方法、装置和电子设备
CN111654620B (zh) 拍摄方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22745215

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22745215

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17-01-2024)