CN115118883B - Image preview method, device and equipment - Google Patents

Image preview method, device and equipment Download PDF

Info

Publication number
CN115118883B
CN115118883B CN202210747421.5A CN202210747421A CN115118883B CN 115118883 B CN115118883 B CN 115118883B CN 202210747421 A CN202210747421 A CN 202210747421A CN 115118883 B CN115118883 B CN 115118883B
Authority
CN
China
Prior art keywords
images
target image
preview
groups
image
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202210747421.5A
Other languages
Chinese (zh)
Other versions
CN115118883A (en
Inventor
刘娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Runbo Panoramic Culture And Tourism Technology Co ltd
Original Assignee
Runbo Panoramic Culture And Tourism Technology Co ltd
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 Runbo Panoramic Culture And Tourism Technology Co ltd filed Critical Runbo Panoramic Culture And Tourism Technology Co ltd
Priority to CN202210747421.5A priority Critical patent/CN115118883B/en
Publication of CN115118883A publication Critical patent/CN115118883A/en
Application granted granted Critical
Publication of CN115118883B publication Critical patent/CN115118883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses an image preview method, device and equipment, and relates to the technical field of image processing, wherein the method comprises the following steps: receiving a preview instruction of checking a first target image, which is sent by second equipment; responding to the preview instruction for viewing the first target image, sending an instruction for acquiring the preview image to third equipment so as to trigger the third equipment to acquire at least two groups of images respectively, and then transmitting the at least two groups of images back to the first equipment; receiving the at least two groups of images returned by the third device, and splicing images related to the first target image in the at least two groups of images to obtain the first target image; and transmitting the first target image back to the second device for viewing a preview of the first target image in the second device. By the method, resources consumed by preview imaging are reduced.

Description

Image preview method, device and equipment
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image preview method, apparatus and device.
Background
Panoramic cameras are shooting techniques implemented by multiple lenses, sensor systems, and image stitching, which can generate three-dimensional space scene images. But the panoramic camera lacks perception on the final imaging effect, and cannot provide the imaging effect of the panoramic camera under the current position and background color for the user, so in order to improve the usability of the panoramic camera, the panoramic camera needs to provide the function of previewing and imaging.
But preview image generation requires a significant amount of computational and communication resources, preview imaging means generating a panoramic video stream, which consumes a greater amount of computational and communication resources than the generation of a single panoramic image.
Based on this, how to reduce resources consumed for preview imaging by using an efficient image preview method is a problem to be solved by those skilled in the art.
Disclosure of Invention
In order to solve the above problems, the embodiment of the invention provides an image preview method, an image preview device and image preview equipment.
According to an aspect of an embodiment of the present invention, there is provided an image preview method applied to a first device, where the first device is a cloud device, the image preview method includes:
receiving a preview instruction of checking a first target image, which is sent by second equipment, wherein the second equipment is terminal equipment;
Responding to the preview instruction for viewing the first target image, sending an instruction for acquiring the preview image to third equipment, triggering the third equipment to acquire at least two groups of images respectively, and then transmitting the at least two groups of images back to the first equipment, wherein the third equipment is camera equipment;
receiving the at least two groups of images returned by the third device, and splicing images related to the first target image in the at least two groups of images to obtain the first target image;
and transmitting the first target image back to the second device for viewing a preview of the first target image in the second device.
Optionally, after receiving the at least two sets of images returned by the third device, the method further includes:
the at least two sets of images are stored.
Optionally, after receiving the preview instruction sent by the second device to view the first target image, the method further includes:
receiving a preview instruction of changing a target image sent by the second device, wherein the preview of the changing target image refers to changing the first target image into a second target image;
Responding to the preview instruction of the change target image, judging whether the stored images of the at least two groups of images exist or not, and splicing the images to obtain the second target image;
if the stored at least two groups of images have the images which can be spliced to obtain the second target image, splicing the images which can be spliced to obtain the second target image;
if the stored at least two groups of images do not have the images which can be spliced to obtain the second target image, sending an instruction for updating the preview image to the third device so as to trigger the third device to respectively acquire at least two groups of updated images, and then returning the at least two groups of updated images to the first device;
receiving at least two updated images returned by the third device, and splicing the at least two updated images and the images related to the second target image in the at least two updated images to obtain the second target image;
and transmitting the second target image back to the second device for viewing a preview of the second target image in the second device.
According to another aspect of the embodiment of the present invention, there is provided an image preview method applied to the second device, the image preview method including:
the preview instruction of viewing the first target image is sent to the first device, so that the second device is triggered to send the instruction of acquiring the preview image to the third device, the at least two groups of images returned by the third device are received, the images related to the first target image in the at least two groups of images are spliced to obtain the first target image, and the instruction of returning the first target image to the second device is sent back;
receiving the first target image returned by the first equipment;
a preview of the first target image is viewed.
According to still another aspect of the embodiment of the present invention, there is provided an image preview method applied to the third device, the image preview method including:
receiving the instruction for acquiring the preview image sent by the first equipment;
and respectively acquiring at least two groups of images in response to the instruction for acquiring the preview images, and then transmitting the at least two groups of images back to the first equipment.
According to still another aspect of the embodiment of the present invention, there is provided an image preview apparatus applied to a first device, where the first device is a cloud device, the image preview apparatus includes:
The first receiving module is used for receiving a preview instruction for viewing a first target image, which is sent by a second device, wherein the second device is a terminal device;
the first processing module is used for responding to the preview instruction for viewing the first target image, sending an instruction for acquiring the preview image to third equipment, triggering the third equipment to acquire at least two groups of images respectively, and then transmitting the at least two groups of images back to the first equipment, wherein the third equipment is camera equipment; receiving the at least two groups of images returned by the third device, and splicing images related to the first target image in the at least two groups of images to obtain the first target image;
and the output module is used for transmitting the first target image back to the second device so as to be used for viewing the preview of the first target image in the second device.
According to still another aspect of the embodiment of the present invention, there is provided an image preview apparatus applied to the second device, the image preview apparatus including:
the sending module is used for sending the preview instruction for viewing the first target image to the first device, triggering the second device to send the instruction for acquiring the preview image to the third device, receiving the at least two groups of images returned by the third device, splicing the images related to the first target image in the at least two groups of images to obtain the first target image, and returning the first target image to the second device;
The second receiving module is used for receiving the first target image returned by the first equipment;
and the viewing module is used for viewing the preview of the first target image.
According to still another aspect of the embodiment of the present invention, there is provided an image preview apparatus applied to the third device, the image preview apparatus including:
the third receiving module is used for receiving the instruction for acquiring the preview image, which is sent by the first equipment;
and the second processing module is used for respectively acquiring at least two groups of images in response to the instruction for acquiring the preview images and then transmitting the at least two groups of images back to the first equipment.
According to yet another aspect of an embodiment of the present invention, there is provided a computing device including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the image preview method.
According to still another aspect of the embodiments of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the image preview method described above.
According to the scheme provided by the embodiment of the invention, the preview instruction of viewing the first target image, which is sent by the second equipment, is received; responding to the preview instruction for viewing the first target image, sending an instruction for acquiring the preview image to third equipment so as to trigger the third equipment to acquire at least two groups of images respectively, and then transmitting the at least two groups of images back to the first equipment; receiving the at least two groups of images returned by the third device, and splicing images related to the first target image in the at least two groups of images to obtain the first target image; and the first target image is returned to the second device so as to be used for viewing the preview of the first target image in the second device, so that resources consumed by preview imaging are reduced.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and may be implemented according to the content of the specification, so that the technical means of the embodiments of the present invention can be more clearly understood, and the following specific implementation of the embodiments of the present invention will be more apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 shows a flowchart of an image preview method applied to a first device according to an embodiment of the present invention;
FIG. 2 illustrates a schematic view of a particular panoramic camera provided by an embodiment of the present invention;
fig. 3 is a schematic view of a specific photographing flow of an existing panoramic camera according to an embodiment of the present invention;
FIG. 4 shows a flowchart of an image preview method applied to a second device according to an embodiment of the present invention;
fig. 5 shows a flowchart of an image preview method applied to a third device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a specific image preview method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a sequence of generated panoramic images corresponding to the image preview method shown in FIG. 6;
FIG. 8 is a schematic diagram of another specific image preview method according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of still another specific image preview method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an image previewing apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an image previewing apparatus applied to a second device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an image previewing apparatus according to an embodiment of the present invention;
FIG. 13 illustrates a schematic diagram of a computing device provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 shows a flowchart of an image preview method applied to a first device, where the first device is a cloud device. As shown in fig. 1, the method comprises the steps of:
Step 11, receiving a preview instruction of checking a first target image, which is sent by a second device, wherein the second device is a terminal device;
step 12, responding to the preview instruction for viewing the first target image, and sending an instruction for acquiring the preview image to third equipment, so as to trigger the third equipment to acquire at least two groups of images respectively, and then, transmitting the at least two groups of images back to the first equipment, wherein the third equipment is camera equipment;
step 13, receiving the at least two groups of images returned by the third device, and stitching the images related to the first target image in the at least two groups of images to obtain the first target image;
and step 14, the first target image is returned to the second device for viewing the preview of the first target image in the second device.
In the embodiment, a preview instruction of viewing a first target image sent by a second device is received; responding to the preview instruction for viewing the first target image, sending an instruction for acquiring the preview image to third equipment so as to trigger the third equipment to acquire at least two groups of images respectively, and then transmitting the at least two groups of images back to the first equipment; receiving the at least two groups of images returned by the third device, and splicing images related to the first target image in the at least two groups of images to obtain the first target image; and the first target image is returned to the second device so as to be used for viewing the preview of the first target image in the second device, so that resources consumed by preview imaging are reduced.
Fig. 2 shows a schematic view of a specific panoramic camera according to an embodiment of the present invention, and as shown in fig. 2, the panoramic camera includes a bottom pillar and a top panoramic camera. The bottom upright post comprises a battery module, a control module and a communication module; the top part comprises at least two lens groups and corresponding image sensors and image signal processors (Image Signal Processor, ISP). The control module is used for controlling the starting, shooting and image processing of the camera. The control module can control each lens group and the corresponding image sensor and image signal processor separately or simultaneously.
Fig. 3 shows a specific prior panoramic camera shooting flow chart provided by the embodiment of the invention, as shown in fig. 3, the panoramic camera comprises 4 shooting lenses, each lens corresponds to an image sensor, each image sensor is used for obtaining images of the corresponding lens, namely four images of a-1, B-1, C-1 and D-1 in fig. 3, after obtaining the images, the camera sends the images to a cloud server through a wireless communication module, and the cloud server sends the images to a user through the communication module after completing splicing. With the lens 2 facing the user and the lenses 1, 3, 4 facing the environment. Illustrated in fig. 3 is the process of final imaging, i.e., the process of providing a panoramic image. The image stitching is completed in the stitching module of the cloud server, so that four images A-1, B-1, C-1 and D-1 sent by the panoramic camera are full-size images obtained by corresponding sensors, and the full-size images are subjected to stitching algorithm to obtain a final panoramic image.
However, if the user desires to select the best shooting timing and angle by previewing the final imaging result before imaging, the flow in fig. 3 becomes actually a process of transmission and generation of a panoramic video stream. That is, the lenses 1, 2, 3 and 4 continuously acquire images, the images are continuously transmitted to the cloud server through the wireless communication module, the cloud server continuously splices four images at each moment, and the images are continuously transmitted to the intelligent terminal of the user through the communication module. Such a process consumes a large amount of cloud computing resources and communication resources of the panoramic camera, which can put a great strain on the operation cost.
In an optional embodiment of the present invention, in step 13, after receiving the at least two sets of images returned by the third device, the method may further include:
step 131, storing the at least two sets of images.
In this embodiment, the image is stored each time the image returned by the third device is received.
In yet another alternative embodiment of the present invention, after step 11, it may further include:
step 111, receiving a preview instruction of changing a target image sent by the second device, wherein the preview of the changing target image refers to changing the first target image into a second target image;
Step 112, in response to the preview instruction of the change target image, judging whether the stored at least two groups of images have images which can be spliced to obtain the second target image;
step 113, if there are images capable of being spliced to obtain the second target image in the at least two stored groups of images, splicing the images capable of being spliced to obtain the second target image;
step 114, if there is no image capable of being spliced to obtain the second target image in the at least two stored images, sending an instruction for updating the preview image to the third device to trigger the third device to acquire at least two updated images respectively, and then returning the at least two updated images to the first device;
step 115, receiving the updated at least two sets of images returned by the third device, and stitching the updated at least two sets of images and the images related to the second target image in the at least two sets of images to obtain the second target image;
step 116, transmitting the second target image back to the second device for viewing a preview of the second target image in the second device.
In this embodiment, when the preview of the target image is changed, since the target image is a panoramic image, at least two images need to be stitched to obtain the target image, when a part of the images of the stitched target image is included in the stored images, an image that is only acquired and not included in the images stored in the stitching of the target image may be sent to the third device, for example:
when a first target image is acquired, transmitting an instruction for acquiring a preview image to third equipment;
after receiving the instruction, the third device acquires an image A, an image B, an image C and an image D, and returns the image A, the image B, the image C and the image D to the second device;
after receiving the image A, the image B, the image C and the image D, the second equipment stores the image A, the image B and the image C, if the first target image needs to be spliced through the image A, the image B and the image C, the image A, the image B and the image C are spliced, and the spliced image is sent to the second equipment for previewing;
at this time, if the user wants to change one preview image, that is, the first target image is changed to the second target image through the second device, if the second target image needs to be stitched through the image B, the image C and the image D, the stored image B, the stored image C and the stored image D may be directly stitched to obtain the second target image, and if the second target image needs to be stitched through the image C, the stored image D and the stored image D, only the acquired image E may be sent to the third device, and the acquired image may be determined through the lens, but not limited to the above.
Fig. 4 shows a flowchart of an image preview method applied to a second device according to an embodiment of the present invention. As shown in fig. 4, the method comprises the steps of:
step 41, sending the preview instruction for viewing the first target image to the first device, so as to trigger the second device to send the instruction for acquiring the preview image to the third device, receiving the at least two groups of images returned by the third device, splicing the images related to the first target image in the at least two groups of images to obtain the first target image, and returning the first target image to the second device;
step 42, receiving the first target image returned by the first device;
and step 43, viewing the preview of the first target image.
Fig. 5 shows a flowchart of an image preview method applied to a third device according to an embodiment of the present invention. As shown in fig. 5, the method comprises the steps of:
step 51, receiving the instruction of acquiring the preview image sent by the first device;
and step 52, respectively acquiring at least two groups of images in response to the instruction for acquiring the preview images, and then transmitting the at least two groups of images back to the first device.
The steps 11 to 14, 41 to 43, and 51 to 52 are described below as an image preview method combining the above three devices.
Step one, a terminal device communicates with a cloud server and sends a preview obtaining instruction to the cloud server;
step two, the cloud server receives a preview obtaining instruction and then sends a mode for starting preview shooting to the panoramic camera;
and thirdly, starting a preview shooting mode by the panoramic camera, wherein the preview shooting mode can be divided into two stages, and the first stage comprises the steps of obtaining at least one group of images of all the sensors and transmitting all the shot images to a cloud server through a wireless communication module. The second stage includes obtaining an image of only a portion of the image sensor;
and step four, the cloud server receives images of a plurality of lenses in the first stage of the preview shooting mode, splices the images of the plurality of lenses by using a splicing algorithm, generates a preview panoramic image, and sends the preview panoramic image to the intelligent terminal through the communication module. Meanwhile, the cloud server stores images of a plurality of shots in the first stage;
step five, after receiving the images of the plurality of shots in the first stage, the cloud server receives the images of part of shots in the second stage of the preview shooting mode, generates a preview panoramic image by using a stitching algorithm and the stored images of at least one shot in the first stage, and sends the preview panoramic image to the intelligent terminal through the communication module;
Step six, the terminal receives the preview video stream sent by the cloud server and previews panoramic shooting through the interactive interface, and at the moment, the intelligent terminal can also send shooting instructions to finish panoramic shooting once.
In the image preview method applied to the third device, the user interacts with the cloud server through the intelligent terminal, controls the panoramic camera hardware device to obtain a plurality of images under multiple views, completes synthesis at the cloud, sends the images to the intelligent terminal for previewing through connection between the intelligent terminal and the cloud server, stores the obtained images under multiple views, can meet the requirements that different users can obtain new images in different times through a splicing mode, and distributes the new images to different users.
Fig. 6-7 show a specific image preview method provided by the embodiment of the present invention, in which a panoramic camera receives control information of a cloud server, and enters a first stage of a preview shooting mode, in which the panoramic camera obtains 4 panoramic images a-1, B-1, C-1, D-1 at a first moment through lenses 1, 2, 3, and 4, and then the panoramic camera sends a-1, B-1, C-1, D-1 to the cloud server through a wireless communication module. Meanwhile, the panoramic camera indicates that one image is a preview center image, and the preview center image is the image where the user is located. As shown in fig. 6, B-1 is a preview center image, which is obtained through the lens B-1 and contains image information of the user. Panoramic cameras act as acquisition shots for previewing a center image by calibrating a fixed shot. The preview center image can also be obtained by a face or target recognition mode, namely, face or target information in the image is obtained for the four lenses, and the image containing the face or the target is positioned in the preview center image. As shown in FIG. 6, the cloud server receives four images of A-1, B-1, C-1, D-1 and obtains B-1 as a preview center image according to signaling. Further, the cloud server splices the A-1, the B-1, the C-1 and the D-1 into a panoramic image through a splicing algorithm, and sends the panoramic image to an intelligent terminal of a user by taking the B-1 as a center. At this time, the user obtains a preview panoramic image and sees himself centered in the panoramic image. After the panoramic camera sends A-1, B-1, C-1 and D-1, images at subsequent moments are obtained continuously through the lens 2. As shown in fig. 7, the panoramic camera transmits B-2, B-3, B4, …, BN. And after receiving the B-3, the B4, the … and the BN, the cloud server performs splicing with the A-1, the C-1 and the D-1 through a splicing algorithm to generate a panoramic image sequence. Further, the cloud server continuously transmits the sequence of the panoramic images which are spliced subsequently after transmitting the first panoramic preview image. At this time, on the user side, the user can simultaneously perform autonomous movement and drag the view angle of the panoramic camera through the user interface, and browse the final imaging effect.
Fig. 8 is a schematic diagram of another specific image preview method provided in the embodiment of the present invention, where, as shown in fig. 8, the panoramic camera is switched between a first stage of a preview shooting mode and a second stage of the preview shooting mode. One switching mode is periodic switching, namely, after the panoramic camera shoots in N continuous first phases, the panoramic camera automatically cuts into the second phase to shoot; after the panoramic camera continuously shoots M single-lens images of the second stage, the panoramic camera automatically cuts into the first stage for shooting. Before the cloud terminal switches to the second-stage shooting every time, the cloud terminal indicates the identification of the preview center image through signaling. And the cloud server identifies the face or the target based on the image splicing result of the shooting in the first stage and is used for tracking the position of the target. And when the tracking target moves from the current preview center image to the boundary of the adjacent image, sending a preview center image switching instruction. After the panoramic camera obtains the switching instruction, when shooting in the second stage, a single image sequence required by the second stage is obtained by using a corresponding lens. One manner of periodic switching is shown in fig. 8, where the box with diagonal lines represents the preview center image. In the first stage, the panoramic camera takes 3 sets of images altogether, and the preview center image is the lens 2. Further, from frame 4, the panoramic camera automatically goes to the second stage, where only the lens 2 is used to obtain the corresponding image. And starting from the 7 th frame, the panoramic camera automatically shifts to the first stage from the second stage, and simultaneously receives a preview center switching instruction sent by the cloud server, wherein the instruction indicates that a preview center image is switched to the lens 3. Beginning at frame 10, the panoramic camera goes to a second phase, where it acquires successive image frames using only lens 3. The cloud server can judge whether to send out the preview center image switching instruction by receiving the instruction of the user terminal, and can judge whether to send out the preview center image switching instruction by carrying out image recognition on the panoramic image in the first stage.
Fig. 9 is a schematic diagram of another specific image preview method provided by the embodiment of the present invention, where, as shown in fig. 9, the intelligent terminal receives a user input and starts an automatic panoramic preview mode. The automatic panoramic preview mode refers to that the intelligent terminal automatically displays different view angles of panoramic videos according to a predefined sequence, for example, one automatic panoramic preview mode sequentially displays 360 degrees from the center of a user to the horizontal direction and then sequentially displays 360 degrees from the center of the user to the vertical direction through the intelligent terminal. And after receiving the automatic panoramic preview mode of the intelligent terminal, the cloud terminal sends a panoramic preview mode to the panoramic camera, and the panoramic camera executes second-stage shooting according to a predefined scanning sequence. Fig. 9 shows a schematic diagram of a panoramic camera generated image sequence in an automatic panoramic preview mode. The image with oblique lines indicates a preview center image, and after receiving an automatic panoramic preview mode instruction, the panoramic camera firstly obtains 3 frames of images through the lens 2 and automatically switches to the lens 3 to obtain 3 frames of images. The panoramic camera can be switched to the lens 4 and the lens 1 to obtain 3 frames of images respectively, and complete one scanning in the horizontal direction, and can also perform scanning in the vertical direction.
In the above embodiment of the present invention, by receiving a preview instruction for viewing a first target image sent by a second device; responding to the preview instruction for viewing the first target image, sending an instruction for acquiring the preview image to third equipment so as to trigger the third equipment to acquire at least two groups of images respectively, and then transmitting the at least two groups of images back to the first equipment; receiving the at least two groups of images returned by the third device, and splicing images related to the first target image in the at least two groups of images to obtain the first target image; and the first target image is returned to the second device so as to be used for viewing the preview of the first target image in the second device, so that resources consumed by preview imaging are reduced.
Fig. 10 is a schematic structural diagram of an image preview apparatus 100 applied to a first device according to an embodiment of the present invention. As shown in fig. 10, the apparatus includes:
a first receiving module 101, configured to receive a preview instruction for viewing a first target image sent by a second device, where the second device is a terminal device;
the first processing module 102 is configured to send, to a third device, an instruction to obtain a preview image in response to the preview instruction for viewing the first target image, to trigger the third device to obtain at least two sets of images respectively, and then return the at least two sets of images to the first device, where the third device is a camera device; receiving the at least two groups of images returned by the third device, and splicing images related to the first target image in the at least two groups of images to obtain the first target image;
An output module 103 for transmitting the first target image back to the second device for viewing a preview of the first target image in the second device.
Optionally, the first processing module 102 is further configured to store the at least two sets of images.
Optionally, the first receiving module 101 is further configured to receive a preview instruction of the change target image sent by the second device, where the preview of the change target image refers to changing the first target image to the second target image;
optionally, the first processing module 102 is further configured to determine whether an image capable of stitching to obtain the second target image exists in the at least two stored groups of images in response to the preview instruction of the change target image;
if the stored at least two groups of images have the images which can be spliced to obtain the second target image, splicing the images which can be spliced to obtain the second target image;
if the stored at least two groups of images do not have the images which can be spliced to obtain the second target image, sending an instruction for updating the preview image to the third device so as to trigger the third device to respectively acquire at least two groups of updated images, and then returning the at least two groups of updated images to the first device;
Receiving at least two updated images returned by the third device, and splicing the at least two updated images and the images related to the second target image in the at least two updated images to obtain the second target image;
optionally, the output module 103 is further configured to return the second target image to the second device, so as to view a preview of the second target image in the second device.
Fig. 11 is a schematic structural diagram of an image previewing apparatus 110 applied to a first device according to an embodiment of the present invention. As shown in fig. 11, the apparatus includes:
a sending module 111, configured to send the preview instruction for viewing the first target image to the first device, so as to trigger the second device to send the instruction for acquiring the preview image to the third device, receive the at least two sets of images returned by the third device, splice images related to the first target image in the at least two sets of images, obtain the first target image, and send the first target image back to the second device;
a second receiving module 112, configured to receive the first target image returned by the first device;
And the viewing module 113 is used for viewing the preview of the first target image.
Fig. 12 is a schematic structural diagram of an image previewing apparatus 120 according to an embodiment of the present invention. As shown in fig. 12, the apparatus includes:
a third receiving module 121, configured to receive the instruction for acquiring the preview image sent by the first device;
the second processing module 122 is configured to obtain at least two sets of images respectively in response to the instruction for obtaining the preview images, and then transmit the at least two sets of images back to the first device.
It should be understood that the foregoing description of the embodiments of the method illustrated in fig. 1 to 9 is merely illustrative of the technical solution of the present invention by way of alternative examples, and is not limited to the image preview method according to the present invention. In other embodiments, the execution steps and the order of the image preview method according to the present invention may be different from the above-described embodiments, and the embodiments of the present invention are not limited to this.
It should be noted that this embodiment is an embodiment of the apparatus corresponding to the above embodiment of the method, and all the implementation manners in the above embodiment of the method are applicable to the embodiment of the apparatus, so that the same technical effects can be achieved.
Embodiments of the present invention provide a non-volatile computer storage medium storing at least one executable instruction that may perform the image preview method of any of the above-described method embodiments.
FIG. 13 is a schematic diagram of a computing device according to an embodiment of the present invention, and the embodiment of the present invention is not limited to the specific implementation of the computing device.
As shown in fig. 13, the computing device may include: a processor (processor), a communication interface (Communications Interface), a memory (memory), and a communication bus.
Wherein: the processor, communication interface, and memory communicate with each other via a communication bus. A communication interface for communicating with network elements of other devices, such as clients or other servers, etc. And a processor, configured to execute a program, and specifically, may perform relevant steps in the image preview method embodiment for a computing device.
In particular, the program may include program code including computer-operating instructions.
The processor may be a central processing unit, CPU, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included by the computing device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
And the memory is used for storing programs. The memory may comprise high-speed RAM memory or may further comprise non-volatile memory, such as at least one disk memory.
The program may be specifically adapted to cause a processor to execute the image preview method in any of the above-described method embodiments. The specific implementation of each step in the program may refer to the corresponding steps and corresponding descriptions in the units in the embodiment of the image preview method, which are not repeated herein. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedure descriptions in the foregoing method embodiments, which are not repeated herein.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It will be appreciated that the teachings of embodiments of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the embodiments of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). Embodiments of the present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the embodiments of the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that the word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specifically stated.

Claims (8)

1. The image preview method is characterized by being applied to a first device, wherein the first device is a cloud device, and the image preview method comprises the following steps:
receiving a preview instruction of checking a first target image, which is sent by second equipment, wherein the second equipment is terminal equipment;
responding to the preview instruction for viewing the first target image, sending an instruction for acquiring the preview image to third equipment, triggering the third equipment to acquire at least two groups of images respectively, and then transmitting the at least two groups of images back to the first equipment, wherein the third equipment is camera equipment;
receiving the at least two groups of images returned by the third device, storing the at least two groups of images, and splicing images related to the first target image in the at least two groups of images to obtain the first target image;
transmitting the first target image back to the second device for viewing a preview of the first target image in the second device;
after receiving the preview instruction of viewing the first target image sent by the second device, the method further comprises the following steps:
receiving a preview instruction of changing a target image sent by the second device, wherein the preview of the changing target image refers to changing the first target image into a second target image;
Responding to the preview instruction of the change target image, judging whether the stored images of the at least two groups of images exist or not, and splicing the images to obtain the second target image;
if the stored at least two groups of images have the images which can be spliced to obtain the second target image, splicing the images which can be spliced to obtain the second target image;
if the stored at least two groups of images do not have the images which can be spliced to obtain the second target image, sending an instruction for updating the preview image to the third device so as to trigger the third device to respectively acquire at least two groups of updated images, and then returning the at least two groups of updated images to the first device;
receiving at least two updated images returned by the third device, and splicing the at least two updated images and the images related to the second target image in the at least two updated images to obtain the second target image;
and transmitting the second target image back to the second device for viewing a preview of the second target image in the second device.
2. An image preview method, applied to a second device, comprising:
the method comprises the steps of sending a preview instruction for viewing a first target image to first equipment, triggering the first equipment to send an instruction for acquiring the preview image to third equipment, receiving at least two groups of images returned by the third equipment, storing the at least two groups of images, splicing images related to the first target image in the at least two groups of images to obtain the first target image, and returning the first target image to second equipment;
receiving the first target image returned by the first equipment;
viewing a preview of the first target image;
a preview instruction of changing a target image is sent to the first device, wherein the preview of changing the target image refers to changing the first target image into a second target image so as to trigger the first device to judge whether the stored at least two groups of images exist or not, and the images can be spliced to obtain the second target image; if the stored at least two groups of images have the images which can be spliced to obtain the second target image, splicing the images which can be spliced to obtain the second target image; if the stored at least two groups of images do not have the images which can be spliced to obtain the second target image, sending an instruction for updating the preview image to the third device so as to trigger the third device to respectively acquire at least two groups of updated images, and then returning the at least two groups of updated images to the first device; receiving at least two updated images returned by the third device, and splicing the at least two updated images and the images related to the second target image in the at least two updated images to obtain the second target image;
Receiving the second target image returned by the first device;
and viewing a preview of the second target image.
3. An image preview method applied to a third device, the image preview method comprising:
receiving an instruction for acquiring a preview image sent by first equipment;
responding to the instruction of acquiring the preview images, respectively acquiring at least two groups of images, and then transmitting the at least two groups of images back to the first device so that the first device receives the at least two groups of images transmitted back by the third device, storing the at least two groups of images, and splicing images related to a first target image in the at least two groups of images to obtain the first target image; and transmitting the first target image back to a second device for viewing a preview of the first target image in the second device;
receiving an update preview image instruction sent by the first device;
responding to the instruction of updating the preview images, respectively acquiring at least two groups of updated images, and then, returning the at least two groups of updated images to the first device so that the first device receives the at least two groups of updated images returned by the third device, and splicing the at least two groups of updated images and the images related to a second target image in the at least two groups of images to obtain the second target image; and transmitting the second target image back to the second device for viewing a preview of the second target image in the second device.
4. An image preview apparatus, wherein the image preview apparatus is a first device, the first device is a cloud device, the image preview apparatus includes:
the first receiving module is used for receiving a preview instruction for viewing a first target image, which is sent by a second device, wherein the second device is a terminal device; receiving a preview instruction of changing a target image sent by the second device, wherein the preview of the changing target image refers to changing the first target image into a second target image;
the first processing module is used for responding to the preview instruction for viewing the first target image, sending an instruction for acquiring the preview image to third equipment, triggering the third equipment to acquire at least two groups of images respectively, and then transmitting the at least two groups of images back to the first equipment, wherein the third equipment is camera equipment; receiving the at least two groups of images returned by the third device, storing the at least two groups of images, and splicing images related to the first target image in the at least two groups of images to obtain the first target image; responding to the preview instruction of the change target image, judging whether the stored images of the at least two groups of images exist or not, and splicing the images to obtain the second target image; if the stored at least two groups of images have the images which can be spliced to obtain the second target image, splicing the images which can be spliced to obtain the second target image; if the stored at least two groups of images do not have the images which can be spliced to obtain the second target image, sending an instruction for updating the preview image to the third device so as to trigger the third device to respectively acquire at least two groups of updated images, and then returning the at least two groups of updated images to the first device; receiving at least two updated images returned by the third device, and splicing the at least two updated images and the images related to the second target image in the at least two updated images to obtain the second target image;
An output module for transmitting the first target image back to the second device for viewing a preview of the first target image in the second device; and transmitting the second target image back to the second device for viewing a preview of the second target image in the second device.
5. An image previewing apparatus, wherein the image previewing apparatus is a second device, the second device is a terminal device, the image previewing apparatus comprises:
the device comprises a sending module, a receiving module and a receiving module, wherein the sending module is used for sending a preview instruction for viewing a first target image to first equipment so as to trigger the first equipment to send an instruction for acquiring the preview image to third equipment, receiving at least two groups of images returned by the third equipment, storing the at least two groups of images, splicing images related to the first target image in the at least two groups of images to obtain the first target image, and sending the first target image back to second equipment; a preview instruction of changing a target image is sent to the first device, wherein the preview of changing the target image refers to changing the first target image into a second target image so as to trigger the first device to judge whether the stored at least two groups of images exist or not, and the images can be spliced to obtain the second target image; if the stored at least two groups of images have the images which can be spliced to obtain the second target image, splicing the images which can be spliced to obtain the second target image; if the stored at least two groups of images do not have the images which can be spliced to obtain the second target image, sending an instruction for updating the preview image to the third device so as to trigger the third device to respectively acquire at least two groups of updated images, and then returning the at least two groups of updated images to the first device; receiving at least two updated images returned by the third device, and splicing the at least two updated images and the images related to the second target image in the at least two updated images to obtain the second target image;
The second receiving module is used for receiving the first target image returned by the first equipment; receiving the second target image returned by the first device;
a viewing module for viewing a preview of the first target image; and viewing a preview of the second target image.
6. An image preview apparatus, wherein the image preview apparatus is a third device, the third device being a camera device, the image preview apparatus comprising:
the third receiving module is used for receiving an instruction for acquiring the preview image sent by the first equipment;
the second processing module is used for responding to the instruction of acquiring the preview images, respectively acquiring at least two groups of images, and then transmitting the at least two groups of images back to the first device so that the first device receives the at least two groups of images transmitted back by the third device, stores the at least two groups of images, and splices images related to a first target image in the at least two groups of images to obtain the first target image; and transmitting the first target image back to a second device for viewing a preview of the first target image in the second device; receiving an update preview image instruction sent by the first device; responding to the instruction of updating the preview images, respectively acquiring at least two groups of updated images, and then, returning the at least two groups of updated images to the first device so that the first device receives the at least two groups of updated images returned by the third device, and splicing the at least two groups of updated images and the images related to a second target image in the at least two groups of images to obtain the second target image; and transmitting the second target image back to the second device for viewing a preview of the second target image in the second device.
7. A computing device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction that, when executed, causes the processor to perform the image preview method of any of claims 1-3.
8. A computer storage medium having stored therein at least one executable instruction that when executed cause a computing device to perform the image preview method of any of claims 1-3.
CN202210747421.5A 2022-06-28 2022-06-28 Image preview method, device and equipment Active CN115118883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210747421.5A CN115118883B (en) 2022-06-28 2022-06-28 Image preview method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210747421.5A CN115118883B (en) 2022-06-28 2022-06-28 Image preview method, device and equipment

Publications (2)

Publication Number Publication Date
CN115118883A CN115118883A (en) 2022-09-27
CN115118883B true CN115118883B (en) 2024-02-02

Family

ID=83330854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210747421.5A Active CN115118883B (en) 2022-06-28 2022-06-28 Image preview method, device and equipment

Country Status (1)

Country Link
CN (1) CN115118883B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516755A (en) * 2015-12-14 2016-04-20 成都易瞳科技有限公司 Video previewing method and apparatus
CN105809620A (en) * 2015-01-19 2016-07-27 株式会社理光 Preview image acquisition user interface for linear panoramic image stitching
CN107103583A (en) * 2016-02-19 2017-08-29 联发科技股份有限公司 Image data processing system and correlation technique and associated picture fusion method
CN107205122A (en) * 2017-08-03 2017-09-26 哈尔滨市舍科技有限公司 The live camera system of multiresolution panoramic video and method
CN108495144A (en) * 2018-03-30 2018-09-04 哈尔滨市舍科技有限公司 A method of obtaining picture
CN108900764A (en) * 2018-06-06 2018-11-27 三星电子(中国)研发中心 Image pickup method and electronic device and filming control method and server
CN114222061A (en) * 2021-12-10 2022-03-22 中国人民解放军96901部队25分队 Photoelectric circumferential scanning real-time image splicing and interaction method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160077422A1 (en) * 2014-09-12 2016-03-17 Adobe Systems Incorporated Collaborative synchronized multi-device photography

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809620A (en) * 2015-01-19 2016-07-27 株式会社理光 Preview image acquisition user interface for linear panoramic image stitching
CN105516755A (en) * 2015-12-14 2016-04-20 成都易瞳科技有限公司 Video previewing method and apparatus
CN107103583A (en) * 2016-02-19 2017-08-29 联发科技股份有限公司 Image data processing system and correlation technique and associated picture fusion method
CN107205122A (en) * 2017-08-03 2017-09-26 哈尔滨市舍科技有限公司 The live camera system of multiresolution panoramic video and method
CN108495144A (en) * 2018-03-30 2018-09-04 哈尔滨市舍科技有限公司 A method of obtaining picture
CN108900764A (en) * 2018-06-06 2018-11-27 三星电子(中国)研发中心 Image pickup method and electronic device and filming control method and server
CN114222061A (en) * 2021-12-10 2022-03-22 中国人民解放军96901部队25分队 Photoelectric circumferential scanning real-time image splicing and interaction method

Also Published As

Publication number Publication date
CN115118883A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
JP6263623B2 (en) Image generation method and dual lens apparatus
KR102057488B1 (en) 3D 360 Degree Virtual Reality Camera Exposure Control
US20170064174A1 (en) Image shooting terminal and image shooting method
US11222409B2 (en) Image/video deblurring using convolutional neural networks with applications to SFM/SLAM with blurred images/videos
CN110636276B (en) Video shooting method and device, storage medium and electronic equipment
WO2023036198A1 (en) Method and apparatus for controlling aerial vehicle to capture rotational delay video, and device and medium
CN112468832A (en) Billion-level pixel panoramic video live broadcast method, device, medium and equipment
CN115484403B (en) Video recording method and related device
CN111770277A (en) Auxiliary shooting method, terminal and storage medium
CN115118883B (en) Image preview method, device and equipment
JP2013026744A (en) Electronic camera
US8159523B2 (en) Method for capturing convergent-type multi-view image
CN108419052A (en) A kind of more unmanned plane method for panoramic imaging
WO2019052197A1 (en) Aircraft parameter setting method and apparatus
CN112004023A (en) Shooting method, multi-camera module and storage medium
CN109151323B (en) Photographing method and device, terminal and storage medium
CN114500837B (en) Shooting method and device and electronic equipment
CN115134532A (en) Image processing method, image processing device, storage medium and electronic equipment
CN114339071A (en) Image processing circuit, image processing method and electronic device
EP2940989B1 (en) Method and apparatus for generating composite image in electronic device
CN109981969B (en) Intelligent electronic equipment, image processing unit and image processing method
CN112738399A (en) Image processing method and device and electronic equipment
CN108924405B (en) Photographing focus correction and image processing method and device based on distance
EP3229070B1 (en) Three-dimensional, 360-degree virtual reality camera exposure control
WO2021207943A1 (en) Projection display method and system based on multiple photographic apparatuses, and terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant