Data processing device, scanner, and method for operating same
Provided are a data processing device, a scanner, operating methods thereof, and computer-readable storage media having stored thereon programs for performing the operating methods. The data processing device includes a display, a communication interface, a memory storing one or more instructions, and a processor configured to execute the one or more instructions to control the communication interface to receive, from a scanner, scan data of an object obtained by scanning the object, control the display to display an image corresponding to three-dimensional data generated based on the scan data, while the image is displayed, control the communication interface to receive, from the scanner, a control signal generated according to a user input detected through one or more user interfaces of the scanner, perform a function of adjusting the generated three-dimensional data according to the control signal, and control the display to display the image, based on the adjusted three-dimensional data.
1 . A data processing device comprising:
a display;
a communication interface;
a memory storing one or more instructions; and
a processor configured to execute the one or more instructions to:
control the communication interface to receive, from a scanner, scan data of an object obtained by scanning the object;
control the display to display an image corresponding to three-dimensional data generated based on the scan data;
control the communication interface to receive, from the scanner, a control signal generated according to a user input detected through one or more user interfaces of the scanner, while the image is displayed;
obtain adjusted three-dimensional data which is adjusted based on frames excluding one or more frames which are hidden among the frames, by hiding one or more frames among the frames forming the three-dimensional data, based on the control signal, or obtain the adjusted three-dimensional data which is adjusted based on frames including one or more frames which are restored, by restoring the one or more hidden frames, based on the control signal; and
control the display to display the image, based on the adjusted three-dimensional data.
2 . The data processing device of claim 1 , wherein
the processor is further configured to execute the one or more instructions to:
based on the control signal corresponding to an undo command, hide a predefined number of frames that are most recently input from among frames constituting the three-dimensional data.
3 . The data processing device of claim 2 , wherein
the processor is further configured to execute the one or more instructions to:
based on the control signal corresponding to a redo command, restore the predefined number of frames that are most recently hidden.
4 . The data processing device of claim 3 , wherein
the processor is further configured to execute the one or more instructions to:
based on the control signal corresponding to a locking command, finalize the three-dimensional data, based on the three-dimensional data in a current state, such that the hiding or restoring is no longer allowed.
5 . The data processing device of claim 1 , wherein
the processor is further configured to execute the one or more instructions to:
control the display to display, on a sub screen, a first image corresponding to first three-dimensional data generated based on scan data corresponding to a first region of the object;
control the display to display, on a main screen, a second image corresponding to second three-dimensional data generated based on scan data corresponding to a second region of the object, the second region being spaced apart from the first region;
perform a function of adjusting the second three-dimensional data corresponding to the second image displayed on the main screen, according to a control signal received from the scanner; and
control the display to display the second image, based on the adjusted second three-dimensional data.
6 . The data processing device of claim 5 , wherein
the processor is further configured to execute the one or more instructions to
set a locking function on the first three-dimensional data corresponding to the first image displayed on the sub screen, the locking function ensuring that a data adjustment function is not performed.
7 . The data processing device of claim 5 , wherein
the processor is further configured to execute the one or more instructions to:
when all pieces of the second three-dimensional data are hidden according to an operation of hiding a predefined number of frames that are most recently input from among frames constituting the second three-dimensional data, based on the control signal corresponding to an undo command, control the display to display, on the main screen, the first image corresponding to the first three-dimensional data, the first image corresponding to the sub screen.
8 . An operating method of a data processing device, the operating method comprising:
receiving, from a scanner, scan data of an object obtained by scanning the object;
displaying an image corresponding to three-dimensional data generated based on the scan data;
while the image is displayed, receiving, from the scanner, a control signal generated according to a user input detected through one or more user interfaces of the scanner;
obtaining adjusted three-dimensional data which is adjusted based on frames excluding one or more frames which are hidden among the frames, by hiding one or more frames among the frames forming the three-dimensional data, based on the control signal, or obtaining the adjusted three-dimensional data which is adjusted based on frames including one or more frames which are restored, by restoring the one or more hidden frames, based on the control signal; and
displaying the image, based on the adjusted three-dimensional data.
9 . The operating method of claim 8 , further comprising,
based on the control signal corresponding to an undo command, hiding a predefined number of frames that are most recently input from among frames constituting the three-dimensional data.
10 . The operating method of claim 9 , further comprising,
based on the control signal corresponding to a redo command, restoring the predefined number of frames that are most recently hidden.
11 . The operating method of claim 10 , further comprising,
based on the control signal corresponding to a locking command, finalizing the three-dimensional data, based on the three-dimensional data in a current state, such that the hiding or the restoring is no longer allowed.
12 . The operating method of claim 8 , further comprising:
displaying, on a sub screen, a first image corresponding to first three-dimensional data generated based on scan data corresponding to a first region of the object;
displaying, on a main screen, a second image corresponding to second three-dimensional data generated based on scan data corresponding to a second region of the object, the second region being spaced apart from the first region;
performing a function of adjusting the second three-dimensional data corresponding to the second image displayed on the main screen, according to a control signal received from the scanner; and
displaying the second image, based on the adjusted second three-dimensional data.
13 . The operating method of claim 12 , further comprising
setting a locking function on the first three-dimensional data corresponding to the first image displayed on the sub screen, the locking function ensuring that a data adjustment function is not performed.
14 . The operating method of claim 12 , further comprising,
when all pieces of the second three-dimensional data are hidden according to an operation of hiding a predefined number of frames that are most recently input from among frames constituting the second three-dimensional data, based on the control signal corresponding to an undo command, displaying, on the main screen, the first image corresponding to the first three-dimensional data, the first image corresponding to the sub screen.
15 . A computer-readable recording medium having recorded thereon one or more programs executed by a processor of a data processing device to implement an operating method of the data processing device,
wherein the operating method of the data processing device comprises:
receiving, from a scanner, scan data of an object obtained by scanning the object;
displaying an image corresponding to three-dimensional data generated based on the scan data;
receiving, from the scanner, a control signal generated according to a user input detected through one or more user interfaces of the scanner, while the image is displayed;
obtaining adjusted three-dimensional data which is adjusted based on frames excluding one or more frames which are hidden among the frames, by hiding one or more frames among the frames forming the three-dimensional data, based on the control signal, or obtaining the adjusted three-dimensional data which is adjusted based on frames including one or more frames which are restored, by restoring the one or more hidden frames, based on the control signal; and
displaying the image, based on the adjusted three-dimensional data.