Digital image management system for urinary surgery

By encrypting and decrypting three-dimensional images in the urology digital image management system, and using the principle of raster animation to display images, the problems of privacy data protection and dynamic display are solved, and high security and intuitive image management are achieved.

CN120032815APending Publication Date: 2025-05-23沈德鑫
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510151690.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing urology digital imaging technology lacks protection of patient privacy data, and traditional digital imaging lacks dynamic display methods, making it difficult to intuitively display the urography process.

Method used

A urology digital image management system is designed to encrypt three-dimensional images through processing units, generate decryption layer and encryption layer, and use the raster animation principle to alternately display the encryption layer and decryption layer on the backlight module to realize the display of dynamic images.

Benefits of technology

It effectively protects patient privacy data and avoids the risk of data leakage. At the same time, through the display of dynamic images, the intuitiveness and diagnostic value of the images are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120032815A_ABST
    Figure CN120032815A_ABST
Patent Text Reader

Abstract

The invention discloses a digital image management system for urinary surgery, and relates to the technical field of surgical digital images. The system comprises a processing unit, a database, a printing module, an identification module, a backlight module, a shooting module and a console, a port of the processing unit establishes communication with the database, an output end of the processing unit is connected with input ends of the printing module and the backlight module, and an output end of the shooting module is connected with an input end of the processing unit. According to the system, the personal information and the three-dimensional image of the patient are encrypted, the content of the three-dimensional image can be displayed only when an encryption layer and a decryption layer are combined together, leakage of privacy data of the patient is avoided, and the privacy of the patient is protected. An original static plane or three-dimensional image is converted into a dynamic animation image based on a grating animation principle, and the dynamic image has a more visual display effect than a static picture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of surgical digital imaging, in particular to a urological digital imaging management system. Background Art

[0002] In the field of urology, digital imaging generally includes X-ray imaging, ultrasound imaging and urography. Digital imaging technology is widely used in various aspects such as image acquisition, processing, storage and transmission. By using various image processing algorithms and software, the collected images can be subjected to a series of processing such as denoising, enhancement, segmentation, and three-dimensional reconstruction, thereby improving the quality of the image and its diagnostic value.

[0003] Existing digital imaging of urology has the following technical defects: 1. There is a lack of protection for patient privacy data in both the shooting and reality stages, and there is a risk of data leakage during transmission and storage; 2. Limited by the printing medium, traditional digital imaging is only a static plane or three-dimensional picture, and there is a lack of dynamic display methods for the urography process. Therefore, protecting patient privacy and realizing the display of dynamic images are technical problems that technical personnel in this field need to solve. Summary of the invention

[0004] In view of the deficiencies of the prior art, the present invention provides a urology digital image management system, which solves the problems raised in the above-mentioned background technology.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: A urology digital image management system, comprising a processing unit, a database, a printing module, an identification module, a backlight module, a shooting module and a console, wherein the ports of the processing unit respectively establish communication with the database, the output end of the processing unit is respectively connected to the input ends of the printing module and the backlight module, the output end of the shooting module is connected to the input end of the processing unit, the port of the processing unit establishes communication with the port of the identification module, and the output end of the console is connected to the input end of the backlight module; The image management system is divided into two stages: acquiring images and displaying images; In the image acquisition stage, the shooting module acquires a three-dimensional image of the patient, the three-dimensional image includes a stereoscopic model of the patient, a urinary tract animation and a lesion area, the number of key frames of the urinary tract animation is a, the urinary tract animation is specifically manifested as the flow of the urinary tract on the stereoscopic model, and the specific acquisition method of the three-dimensional image is CT urography. The shooting module transmits the three-dimensional image to the processing unit, the identification module obtains the patient's personal information by identifying the storage medium, and the storage medium can be a medical card, a medical insurance card or an ID card. The identification module transmits the personal information to the processing unit, and the processing unit is used to encrypt the three-dimensional image. The processing unit executes an encryption program to convert the three-dimensional image into a decryption layer and an encryption layer respectively using the patient's personal information. The grating width of the decryption layer is w1. The processing unit transmits the encryption layer to the printing module, the printing module prints the encryption layer content in a light-transmitting film, and the processing unit saves the decryption layer in a database; The encryption layer is a fixed plane image, and the decryption layer is a dynamic animation image. The playback order of the decryption layer is divided into sequential playback or reverse playback, and the playback speed of the decryption layer can be freely adjusted to speed up or slow down; During the image display stage, the identification module obtains the patient's personal information and transmits it to the processing unit. The processing unit reads the corresponding decryption layer content in the database and forwards it to the backlight module. The translucent film printed with the encryption layer content is covered on the backlight module and aligned. The backlight module displays the decryption layer content. The decryption layer in the backlight module makes uniform linear motion in a predetermined direction. The encryption layer content in the translucent film is alternately displayed under the movement of the decryption layer to obtain an animated image. The alternating display of the encryption layer and the decryption layer is based on the principle of grating animation. Doctors and patients can intuitively analyze the condition by watching the animated image. The console is used to control the playback order and playback speed of the decryption layer content played by the backlight module. The console is operated by the doctor.

[0006] Furthermore, when the shooting module acquires the three-dimensional image, the doctor marks the lesion area of ​​the patient in the three-dimensional image through the shooting module, and a binding relationship is established between the lesion area and the three-dimensional image; The processing unit synchronously obtains the bound lesion area from the shooting module when acquiring the three-dimensional image. When the encryption program is executed, the processing unit divides the plane area of ​​the lesion area by the plane area of ​​the three-dimensional image to obtain the magnification ratio k of the lesion area. The smaller the plane area of ​​the lesion area, the larger the corresponding magnification ratio k of the lesion area. The processing unit sets the grating width w1 of the decryption layer, and the processing unit uses the formula Assign a value to the raster width w1 of the decryption layer. The initial value of n is 1, and n is incremented by 1 each time until , k is the magnification ratio of the lesion area, and d is the distance between the center of the lesion area and the center of the three-dimensional image.

[0007] Furthermore, the patient's personal information includes name, age and gender. The processing unit presets a dictionary library and a refresh cycle of 1 minute in the database. The processing unit obtains the patient's personal information from the identification module and inputs it into the dictionary library. An exhaustive method is used to assign a replacement code to each name, age and gender. Repeated genders and ages use the same replacement code. The dictionary library randomly generates a new replacement code every refresh cycle. When the encryption program is executed, the processing unit converts the acquired patient personal information into a key using a dictionary library. The key is composed of three replacement codes of name, age and gender connected end to end. The processing unit binds the key to the decryption layer and saves it to the database. The processing unit transmits the key and the acquisition time to the identification module, and the identification module transmits the key to the storage medium. During the image display stage, the recognition module identifies the storage medium to obtain the key and acquisition time and transmits them to the processing unit. The processing unit reverses the dictionary library to the replacement cycle of the corresponding time based on the acquisition time, and then converts the key into patient personal information. The processing unit searches for a decryption layer that matches the key from the database. The processing unit converts the original three-dimensional image into an encryption layer and clears the original three-dimensional image after the encryption layer.

[0008] Further, when the processing unit acquires the three-dimensional image, it converts the three-dimensional image into a coherent display animation; When the display animation is played, the display animation uses the three-dimensional model as the initial screen background, extracts several key frames from the urinary tract animation and plays them on the initial screen background, and after the urinary tract animation is played, the three-dimensional model is enlarged to the lesion area, and the final screen ends at the enlarged lesion area; The processing unit obtains the duration t of the urinary tract animation, counts the number m of kidney terminals in the urinary tract animation, counts the total length L of the urinary tract and the number j of bending points in the urinary tract animation, and marks the urinary tract bending degree greater than 90 degrees as a bending point by the processing unit; Processing units according to the formula Calculate the number of key frames a, where is a filling value to avoid the values ​​of duration t, the total length of the urinary tract L and the number of bending points j being too small, which will affect the result of the number of key frames a. g1, g2 and g3 are weight coefficients and satisfy the condition g1+g2+g3=1. e is an infinite non-repeating decimal; The processing unit sets key frames and blank frames; The processing unit sets the gap width w2 of the decryption layer, and the gap width w2 and the grating width w1 are repeatedly and alternately overlapped to obtain the decryption layer; The processing unit places the decryption layer on each key frame, retains the content overlapping with the grating width on the key frame, deletes the content overlapping with the gap width on the key frame to obtain a vertical bar graphic, and the processing unit combines the processed vertical bar graphics of each key frame and blank frame in sequence according to the order of the playback sequence to obtain an encryption layer.

[0009] Further, the number m of renal terminals is obtained by the following steps: The processing unit extracts the last frame in the urinary tract animation and converts it into a grayscale image and marks it as the first reference frame. The grayscale value range of the grayscale image is 0-255. The last frame is a picture of the complete display of urinary tract contrast in the urinary tract animation. The processing unit uses an edge detection algorithm to perform statistics on the first reference frame. The edge detection algorithm is specifically a Laplacian algorithm based on the second-order derivative, and records the nodes with grayscale value mutations in the first reference frame; The processing unit uses Gaussian filtering to filter the recorded nodes. The edge detection algorithm is very sensitive to noise. Using Gaussian filtering can reduce the impact of noise on the edge detection algorithm. The processing unit calculates the average number of pixels of all nodes. The processing unit marks the nodes with a pixel number greater than the average as renal terminals. The processing unit counts the number m of all nodes marked as renal terminals.

[0010] Furthermore, the total length L of the urinary tract is obtained by the following steps: The processing unit extracts the first frame in the urinary tract animation and converts it into a grayscale image and marks it as a second reference frame. The grayscale value range of the grayscale image is 0-255. The processing unit performs extreme value processing on the second reference frame. The processing unit calculates the average grayscale value of all pixels in the second reference frame, converts pixels with grayscale values ​​greater than or equal to the average value into white, with a grayscale value of 255, and converts pixels with grayscale values ​​less than the average value into black, with a grayscale value of 0. The processing unit marks all white pixels adjacent to black pixels as edge points; The processing unit presets a contact line, the contact line is located at the edge of the second reference frame away from the kidney end, and the contact line moves toward the kidney end. When the contact line contacts an edge point, the processing unit marks the edge point that contacts the contact line as a base point, connects the base point with all edge points to obtain a number of line segments, and if a line segment passes through a black pixel, the processing unit deletes the line segment and only retains the line segment that does not contact the black pixel; The length of each line segment is the number of white pixels that the line segment passes through, and the processing unit calculates the sum of the lengths of all line segments to obtain the total length L of the urinary tract.

[0011] Furthermore, the number of bending points j is obtained by the following steps: The processing unit extracts the middle frame of the urinary tract animation and converts it into a grayscale image and marks it as a third reference frame. The grayscale value range of the grayscale image is 0-255. The processing unit extracts the contour from the third reference frame using an edge detection algorithm. The edge detection algorithm is specifically a Laplacian algorithm based on the second-order derivative. For the p pixel point contour[p] in the third reference frame, the change in the tangent direction at the point can be approximated by calculating the angle between the vector formed by the previous point contour[p-1] and the next point contour[p+1]. The specific calculation method is as follows: Processing unit preset vector and vector , , , through the formula Get vector and vector The angle between , since the angle is expressed in radians, we need to convert the angle Convert to degrees, ; when When the angle is greater than 90 degrees, the processing unit marks the point as a bending point, and the processing unit summarizes all the points marked as bending points to obtain the number of bending points j.

[0012] Furthermore, the movement direction of the decryption layer is obtained by the following steps: The processing unit performs a hash operation on the patient's personal information to obtain a hash value. The processing unit extracts the first number in the range of 1-8 from the hash value from left to right as the first angle value. The processing unit extracts the first number from the hash value from right to left as the second angle value. The processing unit uses the first angle value as the tenth digit of the decryption layer movement direction angle, and uses the second angle value as the individual digit of the decryption layer movement direction angle. The first angle value and the second angle value are combined to obtain the movement direction angle of the decryption layer.

[0013] Further, the processing unit divides the urinary tract animation into equal parts according to the quantity a, extracts the key frames according to the playback order to obtain the playback sequence, the processing unit determines the movement direction of the decryption layer according to the patient's personal information, the processing unit arranges the key frames in the playback sequence in sequence according to the movement direction, the spacing between each key frame is consistent with the grating width w1, the processing unit adds two blank frames after the last key frame in the playback sequence, the processing unit puts the lesion area into the second blank frame, and uses the first blank frame as a transition frame, the processing unit inputs the three-dimensional model into each key frame and aligns it with it, the spacing between the blank frames is consistent with the grating width w1, and the spacing between the blank frame and the key frame is consistent with the grating width w1.

[0014] Furthermore, the gap width w2 satisfies the formula condition , w1 is the grating width, a is the number of key frames, a+2 represents the sum of the key frame and two blank frames. By determining the values ​​of the grating width w1 and the number of key frames a, the gap width w2 that meets the formula conditions is obtained.

[0015] The present invention has the following beneficial effects: 1. By encrypting the patient's personal information and three-dimensional images, the encryption layer and the decryption layer are combined to display the three-dimensional image content, avoiding the leakage of patient privacy data and improving data security.

[0016] 2. Based on the principle of grating animation, the originally static plane or three-dimensional images are converted into dynamic animated images. Compared with the traditional printed translucent film, dynamic images have a more intuitive display effect than static pictures, and the dynamic conversion of pictures is achieved only by splitting the screen through algorithms, without adding additional investment costs, which is easy to promote and apply.

[0017] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0019] Figure 1 This is a block diagram of a urology digital image management system of the present invention. DETAILED DESCRIPTION

[0020] 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.

[0021] See also Figure 1The present invention provides a technical solution: a urology digital image management system, comprising a processing unit, a database, a printing module, an identification module, a backlight module, a shooting module and a console, wherein the ports of the processing unit respectively establish communication with the database, the output end of the processing unit is respectively connected with the input ends of the printing module and the backlight module, the output end of the shooting module is connected with the input end of the processing unit, the port of the processing unit establishes communication with the port of the identification module, and the output end of the console is connected with the input end of the backlight module; The image management system is divided into two stages: acquiring images and displaying images; In the image acquisition stage, the shooting module acquires a three-dimensional image of the patient. The three-dimensional image includes a stereoscopic model of the patient, a urinary tract animation, and a lesion area. The number of key frames of the urinary tract animation is a. The urinary tract animation is specifically manifested as the flow of the urinary tract on the stereoscopic model. The specific acquisition method of the three-dimensional image is CT urography. The shooting module transmits the three-dimensional image to the processing unit. The identification module obtains the patient's personal information by identifying the storage medium. The storage medium can be a medical card, a medical insurance card, or an ID card. The identification module transmits the personal information to the processing unit. The processing unit is used to encrypt the three-dimensional image. The processing unit executes an encryption program to convert the three-dimensional image into a decryption layer and an encryption layer respectively using the patient's personal information. The grating width of the decryption layer is w1. The processing unit transmits the encryption layer to the printing module. The printing module prints the encryption layer content in a light-transmitting film. The processing unit saves the decryption layer in a database. The encryption layer is a fixed plane image, and the decryption layer is a dynamic animation image. The playback order of the decryption layer is divided into sequential playback or reverse playback, and the playback speed of the decryption layer can be freely adjusted to speed up or slow down; During the image display stage, the identification module obtains the patient's personal information and transmits it to the processing unit. The processing unit reads the corresponding decryption layer content in the database and forwards it to the backlight module. The translucent film printed with the encryption layer content is covered on the backlight module and aligned. The backlight module displays the decryption layer content. The decryption layer in the backlight module makes uniform linear motion in a predetermined direction. The encryption layer content in the translucent film is alternately displayed under the movement of the decryption layer to obtain an animated image. The alternating display of the encryption layer and the decryption layer is based on the principle of grating animation. Doctors and patients can intuitively analyze the condition by watching the animated images. The console is used to control the playback order and playback speed of the decryption layer content played by the backlight module. The console is operated by a doctor.

[0022] When the shooting module acquires a three-dimensional image, the doctor marks the lesion area of ​​the patient in the three-dimensional image through the shooting module, and a binding relationship is established between the lesion area and the three-dimensional image; The processing unit synchronously obtains the bound lesion area from the shooting module when acquiring the three-dimensional image. When the encryption program is executed, the processing unit divides the plane area of ​​the lesion area by the plane area of ​​the three-dimensional image to obtain the magnification ratio k of the lesion area. The smaller the plane area of ​​the lesion area, the larger the corresponding magnification ratio k of the lesion area. The processing unit sets the grating width w1 of the decryption layer. The larger the magnification ratio k is, the more details the lesion area in the three-dimensional image needs to display. Therefore, the value of the grating width w1 needs to be reduced. When the grating in the decryption layer moves, more frames of animation can be displayed, and the fineness of the picture can be improved to meet the display requirements of the lesion area. The processing unit adjusts the grating width w1 according to the formula Assign a value to the raster width w1 of the decryption layer. The initial value of n is 1, and n is incremented by 1 each time until , k is the magnification ratio of the lesion area, and d is the distance between the center of the lesion area and the center of the three-dimensional image.

[0023] The patient's personal information includes name, age and gender. The processing unit presets a dictionary library and a refresh cycle of 1 minute in the database. The processing unit obtains the patient's personal information from the identification module and inputs it into the dictionary library. An exhaustive method is used to assign a replacement code to each name, age and gender. Repeated genders and ages use the same replacement code. The dictionary library randomly generates a new replacement code every refresh cycle. When the encryption program is executed, the processing unit converts the acquired patient personal information into a key using a dictionary library. The key is composed of three replacement codes of name, age and gender connected end to end. The processing unit binds the key to the decryption layer and saves it to the database. The processing unit transmits the key and the acquisition time to the identification module, and the identification module transmits the key to the storage medium. During the image display stage, the recognition module identifies the storage medium to obtain the key and acquisition time and transmits them to the processing unit. The processing unit reverses the dictionary library to the replacement cycle of the corresponding time based on the acquisition time, and then converts the key into the patient's personal information. The processing unit searches for a decryption layer that matches the key from the database. The processing unit converts the original three-dimensional image into an encryption layer and clears the original three-dimensional image after the encryption layer. The original three-dimensional image and the patient's personal information are not saved, which can effectively protect the patient's personal privacy. Even if the decryption layer in the database is leaked, the cyclically refreshed dictionary library cannot obtain any valid information about the patient without knowing the acquisition time, thereby avoiding the risk of data leakage.

[0024] Wherein, when the processing unit acquires the three-dimensional image, it converts the three-dimensional image into a coherent display animation; When the display animation is played, the display animation uses the three-dimensional model as the initial screen background, extracts several key frames from the urinary tract animation and plays them on the initial screen background, and after the urinary tract animation is played, the three-dimensional model is enlarged to the lesion area, and the final screen ends at the enlarged lesion area; The processing unit obtains the duration t of the urinary tract animation, counts the number m of kidney terminals in the urinary tract animation, counts the total length L of the urinary tract and the number j of bending points in the urinary tract animation, and marks the urinary tract bending degree greater than 90 degrees as a bending point by the processing unit; Processing units according to the formula Calculate the number of key frames a, where is the filling value, which is generally 2, to avoid the duration t, the total length of the urinary tract L and the number of bending points j being too small, which will affect the number of key frames a. g1, g2 and g3 are weight coefficients and meet the condition g1+g2+g3=1. e is an infinite non-repeating decimal, which is generally 2.718. The processing unit sets key frames and blank frames; The processing unit sets the gap width w2 of the decryption layer, and the gap width w2 and the grating width w1 are repeatedly and alternately overlapped to obtain the decryption layer; The processing unit places the decryption layer on each key frame, retains the content overlapping with the grating width on the key frame, deletes the content overlapping with the gap width on the key frame to obtain a vertical bar graphic, and the processing unit combines the processed vertical bar graphics of each key frame and blank frame in sequence according to the order of the playback sequence to obtain an encryption layer.

[0025] The number of renal terminals m is obtained by the following steps: The processing unit extracts the last frame in the urinary tract animation and converts it into a grayscale image and marks it as the first reference frame. The grayscale value range of the grayscale image is 0-255. The last frame is a picture of the complete display of urinary tract contrast in the urinary tract animation. The processing unit uses an edge detection algorithm to perform statistics on the first reference frame. The edge detection algorithm is specifically a Laplacian algorithm based on the second-order derivative, and records the nodes with grayscale value mutations in the first reference frame; The processing unit uses Gaussian filtering to filter the recorded nodes. The edge detection algorithm is very sensitive to noise. Using Gaussian filtering can reduce the impact of noise on the edge detection algorithm. The processing unit calculates the average number of pixels of all nodes. The processing unit marks the nodes with a pixel number greater than the average as renal terminals. The processing unit counts the number m of all nodes marked as renal terminals.

[0026] The total length L of the urinary tract is obtained by the following steps: The processing unit extracts the first frame in the urinary tract animation and converts it into a grayscale image and marks it as a second reference frame. The grayscale value range of the grayscale image is 0-255. The processing unit performs extreme value processing on the second reference frame. The processing unit calculates the average grayscale value of all pixels in the second reference frame, converts pixels with grayscale values ​​greater than or equal to the average value into white, with a grayscale value of 255, and converts pixels with grayscale values ​​less than the average value into black, with a grayscale value of 0. The processing unit marks all white pixels adjacent to black pixels as edge points; The processing unit presets a contact line, the contact line is located at the edge of the second reference frame away from the kidney end, and the contact line moves toward the kidney end. When the contact line contacts an edge point, the processing unit marks the edge point that contacts the contact line as a base point, connects the base point with all edge points to obtain a number of line segments, and if a line segment passes through a black pixel, the processing unit deletes the line segment and only retains the line segment that does not contact the black pixel; The length of each line segment is the number of white pixels that the line segment passes through, and the processing unit calculates the sum of the lengths of all line segments to obtain the total length L of the urinary tract.

[0027] The number of bending points j is obtained by the following steps: The processing unit extracts the middle frame of the urinary tract animation and converts it into a grayscale image and marks it as a third reference frame. The grayscale value range of the grayscale image is 0-255. The processing unit extracts the contour from the third reference frame using an edge detection algorithm. The edge detection algorithm is specifically a Laplacian algorithm based on the second-order derivative. For the p pixel point contour[p] in the third reference frame, the change in the tangent direction at the point can be approximated by calculating the angle between the vector formed by the previous point contour[p-1] and the next point contour[p+1]. The specific calculation method is as follows: Processing unit preset vector and vector , , , through the formula Get vector and vector The angle between , since the angle is expressed in radians, we need to convert the angle Convert to degrees, ; when When the angle is greater than 90 degrees, the processing unit marks the point as a bending point, and the processing unit summarizes all the points marked as bending points to obtain the number of bending points j.

[0028] The movement direction of the decryption layer is obtained by the following steps: The processing unit performs a hash operation on the patient's personal information to obtain a hash value. The processing unit extracts the first number in the range of 1-8 from the hash value from left to right as the first angle value. The processing unit extracts the first number from the hash value from right to left as the second angle value. The processing unit uses the first angle value as the tenth digit of the decryption layer movement direction angle, and uses the second angle value as the individual digit of the decryption layer movement direction angle. The first angle value and the second angle value are combined to obtain the movement direction angle of the decryption layer.

[0029] Among them, the processing unit divides the urinary tract animation into equal parts according to the number a, extracts the key frames according to the playback order to obtain the playback sequence, the processing unit determines the movement direction of the decryption layer according to the patient's personal information, the processing unit arranges the key frames in the playback sequence in turn according to the movement direction, the spacing between each key frame is consistent with the grating width w1, the processing unit adds two blank frames after the last key frame in the playback sequence, the processing unit puts the lesion area into the second blank frame, and uses the first blank frame as a transition frame, the processing unit inputs the three-dimensional model into each key frame and aligns it with it, the spacing between the blank frames is consistent with the grating width w1, and the spacing between the blank frame and the key frame is consistent with the grating width w1.

[0030] Among them, the gap width w2 satisfies the formula condition , w1 is the grating width, a is the number of key frames, a+2 represents the sum of the key frame and two blank frames. By determining the values ​​of the grating width w1 and the number of key frames a, the gap width w2 that meets the formula conditions is obtained.

[0031] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A digital image management system for urology surgery, comprising a processing unit, a database, a printing module, a recognition module, a backlight module, a shooting module and a control console, characterized in that: The ports of the processing unit are respectively connected to the database, the output of the processing unit is respectively connected to the input of the printing module and the backlight module, the output of the shooting module is connected to the input of the processing unit, the port of the processing unit is connected to the port of the identification module, and the output of the console is connected to the input of the backlight module; The image management system is divided into two stages: acquiring images and displaying images; In the image acquisition stage, the shooting module acquires a three-dimensional image of the patient, the three-dimensional image includes a stereoscopic model of the patient, a urinary tract animation and a lesion area, the number of key frames of the urinary tract animation is a, the shooting module transmits the three-dimensional image to the processing unit, the identification module acquires the patient's personal information, the identification module transmits the personal information to the processing unit, the processing unit is used to encrypt the three-dimensional image, the processing unit executes an encryption program to convert the three-dimensional image into a decryption layer and an encryption layer respectively using the patient's personal information, the grating width of the decryption layer is w1, the processing unit transmits the encryption layer to the printing module, the printing module prints the encryption layer content in a light-transmitting film, and the processing unit saves the decryption layer in a database; The encryption layer is a fixed plane image, and the decryption layer is a dynamic animation image. The playback order of the decryption layer is divided into sequential playback or reverse playback, and the playback speed of the decryption layer can be freely adjusted to speed up or slow down; During the image display stage, the identification module obtains the patient's personal information and transmits it to the processing unit. The processing unit reads the corresponding decryption layer content in the database and forwards it to the backlight module. The translucent film printed with the encryption layer content is covered on the backlight module and aligned. The backlight module displays the decryption layer content. The decryption layer in the backlight module moves in a uniform linear motion in a predetermined direction. The encryption layer content in the translucent film is alternately displayed under the movement of the decryption layer to obtain an animated image. The doctor and the patient watch the animated image. The console is used to control the playback order and playback speed of the decryption layer content played by the backlight module. The console is operated by the doctor.

2. A urology digital image management system according to claim 1, characterized in that: When the shooting module acquires a three-dimensional image, the doctor marks the lesion area of ​​the patient in the three-dimensional image through the shooting module, and a binding relationship is established between the lesion area and the three-dimensional image; The processing unit synchronously obtains the bound lesion area from the shooting module when acquiring the three-dimensional image, and when the encryption program is executed, the plane area of ​​the lesion area is divided by the plane area of ​​the three-dimensional image to obtain the magnification ratio k of the lesion area; Set the grating width w1 of the decryption layer according to the formula Assign a value to the raster width w1 of the decryption layer. The initial value of n is 1, and n is incremented by 1 each time until , k is the magnification ratio of the lesion area, and d is the distance between the center of the lesion area and the center of the three-dimensional image.

3. The urology digital image management system according to claim 1, characterized in that: The patient's personal information includes name, age and gender. The processing unit presets a dictionary library and a refresh cycle in the database. The processing unit obtains the patient's personal information from the identification module and inputs it into the dictionary library. An exhaustive method is used to assign a replacement code to each name, age and gender. Repeated genders and ages use the same replacement code. The dictionary library randomly generates a new replacement code every refresh cycle. When the encryption program is executed, the processing unit converts the acquired patient personal information into a key using a dictionary library. The key is composed of three replacement codes of name, age and gender connected end to end. The key is bound to the decryption layer and saved in the database, and the key and the acquisition time are transmitted to the identification module together; During the image display stage, the recognition module identifies the storage medium to obtain the key and acquisition time and transmits them to the processing unit. The processing unit reverses the dictionary library to the replacement cycle of the corresponding time based on the acquisition time, and then converts the key into patient personal information. The processing unit searches the database for a decryption layer that matches the key, converts the original three-dimensional image into an encryption layer, and clears the original three-dimensional image after the encryption layer.

4. The urology digital image management system according to claim 1, characterized in that: When the processing unit acquires the three-dimensional image, it converts the three-dimensional image into a coherent display animation; When the display animation is played, the display animation uses the three-dimensional model as the initial screen background, extracts several key frames from the urinary tract animation and plays them on the initial screen background, and after the urinary tract animation is played, the three-dimensional model is enlarged to the lesion area, and the final screen ends at the enlarged lesion area; The processing unit obtains the duration t of the urinary tract animation, counts the number m of kidney terminals in the urinary tract animation, and counts the total length L of the urinary tract and the number j of bending points in the urinary tract animation; According to the formula Calculate the number of key frames a, where is the filling value to avoid the duration t, the total length of the urinary tract L and the number of bending points j being too small, g1, g2 and g3 are weight coefficients and satisfy the condition g1+g2+g3=1, and e is an infinite non-repeating decimal; The processing unit sets key frames and blank frames; The gap width w2 of the decryption layer is set, and the gap width w2 and the grating width w1 are repeatedly and alternately overlapped to obtain the decryption layer; The decryption layer is placed on each key frame, the content overlapping with the raster width on the key frame is retained, and the content overlapping with the gap width on the key frame is deleted to obtain a vertical bar pattern, and the processed vertical bar patterns of each key frame and blank frame are combined in sequence to obtain an encryption layer.

5. A urology digital image management system according to claim 4, characterized in that: The number of renal terminals m is obtained by the following steps: The processing unit extracts the last frame in the urinary tract animation and converts it into a grayscale image and marks it as a first reference frame. The processing unit uses an edge detection algorithm to perform statistics on the first reference frame and records nodes with sudden grayscale value changes in the first reference frame. The recorded nodes are filtered using Gaussian filtering, and the average number of pixels of all nodes is calculated. The processing unit marks the nodes with a pixel number greater than the average as renal terminals, and counts the number m of all nodes marked as renal terminals.

6. A urology digital image management system according to claim 4, characterized in that: The total length of the urinary tract, L, is obtained by the following steps: The processing unit extracts the first frame in the urinary tract animation and converts it into a grayscale image and marks it as a second reference frame. The processing unit performs extreme value processing on the second reference frame, calculates the average grayscale value of all pixels in the second reference frame, converts pixels with grayscale values ​​greater than or equal to the average value into white, with a grayscale value of 255, converts pixels with grayscale values ​​less than the average value into black, with a grayscale value of 0, and marks all white pixels adjacent to black pixels as edge points; A contact line is preset, and the contact line is located at the edge of the second reference frame away from the kidney end. The contact line moves toward the kidney end. When the contact line contacts an edge point, the edge point contacted by the contact line is marked as a base point. The base point is connected with all edge points to obtain a number of line segments. If a line segment passes through a black pixel, the line segment is deleted, and only the line segment that does not contact the black pixel is retained; The length of each line segment is the number of white pixels that the line segment passes through. The total length L of the urinary tract is obtained by calculating the sum of the lengths of all line segments.

7. The urology digital image management system according to claim 4, characterized in that: The number of bending points j is obtained by the following steps: The processing unit extracts the middle frame of the urinary tract animation and converts it into a grayscale image and marks it as a third reference frame. The processing unit extracts the contour from the third reference frame using an edge detection algorithm. For the p pixel point contour[p] in the third reference frame, the change in the tangent direction at the point can be approximated by calculating the angle between the vector formed by the previous point contour[p-1] and the next point contour[p+1]. The specific calculation method is as follows: Preset Vector and vector , , , through the formula Get vector and vector The angle between , angle Convert to degrees, ; when When the angle is greater than 90 degrees, the point is marked as a bending point, and all the points marked as bending points are summarized to obtain the number of bending points j.

8. The urology digital image management system according to claim 4, characterized in that: The motion direction of the decryption layer is obtained by the following steps: The processing unit performs a hash operation on the patient's personal information to obtain a hash value, extracts the first digit from the hash value from left to right as a first angle value, extracts the first digit from the hash value from right to left as a second angle value, uses the first angle value as the tenth digit of the decryption layer movement direction angle, uses the second angle value as the individual digit of the decryption layer movement direction angle, and combines the first angle value with the second angle value to obtain the movement direction angle of the decryption layer.

9. The urology digital image management system according to claim 4, characterized in that: The processing unit divides the urinary tract animation into equal parts according to the number a, extracts the key frames in the playback order to obtain the playback sequence, determines the movement direction of the decryption layer according to the patient's personal information, arranges the key frames in the playback sequence in the direction of movement, and the spacing between each key frame is consistent with the grating width w1. Two blank frames are added after the last key frame in the playback sequence, the lesion area is placed in the second blank frame, the first blank frame is used as a transition frame, and the three-dimensional model is input into each key frame and aligned with it.

10. The urology digital image management system according to claim 4, characterized in that: The gap width w2 satisfies the formula conditions , w1 is the raster width, a is the number of key frames, and a+2 represents the sum of the key frames and two blank frames.