Scanning parameter setting method, apparatus and device, and storage medium
By running an image processing algorithm on a three-dimensional scanner device for performance detection, obtaining performance detection results, and setting scanning parameters based on this result, the problem of single scanning parameter setting method in the prior art is solved, and the user experience is improved.
Patent Information
- Application Number
- PCT/CN2024/120480
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-28
- Filing Date
- 2024-09-23
- Publication Date
- 2025-04-03
AI Technical Summary
The scanning parameters of existing three-dimensional scanners are set in a single way, which cannot meet the diverse needs of users, resulting in poor user experience.
By running an image processing algorithm on the target device for performance detection, the performance detection results are obtained, and the scanning parameters of the three-dimensional scanner corresponding to the target device are set based on the result.
It enriches the scanning parameter setting method of the three-dimensional scanner, improves the user experience, and better meets the needs of different users.
Smart Images

Figure CN2024120480_03042025_PF_FP_ABST
Abstract
Description
Scan parameter setting method, device, equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on September 28, 2023, with application number 202311276443.9, and invention name “A scanning parameter setting method, device, equipment and storage medium”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of data processing, and in particular to a scanning parameter setting method, apparatus, device, and storage medium. Background Art
[0003] With the development of computer vision and image processing technology, 3D scanners have been widely used. Through advanced technologies such as optical imaging, structured light projection, and phase measurement, they can quickly and accurately obtain information such as the shape, depth, and texture of an object.
[0004] In three-dimensional scanning, it is particularly important to determine the scanning parameters of the three-dimensional scanner. For example, taking the scanning parameter of the three-dimensional scanner as the scanning frame rate, a higher scanning frame rate can complete the scanning task in a shorter time.
[0005] However, the method for setting scanning parameters is relatively simple and can no longer meet the user's usage needs. Therefore, how to enrich the setting method of scanning parameters of 3D scanners to improve the user experience is a technical problem that needs to be solved urgently.
[0006] Summary of the Invention
[0007] In order to solve the above technical problems, an embodiment of the present disclosure provides a scanning parameter setting method.
[0008] In a first aspect, the present disclosure provides a method for setting scanning parameters, the method comprising:
[0009] In response to a performance test request for a target device, performing a performance test on the target device by running an image processing algorithm deployed on the target device to obtain a performance test result; wherein an image reading frequency corresponding to the image processing algorithm is used to represent the performance test result;
[0010] Based on the performance test result, scanning parameters of a target three-dimensional scanner corresponding to the target device are set.
[0011] In an optional embodiment, in response to the performance test request for the target device, performing a performance test on the target device by running an image processing algorithm deployed on the target device to obtain a performance test result includes:
[0012] In response to a performance detection request for a target device, calling an image processing algorithm in an algorithm processing unit to perform three-dimensional image modeling processing on at least one frame of an image to be processed; wherein the at least one frame of an image to be processed is a pre-stored continuous image obtained by scanning a three-dimensional scanner;
[0013] A performance test result is obtained based on an image reading frequency corresponding to the image processing algorithm; wherein the image reading frequency includes an image reading request sending frequency and / or an image processing completion frequency corresponding to the image processing algorithm.
[0014] In an optional embodiment, in response to a performance detection request for a target device, calling an image processing algorithm in an algorithm processing unit to perform three-dimensional image modeling on at least one frame of an image to be processed includes:
[0015] In response to a performance detection request for a target device, the algorithm processing unit is called to send an image reading request to the image reading processing unit;
[0016] Upon receiving an image reading request from the algorithm processing unit, calling the image reading processing unit to read at least one frame of image to be processed, and inputting the at least one frame of image to be processed into the algorithm processing unit;
[0017] Call the image processing algorithm in the algorithm processing unit to perform three-dimensional image modeling processing on the at least one frame of image to be processed; wherein, the algorithm processing unit is used to send a reading request to the image reading processing unit when the processing of the at least one frame of image to be processed is completed, and the algorithm processing unit is in a preset load operation state.
[0018] In an optional embodiment, the scanning parameters of the target three-dimensional scanner include the scanning frame rate of the target three-dimensional scanner, and the target three-dimensional scanner is used to capture images at the scanning frame rate and use the image processing algorithm in the algorithm processing unit to perform the three-dimensional image modeling processing on the image.
[0019] In an optional implementation, the performance test result is obtained by performing three-dimensional image modeling processing on the at least one frame of the image to be processed by the image processing algorithm in the algorithm processing unit with respect to the target scanning scene.
[0020] In an optional implementation, the method further includes:
[0021] When the performance detection result is less than a preset threshold, determining whether the parallel processing resource is enabled;
[0022] If it is determined that the parallel processing resource is enabled, the parallel processing resource is released.
[0023] In an optional embodiment, the scanning parameters of the target 3D scanner include a scanning frame rate of the target 3D scanner, and setting the scanning parameters of the target 3D scanner corresponding to the target device based on the performance test result includes:
[0024] The scanning frame rate of the target three-dimensional scanner corresponding to the target device is set based on the performance detection result and the scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device.
[0025] In an optional embodiment, setting the scanning frame rate of the target 3D scanner corresponding to the target device based on the performance test result and the scanning frame rate limit range of the target 3D scanner corresponding to the target device includes:
[0026] If it is determined that the performance test result is less than a minimum scanning frame rate within a scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device, the minimum scanning frame rate is used as the scanning frame rate of the target three-dimensional scanner;
[0027] or, if it is determined that the performance test result falls within a scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device, using the performance test result as the scanning frame rate of the target three-dimensional scanner;
[0028] Alternatively, if it is determined that the performance test result is greater than a maximum scanning frame rate within a scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device, the maximum scanning frame rate is used as the scanning frame rate of the target three-dimensional scanner.
[0029] In a second aspect, the present disclosure provides a scanning parameter setting device, the device comprising:
[0030] a detection module configured to, in response to a performance detection request for a target device, perform a performance detection on the target device by running an image processing algorithm deployed on the target device, and obtain a performance detection result; wherein the image reading frequency corresponding to the image processing algorithm is used to represent the performance detection result;
[0031] The setting module is configured to set scanning parameters of the target three-dimensional scanner corresponding to the target device based on the performance detection result.
[0032] In a third aspect, the present disclosure provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a terminal device, the terminal device implements the above method.
[0033] In a fourth aspect, the present disclosure provides a scanning parameter setting device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0034] In a fifth aspect, the present disclosure provides a computer program product, which includes a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor.
[0035] The technical solution provided by the embodiments of the present disclosure has at least the following advantages compared with the prior art:
[0036] The disclosed embodiments provide a method for setting scanning parameters. In response to a performance test request for a target device, the method performs a performance test on the target device by running an image processing algorithm deployed on the target device, obtaining a performance test result. The image reading frequency corresponding to the image processing algorithm is used to characterize the performance test result. Based on the performance test result, scanning parameters of a target 3D scanner corresponding to the target device are set. This enriches the method for setting scanning parameters for 3D scanners and enhances the user experience by running an image processing algorithm deployed on the target device to perform a performance test on the target device and obtaining a performance test result. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0038] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0039] FIG1 is a flow chart of a scanning parameter setting method provided by an embodiment of the present disclosure;
[0040] FIG2 is a schematic structural diagram of a scanning parameter setting device provided by an embodiment of the present disclosure;
[0041] FIG3 is a schematic structural diagram of a scanning parameter setting device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.
[0043] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0044] The following are some explanations of some key terms mentioned in this disclosure:
[0045] Parallel processing refers to post-processing the jaw data of the previous scan (step) while scanning the current (step) jaw (the scan data of each jaw step needs to undergo a series of optimization post-processing to improve the details and quality of the final result data). Taking the mandibular scan as an example after completing the maxillary scan and starting parallel processing, specifically, the maxillary scan data can be post-processed while scanning the mandibular, thereby improving the efficiency of the entire scanning processing flow.
[0046] Taking the scanning parameter of a 3D scanner as an example, the scanning frame rate, since the scanning speed of a 3D scanner is greatly affected by the performance of smart terminals such as computers, a computer with good high performance can set a higher scanning frame rate and enable parallel processing resources. On the other hand, a computer with low performance can set a moderate scanning frame rate and disable parallel processing resources to make the scanning process smooth enough. Therefore, a suitable scanning frame rate can provide users with a better user experience.
[0047] In order to enrich the setting methods of scanning parameters of a three-dimensional scanner and improve the user experience, an embodiment of the present disclosure provides a scanning parameter setting method.
[0048] Specifically, in response to a performance test request for a target device, the target device is subjected to a performance test by running an image processing algorithm deployed on the target device, obtaining a performance test result. The image reading frequency corresponding to the image processing algorithm is used to characterize the performance test result, and based on the performance test result, scanning parameters of a target 3D scanner corresponding to the target device are set. Thus, the present disclosure enriches the method for setting scanning parameters of 3D scanners by running an image processing algorithm deployed on the target device to obtain a performance test result, thereby setting scanning parameters of the target 3D scanner corresponding to the target device based on the performance test result.
[0049] Based on this, an embodiment of the present disclosure provides a method for setting scanning parameters. Referring to FIG1 , which is a flow chart of a method for setting scanning parameters provided by an embodiment of the present disclosure, the method includes:
[0050] S101: In response to a performance test request for a target device, a performance test is performed on the target device by running an image processing algorithm deployed on the target device to obtain a performance test result.
[0051] Among them, the image reading frequency corresponding to the image processing algorithm is used to represent the performance test results.
[0052] In an embodiment of the present disclosure, upon receiving a performance test request for a target device, a performance test is performed on the target device by running an image processing algorithm deployed on the target device. Specifically, the image reading frequency corresponding to the image processing algorithm on the target device can be used as the performance test result.
[0053] In the embodiment of the present disclosure, the image processing algorithm includes a series of algorithm processing such as three-dimensional reconstruction, artificial intelligence AI, stitching, fusion, and optimization processing.
[0054] In the embodiment of the present disclosure, the image reading frequency includes the image reading request sending frequency and / or the image processing completion frequency corresponding to the image processing algorithm.
[0055] Specifically, the image reading request sending frequency corresponding to the image processing algorithm refers to the number of image reading requests sent by the image processing algorithm in the algorithm processing unit within a unit time.
[0056] The image processing completion frequency refers to the number of images processed by the image processing algorithm in the algorithm processing unit within a unit of time.
[0057] In an optional implementation, in response to a performance detection request for a target device, an image processing algorithm in an algorithm processing unit is called to perform three-dimensional image modeling processing on at least one frame of an image to be processed.
[0058] Wherein, at least one frame of the image to be processed is a pre-stored continuous image obtained by scanning with a three-dimensional scanner.
[0059] In the embodiment of the present disclosure, at least one frame of image to be processed may come from a preset designated file location or from the cloud. The embodiment of the present disclosure does not impose any limitation on the source of the at least one frame of image to be processed.
[0060] In the embodiments of the present disclosure, the three-dimensional scanner can be any type of three-dimensional scanner, such as an intraoral three-dimensional scanner, a facial scanner, an industrial scanner, a professional scanner, etc., which can realize three-dimensional reconstruction of objects or scenes such as teeth, faces, bodies, industrial products, industrial equipment, cultural relics, artworks, prostheses, medical devices, buildings, etc. The embodiments of the present disclosure do not impose any restrictions on this.
[0061] In an embodiment of the present disclosure, after receiving a performance test request for a target device, the image processing algorithm in the algorithm processing unit is called to perform three-dimensional image modeling processing on at least one frame of the image to be processed. Specifically, the image processing algorithm includes a series of algorithm processing such as three-dimensional reconstruction, AI, stitching, fusion, and optimization processing, and then the performance test result is obtained based on the image reading request sending frequency and / or image processing completion frequency corresponding to the image processing algorithm.
[0062] Among them, AI can provide different parameters for subsequent optimization. For example, it can distinguish between teeth and gums in the processed image based on the material. For example, AI can be used to delete points in the identified non-tooth area, and it can also mark gums, teeth, and prepared areas.
[0063] In the embodiment of the present disclosure, the three-dimensional reconstruction algorithm can reconstruct the image to be processed (i.e., the two-dimensional image captured by the three-dimensional scanner) into a single-frame three-dimensional point cloud data, and through the splicing algorithm, the single-frame three-dimensional point clouds obtained by continuous reconstruction can be spliced into an overall three-dimensional point cloud. Based on the overall three-dimensional point cloud, the overall three-dimensional mesh model of the scanned object can be reconstructed and updated in real time.
[0064] It should be noted that the image processing algorithm in the embodiment of the present disclosure can be the same as the scanning algorithm of the three-dimensional scanner. Therefore, a three-dimensional model can be reconstructed through multiple images to be processed to complete the performance detection operation to ensure the accuracy of the performance detection results.
[0065] In an optional embodiment, in response to a performance detection request for a target device, the algorithm processing unit is called to send a picture reading request to the picture reading processing unit. Upon receiving the picture reading request from the algorithm processing unit, the picture reading processing unit is called to read at least one frame of image to be processed, and at least one frame of image to be processed is input into the algorithm processing unit. The image processing algorithm in the algorithm processing unit is called to perform three-dimensional image modeling processing on at least one frame of image to be processed.
[0066] The algorithm processing unit is used to send an image reading request to the image reading processing unit when processing of at least one frame of the image to be processed is completed, and the algorithm processing unit is in a preset load operation state.
[0067] In an embodiment of the present disclosure, after receiving at least one frame of image to be processed input by the image reading processing unit, the algorithm processing unit calls the image processing algorithm in the algorithm processing unit under a preset load operating state to perform three-dimensional modeling processing on at least one frame of image to be processed, and continues to send image reading requests to the image reading processing unit when the processing of at least one frame of image to be processed is completed until the three-dimensional image modeling processing of all images to be processed is completed.
[0068] In an optional implementation, the preset load operating state may be a full load operating state.
[0069] In another optional implementation, the preset load operating state may also be a half-load operating state.
[0070] In the embodiment of the present disclosure, the full-load operation state is used to indicate that the algorithm processing unit performs three-dimensional image modeling processing on at least one frame of image to be processed at the highest speed.
[0071] In actual application scenarios, taking the scanning parameter of the target 3D scanner as the scanning frame rate of the target 3D scanner as an example, when the preset load operation state is the full load operation state, the maximum scanning frame rate of the target 3D scanner supported by the target device can be determined.
[0072] Furthermore, based on the image reading frequency corresponding to the image processing algorithm, a performance test result is obtained.
[0073] The image reading frequency includes the image reading request sending frequency and / or the image processing completion frequency corresponding to the image processing algorithm.
[0074] In the embodiment of the present disclosure, the image reading request sending frequency corresponding to the image processing algorithm refers to the number of image reading requests sent by the image processing algorithm in the algorithm processing unit to the image reading processing unit within a unit time.
[0075] The image processing completion frequency refers to the number of images processed by the image processing algorithm in the algorithm processing unit within a unit of time.
[0076] In an optional implementation, the average of the image reading request sending frequency and the image processing completion frequency corresponding to the image processing algorithm may be used as the image reading frequency corresponding to the image processing algorithm.
[0077] In another optional implementation, the image reading request sending frequency corresponding to the image processing algorithm may be used as the image reading frequency corresponding to the image processing algorithm.
[0078] In another optional implementation, the image processing completion frequency may be used as the image reading frequency corresponding to the image processing algorithm.
[0079] In actual scenarios, taking the three-dimensional image modeling process of three-dimensional reconstruction-splicing-fusion-optimization as an example, the number of successfully stitched images per unit time can be used as the frequency of image processing completion.
[0080] In addition, to improve the efficiency of image processing, in an optional implementation, when the performance detection result is less than a preset threshold, it is determined whether the parallel processing resources are enabled, and if it is determined that the parallel processing resources are enabled, the parallel processing resources are released.
[0081] Among them, the preset threshold can be set based on demand. Continuing with the scanning parameter of the target three-dimensional scanner being the scanning frame rate of the target three-dimensional scanner as an example, the preset threshold can be the minimum scanning frame rate within the scanning frame rate limit range of the target three-dimensional scanner (that is, the three-dimensional scanner whose scanning frame rate is to be set). The embodiments of the present disclosure do not impose any restrictions on this.
[0082] In an embodiment of the present disclosure, when the image processing frame rate is less than a preset threshold, it indicates that the current image processing speed is slow. Whether the parallel processing resources are enabled can be determined according to preset rules or preset strategies. If it is determined that the parallel processing resources are enabled, the parallel processing resources can be released to improve the efficiency of image processing.
[0083] S102: Based on the performance test result, the scanning parameters of the target 3D scanner corresponding to the target device are set.
[0084] In the embodiment of the present disclosure, the scanning parameters of the target three-dimensional scanner include the scanning frame rate of the target three-dimensional scanner. Specifically, the target three-dimensional scanner is used to capture images at the scanning frame rate and use the image processing algorithm in the algorithm processing unit to perform three-dimensional image modeling on the images.
[0085] Continuing to take the scanning parameter of the target 3D scanner as the scanning frame rate of the target 3D scanner as an example.
[0086] In the disclosed embodiment, the scanning frame rate of the target three-dimensional scanner is also affected by the image resolution of the image to be processed. The higher the image resolution of the image to be processed, the lower the scanning frame rate of the target three-dimensional scanner. In addition, the image resolution can be reduced by downsampling to improve the scanning frame rate of the target three-dimensional scanner.
[0087] Specifically, since the three-dimensional scanner is limited by the scanning frame rate when acquiring images, in the embodiment of the present disclosure, the scanning frame rate limitation factor when the three-dimensional scanner acquires images is eliminated by reading at least one frame of image to be processed from the pre-stored continuous images scanned by the three-dimensional scanner, so that the scanning frame rate of the target three-dimensional scanner can be determined based on the performance test results.
[0088] In actual application scenarios, when the preset load operation state is the full load operation state, the maximum image processing frame rate supported by the target device can be determined without testing the performance of the target device.
[0089] In order to improve the accuracy of the scanning frame rate of the target 3D scanner, in an optional implementation, the scanning frame rate of the target 3D scanner may be determined based on the image processing frame rates of multiple repeated acquisitions under the same scanning scene.
[0090] In the embodiment of the present disclosure, the scanning frame rate of the target three-dimensional scanner may be determined based on an average or median of image processing frame rates repeatedly acquired in the same scanning scene.
[0091] In actual scenarios, taking a common maxillary scanning scenario as an example, in the common maxillary scanning scenario, the scanning frame rate of the target 3D scanner is determined based on the average value of the image processing frame rates obtained repeatedly.
[0092] Continuing to take the scanning parameter of the target 3D scanner as the scanning frame rate of the target 3D scanner as an example.
[0093] In another optional implementation, the scanning frame rate of the target 3D scanner corresponding to the target device may be set based on the performance test result and the scanning frame rate limit range of the target 3D scanner corresponding to the target device.
[0094] The scanning frame rate limit range of the target 3D scanner refers to the interval range between the minimum scanning frame rate and the maximum scanning frame rate of the target 3D scanner when performing image scanning.
[0095] Specifically, the minimum scanning frame rate refers to the minimum requirement of the image processing algorithm for the scanning frame rate.
[0096] The maximum scanning frame rate refers to the maximum scanning frame rate at which the target 3D scanner can operate stably. Specifically, stable operation includes a stable scanning frame rate, the target 3D scanner does not get hot, and accurate image acquisition.
[0097] In actual application scenarios, when the software (such as an application that controls the target 3D scanner) is released, the default optimal frame rate, minimum performance frame rate, and maximum performance frame rate of the target 3D scanner are set. Accordingly, the minimum performance frame rate can be used as the minimum scanning frame rate, and the maximum performance frame rate can be used as the maximum scanning frame rate.
[0098] In an embodiment of the present disclosure, if it is determined that the performance test result is less than the minimum scanning frame rate of the scanning frame rate limit range of the target 3D scanner corresponding to the target device, the minimum scanning frame rate is used as the scanning frame rate of the target 3D scanner.
[0099] In another embodiment of the present disclosure, if it is determined that the performance detection result falls within the scanning frame rate limit range of the target 3D scanner corresponding to the target device, the performance detection result is used as the scanning frame rate of the target 3D scanner.
[0100] In another embodiment of the present disclosure, if it is determined that the performance test result is greater than the maximum scanning frame rate of the scanning frame rate limit range of the target 3D scanner corresponding to the target device, the maximum scanning frame rate is used as the scanning frame rate of the target 3D scanner.
[0101] In addition, in order to further improve the accuracy of the scanning frame rate of the target three-dimensional scanner, the target scanning scene can be determined before determining the scanning frame rate of the target three-dimensional scanner. In an optional implementation, the scanning frame rate of the target three-dimensional scanner can be determined based on the image processing frame rate under the target scanning scene.
[0102] Correspondingly, the performance test result is obtained by the image processing algorithm in the algorithm processing unit performing three-dimensional image modeling processing on at least one frame of the image to be processed according to the target scanning scene.
[0103] Specifically, the target scanning scenarios may include: normal maxillary / mandibular / occlusal scanning, maxillary / mandibular / occlusal scanning with AI recognition enabled, maxillary / mandibular / occlusal scanning with parallel processing enabled, and any scenario of maxillary / mandibular / occlusal scanning with both AI recognition and parallel processing enabled.
[0104] In the scanning parameter setting method provided in the embodiments of the present disclosure, in response to a performance test request for a target device, the target device is subjected to a performance test by running an image processing algorithm deployed on the target device, thereby obtaining a performance test result. The image reading frequency corresponding to the image processing algorithm is used to characterize the performance test result, and based on the performance test result, the scanning parameters of the target 3D scanner corresponding to the target device are set. As can be seen, the embodiments of the present disclosure perform a performance test on the target device by running an image processing algorithm deployed on the target device, thereby obtaining a performance test result, and then setting the scanning parameters of the target 3D scanner corresponding to the target device based on the performance test result. This enriches the method for setting scanning parameters for 3D scanners and enhances the user experience.
[0105] Based on the above method embodiment, the present disclosure further provides a scanning parameter setting device. Referring to FIG2 , which is a schematic structural diagram of a scanning parameter setting device provided in an embodiment of the present disclosure, the device includes:
[0106] The detection module 201 is configured to, in response to a performance detection request for a target device, perform a performance detection on the target device by running an image processing algorithm deployed on the target device, and obtain a performance detection result; wherein the image reading frequency corresponding to the image processing algorithm is used to represent the performance detection result;
[0107] The setting module 202 is configured to set scanning parameters of the target three-dimensional scanner corresponding to the target device based on the performance detection result.
[0108] In an optional implementation, the detection module includes:
[0109] The first processing submodule is configured to, in response to a performance detection request for a target device, invoke an image processing algorithm in the algorithm processing unit to perform three-dimensional image modeling on at least one frame of an image to be processed; wherein the at least one frame of an image to be processed is a pre-stored continuous image obtained by scanning with a three-dimensional scanner;
[0110] The second processing submodule is configured to obtain a performance test result based on the image reading frequency corresponding to the image processing algorithm; wherein the image reading frequency includes the image reading request sending frequency and / or the image processing completion frequency corresponding to the image processing algorithm.
[0111] In an optional implementation, the first processing submodule includes:
[0112] a sending submodule configured to, in response to a performance detection request for a target device, call the algorithm processing unit to send an image reading request to the image reading processing unit;
[0113] an input submodule configured to, upon receiving an image reading request from the algorithm processing unit, call the image reading processing unit to read at least one frame of image to be processed, and input the at least one frame of image to be processed to the algorithm processing unit;
[0114] The third processing submodule is configured to call the image processing algorithm in the algorithm processing unit to perform three-dimensional image modeling processing on the at least one frame of image to be processed; wherein, the algorithm processing unit is used to send a reading request to the image reading processing unit when the processing of the at least one frame of image to be processed is completed, and the algorithm processing unit is in a preset load operation state.
[0115] In an optional embodiment, the scanning parameters of the target three-dimensional scanner include the scanning frame rate of the target three-dimensional scanner, and the target three-dimensional scanner is used to capture images at the scanning frame rate and use the image processing algorithm in the algorithm processing unit to perform the three-dimensional image modeling processing on the image.
[0116] In an optional implementation, the performance test result is obtained by performing three-dimensional image modeling processing on the at least one frame of the image to be processed by the image processing algorithm in the algorithm processing unit with respect to the target scanning scene.
[0117] In an optional embodiment, the device further includes:
[0118] a determination module, configured to determine whether parallel processing resources are enabled when the performance detection result is less than a preset threshold;
[0119] The release module is configured to release the parallel processing resource when it is determined that the parallel processing resource is enabled.
[0120] In an optional embodiment, the scanning parameters of the target 3D scanner include a scanning frame rate of the target 3D scanner, and the setting module is specifically configured to:
[0121] The scanning frame rate of the target three-dimensional scanner corresponding to the target device is set based on the performance detection result and the scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device.
[0122] In an optional implementation, the setting module includes:
[0123] a first determining submodule configured to, when determining that the performance test result is less than a minimum scanning frame rate within a scanning frame rate limit range of a target three-dimensional scanner corresponding to the target device, use the minimum scanning frame rate as the scanning frame rate of the target three-dimensional scanner;
[0124] Alternatively, the second determining submodule is configured to, when determining that the performance test result falls within a scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device, use the performance test result as the scanning frame rate of the target three-dimensional scanner;
[0125] Alternatively, the third determination submodule is configured to determine that when the performance test result is greater than the maximum scanning frame rate of the scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device, use the maximum scanning frame rate as the scanning frame rate of the target three-dimensional scanner.
[0126] In the scanning parameter setting device provided in the embodiments of the present disclosure, in response to a performance test request for a target device, the target device is subjected to a performance test by running an image processing algorithm deployed on the target device, thereby obtaining a performance test result. The image reading frequency corresponding to the image processing algorithm is used to characterize the performance test result, and based on the performance test result, the scanning parameters of the target 3D scanner corresponding to the target device are set. Thus, the embodiments of the present disclosure perform a performance test on the target device by running an image processing algorithm deployed on the target device, thereby obtaining a performance test result, and then setting the scanning parameters of the target 3D scanner corresponding to the target device based on the performance test result. This enriches the method for setting scanning parameters for 3D scanners and enhances the user experience.
[0127] In addition to the above-mentioned method and apparatus, the embodiment of the present disclosure further provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device implements the scanning parameter setting method described in the embodiment of the present disclosure.
[0128] The embodiments of the present disclosure further provide a computer program product, which includes a computer program / instruction. When the computer program / instruction is executed by a processor, the scanning parameter setting method described in the embodiments of the present disclosure is implemented.
[0129] In addition, the embodiment of the present disclosure further provides a scanning parameter setting device, as shown in FIG3 , which may include:
[0130] Processor 301, memory 302, input device 303, and output device 304. The number of processors 301 in the scanning parameter setting device can be one or more, and Figure 3 uses one processor as an example. In some embodiments of the present disclosure, the processor 301, memory 302, input device 303, and output device 304 can be connected via a bus or other means, wherein Figure 3 uses the bus connection as an example.
[0131] The memory 302 can be used to store software programs and modules. The processor 301 executes the various functional applications and data processing of the scanning parameter setting device by running the software programs and modules stored in the memory 302. The memory 302 may primarily include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, and the like. Furthermore, the memory 302 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The input device 303 may be used to receive input digital or character information and generate signal input related to user settings and function control of the scanning parameter setting device.
[0132] Specifically in this embodiment, the processor 301 will load the executable files corresponding to the processes of one or more applications into the memory 302 according to the following instructions, and the processor 301 will run the applications stored in the memory 302, thereby realizing the various functions of the above-mentioned scanning parameter setting device.
[0133] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0134] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein. Industrial Applicability
[0135] In the scanning parameter setting method provided by the present disclosure, the embodiment of the present disclosure performs performance testing on the target device by running an image processing algorithm deployed on the target device to obtain a performance test result, and then sets the scanning parameters of the target three-dimensional scanner corresponding to the target device based on the performance test result, enriching the setting method of the scanning parameters of the three-dimensional scanner, improving the user experience, and having strong industrial practicality.
Claims
1. A scanning parameter setting method, wherein: The method comprises: In response to a performance detection request for a target device, a performance detection is performed on the target device by running an image processing algorithm deployed on the target device to obtain a performance detection result; wherein the image reading frequency corresponding to the image processing algorithm is used to characterize the performance detection result; Based on the performance detection result, scanning parameters of the target three-dimensional scanner corresponding to the target device are set.
2. The method according to claim 1, wherein: The step of responding to the performance detection request for the target device, performing performance detection on the target device by running an image processing algorithm deployed on the target device, and obtaining a performance detection result includes: In response to a performance detection request for a target device, an image processing algorithm in an algorithm processing unit is called to perform three-dimensional image modeling processing on at least one frame of an image to be processed; wherein the at least one frame of an image to be processed is a pre-stored continuous image obtained by scanning a three-dimensional scanner; Based on the image reading frequency corresponding to the image processing algorithm, a performance test result is obtained; wherein the image reading frequency includes an image reading request sending frequency and / or an image processing completion frequency corresponding to the image processing algorithm.
3. The method according to claim 2, wherein: The method of responding to the performance detection request for the target device, calling the image processing algorithm in the algorithm processing unit, and performing three-dimensional image modeling processing on at least one frame of the image to be processed includes: In response to a performance detection request for a target device, the algorithm processing unit is called to send a picture reading request to the picture reading processing unit; When receiving an image reading request from the algorithm processing unit, calling the image reading processing unit to read at least one frame of the image to be processed, and inputting the at least one frame of the image to be processed into the algorithm processing unit; Call the image processing algorithm in the algorithm processing unit to perform three-dimensional image modeling processing on the at least one frame of image to be processed; wherein the algorithm processing unit is used to send a picture reading request to the picture reading processing unit when the processing of the at least one frame of image to be processed is completed, and the algorithm processing unit is in a preset load operation state.
4. The method according to claim 2, wherein: The scanning parameters of the target three-dimensional scanner include the scanning frame rate of the target three-dimensional scanner. The target three-dimensional scanner is used to capture images at the scanning frame rate and perform the three-dimensional image modeling processing on the images using the image processing algorithm in the algorithm processing unit.
5. The method according to claim 2, wherein: The performance detection result is obtained by performing three-dimensional image modeling processing on the at least one frame of the image to be processed by the image processing algorithm in the algorithm processing unit according to the target scanning scene.
6. The method according to claim 1, wherein: The method further comprises: When the performance detection result is less than a preset threshold, determining whether the parallel processing resource is enabled; If it is determined that the parallel processing resource is enabled, the parallel processing resource is released.
7. The method according to any one of claims 1 to 6, wherein: The scanning parameters of the target three-dimensional scanner include a scanning frame rate of the target three-dimensional scanner, and the setting of the scanning parameters of the target three-dimensional scanner corresponding to the target device based on the performance detection result includes: Based on the performance test result and the scanning frame rate limit range of the target 3D scanner corresponding to the target device, The scanning frame rate of the target three-dimensional scanner corresponding to the target device is set.
8. The method according to claim 7, wherein: The step of setting the scanning frame rate of the target three-dimensional scanner corresponding to the target device based on the performance detection result and the scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device includes: If it is determined that the performance test result is less than the minimum scanning frame rate of the scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device, the minimum scanning frame rate is used as the scanning frame rate of the target three-dimensional scanner; or, if it is determined that the performance test result belongs to the scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device, the performance test result is used as the scanning frame rate of the target three-dimensional scanner; Or, if it is determined that the performance detection result is greater than the maximum scanning frame rate of the scanning frame rate limit range of the target three-dimensional scanner corresponding to the target device, the maximum scanning frame rate is used as the scanning frame rate of the target three-dimensional scanner.
9. A scanning parameter setting device, wherein: The device comprises: The detection module is configured to respond to a performance detection request for a target device, perform a performance detection on the target device by running an image processing algorithm deployed on the target device, and obtain a performance detection result; wherein the image reading frequency corresponding to the image processing algorithm is used to characterize the performance detection result; The setting module is configured to set scanning parameters of the target three-dimensional scanner corresponding to the target device based on the performance detection result.
10. A computer-readable storage medium, wherein: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 8.
11. A scanning parameter setting device, wherein: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Resource balancing method, device and system based on three-dimensional scanning device
CN111694665A
Three-dimensional model construction method and device and intraoral scanner
CN115512045A
Task processing method and device, equipment and storage medium
CN116016637A
Image data processing method and device in three-dimensional scanning and three-dimensional scanner
CN116206069A
Three-dimensional scanning system and three-dimensional scanning method
CN116625232A
Cited By
Cultural relic restoration scheme generation method, system and device
CN121190670A