Disclosure of Invention
The invention aims to provide a cloud computing three-dimensional image processing interaction system.
The technical problem to be solved by the invention is as follows:
(1) How to reasonably display the size of the three-dimensional image and the size of the playing sound according to the position of an observer;
(2) How to improve the interactivity with three-dimensional image processing and delete the unusual interactive instructions.
The purpose of the invention can be realized by the following technical scheme: a cloud computing three-dimensional image processing interaction system comprises a three-dimensional image module, a three-dimensional modeling module, a processor, a database, a display module, a data acquisition module, an analysis module, an adjustment module, an interaction module, a sound computing module and a sound playing module;
the three-dimensional image module is used for acquiring three-dimensional image data; the three-dimensional image data includes a three-dimensional image and a sound corresponding to the three-dimensional image; the three-dimensional image module sends the acquired three-dimensional image data to the three-dimensional modeling module; the three-dimensional modeling module is used for forming a three-dimensional image model from the three-dimensional image data and sending the three-dimensional image model to the processor; the processor receives the three-dimensional image model sent by the three-dimensional modeling module and sends the three-dimensional image model to the database and the display module; the database receives and stores the three-dimensional image model sent by the processor; the display module receives and displays the three-dimensional image model sent by the processor;
the data acquisition module is used for acquiring observer information; the observer information comprises the distance of the eyes of an observer watching the display module, the time of watching the display module and the vision value of the observer; the data acquisition module transmits the acquired observer information to the processor; the processor receives observer information and sends the observer information to the analysis module; the analysis module is used for analyzing and calculating the display value of the three-dimensional image model in the display module according to the observer information, and the specific analysis steps of the analysis module are as follows:
the method comprises the following steps: setting the distance of the eyes of an observer viewing the display module as Ai, i =1 \ 8230 \8230; (n); the time for watching the display module is marked as Ti, i =1 \8230, 8230n; the vision value of the observer is recorded as Yi, i =1 \ 8230, n;
step two: using a formula
Obtaining a model display value Di, wherein the model display value is represented by the display size of the three-dimensional image model in the display module, and the larger the model display value is, the larger the display of the three-dimensional image model in the display module is; wherein u1, u2, u3 and u4 are preset proportionality coefficients; g is an error value of the data acquisition module; observation of observerThe farther the distance of the display module is seen, the larger the model display value is; the longer the time for viewing the display module is, the larger the model display value is; the smaller the vision value of the observer is, the larger the model display value is;
the analysis module sends the calculated model display value to the adjustment module; the adjusting module adjusts the display value of the three-dimensional image model in the display module according to the model display value;
preferably, the data acquisition module further comprises a hearing acquisition unit; the hearing acquisition unit is used for acquiring a hearing loss value of an observer, and the hearing acquisition unit transmits the acquired hearing loss value and the distance from the eyes of the observer to the display module to the sound calculation module; the sound calculation module is used for calculating a sound playing decibel value, and specifically comprises the following calculation steps:
s1: setting a hearing loss value as Ei, i =1 \8230, 8230n;
s2: obtaining a sound playing decibel value Fi by using a formula Fi = Ai X z1+ Ei X z2+ X, wherein z1 and z2 are preset proportionality coefficients; x is a corrected preset value; the farther the observer watches the display module, the larger the sound playing decibel value is, the larger the sound playing is; the larger the hearing loss value is, the larger the sound playing decibel value is;
the sound calculation module sends the calculated sound playing decibel value to the sound playing module; the sound playing module is used for playing the sound corresponding to the three-dimensional image and adjusting the sound playing size according to the sound playing decibel value;
preferably, the interaction module is used for inputting instructions and generating corresponding control signals; the control signal is used for controlling the three-dimensional image model to perform control operation; the instructions comprise voice instructions and gesture instructions; the interaction module specifically comprises the following working steps:
the method comprises the following steps: capturing an input instruction of a user;
step two: comparing the captured instruction with a comparison instruction;
step three: if the instruction comparison is successful, executing a control signal corresponding to the comparison instruction;
preferably, the database comprises a storage unit, a statistical unit and a deletion unit; the storage unit is used for storing the comparison instruction and the control signal corresponding to the comparison instruction; the statistical unit is used for counting the execution times of the comparison instruction and the execution interval time of two adjacent times of the same comparison instruction; the deleting unit is used for deleting the comparison instruction, and the specific deleting steps are as follows:
the method comprises the following steps: setting the execution times of the comparison instruction as Pi, i =1 \ 8230, wherein \ 8230n; the sum of the execution interval time of two adjacent comparison instructions is recorded as Hi, i =1 \8230;, n;
step two: obtaining a deletion value Si by using a formula Si = [ 10/(Pi + 1) ] -v 1+ Hi × v2, wherein v1 and v2 are preset fixed values; the smaller the execution times of the comparison instruction is, the larger the deletion value Si is; the longer the sum of the execution interval time of two adjacent times of the same comparison instruction is, the larger the deletion value Si is;
step three: setting a deletion value threshold value as SA; when Si is greater than SA, deleting the comparison instruction;
preferably, the database further comprises an accumulation unit and a calculation unit; the accumulation unit is used for counting the times and the total electrifying time for the data acquisition module to acquire the information of the observer and the hearing loss value; the calculation unit is used for calculating the error value of the data acquisition module, and the specific calculation steps are as follows:
the method comprises the following steps: setting the number of times of statistics of the accumulation unit as Ki, i =1 \8230, 8230n; the total electrifying time is recorded as Li, i =1 \8230, 8230, n;
step two: judging the times counted by the accumulation unit and the total electrifying time; setting a time threshold value as Kb; the time threshold is recorded as Lb;
step three: when Ki is greater than Kb and Li is greater than Lb, calculating an error value G of the data acquisition module;
step four: obtaining an error value G by using a formula G = (Ki-Kb-50) × 1+ Li × 2; wherein x1 and x2 are preset proportionality coefficients, and 50 is a correction factor; the longer the electrifying time is, the larger the error value G is; the more times used, the larger the error value.
The invention has the beneficial effects that:
(1) The three-dimensional image data acquisition system is used for acquiring three-dimensional image data through the three-dimensional image module and sending the three-dimensional image data to the three-dimensional modeling module; then, three-dimensional image data are formed into a three-dimensional image model through a three-dimensional modeling module, and the three-dimensional image model is sent to a processor; then, the model is displayed on a display module, and an analysis module adjusts and adjusts the display value of the model according to the distance of the eyes of an observer watching the display module, the time of watching the display module and the vision value of the observer, so that the model is always kept in a reasonable display size along with the movement of the observer, and the size of the observer observing the model is optimal;
(2) The invention utilizes formula
Obtaining a model display value Di, wherein the model display value is represented by the display size of the three-dimensional image model in the display module, and the larger the model display value is, the larger the display of the three-dimensional image model in the display module is; the farther the observer watches the display module, the larger the model display value is; the longer the time for viewing the display module is, the larger the model display value is; the smaller the vision value of the observer is, the larger the model display value is;
(3) The sound playing decibel value Fi is obtained by utilizing a formula Fi = Ai X z1+ Ei X z2+ X, and the farther the distance of an observer watching the display module is, the larger the sound playing decibel value is; the larger the hearing loss value is, the larger the sound playing decibel value is; thereby ensuring reasonable sound playing;
(4) The interactive module is used for inputting instructions and generating corresponding control signals; the control signal is used for controlling the three-dimensional image model to perform control operation; capturing an input instruction of a user; comparing the captured instruction with a comparison instruction; if the instruction comparison is successful, executing a control signal corresponding to the comparison instruction; the database comprises a storage unit, a statistical unit and a deletion unit; the deleting unit is used for deleting the comparison instruction, a deleting value Si is obtained by using a formula Si = [ 10/(Pi + 1) ] + v1+ Hi × v2, and the deleting value Si is larger when the execution times of the comparison instruction is smaller; the longer the sum of the execution interval time of two adjacent times of the same comparison instruction is, the larger the deletion value Si is; thereby deleting the unusual compare instruction;
(5) The calculating unit is used for calculating the error value of the data acquisition module, and the times counted by the accumulating unit and the total electrifying time are judged; when Ki is greater than Kb and Li is greater than Lb, calculating an error value G of the data acquisition module; obtaining an error value G by using a formula G = (Ki-Kb-50) × 1+ Li × 2; the longer the electrifying time is, the larger the error value G is; the more times used, the larger the error value.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the invention relates to a cloud computing three-dimensional image processing interaction system, which comprises a three-dimensional image module, a three-dimensional modeling module, a processor, a database, a display module, a data acquisition module, an analysis module, an adjustment module, an interaction module, a sound computing module and a sound playing module;
the three-dimensional image module is used for acquiring three-dimensional image data; the three-dimensional image data includes a three-dimensional image and a sound corresponding to the three-dimensional image; the three-dimensional image module sends the acquired three-dimensional image data to the three-dimensional modeling module; the three-dimensional modeling module is used for forming a three-dimensional image model from the three-dimensional image data and sending the three-dimensional image model to the processor; the processor receives the three-dimensional image model sent by the three-dimensional modeling module and sends the three-dimensional image model to the database and the display module; the database receives and stores the three-dimensional image model sent by the processor; the display module receives and displays the three-dimensional image model sent by the processor;
the data acquisition module is used for acquiring observer information; the observer information includes a distance of the observer's eyes viewing the display module, a time of viewing the display module, and an observer's eyesight value; the data acquisition module sends the acquired observer information to the processor; the processor receives the observer information and sends the observer information to the analysis module; the analysis module is used for analyzing and calculating the display value of the three-dimensional image model in the display module according to the observer information, and the specific analysis steps of the analysis module are as follows:
the method comprises the following steps: setting the distance of the eyes of an observer viewing the display module as Ai, i =1 \ 8230 \8230; (n); the time for viewing the display module is recorded as Ti, i =1 \ 8230 \8230; (n); the vision value of the observer is recorded as Yi, i =1 \ 8230, n;
step two: using formulas
Obtaining a model display value Di, wherein the model display value is represented by the display size of the three-dimensional image model in the display module, and the larger the model display value is, the larger the three-dimensional image model is displayed in the display module; wherein u1, u2, u3 and u4 are preset proportionality coefficients; g is an error value of the data acquisition module; the farther an observer watches the display module, the larger the model display value; the longer the time for viewing the display module is, the larger the model display value is; the smaller the vision value of the observer is, the larger the model display value is;
the analysis module sends the calculated model display value to the adjustment module; the adjusting module adjusts the display value of the three-dimensional image model in the display module according to the model display value;
the data acquisition module also comprises a hearing acquisition unit; the hearing acquisition unit is used for acquiring a hearing loss value of an observer, and the hearing acquisition unit transmits the acquired hearing loss value and the distance between the eyes of the observer watching the display module to the sound calculation module; the hearing loss value ranges from 0 decibel to 60 decibels; wherein, the hearing loss value is less than or equal to 25 decibels and is normal; the hearing loss value is between 26 and 40 decibels and is mild hearing loss; the hearing loss value is between 41 and 60 decibels, and the hearing loss is moderate; the sound calculation module is used for calculating a sound playing decibel value, and specifically comprises the following calculation steps:
s1: setting a hearing loss value as Ei, i =1 \8230, 8230n;
s2: obtaining a sound playing decibel value Fi by using a formula Fi = Ai X z1+ Ei X z2+ X, wherein z1 and z2 are preset proportionality coefficients; x is a corrected preset value; the farther the observer watches the display module, the larger the sound playing decibel value is, the larger the sound playing is; the larger the hearing loss value is, the larger the sound playing decibel value is;
the sound calculation module sends the calculated sound playing decibel value to the sound playing module; the sound playing module is used for playing the sound corresponding to the three-dimensional image and adjusting the sound playing size according to the sound playing decibel value;
the interaction module is used for inputting instructions and generating corresponding control signals; the control signal is used for controlling the three-dimensional image model to perform control operation; the instructions comprise voice instructions and gesture instructions; the interaction module specifically comprises the following working steps:
the method comprises the following steps: capturing an input instruction of a user;
step two: comparing the captured instruction with a comparison instruction;
step three: if the instruction comparison is successful, executing a control signal corresponding to the comparison instruction;
the database comprises a storage unit, a statistical unit and a deletion unit; the storage unit is used for storing the comparison instruction and the control signal corresponding to the comparison instruction; the counting unit is used for counting the execution times of the comparison instruction and the execution interval time of two adjacent times of the same comparison instruction; the deleting unit is used for deleting the comparison instruction, and the specific deleting steps are as follows:
the method comprises the following steps: setting the execution times of the comparison instruction as Pi, i =1 \ 8230 \8230;/8230; the sum of the execution interval time of two adjacent comparison instructions is recorded as Hi, i =1 \8230;, n;
step two: obtaining a deletion value Si by using a formula Si = [ 10/(Pi + 1) ] -v 1+ Hi × v2, wherein v1 and v2 are preset fixed values; the smaller the execution times of the comparison instruction is, the larger the deletion value Si is; the longer the sum of the execution interval time of two adjacent times of the same comparison instruction is, the larger the deletion value Si is;
step three: setting a deletion value threshold value as SA; when Si is greater than SA, deleting the comparison instruction;
the database also comprises an accumulation unit and a calculation unit; the accumulation unit is used for counting the times and the total electrifying time for the data acquisition module to acquire the information of the observer and the hearing loss value; the total power-on time is the sum of the time from power-on to power-off of the data acquisition module; the calculating unit is used for calculating an error value of the data acquisition module, and comprises the following specific calculating steps:
the method comprises the following steps: setting the number of times of statistics of the accumulation unit as Ki, i =1 \8230, 8230n; the total electrifying time is recorded as Li, i =1 \8230, 8230n;
step two: judging the times counted by the accumulation unit and the total electrifying time; setting a time threshold value as Kb; the time threshold is recorded as Lb;
step three: when Ki is greater than Kb and Li is greater than Lb, calculating an error value G of the data acquisition module;
step four: obtaining an error value G by using a formula G = (Ki-Kb-50) × 1+ Li × 2; wherein x1 and x2 are preset proportionality coefficients, and 50 is a correction factor; the longer the electrifying time is, the larger the error value G is; the more times used, the larger the error value.
The working principle of the invention is as follows: the three-dimensional image module is used for acquiring three-dimensional image data and sending the three-dimensional image data to the three-dimensional modeling module; then, three-dimensional image data are formed into a three-dimensional image model through a three-dimensional modeling module, and the three-dimensional image model is sent to a processor; then, the model is displayed on a display module, and an analysis module adjusts and adjusts the display value of the model according to the distance of the eyes of an observer watching the display module, the time of watching the display module and the vision value of the observer, so that the model is always kept in a reasonable display size along with the movement of the observer, and the size of the observer observing the model is optimal; using a formula
Obtaining a model display value Di, wherein the model display value is represented by the display size of the three-dimensional image model in the display module, and the larger the model display value is, the larger the three-dimensional image model is displayed in the display module; the farther the observer watches the display module, the larger the model display value is; the longer the time for viewing the display module is, the larger the model display value is; the smaller the vision value of the observer is, the larger the model display value is; the sound calculation module is used for calculating a sound playing decibel value, and obtaining the sound playing decibel value Fi by utilizing a formula Fi = Ai X z1+ Ei X z2+ X, wherein z1 and z2 are preset proportionality coefficients; x is a corrected preset value; the farther the observer watches the display module, the larger the sound playing decibel value is, the larger the sound playing is; the larger the hearing loss value is, the larger the sound playing decibel value is; thereby ensuring reasonable sound playing; the interaction module is used for inputting instructions and generating corresponding control signals; the control signal is used for controlling the three-dimensional image model to perform control operation; capturing an input instruction of a user; comparing the captured instruction with a comparison instruction; if the instruction comparison is successful, executing a control signal corresponding to the comparison instruction; the database comprises a storage unit, a statistical unit and a deletion unit; the deleting unit is used for deleting the comparison instruction by using a formula Si = [ 10/(Pi + 1)]* v1+ Hi x v2 obtains a deletion value Si, and the smaller the execution times of the comparison instruction, the larger the deletion value Si; the longer the sum of the execution interval time of two adjacent times of the same comparison instruction is, the larger the deletion value Si is; thereby deleting the unusual compare instruction; the calculating unit is used for calculating the error value of the data acquisition module and judging the times counted by the accumulating unit and the total electrifying time; when Ki is>Kb,Li>When Lb, calculating an error value G of the data acquisition module; obtaining an error value G by using a formula G = (Ki-Kb-50) × 1+ Li × 2; the longer the electrifying time is, the larger the error value G is; the more times used, the larger the error value.
The foregoing is merely exemplary and illustrative of the present invention and various modifications, additions and substitutions may be made by those skilled in the art to the specific embodiments described without departing from the scope of the invention as defined in the following claims.