A method and device for generating panoramic X-ray films

By obtaining and segmenting the X-ray film collections of preset parts of the biological body and using the rule engine to fusion, the problems of difficulty in splicing and poor accuracy of X-ray panoramic images in the prior art are solved, and high-precision panoramic X-ray film generation is achieved.

CN118229522BActive Publication Date: 2025-02-28BEIJING CHANGCHANGJIA INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410229537.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-29
Publication Date
2025-02-28
Estimated Expiration
2044-02-29

AI Technical Summary

Technical Problem

In the prior art, X-ray panoramic images of different parts of the biological body need to be exposed 3-4 times respectively to form independent films, resulting in difficulty in alignment of the focal length, inaccurate angle measurement, and missing panoramic viewing angles, making it impossible to globally observe the structure of the entire preset part on one X-ray film.

Method used

By acquiring the X-ray film set of the preset part, images of different position areas are determined based on the order of the preset part from top to bottom, these images are input into the preset rule engine, and panoramic X-ray films corresponding to the preset part are output. The method includes obtaining preset parameters of each subset, determining the rule output value based on these parameters, determining the decision table whether the subset meets the fusion condition, and performing fusion.

Benefits of technology

The precise fusion of multiple X-ray films was achieved, and a panoramic X-ray film that matched the actual preset part structure was generated, overcoming the problems of splicing difficulties and poor splicing accuracy of multiple films.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for generating a panoramic X-ray film, wherein the method comprises obtaining an X-ray film set of a preset part, wherein each subset in the X-ray film set represents an image of a different position area of ​​the preset part, and the different position areas are determined based on the sequential segmentation of the preset part from top to bottom; the images of the different position areas of the preset part are input into a pre-established rule engine, and a panoramic X-ray film corresponding to the preset part is output. The panoramic X-ray film is obtained by fusing different X-ray films of the preset part through the rule engine, so that the obtained panoramic X-ray film is consistent with the structure of the actual preset part, thereby overcoming the defects of difficulty in splicing multiple films and poor splicing accuracy in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method and device for generating panoramic X-ray films. Background Art

[0002] Due to the limitation of the exposure area of ​​X-ray equipment at one time, X-ray panoramic images of different parts of the organism usually need to be exposed 3-4 times separately to form 3-4 independent films in order to meet the diagnostic needs of spinal X-ray panoramic images.

[0003] The independent films taken are difficult to align in focus, and the preset structures on multiple X-ray films cannot be connected; the angle measurement is inaccurate. Taking the spine as an example, if the upper and lower vertebrae of scoliosis are on two X-ray films, the measured angle cannot reflect the real angle; the panoramic view is missing, and the structure of the entire preset part cannot be observed on a single X-ray film. Summary of the invention

[0004] The present application provides a method and device for generating a panoramic X-ray film to solve the problems existing in the related art.

[0005] In a first aspect, the present invention provides a method for generating a panoramic X-ray film, comprising acquiring an X-ray film set of a preset part, wherein each subset in the X-ray film set represents an image of a different position area of ​​the preset part, and the different position areas are determined based on a sequential segmentation of the preset part from top to bottom; inputting the images of the different position areas of the preset part into a pre-established rule engine, and outputting a panoramic X-ray film corresponding to the preset part.

[0006] Optionally, inputting the images of different position areas of the preset part into a pre-established rule engine, and outputting the panoramic X-ray film corresponding to the preset part includes: obtaining preset parameters corresponding to each subset; based on the preset parameters, determining the rule output value corresponding to each subset, wherein the rule output value is used to represent the degree of X-ray absorption of each row in the subset; based on the decision table and the degree of X-ray absorption of each row, judging whether the subset belonging to the area above the preset part and the subset belonging to the area below the preset part meet the fusion condition; if the fusion condition is met, fusing the two sub-films.

[0007] Optionally, determining whether a subset belonging to an area above a preset part and a subset belonging to an area below a preset part meet fusion conditions includes: obtaining a first absorption degree of X-rays for each row contained in a lower edge of the subset of the area above the preset part; obtaining a second absorption degree of X-rays for each row contained in an upper edge of the subset of the area below the preset part; and determining whether the fusion condition is met based on a matching rate between the first absorption degree and the second degree.

[0008] Optionally, based on the matching rate of the first absorption degree and the second absorption degree, determining whether the fusion condition is met includes: matching the absorption degree corresponding to the first row of the lower edge with the absorption degree of the Nth row of the upper edge to determine whether the fusion condition is met; if the fusion condition is not met, continuing to match the absorption degree of the second to last row of the lower edge with the absorption degree of the N-1th row of the upper edge to determine whether the fusion condition is met; repeating the above process until the fusion condition is met.

[0009] Optionally, obtaining the preset parameters corresponding to each subset includes: obtaining the inspection site parameters, window position, window width, row resolution, column resolution, sampling rate, pixel spacing, high bit, pixel data representation type, number of allocated bits, orientation, position, intercept, slope, and output value unit of each subset.

[0010] Optionally, based on the preset parameters, determining the rule output values ​​corresponding to each subset includes: based on the preset parameters, determining the rule output values ​​corresponding to each subset includes: determining the number of rows of the pixel matrix based on the row resolution and the sampling rate; determining the number of columns of the pixel matrix based on the column resolution and the sampling rate; for any row, determining the initial absorption degree of X-rays at the intersection of each column and the row based on the intercept and the slope, and judging whether the initial absorption degree returns to zero based on the size of the initial absorption degree to obtain the final absorption degree; based on the final absorption degree, determining the absorption degree of X-rays for the row.

[0011] Optionally, obtaining an X-ray film set of a preset part includes: obtaining an X-ray film set of a spine; or obtaining an X-ray film set of both lower limbs.

[0012] In a second aspect, the present invention provides a panoramic X-ray film generating device, comprising a data acquisition unit, configured to acquire an X-ray film set of a preset part, wherein each subset in the X-ray film set represents an image of a different position area of ​​the preset part, and the different position areas are determined based on a sequential segmentation of the preset part from top to bottom; a processing unit, configured to input the images of the different position areas of the preset part into a pre-established rule engine, and output a panoramic X-ray film corresponding to the preset part.

[0013] In a third aspect, the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.

[0014] In a fourth aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method provided in the first aspect when executing the program.

[0015] The present invention discloses a method and device for generating a panoramic X-ray film, wherein the method comprises obtaining an X-ray film set of a preset part, wherein each subset in the X-ray film set represents an image of a different position area of ​​the preset part, and the different position areas are determined based on the sequential segmentation of the preset part from top to bottom; the images of the different position areas of the preset part are input into a pre-established rule engine, and a panoramic X-ray film corresponding to the preset part is output. The panoramic X-ray film is obtained by fusing different X-ray films of the preset part through the rule engine, so that the obtained panoramic X-ray film is consistent with the structure of the actual preset part, thereby overcoming the defects of difficulty in splicing multiple films and poor splicing accuracy in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 A method for generating a panoramic X-ray film is provided for this application;

[0018] Figure 2 A schematic diagram of a spinal X-ray film in a panoramic X-ray film generation method of the present application;

[0019] Figure 3 A schematic diagram of a double lower limb X-ray film in a panoramic X-ray film generation method of the present application;

[0020] Figure 4 A logical schematic diagram of a panoramic X-ray film generation method of the present application;

[0021] Figure 5 This is a system architecture diagram applicable to the panoramic X-ray film generation method of the present application;

[0022] Figure 6 A method corresponding to the present application Figure 1 Schematic diagram of an electronic device. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0024] The following is combined with Figure 1 The method for generating a panoramic X-ray film is exemplarily described. The method comprises the following steps:

[0025] Step 101: Acquire an X-ray film set of a preset part, wherein each subset in the X-ray film set represents an image of a different position area of ​​the preset part, and the different position areas are determined based on a sequential segmentation of the preset part from top to bottom.

[0026] As an optional implementation of this embodiment, obtaining an X-ray film set of a preset part includes: obtaining an X-ray film set of a spine; or obtaining an X-ray film set of both lower limbs.

[0027] In this embodiment, images of a preset part can be acquired from top to bottom from an X-ray device, and the acquired multiple images constitute an X-ray film set.

[0028] refer to Figure 2 Schematic diagram of the spine, which can be obtained from top to bottom. Panoramic X-ray images of the spine can be used to provide images in the vertical plane; showing the entire spinal area to avoid missing lesions between adjacent vertebrae and confirm the spinal bony structure, vertebral alignment and structural integrity.

[0029] refer to Figure 3 Schematic diagram of the lower limbs. The lower limbs refer to the part of the human body below the abdomen. It includes the buttocks, thighs, knees, shins and feet. The thighs are divided into the front, inner and rear areas, the knees are divided into the front and rear areas, the calves are divided into the front, outer and rear areas, and the feet are divided into the ankle, dorsum, sole and toes. Panoramic X-ray imaging evaluation of the lower limbs can be used to provide images in the vertical plane; display the entire lower limb area to avoid missing lesions in adjacent tissues; and confirm the bony structure, joints and structural integrity of the lower limbs.

[0030] Step 102: Input the images of different position areas of the preset part into a pre-established rule engine, and output the panoramic X-ray film corresponding to the preset part.

[0031] In this embodiment, reference Figure 4 The rule engine can be composed of a rule base and a decision table. The rule engine can accurately fuse X-ray films. Figure 4 The spine is used as an example.

[0032] As an optional implementation method of this embodiment, the inputting of images of different position areas of the preset part into a pre-established rule engine, and outputting a panoramic X-ray film corresponding to the preset part includes: obtaining preset parameters corresponding to each subset; based on the preset parameters, determining a rule output value corresponding to each subset, wherein the rule output value is used to represent the degree of X-ray absorption of each row in the subset; based on the decision table and the degree of X-ray absorption of each row, judging whether a subset belonging to the area above the preset part and a subset belonging to the area below the preset part meet a fusion condition; if the fusion condition is met, fusing the two sub-films.

[0033] As an optional implementation method of this embodiment, obtaining the preset parameters corresponding to each subset includes: obtaining the inspection part parameters, window position, window width, row resolution, column resolution, sampling rate, pixel spacing, high bit, pixel data representation type, allocated bit number, orientation, position, intercept, slope, and output value unit of each subset.

[0034] In this embodiment, the output values ​​of the sub-X-ray films to be fused can be calculated according to the rule table, and then the fusion position can be determined by the decision table.

[0035]

[0036]

[0037] After determining the rule output values ​​based on different parameters, they can be fused based on the decision table.

[0038] As an optional implementation method of this embodiment, based on the preset parameters, determining the rule output value corresponding to each subset includes: determining the number of rows of the pixel matrix based on the row resolution and the sampling rate; determining the number of columns of the pixel matrix based on the column resolution and the sampling rate; for any row, determining the initial absorption degree of X-rays at the intersection of each column and the row based on the intercept and the slope, and judging whether the initial absorption degree is zeroed based on the size of the initial absorption degree to obtain the final absorption degree; based on the final absorption degree, determining the absorption degree of X-rays for the row.

[0039] In this optional implementation, the pixel matrix includes:

[0040] PIXEL_MATRIX_ROWS (number of matrix rows) = Rows × Samples Per Pixel;

[0041] PIXEL_MATRIX_COLUMNS (number of matrix columns) = Columns × Samples Per Pixel.

[0042] When calculating the coefficient degree, it can be calculated by the following formula:

[0043] HU=PIXEL_MATRIX[ROW,COLUMN]×Rescale Slope+Rescale Intercept;

[0044] Among them, PIXEL_MATRIX represents the pixel array, ROW represents the row; COLUMN represents the column. Based on this, the HU value of the bone tissue at the intersection of each row and column can be determined:

[0045] HU_ROW_1_COLUMN_1=ORI_HU_ROW_1_COLUMN_1<400?0:

[0046] ORI_HU_ROW_1_COLUMN_1

[0047] HU_ROW_1_COLUMN_2=ORI_HU_ROW_1_COLUMN_2<400?0:

[0048] ORI_HU_ROW_1_COLUMN_2

[0049] HU_ROW_1_COLUMN_3=ORI_HU_ROW_1_COLUMN_3<400?0:

[0050] ORI_HU_ROW_1_COLUMN_3

[0051] HU_ROW_1_COLUMN_N=ORI_HU_ROW_1_COLUMN_N<400?0:

[0052] ORI_HU_ROW_1_COLUMN_N;

[0053] Among them, ORI_HU_ROW1_COLUMN1: the original HU value of the first row and the first column;

[0054] ORI_HU_ROW1_COLUMN2: original HU value of the first row and second column;

[0055] ORI_HU_ROW1_COLUMN3: original HU value of the first row and third column;

[0056] ORI_HU_ROW1_COLUMNN: the original HU value of the first row and the Nth column;

[0057] <400?0: Values ​​less than 400 are set to 0, removing the soft tissue and leaving only the bone tissue data.

[0058] Furthermore, the rule output value for each row is calculated:

[0059] ROW_1=[HU_ROW_1_COLUMN_1,HU_ROW_1_COLUMN_2,HU_ROW_1_COLUMN_3,...HU_ROW_1_COLUMN_N].

[0060] As an optional implementation method of this embodiment, judging whether a subset belonging to an area above a preset part and a subset belonging to an area below the preset part meet fusion conditions includes: obtaining a first absorption degree of X-rays for each row contained in a lower edge of the subset of the area above the preset part; obtaining a second absorption degree of X-rays for each row contained in an upper edge of the subset of the area below the preset part; and determining whether the fusion condition is met based on a matching rate between the first absorption degree and the second degree.

[0061] In this optional implementation, when performing fusion, the N reciprocal lines of the lower edge of the upper X-ray film can be matched with the N positive lines of the upper edge of the lower X-ray film, and a comparison can be made based on the degree of absorption. If the difference is within a preset threshold, it is a match and can be fused.

[0062] In this optional implementation, based on the matching rate of the first absorption degree and the second absorption degree, determining whether the fusion condition is met includes: matching the absorption degree corresponding to the first row of the lower edge with the absorption degree of the Nth row of the upper edge to determine whether the fusion condition is met; if the fusion condition is not met, continuing to match the absorption degree of the second to last row of the lower edge with the absorption degree of the N-1th row of the upper edge to determine whether the fusion condition is met; repeating the above process until the fusion condition is met.

[0063] In this optional implementation, when matching the N rows after the lower edge of the upper slice with the N rows before the upper edge of the lower slice, the last row of the lower edge, i.e. the bottom row, can be matched with the first row of the upper edge; if they match, the two rows are merged; if they do not match, the second-to-last row of the lower edge can be merged with the second-to-positive row of the upper edge; if the fusion condition is still not met, the rows are continued to be wrapped and not merged until the fusion condition is met.

[0064] Furthermore, if the N rows at the lower edge cannot be merged with the N rows at the upper edge, other N rows may be selected for matching.

[0065] Exemplarily, reference Table 2 illustrates the matching process of the decision table.

[0066] Table 2

[0067] Value of the upper sub-slice Lower bit value Match Rate Whether to merge Standard deviation of the first row of the lower edge Standard deviation of the upper edge Nth row >=99% yes Standard deviation of the second row at the lower edge Standard deviation of the upper edge N-1th row >=99% yes … … >=99% yes Standard deviation of the Nth row of the lower edge Standard deviation of the first row of the upper edge >=99% yes

[0068] Furthermore, after all the fusion is completed, a panoramic X-ray film can be obtained, and the X-ray film can be sent to the target device for display. This embodiment realizes the accurate fusion of multiple X-ray films based on the rule engine.

[0069] refer to Figure 5, illustrates a system architecture diagram applicable to the method of this embodiment, the system may include an X-ray device and a server, and the execution subject of the method of this embodiment may be the server. After generating the X-ray film, the server may send the X-ray film to the target device for display.

[0070] The above is a method provided by one or more embodiments of the present application. Based on the same idea, the present application also provides a corresponding panoramic X-ray film generating device, including: a data acquisition unit, configured to acquire an X-ray film set of a preset part, wherein each subset in the X-ray film set represents an image of a different position area of ​​the preset part, and the different position areas are determined based on a sequential segmentation of the preset part from top to bottom; a processing unit, configured to input the images of the different position areas of the preset part into a pre-established rule engine, and output a panoramic X-ray film corresponding to the preset part.

[0071] As an optional implementation method of this embodiment, the inputting of images of different position areas of the preset part into a pre-established rule engine, and outputting a panoramic X-ray film corresponding to the preset part includes: obtaining preset parameters corresponding to each subset; based on the preset parameters, determining a rule output value corresponding to each subset, wherein the rule output value is used to represent the degree of X-ray absorption of each row in the subset; based on the decision table and the degree of X-ray absorption of each row, judging whether a subset belonging to the area above the preset part and a subset belonging to the area below the preset part meet a fusion condition; if the fusion condition is met, fusing the two sub-films.

[0072] As an optional implementation method of this embodiment, judging whether a subset belonging to an area above a preset part and a subset belonging to an area below the preset part meet fusion conditions includes: obtaining a first absorption degree of X-rays for each row contained in a lower edge of the subset of the area above the preset part; obtaining a second absorption degree of X-rays for each row contained in an upper edge of the subset of the area below the preset part; and determining whether the fusion condition is met based on a matching rate between the first absorption degree and the second degree.

[0073] As an optional implementation method of this embodiment, based on the matching rate of the first absorption degree and the second absorption degree, determining whether the fusion condition is met includes: matching the absorption degree corresponding to the first row of the lower edge with the absorption degree of the Nth row of the upper edge to determine whether the fusion condition is met; if the fusion condition is not met, continuing to match the absorption degree of the second to last row of the lower edge with the absorption degree of the N-1th row of the upper edge to determine whether the fusion condition is met; repeating the above process until the fusion condition is met.

[0074] As an optional implementation method of this embodiment, obtaining the preset parameters corresponding to each subset includes: obtaining the inspection part parameters, window position, window width, row resolution, column resolution, sampling rate, pixel spacing, high bit, pixel data representation type, allocated bit number, orientation, position, intercept, slope, and output value unit of each subset.

[0075] As an optional implementation method of this embodiment, based on the preset parameters, determining the rule output value corresponding to each subset includes: determining the number of rows of the pixel matrix based on the row resolution and the sampling rate; determining the number of columns of the pixel matrix based on the column resolution and the sampling rate; for any row, determining the initial absorption degree of X-rays at the intersection of each column and the row based on the intercept and the slope, and judging whether the initial absorption degree is zeroed based on the size of the initial absorption degree to obtain the final absorption degree; based on the final absorption degree, determining the absorption degree of X-rays for the row.

[0076] Figure 6 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention, such as Figure 6 As shown, the electronic device 50 includes: a processor 501 (processor), a memory 502 (memory) and a bus 503;

[0077] The processor 501 and the memory 502 communicate with each other via the bus 503 ; the processor 501 is used to call program instructions in the memory 502 to execute the methods provided by the above-mentioned method embodiments.

[0078] This embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions. The computer instructions enable a computer to execute the methods provided by the above method embodiments.

[0079] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various storage media that can store program codes.

[0080] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0081] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0082] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.

Claims

1. A method for generating a panoramic X-ray film, characterized in that: include: Acquire an X-ray film set of a preset part, wherein each subset of the X-ray film set represents an image of a different position area of ​​the preset part, and the different position areas are determined based on a sequential segmentation of the preset part from top to bottom; Input the images of different position areas of the preset part into a pre-established rule engine, and output the panoramic X-ray film corresponding to the preset part; The step of inputting the images of different position areas of the preset part into a pre-established rule engine and outputting the panoramic X-ray film corresponding to the preset part comprises: obtaining preset parameters corresponding to each subset; determining the rule output value corresponding to each subset based on the preset parameters, wherein the rule output value is used to represent the degree of X-ray absorption of each row in the subset; judging whether the subset belonging to the area above the preset part and the subset belonging to the area below the preset part meet the fusion condition based on the decision table and the degree of X-ray absorption of each row; if the fusion condition is met, fusing the two sub-films; Based on the decision table and the X-ray absorption degree of each row, judging whether the subset belonging to the area above the preset part and the subset belonging to the area below the preset part meet the fusion condition, including: obtaining the first absorption degree of X-rays for each row included in the lower edge of the subset of the area above the preset part; obtaining the second absorption degree of X-rays for each row included in the upper edge of the subset of the area below the preset part; and determining whether the fusion condition is met based on the matching rate of the first absorption degree and the second degree; Based on the matching rate of the first absorption degree and the second absorption degree, determining whether the fusion condition is met includes: matching the absorption degree corresponding to the first row of the lower edge with the absorption degree of the Nth row of the upper edge to determine whether the fusion condition is met; if the fusion condition is not met, continuing to match the absorption degree of the second to last row of the lower edge with the absorption degree of the N-1th row of the upper edge to determine whether the fusion condition is met; repeating the above process until the fusion condition is met.

2. The method for generating a panoramic X-ray film according to claim 1, characterized in that: The obtaining of preset parameters corresponding to each subset includes: Obtain the examination site parameters, window level, window width, row resolution, column resolution, sampling rate, pixel spacing, high bit, pixel data representation type, number of allocated bits, orientation, position, intercept, slope, and output value unit of each subset.

3. The method for generating a panoramic X-ray film according to claim 2, characterized in that: Based on the preset parameters, determining the rule output value corresponding to each subset includes: Determining the number of rows of the pixel matrix based on the row resolution and the sampling rate; Determining the number of columns of the pixel matrix based on the column resolution and the sampling rate; For any row, the initial absorption degree of X-rays by the tissue at the intersection of each column and the row is determined based on the intercept and the slope, and whether the initial absorption degree is zeroed is determined based on the magnitude of the initial absorption degree to obtain the final absorption degree; Based on the final absorption level, the X-ray absorption level of the row is determined.

4. The method for generating a panoramic X-ray film according to claim 1, characterized in that: Acquiring X-ray film sets of preset parts includes: Obtain a set of x-rays of the spine; Alternatively, obtain a set of x-rays of both lower extremities.

5. A panoramic X-ray film generating device, characterized in that: include a data acquisition unit configured to acquire an X-ray film set of a preset part, wherein each subset of the X-ray film set represents an image of a different position area of ​​the preset part, and the different position areas are determined based on a sequential segmentation of the preset part from top to bottom; a processing unit configured to input images of different position areas of the preset part into a pre-established rule engine, and output a panoramic X-ray film corresponding to the preset part; The step of inputting the images of different position areas of the preset part into a pre-established rule engine and outputting the panoramic X-ray film corresponding to the preset part comprises: obtaining preset parameters corresponding to each subset; determining the rule output value corresponding to each subset based on the preset parameters, wherein the rule output value is used to represent the degree of X-ray absorption of each row in the subset; judging whether the subset belonging to the area above the preset part and the subset belonging to the area below the preset part meet the fusion condition based on the decision table and the degree of X-ray absorption of each row; if the fusion condition is met, fusing the two sub-films; Based on the decision table and the X-ray absorption degree of each row, judging whether the subset belonging to the area above the preset part and the subset belonging to the area below the preset part meet the fusion condition, including: obtaining the first absorption degree of X-rays for each row included in the lower edge of the subset of the area above the preset part; obtaining the second absorption degree of X-rays for each row included in the upper edge of the subset of the area below the preset part; and determining whether the fusion condition is met based on the matching rate of the first absorption degree and the second degree; Based on the matching ratio of the first absorption degree and the second degree, determining whether the fusion condition is met includes: The absorption degree corresponding to the first row of the lower edge is matched with the absorption degree of the Nth row of the upper edge to determine whether the fusion condition is met; if the fusion condition is not met, the absorption degree of the second to last row of the lower edge is matched with the absorption degree of the N-1th row of the upper edge to determine whether the fusion condition is met; the above process is repeated until the fusion condition is met.

6. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Full-automatic human body full-length X-ray image fusion splicing method and device

    CN117252762A