WO2024001915A1 - 扫描数据显示方法、装置、设备及存储介质 - Google Patents

扫描数据显示方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2024001915A1
WO2024001915A1 PCT/CN2023/101828 CN2023101828W WO2024001915A1 WO 2024001915 A1 WO2024001915 A1 WO 2024001915A1 CN 2023101828 W CN2023101828 W CN 2023101828W WO 2024001915 A1 WO2024001915 A1 WO 2024001915A1
Authority
WO
WIPO (PCT)
Prior art keywords
scanning
scan data
area
data
initial
Prior art date
Application number
PCT/CN2023/101828
Other languages
English (en)
French (fr)
Inventor
林忠威
江腾飞
张健
Original Assignee
先临三维科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 先临三维科技股份有限公司 filed Critical 先临三维科技股份有限公司
Publication of WO2024001915A1 publication Critical patent/WO2024001915A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics

Definitions

  • Embodiments of the present disclosure relate to the field of multi-mode scanning technology, and in particular, to a scan data display method, device, equipment and storage medium.
  • Scanning data is data obtained by scanning the target object with a 3D scanning device.
  • Three-dimensional scanning equipment can provide a variety of scanning modes, each scanning mode has different characteristics.
  • the laser scanning mode has the characteristics of high accuracy but low scanning efficiency
  • the speckle scanning mode has the characteristics of high scanning efficiency but low accuracy.
  • the present disclosure provides a scan data display method, device, equipment and storage medium.
  • Embodiments of the present disclosure provide a scan data display method, which method includes:
  • the intersection The initial scanning data corresponding to the first scanning mode is displayed on the interactive interface
  • target scanning data corresponding to the second scanning mode is obtained, wherein one of the initial scanning data and the target scanning data is displayed in the first area within, and the other scan data among the initial scan data and the target scan data is displayed outside the first area.
  • An embodiment of the present disclosure also provides a scan data display device, which includes:
  • a first display module configured to display initial scan data corresponding to the first scan mode on the interactive interface when the three-dimensional scanning device scans the target object based on the first scan mode;
  • the first area determination module is used to determine the first area from the interactive interface
  • the second display module is used to obtain the target scan data corresponding to the second scan mode when the three-dimensional scanning device switches from the first scan mode to the second scan mode, wherein one of the initial scan data and the target scan data The scan data is displayed within the first area, and the other one of the initial scan data and the target scan data is displayed outside the first area.
  • An embodiment of the present disclosure also provides an electronic device, which includes:
  • processors one or more processors
  • a storage device for storing one or more programs
  • one or more processors When one or more programs are executed by one or more processors, one or more processors are caused to implement the scan data display method provided in the first aspect.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute the scan data display method provided by the embodiments of the present disclosure.
  • the scan data display method, device, equipment and storage medium provided by the embodiments of the present disclosure display the initial scan data corresponding to the first scan mode on the interactive interface when the three-dimensional scanning device scans the target object based on the first scan mode; and then , determine the first area from the interactive interface; then, when the three-dimensional scanning device switches from the first scanning mode to the second scanning mode, obtain the target scanning data corresponding to the second scanning mode, where initially One of the initial scan data and the target scan data is displayed within the first area, and the other one of the initial scan data and the target scan data is displayed outside the first area.
  • the scanning data corresponding to the different scanning modes can be separated through the first area, so that the initial scanning data and the target scanning data are displayed in different areas, thereby preventing the scanning data corresponding to the different scanning modes from being displayed. Overlap occurs, thereby solving the problem of mutual contamination between scan data corresponding to different scan modes.
  • Figure 1 is a schematic flowchart of a scan data display method in one or more embodiments of the present disclosure
  • Figure 2 is a schematic flowchart of another scan data display method in one or more embodiments of the present disclosure.
  • Figure 3 is a schematic flowchart of yet another scan data display method in one or more embodiments of the present disclosure.
  • Figure 4 is a schematic structural diagram of a scan data display device in one or more embodiments of the present disclosure.
  • Figure 5 is a schematic structural diagram of an electronic device in one or more embodiments of the present disclosure.
  • embodiments of the present disclosure provide a scan data display method, device, equipment and storage medium.
  • the scan data display method may be executed by an electronic device.
  • electronic devices may include tablets, desktop computers, laptops and other devices with communication functions, and may also include devices simulated by virtual machines or simulators.
  • FIG. 1 shows a schematic flowchart of a scan data display method provided by an embodiment of the present disclosure.
  • the scan data display method may include the following steps.
  • the three-dimensional scanning device scans the target object based on the first scanning mode, display the initial scanning data corresponding to the first scanning mode on the interactive interface.
  • the electronic device when the three-dimensional scanning device scans the target object based on the first scanning mode, can obtain the initial scanning data corresponding to the first scanning data in real time, and display the initial scanning data on the interactive interface of the electronic device .
  • the first scanning mode may be an initial scanning mode corresponding to the scanning device on the three-dimensional scanning device.
  • the first scanning mode may be a speckle scanning mode, a laser scanning mode, a point scanning mode, a texture scanning mode, etc.
  • the laser scanning mode may also include scanning modes such as cross line scanning mode, parallel line scanning mode and single line scanning mode.
  • the interactive interface refers to a visual interface that interacts with the user.
  • the interactive interface can display scanning data and at the same time provide relevant controls for controlling scanning.
  • relevant controls for controlling scanning may include scanning mode selection controls, scanning area switching controls, brightness adjustment controls, etc.
  • the first area is determined from the interactive interface, so that the scans corresponding to different modes are separated through the first area. data.
  • the electronic device before determining the first area, may control the three-dimensional scanning device to perform mode switching; or, after determining the first area, the electronic device may control the three-dimensional scanning device to perform mode switching; or, after determining the first area, the electronic device may control the three-dimensional scanning device to perform mode switching.
  • the electronic device can control the three-dimensional scanning device to switch modes. That is to say, the order of the first area determination process and the mode switching process is not limited.
  • the first area refers to any area within the area where the initial scan data is distributed on the interactive interface.
  • the electronic device after the electronic device determines that the three-dimensional scanning device switches from the first scanning mode to the second scanning mode, it can acquire the target scanning data corresponding to the second scanning data in real time, so that the target is displayed on the interactive interface of the electronic device. Scan data.
  • the second scanning mode may be a scanning mode after switching of the scanning device on the three-dimensional scanning device. Wherein, the second scanning mode is different from the first scanning mode.
  • the initial scan data is displayed both inside the first area and outside the first area. Therefore, if you want to display the target scan data in the first area, you need to delete the initial scan data in the first area, retain the initial scan data outside the first area, and display the target scan data in the first area, and Display the initial scan data outside the first area; if you want to display the target scan data outside the first area, you need to delete the initial scan data outside the first area, retain the initial scan data within the first area, and display the target scan data outside the first area. Target scan data is displayed outside the area, and initial scan data is displayed within the first area.
  • the electronic device can obtain the three-dimensional coordinate data corresponding to the initial scan data and the target scan data respectively; then, based on the three-dimensional coordinate data corresponding to the initial scan data and the target scan data, the two-dimensional coordinate data of the first area in the screen coordinate system
  • the coordinate range, and the conversion relationship between the screen coordinate system and the world coordinate system calculate the screen coordinate data corresponding to the initial scan data and the target scan data respectively; then, according to the two-dimensional coordinate range of the first area, as well as the initial scan data and target scan data
  • Corresponding screen coordinate data respectively One of the initial scan data and the target scan data is displayed in the first area, and the other one of the initial scan data and the target scan data is displayed outside the first area.
  • a scanning data display method when the three-dimensional scanning device scans the target object based on the first scanning mode, displays the initial scanning data corresponding to the first scanning mode on the interactive interface; then, determines from the interactive interface out of the first area; then, when the three-dimensional scanning device switches from the first scanning mode to the second scanning mode, the target scanning data corresponding to the second scanning mode is obtained, wherein one of the initial scanning data and the target scanning data The scan data is displayed within the first area, and the other one of the initial scan data and the target scan data is displayed outside the first area.
  • the scanning data corresponding to the different scanning modes can be separated through the first area, so that the initial scanning data and the target scanning data are displayed in different areas, thereby preventing the scanning data corresponding to the different scanning modes from being displayed. Overlap occurs, thereby solving the problem of mutual contamination between scan data corresponding to different scan modes.
  • the initial scan data in the first area or the initial scan data outside the first area can be deleted according to different needs.
  • FIG. 2 shows a schematic flowchart of another scanning data display determination method provided by an embodiment of the present disclosure.
  • the scan data display method may include the following steps.
  • S210 is similar to S110 and will not be described in detail here.
  • S220 may specifically include the following steps:
  • the area selection operation refers to the user operation for area selection.
  • the region selection operation may be a region shape selection operation, or a region shape drawing operation, etc.
  • S220 may specifically include the following steps:
  • S2202. Determine the first area from the interactive interface according to the point cloud characteristics of the initial point cloud data.
  • feature analysis can be performed on the initial point cloud data to obtain point cloud features, and then the interactive interface is divided into regions based on the point cloud features to obtain the first region.
  • density analysis can be performed on the initial point cloud data to obtain the point cloud densities of the initial point cloud data in different areas; or, feature type analysis can be performed on the initial point cloud data to obtain the point cloud densities of the initial point cloud data in different areas.
  • feature type can include strong features and planar features.
  • S220 may include the following steps:
  • structural features are used to characterize the spatial structural characteristics of the target object itself.
  • the construction features may include shape features and complexity features of the target object.
  • the first area can be determined interactively, or the first area can be determined automatically, ensuring the flexibility and accuracy of the first area determination method.
  • S230 is similar to S130 and will not be described in detail here.
  • S240 may specifically include the following steps:
  • the screen coordinate system refers to the coordinate system where the interactive interface is located
  • the world coordinate system refers to the coordinate system where the scanned data is located.
  • the transformation relationship between the screen coordinate system and the world coordinate system may include a rotation matrix and a translation matrix, and the transformation relationship is predetermined.
  • the three-dimensional coordinate range refers to the three-dimensional coordinates of the first area in the world coordinate system.
  • the three-dimensional coordinate range can be expressed as (x, y, z).
  • the initial scan data located within the three-dimensional coordinate range or the initial scan data located outside the three-dimensional coordinate range can be obtained, and the initial scan data within the first area or located within the first area can be obtained.
  • Initial scan data outside the area is deleted.
  • S230 and S240 can also be executed at the same time, or S240 can be executed first and then S230, which will not be described in detail here.
  • the initial scan data in the first area can be deleted or the initial scan data outside the first area can be deleted, so that the first area and the first scan data can be deleted.
  • Scanning data corresponding to different scanning modes are displayed outside an area to avoid overlap in display of scanning data corresponding to different scanning modes, thus solving the problem of mutual contamination between scanning data corresponding to different scanning modes.
  • the initial scan data and the target scan data in different areas can also be spliced to obtain a spliced result of the scan data, and the spliced result of the scan data is displayed.
  • the scanned data displayed in different areas can be a spliced result of the scanned data, and the spliced result of the scanned data can be a three-dimensional model.
  • splicing initial scan data and target scan data in different areas may include the following steps:
  • the scan data within the first area and the scan data outside the first area can be spliced to obtain a splicing result of the scan data.
  • splicing initial scan data and target scan data in different areas may include the following steps:
  • the initial scan data and the target scan data are spliced to obtain the splicing result of the scan data.
  • a landmark point can be set on the target object.
  • scan data corresponding to the preset landmark point can be obtained, and the electronic device can determine the preset landmark point in the screen coordinate system.
  • the two-dimensional coordinate data is then spliced according to the two-dimensional coordinate data of the preset landmark point in the screen coordinate system, and the initial scan data and the target scan data are spliced to obtain the splicing result of the scan data.
  • the target object has multiple actual landmark points.
  • the landmark points can be stickers pasted on the target object, or they can be characteristics of the target object itself.
  • the scan data includes scan mark points obtained by scanning based on each mark point. A scanning landmark point corresponds to a landmark point on the target object.
  • splicing initial scan data and target scan data in different areas may include the following steps:
  • the initial scan data and the target scan data are spliced to obtain the preliminary splicing result of the scan data; according to the two-dimensional coordinate data of the preset landmark point in the screen coordinate system, the preliminary scan data is spliced.
  • the splicing results are corrected to obtain the splicing results of the scanned data.
  • the two-dimensional coordinate range of the first area is used to determine a cropping range, and the initial scan data and the target scan data are spliced according to the cropping range to obtain the preliminary splicing result of the scan data; then, according to the screen coordinate system Download the two-dimensional coordinate data of the preset landmark point to determine the three-dimensional coordinate data of the landmark point; finally, align the three-dimensional coordinate data of the scanned landmark point in the preliminary stitching result with the three-dimensional coordinate data of the preset landmark point, so that the preliminary stitching can be The results are corrected to obtain the splicing result of the scanned data.
  • splicing initial scan data and target scan data in different areas may include the following steps:
  • the initial scan data and the target scan data are spliced to obtain the preliminary splicing result of the scan data
  • the preliminary splicing results are Correction is performed to obtain the splicing result of the scanned data.
  • the three-dimensional scanning device can also be controlled to switch from the second scanning mode back to the first scanning mode or to other scanning modes according to user needs, and scan data corresponding to different scanning modes are stored in different areas. display.
  • the three-dimensional scanning device when the three-dimensional scanning device scans based on the second scanning device, the three-dimensional scanning device can switch back to the original scanning mode.
  • Electronic devices determine three-dimensional After the scanning device switches back to the first scanning mode from the second scanning mode, the latest scanning data corresponding to the first scanning data can be obtained in real time, and the latest scanning data corresponding to the first scanning mode can be displayed on the interactive interface of the electronic device.
  • the scanning data corresponding to the different scanning modes can continue to be displayed in different areas.
  • the three-dimensional scanning device when the three-dimensional scanning device performs scanning based on the second scanning device, the three-dimensional scanning device may switch to the third scanning mode. After determining that the three-dimensional scanning device switches from the second scanning mode to the third scanning mode, the electronic device can obtain the latest scanning data corresponding to the third scanning data in real time, and display the corresponding third scanning mode on the interactive interface of the electronic device. latest scan data. At the same time, the second area can be determined from the interactive interface.
  • the second area is outside the first area, one of the initial scan data and the target scan data is displayed in the first area, and the other one of the initial scan data and the target scan data is displayed in the first area. Outside the first area and the second area, the latest scanning data corresponding to the third scanning mode is displayed in the second area.
  • the second area is within the first area
  • one of the initial scan data and the target scan data is displayed within the first area and is displayed outside the second area
  • the initial scan data and the target scan data Another type of scan data in is displayed outside the first area, and the latest scan data corresponding to the third scan mode is displayed in the second area.
  • the second area can be determined, and the scanning data corresponding to the different scanning modes can be displayed in different areas. This ensures that scan data corresponding to different scanning modes will not be contaminated with each other during the multi-mode scanning process.
  • FIG. 4 shows a schematic structural diagram of a scan data display device provided by an embodiment of the present disclosure.
  • the scanned data display device 400 may include:
  • the first area determination module 420 is used to determine the first area from the interactive interface
  • the second display module 430 is used to obtain the target scan data corresponding to the second scan mode when the three-dimensional scanning device switches from the first scan mode to the second scan mode, where one of the initial scan data and the target scan data is One kind of scan data is displayed in the first area, and the other one of the initial scan data and the target scan data is displayed outside the first area.
  • the scanning data corresponding to the different scanning modes can be separated through the first area, so that the initial scanning data and the target scanning data are displayed in different areas, thereby preventing the scanning data corresponding to the different scanning modes from being displayed. Overlap occurs, thereby solving the problem of mutual contamination between scan data corresponding to different scan modes.
  • the first area determination module 420 is specifically configured to determine the first area from the interactive interface in response to obtaining the area selection operation.
  • the device further includes:
  • the initial scan data deletion module includes:
  • the three-dimensional coordinate range calculation unit is used to calculate the three-dimensional coordinate range of the first area in the world coordinate system based on the two-dimensional coordinate range of the first area in the screen coordinate system and the conversion relationship between the screen coordinate system and the world coordinate system;
  • the initial scan data deletion unit is used to delete the initial scan data in the first area or the initial scan data located outside the first area according to the three-dimensional coordinate range of the first area.
  • the second splicing module is used to splice the initial scan data and the target scan data according to the two-dimensional coordinate data of the preset landmark point in the screen coordinate system to obtain a splicing result of the scan data.
  • the device further includes:
  • the first acquisition module is used to switch the three-dimensional scanning device from the second scanning mode back to the first scanning mode.
  • scanning mode the latest scanning data corresponding to the first scanning mode is obtained, wherein one of the latest scanning data corresponding to the first scanning mode and the target scanning data is displayed in the first area, and the first scanning mode corresponds to The latest scan data and another scan data in the target scan data are displayed outside the first area.
  • the device further includes:
  • the first area determination module is used to determine the second area from the interactive interface when the three-dimensional scanning device switches from the second scanning mode to the third scanning mode, wherein the second area is located outside the first area or is located in the third scanning mode. within a region;
  • the second acquisition module acquires the latest scan data corresponding to the third scan mode, wherein one of the initial scan data and the target scan data is displayed in the first area, and the other one of the initial scan data and the target scan data is displayed in the first area.
  • the scan data is displayed outside the first area, and the latest scan data corresponding to the third scan mode is displayed within the second area.
  • the scanned data display device 400 shown in Figure 4 can perform each step in the method embodiment shown in Figures 1 to 3 and implement each process in the method embodiment shown in Figures 1 to 3 and effects will not be described in detail here.
  • FIG. 5 shows a schematic structural diagram of a scanned data display device provided by an embodiment of the present disclosure.
  • the scan data display device may include a processor 501 and a memory 502 storing computer program instructions.
  • the above-mentioned processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits according to the embodiments of the present application.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • Memory 502 may include mass storage for information or instructions.
  • the memory 502 may include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (USB) drive or both. A combination of the above.
  • Memory 502 may include removable or non-removable (or fixed) media, where appropriate.
  • Memory 502 may be internal or external to the integrated gateway device, where appropriate.
  • memory 502 is non-volatile solid-state memory.
  • memory 502 includes read-only memory (ROM).
  • the ROM can be mask-programmed ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Electrically Programmable ROM, EPROM), electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM), electrically rewritable ROM ( Electrically Alterable ROM (EAROM) or flash memory, or a combination of two or more of these.
  • the processor 501 reads and executes the computer program instructions stored in the memory 502 to execute the steps of the scan data display method provided by the embodiment of the present disclosure.
  • the scan data display device may also include a transceiver 503 and a bus 504. Among them, as shown in Figure 5, the processor 501, the memory 502 and the transceiver 503 are connected through the bus 504 and complete communication with each other.
  • Bus 504 includes hardware, software, or both.
  • the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side BUS (FSB), an Ultra Transmission (Hyper Transport, HT) interconnect, Industrial Standard Architecture (ISA) bus, infinite bandwidth interconnect, Low Pin Count (LPC) bus, memory bus, Micro Channel Architecture , MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association part (Video Electronics Standards Association Local Bus (VLB) bus or other suitable bus or a combination of two or more of these.
  • bus 504 may include one or more buses.
  • the following is an example of a computer-readable storage medium provided by an embodiment of the present disclosure.
  • the computer-readable storage medium belongs to the same inventive concept as the scan data display method of the above-mentioned embodiments.
  • the embodiment of the computer-readable storage medium there is no For detailed description, please refer to the above embodiment of the scan data display method.
  • This embodiment provides a storage medium containing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to perform a scan data display method.
  • the method includes:
  • the initial scanning data corresponding to the first scanning mode is displayed on the interactive interface
  • target scanning data corresponding to the second scanning mode is obtained, wherein one of the initial scanning data and the target scanning data is displayed in the first area within, and the other scan data among the initial scan data and the target scan data is displayed outside the first area.
  • the embodiments of the present disclosure provide a storage medium containing computer-executable instructions.
  • the computer-executable instructions are not limited to the above method operations. They can also perform related tasks in the scan data display method provided by any embodiment of the present disclosure. operate.
  • the present disclosure can be implemented with the help of software and necessary general hardware. Of course, it can also be implemented with hardware, but in many cases the former is a better implementation. . Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product in nature or in part that contributes to the existing technology.
  • the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk.
  • ROM read-only memory
  • RAM random access memory
  • FLASH flash memory
  • hard disk or optical disk etc., including a number of instructions to make a computer cloud platform (which can be a personal Computer, server, or network cloud platform, etc.) executes the scan data display method provided by various embodiments of the present disclosure.
  • scan data corresponding to different scan modes can be separated through the first area to avoid overlap of scan data corresponding to different scan modes during display.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开涉及一种扫描数据显示方法、装置、设备及存储介质。首先,在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据;然后,从交互界面中确定出第一区域;接着,在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。由此,不同扫描模式对应的扫描数据可以通过第一区域分离,避免不同扫描模式对应的扫描数据在显示时出现重叠。

Description

扫描数据显示方法、装置、设备及存储介质
本公开要求2022年6月30日提交中国专利局、申请号为2022107727276、发明名称为“扫描数据显示方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开实施例涉及多模式扫描技术领域,尤其涉及一种扫描数据显示方法、装置、设备及存储介质。
背景技术
扫描数据是由三维扫描设备对目标对象进行扫描后得到的数据。三维扫描设备能够提供多种扫描模式,每种扫描模式各自具有不同的特点。例如,激光扫描模式具有精度高,但是扫描效率低的特点;散斑扫描模式具有扫描效率高,但是精度低的特点。
随着目标对象的构造以及用户需求的不断更新,需要采用多种模式对目标对象进行扫描。然而,利用多种扫描模式进行扫描之后,不同扫描模式对应的扫描数据在显示时之间会出现重叠,导致扫描数据相互污染。因此,提出一种避免扫描数据在显示时出现重叠的扫描数据显示方法,是目前亟需解决技术问题。
发明内容
(一)要解决的技术问题
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种扫描数据显示方法、装置、设备及存储介质。
(二)技术方案
本公开实施例提供了一种扫描数据显示方法,所述方法包括:
在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交 互界面上显示第一扫描模式对应的初始扫描数据;
从交互界面中确定出第一区域;
在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
本公开实施例还提供了一种扫描数据显示装置,所述装置包括:
第一显示模块,用于在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据;
第一区域确定模块,用于从交互界面中确定出第一区域;
第二显示模块,用于在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
本公开实施例还提供了一种电子设备,该设备包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现第一方面所提供的扫描数据显示方法。
本公开实施例还提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行如本公开实施例提供的扫描数据显示方法。
(三)有益效果
本公开实施例提供的上述技术方案与现有技术相比具有如下优点:
本公开实施例提供的扫描数据显示方法、装置、设备及存储介质,在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据;然后,从交互界面中确定出第一区域;接着,在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初 始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。通过上述方式,在利用不同扫描模式进行扫描时,不同扫描模式对应的扫描数据可以通过第一区域分离,使得初始扫描数据和目标扫描数据在不同区域显示,避免不同扫描模式对应的扫描数据在显示时出现重叠,从而解决了不同扫描模式对应的扫描数据之间出现相互污染的问题。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本公开一个或多个实施例中的一种扫描数据显示方法的流程示意图;
图2是本公开一个或多个实施例中的另一种扫描数据显示方法的流程示意图;
图3是本公开一个或多个实施例中的又一种扫描数据显示方法的流程示意图;
图4是本公开一个或多个实施例中的一种扫描数据显示装置的结构示意图;
图5是本公开一个或多个实施例中的一种电子设备的结构示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开 中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
为了解决上述问题,本公开实施例提供了一种扫描数据显示方法、装置、设备及存储介质。
下面结合图1至图3对本公开实施例提供的扫描数据显示方法进行说明。在本公开实施例中,该扫描数据显示方法可以由电子设备执行。其中,电子设备可以包括平板电脑、台式计算机、笔记本电脑等具有通信功能的设备,也可以包括虚拟机或者模拟器模拟的设备。
图1示出了本公开实施例提供的一种扫描数据显示方法的流程示意图。
如图1所示,该扫描数据显示方法可以包括如下步骤。
S110、在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据。
在本公开实施例中,在三维扫描设备基于第一扫描模式对目标对象进行扫描时,电子设备可以实时获取第一扫描数据对应的初始扫描数据,并在电子设备的交互界面上显示初始扫描数据。
在本公开实施例中,第一扫描模式可以是三维扫描设备上扫描装置对应的初始扫描模式。
可选的,第一扫描模式可以是散斑扫描模式、激光扫描模式、点距扫描模式、纹理扫描模式等。其中,激光扫描模式还可以包括交叉线扫描模式、平行线扫描模式以及单线扫描模式等扫描模式。
在本公开实施例中,交互界面是指与用户进行交互的可视化界面。具体的,交互界面可以显示扫描数据,同时,提供用于控制扫描的相关控件。
可选的,控制扫描的相关控件可以包括扫描方式选择控件、扫描区域切换控件以及亮度调节控件等。
S120、从交互界面中确定出第一区域。
在本公开实施例中,在电子设备通过交互界面显示初始扫描数据的过程中,如果用户想要切换扫描模式,则从交互界面确定出第一区域,使得通过第一区域分离不同模式对应的扫描数据。
在本公开实施例中,在确定第一区域之前,电子设备可以控制三维扫描设备进行模式切换;或者,在确定第一区域之后,电子设备可以控制三维扫描设备进行模式切换;或者,在确定第一区域的同时,电子设备可以控制三维扫描设备进行模式切换。也就是说,第一区域的确定过程与模式切换过程的先后顺序不受限定。
在本公开实施例中,第一区域是指交互界面上初始扫描数据所分布的区域内的任意一个区域。
S130、在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
在本公开实施例中,电子设备在确定三维扫描设备由第一扫描模式切换为第二扫描模式之后,可以实时获取第二扫描数据对应的目标扫描数据,使得在电子设备的交互界面上显示目标扫描数据。
在本公开实施例中,第二扫描模式可以是三维扫描设备上扫描装置切换后的扫描模式。其中,第二扫描模式与第一扫描模式不相同。
需要说明的是,获取到初始扫描数据之后,第一区域内和第一区域外都显示初始扫描数据。因此,若想要在第一区域内显示目标扫描数据,需要先将第一区域内的初始扫描数据删除,保留第一区域外的初始扫描数据,并在第一区域内显示目标扫描数据,且在第一区域外显示初始扫描数据;若想要在第一区域外显示目标扫描数据,需要先将第一区域外的初始扫描数据删除,保留第一区域内的初始扫描数据,并在第一区域外显示目标扫描数据,且在第一区域内显示初始扫描数据。
具体的,首先,电子设备可以获取初始扫描数据和目标扫描数据分别对应的三维坐标数据;然后,根据初始扫描数据和目标扫描数据分别对应的三维坐标数据、屏幕坐标系下第一区域的二维坐标范围、以及屏幕坐标系与世界坐标系的转换关系,计算初始扫描数据和目标扫描数据分别对应的屏幕坐标数据;接着,根据第一区域的二维坐标范围、以及初始扫描数据和目标扫描数据分别对应的屏幕坐标数据, 将初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
本公开实施例的一种扫描数据显示方法,在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据;然后,从交互界面中确定出第一区域;接着,在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。通过上述方式,在利用不同扫描模式进行扫描时,不同扫描模式对应的扫描数据可以通过第一区域分离,使得初始扫描数据和目标扫描数据在不同区域显示,避免不同扫描模式对应的扫描数据在显示时出现重叠,从而解决了不同扫描模式对应的扫描数据之间出现相互污染的问题。
在本公开另一种实施方式中,在确定三维扫描设备进行扫描模式切换之后,可以根据不同需求将第一区域内的初始扫描数据或者第一区域外的初始扫描数据删除。
图2示出了本公开实施例提供的另一种扫描数据显示确定方法的流程示意图。
如图2所示,该扫描数据显示方法可以包括如下步骤。
S210、在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据。
其中,S210与S110相似,在此不做赘述。
S220、从交互界面中确定出第一区域。
在一些实施例中,S220具体可以包括如下步骤:
S2201、响应于获取到区域选择操作,从交互界面中确定出所述第一区域。
其中,区域选择操作是指用于区域选择的用户操作。可选的,区域选择操作可以是区域形状选择操作,也可以是区域形状绘制操作等。
在一些实施例中,S220具体可以包括如下步骤:
S2202、根据初始点云数据的点云特征,从交互界面中确定出第一区域。
具体的,可以对初始点云数据进行特征分析,得到点云特征,然后,基于点云特征对交互界面进行区域划分,得到第一区域。
可选的,可以对初始点云数据进行密度分析,得到初始点云数据在不同区域内的点云密度;或者,可以对初始点云数据进行特征类型分析,得到初始点云数据在不同区域内的特征类型。其中,特征类型可以包括强特征和平面特征。
在又一些实施例中,S220具体可以包括如下步骤:
S2203、根据目标对象的构造特征,从交互界面中确定出第一区域。
其中,构造特征用于表征目标对象本身的空间构造特征。
可选的,构造特征可以包括目标对象的形状特征以及复杂度特征。
由此,在本公开实施例中,能够通过交互的方式,确定出第一区域,也可以自动确定第一区域,保证了第一区域确定方式的灵活性和准确性。
S230、在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
其中,S230与S130相似,在此不做赘述。
S240、在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,将第一区域内初始扫描数据或者位于第一区域外的初始扫描数据删除;其中,当删除第一区域内的初始扫描数据时,第一区域内用于显示目标扫描数据,且第一区域外用于显示初始扫描数据;当删除第一区域外的初始扫描数据时,第一区域内用于显示目标扫描数据,且第一区域内用于显示初始扫描数据。
在本公开实施例中,可选的,S240具体可以包括如下步骤:
S2401、根据屏幕坐标系下第一区域的二维坐标范围,以及屏幕坐标系与世界坐标系的转换关系,计算世界坐标系下第一区域的三维坐标范围;
S2402、根据第一区域的三维坐标范围,将第一区域内的初始扫描数据或者位于第一区域外的初始扫描数据删除。
其中,屏幕坐标系是指交互界面所在的坐标系,世界坐标系是指扫描数据所在的坐标系。
其中,屏幕坐标系与世界坐标系的转换关系可以包括旋转矩阵和平移矩阵,且该转换关系是预先确定的。
其中,三维坐标范围是指第一区域在世界坐标系下的三维坐标。三维坐标范围可以表示为(x,y,z)。
具体的,在确定第一区域的三维坐标范围之后,可以获取位于三维坐标范围内的初始扫描数据或者位于三维坐标范围外的初始扫描数据,并将第一区域内的初始扫描数据或者位于第一区域外的初始扫描数据删除。
需要说明的是,S230与S240还可以同时执行,或者,还可以先执行S240再执行S230,在此不做赘述。
由此,在本公开实施例中,在检测到三维扫描设备模式切换之后,可以将第一区域内的初始扫描数据删除或者将第一区域外的初始扫描数据删除,使得第一区域内和第一区域外显示不同扫描模式对应的扫描数据,避免不同扫描模式对应的扫描数据在显示时出现重叠,从而解决了不同扫描模式对应的扫描数据之间出现相互污染的问题。
进一步的,在获取第二扫描模式对应的目标扫描数据之后,还可以对不同区域内的初始扫描数据和目标扫描数据进行拼接,得到扫描数据的拼接结果,并将扫描数据的拼接结果进行显示。需要说明的是,不同区域显示的扫描数据可以是扫描数据的拼接结果,扫描数据的拼接结果可以是三维模型。
在一些实施例中,对不同区域内的初始扫描数据和目标扫描数据进行拼接,具体可以包括如下步骤:
根据屏幕坐标系下第一区域的二维坐标范围,对初始扫描数据和目标扫描数据进行拼接,得到扫描数据的拼接结果。
具体的,根据第一区域的二维坐标范围,可以将第一区域内的扫描数据和第一区域外的扫描数据进行拼接,得到扫描数据的拼接结果。
在另一些实施例中,对不同区域内的初始扫描数据和目标扫描数据进行拼接,具体可以包括如下步骤:
根据屏幕坐标系下预设标志点的二维坐标数据,对初始扫描数据和目标扫描数据进行拼接,得到扫描数据的拼接结果。
具体的,在对目标对象进行扫描之前,可以在目标对象设置标志点,在对目标对象进行扫描之后,可以获取预设标志点对应的扫描数据,电子设备可以确定屏幕坐标系下预设标志点的二维坐标数据,然后根据屏幕坐标系下预设标志点的二维坐标数据,对初始扫描数据和目标扫描数据进行拼接,得到扫描数据的拼接结果。
实际情况下,目标对象具有多个实际存在的标志点,标志点可以是粘贴在目标对象的贴纸,也可以是目标对象本身的特征。可选的,扫描数据中存在基于各个标志点扫描得到的扫描标志点。一个扫描标志点对应目标对象上一个标志点。
在又一些实施例中,对不同区域内的初始扫描数据和目标扫描数据进行拼接,具体可以包括如下步骤:
根据屏幕坐标系下第一区域的二维坐标范围,对初始扫描数据和目标扫描数据进行拼接,得到扫描数据的初步拼接结果;根据屏幕坐标系下预设标志点的二维坐标数据,对初步拼接结果进行修正,得到扫描数据的拼接结果。
具体的,首先,利用先利用第一区域的二维坐标范围,确定一个裁剪范围,根据裁剪范围对初始扫描数据和目标扫描数据进行拼接,得到扫描数据的初步拼接结果;接着,根据屏幕坐标系下预设标志点的二维坐标数据,确定标志点的三维坐标数据;最后,将初步拼接结果中扫描标志点的三维坐标数据与预设标志点的三维坐标数据对准,从而可以对初步拼接结果进行修正,得到扫描数据的拼接结果。
在再一些实施例中,对不同区域内的初始扫描数据和目标扫描数据进行拼接,具体可以包括如下步骤:
根据屏幕坐标系下预设标志点的二维坐标数据,对初始扫描数据和目标扫描数据进行拼接,得到扫描数据的初步拼接结果;
根据屏幕坐标系下第一区域的二维坐标范围,对初步拼接结果进 行修正,得到扫描数据的拼接结果。
具体的,首先,根据屏幕坐标系下预设标志点的二维坐标数据,确定标志点的三维坐标数据;然后,基于预设标志点的三维坐标数据,初始扫描数据和目标扫描数据进行拼接,得到扫描数据的初步拼接结果;接着,利用先利用第一区域的二维坐标范围,确定一个裁剪范围,根据裁剪范围对初步拼接结果进行修正,得到扫描数据的拼接结果。
由此,在本公开实施例中,在获取到初始扫描数据和目标扫描数据之后,可以采用不同的拼接模式进行扫描数据拼接,保证扫描拼接过程的流畅性和灵活性。
在本公开又一种实施方式中,还可以根据用户需求,控制三维扫描设备由第二扫描模式切换回第一扫描模式或者切换为其他扫描模式,并将不同扫描模式对应的扫描数据在不同区域进行显示。
图3示出了本公开实施例提供的又一种扫描数据显示确定方法的流程示意图。
S310、在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据。
S320、从交互界面中确定出第一区域。
S330、在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
其中,S310~S330的具体实现方式可以参见前述实施例的描述,在此不做赘述。
S340、在三维扫描设备由第二扫描模式切换回第一扫描模式的情况下,获取第一扫描模式对应的最新扫描数据,其中,第一扫描模式对应的最新扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,第一扫描模式对应的最新扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
在本公开实施例中,在三维扫描设备基于第二扫描设备进行扫描时,三维扫描设备可以切换回原来的扫描模式。电子设备在确定三维 扫描设备由第二扫描模式切换回第一扫描模式之后,可以实时获取第一扫描数据对应的最新扫描数据,并在电子设备的交互界面上显示第一扫描模式对应的最新扫描数据。
可以理解的是,在执行S330时,若第一区域内显示目标扫描数据,且第一区域外显示初始扫描数据,则在执行S340时,第一区域内继续显示目标扫描数据,且第一区域外显示第一扫描模式对应的最新扫描数据;在执行S330时,若第一区域外显示目标扫描数据,且第一区域内显示初始扫描数据,则在执行S340时,第一区域外继续显示目标扫描数据,且第一区域内显示第一扫描模式对应的最新扫描数据。
由此,在本公开实施例中,若三维扫描设备由第二扫描模式切换回第一扫描模式时,可以在不同区域继续显示不同扫描模式对应的扫描数据。
S350、在三维扫描设备由第二扫描模式切换为第三扫描模式的情况下,从交互界面中确定出第二区域,其中,第二区域在第一区域外或者在第一区域内。
在本公开实施例中,在三维扫描设备基于第二扫描设备进行扫描时,三维扫描设备可以切换为第三扫描模式。电子设备在确定三维扫描设备由第二扫描模式切换为第三扫描模式的情况下之后,可以实时获取第三扫描数据对应的最新扫描数据,并在电子设备的交互界面上显示第三扫描模式对应的最新扫描数据。与此同时,可以从交互界面确定出第二区域。
其中,第二区域的具体确定方式可以参见S220,在此不做赘述。
S360、获取第三扫描模式对应的最新扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外,且第三扫描模式对应的最新扫描数据显示在第二区域内。
在一些情况下,若第二区域在第一区域外,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,初始扫描数据和目标扫描数据中的另一种扫描数据在第一区域和第二区域之外,且第三扫描模式对应的最新扫描数据显示在第二区域内。
在另一些情况下,若第二区域在第一区域内,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内且显示在第二区域外,初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外,且第三扫描模式对应的最新扫描数据显示在第二区域内。
由此,在本公开实施例中,当三维扫描设备由第二扫描模式切换至第三扫描模式等其他扫描模式之后,可以确定第二区域,并在不同区域显示不同扫描模式对应的扫描数据,保证在多模式扫描过程中不同扫描模式对应的扫描数据不会出现相互污染的问题。
本公开实施例还提供了一种用于实现上述的扫描数据显示方法的扫描数据显示装置,下面结合图4进行说明。在本公开实施例中,该扫描数据显示装置可以为电子设备。其中,电子设备可以包括平板电脑、台式计算机、笔记本电脑等具有通信功能的设备,也可以包括虚拟机或者模拟器模拟的设备。
图4示出了本公开实施例提供的一种扫描数据显示装置的结构示意图。
如图4所示,扫描数据显示装置400可以包括:
第一显示模块410,用于在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据;
第一区域确定模块420,用于从交互界面中确定出第一区域;
第二显示模块430,用于在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
本公开实施例的一种扫描数据显示装置,在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据;然后,从交互界面中确定出第一区域;接着,在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描 数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。通过上述方式,在利用不同扫描模式进行扫描时,不同扫描模式对应的扫描数据可以通过第一区域分离,使得初始扫描数据和目标扫描数据在不同区域显示,避免不同扫描模式对应的扫描数据在显示时出现重叠,从而解决了不同扫描模式对应的扫描数据之间出现相互污染的问题。
在本公开一些实施例中,第一区域确定模块420具体用于,响应于获取到区域选择操作,从交互界面中确定出第一区域。
在本公开一些实施例中,该装置还包括:
初始扫描数据删除模块,用于在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,将第一区域内初始扫描数据或者位于第一区域外的初始扫描数据删除;其中,当删除第一区域内的初始扫描数据时,第一区域内用于显示目标扫描数据,且第一区域外用于显示初始扫描数据;当删除第一区域外的初始扫描数据时,第一区域外用于显示目标扫描数据,且第一区域内用于显示初始扫描数据。
在本公开一些实施例中,初始扫描数据删除模块,包括:
三维坐标范围计算单元,用于根据屏幕坐标系下第一区域的二维坐标范围,以及屏幕坐标系与世界坐标系的转换关系,计算世界坐标系下第一区域的三维坐标范围;
初始扫描数据删除单元,用于根据第一区域的三维坐标范围,将第一区域内的初始扫描数据或者位于第一区域外的初始扫描数据删除。
在本公开一些实施例中,该装置还包括:
第一拼接模块,用于根据屏幕坐标系下第一区域的二维坐标范围,对初始扫描数据和目标扫描数据进行拼接,得到扫描数据的拼接结果;
和/或,
第二拼接模块,用于根据屏幕坐标系下预设标志点的二维坐标数据,对初始扫描数据和目标扫描数据进行拼接,得到扫描数据的拼接结果。
在本公开一些实施例中,该装置还包括:
第一获取模块,用于在三维扫描设备由第二扫描模式切换回第一 扫描模式的情况下,获取第一扫描模式对应的最新扫描数据,其中,第一扫描模式对应的最新扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,第一扫描模式对应的最新扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
在本公开一些实施例中,该装置还包括:
第一区域确定模块,用于在三维扫描设备由第二扫描模式切换为第三扫描模式的情况下,从交互界面中确定出第二区域,其中,第二区域位于第一区域外或者位于第一区域内;
第二获取模块,获取第三扫描模式对应的最新扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外,且第三扫描模式对应的最新扫描数据显示在第二区域内。
需要说明的是,图4所示的扫描数据显示装置400可以执行图1至图3所示的方法实施例中的各个步骤,并且实现图1至图3所示的方法实施例中的各个过程和效果,在此不做赘述。
图5示出了本公开实施例提供的一种扫描数据显示设备的结构示意图。
如图5所示,该扫描数据显示设备可以包括处理器501以及存储有计算机程序指令的存储器502。
具体地,上述处理器501可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。
存储器502可以包括用于信息或指令的大容量存储器。举例来说而非限制,存储器502可以包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个及其以上这些的组合。在合适的情况下,存储器502可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器502可在综合网关设备的内部或外部。在特定实施例中,存储器502是非易失性固态存储器。在特定实施例中,存储器502包括只读存储器(Read-Only Memory,ROM)。在合适的情况下,该 ROM可以是掩模编程的ROM、可编程ROM(Programmable ROM,PROM)、可擦除PROM(Electrical Programmable ROM,EPROM)、电可擦除PROM(Electrically Erasable Programmable ROM,EEPROM)、电可改写ROM(Electrically Alterable ROM,EAROM)或闪存,或者两个或及其以上这些的组合。
处理器501通过读取并执行存储器502中存储的计算机程序指令,以执行本公开实施例所提供的扫描数据显示方法的步骤。
在一个示例中,该扫描数据显示设备还可包括收发器503和总线504。其中,如图5所示,处理器501、存储器502和收发器503通过总线504连接并完成相互间的通信。
总线504包括硬件、软件或两者。举例来说而非限制,总线可包括加速图形端口(Accelerated Graphics Port,AGP)或其他图形总线、增强工业标准架构(Extended Industry Standard Architecture,EISA)总线、前端总线(Front Side BUS,FSB)、超传输(Hyper Transport,HT)互连、工业标准架构(Industrial Standard Architecture,ISA)总线、无限带宽互连、低引脚数(Low Pin Count,LPC)总线、存储器总线、微信道架构(Micro Channel Architecture,MCA)总线、外围控件互连(Peripheral Component Interconnect,PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(Serial Advanced Technology Attachment,SATA)总线、视频电子标准协会局部(Video Electronics Standards Association Local Bus,VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线504可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。
以下是本公开实施例提供的计算机可读存储介质的实施例,该计算机可读存储介质与上述各实施例的扫描数据显示方法属于同一个发明构思,在计算机可读存储介质的实施例中未详尽描述的细节内容,可以参考上述扫描数据显示方法的实施例。
本实施例提供一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行一种扫描数据显示方法, 该方法包括:
在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示第一扫描模式对应的初始扫描数据;
从交互界面中确定出第一区域;
在三维扫描设备由第一扫描模式切换为第二扫描模式的情况下,获取第二扫描模式对应的目标扫描数据,其中,初始扫描数据和目标扫描数据中的一种扫描数据显示在第一区域内,且初始扫描数据和目标扫描数据中的另一种扫描数据显示在第一区域外。
当然,本公开实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上的方法操作,还可以执行本公开任意实施例所提供的扫描数据显示方法中的相关操作。
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本公开可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机云平台(可以是个人计算机,服务器,或者网络云平台等)执行本公开各个实施例所提供的扫描数据显示方法。
注意,上述仅为本公开的较佳实施例及所运用技术原理。本领域技术人员会理解,本公开不限于这里的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本公开的保护范围。因此,虽然通过以上实施例对本公开进行了较为详细的说明,但是本公开不仅仅限于以上实施例,在不脱离本公开构思的情况下,还可以包括更多其他等效实施例,而本公开的范围由所附的权利要求范围决定。
工业实用性
本公开提供的扫描数据显示方法,不同扫描模式对应的扫描数据可以通过第一区域分离,避免不同扫描模式对应的扫描数据在显示时出现重叠。

Claims (10)

  1. 一种扫描数据显示方法,其特征在于,包括:
    在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示所述第一扫描模式对应的初始扫描数据;
    从所述交互界面中确定出第一区域;
    在所述三维扫描设备由所述第一扫描模式切换为第二扫描模式的情况下,获取所述第二扫描模式对应的目标扫描数据,其中,所述初始扫描数据和所述目标扫描数据中的一种扫描数据显示在所述第一区域内,且所述初始扫描数据和所述目标扫描数据中的另一种扫描数据显示在所述第一区域外。
  2. 根据权利要求1所述的方法,其特征在于,所述从所述交互界面中确定出第一区域,包括:
    响应于获取到区域选择操作,从所述交互界面中确定出所述第一区域。
  3. 根据权利要求1所述的方法,其特征在于,还包括:
    在所述三维扫描设备由所述第一扫描模式切换为第二扫描模式的情况下,将所述第一区域内所述初始扫描数据或者所述第一区域外的所述初始扫描数据删除;
    其中,当删除所述第一区域内的所述初始扫描数据时,所述第一区域内用于显示所述目标扫描数据,且所述第一区域外用于显示所述初始扫描数据;当删除所述第一区域外的所述初始扫描数据时,所述第一区域外用于显示所述目标扫描数据,且所述第一区域内用于显示所述初始扫描数据。
  4. 根据权利要求3所述的方法,其特征在于,所述将所述第一区域内所述初始扫描数据或者所述第一区域外的所述初始扫描数据删除,包括:
    根据屏幕坐标系下所述第一区域的二维坐标范围,以及屏幕坐标系与世界坐标系的转换关系,计算所述世界坐标系下所述第一区域的三维坐标范围;
    根据所述第一区域的三维坐标范围,将所述第一区域内的所述初始扫描数据或者所述第一区域外的所述初始扫描数据删除。
  5. 根据权利要求1~4任一项所述的方法,其特征在于,在所述获取第二扫描模式对应的目标扫描数据之后,所述方法还包括:
    根据屏幕坐标系下所述第一区域的二维坐标范围,对所述初始扫描数据和所述目标扫描数据进行拼接,得到扫描数据的拼接结果;
    和/或,
    根据所述屏幕坐标系下预设标志点的二维坐标数据,对所述初始扫描数据和所述目标扫描数据进行拼接,得到扫描数据的拼接结果。
  6. 根据权利要求1所述的方法,其特征在于,在所述获取所述第二扫描模式对应的目标扫描数据之后,所述方法还包括:
    在所述三维扫描设备由所述第二扫描模式切换回所述第一扫描模式的情况下,获取所述第一扫描模式对应的最新扫描数据,其中,所述第一扫描模式对应的最新扫描数据和所述目标扫描数据中的一种扫描数据显示在所述第一区域内,所述第一扫描模式对应的最新扫描数据和所述目标扫描数据中的另一种扫描数据显示在所述第一区域外。
  7. 根据权利要求1所述的方法,其特征在于,在所述获取所述第二扫描模式对应的目标扫描数据之后,所述方法还包括:
    在所述三维扫描设备由所述第二扫描模式切换为第三扫描模式的情况下,从所述交互界面中确定出第二区域,其中,所述第二区域在所述第一区域外或者在所述第一区域内;
    获取所述第三扫描模式对应的最新扫描数据,其中,所述初始扫描数据和所述目标扫描数据中的一种扫描数据显示在所述第一区域内,所述初始扫描数据和所述目标扫描数据中的另一种扫描数据显示在所 述第一区域外,且所述第三扫描模式对应的最新扫描数据显示在所述第二区域内。
  8. 一种扫描数据显示装置,其特征在于,包括:
    第一显示模块,用于在三维扫描设备基于第一扫描模式对目标对象进行扫描时,在交互界面上显示所述第一扫描模式对应的初始扫描数据;
    第一区域确定模块,用于从所述交互界面中确定出第一区域;
    第二显示模块,用于在所述三维扫描设备由所述第一扫描模式切换为第二扫描模式的情况下,获取所述第二扫描模式对应的目标扫描数据,其中,所述初始扫描数据和所述目标扫描数据中的一种扫描数据显示在所述第一区域内,且所述初始扫描数据和所述目标扫描数据中的另一种扫描数据显示在所述第一区域外。
  9. 一种电子设备,其特征在于,包括:
    处理器;
    存储器,用于存储可执行指令;
    其中,所述处理器用于从所述存储器中读取所述可执行指令,并执行所述可执行指令以实现上述权利要求1-7中任一项所述的扫描数据显示方法。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述存储介质存储有计算机程序,当所述计算机程序被处理器执行时,使得处理器实现上述权利要求1-7中任一项所述的扫描数据显示方法。
PCT/CN2023/101828 2022-06-30 2023-06-21 扫描数据显示方法、装置、设备及存储介质 WO2024001915A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210772727.6 2022-06-30
CN202210772727.6A CN115185415A (zh) 2022-06-30 2022-06-30 扫描数据显示方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2024001915A1 true WO2024001915A1 (zh) 2024-01-04

Family

ID=83515267

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/101828 WO2024001915A1 (zh) 2022-06-30 2023-06-21 扫描数据显示方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN115185415A (zh)
WO (1) WO2024001915A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185415A (zh) * 2022-06-30 2022-10-14 先临三维科技股份有限公司 扫描数据显示方法、装置、设备及存储介质
CN118071941A (zh) * 2024-04-24 2024-05-24 先临三维科技股份有限公司 三维扫描方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106073826A (zh) * 2015-04-23 2016-11-09 美国西门子医疗解决公司 针对混合模式超声成像的采集控制
CN107064185A (zh) * 2017-04-12 2017-08-18 北京君和信达科技有限公司 辐射图像显示方法和系统
US20190285865A1 (en) * 2016-09-02 2019-09-19 Femtonics Kft. Method for scanning along a 3-dimensional line and method for scanning a region of interest by scanning a plurality of 3-dimensional lines
CN111220076A (zh) * 2020-01-11 2020-06-02 武汉中观自动化科技有限公司 一种跟踪定位和标志点定位混合的定位方法和装置
KR20220017830A (ko) * 2020-08-05 2022-02-14 주식회사 메디트 3차원 데이터 획득 방법, 장치 및 그 방법을 수행하는 프로그램이 저장된 컴퓨터 판독 가능 저장 매체
CN115185415A (zh) * 2022-06-30 2022-10-14 先临三维科技股份有限公司 扫描数据显示方法、装置、设备及存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5761933B2 (ja) * 2010-06-25 2015-08-12 株式会社東芝 超音波診断装置、超音波画像処理装置及び医用画像処理装置
JP2019523064A (ja) * 2016-07-27 2019-08-22 アライン テクノロジー, インコーポレイテッド 歯科診断機能を有する口腔内スキャナ
CN111754553A (zh) * 2020-06-24 2020-10-09 上海联影医疗科技有限公司 多模态扫描图像配准方法、装置、计算机设备和存储介质
CN111700633A (zh) * 2020-06-28 2020-09-25 上海联影医疗科技有限公司 Pet图像衰减校正方法、装置、计算机设备和可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106073826A (zh) * 2015-04-23 2016-11-09 美国西门子医疗解决公司 针对混合模式超声成像的采集控制
US20190285865A1 (en) * 2016-09-02 2019-09-19 Femtonics Kft. Method for scanning along a 3-dimensional line and method for scanning a region of interest by scanning a plurality of 3-dimensional lines
CN107064185A (zh) * 2017-04-12 2017-08-18 北京君和信达科技有限公司 辐射图像显示方法和系统
CN111220076A (zh) * 2020-01-11 2020-06-02 武汉中观自动化科技有限公司 一种跟踪定位和标志点定位混合的定位方法和装置
KR20220017830A (ko) * 2020-08-05 2022-02-14 주식회사 메디트 3차원 데이터 획득 방법, 장치 및 그 방법을 수행하는 프로그램이 저장된 컴퓨터 판독 가능 저장 매체
CN115185415A (zh) * 2022-06-30 2022-10-14 先临三维科技股份有限公司 扫描数据显示方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN115185415A (zh) 2022-10-14

Similar Documents

Publication Publication Date Title
WO2024001915A1 (zh) 扫描数据显示方法、装置、设备及存储介质
JP6560740B2 (ja) バーチャルリアリティヘッドマウントディスプレイ機器ソフトウェアをテストする方法、装置、プログラム、及び記録媒体
WO2022199364A1 (zh) 图像处理方法、装置、存储介质及设备
CN103970518A (zh) 一种逻辑窗口的3d渲染方法和装置
WO2019119621A1 (zh) 投影画面的校正方法、装置以及投影系统
EP3822758A1 (en) Method and apparatus for setting background of ui control
CN104317539A (zh) 一种信息处理方法及电子设备
AU2022368364A1 (en) Control method, device, equipment and storage medium for interactive reproduction of target object
CN109743566A (zh) 一种用于识别vr视频格式的方法与设备
CN114928718A (zh) 视频监控方法、装置、电子设备及存储介质
CN110928509A (zh) 显示控制方法、显示控制装置、存储介质、通信终端
EP4009624A1 (en) Image display method, image display apparatus, and mobile terminal
WO2024051639A1 (zh) 图像处理方法、装置、设备及存储介质和产品
WO2024041637A1 (zh) 特效图生成方法、装置、设备及存储介质
CN111862342A (zh) 增强现实的纹理处理方法、装置、电子设备及存储介质
CN110070617B (zh) 数据同步方法、装置、硬件装置
CN115761091A (zh) 游戏画面渲染方法、装置、电子设备和存储介质
CN115250313A (zh) 变模式扫描方法、装置、设备及存储介质
EP4170588A2 (en) Video photographing method and apparatus, and device and storage medium
CN113641276A (zh) 显示控制方法、装置、电子设备及存储介质
CN114092645A (zh) 三维场景的可视化搭建方法、装置、电子设备及存储介质
CN114913277A (zh) 一种物体立体交互展示方法、装置、设备及介质
CN114356264A (zh) 一种信号生成方法、装置、设备及可读存储介质
CN114022601A (zh) 一种体积元素渲染方法、装置及设备
CN110941389A (zh) 一种焦点触发ar信息点的方法及装置

Legal Events

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

Ref document number: 23830094

Country of ref document: EP

Kind code of ref document: A1