WO2021093543A1 - Scanner and operation method, apparatus and system therefor, and storage medium and processor - Google Patents

Scanner and operation method, apparatus and system therefor, and storage medium and processor Download PDF

Info

Publication number
WO2021093543A1
WO2021093543A1 PCT/CN2020/122887 CN2020122887W WO2021093543A1 WO 2021093543 A1 WO2021093543 A1 WO 2021093543A1 CN 2020122887 W CN2020122887 W CN 2020122887W WO 2021093543 A1 WO2021093543 A1 WO 2021093543A1
Authority
WO
WIPO (PCT)
Prior art keywords
scanner
action
menu
threshold
angular velocity
Prior art date
Application number
PCT/CN2020/122887
Other languages
French (fr)
Chinese (zh)
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 WO2021093543A1 publication Critical patent/WO2021093543A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B6/00Apparatus or devices for radiation diagnosis; Apparatus or devices for radiation diagnosis combined with radiation therapy equipment
    • A61B6/54Control of apparatus or devices for radiation diagnosis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B6/00Apparatus or devices for radiation diagnosis; Apparatus or devices for radiation diagnosis combined with radiation therapy equipment
    • A61B6/46Arrangements for interfacing with the operator or the patient

Definitions

  • the present invention relates to the field of three-dimensional scanning, in particular, to a scanner, and an operation method, device, system, storage medium and processor thereof.
  • At least some embodiments of the present invention provide a scanner, and an operation method, device, system, storage medium, and processor thereof, so as to at least solve the technical problem that the scanner cannot be controlled by physical buttons.
  • a method for controlling a scanner including: detecting the action information of the scanner; determining whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the The menu interface of the scanner; after displaying the menu interface based on the trigger action, continue to detect the action information and determine whether the action information belongs to a pointing action, wherein the pointing action is used to select the menu interface The menu item in; based on the trigger action and the pointing action, control the scanner.
  • detecting the motion information of the scanner includes: detecting at least one angular velocity component of the scanner in a spatial coordinate system, wherein each angular velocity component is used to indicate that the scanner moves around the x-axis , Y-axis or z-axis movement.
  • determining whether the action information belongs to a trigger action includes: determining whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one angular velocity component; In the case that the scanner moves continuously within a predetermined time period, it is determined based on the action information whether there is at least one of the angular velocity components exceeding a predetermined amplitude; when it is determined that the scanner has at least one angular velocity component In the case of exceeding the predetermined amplitude, it is determined that the action information belongs to the trigger action.
  • judging whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one of the angular velocity components includes: filtering the at least one angular velocity component according to a predetermined threshold , Determining a threshold starting point and a threshold ending point at which each angular velocity component exceeds the predetermined threshold, wherein the threshold starting point represents the starting time at which the angular velocity component exceeds the predetermined threshold and the numerical value of the starting time, The threshold end point represents the end time at which the angular velocity component exceeds the predetermined threshold and the numerical value of the end time; it is determined whether the number of the threshold start point and the threshold end point within the predetermined time threshold meets the predetermined And whether the numerical value of the threshold starting point and the numerical value of the threshold ending point continuously alternate between positive and negative; the number of the threshold starting point and the threshold ending point meets a predetermined number, and the numerical value of the threshold starting point In the case where the numerical value of the threshold end point continuously alternates between positive and negative, it is determined
  • the method further includes: based on the adjacent threshold ending point and the threshold The angular velocity component between the starting points is subjected to monotonicity judgment; according to the monotonicity judgment result, it is determined whether the motion of the scanner is continuous.
  • judging whether the action information belongs to a pointing action includes: judging whether the menu interface has been triggered; in the case that the menu interface has been triggered, determining whether the action information is based on at least one of the angular velocity components.
  • the instruction direction of the pointing action the menu item is selected in the menu interface according to the instruction direction.
  • determining the indication direction of the pointing action according to at least one of the angular velocity components includes: determining a movement amplitude of at least one movement direction according to at least one of the angular velocity components continuously recorded, wherein the movement direction It includes the direction in which the scanner moves around the x-axis, the y-axis, or the z-axis; it is determined that the movement direction corresponding to the maximum value of the movement amplitude is an indication direction.
  • the menu interface includes: a selection cursor and at least one of the menu items, and selecting the menu item in the menu interface according to the indication direction includes: controlling the The drop-in relationship between the selection cursor and at least one of the menu items; select the menu item in which the selection cursor falls according to a determination instruction, wherein the determination instruction is triggered by the length of time the selection cursor falls , Or triggered by a specific action.
  • the menu interface includes a plurality of the menu items
  • the plurality of menu item arrangement schemes include one of the following: a plurality of the menu items are arranged in an order, wherein the order arrangement at least includes Arranged in horizontal order and in vertical order; a plurality of the menu items are arranged in a grid in both horizontal and vertical directions; a plurality of the menu items are arranged in layers in a ring, wherein the center of the ring is at least one A circular area of a menu item, where the outside of the circular area is surrounded by at least one of the menu items in a circle; a plurality of the menu items are arranged in a circular single layer, wherein the shape of each menu item includes a circle, Ring and square.
  • a scanner control device including: a first detection unit configured to detect motion information of the scanner; and a judging unit configured to determine whether the motion information belongs to a trigger action , Wherein the trigger action is used to trigger the display of the menu interface of the scanner; the second detection unit is configured to continue to detect the action information after displaying the menu interface based on the trigger action, and determine the Whether the action information belongs to a pointing action, wherein the pointing action is used to select a menu item in the menu interface; the control unit is configured to control the scanner based on the trigger action and the pointing action.
  • a scanner including: an inertial measurement sensor configured to collect motion information; a processing device, which communicates with the inertial measurement sensor, configured to receive the motion information; Whether the action information belongs to a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information and determine whether the action information belongs to a pointing action; display the menu interface of the scanner based on the trigger action , Selecting a menu item in the menu interface based on the pointing action, and controlling the scanner.
  • a scanner control system which includes: a scanner, which is set to collect action information; a computer, which communicates with the scanner and is set to receive the action information; Whether the action information belongs to a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information and determine whether the action information belongs to a pointing action; display the menu interface of the scanner based on the trigger action , Selecting a menu item in the menu interface based on the pointing action, and controlling the scanner.
  • a storage medium is further provided, the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is controlled to execute the aforementioned scanner control method.
  • a processor is further provided, the processor is configured to run a program, and the above-mentioned scanner control method is executed when the program is running.
  • the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect Action information, and determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and the pointing action, to control the scanner, the menu interface can be started by the trigger action, and the pointing action is in the menu Selecting the menu item in the interface achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and solving the problem that the scanner cannot be controlled by the physical button. technical problem.
  • FIG. 1 is a schematic diagram of a control method of a scanner according to an embodiment of the present invention
  • Fig. 2 is a schematic diagram of a control process of a scanner according to an embodiment of the present invention
  • Fig. 3 is a first schematic diagram of a triggering action according to an embodiment of the present invention.
  • Fig. 4 is a second schematic diagram of a triggering action according to an embodiment of the present invention.
  • Fig. 5 is a first schematic diagram showing an angular velocity component of a trigger action according to an embodiment of the present invention
  • Fig. 6 is a second schematic diagram showing the angular velocity component of a trigger action according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a vertical sequential arrangement of menu items according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a type of menu items arranged in a grid in horizontal and vertical directions according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a kind of menu items arranged in multiple layers in a ring according to an embodiment of the present invention.
  • Fig. 10 is a schematic diagram of a single layer arrangement of menu items in a ring according to an embodiment of the present invention.
  • Figure 11 is a schematic diagram of a scanner control device according to an embodiment of the present invention.
  • Figure 12 is a schematic diagram of a scanner according to an embodiment of the present invention.
  • Fig. 13 is a schematic diagram of a control system of a scanner according to an embodiment of the present invention.
  • an embodiment of a method for controlling a scanner is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
  • Fig. 1 is a schematic diagram of a method for controlling a scanner according to an embodiment of the present invention. As shown in Fig. 1, the method includes the following steps:
  • Step S102 detecting the action information of the scanner
  • Step S104 judging whether the action information belongs to a trigger action, where the trigger action is used to trigger a menu interface of the display scanner;
  • Step S106 After displaying the menu interface based on the triggered action, continue to detect the action information, and determine whether the action information belongs to a pointing action, where the pointing action is used to select a menu item in the menu interface;
  • step S108 the scanner is controlled based on the trigger action and the pointing action.
  • the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect the action information , And determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and the pointing action, to control the scanner, the menu interface can be started by the trigger action, and the pointing action is in the menu interface Selecting the menu item achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and solving the technical problem that the scanner cannot be controlled by the physical button .
  • the scanner may be a three-dimensional scanner, which is set to scan three-dimensional data of the object; the scanner may be a hand-held scanner, which has the characteristics of being small in size and convenient for the user to hold and move.
  • the scanner is a hand-held intraoral scanner, which is set to scan the three-dimensional data of the teeth in the patient’s mouth, so that when the doctor performs intraoral scanning of the patient, the required operations can be performed by simply swinging, and no changes are required at all. Holding posture.
  • step S104 and step S106 can be performed simultaneously, and the specific manner is as follows:
  • step S102 after detecting the action information of the scanner, it is determined whether the action information belongs to a trigger action or a pointing action, wherein if the action information meets the trigger condition set by the trigger action, it is determined that the action information belongs to the trigger action; if The menu item at the current moment is turned on, it is determined whether the action information at the current moment meets the pointing condition of the pointing action, and the action information that meets the pointing condition is determined as the pointing action.
  • the trigger condition is used to determine whether the action information indicates that the scanner rotates back and forth 2 times quickly and regularly after a pause.
  • the pointing condition is used to determine whether the action information belongs to a pointing action according to whether the menu interface is triggered.
  • the direction and amplitude of the action indicated by the action information are determined.
  • detecting the action information of the scanner includes: detecting at least one angular velocity component of the scanner in a spatial coordinate system, where each angular velocity component is used to indicate that the scanner is around the x-axis, y-axis, or z-axis. Axis movement.
  • the scanner can be used as the center to establish a three-dimensional space rectangular coordinate system, and the user can operate the scanner to move in space, which can be expressed based on the angular velocity components of the x-axis, y-axis and z-axis in the three-dimensional space coordinate system Movement information of the user operating the scanner.
  • the center of gravity of the scanner can be used as the origin of the three-dimensional rectangular coordinate system
  • the x-axis is determined according to the horizontal direction
  • the y-axis is determined according to the vertical direction
  • the z-axis is determined according to the right-hand rule based on the holding posture of the scanner.
  • the center of gravity of the scanner is used as the origin of the three-dimensional rectangular coordinate system
  • the axial direction of the scanner is used as an axis in the three-dimensional rectangular coordinate system to establish a three-dimensional rectangular coordinate system.
  • judging whether the action information belongs to a trigger action includes: judging whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one angular velocity component; and determining whether the scanner continues within a predetermined time period In the case of motion, it is determined whether the scanner has at least one angular velocity component exceeding the predetermined amplitude based on the action information; when it is determined that the scanner has at least one angular velocity component exceeding the predetermined amplitude, it is determined that the action information is a trigger action.
  • the scanner can acquire the action information of the scanner based on the angular velocity components of each axial direction in the three-dimensional rectangular coordinate system, and then obtain the action information of the scanner according to at least one of the action information.
  • the angular velocity component can be used to reversely determine whether the scanner has performed continuous movement within a predetermined time period, and when it is determined that the scanner has performed continuous movement within a predetermined time period, it can be further determined whether the various angular velocity components of the scanner exceed A predetermined amplitude, and when at least one angular velocity component in each angular velocity component of the scanner exceeds the predetermined amplitude, it can be determined that the action information generated by the movement of the scanner is a trigger action.
  • judging whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one angular velocity component includes: filtering at least one angular velocity component according to a predetermined threshold, and determining that each angular velocity component exceeds a predetermined threshold The threshold starting point and the threshold ending point of the threshold value, where the threshold starting point represents the starting time and the numerical value of the starting time when the angular velocity component exceeds the predetermined threshold, and the threshold ending point represents the ending time and the numerical value of the ending time when the angular velocity component exceeds the predetermined threshold; judging the predetermined time Whether the number of threshold starting points and threshold ending points within the threshold meets the predetermined number, and whether the numerical value of the threshold starting point and the threshold ending point alternate in positive and negative; the number of threshold starting points and threshold ending points meets the predetermined number, and In the case where the numerical value of the threshold starting point and the numerical value of the threshold ending point alternate between positive and negative, it is determined that the scanner continuously moves within a predetermined time period
  • At least one angular velocity component in the process of judging whether the scanner is continuously moving in a predetermined time period, can be filtered according to a predetermined threshold to determine the threshold starting point and the threshold ending point at which each angular velocity component exceeds the predetermined threshold, and then Determine whether the number of threshold starting points and threshold ending points within the predetermined time threshold meets the predetermined number, and whether the numerical value of the threshold starting point and the threshold ending point are continuously alternating positive and negative; and the number of threshold starting points and threshold ending points are consistent In the case of a predetermined number, and the numerical value of the threshold starting point and the numerical value of the threshold ending point continuously alternate positive and negative, it is determined that the scanner continuously moves within a predetermined time period.
  • a certain angular velocity component of the scanner will generate a sine signal similar to a cycle.
  • Using a predetermined threshold to filter the angular velocity component will generate four threshold points. , Including a positive threshold starting point and a positive threshold ending point, as well as a negative threshold starting point and a negative threshold ending point.
  • the trigger action when the trigger action is specified in advance for the scanner to perform two consecutive back and forth rotations, the trigger action may cause the angular velocity component of a certain axis to form a sinusoidal signal similar to two cycles, and then use a predetermined threshold to at least One angular velocity component is filtered, and the angular velocity components of the two-period sinusoidal signal will generate two sets of threshold points, where each set of threshold points includes four threshold points, that is, each set of threshold points includes a positive threshold starting point and A positive threshold end point, and a negative threshold start point and a negative threshold end point.
  • the method further includes: monotonically performing angular velocity components based on adjacent threshold ending points and threshold starting points. Judgment of sex; according to the result of monotonic judgment, determine whether the movement of the scanner is continuous.
  • judging whether the action information belongs to a pointing action includes: judging whether the menu interface has been triggered; in the case that the menu interface has been triggered, determining the direction of the pointing action according to at least one angular velocity component; Direction Select a menu item in the menu interface.
  • the action information after the action information is detected, it can be judged whether the menu interface has been triggered, and in the case that the menu interface has been triggered, it is judged whether the action information is a pointing action according to the angular velocity component of the action information.
  • the information is a pointing action, determine the instruction direction of the pointing action, and then select a menu item in the menu interface according to the instruction direction.
  • determining the indication direction of the pointing action according to the at least one angular velocity component includes: determining the movement amplitude of the at least one movement direction according to the continuously recorded at least one angular velocity component, where the movement direction includes the scanner around the x-axis, The direction of the movement of the y-axis or the z-axis; the movement direction corresponding to the maximum value of the movement amplitude is determined as the indicated direction.
  • the movement amplitude of the scanner in the x-axis, y-axis or z-axis direction can be determined, and the magnitude of the angular velocity components in any two directions can be determined.
  • the magnitude of the motion amplitude determines the direction of the motion information.
  • the menu interface includes: a selection cursor and at least one menu item, and selecting a menu item in the menu interface according to an indication direction includes: controlling a drop relationship between the selection cursor and the at least one menu item according to the indication direction ; According to the confirm instruction, select the menu item that the selection cursor falls into, where the confirm instruction is triggered by the length of time the selection cursor falls into, or is triggered by a specific action.
  • the above embodiments of the present invention can indicate the selection of a menu item based on the instruction direction of the pointing action. After the selection is completed, the confirmation instruction can be triggered to realize the determination of the menu item that the cursor falls into.
  • the determination instruction may be triggered by the length of time that the selection cursor falls. For example, if the duration of the selection cursor falling into a certain menu item exceeds a predetermined time period, it is determined that the user completes the triggering of the determination instruction.
  • the confirmation instruction can be triggered by a specific action. For example, after the cursor is selected and falls into a certain menu item, the scanner is based on the action. If the action of the scanner at this time belongs to a predetermined specific action, the confirmation instruction is completed trigger.
  • the specific action used to trigger the confirmation instruction may be a special action such as drawing a circle, or may be an action in which the relationship between the selection cursor and the menu item cannot be changed according to the direction of the pointing action.
  • the corresponding relationship (or drop-in relationship) between the cursor and the menu item can be changed by moving the selection cursor based on the pointing action; the relationship between the moving cursor and the menu item can also be changed by moving the menu item in the menu interface based on the pointing action. Correspondence between (or fall into the relationship).
  • the menu interface includes multiple menu items
  • the multiple menu item arrangement scheme includes one of the following: the multiple menu items are arranged in order, wherein the order arrangement includes at least a horizontal order arrangement and a vertical order arrangement;
  • the menu items are arranged in a grid in both horizontal and vertical directions;
  • multiple menu items are arranged in a ring layered manner, where the center of the ring is a circular area of at least one menu item, and at least one menu item is ringed outside the circular area Surround;
  • multiple menu items are arranged in a circular single layer, where the shape of each menu item includes a circle, a circle, and a square.
  • the present invention also provides a preferred embodiment, which provides a method for controlling an intraoral three-dimensional scanner completely based on somatosensory actions.
  • the technical solution provided by the present invention utilizes the built-in inertial measurement sensor (IMU) in the body of the scanner, and operates through motion somatosensory to realize some functions such as menu selection and rotating model.
  • IMU inertial measurement sensor
  • the three-dimensional scanner provided by the present invention can be separated from the mouse and the keyboard, and the physical buttons on the body of the three-dimensional scanner can be set, and the control of the three-dimensional scanner can be realized only by the inertial measurement sensor (IMU) in the body of the scanner.
  • IMU inertial measurement sensor
  • Fig. 2 is a schematic diagram of a control flow of a scanner according to an embodiment of the present invention.
  • the whole method implementation scheme mainly includes: built-in IMU data processing and motion detection of the scanner, and related user interface menus in the scanning software (UI menu for short), the control flow is as follows: In the initial state, after detecting a special action on the scanner (hereinafter referred to as a trigger action), the UI menu is displayed in the software, and then the direction and direction of the scanner action are displayed in the software. Continuous detection of amplitude (referred to as pointing action hereinafter) is used to select menu items in the UI menu, and finally, confirm the selected menu item through the confirmation mechanism of the UI menu item. After the menu item is confirmed, the function corresponding to this menu item can be executed.
  • the possible functions include but are not limited to start scan, stop scan, complete scan, reset, previous step, next step, enter IMU view control mode, etc.
  • the IMU view control mode refers to continuously detecting the motion direction and amplitude (pointing motion) of the scanner, and controlling the rotation, translation, or zooming of the 3D model view accordingly.
  • the built-in IMU data processing and motion detection of the scanner means that through continuous detection of the motion of the handheld scanner, the motion is processed and parsed into a trigger action and a pointing action.
  • FIG. 3 is a schematic diagram of a triggering action according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a triggering action according to an embodiment of the present invention.
  • the triggering action means that the scanner is on After a pause, the scanner rotates back and forth 2 times quickly and regularly, mainly including 2 rapid back and forth rotations in the up and down direction after a pause, 2 rapid swings in the left and right directions after a pause, and 2 rotations of the scanner itself after a pause.
  • the pointing action means that the original IMU data of the scanner filters out noise, and the pointing action includes both the direction and amplitude of the action.
  • the detection principle of the trigger action is: starting from a stationary state, make a continuous motion of the scanner with a rapid back and forth rotation and swing. During this continuous action, the angular velocity of the scanner around the corresponding axis of rotation will change rapidly, and the angular velocity value will change. After the change process of increase, decrease, zero crossing, reverse increase, and decrease, these numerical change processes can be obtained by real-time measurement of the IMU integrated in the scanner. Therefore, the real-time measurement data of the IMU can be used to realize the real-time detection of the scanning back and forth rotation and swing motion.
  • the IMU can measure the angular velocity components of the scanner body around the x, y, and z axes, and perform the above-mentioned motion law detection on the three components. As long as one component passes the detection, the motion is considered to be detected, so as to achieve any direction Motion detection.
  • the trigger action requires two consecutive swings, and must pause for more than 0.4 seconds before the action, and the entire action time period is required to be greater than 0.8 seconds to ensure that the IMU obtains enough data samples for Perform the detection processing of the above-mentioned actions.
  • Fig. 5 is a schematic diagram showing the angular velocity component of a trigger action according to an embodiment of the present invention
  • Fig. 6 is a schematic diagram showing the angular velocity component of a trigger action according to an embodiment of the present invention, as shown in Figs. 5 and 6
  • the angular velocity component data of the three axes is obviously less than 0.5 degrees/sec during the pause, and an effective action will form a two-period similar to the angular velocity component curve of a certain axis.
  • Sinusoidal signal, and the signal amplitude is generally greater than 20 degrees/second; therefore, the following processing is performed on the data collected by the IMU:
  • a positive record exceeding the predetermined threshold includes a positive threshold starting point and a positive threshold ending point
  • a negative record exceeding the predetermined threshold includes a negative The threshold starting point and a negative threshold ending point
  • the trigger action can be confirmed as a successful and effective triggering action after passing the above two detection processes at the same time and meeting the time period requirement.
  • the sensitivity of the action detection can be controlled.
  • the detection principle of the pointing action is: continuously obtain the original data collected by the inertial measurement sensor (IMU) (and filter out slight jitter), including the angular velocity in 3 directions and the acceleration in 3 directions, which are selected according to the current application scenario Required data. Take the menu selection process as an example. At this time, only the angular velocities in two directions are needed. By continuously recording and comparing the magnitudes of these two angular velocities, the direction and amplitude of the current scanner rotation can be judged, and then up, down, and left can be selected. , The menu in the four directions on the right. After the menu is selected, the data is still continuously recorded and compared to execute the subsequent menu confirmation mechanism.
  • IMU inertial measurement sensor
  • Fig. 7 is a schematic diagram of a vertical arrangement of menu items in order according to an embodiment of the present invention. As shown in Fig. 7, the menu items are arranged in order vertically; in the process of menu item selection, a menu item is initially selected, and then The menu selection is performed according to the pointing action of the scanner. When the scanner rotates upward, the menu above the current menu item is selected, and when the scanner rotates downward, the menu below the current menu item is selected.
  • the scanner rotates to the right (or left), and the current menu item also moves to the right ( Or move to the left).
  • the menu item moves beyond a predetermined range, it enters the countdown area and starts a countdown of a predetermined time (such as 1 second). Keep this state until the countdown is completed, and the menu item is successfully confirmed. If the menu item moves in the opposite direction with the pointing action of the scanner before the countdown is completed, and moves out of the countdown area, the countdown will stop.
  • the menu items can also be arranged in order horizontally, the left and right pointing actions of the scanner are used to select the menu items, and the up and down pointing actions of the scanner are used to confirm the menu items.
  • Fig. 8 is a schematic diagram of a grid arrangement of menu items in horizontal and vertical directions according to an embodiment of the present invention.
  • the menu items are arranged in a grid in both horizontal and vertical directions; in the process of menu item selection , Initially select a menu item, and then select the menu according to the pointing action of the scanner.
  • the scanner rotates to the left (right), then the menu on the left (right) of the current menu item is selected, and the scanner rotates up (down), Then select the menu above (below) the current menu item.
  • the countdown of a predetermined time for example, 3 seconds
  • this state will be maintained until the countdown is completed. The item was successfully confirmed. If another menu item is selected before the countdown is completed, this menu item will stop the countdown and the newly selected menu item will start the countdown.
  • Fig. 9 is a schematic diagram of a kind of menu items arranged in a ring in multiple layers according to an embodiment of the present invention.
  • the menu items are arranged in a ring and the menu item at the center position is added; in the menu item selection process Select the menu item in the center initially, and then select the menu according to the pointing action of the scanner.
  • the scanner rotates to the left (right)
  • the menu item on the left (right) of the current menu item is selected, and the scanner moves up (down) ) Turn to select the menu above (below) the current menu item.
  • the menu item is confirmed, and the menu item on the right is described: after the menu item on the right is selected, the scanner rotates to the right , The current menu item also moves to the right. When the menu item moves beyond the predetermined range, it enters the countdown area and starts the countdown for a predetermined time (such as 1 second). Keep this state until the countdown is completed, and the menu item is successfully confirmed. If the menu item moves in the opposite direction with the pointing action of the scanner before the countdown is completed, and moves out of the countdown area, the countdown will stop.
  • a predetermined time such as 1 second
  • Fig. 10 is a schematic diagram of a single layer arrangement of menu items in a ring according to an embodiment of the present invention.
  • the menu items are arranged in a ring, where each menu item can be a circle, a ring, a square, etc.
  • Various shapes in the process of menu item selection, you can select a fixed point first, adjust the position of the menu item by pointing to the action, so that the menu item at the fixed point is selected, take the fixed point to the bottom as an example : Always select the bottom menu item, and then rotate the entire ring menu according to the pointing action of the scanner.
  • the scanner rotates to the left, the ring menu rotates clockwise.
  • the ring menu rotates counterclockwise.
  • Each menu item has the opportunity to be located at a fixed point.
  • the fixed point can also be placed at the top, left, right, etc.
  • the scanner rotates in the direction of the center of the circle (or away from the center of the circle), and the current menu item also follows the direction of the center of the circle. It moves toward the center of the circle (or away from the center of the circle).
  • the menu item moves beyond the predetermined range, it enters the countdown area and starts the countdown for a predetermined time (such as 1 second). Keep this state and after the countdown is completed, the menu item is successfully confirmed. If the menu item moves in the opposite direction with the pointing action of the scanner before the countdown is completed, and moves out of the countdown area, the countdown will stop.
  • the three-dimensional scanner provided by the present invention can completely scan control based on somatosensory actions without the need to design the fuselage buttons, so there is no need to set physical buttons or other supporting hardware for the scanner, and reduce the design cost of the scanner; and By setting the arrangement mode, selection mode, and confirmation mechanism of the menu items in the menu interface, it is more convenient for the user to control the scanner.
  • a storage medium including a stored program, wherein the scanner control method described in any one of the above is executed when the program is running.
  • a processor configured to run a program, wherein the scanner control method described in any one of the above is executed when the program is running.
  • an embodiment of a scanner control device is also provided.
  • the control device of the scanner can be used to execute the scanner control method in the embodiment of the present invention.
  • the control method of the scanner in can be executed in the control device of the scanner.
  • Fig. 11 is a schematic diagram of a scanner control device according to an embodiment of the present invention.
  • the device may include: a first detection unit 1102 configured to detect the action information of the scanner; To determine whether the action information is a trigger action, the trigger action is used to trigger the display of the menu interface of the scanner; the second detection unit 1106 is set to continue to detect the action information after displaying the menu interface based on the trigger action, and determine whether the action information is It belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; the control unit 1108 is set to control the scanner based on the trigger action and the pointing action.
  • the first detection unit 1102 in this embodiment can be configured to perform step S102 in the embodiment of the present application
  • the judgment unit 1104 in this embodiment can be configured to perform step S104 in the embodiment of the present application
  • the second detection unit 1106 in the embodiment may be configured to perform step S106 in the embodiment of the present application
  • the control unit 1108 in this embodiment may be configured to perform step S108 in the embodiment of the present application.
  • the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect the action information , And determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and pointing action, to control the scanner, you can start the menu interface by triggering the action, and in the menu interface by triggering the action Selecting the menu item achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and solving the technical problem that the scanner cannot be controlled by the physical button .
  • the first detection unit and the second detection unit include: a detection module configured to detect at least one angular velocity component of the scanner in the spatial coordinate system, wherein each angular velocity component is used to represent the scanner Move around the x-axis, y-axis, or z-axis.
  • the judging unit includes: a first judging module configured to judge whether there is at least one angular velocity component whose continuous variation amplitude exceeds a predetermined threshold within a predetermined time period; the first determining module is configured to When the continuous change amplitude of at least one angular velocity component in the period exceeds the predetermined threshold, it is determined that the action information is a trigger action; the second determining module is set to not exist within the predetermined time period, and the continuous change amplitude of at least one angular velocity component exceeds the predetermined threshold. In the case, it is determined that the action information does not belong to the trigger action.
  • the first judgment module includes: a recording module configured to record the threshold starting point and the threshold ending point of each angular velocity component within a predetermined time period, wherein the threshold starting point indicates that the angular velocity component exceeds the predetermined threshold
  • the threshold end point represents the end time and end time value of the angular velocity component exceeding the predetermined threshold
  • the first judgment sub-module is set to judge whether the number of threshold start point and threshold end point meets the predetermined number, And whether the numerical value of the threshold starting point and the threshold ending point are continuously alternating between positive and negative
  • the second judgment sub-module is set to set the threshold starting point and the threshold ending point to meet the predetermined number, and the threshold starting point’s numerical value and the threshold ending point
  • the third determination module is set to be set when the action indicated by the action information is continuous , It is determined that the angular velocity component continuously changes more than
  • the judging unit includes: a first judging module configured to judge whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one angular velocity component; and a second judging module configured to When it is determined that the scanner is continuously moving within a predetermined time period, it is determined based on the action information whether at least one angular velocity component of the scanner exceeds the predetermined amplitude; the fourth determining module is configured to determine that the scanner has at least one angular velocity component that exceeds the predetermined amplitude In the case of the value, it is determined that the action information belongs to the trigger action.
  • the first judgment module includes: a filtering module configured to filter at least one angular velocity component according to a predetermined threshold, and determine a threshold starting point and a threshold ending point at which each angular velocity component exceeds the predetermined threshold, wherein the threshold The starting point represents the starting time and the numerical value of the starting time when the angular velocity component exceeds the predetermined threshold, and the threshold ending point represents the ending time and the numerical value of the ending time when the angular velocity component exceeds the predetermined threshold; the third judgment module is set to judge the threshold within the predetermined time threshold.
  • the fifth determining module is set to meet the predetermined number at the threshold start point and threshold end point , And when the numerical value of the threshold starting point and the numerical value of the threshold ending point continuously alternate positive and negative, it is determined that the scanner continuously moves within a predetermined time period.
  • the device further includes: a fourth judgment module configured to determine the threshold starting point and the threshold ending point at which each angular velocity component exceeds a predetermined threshold, based on the adjacent threshold ending points and threshold starting points.
  • the angular velocity component between the starting points is subjected to monotonicity judgment; the sixth determining module is set to determine whether the motion of the scanner is continuous according to the monotonicity judgment result.
  • the second detection unit includes: a fifth determining module, configured to determine whether the menu interface has been triggered; a seventh determining module, configured to determine whether the menu interface has been triggered according to at least one The angular velocity component determines the pointing direction of the action; the selection module is set to select menu items in the menu interface according to the pointing direction.
  • the seventh determining module includes: an eighth determining module configured to determine the motion amplitude of at least one motion direction according to the continuously recorded at least one angular velocity component, where the motion direction includes the scanner around the x-axis, The direction of movement of the y-axis or the z-axis; the ninth determining module is set to determine the direction of movement corresponding to the maximum value of the movement amplitude as the indicated direction.
  • the menu interface includes: a selection cursor and at least one menu item
  • the selection module includes: a control module configured to control the falling relationship between the selection cursor and the at least one menu item according to an indication direction; and the selection module , Is set to select the menu item where the selection cursor falls according to the confirm instruction, where the confirm instruction is triggered by the length of time the selection cursor falls, or is triggered by a specific action.
  • the menu interface includes multiple menu items
  • the multiple menu item arrangement scheme includes one of the following: the multiple menu items are arranged in order, wherein the order arrangement includes at least a horizontal order arrangement and a vertical order arrangement;
  • the menu items are arranged in a grid in both horizontal and vertical directions;
  • multiple menu items are arranged in a ring layered manner, where the center of the ring is a circular area of at least one menu item, and at least one menu item is ringed outside the circular area Surround;
  • multiple menu items are arranged in a circular single layer, where the shape of each menu item includes a circle, a circle, and a square.
  • Fig. 12 is a schematic diagram of a scanner according to an embodiment of the present invention.
  • the device may include: an inertial measurement sensor 1202 configured to collect action information; and a processing device 1204, which communicates with the inertial measurement sensor, Set to receive the action information; determine whether the action information belongs to a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information, and determine whether the action information belongs to a pointing action; based on The trigger action displays a menu interface of the scanner, and based on the pointing action, a menu item in the menu interface is selected to control the scanner.
  • the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect the action information , And determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and pointing action, to control the scanner, you can start the menu interface by triggering the action, and in the menu interface by triggering the action Selecting the menu item achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and then solving the technology that the scanner cannot be separated from the physical button control. problem.
  • Fig. 13 is a schematic diagram of a scanner control system according to an embodiment of the present invention.
  • the device may include: a scanner 1302, configured to collect action information; and a computer 1304, communicating with the scanner, Set to receive the action information; determine whether the action information belongs to a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information, and determine whether the action information belongs to a pointing action; based on The trigger action displays a menu interface of the scanner, and based on the pointing action, a menu item in the menu interface is selected to control the scanner.
  • the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect the action information , And determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and pointing action, to control the scanner, you can start the menu interface by triggering the action, and in the menu interface by triggering the action Selecting the menu item achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and then solving the technology that the scanner cannot be separated from the physical button control. problem.
  • the disclosed technical content can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units may be a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, units or modules, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
  • a computer device which can be a personal computer, a server, or a network device, etc.
  • the aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Radiology & Medical Imaging (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Optics & Photonics (AREA)
  • Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • High Energy & Nuclear Physics (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A scanner and an operation method, apparatus and system therefor, and a storage medium and a processor. The method comprises: detecting action information of a scanner (S102); determining whether the action information relates to a trigger action, wherein the trigger action is used for triggering the display of a menu interface of the scanner (S104); after the menu interface is displayed on the basis of the trigger action, continuing to detect action information, and determining whether the action information relates to a pointing action, wherein the pointing action is used for selecting a menu item in the menu interface (S106); and controlling the scanner on the basis of the trigger action and the pointing action (S108). The technical problem of a scanner not being able to not depend on the control of a physical key is solved.

Description

扫描仪、及其操作方法、装置、系统、存储介质和处理器Scanner, its operation method, device, system, storage medium and processor
交叉援引Cross reference
本发明基于申请号为201911108260.X、申请日为2019-11-13的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。The present invention is filed based on a Chinese patent application with an application number of 201911108260.X and an application date of 2019-11-13, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference into this disclosure.
技术领域Technical field
本发明涉及三维扫描领域,具体而言,涉及一种扫描仪、及其操作方法、装置、系统、存储介质和处理器。The present invention relates to the field of three-dimensional scanning, in particular, to a scanner, and an operation method, device, system, storage medium and processor thereof.
背景技术Background technique
口腔诊所技师或医生在利用口内三维扫描仪对病人口腔进行扫描过程,需要经常操控扫描仪软件,由于技师或医生手里戴着手套握有扫描仪,且和病人口腔会有接触,出于卫生要求,通过鼠标、键盘的操作方式非常不方便。Dental clinic technicians or doctors use the intraoral three-dimensional scanner to scan the patient’s mouth. They need to frequently control the scanner software. Because the technician or doctor wears gloves and holds the scanner in his hand, and there will be contact with the patient’s mouth, it is out of hygiene. Requirement, it is very inconvenient to operate via mouse and keyboard.
为了使三维扫描仪可以更好的适应口内扫描的应用场景,现有的一些三维扫描仪,通过配备脚踏板、机身按键来增加控制方式,然而单独的按钮能实现的控制功能有限,仅限于开始/停止扫描的控制功能,无法完成对三维扫描仪的一些复杂控制。In order to make the 3D scanner better adapt to the application scenarios of intraoral scanning, some existing 3D scanners are equipped with foot pedals and fuselage buttons to increase the control method. However, the control functions that can be achieved by a single button are limited. Limited to the control function of start/stop scanning, some complicated control of the 3D scanner cannot be completed.
针对上述扫描仪无法脱离实体按键控制的问题,目前尚未提出有效的解决方案。In view of the above-mentioned problem that the scanner cannot be controlled by the physical buttons, no effective solution has yet been proposed.
发明内容Summary of the invention
本发明至少部分实施例提供了一种扫描仪、及其操作方法、装置、系统、存储介质和处理器,以至少解决扫描仪无法脱离实体按键控制的技术问题。At least some embodiments of the present invention provide a scanner, and an operation method, device, system, storage medium, and processor thereof, so as to at least solve the technical problem that the scanner cannot be controlled by physical buttons.
在本发明其中一实施例中,提供了一种扫描仪的控制方法,包括:检测扫描仪的动作信息;判断所述动作信息是否属于触发动作,其中,所述触发动作用于触发展示所述扫描仪的菜单界面;在基于所述触发动作展示所述菜单界面后,继续检测所述动作信息,并判断所述动作信息是否属于指向动作,其中,所述指向动作用于选择所述菜单界面中的菜单项;基于所述触发动作和所述指向动作,控制所述扫描仪。In one of the embodiments of the present invention, a method for controlling a scanner is provided, including: detecting the action information of the scanner; determining whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the The menu interface of the scanner; after displaying the menu interface based on the trigger action, continue to detect the action information and determine whether the action information belongs to a pointing action, wherein the pointing action is used to select the menu interface The menu item in; based on the trigger action and the pointing action, control the scanner.
在一个可选实施例中,检测扫描仪的动作信息包括:检测所述扫描仪在空间坐标 系下的至少一个角速度分量,其中,每个所述角速度分量用于表示所述扫描仪绕x轴、y轴或z轴运动。In an optional embodiment, detecting the motion information of the scanner includes: detecting at least one angular velocity component of the scanner in a spatial coordinate system, wherein each angular velocity component is used to indicate that the scanner moves around the x-axis , Y-axis or z-axis movement.
在一个可选实施例中,判断所述动作信息是否属于触发动作包括:基于至少一个所述角速度分量判断所述动作信息所指示的所述扫描仪是否在预定时间周期内连续运动;在确定所述扫描仪在预定时间周期内连续运动的情况下,基于所述动作信息判断所述扫描仪是否存在至少一个所述角速度分量超过预定幅值;在确定所述扫描仪存在至少一个所述角速度分量超过所述预定幅值的情况下,确定所述动作信息属于所述触发动作。In an optional embodiment, determining whether the action information belongs to a trigger action includes: determining whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one angular velocity component; In the case that the scanner moves continuously within a predetermined time period, it is determined based on the action information whether there is at least one of the angular velocity components exceeding a predetermined amplitude; when it is determined that the scanner has at least one angular velocity component In the case of exceeding the predetermined amplitude, it is determined that the action information belongs to the trigger action.
在一个可选实施例中,基于至少一个所述角速度分量判断所述动作信息所指示的所述扫描仪是否在预定时间周期内连续运动包括:按照预定阈值对所述至少一个所述角速度分量滤波,确定每个所述角速度分量超过所述预定阈值的阈值起始点和阈值终止点,其中,所述阈值起始点表示所述角速度分量超过所述预定阈值的开始时刻和所述开始时刻的数值,所述阈值终止点表示所述角速度分量超过所述预定阈值的终止时刻和所述终止时刻的数值;判断所述预定时间阈值内的所述阈值起始点和所述阈值终止点的数量是否符合预定数量,且所述阈值起始点的数值与所述阈值终止点的数值是否连续正负交替;在所述阈值起始点和所述阈值终止点的数量符合预定数量,且所述阈值起始点的数值与所述阈值终止点的数值连续正负交替的情况下,确定所述扫描仪在预定时间周期内连续运动。In an optional embodiment, judging whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one of the angular velocity components includes: filtering the at least one angular velocity component according to a predetermined threshold , Determining a threshold starting point and a threshold ending point at which each angular velocity component exceeds the predetermined threshold, wherein the threshold starting point represents the starting time at which the angular velocity component exceeds the predetermined threshold and the numerical value of the starting time, The threshold end point represents the end time at which the angular velocity component exceeds the predetermined threshold and the numerical value of the end time; it is determined whether the number of the threshold start point and the threshold end point within the predetermined time threshold meets the predetermined And whether the numerical value of the threshold starting point and the numerical value of the threshold ending point continuously alternate between positive and negative; the number of the threshold starting point and the threshold ending point meets a predetermined number, and the numerical value of the threshold starting point In the case where the numerical value of the threshold end point continuously alternates between positive and negative, it is determined that the scanner continuously moves within a predetermined time period.
在一个可选实施例中,在确定每个所述角速度分量超过所述预定阈值的阈值起始点和阈值终止点之后,所述方法还包括:基于相邻的所述阈值终止点与所述阈值起始点之间的所述角速度分量进行单调性判断;根据所述单调性判断结果,确定所述扫描仪的运动是否连续。In an optional embodiment, after determining a threshold starting point and a threshold ending point at which each angular velocity component exceeds the predetermined threshold, the method further includes: based on the adjacent threshold ending point and the threshold The angular velocity component between the starting points is subjected to monotonicity judgment; according to the monotonicity judgment result, it is determined whether the motion of the scanner is continuous.
在一个可选实施例中,判断所述动作信息是否属于指向动作包括:判断所述菜单界面是否已被触发;在所述菜单界面已被触发的情况下,根据至少一个所述角速度分量确定所述指向动作的指示方向;根据所述指示方向在所述菜单界面中选择所述菜单项。In an optional embodiment, judging whether the action information belongs to a pointing action includes: judging whether the menu interface has been triggered; in the case that the menu interface has been triggered, determining whether the action information is based on at least one of the angular velocity components. The instruction direction of the pointing action; the menu item is selected in the menu interface according to the instruction direction.
在一个可选实施例中,根据至少一个所述角速度分量确定所述指向动作的指示方向包括:根据持续记录的至少一个所述角速度分量确定至少一个运动方向的运动幅度,其中,所述运动方向包括所述扫描仪绕x轴、y轴或z轴运动的方向;确定所述运动幅度的最大值对应的所述运动方向为指示方向。In an optional embodiment, determining the indication direction of the pointing action according to at least one of the angular velocity components includes: determining a movement amplitude of at least one movement direction according to at least one of the angular velocity components continuously recorded, wherein the movement direction It includes the direction in which the scanner moves around the x-axis, the y-axis, or the z-axis; it is determined that the movement direction corresponding to the maximum value of the movement amplitude is an indication direction.
在一个可选实施例中,所述菜单界面包括:选择光标和至少一个所述菜单项,根据所述指示方向在所述菜单界面中选择所述菜单项包括:根据所述指示方向控制所述 选择光标与至少一个所述菜单项之间的落入关系;根据确定指令选中所述选择光标所落入的所述菜单项,其中,所述确定指令由所述选择光标落入的时间长度触发,或由特定动作触发。In an optional embodiment, the menu interface includes: a selection cursor and at least one of the menu items, and selecting the menu item in the menu interface according to the indication direction includes: controlling the The drop-in relationship between the selection cursor and at least one of the menu items; select the menu item in which the selection cursor falls according to a determination instruction, wherein the determination instruction is triggered by the length of time the selection cursor falls , Or triggered by a specific action.
在一个可选实施例中,所述菜单界面包括多个所述菜单项,多个所述菜单项排列方案包括以下之一:多个所述菜单项顺序排列,其中,所述顺序排列至少包括横向顺序排列和纵向顺序排列;多个所述菜单项在横竖两个方向按网格状排列;多个所述菜单项按照环形分层排布,其中,所述环形的中心为至少一个所述菜单项的圆形区域,所述圆形区域外由至少一个所述菜单项环形围绕;多个所述菜单项按照环形单层排布,其中,每个所述菜单项的形状包括圆形、环形和方形。In an optional embodiment, the menu interface includes a plurality of the menu items, and the plurality of menu item arrangement schemes include one of the following: a plurality of the menu items are arranged in an order, wherein the order arrangement at least includes Arranged in horizontal order and in vertical order; a plurality of the menu items are arranged in a grid in both horizontal and vertical directions; a plurality of the menu items are arranged in layers in a ring, wherein the center of the ring is at least one A circular area of a menu item, where the outside of the circular area is surrounded by at least one of the menu items in a circle; a plurality of the menu items are arranged in a circular single layer, wherein the shape of each menu item includes a circle, Ring and square.
在本发明其中一实施例中,还提供了一种扫描仪的控制装置,包括:第一检测单元,设置为检测扫描仪的动作信息;判断单元,设置为判断所述动作信息是否属于触发动作,其中,所述触发动作用于触发展示所述扫描仪的菜单界面;第二检测单元,设置为在基于所述触发动作展示所述菜单界面后,继续检测所述动作信息,并判断所述动作信息是否属于指向动作,其中,所述指向动作用于选择所述菜单界面中的菜单项;控制单元,设置为基于所述触发动作和所述指向动作,控制所述扫描仪。In one of the embodiments of the present invention, there is also provided a scanner control device, including: a first detection unit configured to detect motion information of the scanner; and a judging unit configured to determine whether the motion information belongs to a trigger action , Wherein the trigger action is used to trigger the display of the menu interface of the scanner; the second detection unit is configured to continue to detect the action information after displaying the menu interface based on the trigger action, and determine the Whether the action information belongs to a pointing action, wherein the pointing action is used to select a menu item in the menu interface; the control unit is configured to control the scanner based on the trigger action and the pointing action.
在本发明其中一实施例中,还提供了一种扫描仪,包括:惯性测量传感器,设置为采集动作信息;处理设备,与所述惯性测量传感器通信,设置为接收所述动作信息;判断所述动作信息是否属于触发动作;在基于所述触发动作展示菜单界面后,继续接收所述动作信息,并判断所述动作信息是否属于指向动作;基于所述触发动作展示所述扫描仪的菜单界面,基于所述指向动作选择所述菜单界面中的菜单项,控制所述扫描仪。In one of the embodiments of the present invention, a scanner is also provided, including: an inertial measurement sensor configured to collect motion information; a processing device, which communicates with the inertial measurement sensor, configured to receive the motion information; Whether the action information belongs to a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information and determine whether the action information belongs to a pointing action; display the menu interface of the scanner based on the trigger action , Selecting a menu item in the menu interface based on the pointing action, and controlling the scanner.
在本发明其中一实施例中,还提供了一种扫描仪的控制系统,包括:扫描仪,设置为采集动作信息;计算机,与所述扫描仪通信,设置为接收所述动作信息;判断所述动作信息是否属于触发动作;在基于所述触发动作展示菜单界面后,继续接收所述动作信息,并判断所述动作信息是否属于指向动作;基于所述触发动作展示所述扫描仪的菜单界面,基于所述指向动作选择所述菜单界面中的菜单项,控制所述扫描仪。In one of the embodiments of the present invention, a scanner control system is also provided, which includes: a scanner, which is set to collect action information; a computer, which communicates with the scanner and is set to receive the action information; Whether the action information belongs to a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information and determine whether the action information belongs to a pointing action; display the menu interface of the scanner based on the trigger action , Selecting a menu item in the menu interface based on the pointing action, and controlling the scanner.
在本发明其中一实施例中,还提供了一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行上述所述的扫描仪的控制方法。In one of the embodiments of the present invention, a storage medium is further provided, the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is controlled to execute the aforementioned scanner control method.
在本发明其中一实施例中,还提供了一种处理器,所述处理器设置为运行程序,其中,所述程序运行时执行上述所述的扫描仪的控制方法。In one of the embodiments of the present invention, a processor is further provided, the processor is configured to run a program, and the above-mentioned scanner control method is executed when the program is running.
在本发明至少部分实施例中,通过检测扫描仪的动作信息;判断动作信息是否属于触发动作,其中,触发动作用于触发展示扫描仪的菜单界面;在基于触发动作展示菜单界面后,继续检测动作信息,并判断动作信息是否属于指向动作,其中,指向动作用于选择菜单界面中的菜单项;基于触发动作和指向动作,控制扫描仪,可以通过触发动作启动菜单界面,通过指向动作在菜单界面中选择菜单项,达到了完全依靠用户的动作信息控制扫描仪的目的,从而实现了在脱离实体按键的情况下对扫描仪进行控制的技术效果,进而解决了扫描仪无法脱离实体按键控制的技术问题。In at least some embodiments of the present invention, the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect Action information, and determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and the pointing action, to control the scanner, the menu interface can be started by the trigger action, and the pointing action is in the menu Selecting the menu item in the interface achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and solving the problem that the scanner cannot be controlled by the physical button. technical problem.
附图说明Description of the drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:
图1是根据本发明实施例的一种扫描仪的控制方法的示意图;FIG. 1 is a schematic diagram of a control method of a scanner according to an embodiment of the present invention;
图2是根据本发明实施例的一种扫描仪的控制流程的示意图;Fig. 2 is a schematic diagram of a control process of a scanner according to an embodiment of the present invention;
图3是根据本发明实施例的一种触发动作的示意图一;Fig. 3 is a first schematic diagram of a triggering action according to an embodiment of the present invention;
图4是根据本发明实施例的一种触发动作的示意图二;Fig. 4 is a second schematic diagram of a triggering action according to an embodiment of the present invention;
图5是根据本发明实施例的一种表示触发动作的角速度分量的示意图一;Fig. 5 is a first schematic diagram showing an angular velocity component of a trigger action according to an embodiment of the present invention;
图6是根据本发明实施例的一种表示触发动作的角速度分量的示意图二,Fig. 6 is a second schematic diagram showing the angular velocity component of a trigger action according to an embodiment of the present invention,
图7是根据本发明实施例的一种菜单项竖向按顺序排列的示意图;FIG. 7 is a schematic diagram of a vertical sequential arrangement of menu items according to an embodiment of the present invention;
图8是根据本发明实施例的一种菜单项横竖两个方向按网格状排列的示意图;FIG. 8 is a schematic diagram of a type of menu items arranged in a grid in horizontal and vertical directions according to an embodiment of the present invention;
图9是根据本发明实施例的一种菜单项以环形多层排布的示意图;FIG. 9 is a schematic diagram of a kind of menu items arranged in multiple layers in a ring according to an embodiment of the present invention;
图10是根据本发明实施例的一种菜单项以环形单层排布的示意图;Fig. 10 is a schematic diagram of a single layer arrangement of menu items in a ring according to an embodiment of the present invention;
图11是根据本发明实施例的一种扫描仪的控制装置的示意图;Figure 11 is a schematic diagram of a scanner control device according to an embodiment of the present invention;
图12是根据本发明实施例的一种扫描仪的示意图;Figure 12 is a schematic diagram of a scanner according to an embodiment of the present invention;
图13是根据本发明实施例的一种扫描仪的控制系统的示意图。Fig. 13 is a schematic diagram of a control system of a scanner according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例 仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms “first” and “second” in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations of them are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those clearly listed. Those steps or units may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment.
根据本发明实施例,提供了一种扫描仪的控制方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, an embodiment of a method for controlling a scanner is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
图1是根据本发明实施例的一种扫描仪的控制方法的示意图,如图1所示,该方法包括如下步骤:Fig. 1 is a schematic diagram of a method for controlling a scanner according to an embodiment of the present invention. As shown in Fig. 1, the method includes the following steps:
步骤S102,检测扫描仪的动作信息;Step S102, detecting the action information of the scanner;
步骤S104,判断动作信息是否属于触发动作,其中,触发动作用于触发展示扫描仪的菜单界面;Step S104, judging whether the action information belongs to a trigger action, where the trigger action is used to trigger a menu interface of the display scanner;
步骤S106,在基于触发动作展示菜单界面后,继续检测动作信息,并判断动作信息是否属于指向动作,其中,指向动作用于选择菜单界面中的菜单项;Step S106: After displaying the menu interface based on the triggered action, continue to detect the action information, and determine whether the action information belongs to a pointing action, where the pointing action is used to select a menu item in the menu interface;
步骤S108,基于触发动作和指向动作,控制扫描仪。In step S108, the scanner is controlled based on the trigger action and the pointing action.
在本发明实施例中,通过检测扫描仪的动作信息;判断动作信息是否属于触发动作,其中,触发动作用于触发展示扫描仪的菜单界面;在基于触发动作展示菜单界面后,继续检测动作信息,并判断动作信息是否属于指向动作,其中,指向动作用于选择菜单界面中的菜单项;基于触发动作和指向动作,控制扫描仪,可以通过触发动作启动菜单界面,通过指向动作在菜单界面中选择菜单项,达到了完全依靠用户的动作信息控制扫描仪的目的,从而实现了在脱离实体按键的情况下对扫描仪进行控制的技术效果,进而解决了扫描仪无法脱离实体按键控制的技术问题。In the embodiment of the present invention, the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect the action information , And determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and the pointing action, to control the scanner, the menu interface can be started by the trigger action, and the pointing action is in the menu interface Selecting the menu item achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and solving the technical problem that the scanner cannot be controlled by the physical button .
需要说明的是,扫描仪可以是三维扫描仪,设置为扫描物体的三维数据;该扫描 仪可以是手持式扫描仪,具有体积小,便于用户持握移动的特点。在本实施例中,扫描仪为手持式口内扫描仪,设置为扫描患者口内牙齿的三维数据,方便医生对患者进行口内扫描时,通过简单的摆动即可进行所需的操作,完全不需要改变握持姿态。It should be noted that the scanner may be a three-dimensional scanner, which is set to scan three-dimensional data of the object; the scanner may be a hand-held scanner, which has the characteristics of being small in size and convenient for the user to hold and move. In this embodiment, the scanner is a hand-held intraoral scanner, which is set to scan the three-dimensional data of the teeth in the patient’s mouth, so that when the doctor performs intraoral scanning of the patient, the required operations can be performed by simply swinging, and no changes are required at all. Holding posture.
可选地,上述步骤S104和步骤S106可以同步进行,具体方式如下:Optionally, the foregoing step S104 and step S106 can be performed simultaneously, and the specific manner is as follows:
在步骤S102,检测扫描仪的动作信息之后,判断该动作信息是否属于触发动作或指向动作,其中,若动作信息符合触发动作所设定的触发条件,则确定所述动作信息属于触发动作;若当前时刻菜单项已开启,则判断当前时刻的动作信息是否符合指向动作的指向条件,并确定符合指向条件的动作信息为指向动作。In step S102, after detecting the action information of the scanner, it is determined whether the action information belongs to a trigger action or a pointing action, wherein if the action information meets the trigger condition set by the trigger action, it is determined that the action information belongs to the trigger action; if The menu item at the current moment is turned on, it is determined whether the action information at the current moment meets the pointing condition of the pointing action, and the action information that meets the pointing condition is determined as the pointing action.
可选地,触发条件,用于判断动作信息是否表示扫描仪的停顿后快速规律来回旋转摆动2次。Optionally, the trigger condition is used to determine whether the action information indicates that the scanner rotates back and forth 2 times quickly and regularly after a pause.
可选地,指向条件,用于依据菜单界面是否触发来判断动作信息是否属于指向动作。Optionally, the pointing condition is used to determine whether the action information belongs to a pointing action according to whether the menu interface is triggered.
可选地,在确定动作信息属于指向信息的情况下,确定动作信息所指示的动作方向和幅度。Optionally, in a case where it is determined that the action information belongs to pointing information, the direction and amplitude of the action indicated by the action information are determined.
作为一种可选的实施例,检测扫描仪的动作信息包括:检测扫描仪在空间坐标系下的至少一个角速度分量,其中,每个角速度分量用于表示扫描仪绕x轴、y轴或z轴运动。As an optional embodiment, detecting the action information of the scanner includes: detecting at least one angular velocity component of the scanner in a spatial coordinate system, where each angular velocity component is used to indicate that the scanner is around the x-axis, y-axis, or z-axis. Axis movement.
本发明上述实施例,可以将扫描仪为中心,建立三维空间直角坐标系,用户操作扫描仪在空间中运动,则可以基于三维空间坐标系中x轴、y轴和z轴的角速度分量来表示用户操作扫描仪的运动信息。In the above-mentioned embodiment of the present invention, the scanner can be used as the center to establish a three-dimensional space rectangular coordinate system, and the user can operate the scanner to move in space, which can be expressed based on the angular velocity components of the x-axis, y-axis and z-axis in the three-dimensional space coordinate system Movement information of the user operating the scanner.
例如,可以将扫描仪的重心作为三维空间直角坐标系的原点,基于扫描仪的持握姿势,依据水平方向确定x轴,依据竖直方向确定y轴,依据右手定则确定z轴。For example, the center of gravity of the scanner can be used as the origin of the three-dimensional rectangular coordinate system, the x-axis is determined according to the horizontal direction, the y-axis is determined according to the vertical direction, and the z-axis is determined according to the right-hand rule based on the holding posture of the scanner.
又例如,将扫描仪的重心作为三维空间直角坐标系的原点,以扫描仪的轴向方向作为三维空间直角坐标系中的一个轴,进而建立三维空间直角坐标系。For another example, the center of gravity of the scanner is used as the origin of the three-dimensional rectangular coordinate system, and the axial direction of the scanner is used as an axis in the three-dimensional rectangular coordinate system to establish a three-dimensional rectangular coordinate system.
作为一种可选的实施例,判断动作信息是否属于触发动作包括:基于至少一个角速度分量判断动作信息所指示的扫描仪是否在预定时间周期内连续运动;在确定扫描仪在预定时间周期内连续运动的情况下,基于动作信息判断扫描仪是否存在至少一个角速度分量超过预定幅值;在确定扫描仪存在至少一个角速度分量超过预定幅值的情况下,确定动作信息属于触发动作。As an optional embodiment, judging whether the action information belongs to a trigger action includes: judging whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one angular velocity component; and determining whether the scanner continues within a predetermined time period In the case of motion, it is determined whether the scanner has at least one angular velocity component exceeding the predetermined amplitude based on the action information; when it is determined that the scanner has at least one angular velocity component exceeding the predetermined amplitude, it is determined that the action information is a trigger action.
本发明上述实施例,在用户持握扫描仪进行动作后,可以采集扫描仪基于三维空 间直角坐标系中各轴向方向的角速度分量得到扫描仪的动作信息,进而根据该动作信息中的至少一个角速度分量可以反向确定该扫描仪是否在预定时间周期内进行了连续运动,并在确定该扫描仪在预定时间周期内进行了连续运动的情况下,可以进一步判断该扫描仪各角速度分量是否超过预定幅值,并在该扫描仪的各角速度分量中存在至少一个角速度分量超过预定幅值的情况下,可以确定扫描仪运动而产生的动作信息属于触发动作。In the above-mentioned embodiment of the present invention, after the user holds the scanner and performs an action, the scanner can acquire the action information of the scanner based on the angular velocity components of each axial direction in the three-dimensional rectangular coordinate system, and then obtain the action information of the scanner according to at least one of the action information. The angular velocity component can be used to reversely determine whether the scanner has performed continuous movement within a predetermined time period, and when it is determined that the scanner has performed continuous movement within a predetermined time period, it can be further determined whether the various angular velocity components of the scanner exceed A predetermined amplitude, and when at least one angular velocity component in each angular velocity component of the scanner exceeds the predetermined amplitude, it can be determined that the action information generated by the movement of the scanner is a trigger action.
作为一种可选的实施例,基于至少一个角速度分量判断动作信息所指示的扫描仪是否在预定时间周期内连续运动包括:按照预定阈值对至少一个角速度分量滤波,确定每个角速度分量超过预定阈值的阈值起始点和阈值终止点,其中,阈值起始点表示角速度分量超过预定阈值的开始时刻和开始时刻的数值,阈值终止点表示角速度分量超过预定阈值的终止时刻和终止时刻的数值;判断预定时间阈值内的阈值起始点和阈值终止点的数量是否符合预定数量,且阈值起始点的数值与阈值终止点的数值是否连续正负交替;在阈值起始点和阈值终止点的数量符合预定数量,且阈值起始点的数值与阈值终止点的数值连续正负交替的情况下,确定扫描仪在预定时间周期内连续运动。As an optional embodiment, judging whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one angular velocity component includes: filtering at least one angular velocity component according to a predetermined threshold, and determining that each angular velocity component exceeds a predetermined threshold The threshold starting point and the threshold ending point of the threshold value, where the threshold starting point represents the starting time and the numerical value of the starting time when the angular velocity component exceeds the predetermined threshold, and the threshold ending point represents the ending time and the numerical value of the ending time when the angular velocity component exceeds the predetermined threshold; judging the predetermined time Whether the number of threshold starting points and threshold ending points within the threshold meets the predetermined number, and whether the numerical value of the threshold starting point and the threshold ending point alternate in positive and negative; the number of threshold starting points and threshold ending points meets the predetermined number, and In the case where the numerical value of the threshold starting point and the numerical value of the threshold ending point alternate between positive and negative, it is determined that the scanner continuously moves within a predetermined time period.
本发明上述实施例,在判断扫描仪是否在预定时间周期连续运动的过程中,可以按照预定阈值对至少一个角速度分量滤波,确定每个角速度分量超过预定阈值的阈值起始点和阈值终止点,然后判断预定时间阈值内的阈值起始点和阈值终止点的数量是否符合预定数量,且阈值起始点的数值与阈值终止点的数值是否连续正负交替;并在阈值起始点和阈值终止点的数量符合预定数量,且阈值起始点的数值与阈值终止点的数值连续正负交替的情况下,确定扫描仪在预定时间周期内连续运动。In the above embodiment of the present invention, in the process of judging whether the scanner is continuously moving in a predetermined time period, at least one angular velocity component can be filtered according to a predetermined threshold to determine the threshold starting point and the threshold ending point at which each angular velocity component exceeds the predetermined threshold, and then Determine whether the number of threshold starting points and threshold ending points within the predetermined time threshold meets the predetermined number, and whether the numerical value of the threshold starting point and the threshold ending point are continuously alternating positive and negative; and the number of threshold starting points and threshold ending points are consistent In the case of a predetermined number, and the numerical value of the threshold starting point and the numerical value of the threshold ending point continuously alternate positive and negative, it is determined that the scanner continuously moves within a predetermined time period.
需要说明的是,扫描仪每做一次来回旋转摆动,则该扫描仪的某个角速度分量将会产生类似一个周期的正弦信号,使用预定阈值对该角速度分量进行滤波,将会产生四个阈值点,包括一个正的阈值起始点和一个正的阈值终止点,以及一个负的阈值起始点和一个负的阈值终止点。It should be noted that every time the scanner rotates and swings back and forth, a certain angular velocity component of the scanner will generate a sine signal similar to a cycle. Using a predetermined threshold to filter the angular velocity component will generate four threshold points. , Including a positive threshold starting point and a positive threshold ending point, as well as a negative threshold starting point and a negative threshold ending point.
可选地,在预先规定触发动作为扫描仪连续进行2次来回旋转摆动的情况下,该触发动作可能会使某个轴的角速度分量形成类似两个周期的正弦信号,进而使用预定阈值对至少一个角速度分量进行滤波,则类似两个周期的正弦信号的角速度分量便会生成两组阈值点,其中,每组阈值点包括四个阈值点,即每组阈值点包括一个正的阈值起始点和一个正的阈值终止点,以及一个负的阈值起始点和一个负的阈值终止点。Optionally, when the trigger action is specified in advance for the scanner to perform two consecutive back and forth rotations, the trigger action may cause the angular velocity component of a certain axis to form a sinusoidal signal similar to two cycles, and then use a predetermined threshold to at least One angular velocity component is filtered, and the angular velocity components of the two-period sinusoidal signal will generate two sets of threshold points, where each set of threshold points includes four threshold points, that is, each set of threshold points includes a positive threshold starting point and A positive threshold end point, and a negative threshold start point and a negative threshold end point.
作为一种可选的实施例,在确定每个角速度分量超过预定阈值的阈值起始点和阈值终止点之后,方法还包括:基于相邻的阈值终止点与阈值起始点之间的角速度分量进行单调性判断;根据单调性判断结果,确定扫描仪的运动是否连续。As an optional embodiment, after determining the threshold starting point and the threshold ending point at which each angular velocity component exceeds a predetermined threshold, the method further includes: monotonically performing angular velocity components based on adjacent threshold ending points and threshold starting points. Judgment of sex; according to the result of monotonic judgment, determine whether the movement of the scanner is continuous.
本发明上述实施例,在确定每个角速度分量超过预定阈值的阈值起始点和阈值终止点之后,可以基于相邻的阈值终止点与阈值起始点之间的角速度分量进行单调性判断,进而确定扫描仪在阈值终止点与阈值起始点之间的运动是否连贯。In the above-mentioned embodiment of the present invention, after determining the threshold starting point and the threshold ending point at which each angular velocity component exceeds a predetermined threshold, monotonic judgment can be made based on the angular velocity components between the adjacent threshold ending point and the threshold starting point to determine the scan Whether the movement of the meter between the end point of the threshold and the start point of the threshold is consistent.
作为一种可选的实施例,判断动作信息是否属于指向动作包括:判断菜单界面是否已被触发;在菜单界面已被触发的情况下,根据至少一个角速度分量确定指向动作的指示方向;根据指示方向在菜单界面中选择菜单项。As an optional embodiment, judging whether the action information belongs to a pointing action includes: judging whether the menu interface has been triggered; in the case that the menu interface has been triggered, determining the direction of the pointing action according to at least one angular velocity component; Direction Select a menu item in the menu interface.
本发明上述实施例,在检测动作信息后,可以判断菜单界面是否已被触发,并在菜单界面已被触发的情况下,依据动作信息的角速度分量判断该动作信息是否为指向动作,并在动作信息为指向动作的情况下,确定该指向动作的指示方向,然后按照该指示方向在菜单界面中选择菜单项。In the above-mentioned embodiment of the present invention, after the action information is detected, it can be judged whether the menu interface has been triggered, and in the case that the menu interface has been triggered, it is judged whether the action information is a pointing action according to the angular velocity component of the action information. When the information is a pointing action, determine the instruction direction of the pointing action, and then select a menu item in the menu interface according to the instruction direction.
作为一种可选的实施例,根据至少一个角速度分量确定指向动作的指示方向包括:根据持续记录的至少一个角速度分量确定至少一个运动方向的运动幅度,其中,运动方向包括扫描仪绕x轴、y轴或z轴运动的方向;确定运动幅度的最大值对应的运动方向为指示方向。As an optional embodiment, determining the indication direction of the pointing action according to the at least one angular velocity component includes: determining the movement amplitude of the at least one movement direction according to the continuously recorded at least one angular velocity component, where the movement direction includes the scanner around the x-axis, The direction of the movement of the y-axis or the z-axis; the movement direction corresponding to the maximum value of the movement amplitude is determined as the indicated direction.
可选地,通过持续记录x轴、y轴或z轴的角速度分量,可以确定扫描仪在x轴、y轴或z轴方向上的运动幅度,并依据其中任意两个方向的角速度分量的大小或运动幅度的大小确定运动信息的指示方向。Optionally, by continuously recording the angular velocity components of the x-axis, y-axis or z-axis, the movement amplitude of the scanner in the x-axis, y-axis or z-axis direction can be determined, and the magnitude of the angular velocity components in any two directions can be determined. Or the magnitude of the motion amplitude determines the direction of the motion information.
作为一种可选的实施例,菜单界面包括:选择光标和至少一个菜单项,根据指示方向在菜单界面中选择菜单项包括:根据指示方向控制选择光标与至少一个菜单项之间的落入关系;根据确定指令选中选择光标所落入的菜单项,其中,确定指令由选择光标落入的时间长度触发,或由特定动作触发。As an optional embodiment, the menu interface includes: a selection cursor and at least one menu item, and selecting a menu item in the menu interface according to an indication direction includes: controlling a drop relationship between the selection cursor and the at least one menu item according to the indication direction ; According to the confirm instruction, select the menu item that the selection cursor falls into, where the confirm instruction is triggered by the length of time the selection cursor falls into, or is triggered by a specific action.
本发明上述实施例,基于指向动作的指示方向,可以指示对菜单项的选择,当选择结束后可以通过触发确认指令来实现对光标所落入菜单项的确定。The above embodiments of the present invention can indicate the selection of a menu item based on the instruction direction of the pointing action. After the selection is completed, the confirmation instruction can be triggered to realize the determination of the menu item that the cursor falls into.
可选地,确定指令可以由选择光标落入的时间长度触发,例如,选择光标落入某一项菜单项的持续时间超过预定时长,则确定用户完成对确定指令的触发。Optionally, the determination instruction may be triggered by the length of time that the selection cursor falls. For example, if the duration of the selection cursor falling into a certain menu item exceeds a predetermined time period, it is determined that the user completes the triggering of the determination instruction.
可选地,确定指令可以由特定动作触发,例如,选择光标落入某一项菜单项后,扫描仪基于动作,若此时扫描仪的动作属于预先规定的特定动作,则完成对确认指令的触发。Optionally, the confirmation instruction can be triggered by a specific action. For example, after the cursor is selected and falls into a certain menu item, the scanner is based on the action. If the action of the scanner at this time belongs to a predetermined specific action, the confirmation instruction is completed trigger.
可选地,用于触发确认指令的特定动作,可以是如画圆圈之类的特殊动作,也可以是指向动作中根据指示方向无法改变选择光标与菜单项之间落入关系的动作。Optionally, the specific action used to trigger the confirmation instruction may be a special action such as drawing a circle, or may be an action in which the relationship between the selection cursor and the menu item cannot be changed according to the direction of the pointing action.
可选地,可以基于指向动作移动选择光标来改变移动光标与菜单项之间的对应关系(或落入关系);还可以基于指向动作移动菜单界面中的菜单项来改变移动光标与菜单项之间的对应关系(或落入关系)。Optionally, the corresponding relationship (or drop-in relationship) between the cursor and the menu item can be changed by moving the selection cursor based on the pointing action; the relationship between the moving cursor and the menu item can also be changed by moving the menu item in the menu interface based on the pointing action. Correspondence between (or fall into the relationship).
作为一种可选的实施例,菜单界面包括多个菜单项,多个菜单项排列方案包括以下之一:多个菜单项顺序排列,其中,顺序排列至少包括横向顺序排列和纵向顺序排列;多个菜单项在横竖两个方向按网格状排列;多个菜单项按照环形分层排布,其中,环形的中心为至少一个菜单项的圆形区域,圆形区域外由至少一个菜单项环形围绕;多个菜单项按照环形单层排布,其中,每个菜单项的形状包括圆形、环形和方形。As an optional embodiment, the menu interface includes multiple menu items, and the multiple menu item arrangement scheme includes one of the following: the multiple menu items are arranged in order, wherein the order arrangement includes at least a horizontal order arrangement and a vertical order arrangement; The menu items are arranged in a grid in both horizontal and vertical directions; multiple menu items are arranged in a ring layered manner, where the center of the ring is a circular area of at least one menu item, and at least one menu item is ringed outside the circular area Surround; multiple menu items are arranged in a circular single layer, where the shape of each menu item includes a circle, a circle, and a square.
本发明还提供了一种优选实施例,该优选实施例提供了一种完全基于体感动作的口内三维扫描仪操控方法。The present invention also provides a preferred embodiment, which provides a method for controlling an intraoral three-dimensional scanner completely based on somatosensory actions.
本发明提供的技术方案,利用了扫描仪机身中自带的惯性测量传感器(IMU),通过动作体感进行操作,来实现一些菜单选择、旋转模型等功能。The technical solution provided by the present invention utilizes the built-in inertial measurement sensor (IMU) in the body of the scanner, and operates through motion somatosensory to realize some functions such as menu selection and rotating model.
本发明提供的三维扫描仪,可以脱离鼠标和键盘,以及设置三维扫描仪机身上的实体按键,仅依靠扫描仪机身中的惯性测量传感器(IMU)实现对三维扫描仪的控制。The three-dimensional scanner provided by the present invention can be separated from the mouse and the keyboard, and the physical buttons on the body of the three-dimensional scanner can be set, and the control of the three-dimensional scanner can be realized only by the inertial measurement sensor (IMU) in the body of the scanner.
图2是根据本发明实施例的一种扫描仪的控制流程的示意图,如图2所示,整套方法实现方案主要包含:扫描仪内置IMU数据处理与动作检测、扫描软件中的相关用户界面菜单(简称UI菜单),其控制流程如下:在初始状态下,检测到对扫描仪的特殊动作(以下称之为触发动作)后,软件中即显示出UI菜单,然后通过对扫描仪动作方向和幅度(以下称之为指向动作)的持续检测,来选择UI菜单中的菜单项,最后,通过UI菜单项的确认机制,来确认已选中的菜单项。菜单项确认后,即可执行此菜单项对应的功能,可能的功能包括但不限于开始扫描、停止扫描、完成扫描、重置、上一步、下一步、进入IMU视图控制模式等。Fig. 2 is a schematic diagram of a control flow of a scanner according to an embodiment of the present invention. As shown in Fig. 2, the whole method implementation scheme mainly includes: built-in IMU data processing and motion detection of the scanner, and related user interface menus in the scanning software (UI menu for short), the control flow is as follows: In the initial state, after detecting a special action on the scanner (hereinafter referred to as a trigger action), the UI menu is displayed in the software, and then the direction and direction of the scanner action are displayed in the software. Continuous detection of amplitude (referred to as pointing action hereinafter) is used to select menu items in the UI menu, and finally, confirm the selected menu item through the confirmation mechanism of the UI menu item. After the menu item is confirmed, the function corresponding to this menu item can be executed. The possible functions include but are not limited to start scan, stop scan, complete scan, reset, previous step, next step, enter IMU view control mode, etc.
需要说明的是,IMU视图控制模式,是指持续检测扫描仪的动作方向和幅度(指向动作),并据此控制三维模型视图旋转、平移或缩放。It should be noted that the IMU view control mode refers to continuously detecting the motion direction and amplitude (pointing motion) of the scanner, and controlling the rotation, translation, or zooming of the 3D model view accordingly.
需要说明的是,扫描仪内置IMU数据处理与动作检测,是指通过对手持式扫描仪动作的持续侦测,把动作处理并解析为触发动作和指向动作。It should be noted that the built-in IMU data processing and motion detection of the scanner means that through continuous detection of the motion of the handheld scanner, the motion is processed and parsed into a trigger action and a pointing action.
图3是根据本发明实施例的一种触发动作的示意图一,图4是根据本发明实施例的一种触发动作的示意图二,如图3和图4所示,触发动作是指扫描仪在停顿后快速规律来回旋转2次,主要包括停顿后上下方向快速来回旋转2次、停顿后左右方向快速摆动2次、以及停顿后以扫描仪自身来回旋转2次。FIG. 3 is a schematic diagram of a triggering action according to an embodiment of the present invention, and FIG. 4 is a schematic diagram of a triggering action according to an embodiment of the present invention. As shown in FIG. 3 and FIG. 4, the triggering action means that the scanner is on After a pause, the scanner rotates back and forth 2 times quickly and regularly, mainly including 2 rapid back and forth rotations in the up and down direction after a pause, 2 rapid swings in the left and right directions after a pause, and 2 rotations of the scanner itself after a pause.
可选地,指向动作,是指扫描仪的原始IMU数据过滤掉噪声,指向动作同时包含了动作方向和幅度。Optionally, the pointing action means that the original IMU data of the scanner filters out noise, and the pointing action includes both the direction and amplitude of the action.
需要说明的是,在任意时刻,以上两种动作类型可能同时存在。It should be noted that at any time, the above two types of actions may exist at the same time.
可选地,触发动作的检测原理为:从静止状态开始,对扫描仪做一个快速来回旋转摆动的连续动作,这个连续动作过程中扫描仪绕对应旋转轴的角速度会发生急速变化,角速度值会经过增加、减小、过零、反向增加、减小的变化过程,这些数值变化过程可以由集成于扫描仪内部的IMU实时测量获得。因此,利用IMU实时测量数据,可以实现对扫描来回旋转摆动动作的实时检测。IMU可以测量扫描仪机身分别绕x、y、z三个轴的角速度分量,对三个分量分别进行上述动作规律的检测,只要一个分量通过检测即认为检测到动作,从而实现对任意方向的动作的检测。为了确保检测的可靠性,触发动作要求连续进行2次上述摆动,并且在动作前一定要先停顿0.4秒以上,并且整个动作时间周期要求要大于0.8秒,以确保IMU获得足够的数据采样用来进行上述动作的检测处理。Optionally, the detection principle of the trigger action is: starting from a stationary state, make a continuous motion of the scanner with a rapid back and forth rotation and swing. During this continuous action, the angular velocity of the scanner around the corresponding axis of rotation will change rapidly, and the angular velocity value will change. After the change process of increase, decrease, zero crossing, reverse increase, and decrease, these numerical change processes can be obtained by real-time measurement of the IMU integrated in the scanner. Therefore, the real-time measurement data of the IMU can be used to realize the real-time detection of the scanning back and forth rotation and swing motion. The IMU can measure the angular velocity components of the scanner body around the x, y, and z axes, and perform the above-mentioned motion law detection on the three components. As long as one component passes the detection, the motion is considered to be detected, so as to achieve any direction Motion detection. In order to ensure the reliability of detection, the trigger action requires two consecutive swings, and must pause for more than 0.4 seconds before the action, and the entire action time period is required to be greater than 0.8 seconds to ensure that the IMU obtains enough data samples for Perform the detection processing of the above-mentioned actions.
图5是根据本发明实施例的一种表示触发动作的角速度分量的示意图一,图6是根据本发明实施例的一种表示触发动作的角速度分量的示意图二,如图5和图6所示,从图5和图6中数据曲线可以看出,停顿时三个轴角速度分量的数据明显小于0.5度/秒,一次有效动作会在某个轴的角速度分量的曲线上形成类似两个周期的正弦信号,且信号幅值一般会大于20度/秒;因此,对IMU采集的数据做以下处理:Fig. 5 is a schematic diagram showing the angular velocity component of a trigger action according to an embodiment of the present invention, and Fig. 6 is a schematic diagram showing the angular velocity component of a trigger action according to an embodiment of the present invention, as shown in Figs. 5 and 6 From the data curves in Fig. 5 and Fig. 6, it can be seen that the angular velocity component data of the three axes is obviously less than 0.5 degrees/sec during the pause, and an effective action will form a two-period similar to the angular velocity component curve of a certain axis. Sinusoidal signal, and the signal amplitude is generally greater than 20 degrees/second; therefore, the following processing is performed on the data collected by the IMU:
1)首先以一个设定的预定阈值进行滤波,检测并记录超过预定阈值的阈值起始点和阈值终止点,确定开始时刻和开始时刻的数值,以及终止时刻和终止时刻的数值,一个有效的触发动作会形成4个连续正负交替的超过预定阈值的记录,一次正的超过预定阈值的记录包括一个正的阈值起始点和一个正的阈值终止点,一次负的超过预定阈值的记录包括一个负的阈值起始点和一个负的阈值终止点;1) First, filter with a set predetermined threshold, detect and record the threshold start point and threshold end point that exceed the predetermined threshold, determine the start time and start time value, and the end time and end time value, an effective trigger The action will form 4 consecutive positive and negative alternating records exceeding the predetermined threshold. A positive record exceeding the predetermined threshold includes a positive threshold starting point and a positive threshold ending point, and a negative record exceeding the predetermined threshold includes a negative The threshold starting point and a negative threshold ending point;
2)为了进一步提高动作检测(即触发动作)的严格性,还对前一次超过预定阈值的阈值终止点到下一次过阈值起始点之间的数据,进行单调性判断,即要求每次单向摆动是连贯完成的。2) In order to further improve the rigor of the action detection (ie trigger action), the data between the threshold end point of the previous threshold exceeding the predetermined threshold and the starting point of the next threshold crossing is also subjected to monotonic judgment, that is, each one-way is required The swing is done coherently.
可选地,同时通过上述两个检测处理,且满足时间周期要求,才被确认为是成功有效的触发动作,另外通过调整预定阈值的大小,可以控制动作检测的灵敏性。Optionally, the trigger action can be confirmed as a successful and effective triggering action after passing the above two detection processes at the same time and meeting the time period requirement. In addition, by adjusting the size of the predetermined threshold, the sensitivity of the action detection can be controlled.
可选地,指向动作的检测原理为:持续获取惯性测量传感器(IMU)采集的原始数据(并过滤掉轻微抖动),包括3个方向的角速度和3个方向的加速度,根据当前应用场景选取出需要的数据。以菜单选择过程为例,此时只需要两个方向的角速度,通 过持续记录并对比这两个角速度的大小,就可以判断出当前扫描仪转动的方向和幅度,据此选择上、下、左、右四个方向的菜单。菜单选中后,仍然持续记录并对比数据,以执行后续的菜单确认机制。Optionally, the detection principle of the pointing action is: continuously obtain the original data collected by the inertial measurement sensor (IMU) (and filter out slight jitter), including the angular velocity in 3 directions and the acceleration in 3 directions, which are selected according to the current application scenario Required data. Take the menu selection process as an example. At this time, only the angular velocities in two directions are needed. By continuously recording and comparing the magnitudes of these two angular velocities, the direction and amplitude of the current scanner rotation can be judged, and then up, down, and left can be selected. , The menu in the four directions on the right. After the menu is selected, the data is still continuously recorded and compared to execute the subsequent menu confirmation mechanism.
图7是根据本发明实施例的一种菜单项竖向按顺序排列的示意图,如图7所示,菜单项竖向按顺序排列;在菜单项选择的过程中,初始选中一个菜单项,然后根据扫描仪的指向动作进行菜单选择,扫描仪往上转动,则选择当前菜单项目上方的菜单,扫描仪往下转动,则选择当前菜单项目下方的菜单。Fig. 7 is a schematic diagram of a vertical arrangement of menu items in order according to an embodiment of the present invention. As shown in Fig. 7, the menu items are arranged in order vertically; in the process of menu item selection, a menu item is initially selected, and then The menu selection is performed according to the pointing action of the scanner. When the scanner rotates upward, the menu above the current menu item is selected, and when the scanner rotates downward, the menu below the current menu item is selected.
可选地,在选中某一菜单项后,根据扫描仪的指向动作外加倒计时,进行菜单项确认,具体如下:扫描仪往右(或往左)转动,则当前菜单项也随之往右(或往左)移动,当菜单项目移动超过既定幅度后,进入倒计时区域,开始既定时间(比如1秒)的倒计时,保持此状态至倒计时完成后,菜单项被成功确认。如果在倒计时完成前,菜单项随着扫描仪的指向动作往反方向移动,并且移出倒计时区域,则停止倒计时。Optionally, after selecting a menu item, confirm the menu item according to the pointing action of the scanner plus a countdown, as follows: the scanner rotates to the right (or left), and the current menu item also moves to the right ( Or move to the left). When the menu item moves beyond a predetermined range, it enters the countdown area and starts a countdown of a predetermined time (such as 1 second). Keep this state until the countdown is completed, and the menu item is successfully confirmed. If the menu item moves in the opposite direction with the pointing action of the scanner before the countdown is completed, and moves out of the countdown area, the countdown will stop.
可选地,菜单项还可以横向按顺序排列,扫描仪左右的指向动作用于选择菜单项,扫描仪上下的指向动作用于确认菜单项。Optionally, the menu items can also be arranged in order horizontally, the left and right pointing actions of the scanner are used to select the menu items, and the up and down pointing actions of the scanner are used to confirm the menu items.
图8是根据本发明实施例的一种菜单项横竖两个方向按网格状排列的示意图,如图8所示,菜单项横竖两个方向按网格状排列;在菜单项选择的过程中,初始选中一个菜单项,然后根据扫描仪的指向动作进行菜单选择,扫描仪往左(右)转动,则选择当前菜单项目左方(右方)的菜单,扫描仪往上(下)转动,则选择当前菜单项目上方(下方)的菜单。Fig. 8 is a schematic diagram of a grid arrangement of menu items in horizontal and vertical directions according to an embodiment of the present invention. As shown in Fig. 8, the menu items are arranged in a grid in both horizontal and vertical directions; in the process of menu item selection , Initially select a menu item, and then select the menu according to the pointing action of the scanner. When the scanner rotates to the left (right), then the menu on the left (right) of the current menu item is selected, and the scanner rotates up (down), Then select the menu above (below) the current menu item.
可选地,在选中某一菜单项后,根据倒计时进行菜单项确认,具体如下:选中某一菜单项后,即开始既定时间(比如3秒)的倒计时,保持此状态至倒计时完成后,菜单项被成功确认。如果在倒计时完成前,选择了其它菜单项,则此菜单项停止倒计时,新选中的菜单项开始倒计时。Optionally, after selecting a certain menu item, confirm the menu item according to the countdown, as follows: After selecting a certain menu item, the countdown of a predetermined time (for example, 3 seconds) will start, and this state will be maintained until the countdown is completed. The item was successfully confirmed. If another menu item is selected before the countdown is completed, this menu item will stop the countdown and the newly selected menu item will start the countdown.
图9是根据本发明实施例的一种菜单项以环形多层排布的示意图,如图9所示,菜单项以环形排布,另外加上中心位置的菜单项;在菜单项选择的过程中,初始选中在中心的菜单项,然后根据扫描仪的指向动作进行菜单选择,扫描仪往左(右)转动,则选择当前菜单项目左方(右方)的菜单,扫描仪往上(下)转动,则选择当前菜单项目上方(下方)的菜单。Fig. 9 is a schematic diagram of a kind of menu items arranged in a ring in multiple layers according to an embodiment of the present invention. As shown in Fig. 9, the menu items are arranged in a ring and the menu item at the center position is added; in the menu item selection process Select the menu item in the center initially, and then select the menu according to the pointing action of the scanner. When the scanner rotates to the left (right), the menu item on the left (right) of the current menu item is selected, and the scanner moves up (down) ) Turn to select the menu above (below) the current menu item.
可选地,在选中在中心位置的菜单项后,根据倒计时进行菜单项确认,具体如下:选中中心菜单项后,即开始既定时间(比如3秒)的倒计时,保持此状态至倒计时完成后,菜单项被成功确认。如果在倒计时完成前,选择了其它菜单项,则此菜单项停 止倒计时。Optionally, after selecting the menu item in the center position, confirm the menu item according to the countdown, as follows: After the center menu item is selected, the countdown of a predetermined time (for example, 3 seconds) starts, and this state is maintained until the countdown is completed, The menu item was successfully confirmed. If another menu item is selected before the countdown is completed, this menu item will stop the countdown.
可选地,在外侧环形的某一菜单项后,根据扫描仪的指向动作外加倒计时,进行菜单项确认,以右方的菜单项加以说明:选中右侧菜单项后,扫描仪往右转动,则当前菜单项也随之往右移动,当菜单项移动超过既定幅度后,进入倒计时区域,开始既定时间(比如1秒)的倒计时,保持此状态至倒计时完成后,菜单项被成功确认。如果在倒计时完成前,菜单项随着扫描仪的指向动作往反方向移动,并且移出倒计时区域,则停止倒计时。Optionally, after a certain menu item in the outer ring, according to the pointing action of the scanner plus a countdown, the menu item is confirmed, and the menu item on the right is described: after the menu item on the right is selected, the scanner rotates to the right , The current menu item also moves to the right. When the menu item moves beyond the predetermined range, it enters the countdown area and starts the countdown for a predetermined time (such as 1 second). Keep this state until the countdown is completed, and the menu item is successfully confirmed. If the menu item moves in the opposite direction with the pointing action of the scanner before the countdown is completed, and moves out of the countdown area, the countdown will stop.
图10是根据本发明实施例的一种菜单项以环形单层排布的示意图,如图10所示,菜单项以环形排布,其中,每个菜单项可以是圆形、环形、方形等各种形状;在菜单项选择的过程中,可以先选择固定点位,通过指向动作调整菜单项的位置,使位于固定点位的菜单项被选中,以固定点位放到最下方为例说明:始终选中最下方的菜单项,然后根据扫描仪的指向动作,转动整个环形菜单,扫描仪往左转动,则环形菜单顺时针转动,扫描仪往右转动,则环形菜单逆时针转动,每个菜单项都有机会位于固定点位处。Fig. 10 is a schematic diagram of a single layer arrangement of menu items in a ring according to an embodiment of the present invention. As shown in Fig. 10, the menu items are arranged in a ring, where each menu item can be a circle, a ring, a square, etc. Various shapes; in the process of menu item selection, you can select a fixed point first, adjust the position of the menu item by pointing to the action, so that the menu item at the fixed point is selected, take the fixed point to the bottom as an example : Always select the bottom menu item, and then rotate the entire ring menu according to the pointing action of the scanner. When the scanner rotates to the left, the ring menu rotates clockwise. When the scanner rotates to the right, the ring menu rotates counterclockwise. Each menu item has the opportunity to be located at a fixed point.
可选地,固定点位还可以放到最上方、最左方、最右方等。Optionally, the fixed point can also be placed at the top, left, right, etc.
可选地,在选中某一菜单项后,根据扫描仪的指向动作外加倒计时,进行菜单项确认,具体如下:扫描仪往环形的圆心方向转动(或背离圆心方向),则当前菜单项也随之往圆心方向移动(或背离圆心方向),当菜单项移动超过既定幅度后,进入倒计时区域,开始既定时间(比如1秒)的倒计时,保持此状态并倒计时完成后,菜单项被成功确认。如果在倒计时完成前,菜单项随着扫描仪的指向动作往反方向移动,并且移出倒计时区域,则停止倒计时。Optionally, after selecting a menu item, confirm the menu item according to the pointing action of the scanner plus a countdown. The details are as follows: the scanner rotates in the direction of the center of the circle (or away from the center of the circle), and the current menu item also follows the direction of the center of the circle. It moves toward the center of the circle (or away from the center of the circle). When the menu item moves beyond the predetermined range, it enters the countdown area and starts the countdown for a predetermined time (such as 1 second). Keep this state and after the countdown is completed, the menu item is successfully confirmed. If the menu item moves in the opposite direction with the pointing action of the scanner before the countdown is completed, and moves out of the countdown area, the countdown will stop.
本发明提供的三维扫描仪,可以在不需要设计机身按键的条件下,完全基于体感动作的完整扫描控制,从而无需为扫描仪设置物理按键或其他配套硬件,降低扫描仪的设计成本;并且通过设置菜单界面中菜单项的排布方式、选择方式,以及确认机制,可以更便于用户对扫描仪的控制。The three-dimensional scanner provided by the present invention can completely scan control based on somatosensory actions without the need to design the fuselage buttons, so there is no need to set physical buttons or other supporting hardware for the scanner, and reduce the design cost of the scanner; and By setting the arrangement mode, selection mode, and confirmation mechanism of the menu items in the menu interface, it is more convenient for the user to control the scanner.
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述任一项所述的扫描仪的控制方法。According to yet another embodiment of the present invention, there is also provided a storage medium, the storage medium including a stored program, wherein the scanner control method described in any one of the above is executed when the program is running.
根据本发明的又一个实施例,还提供了一种处理器,所述处理器设置为运行程序,其中,所述程序运行时执行上述任一项所述的扫描仪的控制方法。According to another embodiment of the present invention, there is also provided a processor, the processor is configured to run a program, wherein the scanner control method described in any one of the above is executed when the program is running.
根据本发明实施例,还提供了一种扫描仪的控制装置实施例,需要说明的是,该扫描仪的控制装置可以用于执行本发明实施例中的扫描仪的控制方法,本发明实施例 中的扫描仪的控制方法可以在该扫描仪的控制装置中执行。According to the embodiment of the present invention, an embodiment of a scanner control device is also provided. It should be noted that the control device of the scanner can be used to execute the scanner control method in the embodiment of the present invention. The control method of the scanner in can be executed in the control device of the scanner.
图11是根据本发明实施例的一种扫描仪的控制装置的示意图,如图11所示,该装置可以包括:第一检测单元1102,设置为检测扫描仪的动作信息;判断单元1104,设置为判断动作信息是否属于触发动作,其中,触发动作用于触发展示扫描仪的菜单界面;第二检测单元1106,设置为在基于触发动作展示菜单界面后,继续检测动作信息,并判断动作信息是否属于指向动作,其中,指向动作用于选择菜单界面中的菜单项;控制单元1108,设置为基于触发动作和指向动作,控制扫描仪。Fig. 11 is a schematic diagram of a scanner control device according to an embodiment of the present invention. As shown in Fig. 11, the device may include: a first detection unit 1102 configured to detect the action information of the scanner; To determine whether the action information is a trigger action, the trigger action is used to trigger the display of the menu interface of the scanner; the second detection unit 1106 is set to continue to detect the action information after displaying the menu interface based on the trigger action, and determine whether the action information is It belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; the control unit 1108 is set to control the scanner based on the trigger action and the pointing action.
需要说明的是,该实施例中的第一检测单元1102可以设置为执行本申请实施例中的步骤S102,该实施例中的判断单元1104可以设置为执行本申请实施例中的步骤S104,该实施例中的第二检测单元1106可以设置为执行本申请实施例中的步骤S106,该实施例中的控制单元1108可以设置为执行本申请实施例中的步骤S108。上述单元与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例所公开的内容。It should be noted that the first detection unit 1102 in this embodiment can be configured to perform step S102 in the embodiment of the present application, and the judgment unit 1104 in this embodiment can be configured to perform step S104 in the embodiment of the present application. The second detection unit 1106 in the embodiment may be configured to perform step S106 in the embodiment of the present application, and the control unit 1108 in this embodiment may be configured to perform step S108 in the embodiment of the present application. The examples and application scenarios implemented by the foregoing units and corresponding steps are the same, but are not limited to the content disclosed in the foregoing embodiments.
在本发明实施例中,通过检测扫描仪的动作信息;判断动作信息是否属于触发动作,其中,触发动作用于触发展示扫描仪的菜单界面;在基于触发动作展示菜单界面后,继续检测动作信息,并判断动作信息是否属于指向动作,其中,指向动作用于选择菜单界面中的菜单项;基于触发动作和指向动作,控制扫描仪,可以通过触发动作启动菜单界面,通过触发动作在菜单界面中选择菜单项,达到了完全依靠用户的动作信息控制扫描仪的目的,从而实现了在脱离实体按键的情况下对扫描仪进行控制的技术效果,进而解决了扫描仪无法脱离实体按键控制的技术问题。In the embodiment of the present invention, the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect the action information , And determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and pointing action, to control the scanner, you can start the menu interface by triggering the action, and in the menu interface by triggering the action Selecting the menu item achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and solving the technical problem that the scanner cannot be controlled by the physical button .
作为一种可选的实施例,第一检测单元和第二检测单元包括:检测模块,设置为检测扫描仪在空间坐标系下的至少一个角速度分量,其中,每个角速度分量用于表示扫描仪绕x轴、y轴或z轴运动。As an optional embodiment, the first detection unit and the second detection unit include: a detection module configured to detect at least one angular velocity component of the scanner in the spatial coordinate system, wherein each angular velocity component is used to represent the scanner Move around the x-axis, y-axis, or z-axis.
作为一种可选的实施例,判断单元包括:第一判断模块,设置为判断在预定时间周期内是否存在至少一个角速度分量的连续变化幅度超过预定阈值;第一确定模块,设置为在预定时间周期内存在至少一个角速度分量的连续变化幅度超过预定阈值的情况下,确定动作信息属于触发动作;第二确定模块,设置为在预定时间周期内不存在至少一个角速度分量的连续变化幅度超过预定阈值的情况下,确定动作信息不属于触发动作。As an optional embodiment, the judging unit includes: a first judging module configured to judge whether there is at least one angular velocity component whose continuous variation amplitude exceeds a predetermined threshold within a predetermined time period; the first determining module is configured to When the continuous change amplitude of at least one angular velocity component in the period exceeds the predetermined threshold, it is determined that the action information is a trigger action; the second determining module is set to not exist within the predetermined time period, and the continuous change amplitude of at least one angular velocity component exceeds the predetermined threshold. In the case, it is determined that the action information does not belong to the trigger action.
作为一种可选的实施例,第一判断模块包括:记录模块,设置为记录每个角速度分量在预定时间周期内的阈值起始点和阈值终止点,其中,阈值起始点表示角速度分量超过预定阈值的开始时刻和开始时刻的数值,阈值终止点表示角速度分量超过预定阈值的终止时刻和终止时刻的数值;第一判断子模块,设置为判断阈值起始点和阈值 终止点的数量是否符合预定数量,且阈值起始点的数值与阈值终止点的数值是否连续正负交替;第二判断子模块,设置为在阈值起始点和阈值终止点的数量符合预定数量,且阈值起始点的数值与阈值终止点的数值连续正负交替的情况下,根据相邻的阈值终止点与阈值起始点,判断动作信息所指示的动作是否连续;第三确定模块,设置为在动作信息所指示的动作连续的情况下,确定角速度分量在预定时间周期内连续变化幅度超过预定阈值。As an optional embodiment, the first judgment module includes: a recording module configured to record the threshold starting point and the threshold ending point of each angular velocity component within a predetermined time period, wherein the threshold starting point indicates that the angular velocity component exceeds the predetermined threshold The threshold end point represents the end time and end time value of the angular velocity component exceeding the predetermined threshold; the first judgment sub-module is set to judge whether the number of threshold start point and threshold end point meets the predetermined number, And whether the numerical value of the threshold starting point and the threshold ending point are continuously alternating between positive and negative; the second judgment sub-module is set to set the threshold starting point and the threshold ending point to meet the predetermined number, and the threshold starting point’s numerical value and the threshold ending point When the value of is continuously alternating between positive and negative, it is judged whether the action indicated by the action information is continuous according to the adjacent threshold end point and threshold starting point; the third determination module is set to be set when the action indicated by the action information is continuous , It is determined that the angular velocity component continuously changes more than a predetermined threshold within a predetermined time period.
作为一种可选的实施例,判断单元包括:第一判断模块,设置为基于至少一个角速度分量判断动作信息所指示的扫描仪是否在预定时间周期内连续运动;第二判断模块,设置为在确定扫描仪在预定时间周期内连续运动的情况下,基于动作信息判断扫描仪是否存在至少一个角速度分量超过预定幅值;第四确定模块,设置为在确定扫描仪存在至少一个角速度分量超过预定幅值的情况下,确定动作信息属于触发动作。As an optional embodiment, the judging unit includes: a first judging module configured to judge whether the scanner indicated by the action information continuously moves within a predetermined time period based on at least one angular velocity component; and a second judging module configured to When it is determined that the scanner is continuously moving within a predetermined time period, it is determined based on the action information whether at least one angular velocity component of the scanner exceeds the predetermined amplitude; the fourth determining module is configured to determine that the scanner has at least one angular velocity component that exceeds the predetermined amplitude In the case of the value, it is determined that the action information belongs to the trigger action.
作为一种可选的实施例,第一判断模块包括:滤波模块,设置为按照预定阈值对至少一个角速度分量滤波,确定每个角速度分量超过预定阈值的阈值起始点和阈值终止点,其中,阈值起始点表示角速度分量超过预定阈值的开始时刻和开始时刻的数值,阈值终止点表示角速度分量超过预定阈值的终止时刻和终止时刻的数值;第三判断模块,设置为判断预定时间阈值内的阈值起始点和阈值终止点的数量是否符合预定数量,且阈值起始点的数值与阈值终止点的数值是否连续正负交替;第五确定模块,设置为在阈值起始点和阈值终止点的数量符合预定数量,且阈值起始点的数值与阈值终止点的数值连续正负交替的情况下,确定扫描仪在预定时间周期内连续运动。As an optional embodiment, the first judgment module includes: a filtering module configured to filter at least one angular velocity component according to a predetermined threshold, and determine a threshold starting point and a threshold ending point at which each angular velocity component exceeds the predetermined threshold, wherein the threshold The starting point represents the starting time and the numerical value of the starting time when the angular velocity component exceeds the predetermined threshold, and the threshold ending point represents the ending time and the numerical value of the ending time when the angular velocity component exceeds the predetermined threshold; the third judgment module is set to judge the threshold within the predetermined time threshold. Whether the number of start point and threshold end point meets the predetermined number, and whether the numerical value of the threshold start point and the threshold end point continuously alternate positive and negative; the fifth determining module is set to meet the predetermined number at the threshold start point and threshold end point , And when the numerical value of the threshold starting point and the numerical value of the threshold ending point continuously alternate positive and negative, it is determined that the scanner continuously moves within a predetermined time period.
作为一种可选的实施例,该装置还包括:第四判断模块,设置为在确定每个角速度分量超过预定阈值的阈值起始点和阈值终止点之后,基于相邻的阈值终止点与阈值起始点之间的角速度分量进行单调性判断;第六确定模块,设置为根据单调性判断结果,确定扫描仪的运动是否连续。As an optional embodiment, the device further includes: a fourth judgment module configured to determine the threshold starting point and the threshold ending point at which each angular velocity component exceeds a predetermined threshold, based on the adjacent threshold ending points and threshold starting points. The angular velocity component between the starting points is subjected to monotonicity judgment; the sixth determining module is set to determine whether the motion of the scanner is continuous according to the monotonicity judgment result.
作为一种可选的实施例,第二检测单元包括:第五判断模块,设置为判断菜单界面是否已被触发;第七确定模块,设置为在菜单界面已被触发的情况下,根据至少一个角速度分量确定指向动作的指示方向;选择模块,设置为根据指示方向在菜单界面中选择菜单项。As an optional embodiment, the second detection unit includes: a fifth determining module, configured to determine whether the menu interface has been triggered; a seventh determining module, configured to determine whether the menu interface has been triggered according to at least one The angular velocity component determines the pointing direction of the action; the selection module is set to select menu items in the menu interface according to the pointing direction.
作为一种可选的实施例,第七确定模块包括:第八确定模块,设置为根据持续记录的至少一个角速度分量确定至少一个运动方向的运动幅度,其中,运动方向包括扫描仪绕x轴、y轴或z轴运动的方向;第九确定模块,设置为确定运动幅度的最大值对应的运动方向为指示方向。As an optional embodiment, the seventh determining module includes: an eighth determining module configured to determine the motion amplitude of at least one motion direction according to the continuously recorded at least one angular velocity component, where the motion direction includes the scanner around the x-axis, The direction of movement of the y-axis or the z-axis; the ninth determining module is set to determine the direction of movement corresponding to the maximum value of the movement amplitude as the indicated direction.
作为一种可选的实施例,菜单界面包括:选择光标和至少一个菜单项,选择模块 包括:控制模块,设置为根据指示方向控制选择光标与至少一个菜单项之间的落入关系;选中模块,设置为根据确定指令选中选择光标所落入的菜单项,其中,确定指令由选择光标落入的时间长度触发,或由特定动作触发。As an optional embodiment, the menu interface includes: a selection cursor and at least one menu item, and the selection module includes: a control module configured to control the falling relationship between the selection cursor and the at least one menu item according to an indication direction; and the selection module , Is set to select the menu item where the selection cursor falls according to the confirm instruction, where the confirm instruction is triggered by the length of time the selection cursor falls, or is triggered by a specific action.
作为一种可选的实施例,菜单界面包括多个菜单项,多个菜单项排列方案包括以下之一:多个菜单项顺序排列,其中,顺序排列至少包括横向顺序排列和纵向顺序排列;多个菜单项在横竖两个方向按网格状排列;多个菜单项按照环形分层排布,其中,环形的中心为至少一个菜单项的圆形区域,圆形区域外由至少一个菜单项环形围绕;多个菜单项按照环形单层排布,其中,每个菜单项的形状包括圆形、环形和方形。As an optional embodiment, the menu interface includes multiple menu items, and the multiple menu item arrangement scheme includes one of the following: the multiple menu items are arranged in order, wherein the order arrangement includes at least a horizontal order arrangement and a vertical order arrangement; The menu items are arranged in a grid in both horizontal and vertical directions; multiple menu items are arranged in a ring layered manner, where the center of the ring is a circular area of at least one menu item, and at least one menu item is ringed outside the circular area Surround; multiple menu items are arranged in a circular single layer, where the shape of each menu item includes a circle, a circle, and a square.
图12是根据本发明实施例的一种扫描仪的示意图,如图12所示,该装置可以包括:惯性测量传感器1202,设置为采集动作信息;处理设备1204,与所述惯性测量传感器通信,设置为接收所述动作信息;判断所述动作信息是否属于触发动作;在基于所述触发动作展示所述菜单界面后,继续接收所述动作信息,并判断所述动作信息是否属于指向动作;基于所述触发动作展示所述扫描仪的菜单界面,基于所述指向动作选择所述菜单界面中的菜单项,控制所述扫描仪。Fig. 12 is a schematic diagram of a scanner according to an embodiment of the present invention. As shown in Fig. 12, the device may include: an inertial measurement sensor 1202 configured to collect action information; and a processing device 1204, which communicates with the inertial measurement sensor, Set to receive the action information; determine whether the action information belongs to a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information, and determine whether the action information belongs to a pointing action; based on The trigger action displays a menu interface of the scanner, and based on the pointing action, a menu item in the menu interface is selected to control the scanner.
在本发明实施例中,通过检测扫描仪的动作信息;判断动作信息是否属于触发动作,其中,触发动作用于触发展示扫描仪的菜单界面;在基于触发动作展示菜单界面后,继续检测动作信息,并判断动作信息是否属于指向动作,其中,指向动作用于选择菜单界面中的菜单项;基于触发动作和指向动作,控制扫描仪,可以通过触发动作启动菜单界面,通过触发动作在菜单界面中选择菜单项,达到了完全依靠用户的动作信息控制扫描仪的目的,,从而实现了在脱离实体按键的情况下对扫描仪进行控制的技术效果,进而解决了扫描仪无法脱离实体按键控制的技术问题。In the embodiment of the present invention, the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect the action information , And determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and pointing action, to control the scanner, you can start the menu interface by triggering the action, and in the menu interface by triggering the action Selecting the menu item achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and then solving the technology that the scanner cannot be separated from the physical button control. problem.
图13是根据本发明实施例的一种扫描仪的控制系统的示意图,如图13所示,该装置可以包括:扫描仪1302,设置为采集动作信息;计算机1304,与所述扫描仪通信,设置为接收所述动作信息;判断所述动作信息是否属于触发动作;在基于所述触发动作展示所述菜单界面后,继续接收所述动作信息,并判断所述动作信息是否属于指向动作;基于所述触发动作展示所述扫描仪的菜单界面,基于所述指向动作选择所述菜单界面中的菜单项,控制所述扫描仪。Fig. 13 is a schematic diagram of a scanner control system according to an embodiment of the present invention. As shown in Fig. 13, the device may include: a scanner 1302, configured to collect action information; and a computer 1304, communicating with the scanner, Set to receive the action information; determine whether the action information belongs to a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information, and determine whether the action information belongs to a pointing action; based on The trigger action displays a menu interface of the scanner, and based on the pointing action, a menu item in the menu interface is selected to control the scanner.
在本发明实施例中,通过检测扫描仪的动作信息;判断动作信息是否属于触发动作,其中,触发动作用于触发展示扫描仪的菜单界面;在基于触发动作展示菜单界面后,继续检测动作信息,并判断动作信息是否属于指向动作,其中,指向动作用于选择菜单界面中的菜单项;基于触发动作和指向动作,控制扫描仪,可以通过触发动作启动菜单界面,通过触发动作在菜单界面中选择菜单项,达到了完全依靠用户的动作 信息控制扫描仪的目的,,从而实现了在脱离实体按键的情况下对扫描仪进行控制的技术效果,进而解决了扫描仪无法脱离实体按键控制的技术问题。In the embodiment of the present invention, the action information of the scanner is detected; it is determined whether the action information is a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner; after the menu interface is displayed based on the trigger action, continue to detect the action information , And determine whether the action information belongs to a pointing action, where the pointing action is used to select menu items in the menu interface; based on the trigger action and pointing action, to control the scanner, you can start the menu interface by triggering the action, and in the menu interface by triggering the action Selecting the menu item achieves the purpose of completely relying on the user's action information to control the scanner, thereby achieving the technical effect of controlling the scanner without the physical button, and then solving the technology that the scanner cannot be separated from the physical button control. problem.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The sequence numbers of the foregoing embodiments of the present invention are only for description, and do not represent the superiority or inferiority of the embodiments.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units may be a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, units or modules, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code .
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also Should be regarded as the protection scope of the present invention.

Claims (14)

  1. 一种扫描仪的控制方法,包括:A control method of a scanner includes:
    检测扫描仪的动作信息;Detect the movement information of the scanner;
    判断所述动作信息是否属于触发动作,其中,所述触发动作用于触发展示所述扫描仪的菜单界面;Judging whether the action information belongs to a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner;
    在基于所述触发动作展示所述菜单界面后,继续检测所述动作信息,并判断所述动作信息是否属于指向动作,其中,所述指向动作用于选择所述菜单界面中的菜单项;After displaying the menu interface based on the trigger action, continue to detect the action information and determine whether the action information belongs to a pointing action, wherein the pointing action is used to select a menu item in the menu interface;
    基于所述触发动作和所述指向动作,控制所述扫描仪。Based on the trigger action and the pointing action, the scanner is controlled.
  2. 根据权利要求1所述的方法,其中,检测扫描仪的动作信息包括:The method according to claim 1, wherein detecting the action information of the scanner comprises:
    检测所述扫描仪在空间坐标系下的至少一个角速度分量,其中,每个所述角速度分量用于表示所述扫描仪绕x轴、y轴或z轴运动。At least one angular velocity component of the scanner in the spatial coordinate system is detected, where each angular velocity component is used to represent the movement of the scanner around the x-axis, y-axis, or z-axis.
  3. 根据权利要求2所述的方法,其中,判断所述动作信息是否属于触发动作包括:The method according to claim 2, wherein determining whether the action information belongs to a trigger action comprises:
    基于至少一个所述角速度分量判断所述动作信息所指示的所述扫描仪是否在预定时间周期内连续运动;Judging whether the scanner indicated by the motion information continuously moves within a predetermined time period based on at least one of the angular velocity components;
    在确定所述扫描仪在预定时间周期内连续运动的情况下,基于所述动作信息判断所述扫描仪是否存在至少一个所述角速度分量超过预定幅值;In the case where it is determined that the scanner is continuously moving within a predetermined time period, judging whether there is at least one angular velocity component of the scanner that exceeds a predetermined amplitude based on the motion information;
    在确定所述扫描仪存在至少一个所述角速度分量超过所述预定幅值的情况下,确定所述动作信息属于所述触发动作。In a case where it is determined that at least one angular velocity component of the scanner exceeds the predetermined amplitude, it is determined that the action information belongs to the trigger action.
  4. 根据权利要求3所述的方法,其中,基于至少一个所述角速度分量判断所述动作信息所指示的所述扫描仪是否在预定时间周期内连续运动包括:The method according to claim 3, wherein determining whether the scanner indicated by the motion information continuously moves within a predetermined time period based on at least one of the angular velocity components comprises:
    按照预定阈值对所述至少一个所述角速度分量滤波,确定每个所述角速度分量超过所述预定阈值的阈值起始点和阈值终止点,其中,所述阈值起始点表示所述角速度分量超过所述预定阈值的开始时刻和所述开始时刻的数值,所述阈值终止点表示所述角速度分量超过所述预定阈值的终止时刻和所述终止时刻的数值;The at least one angular velocity component is filtered according to a predetermined threshold, and a threshold starting point and a threshold ending point at which each angular velocity component exceeds the predetermined threshold are determined, wherein the threshold starting point indicates that the angular velocity component exceeds the A starting time of a predetermined threshold and a numerical value of the starting time, and the threshold ending point represents the ending time of the angular velocity component exceeding the predetermined threshold and the numerical value of the ending time;
    判断所述预定时间阈值内的所述阈值起始点和所述阈值终止点的数量是否符合预定数量,且所述阈值起始点的数值与所述阈值终止点的数值是否连续正负交替;Determining whether the number of the threshold starting point and the threshold ending point within the predetermined time threshold meets a predetermined number, and whether the numerical value of the threshold starting point and the threshold ending point continuously alternate positive and negative;
    在所述阈值起始点和所述阈值终止点的数量符合预定数量,且所述阈值起始点的数值与所述阈值终止点的数值连续正负交替的情况下,确定所述扫描仪在预定时间周期内连续运动。In the case that the number of the threshold starting point and the threshold ending point meets a predetermined number, and the numerical value of the threshold starting point and the numerical value of the threshold ending point continuously alternate positive and negative, it is determined that the scanner is at the predetermined time Continuous movement during the cycle.
  5. 根据权利要求4所述的方法,其中,在确定每个所述角速度分量超过所述预定阈值的阈值起始点和阈值终止点之后,所述方法还包括:The method according to claim 4, wherein, after determining a threshold starting point and a threshold ending point at which each of the angular velocity components exceeds the predetermined threshold, the method further comprises:
    基于相邻的所述阈值终止点与所述阈值起始点之间的所述角速度分量进行单调性判断;Making a monotonicity judgment based on the angular velocity component between the adjacent threshold end point and the threshold starting point;
    根据所述单调性判断结果,确定所述扫描仪的运动是否连续。According to the monotonicity judgment result, it is determined whether the motion of the scanner is continuous.
  6. 根据权利要求2所述的方法,其中,判断所述动作信息是否属于指向动作包括:The method according to claim 2, wherein determining whether the action information belongs to a pointing action comprises:
    判断所述菜单界面是否已被触发;Determine whether the menu interface has been triggered;
    在所述菜单界面已被触发的情况下,根据至少一个所述角速度分量确定所述指向动作的指示方向;In the case that the menu interface has been triggered, determining the indication direction of the pointing action according to at least one of the angular velocity components;
    根据所述指示方向在所述菜单界面中选择所述菜单项。Select the menu item in the menu interface according to the indication direction.
  7. 根据权利要求6所述的方法,其中,根据至少一个所述角速度分量确定所述指向动作的指示方向包括:The method according to claim 6, wherein determining the indication direction of the pointing action according to at least one of the angular velocity components comprises:
    根据持续记录的至少一个所述角速度分量确定至少一个运动方向的运动幅度,其中,所述运动方向包括所述扫描仪绕x轴、y轴或z轴运动的方向;Determining the motion amplitude of at least one motion direction according to at least one of the angular velocity components continuously recorded, wherein the motion direction includes the direction in which the scanner moves around the x-axis, the y-axis, or the z-axis;
    确定所述运动幅度的最大值对应的所述运动方向为指示方向。It is determined that the movement direction corresponding to the maximum value of the movement amplitude is an indication direction.
  8. 根据权利要求6所述的方法,其中,所述菜单界面包括:选择光标和至少一个所述菜单项,根据所述指示方向在所述菜单界面中选择所述菜单项包括:The method according to claim 6, wherein the menu interface comprises: a selection cursor and at least one of the menu items, and selecting the menu item in the menu interface according to the indication direction comprises:
    根据所述指示方向控制所述选择光标与至少一个所述菜单项之间的落入关系;Controlling the falling relationship between the selection cursor and at least one of the menu items according to the indication direction;
    根据确定指令选中所述选择光标所落入的所述菜单项,其中,所述确定指令由所述选择光标落入的时间长度触发,或由特定动作触发。The menu item into which the selection cursor falls is selected according to a determination instruction, wherein the determination instruction is triggered by the length of time the selection cursor falls, or is triggered by a specific action.
  9. 根据权利要求1至8中任一项所述的方法,其中,所述菜单界面包括多个所述菜单项,多个所述菜单项排列方案包括以下之一:8. The method according to any one of claims 1 to 8, wherein the menu interface includes a plurality of the menu items, and the plurality of menu item arrangement schemes include one of the following:
    多个所述菜单项顺序排列,其中,所述顺序排列至少包括横向顺序排列和纵向顺序排列;A plurality of the menu items are arranged in order, wherein the order arrangement includes at least a horizontal order arrangement and a vertical order arrangement;
    多个所述菜单项在横竖两个方向按网格状排列;A plurality of said menu items are arranged in a grid in both horizontal and vertical directions;
    多个所述菜单项按照环形分层排布,其中,所述环形的中心为至少一个所述菜单项的圆形区域,所述圆形区域外由至少一个所述菜单项环形围绕;The plurality of menu items are arranged hierarchically in a ring, wherein the center of the ring is a circular area of at least one of the menu items, and the outside of the circular area is surrounded by at least one of the menu items in a ring;
    多个所述菜单项按照环形单层排布,其中,每个所述菜单项的形状包括圆形、环形和方形。The plurality of the menu items are arranged in a circular single layer, wherein the shape of each of the menu items includes a circle, a circle, and a square.
  10. 一种扫描仪的控制装置,包括:A control device for a scanner includes:
    第一检测单元,设置为检测扫描仪的动作信息;The first detection unit is configured to detect the action information of the scanner;
    判断单元,设置为判断所述动作信息是否属于触发动作,其中,所述触发动作用于触发展示所述扫描仪的菜单界面;A judging unit, configured to judge whether the action information belongs to a trigger action, wherein the trigger action is used to trigger the display of the menu interface of the scanner;
    第二检测单元,设置为在基于所述触发动作展示所述菜单界面后,继续检测所述动作信息,并判断所述动作信息是否属于指向动作,其中,所述指向动作用于选择所述菜单界面中的菜单项;The second detection unit is configured to continue to detect the action information after displaying the menu interface based on the trigger action, and determine whether the action information belongs to a pointing action, wherein the pointing action is used to select the menu Menu items in the interface;
    控制单元,设置为基于所述触发动作和所述指向动作,控制所述扫描仪。The control unit is configured to control the scanner based on the trigger action and the pointing action.
  11. 一种扫描仪,包括:A scanner including:
    惯性测量传感器,设置为采集动作信息;Inertial measurement sensor, set to collect action information;
    处理设备,与所述惯性测量传感器通信,设置为接收所述动作信息;判断所述动作信息是否属于触发动作;在基于所述触发动作展示菜单界面后,继续接收所述动作信息,并判断所述动作信息是否属于指向动作;基于所述触发动作展示所述扫描仪的菜单界面,基于所述指向动作选择所述菜单界面中的菜单项,控制所述扫描仪。The processing device communicates with the inertial measurement sensor and is configured to receive the action information; determine whether the action information is a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information, and determine Whether the action information belongs to a pointing action; displaying a menu interface of the scanner based on the trigger action, selecting a menu item in the menu interface based on the pointing action, and controlling the scanner.
  12. 一种扫描仪的控制系统,包括:A scanner control system, including:
    扫描仪,设置为采集动作信息;Scanner, set to collect action information;
    计算机,与所述扫描仪通信,设置为接收所述动作信息;判断所述动作信息是否属于触发动作;在基于所述触发动作展示菜单界面后,继续接收所述动作信息,并判断所述动作信息是否属于指向动作;基于所述触发动作展示所述扫描仪的菜单界面,基于所述指向动作选择所述菜单界面中的菜单项,控制所述扫描仪。The computer communicates with the scanner and is configured to receive the action information; determine whether the action information is a trigger action; after displaying the menu interface based on the trigger action, continue to receive the action information and determine the action Whether the information belongs to a pointing action; displaying the menu interface of the scanner based on the trigger action, selecting a menu item in the menu interface based on the pointing action, and controlling the scanner.
  13. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序执行权利要求1至9中任意一项所述的扫描仪的控制方法。A storage medium including a stored program, wherein the program executes the scanner control method according to any one of claims 1 to 9.
  14. 一种处理器,所述处理器设置为运行程序,其中,所述程序运行时执行权利要求1至9中任意一项所述的扫描仪的控制方法。A processor configured to run a program, wherein the scanner control method according to any one of claims 1 to 9 is executed when the program is running.
PCT/CN2020/122887 2019-11-13 2020-10-22 Scanner and operation method, apparatus and system therefor, and storage medium and processor WO2021093543A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911108260.X 2019-11-13
CN201911108260.XA CN110859640A (en) 2019-11-13 2019-11-13 Scanner, operation method, device and system thereof, storage medium and processor

Publications (1)

Publication Number Publication Date
WO2021093543A1 true WO2021093543A1 (en) 2021-05-20

Family

ID=69653950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/122887 WO2021093543A1 (en) 2019-11-13 2020-10-22 Scanner and operation method, apparatus and system therefor, and storage medium and processor

Country Status (2)

Country Link
CN (1) CN110859640A (en)
WO (1) WO2021093543A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110859640A (en) * 2019-11-13 2020-03-06 先临三维科技股份有限公司 Scanner, operation method, device and system thereof, storage medium and processor
CN112506397A (en) * 2020-11-17 2021-03-16 武汉中观自动化科技有限公司 Method and system for intelligent key information interaction of laser scanner

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1295419A (en) * 1999-11-03 2001-05-16 摩托罗拉公司 Device and method for selecting user interface option on portable electronic equipment
CN101626429A (en) * 2008-07-07 2010-01-13 Lg电子株式会社 Mobile terminal and method of controlling a mobile terminal
CN102265242A (en) * 2008-10-29 2011-11-30 因文森斯公司 Controlling and accessing content using motion processing on mobile devices
CN103339468A (en) * 2010-12-06 2013-10-02 3形状股份有限公司 System with 3D user interface integration
CN103365567A (en) * 2012-03-31 2013-10-23 三星电子(中国)研发中心 3D-UI operation method and device based on acceleration inductor
WO2014082753A2 (en) * 2012-12-01 2014-06-05 Gspi B.V. A device, a method and a server for retrieving information using a machine readable image
WO2018087363A1 (en) * 2016-11-11 2018-05-17 Ident-Ce Gbr Intraoral scanner and method for forming digital dental impressions in denstistry
CN110859640A (en) * 2019-11-13 2020-03-06 先临三维科技股份有限公司 Scanner, operation method, device and system thereof, storage medium and processor

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5572566A (en) * 1993-11-30 1996-11-05 J. Morita Manufacturing Corporation X-ray imaging apparatus and X-ray generation detector for activating the same
CN102343159B (en) * 2010-08-02 2015-10-07 廖明忠 A kind of body sense control method based on IMU and device
CN102364422B (en) * 2011-06-28 2015-11-18 广州市动景计算机科技有限公司 For by the method for action induction activation manipulation menu, device and mobile terminal
CN103892851B (en) * 2012-12-27 2019-09-20 上海联影医疗科技有限公司 Interface control method and device, digital photographic systems
EP3160356A4 (en) * 2014-06-25 2018-01-24 Carestream Dental Technology Topco Limited Intra-oral imaging using operator interface with gesture recognition
US10108269B2 (en) * 2015-03-06 2018-10-23 Align Technology, Inc. Intraoral scanner with touch sensitive input
KR102377484B1 (en) * 2015-04-20 2022-03-22 주식회사 바텍 X-ray generating device having motionsensor and method for x-ray imaging using the same
CN105534538A (en) * 2016-02-04 2016-05-04 上海瀚信机械加工有限公司 Novel medical X-ray machine and method for controlling X-ray machine hanging bracket with gestures
CN106843495A (en) * 2017-02-17 2017-06-13 深圳大学 A kind of Intelligent bracelet and its control method
US20200022788A1 (en) * 2017-03-20 2020-01-23 3Shape A/S 3d scanner system with handheld scanner
CN107550509A (en) * 2017-10-16 2018-01-09 合肥工业大学 A kind of X-ray machine imaging triggering method based on the detection of contactless breathing pattern
CN110378566B (en) * 2019-06-19 2023-08-25 中国平安财产保险股份有限公司 Information checking method, device, storage medium and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1295419A (en) * 1999-11-03 2001-05-16 摩托罗拉公司 Device and method for selecting user interface option on portable electronic equipment
CN101626429A (en) * 2008-07-07 2010-01-13 Lg电子株式会社 Mobile terminal and method of controlling a mobile terminal
CN102265242A (en) * 2008-10-29 2011-11-30 因文森斯公司 Controlling and accessing content using motion processing on mobile devices
CN103339468A (en) * 2010-12-06 2013-10-02 3形状股份有限公司 System with 3D user interface integration
CN103365567A (en) * 2012-03-31 2013-10-23 三星电子(中国)研发中心 3D-UI operation method and device based on acceleration inductor
WO2014082753A2 (en) * 2012-12-01 2014-06-05 Gspi B.V. A device, a method and a server for retrieving information using a machine readable image
WO2018087363A1 (en) * 2016-11-11 2018-05-17 Ident-Ce Gbr Intraoral scanner and method for forming digital dental impressions in denstistry
CN110859640A (en) * 2019-11-13 2020-03-06 先临三维科技股份有限公司 Scanner, operation method, device and system thereof, storage medium and processor

Also Published As

Publication number Publication date
CN110859640A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
US9323343B2 (en) Information processing method and information processing apparatus
US10057484B1 (en) Method and apparatus for activating a hardware feature of an electronic device
US9600078B2 (en) Method and system enabling natural user interface gestures with an electronic system
CN103576857B (en) Stare the fast wake-up of tracking system
JP5675627B2 (en) Mobile device with gesture recognition
TWI464640B (en) Gesture sensing apparatus and electronic system having gesture input function
WO2021093543A1 (en) Scanner and operation method, apparatus and system therefor, and storage medium and processor
CN104049734B (en) The method and apparatus for contacting display graphic user interface based on user
EP2649409B1 (en) System with 3d user interface integration
US8933882B2 (en) User centric interface for interaction with visual display that recognizes user intentions
KR102109407B1 (en) Smart watch and method for controlling thereof
US9348466B2 (en) Touch discrimination using fisheye lens
JP6062416B2 (en) Information input device and information display method
JP2013143148A (en) Touch free operation of devices by use of depth sensors
WO2014169658A1 (en) Alarm method and device
JP2017525411A (en) Intraoral imaging using an operator interface with gesture recognition
CN108174014A (en) A kind of screenshotss method and device
US11071372B2 (en) System and method for detecting movement of a user of an oral health care device and providing feedback
US20140059489A1 (en) Rotate Gesture
CN108369447A (en) The method and apparatus for controlling wearable electronic operating status
CN107347140B (en) A kind of image pickup method, mobile terminal and computer readable storage medium
TWI515595B (en) Handheld electronic device and method for entering password thereof
JP6008904B2 (en) Display control apparatus, display control method, and program
JP2016115310A (en) Electronic apparatus
CN114168034A (en) Menu operation method applied to head-mounted display equipment and head-mounted display equipment

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: 20887194

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20887194

Country of ref document: EP

Kind code of ref document: A1