Scanning method and system, electronic equipment and computer readable storage medium
By using a projection device to form features on the surface of the object to replace landmark points, efficient scanning and precise splicing of large objects are achieved, solving the problems of low efficiency and insufficient accuracy in the existing technology.
Patent Information
- Application Number
- CN202411161577.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-10-29
AI Technical Summary
When processing large objects, existing scanning technology requires multiple scans and manual marking of landmark points to achieve splicing, resulting in low efficiency and easy staining of landmark points, and it is difficult to guarantee splicing accuracy.
Patterns are projected by at least two projection devices to form features on the surface of the object to replace landmark points. The scanner uses these features for positioning and covers the entire surface through multiple scans and movements of the projected pattern to achieve accurate splicing of the scan results.
It improves scanning efficiency and splicing accuracy, reduces manual operations, and avoids contamination and errors of landmark points.
Smart Images

Figure CN118869883A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of scanning, and in particular to a scanning method, system, electronic device and computer-readable storage medium. Background Art
[0002] For larger areas to be scanned, such as the surface of large objects, the field of view of the scanner is limited. Only a small part of the large surface of the large object can be scanned at a time. Multiple scans are required and the results of each scan are pieced together to obtain the overall scanning result. In order to ensure the accuracy of splicing, it is necessary to affix marking points on the surface of the object to locate each scanning area of the object for accurate splicing. However, each object to be scanned needs to be manually affixed with marking points before scanning, which increases the process and reduces efficiency. In addition, the marking points are easily dirty during the object transportation and scanning process. After scanning the object, the marking points need to be manually removed, resulting in low overall scanning efficiency. Summary of the invention
[0003] In view of the above technical problems, the present application provides a scanning method, system, electronic device and computer-readable storage medium, and the technical solutions are as follows:
[0004] According to a first aspect of the present application, a scanning method is provided, for controlling a scanner to scan an area to be scanned, wherein sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics, and the scanner is communicatively connected to a projection device, wherein the projection device includes at least two projection devices; the method includes:
[0005] Controlling the at least two projection devices to project projection patterns onto the area to be scanned respectively;
[0006] Controlling the scanner to scan the to-be-scanned area including the projection pattern for multiple times to obtain multiple scanning results, wherein the projection patterns obtained by any two consecutive scans by the scanner are different;
[0007] The multiple scanning results are spliced to obtain a scanning result of the area to be scanned.
[0008] According to a second aspect of the present application, a scanning method is provided, which is used for a scanner, wherein the scanner is used to scan an area to be scanned, and the sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics, and the scanner is communicatively connected to a projection device, and the projection device includes at least two projection devices; the method includes:
[0009] Controlling the at least two projection devices to project projection patterns onto the area to be scanned respectively;
[0010] Scanning the area to be scanned including the projection pattern for multiple times to obtain multiple scanning results, wherein the projection patterns obtained by any two consecutive scans by the scanner are different;
[0011] The multiple scanning results are spliced to obtain a scanning result of the area to be scanned.
[0012] According to a third aspect of the present application, a scanning method is provided, which is used for a projection device, wherein the projection device is communicatively connected to a scanner, and the projection device includes at least two projection devices; the scanner is used to scan an area to be scanned, and sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics; the method includes:
[0013] receiving a control instruction of the scanner;
[0014] Based on the control instructions, the projection patterns corresponding to the at least two projection devices are projected onto the area to be scanned respectively, so that the scanner scans the area to be scanned including the projection patterns multiple times to obtain multiple scanning results, and the multiple scanning results are spliced to obtain the scanning result of the area to be scanned, wherein the projection patterns scanned by the scanner twice in a row are different.
[0015] According to a fourth aspect of the present application, a scanning system is provided, the system comprising a scanner and a projection device; the scanner is communicatively connected to the projection device, and the projection device comprises at least two projection devices;
[0016] The scanner is used to scan the area to be scanned, and the sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics;
[0017] The scanner is used to:
[0018] Control the at least two projection devices to project projection patterns onto the area to be scanned respectively; scan the area to be scanned including the projection pattern multiple times to obtain multiple scanning results, wherein the projection patterns obtained by any two consecutive scans by the scanner are different; and splice the multiple scanning results to obtain a scanning result of the area to be scanned.
[0019] According to a fifth aspect of the present application, an electronic device is provided, the electronic device comprising:
[0020] processor;
[0021] a memory for storing processor-executable instructions;
[0022] The processor is configured to implement the method as described in the second aspect or the third aspect.
[0023] According to a sixth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the method described in any one of the first to third aspects are implemented.
[0024] The technical solution provided by the present application is that, for the situation where the scanning area of the scanner cannot cover the entire area to be scanned in a single scan, and the sub-areas in the area to be scanned scanned by the scanner at least twice have the same features, then features can be formed in the area to be scanned by projecting patterns through a projection device, such as forming features on the surface of an object to replace artificial marking points, and the scanner uses the features formed on the surface of the object to scan and locate the object, thereby improving the scanning efficiency. At the same time, multiple projection devices simultaneously project multiple projection patterns on the area to be scanned, and the multiple projection patterns can move with the movement of the sub-area currently scanned by the scanner. The projection patterns scanned by the scanner are different for any two consecutive times, and the surface of the object is covered by the movement of the projection patterns. Multiple scans of the scanner obtain multiple scanning results, and more easily identifiable features are formed in the multiple scanning results, thereby improving the accuracy of splicing the scanning results.
[0025] 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
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0027] Figure 1 This is a schematic diagram of a scanning and stitching scene in the related art;
[0028] Figure 2 It is a schematic diagram of a landmark application scenario in the related technology;
[0029] Figure 3 It is a flowchart of a scanning method according to an embodiment of the present application;
[0030] Figure 4 It is a schematic diagram of an embodiment of the scanning method provided by the present application;
[0031] Figure 5 This is a schematic diagram of a projection pattern adjustment scene according to an embodiment of the present application;
[0032] Figure 6 is a schematic diagram of projection pattern characteristics of an embodiment of the present application;
[0033] Figure 7 is a schematic structural diagram of a projection device according to an embodiment of the present application;
[0034] Figure 8 is a schematic structural diagram of a scanning system according to an embodiment of the present application;
[0035] Fig. 9 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings 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 should fall within the scope of protection of this application.
[0037] For larger areas to be scanned, such as the surface of a large object, the scanner's field of view is limited. It can only scan a small part of the large surface of the large object at a time. It is necessary to scan multiple times and piece together the results of each scan to get the overall scan result. For example Figure 1 As shown, in a single scan, the scanning area of the scanner cannot cover the entire area to be scanned. For example, assuming that there is a larger area to be scanned, the scanner needs to scan the area to be scanned multiple times and splice the results of the multiple scans to obtain the overall scanning result of the area to be scanned. Assuming that the range of the area to be scanned that can be scanned in a single time is sub-area A, sub-area B, sub-area C, and sub-area D of the area to be scanned, these sub-areas are scanned separately, and scanning results A, scanning result B, scanning result C, and scanning result D can be obtained accordingly. The scanning results A, scanning result B, scanning result C, and scanning result D are spliced together to obtain the spliced scanning result of the area to be scanned.
[0038] Taking the surface of an object as an example, when a scanner, such as a 3D scanner, scans a large object, there may be at least two sub-areas with the same features on the surface of the object, such as at least two continuous sub-areas with the same features, such as large curved surfaces with the same pattern features, large planes, and surfaces with repeated or symmetrical patterns. Since the features in the sub-areas are the same, it is impossible to determine which sub-area it is and the location of the sub-area. Therefore, when splicing the scanning results corresponding to multiple sub-areas, splicing errors may occur, and the data error of the spliced results may be large. In order to ensure the accuracy of splicing multiple scanning results, it is necessary to attach marker points on the surface of the object, such as Figure 2As shown, by sticking marking points on the surface of the object, each sub-area of the scanned area can be located, so that the scanning results of each sub-area can be accurately spliced. However, each object to be scanned needs to be manually affixed with marking points before scanning, which increases the process and reduces efficiency. In addition, the marking points are easily soiled during the object transportation and scanning process. After scanning the object, the marking points need to be manually removed, and the overall scanning efficiency is low.
[0039] In view of the above problems, the present application provides a scanning method for controlling a scanner to scan an area to be scanned, wherein the sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics, and the scanner is respectively connected to at least two projection devices for communication, which can improve the scanning efficiency and the accuracy of the splicing of the scanning results. Figure 3 As shown, the method comprises the following steps:
[0040] S301, controlling the at least two projection devices to project projection patterns onto the area to be scanned respectively.
[0041] S302, controlling the scanner to scan the area to be scanned including the projection pattern for multiple times to obtain multiple scanning results.
[0042] Wherein, the projection patterns obtained by any two consecutive scans by the scanner are different.
[0043] S303: splice the multiple scanning results to obtain a scanning result of the area to be scanned.
[0044] The technical solution provided by the embodiment of the present application is that, in a single scan, the scanning area of the scanner cannot cover the entire area to be scanned, and the sub-areas in the area to be scanned scanned by the scanner at least twice have the same features. In this case, features can be formed in the area to be scanned by projecting patterns through a projection device, such as forming features on the surface of an object to replace artificial marking points. The scanner uses the features formed on the surface of the object to scan and locate the object, thereby improving the scanning efficiency. At the same time, multiple projection devices simultaneously project multiple projection patterns on the area to be scanned, and the multiple projection patterns can move with the movement of the sub-area currently scanned by the scanner. The projection patterns scanned by the scanner are different for any two consecutive times, and the surface of the object is covered by the movement of the projection patterns. The multiple scans of the scanner obtain multiple scanning results, and more easily identifiable features are formed in the multiple scanning results, thereby improving the accuracy of splicing the scanning results.
[0045] It can be understood that the execution entity of S301-S303 can be the scanner itself, that is, the scanner can control the projection device to project, and control itself to scan and stitch; the execution entity of S301-S303 can also be an independent control device outside the scanner and the projection device, and the control device can control the projection device to project, control the scanner to scan, and realize the stitching of scanning results; therefore, there is no specific limitation on the execution entity of S301-S303.
[0046] In the embodiment of the present application, the scanner can be controlled to scan the area to be scanned in a variety of ways. Specifically, multiple embodiments are provided. One of the embodiments is described below. For the specific execution process of this embodiment, please refer to Figure 4 As shown, the scanner is respectively connected to at least two projection devices for communication. Taking the scanner controlling the at least two projection devices to project the to-be-scanned area and controlling itself to scan as an example, the sub-areas in the to-be-scanned area scanned at least twice by the scanner have the same characteristics. An embodiment of the scanning method provided by the present application may include:
[0047] 401. The scanner sends a control instruction to the projection device.
[0048] The control instruction may include information that triggers the projection device to perform projection.
[0049] 402. The projection device projects projection patterns corresponding to the at least two projection devices onto the area to be scanned based on the control instruction.
[0050] As an example, the sub-regions in the to-be-scanned region scanned by the scanner at least twice in succession may have the same features.
[0051] There are many ways for the projection device to project the projection patterns corresponding to at least two projection devices onto the area to be scanned. As an example, the relative position information between the projection patterns respectively projected by the at least two projection devices can be obtained, and based on the relative position information between the projection patterns, the at least two projection devices are instructed to adjust the positions of the projection patterns respectively, so that the projection patterns respectively corresponding to the at least two projection devices form an overlapping area in the current sub-area, which is the sub-area currently scanned by the scanner in the area to be scanned. The overlapping area formed between multiple projection patterns in the scanning sub-area can more clearly define the relative position relationship between the multiple projection patterns, thereby achieving more accurate positioning of the scanning sub-area.
[0052] As an example, the overlapping area may be an overlapping area formed when a plurality of projection patterns are arranged horizontally, or an overlapping area formed when a plurality of projection patterns are arranged vertically. The shape and size of the overlapping area are not limited.
[0053] See also Figure 5 , with the above-mentioned multiple projection patterns including Figure 5 Taking the projection pattern 1 and the projection pattern 2 shown in the figure as an example, the projection pattern 1 and the projection pattern 2 shown by the solid line are in the current sub-area, and the projection pattern 1 and the projection pattern 2 shown by the dotted line are in the next sub-area. When the projection pattern 1 and the projection pattern 2 move to the current sub-area, they can overlap together to form a Figure 5 The overlapping area shown (taking the horizontal arrangement of projection pattern 1 and projection pattern 2 as an example).
[0054] As an example, after the projection patterns corresponding to at least two projection devices form an overlapping area in the current sub-area, the projection device may notify the scanner to start scanning.
[0055] It is worth noting that the above introduction to the method in which the projection device projects the projection patterns corresponding to at least two projection devices onto the area to be scanned is only an exemplary display. In practical applications, other projection methods are not excluded. For example, the projection patterns corresponding to at least two projection devices can also form a preset spacing in the current sub-area. The preset spacing can be used to further clarify the relative position relationship between multiple projection patterns. Therefore, the projection method is not specifically limited.
[0056] There are many ways to obtain the relative position information between the projection patterns projected by at least two projection devices. As an example, the shooting device can be controlled to shoot the area to be scanned; the shooting device is used to shoot the area to be scanned to obtain an image containing pattern features, and the pattern features contained in the captured image are matched with the features of each projection pattern itself, and the relative position information is determined according to the matching results.
[0057] As an example, the features of each projection pattern itself may be features represented by a specific arrangement and combination of points and / or lines, or may be other types of features, which are not specifically limited. Figure 6 As shown, the characteristics of the projection pattern itself can be as follows Figure 6 The characteristics represented by the speckle.
[0058] It is understandable that the characteristics of each projection pattern may be different to enhance the recognition of different projection patterns.
[0059] The configuration of the above-mentioned shooting device can be implemented in many specific ways. As an example, the shooting device can be configured on a scanner and controlled by the scanner. For example, the shooting device can be a camera on the scanner. As another example, the shooting device can also be set independently of the scanner and the projection device and can be controlled by the scanner. Therefore, there is no specific limitation on the configuration of the shooting device.
[0060] As an example, when the shooting device is controlled by a scanner, the scanner can use the shooting device to obtain the relative position information between the projection patterns respectively projected by at least two projection devices, and send the relative position information to the projection device. The projection device can adjust the at least two projection devices respectively according to the relative position information sent by the scanner, thereby adjusting the positions of the projection patterns respectively.
[0061] 403. The scanner scans the area to be scanned including the projection pattern for multiple times to obtain multiple scanning results.
[0062] It is understandable that in a single scan of the area to be scanned, the scanning format of the scanner can only cover part of the area to be scanned, that is, in a single scan, the scanning format of the scanner cannot cover the entire area to be scanned. There may be many situations in which the scanning format of the scanner can only cover part of the area to be scanned. As an example, the area of the area to be scanned may be larger than the scanning format of the scanner, and when the scanner scans the area to be scanned, the scanning format of the scanner can fill up part of the area to be scanned in a certain scan; as another example, the area of the area to be scanned may be less than or equal to the scanning format of the scanner, and when the scanner scans the area to be scanned, the scanning format of the scanner cannot fill up part of the area to be scanned in a certain scan (for example, the scanning format is circular, and although the area of the area to be scanned is less than or equal to the scanning format, the area to be scanned itself is a long strip, then in a single scan, the part of the area to be scanned covered by the scanning format cannot fill up the entire scanning format).
[0063] There are many ways to control the scanner to perform multiple scans on the area to be scanned including the projection pattern. As an example, at least two projection devices can be controlled to adjust the projection pattern to the current sub-area in the area to be scanned, and the scanner can be controlled to scan the current sub-area. If the scanner completes scanning the current sub-area, at least two projection devices can be controlled to adjust the projection pattern to the next sub-area in the area to be scanned, and the scanner can be controlled to scan the next sub-area.
[0064] There are many ways to control the scanner to scan the next sub-area. As an example, the projection device can be controlled to adjust the first projection pattern among the projection patterns in the current sub-area to the next sub-area. After the first projection pattern is adjusted to the next sub-area, the scanner scans the next sub-area. If the scanner completes scanning the first projection pattern in the next sub-area, the projection device is controlled to adjust the projection pattern that is still located after the first projection pattern in the current sub-area to the next sub-area, and the scanner continues to control the scanner to scan the projection pattern after the first projection pattern adjusted to the next sub-area. After the scanner scans a sub-area, multiple projection patterns can appear alternately in the next sub-area. The alternating appearance of projection patterns can efficiently achieve full coverage of the area to be scanned.
[0065] As an example, the at least two projection devices mentioned above may include at least a first projection device and a second projection device, the first projection device corresponds to the first projection pattern, and the second projection device corresponds to the second projection pattern. The first projection device may be controlled to adjust the first projection pattern to the next sub-area. After the first projection pattern is adjusted to the next sub-area, the scanner scans the next sub-area. If the scanner completes scanning the first projection pattern in the next sub-area, the second projection device is controlled to adjust the second projection pattern still located in the current sub-area to the next sub-area, and the scanner continues to be controlled to scan the second projection pattern adjusted to the next sub-area.
[0066] by Figure 5 Taking the position adjustment of the projection pattern as an example, it is assumed that the at least two projection devices include a first projection device and a second projection device, and it is assumed that the first projection pattern is Figure 5 The projection pattern 1 in the figure is Figure 5 The projection pattern 2 in the image is shown in the solid line, the projection pattern is located in the current sub-region of the area to be scanned, and the projection pattern shown in the dotted line is located in the next sub-region of the area to be scanned; in the current sub-region, the projection pattern 1 is the first projection pattern, and the projection pattern 2 is the projection pattern after the first projection pattern. Then, a position adjustment process of the projection pattern can be as follows: after the scanner scans the current sub-region including the projection pattern 1 and the projection pattern 2, the first projection device can be controlled to adjust the projection pattern 1 in the current sub-region to the next sub-region (such as Figure 5 , the projection pattern 1 in the solid line frame is adjusted to the position of the projection pattern 1 in the dotted line frame), after the projection pattern 1 is adjusted to the next sub-region, the scanner scans the next sub-region, and if the scanner completes scanning the (dotted) projection pattern 1 in the next sub-region, the second projection device is controlled to adjust the projection pattern 2 still in the current sub-region to the next sub-region (such as Figure 5, the projection pattern 2 in the solid line frame is adjusted to the position of the projection pattern 2 in the dotted line frame), and the scanner is continuously controlled to scan the projection pattern 2 adjusted to the next sub-area. The positions of the projection patterns are adjusted alternately and repeatedly in this way until the scanner scans the area to be scanned. After the scanner scans a sub-area, multiple projection patterns may alternately appear in the next sub-area. The alternating appearance of the projection patterns may efficiently achieve full coverage of the area to be scanned.
[0067] In addition to the situation where multiple projection patterns appear alternately in the next sub-area, there may be other ways of adjusting their positions. As an example, the projection device may be controlled to adjust each projection pattern to the next sub-area at the same time, and the scanner may continue to be controlled to scan each projection pattern adjusted to the next sub-area.
[0068] The above-mentioned projection device can have multiple specific implementations. As an example, the above-mentioned at least two projection devices can both be digital light processing (DLP) optical machines, or, the above-mentioned at least two projection devices can both be lasers. The specific implementation of the projection device is not limited.
[0069] It can be understood that the DLP optical machine is a device that uses digital light processing technology to achieve image projection, and the DLP optical machine can be programmed to change the projection pattern, and has strong projection flexibility.
[0070] See also Figure 7 , the structure of the projection device of the embodiment of the present application is exemplarily introduced as follows:
[0071] As an example, the projection device may include a control unit, an electric drive control turntable, a plurality of DLP optical engines (such as Figure 7 Two DLP optical machines as shown) or multiple lasers (such as Figure 7 The two lasers shown in the figure are used as the two lasers, wherein, taking two DLP optical machines as an example, the two DLP optical machines can be placed on two independent electric drive control turntables respectively, and the two electric drive control turntables can realize multi-directional (such as up, down, left, and right) rotation of the two DLP optical machines respectively through motor drive, and the control unit can include a motor drive control module and a communication processing module; wherein the communication processing module can realize the communication between the projection device and the scanner to obtain the relative position information between each projection pattern sent by the scanner and the working status information of the scanner. The motor drive module can adjust the angle of the electric drive control turntable according to the relative position information between each projection pattern to realize the adjustment of the relative position between each projection pattern.
[0072] 404. The scanner combines the multiple scanning results to obtain a scanning result of the area to be scanned.
[0073] As an example, the above scanner may be a three-dimensional scanner, which can detect common feature point pairs in different point clouds, such as edges, corners, etc., and match them with feature descriptors to calculate the rigid body transformation relationship between point clouds, thereby achieving point cloud registration and stitching. As another example, the above scanner may also be a two-dimensional scanner; the specific implementation of the scanner is not limited.
[0074] Corresponding to the above method embodiment, the present application embodiment also provides a scanning system, see Figure 8 As shown, the system may include a scanner 801 and a projection device 802; the scanner 801 is in communication connection with the projection device 802, and the projection device includes at least two projection devices 8021;
[0075] The scanner 801 is used to scan the area to be scanned, and the sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics;
[0076] The scanner 801 is used for:
[0077] Control the at least two projection devices 8021 to project projection patterns onto the area to be scanned respectively; scan the area to be scanned including the projection pattern multiple times to obtain multiple scanning results, wherein the projection patterns scanned by the scanner 801 twice in a row are different; and splice the multiple scanning results to obtain a scanning result of the area to be scanned.
[0078] As an example, the scanner 801 is specifically used to obtain the relative position information between the projection patterns respectively projected by the at least two projection devices 8021; based on the relative position information, the at least two projection devices 8021 are instructed to adjust the positions of the projection patterns respectively so that the projection patterns respectively corresponding to the at least two projection devices 8021 form an overlapping area in the current sub-area, and the current sub-area is the sub-area currently scanned by the scanner in the area to be scanned.
[0079] As an example, the scanner 801 is also used to control the shooting device to shoot the area to be scanned; the scanner 801 is specifically used to use the shooting device to shoot the area to be scanned to obtain an image containing pattern features; the pattern features are respectively matched with the features of each projection pattern itself, and the relative position information is determined according to the matching results.
[0080] As an example, the scanner 801 is specifically used to control the at least two projection devices 8021 to adjust the projection pattern to the current sub-area in the area to be scanned, and control the scanner to scan the current sub-area; if the scanner completes scanning the current sub-area, control the at least two projection devices 8021 to adjust the projection pattern to the next sub-area in the area to be scanned, and control the scanner to scan the next sub-area.
[0081] As an example, the scanner 801 is specifically used to control the projection device 8021 to adjust the first projection pattern among each projection pattern to the next sub-area; if the scanner completes scanning the first projection pattern in the next sub-area, the projection device 8021 is controlled to adjust the projection pattern after the first projection pattern to the next sub-area, and the scanner continues to control the scanner to scan the projection pattern after the first projection pattern adjusted to the next sub-area.
[0082] As an example, the at least two projection devices 8021 include at least a first projection device and a second projection device, the first projection device corresponds to a first projection pattern, and the second projection device corresponds to a second projection pattern, and the scanner 801 is specifically used to control the first projection device to adjust the first projection pattern to the next sub-area; if the scanner completes scanning the first projection pattern in the next sub-area, the second projection device is controlled to adjust the second projection pattern to the next sub-area, and the scanner continues to control the scanner to scan the second projection pattern adjusted to the next sub-area.
[0083] As an example, the scanner 801 is specifically used to control the projection device 8021 to adjust each projection pattern to the next sub-area at the same time, and continue to control the scanner to scan each projection pattern adjusted to the next sub-area.
[0084] As an example, the at least two projection devices 8021 are both DLP optical machines, or the at least two projection devices 8021 are both lasers.
[0085] The present application also provides an electronic device, such as Fig. 9 As shown, the electronic device includes: a processor 901; and a memory 902 for storing processor executable instructions; wherein the processor 901 is configured to implement the scanning method described in any of the above embodiments.
[0086] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the scanning method described in any of the above embodiments is implemented.
[0087] The above is only a specific implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A scanning method, characterized in that: The method is used for controlling a scanner to scan a to-be-scanned area, wherein the sub-areas in the to-be-scanned area scanned by the scanner at least twice have the same characteristics, the scanner is communicatively connected with a projection device, and the projection device includes at least two projection devices; the method includes: Controlling the at least two projection devices to project projection patterns onto the area to be scanned respectively; Controlling the scanner to scan the to-be-scanned area including the projection pattern for multiple times to obtain multiple scanning results, wherein the projection patterns obtained by any two consecutive scans by the scanner are different; The multiple scanning results are spliced to obtain a scanning result of the area to be scanned.
2. The method according to claim 1, characterized in that The controlling the at least two projection devices to project projection patterns onto the to-be-scanned area respectively comprises: Acquiring relative position information between projection patterns respectively projected by the at least two projection devices; Based on the relative position information, the at least two projection devices are instructed to adjust the positions of the projection patterns respectively so that the projection patterns corresponding to the at least two projection devices respectively form an overlapping area in the current sub-area, and the current sub-area is the sub-area currently scanned by the scanner in the area to be scanned.
3. The method according to claim 2, characterized in that The method is also used to control a photographing device to photograph the area to be scanned; the step of obtaining relative position information between the projection patterns respectively projected by the at least two projection devices includes: Using the photographing device to photograph the area to be scanned to obtain an image containing pattern features; The pattern features are matched with the features of each projection pattern, and the relative position information is determined according to the matching results.
4. The method according to claim 1, characterized in that The controlling the scanner to scan the to-be-scanned area including the projection pattern for multiple times comprises: Controlling the at least two projection devices to adjust the projection pattern to a current sub-region in the area to be scanned, and controlling the scanner to scan the current sub-region; If the scanner completes scanning the current sub-region, the at least two projection devices are controlled to adjust the projection pattern to the next sub-region in the area to be scanned, and the scanner is controlled to scan the next sub-region.
5. The method according to claim 4, characterized in that The controlling the at least two projection devices to adjust the projection pattern to a next sub-region in the area to be scanned, and controlling the scanner to scan the next sub-region, comprises: Controlling the projection device to adjust the first projection pattern among the projection patterns to the next sub-area; If the scanner completes scanning the first projection pattern in the next sub-area, the projection device is controlled to adjust the projection pattern after the first projection pattern to the next sub-area, and the scanner is continued to scan the projection pattern after the first projection pattern adjusted to the next sub-area.
6. The method according to claim 5, characterized in that The at least two projection devices at least include a first projection device and a second projection device, the first projection device corresponds to a first projection pattern, and the second projection device corresponds to a second projection pattern, and the controlling the at least two projection devices to adjust the projection pattern to a next sub-area in the area to be scanned, and controlling the scanner to scan the next sub-area, comprises: Controlling the first projection device to adjust the first projection pattern to the next sub-area; If the scanner completes scanning the first projection pattern in the next sub-area, the second projection device is controlled to adjust the second projection pattern to the next sub-area, and the scanner is continued to be controlled to scan the second projection pattern adjusted to the next sub-area.
7. The method according to claim 4, characterized in that The controlling the at least two projection devices to adjust the projection pattern to a next sub-region in the area to be scanned, and controlling the scanner to scan the next sub-region, comprises: The projection device is controlled to adjust each projection pattern to the next sub-area at the same time, and the scanner is continuously controlled to scan each projection pattern adjusted to the next sub-area.
8. The method according to claim 1, characterized in that The at least two projection devices are both DLP optical machines, or the at least two projection devices are both lasers.
9. A scanning method, used for a scanner, characterized in that: The scanner is used to scan the area to be scanned, and the sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics. The scanner is communicatively connected with a projection device, and the projection device includes at least two projection devices. The method includes: Controlling the at least two projection devices to project projection patterns onto the area to be scanned respectively; Scanning the area to be scanned including the projection pattern for multiple times to obtain multiple scanning results, wherein the projection patterns obtained by any two consecutive scans by the scanner are different; The multiple scanning results are spliced to obtain a scanning result of the area to be scanned.
10. A scanning method for a projection device, characterized in that: The projection device is communicatively connected with a scanner, and the projection device includes at least two projection devices; the scanner is used to scan the area to be scanned, and the sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics; the method includes: receiving a control instruction of the scanner; Based on the control instructions, the projection patterns corresponding to the at least two projection devices are projected onto the area to be scanned respectively, so that the scanner scans the area to be scanned including the projection patterns multiple times to obtain multiple scanning results, and the multiple scanning results are spliced to obtain the scanning result of the area to be scanned, wherein the projection patterns scanned by the scanner twice in a row are different.
11. A scanning system, characterized in that: The system includes a scanner and a projection device; the scanner is in communication connection with the projection device, and the projection device includes at least two projection devices; The scanner is used to scan the area to be scanned, and the sub-areas in the area to be scanned scanned by the scanner at least twice have the same characteristics; The scanner is used to: Control the at least two projection devices to project projection patterns onto the area to be scanned respectively; scan the area to be scanned including the projection pattern multiple times to obtain multiple scanning results, wherein the projection patterns obtained by any two consecutive scans by the scanner are different; and splice the multiple scanning results to obtain a scanning result of the area to be scanned.
12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method of claim 9 or 10.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
Citation Information
Cited By
Scanning method and system, and electronic device and computer-readable storage medium
WO2026040859A1
