CN113380386A - Method, device and equipment for adjusting medical electronic film image and storage medium - Google Patents
Method, device and equipment for adjusting medical electronic film image and storage medium Download PDFInfo
- Publication number
- CN113380386A CN113380386A CN202110672661.9A CN202110672661A CN113380386A CN 113380386 A CN113380386 A CN 113380386A CN 202110672661 A CN202110672661 A CN 202110672661A CN 113380386 A CN113380386 A CN 113380386A
- Authority
- CN
- China
- Prior art keywords
- film image
- adjusted
- adjusting
- image
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000004590 computer program Methods 0.000 claims description 12
- 230000001105 regulatory effect Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 15
- 230000008569 process Effects 0.000 abstract description 15
- 238000013507 mapping Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 4
- 239000002699 waste material Substances 0.000 description 3
- 230000001143 conditioned effect Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H30/00—ICT specially adapted for the handling or processing of medical images
- G16H30/40—ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/41—Medical
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Radiology & Medical Imaging (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Image Processing (AREA)
Abstract
The invention relates to a method, a device, equipment and a storage medium for adjusting a medical electronic film image. The method comprises the following steps: acquiring a film image to be adjusted; dispersing the film image to be adjusted into a preset image adjusting coordinate system; receiving operation data of a user, and determining chart adjusting key points selected by the user on a preset reference curve in the preset chart adjusting coordinate system according to the operation data; and moving the position of the key point of the chart adjustment, and carrying out black-and-white concentration adjustment on the film image to be adjusted by combining a Bezier curve algorithm until a target electronic film image meeting the requirements of a user is obtained. The method can quickly realize the adjustment of the color lookup table of the electronic film image and acquire the total adjustment effect of the image adjustment process in real time.
Description
Technical Field
The invention relates to the technical field of medical treatment, in particular to a method, a device, equipment and a storage medium for adjusting a medical electronic film image.
Background
With the development of medical technology, the medical electronic film is more and more widely applied, and doctors can intuitively know the illness state of patients through the medical electronic film. The medical electronic film definition directly influences the judgment of the doctor on the state of the illness. In order to improve the definition of the medical electronic film, a Look-Up-Table (LUT) of the medical electronic film image is adjusted before the medical electronic film is generated, so that the printing effect of the medical electronic film is better.
At present, most of the image adjusting tools are used for adjusting medical electronic film images, and then the adjusted images are printed into the medical electronic films. However, the current LUT image adjusting tool for medical electronic film images is not intuitive, basically belongs to blind adjustment, and wastes resources because the images are directly printed after being adjusted.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a device and a storage medium for adjusting a medical electronic film image, which overcome the disadvantages of the prior art. The problems that the conventional chart adjusting process is not visual and resources are wasted due to blind adjustment are solved.
In order to achieve the purpose, the invention adopts the following technical scheme:
a medical electronic film image adjusting method comprises the following steps:
acquiring a film image to be adjusted;
dispersing the film image to be adjusted into a preset image adjusting coordinate system;
receiving operation data of a user, and determining chart adjusting key points selected by the user on a preset reference curve in the preset chart adjusting coordinate system according to the operation data;
and moving the position of the key point of the chart adjustment, and carrying out black-and-white concentration adjustment on the film image to be adjusted by combining a Bezier curve algorithm until a target electronic film image meeting the requirements of a user is obtained.
Optionally, the dispersing the film image to be adjusted into a preset chart coordinate system includes:
converting the film image to be adjusted into a 24-gray-scale image;
and correspondingly dispersing the 24 gray-scale images into the preset tone image coordinate system.
Optionally, the method further includes:
and generating the preset reference curve.
Optionally, the generating the preset reference curve includes:
receiving curve selection operation data of a user, and selecting the required preset reference curve from a preset curve library according to the curve selection operation data;
or receiving position information selected by a user in the preset coordinate system, and generating the preset reference curve according to the position information.
Optionally, the moving the position of the key point of the chart adjustment and performing black-and-white density adjustment on the film image to be adjusted by combining a bezier curve algorithm includes:
moving key points of the chart on the preset reference curve up and down, and adjusting the black and white concentration of the film image to be adjusted at the corresponding positions of the key points of the chart;
and carrying out black-and-white concentration adjustment on the film image to be adjusted within the set range of the key points of the image adjustment by utilizing a Bezier curve algorithm.
Optionally, the dispersing the film image to be adjusted into a preset chart coordinate system further includes:
judging whether the film image to be regulated is an 8-bit map;
and if the film image to be adjusted is not the 8-bit map, converting the film image to be adjusted into the film image to be adjusted in the form of the 8-bit map.
Optionally, the method further includes:
and displaying an operation interface for adjusting the black and white concentration of the film image to be adjusted in real time.
An apparatus for adjusting an electronic film image for medical use, comprising:
the film image acquisition module is used for acquiring a film image to be adjusted;
the coordinate system dispersing module is used for dispersing the film image to be adjusted into a preset image adjusting coordinate system;
the key point determining module is used for receiving operation data of a user and determining a chart adjusting key point selected by the user on a preset reference curve in the preset chart adjusting coordinate system according to the operation data;
and the black and white adjusting module is used for moving the position of the key point of the image adjustment and carrying out black and white concentration adjustment on the film image to be adjusted by combining a Bezier curve algorithm until a target electronic film image meeting the requirements of a user is obtained.
An apparatus for adjusting an electronic film image for medical use, comprising:
a processor, and a memory coupled to the processor;
the memory is used for storing a computer program, and the computer program is at least used for executing the adjusting method of the medical electronic film image;
the processor is used for calling and executing the computer program in the memory.
A storage medium storing a computer program which, when executed by a processor, implements the steps of the method of adjusting a medical electronic film image as described above.
The technical scheme provided by the application can comprise the following beneficial effects:
the application discloses a method, a device, equipment and a storage medium for adjusting a medical electronic film image. The method comprises the following steps: the method comprises the steps of obtaining a film image to be adjusted, dispersedly mapping the film image to be adjusted to a preset mapping coordinate system, selecting mapping key points on a preset reference curve in the preset mapping coordinate system by a user, and adjusting the black and white concentration of the film image to be adjusted by moving the positions of the mapping key points and combining a Bezier curve algorithm to obtain a clear and high-quality target electronic film image. In the method, the black-white concentration at the corresponding position of the key point of the chart in the film image to be adjusted is adjusted by moving the key point of the chart selected on the preset reference curve. The position of the key point of the chart is moved to adjust the black-white concentration, the adjusting effect in the process of moving the key point of the chart can be reflected one by one, a user can visually know the effect in the adjustment process of the black-white concentration, meanwhile, the optimal effect can be obtained conveniently and quickly by continuously moving the position of the key point of the chart, and the adjusted film image to be adjusted achieves the effects of clear gradation and no color fault.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for adjusting a medical electronic film image according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for adjusting a medical electronic film image according to another embodiment of the present invention;
fig. 3 is a block diagram of an adjusting apparatus for medical electronic film images according to an embodiment of the present invention;
fig. 4 is a block diagram of an apparatus for adjusting an electronic film image for medical use according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a flowchart of a method for adjusting a medical electronic film image according to an embodiment of the present invention. Referring to fig. 1, a method for adjusting an electronic film image for medical use, includes:
step 101: and acquiring a film image to be adjusted.
After the medical equipment takes the image of the patient, the image is taken as the film image to be adjusted. The conditioning device in this application can obtain the film image to be conditioned from the medical device.
Step 102: and dispersing the film image to be adjusted into a preset image adjusting coordinate system.
After the film image to be adjusted is obtained, in order to adjust the color lookup table in the film image to be adjusted, the film image to be adjusted is dispersed into a preset adjustment map coordinate system of 600 pixels by 600 pixels. The preset image-adjusting coordinate system can be used for accurately acquiring the position information of the film image to be adjusted, and coordinates are distributed to each pixel point in the film image to be adjusted, so that the black-white color concentration of the film image to be adjusted can be conveniently and accurately controlled. It should be noted that the size of the preset map coordinate system is not limited to the size set in the above embodiments, and may be determined according to actual situations.
Step 103: and receiving operation data of a user, and determining a chart adjusting key point selected by the user on a preset reference curve in the preset chart adjusting coordinate system according to the operation data.
When the film image to be adjusted is adjusted, the adjusting device can display an image color lookup table adjusting interface to a user. When the film image to be adjusted is dispersed to the preset chart coordinate system, the current interface can display the preset chart coordinate system which is opposite to the film image to be adjusted and the film image to be adjusted to the user. At the moment, a preset reference curve is arranged in the preset chart coordinate system, and then a user can independently select chart adjusting key points on the preset reference curve according to the actual image condition of the film image to be adjusted. When the user selects the key point of the chart adjustment, the user can select the key point according to the display condition on the film image to be adjusted displayed on the current interface. For example, the image at the position a in the preset reference curve corresponding to the film image to be adjusted is blurred, the black and white level is not clear, and at this time, the user sets the position a as a key point of image adjustment on the preset reference curve.
The number of key points of the chart adjustment is not fixed, can be a plurality of key points, and can also be one key point, and the specific number is selected according to the requirements of users and the definition of the film image to be adjusted. The definition of the image can also be improved by changing the number of key points of the image.
Step 104: and moving the position of the key point of the chart adjustment, and carrying out black-and-white concentration adjustment on the film image to be adjusted by combining a Bezier curve algorithm until a target electronic film image meeting the requirements of a user is obtained.
After the key point of the chart is selected, the user controls and moves the position of the key point of the chart on the current interactive interface, in the process of moving the position of the key point of the chart, the image display definition at the position of the key point of the chart is changed, the black and white level is changed, and the user can set the key point of the chart at the position with clear black and white level. Meanwhile, in the process of moving the key point position of the chart, the image near the key point position of the chart is properly adjusted by combining a Bezier curve algorithm. The Bezier curve algorithm can adjust the black-white concentration of the image near the key point of the tone map while adjusting the black-white concentration of the key point of the tone map, and the color difference between the key point image and the surrounding image is abrupt.
In the above embodiment, the film image to be adjusted and the preset chart coordinate system are combined in an antipodal manner, the preset reference curve is set in the preset chart coordinate system, the user selects the chart adjusting key point on the preset reference curve in contrast to the color display condition of the film image to be adjusted, and then the user adjusts the black-and-white density of the image at the key point position by moving the position of the chart adjusting key point. Meanwhile, a Bezier curve algorithm is combined in the adjusting process, so that the effect of smoothing the preset reference curve passing through a plurality of key points is achieved, and the optimal effects of clear gradation and no color fault of film image imaging are achieved.
To describe the method for adjusting an electronic film image in more detail, another embodiment is provided on the basis of the above embodiment, and the following is provided.
Fig. 2 is a flowchart of a method for adjusting a medical electronic film image according to another embodiment of the present invention.
Referring to fig. 2, a method for adjusting an electronic film image for medical use includes:
step 201: and acquiring a film image to be adjusted.
Step 202: and judging whether the film image to be regulated is an 8-bit map.
In the process of electronic film image adjustment in this application, the image used needs to be an 8-bit map image. Thus, after receiving the film image to be adjusted, it is necessary to determine whether the film image to be adjusted is an 8-bit map.
Step 203: and if the film image to be adjusted is not the 8-bit map, converting the film image to be adjusted into the film image to be adjusted in the form of the 8-bit map.
When the acquired film image to be adjusted is not an 8-bit map image, the film image to be adjusted needs to be converted into an 8-bit map image, and the following operations can be performed on the basis.
It should be noted that, in the present application, the condition that the film image to be adjusted is set to be the 8-bit map image is not fixed, and the pixels of the film image to be adjusted may not be set, or other criteria may be set, which may be determined according to the actual application scenario.
Step 204: and converting the film image to be adjusted into a 24-gray-scale image.
In the present application, a basic 24-level gray scale map is used for adjusting the image color lookup table. I.e., the film image to be conditioned is divided into images having 24 square areas. The 24 gray-scale images can be used for accurately dividing the area of the film image to be regulated, so that the preset chart coordinate system can be accurately corresponded.
Step 205: and correspondingly dispersing the 24 gray-scale images into the preset tone image coordinate system.
Step 206: and receiving operation data of a user, and determining a chart adjusting key point selected by the user on a preset reference curve in the preset chart adjusting coordinate system according to the operation data.
Before a user selects a key point of a chart, a preset reference curve needs to be generated in advance. The mode that generates in this application and predetermines the benchmark curve has two kinds, one kind is that this application transfers the picture software system can directly demonstrate to the user and predetermine the curve storehouse, should predetermine the curve storehouse and have had multiple curve, and the user can be according to actual need early should predetermine the curve storehouse in select required curve as predetermineeing the benchmark curve can. The other is that the user can select a certain position as a preset reference curve in a self-defining way on the interactive interface. The specific generation mode of the preset reference curve is not fixed and is determined according to the actual requirements of users and the actual conditions of the film images to be adjusted.
One end of the preset reference curve is the lower left corner in the preset coordinate system, and the other end is the upper right corner in the preset coordinate system. I.e. the diagonal line in the predetermined coordinate system, which is the diagonal line connecting the lower left corner and the upper right corner. And setting the color of the lower left corner of the preset reference curve connected with the preset coordinate system to be black, and gradually reducing the color concentration along the curve direction until the color of the curve connected with the upper right corner of the preset coordinate system is white.
Step 207: and carrying out up-and-down movement operation on the key points of the chart adjustment on the preset reference curve, and carrying out black-and-white concentration adjustment on the film image to be adjusted at the corresponding positions of the key points of the chart adjustment.
After the key point of the chart is selected, the key point of the chart is moved up and down, and then the black and white density of the image at the position of the key point can be adjusted. For example, moving down the black color at the position is deepened, and moving up the white color at the position is deepened. By adjusting the black-white concentration, the black-white level in the image can be adjusted, and the image definition can be further changed.
Step 208: and carrying out black-and-white concentration adjustment on the film image to be adjusted within the set range of the key points of the image adjustment by using a Bezier curve algorithm, and displaying an operation interface for adjusting the black-and-white concentration of the film image to be adjusted in real time.
The method can adjust the black and white concentration of the electronic film image by moving the position of the key point of image adjustment, so that the image imaging achieves the best effects of clear gradation and no color fault. And in the process of moving the chart key points, the change condition of the black and white concentration in the moving process is displayed in real time, so that the function of timely feeding back the adjusting effect is achieved. Thereby reducing the adjustment time and reducing the waste of film consumables.
The embodiment of the invention also provides a device for adjusting the medical electronic film image. Please see the examples below.
Fig. 3 is a block diagram of an apparatus for adjusting an electronic film image for medical use according to an embodiment of the present invention. Referring to fig. 3, an apparatus for adjusting an electronic film image for medical use, comprising:
a film image acquisition module 301 for acquiring a film image to be adjusted.
A coordinate system dispersing module 302, configured to disperse the film image to be adjusted into a preset chart coordinate system.
And the key point determining module 303 is configured to receive operation data of a user, and determine, according to the operation data, a key point for map adjustment selected by the user on a preset reference curve in the preset map adjustment coordinate system.
And the black-and-white adjusting module 304 is used for moving the positions of the key points of the chart adjustment and combining a Bezier curve algorithm to adjust the black-and-white concentration of the film image to be adjusted until a target electronic film image meeting the requirements of a user is obtained.
On the basis of the above embodiment, the apparatus in the present application further includes: and the curve generating module is used for generating the preset reference curve.
And the adjusting process display module is used for displaying an operation interface for adjusting the black and white concentration of the film image to be adjusted in real time.
The coordinate system dispersing module 302 is specifically configured to: converting the film image to be adjusted into a 24-gray-scale image; and correspondingly dispersing the 24 gray-scale images into the preset tone image coordinate system.
The curve generation module is specifically configured to: receiving curve selection operation data of a user, and selecting the required preset reference curve from a preset curve library according to the curve selection operation data; and receiving position information selected by a user in the preset coordinate system, and generating the preset reference curve according to the position information.
The black-and-white adjustment module 304 is specifically configured to: moving key points of the chart on the preset reference curve up and down, and adjusting the black and white concentration of the film image to be adjusted at the corresponding positions of the key points of the chart; and carrying out black-and-white concentration adjustment on the film image to be adjusted within the set range of the key points of the image adjustment by utilizing a Bezier curve algorithm.
In the device, the LUT of the medical electronic film is adjusted by increasing, decreasing or dragging key points in a preset image adjusting coordinate system, and the image effect can be fed back and adjusted in real time. The image imaging can achieve the best effects of clear gradation and no color fault, the adjustment time is reduced, and the waste of film consumables is reduced.
In order to more clearly introduce a hardware system for implementing the embodiment of the present invention, the embodiment of the present invention further provides an adjusting apparatus for a medical electronic film image, which corresponds to the adjusting method for a medical electronic film image provided by the embodiment of the present invention. Please see the examples below.
Fig. 4 is a block diagram of an apparatus for adjusting an electronic film image for medical use according to an embodiment of the present invention. Referring to fig. 4, an apparatus for adjusting an electronic film image for medical use, comprising:
a processor 401 and a memory 402 connected to the processor 401;
the memory 402 is used for storing a computer program at least for executing the above-mentioned method for adjusting a medical electronic film image;
the processor 401 is used to call and execute the computer program in the memory 402.
Meanwhile, on the basis, the application also discloses a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the computer program realizes the steps of the medical electronic film image adjusting method.
The device realizes the adjustment of the color lookup table of the medical electronic film image by moving the positions and the number of the key points of image adjustment in the preset image adjustment coordinate system, so that the image imaging achieves the optimal effects of clear gradation and no color fault. Meanwhile, the adjusting effect in the adjusting process can be fed back in real time, so that a user can visually check the effect in the image adjusting process to obtain the optimal image.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (10)
1. A method for adjusting medical electronic film images is characterized by comprising the following steps:
acquiring a film image to be adjusted;
dispersing the film image to be adjusted into a preset image adjusting coordinate system;
receiving operation data of a user, and determining chart adjusting key points selected by the user on a preset reference curve in the preset chart adjusting coordinate system according to the operation data;
and moving the position of the key point of the chart adjustment, and carrying out black-and-white concentration adjustment on the film image to be adjusted by combining a Bezier curve algorithm until a target electronic film image meeting the requirements of a user is obtained.
2. The method according to claim 1, wherein said dispersing the film image to be adjusted into a preset chart coordinate system comprises:
converting the film image to be adjusted into a 24-gray-scale image;
and correspondingly dispersing the 24 gray-scale images into the preset tone image coordinate system.
3. The method of claim 1, further comprising:
and generating the preset reference curve.
4. The method of claim 3, wherein the generating the preset reference curve comprises:
receiving curve selection operation data of a user, and selecting the required preset reference curve from a preset curve library according to the curve selection operation data;
or receiving position information selected by a user in the preset coordinate system, and generating the preset reference curve according to the position information.
5. The method according to claim 1, wherein the moving the position of the key point of the adjustment map and the adjusting the black and white density of the film image to be adjusted by combining a Bezier curve algorithm comprises:
moving key points of the chart on the preset reference curve up and down, and adjusting the black and white concentration of the film image to be adjusted at the corresponding positions of the key points of the chart;
and carrying out black-and-white concentration adjustment on the film image to be adjusted within the set range of the key points of the image adjustment by utilizing a Bezier curve algorithm.
6. The method according to claim 1, wherein said dispersing said film image to be adjusted into a preset chart coordinate system further comprises:
judging whether the film image to be regulated is an 8-bit map;
and if the film image to be adjusted is not the 8-bit map, converting the film image to be adjusted into the film image to be adjusted in the form of the 8-bit map.
7. The method of claim 1, further comprising:
and displaying an operation interface for adjusting the black and white concentration of the film image to be adjusted in real time.
8. An apparatus for adjusting an electronic film image for medical use, comprising:
the film image acquisition module is used for acquiring a film image to be adjusted;
the coordinate system dispersing module is used for dispersing the film image to be adjusted into a preset image adjusting coordinate system;
the key point determining module is used for receiving operation data of a user and determining a chart adjusting key point selected by the user on a preset reference curve in the preset chart adjusting coordinate system according to the operation data;
and the black and white adjusting module is used for moving the position of the key point of the image adjustment and carrying out black and white concentration adjustment on the film image to be adjusted by combining a Bezier curve algorithm until a target electronic film image meeting the requirements of a user is obtained.
9. An apparatus for adjusting an electronic film image for medical use, comprising:
a processor, and a memory coupled to the processor;
the memory is used for storing a computer program at least for executing the adjusting method of the medical electronic film image according to any one of claims 1 to 7;
the processor is used for calling and executing the computer program in the memory.
10. A storage medium characterized by storing a computer program which, when executed by a processor, realizes each step in the method for adjusting an electronic film image for medical use according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110672661.9A CN113380386B (en) | 2021-06-17 | 2021-06-17 | Medical electronic film image adjusting method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110672661.9A CN113380386B (en) | 2021-06-17 | 2021-06-17 | Medical electronic film image adjusting method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113380386A true CN113380386A (en) | 2021-09-10 |
CN113380386B CN113380386B (en) | 2024-04-23 |
Family
ID=77577455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110672661.9A Active CN113380386B (en) | 2021-06-17 | 2021-06-17 | Medical electronic film image adjusting method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113380386B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02282744A (en) * | 1989-04-25 | 1990-11-20 | Yamatoya Shokai:Kk | Method for converting gradation at the time of producing reproduced image from original image |
US6377270B1 (en) * | 1999-07-30 | 2002-04-23 | Microsoft Corporation | Method and system for transforming color coordinates by direct calculation |
JP2002374417A (en) * | 2001-06-15 | 2002-12-26 | Canon Inc | Device and method for image processing |
US20030103057A1 (en) * | 2001-12-03 | 2003-06-05 | Eric Graves | Method and apparatus for color correction |
JP2004230001A (en) * | 2003-01-31 | 2004-08-19 | Konica Minolta Holdings Inc | Medical image processor and medical image processing method |
US6853747B1 (en) * | 1998-05-26 | 2005-02-08 | Canon Kabushiki Kaisha | Image processing method and apparatus and recording medium |
CN104519237A (en) * | 2013-10-07 | 2015-04-15 | 佳能株式会社 | Image processing apparatus and image processing method |
JP2016208151A (en) * | 2015-04-17 | 2016-12-08 | キヤノン株式会社 | Image processing device, image processing method, image forming apparatus having image processing device, and program |
CN112738491A (en) * | 2020-12-29 | 2021-04-30 | 视田科技(天津)有限公司 | Correction method of projection reflection picture |
-
2021
- 2021-06-17 CN CN202110672661.9A patent/CN113380386B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02282744A (en) * | 1989-04-25 | 1990-11-20 | Yamatoya Shokai:Kk | Method for converting gradation at the time of producing reproduced image from original image |
US6853747B1 (en) * | 1998-05-26 | 2005-02-08 | Canon Kabushiki Kaisha | Image processing method and apparatus and recording medium |
US6377270B1 (en) * | 1999-07-30 | 2002-04-23 | Microsoft Corporation | Method and system for transforming color coordinates by direct calculation |
JP2002374417A (en) * | 2001-06-15 | 2002-12-26 | Canon Inc | Device and method for image processing |
US20030103057A1 (en) * | 2001-12-03 | 2003-06-05 | Eric Graves | Method and apparatus for color correction |
JP2004230001A (en) * | 2003-01-31 | 2004-08-19 | Konica Minolta Holdings Inc | Medical image processor and medical image processing method |
CN104519237A (en) * | 2013-10-07 | 2015-04-15 | 佳能株式会社 | Image processing apparatus and image processing method |
JP2016208151A (en) * | 2015-04-17 | 2016-12-08 | キヤノン株式会社 | Image processing device, image processing method, image forming apparatus having image processing device, and program |
CN112738491A (en) * | 2020-12-29 | 2021-04-30 | 视田科技(天津)有限公司 | Correction method of projection reflection picture |
Also Published As
Publication number | Publication date |
---|---|
CN113380386B (en) | 2024-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6735330B1 (en) | Automatic digital radiographic bright light | |
EP1815424B1 (en) | Touchless manipulation of images for regional enhancement | |
US9336576B2 (en) | Method and system for improving the visibility of features of an image | |
JP5843662B2 (en) | Display device and television receiver | |
JP4358980B2 (en) | How to change the darkness level of a digital image | |
US11683438B2 (en) | Systems and methods to semi-automatically segment a 3D medical image using a real-time edge-aware brush | |
US8643668B2 (en) | Medical imaging viewer | |
JP2017045030A (en) | Image display device | |
CN109727316B (en) | Virtual reality image processing method and system | |
US20050069186A1 (en) | Medical image processing apparatus | |
CN109064990A (en) | A kind of display device and its image regulating method | |
US9933849B2 (en) | Method and computing device for window leveling based upon a gaze location | |
KR20160063989A (en) | Display apparatus and method for controlling same | |
CN113380386B (en) | Medical electronic film image adjusting method, device, equipment and storage medium | |
JP6039316B2 (en) | Image output device, control method thereof, image display device, control method thereof, and storage medium | |
CN108597435B (en) | Method for controlling display of display panel, device thereof and display device | |
JP6338525B2 (en) | Adapting X-ray slave images to X-ray master images | |
CN111210898A (en) | Method and device for processing DICOM data | |
JPH07131653A (en) | Image gradation compression display circuit | |
TW200931389A (en) | A backlight modulation and image processing method | |
US20120242682A1 (en) | Apparatus and method for displaying image | |
JP2009521171A (en) | How to improve image browsing characteristics of images | |
JP2006079590A (en) | Image processor | |
CN118968909A (en) | Energy-saving control method and device for LED display screen and LED display screen | |
Roehrig et al. | Why should you calibrate your display? |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |