Image processing method and device
By controlling the movement and rotation of the image acquisition equipment according to the target trajectory, a parameter information table is generated, which solves the problem of low image acquisition and splicing efficiency in geological sedimentation experiments, realizes automatic acquisition and rapid splicing of sand and soil images, and improves experimental efficiency.
Patent Information
- Application Number
- CN202410778196.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, the efficiency of sand and soil image acquisition and splicing reconstruction in geological sedimentation experiments is low. Manual hand-held cameras collect images and perform artificial splicing, which has the problem of low efficiency.
By obtaining the target trajectory, controlling the movement and rotation of the image acquisition equipment, a parameter information table is generated, including pose information and relative orientation information, and is sent to the terminal for image splicing and reconstruction, realizing automatic acquisition and rapid splicing.
It improves the efficiency of image acquisition and splicing and reconstruction, realizes automatic acquisition and rapid splicing of sand and soil images, reduces the intensity of manual work, and improves image quality and analysis efficiency.
Smart Images

Figure CN118735774A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of image processing technology, and in particular, relates to an image processing method and device. Background Art
[0002] In geological sedimentation experiments, it is necessary to collect multi-directional images of simulated sand and soil, and use the collected images to stitch and reconstruct the sand and soil images, so as to use the reconstructed sand and soil images for subsequent analysis and processing.
[0003] In the related art, a handheld camera is usually used to collect multi-directional images of simulated sand and soil, and then the images are transmitted to a working computer for manual stitching and reconstruction. This method has the problem of low efficiency. Summary of the invention
[0004] The embodiments of the present application provide an image processing method and device, which can improve the efficiency of image acquisition and image stitching and reconstruction at least to a certain extent.
[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0006] According to a first aspect of an embodiment of the present application, there is provided an image processing method, comprising:
[0007] Acquire a target trajectory, and control an image acquisition device to move and / or rotate according to the target trajectory to acquire an image of the target object;
[0008] Generate a parameter information table according to the collected multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative orientation information between the image acquisition device and the target object;
[0009] The plurality of target images and the parameter information table are sent to the first terminal, so that the first terminal calls the parameter information table to splice and reconstruct the target images.
[0010] According to some embodiments of the present application, based on the above solution, obtaining the target trajectory includes:
[0011] A continuous trajectory or multiple segmented trajectories are obtained, wherein the continuous trajectory is used to represent a continuous transformation path of the image acquisition device from a current position to a target position, and each segmented trajectory is used to represent a segmented transformation path of the image acquisition device from a current position to a target point, wherein the target point is one of the points between the current position and the target position.
[0012] According to some embodiments of the present application, based on the above scheme, the image acquisition device includes a multi-axis motion device, a rotation device and an image acquisition device, the multi-axis motion device is connected to the rotation device, the rotation device is connected to the image acquisition device, and the image acquisition device is controlled to move and / or rotate according to the target trajectory, including:
[0013] The multi-axis motion device is controlled to move according to the target trajectory, and / or the rotation device is controlled to rotate according to the target trajectory, so that the image acquisition device is transformed from a current position to a target position.
[0014] According to some embodiments of the present application, based on the above-mentioned solution, generating a parameter information table according to the collected multiple target images includes:
[0015] Matching a corresponding image name for each of the target images, and matching corresponding parameter information according to the image name;
[0016] The parameter information table is generated according to each of the image names and the corresponding parameter information.
[0017] According to some embodiments of the present application, based on the above solution, the method further includes:
[0018] Performing quality evaluation on each of the target images based on the image quality evaluation rule, and generating quality evaluation information corresponding to each of the target images;
[0019] Generating a quality evaluation table according to each of the target images and the corresponding quality evaluation information;
[0020] The quality evaluation table is sent to the first terminal, so that the first terminal calls the parameter information table and the quality evaluation table to splice and reconstruct each of the target images.
[0021] According to some embodiments of the present application, based on the above-mentioned solution, quality evaluation is performed on each of the target images based on an image quality evaluation rule, and quality evaluation information corresponding to each of the target images is generated, including:
[0022] For each of the target images, obtaining the clarity of the target image;
[0023] A quality measurement score of the target image is determined according to the clarity of the target image.
[0024] According to a second aspect of an embodiment of the present application, there is provided an image processing apparatus, including:
[0025] A control unit, used to obtain a target trajectory and control the image acquisition device to move and / or rotate according to the target trajectory to acquire an image of the target object;
[0026] A generating unit, configured to generate a parameter information table according to the collected multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative orientation information between the image acquisition device and the target object;
[0027] The sending unit is used to send the plurality of target images and the parameter information table to the first terminal, so that the first terminal calls the parameter information table to splice and reconstruct each of the target images.
[0028] According to a third aspect of an embodiment of the present application, there is provided an image processing method, comprising:
[0029] Receive multiple target images and a parameter information table sent by a second terminal, wherein the second terminal is used to obtain a target trajectory, control an image acquisition device to move and / or rotate according to the target trajectory, so as to acquire an image of the target object; generate a parameter information table according to the acquired multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative orientation information between the image acquisition device and the target object;
[0030] The parameter information table is called to perform splicing and reconstruction on each of the target images.
[0031] According to some embodiments of the present application, based on the above-mentioned solution, calling the parameter information table to stitch and reconstruct each of the target images includes:
[0032] Determine the coordinate information of each target image in the image to be reconstructed according to the posture information of the image acquisition device when acquiring the corresponding target image, and the relative orientation information between the image acquisition device and the target object;
[0033] The image to be reconstructed is obtained by splicing and reconstructing according to the coordinate information of each image in the image to be reconstructed.
[0034] According to some embodiments of the present application, based on the aforementioned solution, the second terminal is further used to perform quality evaluation on each of the target images based on an image quality evaluation rule, and generate quality evaluation information corresponding to each of the target images; and generate a quality evaluation table according to each of the target images and the corresponding quality evaluation information. The method further includes:
[0035] Obtaining the quality evaluation form;
[0036] The parameter information table and the quality evaluation table are called to perform splicing and reconstruction on each of the target images.
[0037] According to a fourth aspect of an embodiment of the present application, there is provided an image processing device, including:
[0038] A receiving unit, configured to receive a plurality of target images and a parameter information table sent by a second terminal, wherein the second terminal is configured to obtain a target trajectory, and control an image acquisition device to move and / or rotate according to the target trajectory to acquire an image of the target object; a parameter information table is generated according to the acquired plurality of target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative position information between the image acquisition device and the target object;
[0039] A calling unit is used to call the parameter information table to stitch and reconstruct each of the target images.
[0040] According to a fifth aspect of the embodiments of the present application, there is provided an image processing system, including a first terminal and a second terminal, wherein the first terminal and the second terminal are communicatively connected;
[0041] The second terminal is used to obtain the target trajectory, control the image acquisition device to move and / or rotate according to the target trajectory, so as to acquire images of the target object; generate a parameter information table according to the acquired multiple target images, the parameter information table records the parameter information corresponding to each of the target images, and the parameter information at least includes the posture information of the image acquisition device when acquiring the corresponding target image, and the relative orientation information between the image acquisition device and the target object;
[0042] The first terminal is used to receive multiple target images and a parameter information table sent by the second terminal, and call the parameter information table to splice and reconstruct each of the target images.
[0043] According to a sixth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein at least one computer program instruction is stored in the computer-readable storage medium, and the at least one computer program instruction is loaded and executed by a processor to implement the operations performed by any method described in the first aspect.
[0044] According to the seventh aspect of an embodiment of the present application, an electronic device is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the operations performed by any method described in the first aspect.
[0045] One or more technical solutions provided by the embodiments of the present invention achieve at least the following technical effects or advantages:
[0046] The present invention acquires a target trajectory, controls an image acquisition device to move and / or rotate according to the target trajectory, so as to acquire an image of the target object; generates a parameter information table according to the acquired multiple target images, the parameter information table records the parameter information corresponding to each of the target images, and the parameter information at least includes the posture information of the image acquisition device when acquiring the corresponding target image, and the relative orientation information between the image acquisition device and the target object; sends the multiple target images and the parameter information table to a first terminal, so that the first terminal calls the parameter information table to stitch and reconstruct each of the target images. The present invention can realize the automatic acquisition of the image of the target object (such as sand), improves the image acquisition efficiency, and matches the corresponding parameter information (including posture information and relative orientation information) for each acquired target image, so that the first terminal can determine the coordinate information of each target image according to the posture information and the relative orientation information when performing image stitching and reconstruction later, and then quickly stitch and reconstruct the image based on the coordinate information, thereby improving the image stitching efficiency.
[0047] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0049] Figure 1 A flowchart of an image processing method according to an embodiment of the present application;
[0050] Figure 2 A structural diagram of an image acquisition device according to an embodiment of the present application;
[0051] Figure 3 For the embodiments of this application Figure 2 A local enlarged view of point A in FIG.
[0052] Figure 4 A structural diagram of an image processing device according to an embodiment of the present application;
[0053] Figure 5 A flowchart of another image processing method according to an embodiment of the present application;
[0054] Figure 6 is a structural diagram of another image processing device according to an embodiment of the present application;
[0055] Figure 7 A structural diagram of an image processing system according to an embodiment of the present application;
[0056] Figure 8 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application.
[0057] Among them, 1-X-axis motion device; 2-Y-axis motion device; 3-Z-axis motion device; 4-first rotating device; 5-second rotating device; 6-camera base; 7-image acquisition device; 110-first terminal; 120-second terminal; 130-router; 140-relay router. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0059] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0060] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0061] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0062] It should also be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the objects used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those shown or described.
[0063] It should be noted that during the geological sedimentation experiment, it is necessary to take high-definition photos of the simulated sand from a top view, slice the sedimentary layer, and take high-definition photos of the cut sections from multiple angles. Currently, staff usually enter the experimental tank and take photos manually through a camera stand. However, the environmental space where the sand is located is relatively narrow, humid and hot. In addition, when the section to be photographed is thin, it may damage the experimental results. Therefore, it is difficult for staff to take manual photos. In addition, the quality of manually taken photos may be unstable, and the fixed distance between the camera and the sand body section cannot be guaranteed, making it difficult to analyze the changes in the sand body by comparing photos later.
[0064] In addition, after shooting is completed, the photos need to be manually transferred to the computer through the camera connection point, which makes it difficult to achieve timely analysis; and because the photos do not have coordinate and angle information, the photos are confusing, and it is difficult to find the exact location for reshooting unqualified photos, which is not conducive to the later analysis and stitching and reconstruction according to the coordinates.
[0065] Based on the above, the first aspect of the embodiment of the present application provides an image processing method, which solves at least one of the above technical problems to a certain extent and improves the image processing efficiency. The method will be described in detail below.
[0066] See also Figure 1 , shows a flowchart of an image processing method in an embodiment of the present application.
[0067] like Figure 1 As shown, according to the first aspect of the embodiment of the present application, an image processing method is provided, which can be executed on a microcontroller, and the microcontroller can be integrally provided with an image acquisition device, or can be separately provided with the image acquisition device, and the method includes but is not limited to:
[0068] Step S11. Acquire the target trajectory, and control the image acquisition device to move and / or rotate according to the target trajectory to acquire an image of the target object;
[0069] It should be noted that the target trajectory can be generated by a terminal matching the user interface according to the set parameters after the user sets the parameters on the user interface, wherein the user interface can be set on the image acquisition device or on the control terminal (such as a work computer or a smart phone, etc.).
[0070] It is understandable that the image acquisition mode of the image acquisition device can be divided into automatic acquisition and manual acquisition. Among them, automatic acquisition means that before the image acquisition device acquires the image of the target object (for ease of understanding, sand is used as an example in the following), a continuous trajectory is generated by setting continuous parameters, so that the image acquisition device automatically completes the acquisition of the sand image according to the continuous trajectory; among them, manual acquisition means that each image acquisition point of the image acquisition device is segmented and controlled. For example, the parameters from point A to point B are first set to generate a segmented trajectory of the AB segment. After the image acquisition device runs to point B according to the segmented trajectory of AB for image acquisition, the parameters of point BC are set to generate a segmented trajectory of the BC segment. The image acquisition device runs to point C according to the segmented trajectory of BC for image acquisition, and so on, until the image acquisition of each orientation or angle of the sand is completed.
[0071] Therefore, in some embodiments, obtaining the target trajectory includes:
[0072] A continuous trajectory or multiple segmented trajectories are obtained, wherein the continuous trajectory is used to represent a continuous transformation path of the image acquisition device from a current position to a target position, and each segmented trajectory is used to represent a segmented transformation path of the image acquisition device from a current position to a target point, wherein the target point is one of the points between the current position and the target position.
[0073] In some embodiments, the image acquisition device includes a multi-axis motion device, a rotation device and an image acquisition device 7, the multi-axis motion device is connected to the rotation device, the rotation device is connected to the image acquisition device 7, and the image acquisition device is controlled to move and / or rotate according to the target trajectory, including:
[0074] The multi-axis motion device is controlled to move according to the target trajectory, and / or the rotation device is controlled to rotate according to the target trajectory, so that the image acquisition device 7 is transformed from the current position to the target position.
[0075] It should be noted that the multi-axis motion device includes an X-axis motion device 1, a Y-axis motion device 2 and a Z-axis motion device 3, and the rotation device includes a first rotation device 4 and a second rotation device 5. The parameters to be set in the above-mentioned automatic shooting mode and manual shooting mode include: various point settings of X-axis movement, various point settings of Y-axis movement, various point settings of Z-axis movement, the spacing between various points, the angular position of the first rotation device 4, the angular position of the second rotation device 5, etc.
[0076] like Figures 2 to 3 As shown, the multi-axis motion device is connected to the rotating device, and the rotating device is connected to the image acquisition device 7, wherein the multi-axis motion device includes an X-axis motion device 1, a Y-axis motion device 2 and a Z-axis motion device 3, the rotating device includes a first rotating device 4, a second rotating device 5 and a camera base 6, the camera base 6 is used to install a camera (image acquisition device 7), the rotation direction of the camera base 6 relative to the second rotating device 5 is rotation around the center, the rotation direction of the second rotating device 5 relative to the first rotating device 4 is rotation around the center, the second rotating device 5 is connected to the Z-axis motion device 3, the movement direction of the second rotating device 5 is vertical up and down, the Z-axis motion device 3 can move horizontally left and right on the Y-axis motion device 2, and the X-axis motion device 1 can slide vertically relative to the camera base 6 with the Y-axis motion device 2, the Z-axis motion device 3, the first rotating device 4, and the second rotating device 5.
[0077] It should be noted that by controlling the X-axis motion device 1, the Y-axis motion device 2, the Z-axis motion device 3, the first rotating device 4, and the second rotating device 5 to adjust the position of the camera, the camera can be used to take a bird's-eye view of the sand surface from a high altitude, as well as to move up and down, left and right, and front and back in the profile and take a profile image of the sand, thereby realizing automatic collection of sand images and reducing the intensity of manual work.
[0078] Step S12. Generate a parameter information table according to the collected multiple target images, wherein the parameter information table records the parameter information corresponding to each of the target images, and the parameter information at least includes the posture information of the image acquisition device when acquiring the corresponding target image, and the relative orientation information between the image acquisition device and the target object;
[0079] It should be noted that after the microcontroller controls the image acquisition device to capture multiple target images, it can generate an image directory and an image list under the corresponding directory of the microcontroller according to parameters such as date and shooting mode. The shooting modes include overhead shooting and side shooting, and the side shooting includes up and down, left and right, front and back angles. Each shooting mode is divided into automatic and manual.
[0080] It should be noted that in order to improve the efficiency of image processing, after acquiring multiple target images, a parameter information table is generated based on the acquired multiple target images, and the parameter information at least includes the posture information of the image acquisition device when acquiring the corresponding target image, and the relative orientation information between the image acquisition device and the target object. It can be understood that when the sand and the image acquisition device are placed in the same reference coordinate system, the coordinate information of each target image can be determined based on the posture information and the relative orientation information, so that when the image stitching and reconstruction is performed subsequently, the image stitching and reconstruction can be quickly performed based on the coordinate information of the target image, thereby improving the stitching and reconstruction efficiency.
[0081] In some embodiments, generating a parameter information table according to the collected multiple target images includes:
[0082] Step S121. Matching a corresponding image name for each target image, and matching corresponding parameter information according to the image name;
[0083] Step S122: Generate the parameter information table according to each image name and the corresponding parameter information.
[0084] For ease of understanding, the present application exemplarily shows one of the parameter information tables, in which the parameter information includes, in sequence: image name), xyz coordinates, the relative distance between the image acquisition device and the target object, the rotation angle of the first rotation device, the rotation angle of the second rotation device, focal length, creation time, and original image name, etc.
[0085] Table 1 Parameter information table
[0086]
[0087] In some embodiments, the method further comprises:
[0088] 1) performing quality evaluation on each of the target images based on image quality evaluation rules to generate quality evaluation information corresponding to each of the target images; including:
[0089] For each of the target images, obtaining the clarity of the target image;
[0090] A quality measurement score of the target image is determined according to the clarity of the target image.
[0091] 2) generating a quality evaluation table according to each of the target images and the corresponding quality evaluation information;
[0092] 3) Sending the quality evaluation table to the first terminal, so that the first terminal calls the parameter information table and the quality evaluation table to splice and reconstruct each of the target images.
[0093] It should be noted that image quality is of great significance for subsequent image stitching and reconstruction as well as image analysis and processing. Therefore, after acquiring each target image, the embodiment of the present application also evaluates the image clarity and generates a corresponding quality evaluation score. It can be understood that when the image quality is lower than the threshold (for example, images less than or equal to 12 are images with unqualified clarity), the coordinate information of the target image can be combined to control the image acquisition device to perform additional shooting of the target object area corresponding to the target image, thereby improving the clarity of the overall image. Therefore, the coordinate information of the target image can also assist in determining the exact position to be supplemented.
[0094] For ease of understanding, the present application exemplarily shows one of the quality evaluation tables, as shown in Table 2, wherein the data in the first column represents the image name, and the data in the second column represents the quality evaluation score.
[0095] Table 2 Quality evaluation table
[0096]
[0097] Step S13: Send the plurality of target images and the parameter information table to the first terminal, so that the first terminal calls the parameter information table to splice and reconstruct each of the target images.
[0098] Based on the above-disclosed content, the embodiments of the present application can realize automatic acquisition of images of target objects (such as sand), thereby improving the image acquisition efficiency. By matching corresponding parameter information (including posture information and relative orientation information) for each collected target image, the first terminal can subsequently determine the coordinate information of each target image based on the posture information and relative orientation information when performing image stitching and reconstruction, and then quickly perform image stitching and reconstruction based on the coordinate information, thereby improving the image stitching efficiency. In addition, when the image quality is lower than a threshold, the image acquisition device can be controlled to supplement the target object area corresponding to the target image in combination with the coordinate information of the target image, thereby improving the clarity of the overall image. Therefore, the coordinate information of the target image can also assist in determining the exact position to be supplemented.
[0099] See also Figure 4 , shows a structural diagram of an image processing device according to an embodiment of the present application.
[0100] like Figure 4 As shown, according to a second aspect of an embodiment of the present application, an image processing device is provided, including:
[0101] A control unit 201 is used to obtain a target trajectory and control the image acquisition device to move and / or rotate according to the target trajectory to acquire an image of the target object;
[0102] A generating unit 202 is used to generate a parameter information table according to the collected multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative orientation information between the image acquisition device and the target object;
[0103] The sending unit 203 is configured to send the plurality of target images and the parameter information table to the first terminal, so that the first terminal calls the parameter information table to splice and reconstruct each of the target images.
[0104] See also Figure 5 , shows a flowchart of another image processing method according to an embodiment of the present application.
[0105] like Figure 5 As shown, according to a third aspect of the embodiment of the present application, an image processing method is provided, including but not limited to:
[0106] Step S31. Receive multiple target images and a parameter information table sent by the second terminal, wherein the second terminal is used to obtain a target trajectory, control the image acquisition device to move and / or rotate according to the target trajectory, so as to acquire images of the target object; generate a parameter information table according to the acquired multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes the position information of the image acquisition device when acquiring the corresponding target image, and the relative orientation information between the image acquisition device and the target object;
[0107] Step S32: calling the parameter information table to stitch and reconstruct each of the target images.
[0108] In some embodiments, calling the parameter information table to stitch and reconstruct each of the target images includes:
[0109] Step S321. Determine the coordinate information of each target image in the image to be reconstructed according to the posture information of the image acquisition device when acquiring the corresponding target image, and the relative orientation information between the image acquisition device and the target object;
[0110] It is understandable that before performing image stitching and reconstruction, coordinate parameters may be set, for example, ignoring the first row of information in the parameter information table because the first row of information is a title and may be ignored, thereby improving stitching and reconstruction efficiency.
[0111] Step S322: splicing and reconstructing the image to be reconstructed according to the coordinate information of each image in the image to be reconstructed.
[0112] In some embodiments, the second terminal is further used to perform quality evaluation on each of the target images based on an image quality evaluation rule to generate quality evaluation information corresponding to each of the target images; and generate a quality evaluation table according to each of the target images and the corresponding quality evaluation information. The method further includes:
[0113] Obtaining the quality evaluation form;
[0114] The parameter information table and the quality evaluation table are called to perform splicing and reconstruction on each of the target images.
[0115] See also Figure 6 , shows a structural diagram of another image processing device according to an embodiment of the present application.
[0116] like Figure 6 As shown, according to a fourth aspect of an embodiment of the present application, an image processing device is provided, including:
[0117] A receiving unit 401 is used to receive a plurality of target images and a parameter information table sent by a second terminal, wherein the second terminal is used to obtain a target trajectory, and control an image acquisition device to move and / or rotate according to the target trajectory to acquire an image of the target object; a parameter information table is generated according to the acquired plurality of target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative position information between the image acquisition device and the target object;
[0118] The calling unit 402 is used to call the parameter information table to perform splicing and reconstruction on each of the target images.
[0119] See also Figure 7 , showing a structural diagram of an image processing system in an embodiment of the present application.
[0120] like Figure 7 As shown, according to a fifth aspect of the embodiment of the present application, an image processing system is provided, including a first terminal 110 and a second terminal 120, wherein the first terminal 110 and the second terminal 120 are communicatively connected, for example, through a router 130 and a relay router 140 to achieve communication connection, the first terminal 110 may be a microcontroller, and the second terminal 120 may be a workstation computer;
[0121] The second terminal 120 is used to obtain a target trajectory, control the image acquisition device to move and / or rotate according to the target trajectory, so as to acquire an image of the target object; generate a parameter information table according to the acquired multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes the position information of the image acquisition device when acquiring the corresponding target image, and the relative position information between the image acquisition device and the target object;
[0122] The first terminal 110 is used to receive multiple target images and a parameter information table sent by the second terminal 120, and call the parameter information table to splice and reconstruct each of the target images.
[0123] According to a sixth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein at least one computer program instruction is stored in the computer-readable storage medium, and the at least one computer program instruction is loaded and executed by a processor to implement the operations performed by any method described in the first aspect.
[0124] The computer-readable storage medium may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the computer-readable storage medium of the present application is not limited thereto. In the present application, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0125] The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more conductors, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0126] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0127] According to a fourth aspect of an embodiment of the present application, an electronic device is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the operations performed by any of the methods described in the first aspect.
[0128] like Figure 8 As shown, the electronic device 400 is in the form of a general computing device. The components of the electronic device 400 may include but are not limited to: at least one processing unit 410, at least one storage unit 420, and a bus 430 connecting different system components (including the storage unit 420 and the processing unit 410).
[0129] The storage unit stores program codes, which can be executed by the processing unit 410, so that the processing unit 410 executes the steps described in the above “Example Method” section of this specification according to various exemplary implementations of the present application.
[0130] The storage unit 420 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 421 and / or a cache memory unit 422 , and may further include a read-only memory unit (ROM) 423 .
[0131] The storage unit 420 may also include a program / utility 424 having a set (at least one) of program modules 425, such program modules 425 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0132] Bus 430 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0133] The electronic device 400 may also communicate with one or more external devices 500 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 400, and / or communicate with any device that enables the electronic device 400 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 450. Furthermore, the electronic device 400 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 460. As shown, the network adapter 460 communicates with other modules of the electronic device 400 via a bus 430. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0134] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.
[0135] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0136] The units described as separate components may or may not be physically separated, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed in multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0137] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0138] The above description is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims
1. An image processing method, It is characterized in that include: Acquire a target trajectory, and control an image acquisition device to move and / or rotate according to the target trajectory to acquire an image of the target object; Generate a parameter information table according to the collected multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative orientation information between the image acquisition device and the target object; The plurality of target images and the parameter information table are sent to the first terminal, so that the first terminal calls the parameter information table to splice and reconstruct the target images.
2. The method according to claim 1, It is characterized in that The obtaining of the target trajectory comprises: A continuous trajectory or multiple segmented trajectories are obtained, wherein the continuous trajectory is used to represent a continuous transformation path of the image acquisition device from a current position to a target position, and each segmented trajectory is used to represent a segmented transformation path of the image acquisition device from a current position to a target point, wherein the target point is one of the points between the current position and the target position.
3. The method according to claim 1, It is characterized in that The image acquisition device comprises a multi-axis motion device, a rotation device and an image acquisition device, wherein the multi-axis motion device is connected to the rotation device, and the rotation device is connected to the image acquisition device, and the image acquisition device is controlled to move and / or rotate according to the target trajectory, including: The multi-axis motion device is controlled to move according to the target trajectory, and / or the rotation device is controlled to rotate according to the target trajectory, so that the image acquisition device is transformed from a current position to a target position.
4. The method according to claim 1, It is characterized in that The generating of the parameter information table according to the collected multiple target images includes: Matching a corresponding image name for each of the target images, and matching corresponding parameter information according to the image name; The parameter information table is generated according to each of the image names and the corresponding parameter information.
5. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: Performing quality evaluation on each of the target images based on the image quality evaluation rule, and generating quality evaluation information corresponding to each of the target images; Generating a quality evaluation table according to each of the target images and the corresponding quality evaluation information; The quality evaluation table is sent to the first terminal, so that the first terminal calls the parameter information table and the quality evaluation table to splice and reconstruct each of the target images.
6. The method according to claim 5, It is characterized in that Performing a quality evaluation on each of the target images based on the image quality evaluation rule to generate quality evaluation information corresponding to each of the target images includes: For each of the target images, obtaining the clarity of the target image; A quality measurement score of the target image is determined according to the clarity of the target image.
7. An image processing device, It is characterized in that include: A control unit, used to obtain a target trajectory and control the image acquisition device to move and / or rotate according to the target trajectory to acquire an image of the target object; A generating unit, configured to generate a parameter information table according to the collected multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative orientation information between the image acquisition device and the target object; The sending unit is used to send the plurality of target images and the parameter information table to the first terminal, so that the first terminal calls the parameter information table to splice and reconstruct each of the target images.
8. An image processing method, It is characterized in that include: Receive multiple target images and a parameter information table sent by a second terminal, wherein the second terminal is used to obtain a target trajectory, control an image acquisition device to move and / or rotate according to the target trajectory, so as to acquire an image of the target object; generate a parameter information table according to the acquired multiple target images, wherein the parameter information table records parameter information corresponding to each of the target images, and the parameter information at least includes posture information of the image acquisition device when acquiring the corresponding target image, and relative orientation information between the image acquisition device and the target object; The parameter information table is called to perform splicing and reconstruction on each of the target images.
9. The method according to claim 8, It is characterized in that The calling of the parameter information table to stitch and reconstruct each of the target images includes: Determine the coordinate information of each target image in the image to be reconstructed according to the posture information of the image acquisition device when acquiring the corresponding target image, and the relative orientation information between the image acquisition device and the target object; The image to be reconstructed is obtained by splicing and reconstructing according to the coordinate information of each image in the image to be reconstructed.
10. The method according to claim 8, It is characterized in that The second terminal is further used to perform quality evaluation on each of the target images based on the image quality evaluation rule, and generate quality evaluation information corresponding to each of the target images; Generating a quality evaluation table according to each of the target images and the corresponding quality evaluation information, the method further includes: Obtaining the quality evaluation form; The parameter information table and the quality evaluation table are called to perform splicing and reconstruction on each of the target images.
