CN117611508A - Endoscope image brightness enhancement method, device, equipment and medium - Google Patents

Endoscope image brightness enhancement method, device, equipment and medium Download PDF

Info

Publication number
CN117611508A
CN117611508A CN202311798200.1A CN202311798200A CN117611508A CN 117611508 A CN117611508 A CN 117611508A CN 202311798200 A CN202311798200 A CN 202311798200A CN 117611508 A CN117611508 A CN 117611508A
Authority
CN
China
Prior art keywords
brightness
image
value
difference value
determining
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.)
Pending
Application number
CN202311798200.1A
Other languages
Chinese (zh)
Inventor
廖训
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Jinshan Science and Technology Group Co Ltd
Original Assignee
Chongqing Jinshan Science and Technology Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Jinshan Science and Technology Group Co Ltd filed Critical Chongqing Jinshan Science and Technology Group Co Ltd
Priority to CN202311798200.1A priority Critical patent/CN117611508A/en
Publication of CN117611508A publication Critical patent/CN117611508A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10068Endoscopic image

Landscapes

  • Endoscopes (AREA)

Abstract

The application discloses an endoscope image brightness enhancement method, device, equipment and medium, relates to the technical field of computers, and comprises the following steps: determining a brightness difference between an original image brightness value and an image brightness threshold of a current image in the endoscope image set; judging whether the brightness difference value is smaller than a preset threshold value or not; and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness. Through the scheme, the image with the brightness difference value between the original image brightness value and the image brightness threshold value of the current image in the endoscope image set is subjected to brightness enhancement, namely, the brightness difference value is processed by utilizing the brightness processing function, so that the brightness enhanced target image is obtained, the endoscope image brightness can be further improved, the image observation effect is improved, convenience is provided for subsequent users, and the film reading efficiency is improved.

Description

Endoscope image brightness enhancement method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for enhancing brightness of an endoscope image.
Background
An endoscope is a human gastrointestinal tract examination tool, and comprises a capsule endoscope, an ultrasonic endoscope and the like. The endoscope shoots and inspects the inner wall of the gastrointestinal tract, sends images through a wireless communication system, and a doctor receives the images through external equipment to realize the positioning and diagnosis of focus. Because the internal structure of the human body is intricate and complex, and is easily influenced by a light source, a photometry mode, an image sensor and the like of the acquisition equipment, the brightness among different images in the original image set is uneven, and the brightness of part of the images is too dark, so that the image observation effect is influenced.
In summary, how to increase the brightness of endoscopic images is a problem to be solved in the art.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, apparatus, device, and medium for enhancing the brightness of an endoscopic image, which can enhance the brightness of an endoscopic image. The specific scheme is as follows:
in a first aspect, the present application discloses an endoscopic image brightness enhancement method, comprising:
determining a brightness difference between an original image brightness value and an image brightness threshold of a current image in the endoscope image set;
judging whether the brightness difference value is smaller than a preset threshold value or not;
and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness.
Optionally, before determining the brightness difference between the original image brightness value and the image brightness threshold of the current image in the endoscope image set, the method further includes:
an image brightness threshold corresponding to a current image in the endoscopic image set is determined.
Optionally, the determining an image brightness threshold corresponding to the current image in the endoscope image set includes:
and determining the brightness average value of the current image in the endoscopic image set, and determining the brightness average value as an image brightness threshold value.
Optionally, the determining an image brightness threshold corresponding to the current image in the endoscope image set includes:
and receiving an image brightness threshold value corresponding to the current image in the endoscope image set, which is fed back by a user through a preset interface of the display interface.
Optionally, after the determining whether the brightness difference value is smaller than the preset threshold value, the method further includes:
if the brightness difference value is not smaller than the preset threshold value, determining the current image as a target image; wherein the preset threshold is 0.
Optionally, before the processing the luminance difference value by using a luminance processing function to obtain the target image with enhanced luminance, the method further includes:
and constructing a brightness processing function taking the image brightness threshold value, the brightness difference value and the enhancement coefficient as dependent variables.
Optionally, the processing the luminance difference value by using a luminance processing function to obtain a target image with enhanced luminance includes:
determining an enhancement coefficient in a brightness processing function, and obtaining the product of the enhancement coefficient and the brightness difference value;
and determining the enhanced brightness value by the sum of the product and the image brightness threshold value so as to obtain the target image with enhanced brightness.
In a second aspect, the present application discloses an endoscopic image brightness enhancement device comprising:
the difference value determining module is used for determining a brightness difference value between an original image brightness value and an image brightness threshold value of the current image in the endoscope image set;
the judging module is used for judging whether the brightness difference value is smaller than a preset threshold value or not;
and the brightness enhancement module is used for processing the brightness difference value by utilizing a brightness processing function if the brightness difference value is smaller than the preset threshold value so as to obtain a target image with enhanced brightness.
In a third aspect, the present application discloses an electronic device comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the disclosed endoscopic image brightness enhancement method.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the steps of the disclosed endoscopic image brightness enhancement method.
The beneficial effects of the application are that: the method comprises the steps of determining a brightness difference value between an original image brightness value and an image brightness threshold value of a current image in an endoscope image set; judging whether the brightness difference value is smaller than a preset threshold value or not; and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness. Therefore, the image with the brightness difference value between the original image brightness value and the image brightness threshold value of the current image in the endoscope image set is subjected to brightness enhancement, namely the brightness difference value is processed by utilizing a brightness processing function, so that the brightness enhanced target image is obtained, the endoscope image brightness can be further improved, the image observation effect is improved, convenience is provided for subsequent users, and the film reading efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of an endoscopic image brightness enhancement method disclosed herein;
FIG. 2 is a flowchart of a specific endoscopic image brightness enhancement method disclosed herein;
FIG. 3 is a flowchart of another specific endoscopic image brightness enhancement method disclosed herein;
FIG. 4 is a schematic illustration of a specific brightness enhancement disclosed herein;
FIG. 5 is a schematic view of an endoscopic image brightness enhancement device according to the present disclosure;
fig. 6 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
An endoscope is a human gastrointestinal tract examination tool, and comprises a capsule endoscope, an ultrasonic endoscope and the like. The endoscope shoots and inspects the inner wall of the gastrointestinal tract, sends images through a wireless communication system, and a doctor receives the images through external equipment to realize the positioning and diagnosis of focus. Because the internal structure of the human body is intricate and complex, and is easily influenced by a light source, a photometry mode, an image sensor and the like of the acquisition equipment, the brightness among different images in the original image set is uneven, and the brightness of part of the images is too dark, so that the image observation effect is influenced.
Therefore, the invention correspondingly provides an endoscope image brightness enhancement scheme which can improve the endoscope image brightness.
Referring to fig. 1, an embodiment of the present application discloses an endoscope image brightness enhancement method, including:
step S11: a luminance difference between an original image luminance value and an image luminance threshold of a current image in the endoscopic image set is determined.
After receiving the endoscopic image set, for example, after a patient swallows the capsule endoscope, the capsule endoscope can move in the gastrointestinal tract of a human body, shoot and examine the inner wall of the gastrointestinal tract along the way, and receive the endoscopic image set sent by the wireless communication system. It should be noted that if the endoscope is a capsule endoscope, the image brightness enhancement of the endoscope of this embodiment may be performed again when the user downloads an image, because the volume of the capsule endoscope needs to be small and the battery capacity is limited, in order to save electric power, the brightness enhancement processing may not be performed on the image in real time, that is, when the capsule endoscope completes image acquisition, the user resumes the step of determining the brightness difference between the original image brightness value and the image brightness threshold value of the current image in the endoscope image set when the user reads the image for downloading.
After receiving the endoscopic image set, a current image is determined, and an original image brightness value (src) of the current image is determined. Calculating a luminance difference (diff) between the original image luminance value (src) and the image luminance threshold (threshold), i.e. diff = src-threshold; the image brightness threshold may be a brightness average value of the current image, or a numerical value set by the user according to a specific endoscope usage scene.
Step S12: and judging whether the brightness difference value is smaller than a preset threshold value.
Judging whether the brightness difference value is smaller than a preset threshold value, wherein the preset threshold value is 0, that is, judging whether the brightness value of the original image is not smaller than the image brightness threshold value, if the brightness value of the original image is not smaller than the image brightness threshold value, judging that the brightness difference value is not smaller than the preset threshold value, and if the brightness value of the original image is smaller than the image brightness threshold value, judging that the brightness difference value is smaller than the preset threshold value.
Step S13: and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness.
In this embodiment, before the processing the luminance difference value by using a luminance processing function to obtain the target image with enhanced luminance, the method further includes: and constructing a brightness processing function taking the image brightness threshold value, the brightness difference value and the enhancement coefficient as dependent variables. Constructing a brightness processing function (Dst), wherein the independent variables of the brightness processing function comprise an image brightness threshold (threshold), a brightness difference value (diff) and an enhancement coefficient (P), and the brightness processing function is specifically shown as follows:
Dst=threshold+g(diff);
where g (diff) =p×diff.
In this embodiment, the processing the luminance difference value by using a luminance processing function to obtain a target image with enhanced luminance includes: determining an enhancement coefficient in a brightness processing function, and obtaining the product of the enhancement coefficient and the brightness difference value; and determining the enhanced brightness value by the sum of the product and the image brightness threshold value so as to obtain the target image with enhanced brightness. The enhancement coefficient (P) in the brightness processing function is determined, and it should be noted that the range of P is 0-1, the brightness difference is processed by the brightness processing function, and the enhanced brightness value is determined, so as to obtain the target image with enhanced brightness, so that the image with lower brightness can be improved.
The beneficial effects of the application are that: the method comprises the steps of determining a brightness difference value between an original image brightness value and an image brightness threshold value of a current image in an endoscope image set; judging whether the brightness difference value is smaller than a preset threshold value or not; and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness. Therefore, the image with the brightness difference value between the original image brightness value and the image brightness threshold value of the current image in the endoscope image set is subjected to brightness enhancement, namely the brightness difference value is processed by utilizing a brightness processing function, so that the brightness enhanced target image is obtained, the endoscope image brightness can be further improved, the image observation effect is improved, convenience is provided for subsequent users, and the film reading efficiency is improved.
Referring to fig. 2, an embodiment of the present application discloses a specific method for enhancing the brightness of an endoscopic image, which includes:
step S21: an image brightness threshold corresponding to a current image in the endoscopic image set is determined.
In a specific embodiment, the determining the image brightness threshold corresponding to the current image in the endoscope image set includes: and determining the brightness average value of the current image in the endoscopic image set, and determining the brightness average value as an image brightness threshold value. The image brightness threshold corresponding to the current image is determined, a brightness average value can be calculated according to brightness values of all pixel points in the current image, and then the brightness average value is determined to be the image brightness threshold.
In another specific embodiment, the determining the image brightness threshold corresponding to the current image in the endoscope image set includes: and receiving an image brightness threshold value corresponding to the current image in the endoscope image set, which is fed back by a user through a preset interface of the display interface. The user can input an image brightness threshold value at a preset interface of the display interface, wherein the preset interface can be used for receiving the image brightness threshold value of a text format, the image brightness threshold value of a voice format, and the image brightness threshold value can be determined in a mode of adjusting a data bar.
Step S22: a luminance difference between an original image luminance value of the current image and the image luminance threshold is determined.
Step S23: and judging whether the brightness difference value is smaller than a preset threshold value.
Step S24: and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness.
Therefore, the image brightness threshold value can be adjusted according to the specific endoscope using scene, so that the image needing brightness enhancement can be more reasonably determined, the original image brightness value is smaller than the image brightness threshold value, and then brightness enhancement processing is carried out on the image by utilizing a brightness processing function, so that the target image with the enhanced brightness is obtained.
Referring to fig. 3, an embodiment of the present application discloses a specific method for enhancing the brightness of an endoscopic image, which includes:
step S31: a luminance difference between an original image luminance value and an image luminance threshold of a current image in the endoscopic image is determined.
Step S32: and judging whether the brightness difference value is smaller than a preset threshold value.
Step S33: and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness.
For example, in a specific luminance enhancement schematic diagram shown in fig. 4, if the luminance difference is smaller than the preset threshold, the luminance difference is processed by using a luminance processing function to obtain a target image with enhanced luminance, that is, a target image with enhanced luminance can be obtained, and the image observation effect is better. It should be noted that, the original luminance value of the current image is a luminance value corresponding to each pixel, so that the original luminance value of the current image is multiple, and then the luminance difference value is multiple, if there is a luminance difference value smaller than the preset threshold value, the luminance difference value needs to be processed by using a luminance processing function to enhance the luminance of the image, so as to obtain the target image.
Step S34: and if the brightness difference value is not smaller than the preset threshold value, determining the current image as a target image.
In this embodiment, the preset threshold is 0, that is, if the brightness difference is not less than 0, that is, the brightness value of the original image is higher than the brightness threshold, the brightness of the image is not increased to prevent overexposure. It is noted that if there is a luminance difference value not smaller than the preset threshold value, it is not necessary to process the difference value with a luminance processing function.
Therefore, the method and the device determine the brightness value of the original image of the current image, calculate the brightness difference between the brightness value of the original image and the brightness threshold value of the image, and if the brightness difference is smaller than the preset threshold value, indicate that the image needs to be subjected to brightness enhancement, namely, the brightness difference is processed by utilizing a brightness processing function to obtain a target image with enhanced brightness, so that the brightness of the endoscope image can be improved, the image observation effect is improved, convenience is provided for subsequent users, and the film reading efficiency is improved; if the brightness difference value is not smaller than the preset threshold value, the condition that overexposure is possibly caused if the brightness of the current image is increased is indicated, and therefore the current image can be directly determined as the target image.
Referring to fig. 5, an embodiment of the present application discloses an endoscope image brightness enhancement device, including:
a difference determining module 11, configured to determine a brightness difference between an original image brightness value of a current image in the endoscope image set and an image brightness threshold;
a judging module 12, configured to judge whether the brightness difference is smaller than a preset threshold;
and the brightness enhancement module 13 is configured to process the brightness difference value by using a brightness processing function to obtain a brightness enhanced target image if the brightness difference value is smaller than the preset threshold value.
The beneficial effects of the application are that: the method comprises the steps of determining a brightness difference value between an original image brightness value and an image brightness threshold value of a current image in an endoscope image set; judging whether the brightness difference value is smaller than a preset threshold value or not; and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness. Therefore, the image with the brightness difference value between the original image brightness value and the image brightness threshold value of the current image in the endoscope image set is subjected to brightness enhancement, namely the brightness difference value is processed by utilizing a brightness processing function, so that the brightness enhanced target image is obtained, the endoscope image brightness can be further improved, the image observation effect is improved, convenience is provided for subsequent users, and the film reading efficiency is improved.
In some embodiments, the endoscopic image brightness enhancement device comprises:
and the brightness threshold value determining submodule is used for determining an image brightness threshold value corresponding to the current image in the endoscope image set.
In some embodiments, the luminance threshold determination submodule includes:
and the first threshold value determining unit is used for determining the brightness average value of the current image in the endoscope image set and determining the brightness average value as an image brightness threshold value.
In some embodiments, the luminance threshold determination submodule includes:
and the second threshold determining unit is used for receiving an image brightness threshold corresponding to the current image in the endoscope image set, which is fed back by a user through a preset interface of the display interface.
In some embodiments, the endoscopic image brightness enhancement device comprises:
the execution unit is used for determining the current image as a target image if the brightness difference value is not smaller than the preset threshold value; wherein the preset threshold is 0.
In some embodiments, the endoscopic image brightness enhancement device comprises:
and the brightness function construction unit is used for constructing a brightness processing function taking the image brightness threshold value, the brightness difference value and the enhancement coefficient as dependent variables.
In some embodiments, the brightness enhancement module includes:
the product determining unit is used for determining an enhancement coefficient in the brightness processing function and obtaining the product of the enhancement coefficient and the brightness difference value;
and the target image acquisition unit is used for determining an enhanced brightness value by the sum of the product and the image brightness threshold value so as to obtain a target image with enhanced brightness.
Further, the embodiment of the application also provides electronic equipment. Fig. 6 is a block diagram of an electronic device 20, according to an exemplary embodiment, and the contents of the diagram should not be construed as limiting the scope of use of the present application in any way.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Specifically, the method comprises the following steps: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 for realizing the following steps:
determining a brightness difference between an original image brightness value and an image brightness threshold of a current image in the endoscope image set;
judging whether the brightness difference value is smaller than a preset threshold value or not;
and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
an image brightness threshold corresponding to a current image in the endoscopic image set is determined.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and determining the brightness average value of the current image in the endoscopic image set, and determining the brightness average value as an image brightness threshold value.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and receiving an image brightness threshold value corresponding to the current image in the endoscope image set, which is fed back by a user through a preset interface of the display interface.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
if the brightness difference value is not smaller than the preset threshold value, determining the current image as a target image; wherein the preset threshold is 0.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and constructing a brightness processing function taking the image brightness threshold value, the brightness difference value and the enhancement coefficient as dependent variables.
In some embodiments, the processor may further include the following steps by executing the computer program stored in the memory:
determining an enhancement coefficient in a brightness processing function, and obtaining the product of the enhancement coefficient and the brightness difference value;
and determining the enhanced brightness value by the sum of the product and the image brightness threshold value so as to obtain the target image with enhanced brightness.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device; the communication interface 24 can create a data transmission channel between the electronic device and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon include an operating system 221, a computer program 222, and data 223, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows, unix, linux. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the endoscopic image brightness enhancement method performed by the electronic device as disclosed in any of the foregoing embodiments. The data 223 may include, in addition to data received by the electronic device and transmitted by the external device, data collected by the input/output interface 25 itself, and so on.
Further, the application also discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the previously disclosed endoscopic image brightness enhancement method. For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be placed in random access Memory (Random Access Memory), memory, read-Only Memory (ROM), electrically programmable EPROM (Erasable ProgrammableRead Only Memory), electrically erasable programmable EEPROM (Electrically ErasableProgrammable Read Only Memory), registers, hard disk, removable disk, CD-ROM (CoMP 23036361act Disc Read-Only Memory), or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The method, the device, the equipment and the medium for enhancing the brightness of the endoscope image provided by the invention are described in detail, and specific examples are applied to the principle and the implementation mode of the invention, and the description of the examples is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. An endoscopic image brightness enhancement method, comprising:
determining a brightness difference between an original image brightness value and an image brightness threshold of a current image in the endoscope image set;
judging whether the brightness difference value is smaller than a preset threshold value or not;
and if the brightness difference value is smaller than the preset threshold value, processing the brightness difference value by utilizing a brightness processing function to obtain a target image with enhanced brightness.
2. The endoscopic image brightness enhancement method according to claim 1, wherein before determining a brightness difference between an original image brightness value and an image brightness threshold of a current image in the endoscopic image set, further comprising:
an image brightness threshold corresponding to a current image in the endoscopic image set is determined.
3. The endoscopic image brightness enhancement method according to claim 2, wherein the determining an image brightness threshold corresponding to a current image in an endoscopic image set comprises:
and determining the brightness average value of the current image in the endoscopic image set, and determining the brightness average value as an image brightness threshold value.
4. The endoscopic image brightness enhancement method according to claim 2, wherein the determining an image brightness threshold corresponding to a current image in an endoscopic image set comprises:
and receiving an image brightness threshold value corresponding to the current image in the endoscope image set, which is fed back by a user through a preset interface of the display interface.
5. The endoscopic image brightness enhancement method according to any one of claims 1 to 4, wherein after said determining whether the brightness difference is smaller than a preset threshold value, further comprising:
if the brightness difference value is not smaller than the preset threshold value, determining the current image as a target image; wherein the preset threshold is 0.
6. The method of claim 1, wherein the step of processing the luminance difference value using a luminance processing function to obtain a luminance-enhanced target image further comprises:
and constructing a brightness processing function taking the image brightness threshold value, the brightness difference value and the enhancement coefficient as dependent variables.
7. The method of claim 6, wherein the processing the luminance difference value using a luminance processing function to obtain a luminance-enhanced target image comprises:
determining an enhancement coefficient in a brightness processing function, and obtaining the product of the enhancement coefficient and the brightness difference value;
and determining the enhanced brightness value by the sum of the product and the image brightness threshold value so as to obtain the target image with enhanced brightness.
8. An endoscopic image brightness enhancement device, comprising:
the difference value determining module is used for determining a brightness difference value between an original image brightness value and an image brightness threshold value of the current image in the endoscope image set;
the judging module is used for judging whether the brightness difference value is smaller than a preset threshold value or not;
and the brightness enhancement module is used for processing the brightness difference value by utilizing a brightness processing function if the brightness difference value is smaller than the preset threshold value so as to obtain a target image with enhanced brightness.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the endoscopic image brightness enhancement method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program; wherein the computer program when executed by a processor implements the steps of the endoscopic image brightness enhancement method according to any one of claims 1 to 7.
CN202311798200.1A 2023-12-25 2023-12-25 Endoscope image brightness enhancement method, device, equipment and medium Pending CN117611508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311798200.1A CN117611508A (en) 2023-12-25 2023-12-25 Endoscope image brightness enhancement method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311798200.1A CN117611508A (en) 2023-12-25 2023-12-25 Endoscope image brightness enhancement method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117611508A true CN117611508A (en) 2024-02-27

Family

ID=89953604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311798200.1A Pending CN117611508A (en) 2023-12-25 2023-12-25 Endoscope image brightness enhancement method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117611508A (en)

Similar Documents

Publication Publication Date Title
EP3816932B1 (en) Skin detection method and electronic device
CN109934220B (en) Method, device and terminal for displaying image interest points
KR20210111833A (en) Method and apparatus for acquiring positions of a target, computer device and storage medium
CN110349107B (en) Image enhancement method, device, electronic equipment and storage medium
CN112714216B (en) Brightness adjusting method and device, storage medium and terminal
CN108938003A (en) Ultrasonic diagnostic equipment and its control method and computer readable storage medium
CN111866483A (en) Color restoration method and device, computer readable medium and electronic device
CN113742082A (en) Application resource allocation method and device, computer readable medium and terminal
CN113902636A (en) Image deblurring method and device, computer readable medium and electronic equipment
CN111415308B (en) Ultrasonic image processing method and communication terminal
CN110335687A (en) Remote medical consultation with specialists method, system and computer readable storage medium
CN109754439A (en) Scaling method, device, electronic equipment and medium
CN113658065A (en) Image noise reduction method and device, computer readable medium and electronic equipment
CN117611508A (en) Endoscope image brightness enhancement method, device, equipment and medium
CN112967193A (en) Image calibration method and device, computer readable medium and electronic equipment
CN110795660B (en) Data analysis method, data analysis device, electronic device, and medium
CN115601316A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN114119413A (en) Image processing method and device, readable medium and mobile terminal
CN114782345A (en) Oral cavity detection method and device based on artificial intelligence, electronic equipment and medium
CN114757866A (en) Definition detection method, device and computer storage medium
CN115527501A (en) Backlight value adjusting method, processor, display terminal and storage medium
CN115619894A (en) Icon rounded angle processing method and device
CN112802032A (en) Training and image processing method, device, equipment and medium for image segmentation network
CN111897709A (en) Method, device, electronic equipment and medium for monitoring user
CN111797754A (en) Image detection method, device, electronic equipment and medium

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