A novel CT scanning positioning image loading method, storage medium and terminal device
By segmenting and displaying sequence management of CT scan data, independent image data blocks are generated, which solves the problems of large resource occupation and low imaging quality caused by frequent reading and writing of CT machines when loading and positioning images, and achieves the effect of fast loading and efficient display.
Patent Information
- Application Number
- CN202111151325.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-29
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2041-09-29
AI Technical Summary
When existing CT machines load scan positioning images multiple times, they frequently read and write from the hard disk, resulting in large resource consumption and easy loading errors, affecting the imaging quality.
By segmenting the flat image data, continuous image data blocks are generated, and display image blocks are received and generated in the display area in the display order, and finally a positioning image is generated. This method reduces the dependence on disk and reduces the probability of error propagation through independent display data blocks and image blocks.
It significantly reduces dependence on disk resources, improves imaging quality, ensures fast loading and efficient display of positioning images, and avoids loading errors caused by frequent read and write.
Smart Images

Figure CN113888661B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of CT detection technology, and in particular to a novel CT scanning positioning image loading method, storage medium and terminal device. Background Art
[0002] CT machine is a common medical device used to detect the patient's diseased parts. When doctors use CT machine to detect the human body, they generally need the CT machine to display the scan results to facilitate the doctor to make a preliminary judgment on the scan image quality.
[0003] However, current CT machines need to read and write the disk multiple times to load the positioning image generated by the scan, and small loading errors are prone to occur, resulting in the entire scan image being missing or invalid. Summary of the invention
[0004] The embodiments of the present invention provide a novel CT scanning positioning image loading method, storage medium and terminal device. To address the above problems, no positioning images that need to be frequently read and written from a hard disk are generated, thus reducing the occupation of computer resources. At the same time, the image output speed is fast, and even frequent loading will not affect the imaging quality.
[0005] The novel CT scanning positioning image loading method provided by the present invention comprises the following steps:
[0006] S1, obtaining flat film image data;
[0007] S2, segmenting the flat image data to generate consecutive image data blocks;
[0008] S3, the display area receives the image data blocks in sequence according to the display order;
[0009] S4, the display area generates a display image block according to the image data block;
[0010] S5. Generate a positioning image according to the displayed image block.
[0011] By adopting this technical solution, since each image data block is generated separately, in the subsequent image data block generation process, the already generated image data blocks remain running in the memory space and are not read or written to the disk, which can significantly reduce the dependence on disk resources; at the same time, since each display data block and display image block are independent of each other, they will not affect each other, which reduces the probability of failure of the entire scanned image due to partial errors in the scanned data, thereby improving the imaging quality.
[0012] In an optional solution, step S2 specifically includes the following steps:
[0013] S201, obtaining display specification data of the display area;
[0014] S202: Segment the flat image data according to the display specification data.
[0015] This technical solution uses display specification data to segment the flat image data, which can improve the display effect of subsequent display image blocks on the one hand, and avoid insufficient utilization of the display area on the other hand, so that the positioning image does not fill the entire display area.
[0016] In an optional solution, step S3 specifically includes the following steps:
[0017] S301, generating a display order according to the display specification data;
[0018] S302. According to the display order, receive the image data blocks corresponding to the display order in sequence.
[0019] By adopting this technical solution, different receiving orders of display image blocks can be generated, so that the composition of the positioning image is more diversified, and thus it is suitable for positioning images of different sizes.
[0020] In an optional solution, the image data block includes: a first restored data block, a main data block and a second restored data block;
[0021] And step S4 specifically includes the following steps:
[0022] S401: if the display area fails to receive a certain image data block according to the display order, obtaining the second restored data block of the data image block preceding the image data block and the first restored data block of the data image block following the image data block;
[0023] S402: Generate the display image block corresponding to the image data block according to the second restored data block of the previous data image block and the first restored data block of the next data image block.
[0024] By adopting this technical solution, a recovery function is given to the image data block. When a certain image data block fails to be received, the missing data can be recovered by using the previous and next image data blocks.
[0025] In an optional solution, after step S5, the following steps are further included:
[0026] S6, detecting whether a click signal is received;
[0027] S7. If a click signal is received, the positioning image is deleted.
[0028] This technical solution further provides a measure for deleting the positioning image, and the disk will not be occupied later.
[0029] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the novel CT scanning positioning image loading method as described above is implemented.
[0030] The present invention also provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the novel CT scanning positioning image loading method as described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0032] Figure 1 This is a flow chart of a novel CT scanning positioning image loading method in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0034] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0035] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integrated connection; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0036] When using CT equipment to detect and image the human body, due to the characteristics of the CT detection process and the limitations of the corresponding imaging mechanism, when the scanning positioning image is displayed, on the one hand, the scanning process is continuous and the positioning image is also continuously generated. On the other hand, due to the continuity of the scan, the image generation process is also a process of continuous reading and writing to the disk. This results in a large amount of resources being occupied for both the display of the positioning image and the reading of the positioning image. Once a freeze occurs, image errors or poor refresh experience are likely to occur.
[0037] Based on this, Figure 1 As shown, the novel CT scanning positioning image loading method provided by the present invention comprises the following steps:
[0038] S1. Obtaining flat film image data.
[0039] It should be noted that the plain film image data is generated by the detection component of the CT machine.
[0040] S2. Segment the flat image data to generate consecutive image data blocks.
[0041] The purpose of segmenting the flat image data is to enable each portion of the image data block to be displayed in one display image block, with no image blanks or image overlaps.
[0042] It should be noted that the image data blocks are generated continuously so that the displayed images can be received and displayed sequentially.
[0043] S3. The display area receives the image data blocks in sequence according to the display order.
[0044] In this step, the display area receives the image data blocks accordingly in sequence.
[0045] S4. The display area generates a display image block according to the image data block.
[0046] In this step, the display area generates display image blocks using the received corresponding image data blocks.
[0047] S5. Generate a positioning image according to the displayed image block.
[0048] In this step, since each display area forms a corresponding display image block, and these display image blocks are received and generated in sequence, so many display image blocks can be used to jointly generate a positioning image.
[0049] By adopting this technical solution, since each image data block is generated separately, in the subsequent image data block generation process, the already generated image data blocks remain running in the memory space and are not read or written to the disk, which can significantly reduce the dependence on disk resources; at the same time, since each display data block and display image block are independent of each other, they will not affect each other, which reduces the probability of failure of the entire scanned image due to partial errors in the scanned data, thereby improving the imaging quality.
[0050] In an optional solution, step S2 specifically includes the following steps:
[0051] S201: Acquire display specification data of the display area.
[0052] It should be noted that the display specification data refers to the size, pixel accuracy, etc. of the display area.
[0053] S202: Segment the flat image data according to the display specification data.
[0054] In this step, the flat film image data is segmented using the display specification data in order to ensure that the display image blocks generated by the segmented image data blocks meet the definition requirements and ensure the display effect.
[0055] This technical solution uses display specification data to segment the flat image data, which can improve the display effect of subsequent display image blocks on the one hand, and avoid insufficient utilization of the display area on the other hand, so that the positioning image does not fill the entire display area.
[0056] In an optional solution, step S3 specifically includes the following steps:
[0057] S301. Generate a display sequence according to the display specification data.
[0058] In this step, due to the different widths and precisions of the display area, the display image blocks may be distributed in columns or in an M×N matrix. These are all recorded in the display specification data. Based on this, by utilizing the display specification data, the arrangement order of the display image blocks and ultimately the segmentation order can be determined.
[0059] S302. According to the display order, receive the image data blocks corresponding to the display order in sequence.
[0060] In this step, the corresponding image data blocks are received in a display order, so that each display image block is finally located at a corresponding position in the positioning image, making the entire positioning image an orderly whole.
[0061] By adopting this technical solution, different receiving orders of display image blocks can be generated, so that the composition of the positioning image is more diversified, and thus it is suitable for positioning images of different sizes.
[0062] In an optional solution, the image data block includes: a first restored data block, a main data block and a second restored data block.
[0063] And step S4 specifically includes the following steps:
[0064] S401. If the display area fails to receive a certain image data block according to the display order, obtain the second restored data block of the data image block preceding the image data block and the first restored data block of the data image block following the image data block.
[0065] In this step, when a certain image data block is missing, the first recovery data block and the second recovery data block of the previous image data block are obtained. The first recovery data block is used to record the front part of the missing image data block, and the second recovery data block is used to record the back part of the missing image data block.
[0066] S402: Generate the display image block corresponding to the image data block according to the second restored data block of the previous data image block and the first restored data block of the next data image block.
[0067] By adopting this technical solution, a recovery function is given to the image data block. When a certain image data block fails to be received, the missing data can be recovered by using the previous and next image data blocks.
[0068] In an optional solution, after step S5, the following steps are further included:
[0069] S6. Detect whether a click signal is received.
[0070] The click signal here can be a signal input by a mouse, touch screen, etc.
[0071] S7. If a click signal is received, the positioning image is deleted.
[0072] In this step, if a click signal is received, it means that the user has viewed the positioning image and it can be deleted now, thereby avoiding writing the positioning image to the disk again and reducing the disk occupancy.
[0073] This technical solution further provides a measure for deleting the positioning image, and the disk will not be occupied later.
[0074] In addition, when the above process in the embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0075] In the present invention, unless otherwise clearly specified and limited, a first feature being “on” or “under” a second feature may mean that the first feature and the second feature are in direct contact, or the first feature and the second feature are in indirect contact via an intermediate medium.
[0076] Moreover, the first feature being “above”, “above”, and “above” the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. The first feature being “below”, “below”, and “below” the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0077] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0078] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A novel CT scanning positioning image loading method, characterized in that: The following steps are involved: S1, obtaining flat film image data; S2, segmenting the flat image data to generate consecutive image data blocks; S3, the display area receives the image data blocks in sequence according to the display order; S4, the display area generates a display image block according to the image data block; the image data block includes: a first recovery data block, a main data block and a second recovery data block; and step S4 specifically includes the following steps: S401, if the display area fails to receive a certain image data block according to the display order, then obtain the second recovery data block of the previous image data block and the first recovery data block of the next image data block of the image data block; S402, based on the second recovery data block of the previous image data block and the first recovery data block of the next image data block of the image data block, generate the display image block corresponding to the image data block; S5. Generate a positioning image according to the displayed image block.
2. The novel CT scanning positioning image loading method according to claim 1 is characterized in that: Step S2 specifically includes the following steps: S201, obtaining display specification data of the display area; S202: Segment the flat image data according to the display specification data.
3. The novel CT scanning positioning image loading method according to claim 2 is characterized in that: Step S3 specifically includes the following steps: S301, generating a display order according to the display specification data; S302. According to the display order, receive the image data blocks corresponding to the display order in sequence.
4. The novel CT scanning positioning image loading method according to claim 1 is characterized in that: After step S5, the following steps are also included: S6, detecting whether a click signal is received; S7. If a click signal is received, the positioning image is deleted.
5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the novel CT scanning positioning image loading method according to any one of claims 1 to 4 is implemented.
6. A terminal 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 computer program, the novel CT scanning positioning image loading method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Image reconstruction method, computer equipment and computer readable storage medium
CN109685871A