Digitization-based animal helmet 3D simulation system and method
Through the digital animal helmet 3D simulation system, combined with full-angle dynamic shooting and nuclear magnetic data, high-precision animal helmet 3D simulation and brain area positioning are achieved, solving the problems of low accuracy and insufficient efficiency in the existing technology, and improving magnetic stimulation treatment effect.
Patent Information
- Application Number
- CN202410935297.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing animal helmet design relies on manual measurement, with low accuracy and low efficiency, and a lot of loss of depth information in 2D image reconstruction, resulting in inaccurate 3D simulation data.
The 3D simulation system of animal helmets is adopted based on digitalization, including user interface and interaction module, full-angle dynamic adjustment shooting measurement module, data storage and processing module and helmet 3D printing module, and 2D images and structural depth data are obtained through full-angle dynamic adjustment shooting. Combined with nuclear magnetic data to accurately locate the brain area, and use 3D printing technology to make helmets.
High-precision 3D simulation data acquisition of animal helmets is achieved, which improves the accuracy of brain area positioning, enhances the effect of magnetic stimulation treatment, and improves data acquisition efficiency through feedback mechanism and gradient descent method.
Smart Images

Figure CN118940471A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of animal helmet 3D simulation, and in particular to a digital-based animal helmet 3D simulation system and method. Background Art
[0002] Animal neuroregulation, such as transcranial electrophysiology, transcranial magnetic resonance imaging, or transcranial ultrasound, requires precise positioning of brain regions. However, currently, precise positioning of brain regions can only be achieved by relying on extremely expensive nuclear MRI or CT and a navigation system after robot registration. Designing a helmet that fits the animal's head and installing a treatment head is an excellent animal neuroregulation solution. However, existing animal helmet designs mostly rely on manual measurement, which is not very accurate and inefficient. Digital 3D simulation technology can provide high-precision helmet size data, but the existing system has limitations in shooting angles. Manually taken photos are prone to inconsistencies and incomplete angle coverage, resulting in inaccurate data for 3D simulation. Pure 2D images for 3D reconstruction lose a lot of depth information, which is a problem that needs to be solved urgently. Summary of the invention
[0003] The purpose of the present invention is to provide a digital-based 3D simulation system and method for animal helmets to solve the problems raised in the above-mentioned background technology.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a digital-based animal helmet 3D simulation system and method, including a user interface and interaction module, a full-angle dynamic adjustment shooting and measurement module, a data storage and processing module and a helmet 3D printing module.
[0005] The display and control module is used to set and adjust the parameters of the system, and to view the shooting progress, data processing status and system operation status in real time; the full-angle dynamic adjustment shooting measurement module is used to dynamically adjust and shoot the animal's head at all angles to obtain the animal's head 2D image and structural depth data for splicing 3D image data; the data storage and processing module is used to store and process the captured 2D image data and structural depth data to obtain the size of the animal's head, and simulate the position of the animal's brain area in combination with the MRI data of the animal's head to obtain the animal's helmet 3D simulation data for modeling and simulation. The animal helmet 3D simulation data includes the position of the treatment head embedded structure corresponding to the brain area position and the position of the locator with the animal's head brow center position as the reference point; the helmet 3D printing module is used to model the animal helmet according to the animal helmet 3D simulation data, and then print out the required animal helmet.
[0006] Furthermore, the display and control module includes a display unit and a control unit; the display unit is used to monitor the system's shooting measurement angle, dynamic adjustment parameters, modeling data and simulation progress; the control unit is used to input system settings and parameters.
[0007] Furthermore, the full-angle dynamically adjusted shooting and measuring module includes a full-angle distribution unit, a shooting and measuring device and a dynamic adjustment unit; the full-angle distribution unit is used to distribute the shooting and measuring device at full angles on the adjustable frame according to the initial setting parameters input by the user; the shooting and measuring device is used to shoot and measure the animal's head; the dynamic adjustment unit is used to dynamically adjust the parameters of the shooting and measuring device according to the data feedback from the data storage and processing module; the shooting and measuring device includes a 2D image camera and a structured light depth camera.
[0008] Furthermore, the data storage and processing module includes a data storage unit, a data processing unit and a nuclear magnetic resonance data analysis and brain area simulation positioning unit; the data storage unit is used to receive and store all data of the full-angle dynamic adjustment shooting and measurement module, and all stored data will be transmitted to the data processing unit for processing; the data processing unit is used to receive the data in the data storage unit, and process the obtained 2D image data and structural depth data, and feed back the animal head size data that does not reach the user-set score to the dynamic adjustment unit, which analyzes and processes the dynamic adjustment unit and re-shoots it after dynamic adjustment, and sends the 3D data of the animal head size that reaches the user-set score to the nuclear magnetic resonance data analysis and brain area simulation positioning unit; the nuclear magnetic resonance data analysis and brain area simulation positioning unit is used to combine the received animal head 3D data and the animal head nuclear magnetic resonance data to accurately simulate the positioning of the animal's brain area, set a detachable treatment head embedded structure at the corresponding brain area position, and set a locator with the eyebrow center position of the animal's head as a reference point to generate complete animal helmet 3D data.
[0009] Furthermore, the helmet 3D printing module includes a modeling and simulation unit and a 3D printer; the modeling and simulation unit is used to receive 3D data of animal helmets and then perform modeling and simulation on the animal helmets to obtain a 3D helmet model for printing; the 3D printer prints the required animal helmet based on the obtained 3D helmet model.
[0010] Further, step S100: the user inputs the required animal head image clarity score, image coverage score and initial setting parameters through the control unit, and the control unit determines the initial position, initial horizontal angle, initial pitch angle and focal length of the photography and measurement device on the adjustable frame in combination with the initial setting parameters and the full angle distribution formula;
[0011] Step S200: The shooting and measuring module performs the initial shooting and measurement according to the initial parameter settings. The obtained 2D image data and structural depth data are collected and stored by the data storage unit and transmitted to the data processing unit. The data processing unit scores the initial data through a formula, and feeds back the animal head size data that does not reach the user-set score to the dynamic adjustment unit. The dynamic adjustment unit analyzes and processes the data and re-shoots the data after dynamic adjustment, and sends the 3D data of the animal head size that reaches the user-set score to the nuclear magnetic data analysis and brain area simulation positioning unit;
[0012] Step S300: The data processing unit splices the stored data to generate complete 3D model data; the MRI data analysis and brain area simulation positioning unit simulates and positions the animal brain area according to the processed data, and reserves a position for the treatment head embedding structure for installing the treatment head and a position for the locator for checking the wearing position after being installed on the animal's head;
[0013] Step S400: the modeling and simulation unit uses the processed 3D data to simulate and design a helmet model, and the 3D printer 3D prints the animal helmet according to the simulation model of the helmet.
[0014] Furthermore, step S100 includes:
[0015] Step S101: The user inputs the required animal head size accuracy score, the number of photographic measurement device groups a in the horizontal direction, the number of photographic measurement device groups b in the vertical direction, the initial radius R, and the initial focal length fi of the photographic measurement device determined by the initial radius R through the control unit. initial ; Set the formula according to the angle:
[0016]
[0017]
[0018] i initial =0°+i·ω1(i=1,2,3…a)
[0019] θi initial =0°+j·ω2(j=1,2,3…b)
[0020] Where ω1 is the angle between the photographing and measuring devices in the horizontal direction, ω2 is the angle between the photographing and measuring devices in the vertical direction, and the initial azimuth i initial is the initial angle of the i-th group of shooting and measuring devices in the horizontal direction, the initial pitch angle θi initial is the initial angle of the jth group of photographing and measuring devices in the vertical direction;
[0021] Determine the spacing angles of each set of photographic measuring devices in the horizontal and vertical directions;
[0022] Step S102: Establish a coordinate system with the head of the target animal to be photographed as the origin, and input the initial radius R, initial pitch angle θi initial , the initial azimuth is i initial and the initial focal length fi of the photogrammetric device determined by the initial radius R initial , through the initial position formula:
[0023] Xi=Rsin(θi initial )cos(i initial )
[0024] Yi=Rsin(θi initial )sin(i initial )
[0025] Zi=Rcos(θi initial )
[0026] Wherein Xi is the position of the camera measuring device on the X axis in the adjustable bracket, Yi is the position of the camera measuring device on the Y axis in the adjustable bracket, and Zi is the position of the camera measuring device on the Z axis in the adjustable bracket;
[0027] The photogrammetry device is installed at the target position of the adjustable frame, and the initial position and initial angle parameters are transmitted to the full-angle dynamic photogrammetry module.
[0028] Further, step S200 includes:
[0029] Step S201: the photographing and measuring device performs initial photographing at an initial position and an initial angle to obtain initial photographing data; the data storage unit stores all the initial photographing data after receiving them, and transmits them to the data processing unit;
[0030] Step S202: The data processing unit uses the image clarity scoring formula according to the initial shooting data:
[0031] C=σ 2 (L(I))
[0032] Where C is the image clarity score, σ 2 is the variance, L(I) is the Laplace transform of the image data;
[0033] Score the clarity of the initial capture data;
[0034] Image coverage scoring formula:
[0035]
[0036] Where O is the image coverage score, A headis the number of pixels occupied by the animal’s head in the entire image, A total is the pixel of the whole picture;
[0037] Score the coverage of the initial capture data;
[0038] After obtaining the image coverage score and image coverage score of the initial shooting data, the objective function is defined:
[0039] F=ω O ·(O t -O)+ω C ·(C t -C)
[0040] Where F is the difference between the user-set score and the processed shooting data score, ω o is the image clarity weight, ω C is the image coverage weight, O t Set the image clarity score for the user, C t Set image coverage scores for users;
[0041] When F=0, that is, O=O t ,C=C t Indicates that the clarity of the current image reaches the target value O t , the coverage reaches the target value C t ;
[0042] The obtained image data can be processed in the next step;
[0043] When F>0, it means that the coverage and clarity of the current image have not reached the target value, and the scoring data and the objective function F need to be fed back to the dynamic adjustment unit to dynamically adjust the parameters;
[0044] Step S203: Through the gradient formula:
[0045]
[0046]
[0047]
[0048]
[0049] Where VF represents the dynamically adjusted gradient, is the partial derivative of the pitch angle, is the partial derivative of the azimuth, is the partial derivative of focal length, and are partial derivatives obtained empirically and are constants;
[0050] Calculate the gradient;
[0051] By gradient descent method, adjust the parameters along the gradient direction:
[0052] Adjust the formula by pitch angle:
[0053]
[0054] where θi new is the adjusted pitch angle, α is the pitch angle adjustment step given according to the actual scene;
[0055] Adjust the pitch angle;
[0056] Adjust the formula by azimuth:
[0057]
[0058] where i new is the adjusted azimuth, β is the azimuth adjustment step size given according to the actual scenario;
[0059] Adjust the azimuth;
[0060] By adjusting the focal length formula:
[0061]
[0062] where fi new is the adjusted focal length, γ is the focal length adjustment step given according to the actual scene;
[0063] Adjust the focal length;
[0064] Step S204: the photographing and measuring device photographs according to the parameters adjusted by the dynamic adjustment unit until image data that reaches the score set by the user is obtained, and then proceeds to the next step of processing.
[0065] Furthermore, step S300 includes:
[0066] Step S301: the data storage unit stores all obtained 2D image data and structural depth data and transmits all data to the data processing unit;
[0067] Step S302: the data processing unit performs splicing and composite processing on the received 2D image data and the structural depth data to generate a complete 3D model of the animal head;
[0068] Step S303: The MRI data analysis and brain area simulation positioning unit accurately simulates and positions the animal's brain area based on the 3D model of the animal's head obtained after processing, combined with the MRI data of the animal's head. After the simulation is completed, the position of each treatment head embedded structure is determined in the brain model. These embedded structures correspond to specific brain areas and are used for accurate positioning to install the treatment head. At the same time, the animal's brow center is used as a reference point to generate a locator position for checking whether the wearing position is correct, and finally generate complete animal helmet 3D data.
[0069] Furthermore, step S400 includes:
[0070] Step S401: the modeling and simulation unit performs simulation design of the helmet model according to the 3D data of the animal helmet output by the data storage and processing module;
[0071] Step S402: The user prepares a 3D printer and required materials, and prints an animal helmet according to the 3D helmet model obtained by simulation.
[0072] Furthermore, when the animal wears the helmet and several treatment heads embedded in the helmet body are exactly in several preset positions corresponding to the brain areas, the locator just matches the center of the animal's eyebrows; the treatment helmet can also be aligned with key parts such as the center point of the animal's eyes, the center point of the mandible, the center point of the left and right hip bones in the MRI, CT, and ultrasound data to achieve precise matching of the external helmet and the internal brain area; the helmet can be fixed by screw buckles in the left and right, upper and lower solid areas of the head, and fixing points such as the trunk, back spine protrusions and forelegs can also be added.
[0073] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: through the design of the display and control module, the present invention allows the user to input initial parameters based on actual conditions and monitor the data in the system in real time; through the design of the full-angle dynamic adjustment shooting and measurement module, the shooting angle and focal length can be dynamically adjusted to obtain a comprehensive 2D image and structural depth data of the animal head, and then the data is optimized through the gradient descent algorithm to calculate the precise size of the animal head; through the design of the nuclear magnetic data analysis and brain area simulation positioning module, the brain area is accurately positioned and a locator is set in combination with the animal head size and the animal head nuclear magnetic data; in a 3D printing manner, a treatment head embedding structure for installing a treatment head can be left at the corresponding brain area position to install a detachable treatment head; the design of the locator can ensure the precise positioning of the treatment head and the corresponding brain area, thereby improving the effect of magnetic stimulation therapy; the feedback mechanism and the gradient descent method are used to avoid blind attempts to fix adjustment values, and more accurate data can be obtained with higher efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0075] Figure 1 It is a structural schematic diagram of a digital-based animal helmet 3D printing system and method of the present invention;
[0076] Figure 2 It is a flow chart of a digital-based animal helmet 3D printing system and method of the present invention; DETAILED DESCRIPTION
[0077] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0078] See also Figure 1-Figure 2 The present invention provides a technical solution: a digital animal helmet 3D simulation system and method, the system comprising:
[0079] The display and control module is used to set and adjust system parameters and view the shooting progress, data processing status and system operation status in real time;
[0080] The full-angle dynamic adjustment shooting and measurement module is used to dynamically adjust and shoot the animal's head at all angles to obtain the animal's head 2D image and structural depth data for splicing 3D image data;
[0081] The data storage and processing module is used to store and process the captured 2D image data and structural depth data to obtain the size of the animal's head, simulate the position of the animal's brain region in combination with the nuclear magnetic resonance data of the animal's head, and obtain the 3D simulation data of the animal helmet for modeling and simulation. The 3D simulation data of the animal helmet includes the position of the treatment head embedded structure corresponding to the position of the brain region and the position of the locator with the position of the center of the animal's head eyebrows as the reference point;
[0082] The helmet 3D printing module is used to model animal helmets according to 3D helmet simulation data, and then print out the required animal helmets.
[0083] Simulation methods include:
[0084] Step S100: The user inputs the required animal head image clarity score, image coverage score and initial setting parameters through the control unit, and the control unit determines the initial position, initial horizontal angle, initial pitch angle and focal length of the photography and measurement device on the adjustable frame in combination with the initial setting parameters and the full angle distribution formula;
[0085] Wherein, step S100 includes:
[0086] Step S101: The user inputs the required animal head size accuracy score, the number of photographic measurement device groups a in the horizontal direction, the number of photographic measurement device groups b in the vertical direction, the initial radius R, and the initial focal length fi of the photographic measurement device determined by the initial radius R through the control unit. initial ; Set the formula according to the angle:
[0087]
[0088]
[0089] i initial =0°+i·ω1(i=0,1,2,3...a)
[0090] θi initial =0°+j·ω2(j=0,1,2,3…b)
[0091] Where ω1 is the angle between the photographing and measuring devices in the horizontal direction, ω2 is the angle between the photographing and measuring devices in the vertical direction, and the initial azimuth i initial is the initial angle of the i-th group of shooting and measuring devices in the horizontal direction, the initial pitch angle θi initial is the initial angle of the jth group of photographing and measuring devices in the vertical direction;
[0092] Determine the spacing angles of each set of photographic measuring devices in the horizontal and vertical directions;
[0093] For example, the user inputs through the control unit a required coverage score of 90, a clarity score of 80, a number of photometric device groups in the horizontal direction a=4, a number of photometric device groups in the vertical direction b=6, an initial radius R=1, and an initial focal length fi of the photometric device determined by the initial radius R. initial =50mm, then the initial pitch angle θi is obtained according to the formula initial They are: 30°, 60°, 90°, 120°, 150°180°, and the initial azimuths are 0°, 90°, 180° and 270° respectively;
[0094] Step S102: Establish a coordinate system with the head of the target animal to be photographed as the origin, and input the initial radius R, initial pitch angle θi initial, the initial azimuth is i initial and the initial focal length fi of the photogrammetric device determined by the initial radius R initial , through the initial position formula:
[0095] Xi=Rsin(θi initial )cos(i initial )
[0096] Yi=Rsin(θi initial )sin(i initial )
[0097] Zi=Rcos(θi initial )
[0098] Wherein Xi is the position of the camera measuring device on the X axis in the adjustable bracket, Yi is the position of the camera measuring device on the Y axis in the adjustable bracket, and Zi is the position of the camera measuring device on the Z axis in the adjustable bracket;
[0099] The photogrammetry device is installed at the target position of the adjustable frame, and the initial position and initial angle parameters are transmitted to the full-angle dynamic photogrammetry module.
[0100] Step S200: The shooting and measuring module performs the initial shooting and measurement according to the initial parameter settings. The obtained 2D image data and structural depth data are collected and stored by the data storage unit and transmitted to the data processing unit. The data processing unit scores the initial data through a formula, and feeds back the animal head size data that does not reach the user-set score to the dynamic adjustment unit. The dynamic adjustment unit analyzes and processes the data and re-shoots the data after dynamic adjustment, and sends the 3D data of the animal head size that reaches the user-set score to the nuclear magnetic data analysis and brain area simulation positioning unit;
[0101] Wherein, step S200 includes:
[0102] Step S201: the photographing and measuring device performs initial photographing at an initial position and an initial angle to obtain initial photographing data; the data storage unit stores all the initial photographing data after receiving them, and transmits them to the data processing unit;
[0103] Step S202: The data processing unit obtains an initial coverage score O=72.3 and an initial clarity score C=60 based on the initial shooting data.
[0104] Calculate the defined objective function:
[0105] F=0.5·(90-72.3)+0.5·(80-60)=18.85
[0106] If F>0, it means that the coverage and clarity of the current image have not reached the target value. It is necessary to feed back the scoring data and the objective function F to the dynamic adjustment unit to dynamically adjust the parameters until F=0, that is, O=O. t ,C=C t Indicates that the clarity of the current image reaches the target value O t , the coverage reaches the target value C t , the obtained image data can be processed in the next step;
[0107] Step S203: Through the gradient formula:
[0108]
[0109]
[0110]
[0111]
[0112] Calculate partial derivatives and adjust parameters;
[0113]
[0114]
[0115]
[0116] By gradient descent method, adjust the parameters along the gradient direction:
[0117] Adjust the formula by pitch angle:
[0118]
[0119] where θi new is the pitch angle of the photographic measurement device adjusted in the vertical direction, and the pitch angle adjustment step α is set to 1;
[0120] Taking the photographic measurement device with an initial pitch angle of 30° as an example, when j=1,
[0121] θi new =30°+1·0.25=30.25
[0122] θi new That is, the pitch angle after adjustment of the photographic measurement device with an initial pitch angle of 30°;
[0123] Adjust the formula by azimuth:
[0124]
[0125] where inew is the azimuth angle of the photographic measurement device in the horizontal direction after adjustment, and the azimuth angle adjustment step length β is set to 1;
[0126] Taking the photographic measurement device with an initial azimuth angle of 0° as an example, when i=1,
[0127] i new =0°+1·0.15=0.15
[0128] i new That is, the adjusted azimuth of the photographic measurement device with an initial azimuth of 0°;
[0129] By adjusting the focal length formula:
[0130]
[0131] where fi new is the adjusted focal length, and the focal length adjustment step γ is set to 1;
[0132] Taking the photographic measurement device with an initial azimuth angle of 0° as an example, when i=1,
[0133] fi new =50+1·0.075=50.075
[0134] fi new That is, the focal length after adjustment of the photographic measurement device with an initial azimuth angle of 0°;
[0135] Step S204: the photographing and measuring device photographs according to the parameters adjusted by the dynamic adjustment unit until image data that reaches the score set by the user is obtained, and then proceeds to the next step of processing.
[0136] Step S300: the data processing unit splices the stored data to generate complete 3D model data; the MRI data analysis and brain area simulation positioning unit simulates and positions the animal brain area according to the processed data, and reserves a treatment head embedding structure for installing the treatment head and a locator for installing behind the animal's head to check the wearing position;
[0137] Wherein step S300 comprises:
[0138] Step S301: the data storage unit stores all obtained 2D image data and structural depth data and transmits all data to the data processing unit;
[0139] Step S302: the data processing unit performs splicing and composite processing on the received 2D image data and the structural depth data to generate a complete 3D model of the animal head;
[0140] Step S303: The MRI data analysis and brain area simulation positioning unit accurately simulates and positions the animal's brain area based on the 3D model of the animal's head obtained after processing, combined with the MRI data of the animal's head. After the simulation is completed, the position of each treatment head embedded structure is determined in the brain model. These embedded structures correspond to specific brain areas and are used for accurate positioning to install the treatment head. At the same time, the animal's brow center is used as a reference point to generate a locator position for checking whether the wearing position is correct, and finally generate complete animal helmet 3D data.
[0141] Step S400: the modeling and simulation unit uses the processed 3D data to simulate the design of a helmet model, and the 3D printer performs 3D printing on the animal helmet according to the simulation model of the helmet;
[0142] Wherein, step S400 includes:
[0143] Step S401: the modeling and simulation unit performs simulation design of a helmet model according to the obtained 3D data of the animal helmet;
[0144] Step S402: The user prepares a 3D printer and required materials, and prints an animal helmet according to the helmet model obtained by simulation.
[0145] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0146] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A 3D simulation system of animal helmets based on digitalization, It is characterized in that The system includes a display and control module, a full-angle dynamic adjustment shooting measurement module, a data storage and processing module, and a helmet 3D printing module; The display and control module is used to set and adjust system parameters and view the shooting progress, data processing status and system operation status in real time; The full-angle dynamic adjustment shooting and measurement module is used to dynamically adjust and shoot the animal's head at full angles to obtain a 2D image and structural depth data of the animal's head for splicing 3D image data; The data storage and processing module is used to store and process the captured 2D image data and structural depth data to obtain the size of the animal's head, simulate the position of the animal's brain region in combination with the nuclear magnetic resonance data of the animal's head, and obtain the animal's helmet 3D simulation data for modeling simulation, the animal's helmet 3D simulation data including the position of the treatment head embedded structure corresponding to the brain region position and the position of the locator with the animal's head brow center position as the reference point; The helmet 3D printing module is used to model the animal helmet according to the animal helmet 3D simulation data, and then print the required animal helmet.
2. A digital animal helmet 3D simulation system according to claim 1, Features: The display and control module includes a display unit and a control unit; The display unit is used to monitor the shooting measurement angle, dynamic adjustment parameters, modeling data and simulation progress of the system; The control unit is used to input system settings and parameters.
3. The animal helmet 3D simulation system based on digitalization according to claim 1, Features: The full-angle dynamic adjustment shooting measurement module includes a full-angle distribution unit, a shooting measurement device and a dynamic adjustment unit; The full-angle distribution unit is used to distribute the photographic measurement devices at full angles on the adjustable frame according to the initial setting parameters input by the user; The photographing and measuring device is used to photograph and measure the animal's head; The dynamic adjustment unit is used to dynamically adjust the parameters of the photography and measurement device according to the data fed back by the data storage and processing module; The photographic measurement device includes a 2D image camera and a structured light depth camera.
4. The animal helmet 3D simulation system based on digitalization according to claim 1, Features: The data storage and processing module includes a data storage unit, a data processing unit and a nuclear magnetic data analysis and brain area simulation positioning unit; The data storage unit is used to receive and store all data of the full-angle dynamic adjustment shooting measurement module, and all stored data will be transmitted to the data processing unit for processing; The data processing unit is used to receive the data in the data storage unit, and process the obtained 2D image data and structural depth data, and feed back the animal head size data that does not reach the user-set score to the dynamic adjustment unit, which analyzes and processes the data and re-shoots the data after dynamic adjustment, and sends the 3D data of the animal head size that reaches the user-set score to the nuclear magnetic data analysis and brain area simulation positioning unit; The MRI data analysis and brain area simulation positioning unit is used to combine the received animal head 3D data with the animal head MRI data to accurately simulate the positioning of the animal's brain area, set a detachable treatment head embedding structure at the corresponding brain area position, and set a locator with the eyebrow center position of the animal's head as a reference point to generate complete animal helmet 3D data.
5. The animal helmet 3D simulation system based on digitalization according to claim 1, Features: The helmet 3D printing module includes a modeling simulation unit and a 3D printer; The modeling and simulation unit is used to receive 3D data of animal helmets and then perform modeling and simulation on the animal helmets to obtain a 3D helmet model for printing; The 3D printer prints the required animal helmet based on the obtained 3D helmet model.
6. A digital animal helmet 3D simulation method applied to a digital animal helmet 3D simulation system according to any one of claims 1 to 5, Features The method comprises: Step S100: The user inputs the required animal head image clarity score, image coverage score and initial setting parameters through the control unit, and the control unit determines the initial position, initial horizontal angle, initial pitch angle and focal length of the photography and measurement device on the adjustable frame in combination with the initial setting parameters and the full angle distribution formula; Step S200: the shooting and measuring module performs the initial shooting and measurement according to the initial parameter settings, and the obtained 2D image data and structural depth data are collected and stored by the data storage unit and transmitted to the data processing unit. The data processing unit scores the initial data through a formula, and feeds back the animal head size data that does not reach the user-set score to the dynamic adjustment unit, which analyzes and processes the dynamic adjustment unit and reshoots after dynamic adjustment, and sends the 3D data of the animal head size that reaches the user-set score to the nuclear magnetic data analysis and brain area simulation positioning unit; Step S300: The data processing unit splices the stored data to generate complete 3D model data; the MRI data analysis and brain area simulation positioning unit simulates and positions the animal brain area according to the processed data, and reserves a position for the treatment head embedding structure for installing the treatment head and a position for the locator for checking the wearing position after being installed on the animal's head; Step S400: the modeling and simulation unit uses the processed 3D data to simulate and design a helmet model, and the 3D printer 3D prints the animal helmet according to the simulation model of the helmet.
7. The method for 3D simulation of animal helmets based on digitalization according to claim 6, It is characterized in that The step S100 includes: Step S101: The user inputs the required animal head size accuracy score, the number of photography and measurement device groups a in the horizontal direction, the number of photography and measurement device groups b in the vertical direction, the initial radius R, and the initial focal length fi of the photography and measurement device determined by the initial radius R through the control unit. initial ; Set the formula according to the angle: and initial =0°+i ω1(i=0,1,2,3…a) θi initial =0°+j·ω2(j=0,1,2,3…b) Where ω1 is the angle between the photographing and measuring devices in the horizontal direction, ω2 is the angle between the photographing and measuring devices in the vertical direction, and the initial azimuth i initial is the initial angle of the i-th group of shooting and measuring devices in the horizontal direction, the initial pitch angle θi initial is the initial angle of the jth group of photographing and measuring devices in the vertical direction; Determine the spacing angles of each set of photographic measuring devices in the horizontal and vertical directions; Step S102: Establish a coordinate system with the head of the target animal to be photographed as the origin, and input the initial radius R, initial pitch angle θi initial , the initial azimuth is i initial and the initial focal length fi of the photogrammetric device determined by the initial radius R initial , through the initial position formula: X=Rsin(θi initia l)cos(i initial ) Yi=Rsin(θi initial (sin) initial ) Zi=Rcos(θi initial ) Wherein Xi is the position of the camera measuring device on the X axis in the adjustable bracket, Yi is the position of the camera measuring device on the Y axis in the adjustable bracket, and Zi is the position of the camera measuring device on the Z axis in the adjustable bracket; The photogrammetry device is installed at the target position of the adjustable frame, and the initial position and initial angle parameters are transmitted to the full-angle dynamic photogrammetry module.
8. The method for 3D simulation of animal helmets based on digitalization according to claim 7, It is characterized in that The step S200 includes: Step S201: the photographing and measuring device performs initial photographing at an initial position and an initial angle to obtain initial photographing data; the data storage unit stores all the initial photographing data after receiving them, and transmits them to the data processing unit; Step S202: The data processing unit uses the image clarity scoring formula according to the initial shooting data: C=σ 2 (L(I)) Where C is the image clarity score, σ 2 is the variance, L(I) is the Laplace transform of the image data; Score the clarity of the initial capture data; Image coverage scoring formula: Where O is the image coverage score, A head is the number of pixels occupied by the animal’s head in the entire image, A total is the pixel of the whole picture; Score the coverage of the initial capture data; After obtaining the image coverage score and image coverage score of the initial shooting data, the objective function is defined: F=ω O ·(O t -O)+ω C ·(C t -C) Where F is the difference between the user-set score and the processed shooting data score, ω O is the image clarity weight, ω C is the image coverage weight, O t Set the image clarity score for the user, C t Set image coverage scores for users; When F=0, that is, O=O t ,C=C t Indicates that the clarity of the current image reaches the target value O t , the coverage reaches the target value C t ; The obtained image data can be processed in the next step; When F>0, it means that the coverage and clarity of the current image have not reached the target value, and the scoring data and the objective function F need to be fed back to the dynamic adjustment unit to dynamically adjust the parameters; Step S203: Through the gradient formula: in represents the dynamically adjusted gradient, is the partial derivative of the pitch angle, is the partial derivative of the azimuth, is the partial derivative of focal length, and are partial derivatives obtained empirically and are constants; Calculate the gradient; By gradient descent method, adjust the parameters along the gradient direction: Adjust the formula by pitch angle: where θi new is the adjusted pitch angle, α is the pitch angle adjustment step given according to the actual scene; Adjust the pitch angle; Adjust the formula by azimuth: where i new is the adjusted azimuth, β is the azimuth adjustment step size given according to the actual scenario; Adjust the azimuth; By adjusting the focal length formula: where fi new is the adjusted focal length, γ is the focal length adjustment step given according to the actual scene; Adjust the focal length; Step S204: the photographing and measuring device photographs according to the parameters adjusted by the dynamic adjustment unit until image data that reaches the score set by the user is obtained, and then proceeds to the next step of processing.
9. The method for 3D simulation of animal helmets based on digitalization according to claim 8, It is characterized in that The step S300 includes: Step S301: the data storage unit stores all obtained 2D image data and structural depth data and transmits all data to the data processing unit; Step S302: the data processing unit performs splicing and composite processing on the received 2D image data and the structural depth data to generate a complete 3D model of the animal head; Step S303: The MRI data analysis and brain area simulation positioning unit accurately simulates and positions the animal's brain area based on the 3D model of the animal's head obtained after processing, combined with the MRI data of the animal's head. After the simulation is completed, the position of each treatment head embedded structure is determined in the brain model. These embedded structures correspond to specific brain areas and are used for accurate positioning to install the treatment head. At the same time, the center of the animal's eyebrows is used as a reference point to generate a locator position for checking whether the wearing position is correct.
10. The method for 3D simulation of animal helmets based on digitalization according to claim 9, It is characterized in that The step S400 includes: Step S401: the modeling and simulation unit performs simulation design of the helmet model according to the processed 3D data; Step S402: The user prepares a 3D printer and required materials, and prints an animal helmet according to the 3D helmet model obtained by simulation.
