CN113380386B - Medical electronic film image adjusting method, device, equipment and storage medium - Google Patents
Medical electronic film image adjusting method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113380386B CN113380386B CN202110672661.9A CN202110672661A CN113380386B CN 113380386 B CN113380386 B CN 113380386B CN 202110672661 A CN202110672661 A CN 202110672661A CN 113380386 B CN113380386 B CN 113380386B
- Authority
- CN
- China
- Prior art keywords
- film image
- preset
- adjusted
- image
- coordinate system
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000001105 regulatory effect Effects 0.000 claims abstract description 48
- 238000004590 computer program Methods 0.000 claims description 11
- 230000000694 effects Effects 0.000 abstract description 13
- 230000008569 process Effects 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 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
- 230000007363 regulatory process Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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 medical electronic film images. The method comprises the following steps: acquiring a film image to be adjusted; dispersing the film image to be regulated into a preset regulating graph coordinate system; receiving operation data of a user, and determining a key point of a tone map selected by the user on a preset reference curve in the preset tone map coordinate system according to the operation data; and moving the position of the key point of the picture 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 requirement 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 in 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 medical electronic film images.
Background
Along with the development of medical technology, the application of medical electronic films is more and more widespread, and doctors can intuitively know the illness state of patients through the medical electronic films. The definition of the medical electronic film directly influences the judgment of doctors on the illness state. In order to improve the definition of the medical electronic film, a Look-Up Table (LUT) of the image of the medical electronic film is adjusted before the medical electronic film is generated, so that the printing effect of the medical electronic film is better.
At present, medical electronic film images are mostly regulated through a picture regulating tool, and then the regulated images are printed into medical electronic films. However, the current medical electronic film image LUT mapping tool is not visual, basically belongs to blind tone, directly prints after the image is mapped, and wastes very much resources.
Disclosure of Invention
In view of the above, the present invention aims to overcome the shortcomings of the prior art, and provide a method, a device, equipment and a storage medium for adjusting medical electronic film images. The problem of current map adjustment process is not directly perceived, blind tone leads to the wasting of resources is solved.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a method of adjusting medical electronic film images, comprising:
Acquiring a film image to be adjusted;
Dispersing the film image to be regulated into a preset regulating graph coordinate system;
receiving operation data of a user, and determining a key point of a tone map selected by the user on a preset reference curve in the preset tone map coordinate system according to the operation data;
and moving the position of the key point of the picture 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 requirement of a user is obtained.
Optionally, the dispersing the film image to be adjusted into a preset tone map coordinate system includes:
Converting the film image to be regulated into a 24 gray-scale image;
And correspondingly dispersing the 24 gray-scale images into the preset tone map coordinate system.
Optionally, the method further comprises:
And generating the preset reference curve.
Optionally, the generating the preset reference curve includes:
Receiving curve selection operation data of a user, and selecting a required preset reference curve from a preset curve library according to the curve selection operation data;
Or receiving the position information selected by the 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 map adjustment, and performing black-and-white concentration adjustment on the film image to be adjusted in combination with a bezier curve algorithm, includes:
performing up-and-down movement operation on the picture adjustment key points on the preset reference curve, and performing black-and-white concentration adjustment on the film images to be adjusted at the positions corresponding to the picture adjustment key points;
And carrying out black and white concentration adjustment on the film image to be adjusted within the setting range of the key point of the tone map by using a Bezier curve algorithm.
Optionally, the dispersing the film image to be adjusted into a preset tone map coordinate system further includes:
Judging whether the film image to be adjusted is an 8-bit map or not;
and if the film image to be regulated is not 8 bitmaps, converting the film image to be regulated into the film image to be regulated in the form of 8 bitmaps.
Optionally, the method further comprises:
And displaying an operation interface for adjusting the black-and-white concentration of the film image to be adjusted in real time.
An adjustment device for medical electronic film images, 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 regulated into a preset regulating graph coordinate system;
the key point determining module is used for receiving operation data of a user, and determining a key point of a tone map selected by the user on a preset reference curve in the preset tone map coordinate system according to the operation data;
And the black-and-white adjustment module is used for moving the position of the map adjustment key point 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 requirement of a user is obtained.
An adjustment apparatus for medical electronic film images, 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 medical electronic film image adjusting method;
The processor is configured to invoke and execute the computer program in the memory.
A storage medium storing a computer program which, when executed by a processor, performs 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 medical electronic film images. The method comprises the following steps: and acquiring a film image to be regulated, dispersing and mapping the film image to be regulated into a preset tone map coordinate system, then selecting tone map key points on a preset reference curve in the preset tone map coordinate system by a user, and regulating the black and white concentration of the film image to be regulated by moving the positions of the tone map key points and combining a Bezier curve algorithm, so as to obtain a clear and high-quality target electronic film image. In the method, black and white concentration at the position corresponding to the map key point in the film image to be regulated is regulated by moving the map key point selected on the preset reference curve. According to the application, the black-and-white concentration is regulated by moving the positions of the picture-regulating key points, the regulating effects in the process of moving the picture-regulating key points are reflected one by one, so that a user can intuitively know the effect in the black-and-white concentration regulating process, and meanwhile, the optimal effect can be conveniently and rapidly obtained by continuously moving the positions of the picture-regulating key points, and the regulated film image to be regulated achieves the effects of distinct gradation and no color fault.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for adjusting medical electronic film images provided in an embodiment of the present invention;
FIG. 2 is a flow chart of a method for adjusting medical electronic film images provided in another embodiment of the present invention;
FIG. 3 is a block diagram of an apparatus for adjusting medical electronic film images according to an embodiment of the present invention;
Fig. 4 is a block diagram of an apparatus for adjusting medical electronic film images 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 will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, based on the examples herein, which are within the scope of the invention as defined by the claims, will be within the scope of the invention as defined by the claims.
Fig. 1 is a flowchart of a method for adjusting an image of a medical electronic film according to an embodiment of the present invention. Referring to fig. 1, a method for adjusting an image of a medical electronic film includes:
step 101: and acquiring an image of the film to be adjusted.
After the medical device captures an image of the patient, the image is taken as the film image to be adjusted. Here, the adjusting device of the present application can acquire the film image to be adjusted from the medical device.
Step 102: and dispersing the film image to be regulated into a preset regulating graph coordinate system.
After obtaining the film image to be adjusted, in order to adjust the color lookup table in the film image to be adjusted, the film image to be adjusted is mapped and dispersed into a preset adjustment chart coordinate system of 600 pixels by 600 pixels. The position information of the film image to be regulated can be accurately obtained by utilizing the preset regulating coordinate system, and coordinates are allocated to each pixel point in the film image to be regulated, so that the black and white color concentration of the film image to be regulated 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 embodiment, and may be determined according to practical situations.
Step 103: and receiving operation data of a user, and determining a tone map key point selected by the user on a preset reference curve in the preset tone map coordinate system according to the operation data.
When the film image to be adjusted is adjusted, the adjusting device displays an image color lookup table adjusting interface to a user. When the film image to be adjusted is dispersed into the preset tone map coordinate system, the current interface displays the preset tone map coordinate system mapped with the film image to be adjusted and the film image to be adjusted to the user. At this time, a preset reference curve is set in the preset map setting coordinate system, and then a user can autonomously select a map setting key point on the preset reference curve according to the actual image condition of the film image to be adjusted. And when the user selects the key point of the picture adjustment, the key point can be selected according to the display condition of the film image to be adjusted displayed on the current interface. For example, the image display at the position A in the film image to be adjusted on the preset reference curve is blurred, the black and white level is not clear, and at the moment, the user sets the position A on the preset reference curve as a key point of the tone map.
The number of key points of the tone map is not fixed, and can be multiple or one, and the specific number is selected according to the requirements of users and the definition of the film images to be regulated. The definition of the image can be improved by changing the number of key points of the tone map.
Step 104: and moving the position of the key point of the picture 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 requirement of a user is obtained.
When the key point of the map is selected, the user controls the position of the key point of the map on the current interactive interface, in the process of moving the position of the key point of the map, the display definition of the image at the position of the key point of the map can be changed, the black-white level can be changed, and the user can set the key point of the map at the position with clear black-white level. Meanwhile, in the process of moving the position of the key point of the tone map, the image near the position of the key point of the tone map is properly adjusted by combining with a Bezier curve algorithm. The Bezier curve algorithm can adjust the black and white concentration of the image near the key point of the map while adjusting the black and white concentration at the position of the key point of the 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 is mapped and combined with the preset map coordinate system, the preset reference curve is set in the preset map coordinate system, the user selects the map key point on the preset reference curve according to the color display condition of the film image to be adjusted, and then the user adjusts the black and white concentration of the image at the key point position by moving the position of the map key point. Meanwhile, a Bezier curve algorithm is combined in the adjusting process, so that a smooth effect is achieved through preset reference curves of a plurality of key points, and further, the optimal effects of distinct layers and no fault of color are achieved through film image imaging.
In order to describe the electronic film image adjusting method in more detail, another specific embodiment is provided for description based on the above embodiment, which is specifically described below.
Fig. 2 is a flowchart of a method for adjusting an image of a medical electronic film according to another embodiment of the present invention.
Referring to fig. 2, a method for adjusting an image of a medical electronic film includes:
step 201: and acquiring an image of the film to be adjusted.
Step 202: and judging whether the film image to be regulated is an 8-bit map or not.
In the present application, in performing electronic film image adjustment, the image used needs to be an 8-bit image. Therefore, after receiving the film image to be adjusted, a determination needs to be made as to whether the film image to be adjusted is 8-bit.
Step 203: and if the film image to be regulated is not 8 bitmaps, converting the film image to be regulated into the film image to be regulated in the form of 8 bitmaps.
When the acquired film image to be adjusted is not an 8-bit image, the film image to be adjusted needs to be converted into the 8-bit image, and the following operation can be performed on the basis of the 8-bit image.
It should be noted that, in the present application, the case that the film image to be adjusted must be an 8-bit image is not fixed, or the pixels of the film image to be adjusted may not be set, or other criteria may be set, which may be specific to the actual application scenario.
Step 204: and converting the film image to be regulated into a 24-gray-scale image.
In the application, a basic 24 gray-scale map is used when performing image color lookup table adjustment. I.e. the film image to be adjusted is divided into images with 24 square areas. The 24 gray-scale images can be used for accurately dividing the areas of the film images to be adjusted, so that the areas can accurately correspond to a preset tone-scale coordinate system.
Step 205: and correspondingly dispersing the 24 gray-scale images into the preset tone map coordinate system.
Step 206: and receiving operation data of a user, and determining a tone map key point selected by the user on a preset reference curve in the preset tone map coordinate system according to the operation data.
Before the user selects the key point of the map, a preset reference curve needs to be generated in advance. The application has two modes of generating the preset reference curve, one is that the diagram regulating software system can directly display the preset curve library to the user, a plurality of curves are stored in the preset curve library, and the user can select the required curve in the preset curve library as the preset reference curve according to the actual needs. The other is that the user can select a certain position on the interactive interface in a self-defined way as a preset reference curve. The specific generation mode of the preset reference curve is not fixed and depends on the actual requirements of users and the actual conditions of the film images to be regulated.
One end of the preset reference curve is a lower left corner in the preset coordinate system, and the other end of the preset reference curve is an upper right corner of the preset coordinate system. I.e. a diagonal in a preset coordinate system, which is a diagonal connecting the lower left corner and the upper right corner. The color of the preset reference curve connected with the lower left corner of the preset coordinate system is set to be black, and the color concentration is gradually reduced along the curve direction until the color of the curve connected with the upper right corner of the preset coordinate system is set to be white.
Step 207: and performing up-and-down movement operation on the picture adjustment key points on the preset reference curve, and performing black-and-white concentration adjustment on the film images to be adjusted at the positions corresponding to the picture adjustment key points.
After the key point of the map is selected, the key point of the map 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 downward will darken the black color at that location and moving upward will darken the white color at that location. The black-and-white level in the image can be adjusted by adjusting the black-and-white concentration, so that the image definition can be changed.
Step 208: and (3) carrying out black and white concentration adjustment on the film image to be adjusted in the setting range of the key points of the tone map by utilizing 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.
In the method, the black and white concentration of the electronic film image can be adjusted by moving the position of the key point of the tone map so that the image imaging achieves the best effect of distinct gradation and no fault of color. And in the process of moving the key points of the picture, the change condition of the black-white concentration in the moving process is displayed in real time, so that the function of timely feeding back the regulating effect is achieved. Therefore, the adjusting time is shortened, and the waste of film consumable materials is reduced.
The embodiment of the invention also provides a medical electronic film image adjusting device corresponding to the medical electronic film image adjusting method. Please see the examples below.
Fig. 3 is a block diagram of an apparatus for adjusting an image of a medical electronic film according to an embodiment of the present invention. Referring to fig. 3, an adjusting apparatus for medical electronic film images, comprising:
The film image acquisition module 301 is configured to acquire a film image to be adjusted.
And the coordinate system dispersing module 302 is used for dispersing the film image to be regulated into a preset tone map coordinate system.
The key point determining module 303 is configured to receive operation data of a user, and determine a key point of a tone map selected by the user on a preset reference curve in the preset tone map coordinate system according to the operation data.
And the black-and-white adjustment module 304 is configured to move the position of the key point of the map adjustment, and perform black-and-white concentration adjustment on the film image to be adjusted by combining with a bezier curve algorithm until a target electronic film image meeting the user requirement is obtained.
On the basis of the above embodiment, the device of the present application further includes: and the curve generation 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 regulated into a 24 gray-scale image; and correspondingly dispersing the 24 gray-scale images into the preset tone map coordinate system.
The curve generation module is specifically used for: receiving curve selection operation data of a user, and selecting a 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: performing up-and-down movement operation on the picture adjustment key points on the preset reference curve, and performing black-and-white concentration adjustment on the film images to be adjusted at the positions corresponding to the picture adjustment key points; and carrying out black and white concentration adjustment on the film image to be adjusted within the setting range of the key point of the tone map by using a Bezier curve algorithm.
In the device, the medical electronic film LUT is adjusted by adding, reducing or dragging key points in a preset map adjustment coordinate system, and the image effect can be fed back and adjusted in real time. The imaging of the image achieves the best effects of distinct gradation and no fault of color, reduces the adjustment time and reduces the waste of film consumables.
In order to more clearly describe a hardware system for implementing the embodiment of the invention, the embodiment of the invention also provides a medical electronic film image adjusting device corresponding to the medical electronic film image adjusting method provided by the embodiment of the invention. Please see the examples below.
Fig. 4 is a block diagram of an apparatus for adjusting medical electronic film images according to an embodiment of the present invention. Referring to fig. 4, an apparatus for adjusting a medical electronic film image, comprising:
a processor 401 and a memory 402 connected to the processor 401;
the memory 402 is configured to store a computer program for performing at least the above-described method of adjusting medical electronic film images;
the processor 401 is used to call and execute the computer program in the memory 402.
Meanwhile, on the basis of the above, the application also discloses a storage medium which stores a computer program, and the computer program realizes each step in the medical electronic film image adjusting method when being executed by a processor.
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 the tone map in the preset tone map coordinate system, so that the image imaging achieves the best effect of distinct gradation and no fault of color. Meanwhile, the adjusting effect in the adjusting process can be fed back in real time, so that a user can intuitively check the effect in the image adjusting process, and an optimal image can be obtained.
It is to be understood that the same or similar parts in the above embodiments may be referred to each other, and that in some embodiments, the same or similar parts in other embodiments may be referred to.
It should be noted that in the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present invention, unless otherwise indicated, the meaning of "plurality" means at least two.
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 further 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 is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means 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 present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.
Claims (10)
1. A method for adjusting an image of a medical electronic film, comprising:
Acquiring a film image to be adjusted;
Dispersing the film image to be regulated into a preset regulating graph coordinate system;
receiving operation data of a user, and determining a key point of a tone map selected by the user on a preset reference curve in the preset tone map coordinate system according to the operation data;
Moving the position of the key point of the picture 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 requirement of a user is obtained;
The step of moving the position of the key point of the tone map and carrying out black and white concentration adjustment on the film image to be adjusted by combining a Bezier curve algorithm comprises the following steps:
performing up-and-down movement operation on the picture adjustment key points on the preset reference curve, and performing black-and-white concentration adjustment on the film images to be adjusted at the positions corresponding to the picture adjustment key points;
And carrying out black and white concentration adjustment on the film image to be adjusted within the setting range of the key point of the tone map by using a Bezier curve algorithm.
2. The method of claim 1, wherein said dispersing said film image to be adjusted into a preset tone map coordinate system comprises:
Converting the film image to be regulated into a 24 gray-scale image;
And correspondingly dispersing the 24 gray-scale images into the preset tone map coordinate system.
3. The method as recited in claim 1, further comprising:
And generating the preset reference curve.
4. A method according to claim 3, wherein said generating said preset reference curve comprises:
Receiving curve selection operation data of a user, and selecting a required preset reference curve from a preset curve library according to the curve selection operation data;
or receiving the position information selected by the user in a preset coordinate system, and generating the preset reference curve according to the position information.
5. The method of claim 1, wherein one end of the preset reference curve is a lower left corner in a preset tone map coordinate system, and the other end is an upper right corner of the preset coordinate system.
6. The method of claim 1, wherein said dispersing said film image to be adjusted into a preset tone map coordinate system further comprises:
Judging whether the film image to be adjusted is an 8-bit map or not;
and if the film image to be regulated is not 8 bitmaps, converting the film image to be regulated into the film image to be regulated in the form of 8 bitmaps.
7. The method as recited in 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 image of a medical electronic film, 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 regulated into a preset regulating graph coordinate system;
the key point determining module is used for receiving operation data of a user, and determining a key point of a tone map selected by the user on a preset reference curve in the preset tone map coordinate system according to the operation data;
The black-and-white adjustment module is used for moving the position of the key point of the map 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 requirement of a user is obtained;
The black-and-white adjustment module is specifically configured to:
performing up-and-down movement operation on the picture adjustment key points on the preset reference curve, and performing black-and-white concentration adjustment on the film images to be adjusted at the positions corresponding to the picture adjustment key points;
And carrying out black and white concentration adjustment on the film image to be adjusted within the setting range of the key point of the tone map by using a Bezier curve algorithm.
9. An apparatus for adjusting an image of a medical electronic film, comprising:
A processor, and a memory coupled to the processor;
The memory is used for storing a computer program at least for executing the method of adjusting medical electronic film images according to any one of claims 1-7;
The processor is configured to invoke and execute the computer program in the memory.
10. A storage medium storing a computer program which, when executed by a processor, performs the steps of the method of adjusting a medical electronic film image according to any one of claims 1-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 CN113380386A (en) | 2021-09-10 |
CN113380386B true 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 (8)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7215813B2 (en) * | 2001-12-03 | 2007-05-08 | Apple Computer, Inc. | Method and apparatus for color correction |
-
2021
- 2021-06-17 CN CN202110672661.9A patent/CN113380386B/en active Active
Patent Citations (8)
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 |
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 |
---|---|
CN113380386A (en) | 2021-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6735330B1 (en) | Automatic digital radiographic bright light | |
US9336576B2 (en) | Method and system for improving the visibility of features of an image | |
EP1815424B1 (en) | Touchless manipulation of images for regional enhancement | |
US7783127B1 (en) | Determining parameters for adjusting images | |
US9218653B2 (en) | Method and apparatus for dynamic range enhancement of an image | |
US7697161B2 (en) | Method of displaying wallpaper and apparatus for displaying wallpaper | |
JP4358980B2 (en) | How to change the darkness level of a digital image | |
JP5843662B2 (en) | Display device and television receiver | |
KR101384166B1 (en) | Apparatus, display device and method thereof for processing image data for display by a display panel | |
JP2008268717A (en) | Driving circuit of image display device, and image display method | |
JP2009063694A (en) | Image processing apparatus, image display device, image processing method, and program | |
US8643668B2 (en) | Medical imaging viewer | |
JP2017045030A (en) | Image display device | |
JP2002010139A (en) | Method for automatically deciding tone scale parameter of digital picture | |
CN109064990A (en) | A kind of display device and its image regulating method | |
CN112667173B (en) | Medical image printing method and device, medical equipment and readable storage medium | |
CN111698492B (en) | Method, terminal and computer readable storage medium capable of locally changing display color | |
CN113380386B (en) | Medical electronic film image adjusting method, device, equipment and storage medium | |
US20040051907A1 (en) | Mixed screen design for multi-mode document | |
GB2554668A (en) | Image manipulation | |
CN108597435B (en) | Method for controlling display of display panel, device thereof and display device | |
JP6039316B2 (en) | Image output device, control method thereof, image display device, control method thereof, and storage medium | |
CN105678691A (en) | Image conversion method and apparatus | |
JP2017044840A (en) | Image display device, image processing device, method for controlling image display device, and method for controlling image processing device | |
JP2006079590A (en) | Image processor |
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 |