CN115426457A - Endoscope brightness adjusting method - Google Patents

Endoscope brightness adjusting method Download PDF

Info

Publication number
CN115426457A
CN115426457A CN202211048006.7A CN202211048006A CN115426457A CN 115426457 A CN115426457 A CN 115426457A CN 202211048006 A CN202211048006 A CN 202211048006A CN 115426457 A CN115426457 A CN 115426457A
Authority
CN
China
Prior art keywords
brightness
light source
image
endoscope
threshold value
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
CN202211048006.7A
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.)
Tuodao Medical Technology Co Ltd
Original Assignee
Tuodao Medical Technology 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 Tuodao Medical Technology Co Ltd filed Critical Tuodao Medical Technology Co Ltd
Priority to CN202211048006.7A priority Critical patent/CN115426457A/en
Publication of CN115426457A publication Critical patent/CN115426457A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/36Image-producing devices or illumination devices not otherwise provided for
    • A61B90/361Image-producing devices, e.g. surgical cameras
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/36Image-producing devices or illumination devices not otherwise provided for
    • A61B90/37Surgical systems with images on a monitor during operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Health & Medical Sciences (AREA)
  • Surgery (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Engineering & Computer Science (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Public Health (AREA)
  • Medical Informatics (AREA)
  • Pathology (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Gynecology & Obstetrics (AREA)
  • Radiology & Medical Imaging (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Endoscopes (AREA)

Abstract

The embodiment of the application provides an endoscope brightness adjusting method, which comprises the following steps: counting the picture brightness and the overexposure ratio of the endoscope image; if the image brightness is greater than a first brightness threshold, adjusting the brightness according to the priority of reducing the gain, the light source brightness and the exposure time until the image brightness is less than the first brightness threshold; if the image brightness is smaller than a second brightness threshold, adjusting the brightness according to the priority of improving the light source brightness, increasing the exposure time and improving the gain until the image brightness is larger than the second brightness threshold; and if the image brightness is between the second brightness threshold value and the first brightness threshold value, not adjusting the brightness. The embodiment of the application improves the accuracy and stability of endoscope image brightness adjustment.

Description

Endoscope brightness adjusting method
Technical Field
The application relates to the technical field of surgical robots, in particular to an endoscope brightness adjusting method.
Background
At present, endoscopes are widely used in endoscopic surgery, and when endoscopic surgery is performed, images shot by the endoscopes are transmitted to a display system for display, and the brightness of the images and the stability of the brightness can have an important influence on the surgery.
In the endoscopic imaging process, the mucosa on the surface of an organ or an instrument can generate high light reflection under the irradiation of a light source, and the image usually shows that high-brightness areas with saturated brightness exist, the high-brightness areas can reduce the image quality, and the observation and the lesion judgment in the operation process are greatly influenced.
In the related art, the brightness of the light source of the endoscope is usually adjusted or the brightness of the image is manually controlled by a scheme of individually adjusting the brightness of the picture or individually adjusting the brightness of the light source.
Disclosure of Invention
In order to solve the problem of poor endoscope brightness adjusting effect, the application provides an endoscope brightness adjusting method.
The embodiment of the application provides an endoscope brightness adjusting method, which comprises the following steps:
counting the picture brightness and the overexposure ratio of the endoscope image;
if the image brightness is greater than a first brightness threshold, adjusting the brightness according to the priority of reducing the gain, the light source brightness and the exposure time until the image brightness is less than the first brightness threshold;
if the image brightness is smaller than a second brightness threshold, adjusting the brightness according to the priority of improving the light source brightness, increasing the exposure time and improving the gain until the image brightness is larger than the second brightness threshold;
and if the image brightness is between the second brightness threshold value and the first brightness threshold value, not adjusting the brightness.
In some embodiments, adjusting the brightness according to the priority of reducing the gain, reducing the brightness of the light source, and reducing the exposure time until the picture brightness is less than the first brightness threshold comprises:
reducing the gain of the endoscopic image until the picture brightness is less than the first picture brightness threshold or the gain is reduced to a second gain threshold;
if the gain is reduced to the second gain threshold value and the image brightness is greater than the first image brightness threshold value, reducing the light source brightness until the image brightness is less than the first image brightness threshold value or the light source brightness is reduced to a second light source brightness threshold value;
if the light source brightness is reduced to the second light source brightness threshold value and the image brightness is greater than the first image brightness threshold value, the exposure time is reduced until the image brightness is less than the first image brightness threshold value.
In some embodiments, the endoscope is provided with a first light source and a second light source, the second light source having a larger field angle than the first light source, and reducing the brightness of the light sources comprises increasing the brightness of the second light source and reducing the brightness of the first light source.
In some embodiments, the reducing the brightness of the light source comprises increasing a brightness duty cycle of the second light source and decreasing a brightness duty cycle of the first light source.
In some embodiments, the adjusting the brightness according to the priority of increasing the brightness of the light source, increasing the exposure time, and increasing the gain until the picture brightness is greater than the second picture brightness threshold comprises:
increasing the brightness of the light source until the image brightness is greater than the second image brightness threshold or the brightness of the light source is increased to a first light source brightness threshold;
if the light source brightness is increased to a first light source brightness threshold value and the picture brightness is smaller than a second picture brightness threshold value, increasing the exposure time until the picture brightness is larger than the second picture brightness threshold value or the exposure time is increased to an exposure time threshold value;
if the exposure time is increased to the exposure time threshold value and the picture brightness is smaller than the second picture brightness threshold value, the gain is increased until the picture brightness is larger than the second picture brightness threshold value.
In some embodiments, an endoscope is provided with a first light source and a second light source having a field angle greater than the field angle of the first light source, increasing the brightness of the light sources including increasing the brightness of the first light source and increasing the brightness of the second light source.
In some embodiments, increasing the brightness of the light source comprises increasing a brightness duty cycle of the second light source and increasing a brightness duty cycle of the first light source.
In some embodiments, the counting of the frame brightness and the overexposure ratio of the endoscopic image includes:
acquiring the brightness of a region of interest of the endoscope image and the brightness of a background region, wherein the background region is a region outside the region of interest in the endoscope image;
obtaining the image brightness of the endoscope image according to the weighted sum of the brightness of the interested area and the brightness of the background area;
and acquiring an overexposure ratio in the region of interest to obtain the overexposure ratio.
In some embodiments, acquiring the brightness of the region of interest and the brightness of the background region of the endoscopic image comprises:
dividing the endoscopic image into m x n subregions;
setting a circular area which takes the center of m x n as the center of a circle and n/2 as the radius as an interested area, and setting an area outside the interested area as a background area, wherein m > n;
and counting the brightness in the interested region and the brightness in the background region.
In some embodiments, obtaining an overexposure ratio in the region of interest, and obtaining the overexposure ratio, includes:
and acquiring the pixel ratio of the pixel gray value in the region of interest between the second overexposure pixel threshold and the first overexposure pixel threshold to obtain the overexposure ratio.
The endoscope brightness adjusting method provided by the application has the beneficial effects that:
when the image brightness of an endoscope image is larger than a first brightness threshold, brightness adjustment is automatically realized through multiple adjustment modes according to the priority of gain reduction, light source brightness reduction and exposure time reduction, manual adjustment of the image brightness or manual adjustment of the light source brightness is not needed, the problems of poor fineness and stability of manual adjustment are avoided, and the image brightness is reduced according to the priority; when the image brightness of the endoscope image is lower than the second brightness threshold, brightness adjustment is carried out according to the priority of improving the light source brightness, increasing the exposure time and improving the gain, manual adjustment of the image brightness is not needed, the problems of poor fineness and stability of manual adjustment are avoided, the image brightness is improved according to the priority, the image brightness can be rapidly improved, the situation that the operation is influenced due to too low endoscope image brightness is avoided, and the operation safety is improved.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 shows a schematic illustration of an endoscope;
fig. 2 shows a schematic partial view of an endoscope;
fig. 3 is a schematic flow chart illustrating an endoscope brightness adjustment method;
a schematic view of a region of interest of an endoscopic image is exemplarily shown in fig. 4;
fig. 5 shows an exemplary illustration of an exposure area in a region of interest;
FIG. 6 is a flow chart illustrating an endoscopic image brightness reduction method;
fig. 7 is a flowchart illustrating an endoscopic image brightness enhancement method.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The terms "proximal" and "distal" are defined herein with respect to an operating user of the robotic arm. The terms "proximal", "proximal" refer to a position of an element closer to an operating user, and the terms "distal", "distal" refer to a position of an element closer to the lens and thus further from the operating user. Moreover, directional terminology, such as above, below, up, down, upward, downward, left, right, etc., is used with respect to the exemplary embodiments as they are shown in the figures, with the upward or upward direction being toward the top of the corresponding figure and the downward or downward direction being toward the bottom of the corresponding figure.
The presently disclosed embodiments are now described in detail with reference to the drawings, wherein like reference numerals designate identical or corresponding elements in each of the several views.
Referring to fig. 1, a schematic structural diagram of an endoscope according to an embodiment of the present disclosure is shown. As shown in fig. 1, the 3D endoscope includes a scope 100, a handle 200, a drive socket 300, and a cable 400.
The driving base 300 and the handle 200 are installed at the proximal end of the endoscope 100, and after the driving module is installed on the driving base 300, the endoscope 100 can be driven to bend in four directions, namely up and down, left and right, and the endoscope 100 can be driven to rotate around the axis of the endoscope 100.
The distal end of the scope body 100 can be shot in real time in the cavity of the patient, and the shot image is transmitted to a display system for displaying, so that an important reference basis can be provided for the operation. Referring to fig. 2, a partial structure of an endoscope provided in an embodiment of the present application is schematically shown, as shown in fig. 2, a first light source 101, a second light source 102, and a lens 103 located between the first light source 101 and the second light source 102 are disposed at a distal end of an endoscope body 100.
In some embodiments, the field of view of the second light source 102 is greater than the field of view of the first light source 101, and the difference between the field of view of the first light source 101 and the field of view of the second light source 102 is greater than 50 °. Illustratively, the field angle of the first light source 101 is 60 °, and the field angle of the second light source 102 is 120 °.
In some embodiments, there may be instances where the image captured by the lens 103 has too high or too low a brightness, which may interfere with the analysis of the image on the display system, affecting the outcome of the procedure.
In order to solve the problem of poor endoscope image brightness effect, an embodiment of the present application provides an endoscope brightness adjustment method, and referring to fig. 3, the method may include the following steps:
step S101: and counting the frame brightness and the overexposure ratio of the endoscope image.
In some embodiments, the image captured by the endoscope may be referred to as an endoscopic image, and during the operation, the lens of the endoscope is usually required to be adjusted to make the captured object located in the central area of the endoscopic image, so that the central area may be determined as the region of interest, and the brightness of the image of the endoscope is adjusted to make the brightness of the image of the region of interest meet the requirement. In practical implementation, a schematic diagram of a region of interest can be seen in fig. 4, as shown in fig. 4, the entire display region of the endoscope image is a region Z1, the region Z1 can be divided into m × n sub-regions Z0, wherein values of m and n can be determined according to practical situations, and m is greater than n. A circular area with the center of the area Z1 as the center and n/2 as the radius is set as an area of interest Z2, and an area except the area of interest Z2 in the area Z1 is set as a background area.
In some embodiments, when the image brightness of the endoscope image is counted, the image brightness of the region of interest Z2 and the brightness of the background region may be respectively counted, and the image brightness of the endoscope image is obtained according to a weighted sum of the brightness of the region of interest Z2 and the brightness of the background region. For example, the formula for calculating the brightness of the endoscopic image may be:
BV=a*(BV 1 )+b*(BV 2 )
wherein the brightness of the region of interest Z2 is BV 1 The weight is a, and the brightness of the background area is BV 2 The weight can be b,0<b<a<1,a-b>0.3。
In some embodiments, referring to fig. 5, the overexposed region in the endoscopic image may generally include a first overexposed region Z21 caused by reflection of a structure such as a mucous membrane in a cavity, and a second overexposed region Z22 caused by reflection of a mirror surface of a metal part of the surgical instrument, for example, an instrument head, wherein both the first overexposed region Z21 and the second overexposed region Z22 are generally located in the region of interest Z2, so that when the overexposed proportion of the endoscopic image is counted, the overexposed proportion in the region of interest Z2 may be used as the overexposed proportion of the endoscopic image, and since the analysis influence of the second overexposed region Z22 on the endoscopic image is small, only the proportion of the first overexposed region Z21 in the region of interest Z2 may be used as the overexposed proportion of the endoscopic image. The regions within the region of interest Z2 other than the first and second overexposure regions Z21 and Z22 may be referred to as non-overexposed regions.
For the region of interest Z2, the first overexposed region Z21, the second overexposed region Z22 and the non-overexposed region may be distinguished according to the gray value of the pixel. If the gray value of a pixel is smaller than c, the pixel belongs to a pixel in a non-overexposure area, if the gray value of a pixel is between c and d, the pixel belongs to a pixel in a first overexposure area, and if the gray value of a pixel is larger than d, the pixel belongs to a pixel in a second overexposure area, wherein the sizes of c and d can be determined according to actual conditions. After counting the gray values of all the pixels in the region of interest Z2, a first overexposed region Z21 and a second overexposed region Z22 as shown in fig. 5 can be obtained.
At different times, because of different brightness of different endoscopic images, there may be no overexposed region, or only the first overexposed region and no second overexposed region in the endoscopic image.
After the gray values of all pixels in the region of interest Z2 are counted, the overexposure ratio P of the endoscopic image can be calculated:
P=X2/(X1+X2+X3)
wherein, X1 is the number of pixels in the first overexposure area Z21, that is, the number of pixels with the gray value smaller than c in the area of interest Z2, X2 is the number of pixels in the second overexposure area Z22, that is, the number of pixels with the gray value between c and d in the area of interest Z2, and X3 is the number of pixels with the gray value not overexposure area, that is, the number of pixels with the gray value larger than d in the area of interest Z2.
In some embodiments, the target brightness of the endoscopic image may be preset to be BV target When the brightness deviation threshold is p1, the first brightness threshold of the image brightness of the endoscope image is BV max ,BVmax=BV target + p1, the second brightness threshold being BV min ,BV min =BV target -p1, the brightness adjustment being required if the frame brightness BV of the endoscopic image is not between BVmax and BVmin, wherein BV is target Can be determined according to actual conditions.
In some embodiments, the target overexposure ratio of the endoscopic image may be preset to beP target If the overexposure ratio deviation threshold is P2, the first overexposure ratio threshold of the overexposure ratio of the endoscopic image is Pmax, pmax = P target + P2, second overexposure ratio threshold Pmin, pmin = P target P2, if the over-exposure ratio P of the endoscopic image is not between Pmax and Pmin, then a brightness adjustment is required, where P target Can be determined according to actual conditions.
In some embodiments, after obtaining the overexposure ratio, the light source brightness L of the endoscope may be calculated from the overexposure ratio:
L=(1-P)*L1+P*L2
where L1 is the brightness of the first light source 101, and L2 is the brightness of the second light source 102.
Step S102: if the image brightness is larger than the first brightness threshold, brightness adjustment is carried out according to the priority of reducing gain, reducing light source brightness and reducing exposure time until the image brightness is smaller than the first brightness threshold.
In some embodiments, if the frame brightness BV of the endoscopic image is greater than BVmax, the endoscopic image may be brightness adjusted such that the frame brightness BV is decreased.
In some embodiments, referring to fig. 6, the method for reducing the brightness of the picture may include the following steps:
step S201: and reducing the gain of the endoscope image until the picture brightness is smaller than the first picture brightness threshold value or the gain is reduced to a second gain threshold value.
In some embodiments, the gain of the endoscopic image refers to the brightness gain of the image captured by the lens 103. The method for reducing the gain of the endoscopic image may be to gradually reduce the gain of the endoscopic image by 1 step until the frame brightness BV is lower than the BVmax, and if the gain reaches a second gain threshold, which is 1, and the frame brightness BV is still higher than the BVmax, the gain is not further reduced.
Step S202: if the gain is reduced to the second gain threshold value and the image brightness is greater than the first image brightness threshold value, reducing the light source brightness until the image brightness is less than the first image brightness threshold value or the light source brightness is reduced to a second light source brightness threshold value.
In some embodiments, if the frame luminance BV is still greater than the BVmax when the gain is 1, the illuminant luminance can be decreased until the frame luminance is less than the first frame luminance threshold or the illuminant luminance is decreased to the second illuminant luminance threshold.
In some embodiments, when the brightness of the light source is reduced, the brightness of the second light source 102 may be increased, and the brightness of the first light source 101 may be reduced, so as to ensure that the brightness L of the light source can be reduced, and avoid the shaking of the image brightness of the endoscope image due to the rapid change of the brightness L of the light source caused by reducing the brightness of the first light source 101 and the brightness of the second light source 102 at the same time.
In some embodiments, the first light source 101 and the second light source 102 are provided with a plurality of gears, and the brightness of the first light source 101 and the second light source 102 can be adjusted by adjusting the gears. Illustratively, each of the first light source 101 and the second light source 102 is provided with 5 gears, and the duty ratio of the light source brightness is 5%, 10%, 15%, 20%, 25% in the gears 1 to 5, and the light source brightness gradually increases from the gear 1 to 5. In order to reduce the image brightness L of the endoscope, the shift position of L2 can be increased, and the shift position of L1 can be reduced.
In some embodiments, the brightness of the first light source 101 and the brightness of the second light source 102 are adjusted steplessly, so as to further avoid the oscillation of the brightness of the endoscope.
Step S203: if the light source brightness is reduced to the second light source brightness threshold value and the image brightness is greater than the first image brightness threshold value, the exposure time is reduced until the image brightness is less than the first image brightness threshold value.
In some embodiments, if the light source brightness is decreased to the second light source brightness threshold, the frame brightness BV is still greater than the BVmax, and the frame brightness BV may be decreased by decreasing the exposure time of the lens 103 of the endoscope, wherein the exposure time is adjusted as follows:
BV new =(1-S)*BV pro
wherein, BV new For adjusted exposure time, BV pro In order to adjust the exposure time before the adjustment,s is the speed of the adjustment of the exposure time,
Figure BDA0003822674860000051
the exposure time of the lens 103 of the endoscope can be adjusted to a minimum of 1ms, and in other embodiments, the exposure time can be adjusted to less than 1ms.
Step S103: if the image brightness is smaller than a second brightness threshold, brightness adjustment is carried out according to the priority of improving light source brightness, increasing exposure time and improving gain until the image brightness is larger than the second brightness threshold.
In some embodiments, if the frame brightness BV of the endoscopic image is less than BVmin, the endoscopic image may be adjusted in brightness such that the frame brightness BV is increased.
In some embodiments, referring to fig. 7, the method for improving the brightness of the picture may include the following steps:
step S301: and increasing the brightness of the light source until the image brightness is greater than the second image brightness threshold or the brightness of the light source is increased to the first light source brightness threshold.
In some embodiments, if the image brightness of the endoscopic image is lower than BVmin, the endoscopic image is difficult to see, and in order to ensure the safety of the operation, the image brightness BV needs to be increased quickly, and the image brightness BV may be increased quickly by increasing the brightness of the light source.
In some embodiments, the light sources of the endoscope include the first light source 101 and the second light source 102, and the frame brightness BV may be increased by increasing the gear of the first light source 101 and the second light source 102.
Step S302: if the light source brightness is increased to a first light source brightness threshold value and the picture brightness is smaller than a second picture brightness threshold value, increasing the exposure time until the picture brightness is larger than the second picture brightness threshold value or the exposure time is increased to an exposure time threshold value.
In some embodiments, if the first light source 101 and the second light source 102 are both increased to the maximum gear, the light source brightness of the endoscope is increased to the maximum, that is, the first light source brightness threshold is reached, and at this time, if the frame brightness BV is still less than BVmin, the frame brightness BV may be increased by increasing the exposure time. The method for adjusting the exposure time is shown in step S203, and is not described herein again.
The maximum exposure time of the lens 103 of the endoscope can be adjusted to the exposure time threshold, and if the exposure time is too long, motion smear will be generated when the endoscope image is switched to the next frame image, which affects the definition of the endoscope image. In some embodiments, the exposure time threshold may be 5ms.
Step S303: if the exposure time is increased to the exposure time threshold value and the picture brightness is smaller than the second picture brightness threshold value, the gain is increased until the picture brightness is larger than the second picture brightness threshold value.
In some embodiments, if the exposure time has been increased to the exposure time threshold, the frame brightness BV may be increased by increasing the gain until the frame brightness is greater than the second frame brightness threshold if the frame brightness BV is still less than the BVmin.
Step S104: and if the image brightness is between the second brightness threshold value and the first brightness threshold value, not adjusting the brightness.
In some embodiments, if the frame brightness BV of the endoscopic image is between BVmax and BVmin, no brightness adjustment may be made.
According to the embodiment, when the image brightness of the endoscope image is greater than the first brightness threshold, brightness adjustment is automatically realized through multiple adjustment modes according to the priority of gain reduction, light source brightness reduction and exposure time reduction, manual adjustment of the image brightness or manual adjustment of the light source brightness is not needed, and the problems of poor fineness and stability of manual adjustment are avoided; when the image brightness of the endoscope image is lower than the second brightness threshold, brightness adjustment is performed according to the priority of improving the light source brightness, increasing the exposure time and improving the gain, manual adjustment of the image brightness is not needed, the problems of poor refinement and stability of manual adjustment are avoided, the image brightness is improved according to the priority, the image brightness can be rapidly improved, the situation that the operation is influenced due to too low endoscope image brightness is avoided, and the operation safety is improved.
Since the above embodiments are all described by referring to and combining with other embodiments, the same portions are provided between different embodiments, and the same and similar portions between the various embodiments in this specification may be referred to each other. And will not be described in detail herein.
The above embodiments of the present application do not limit the scope of the present application.

Claims (10)

1. An endoscope brightness adjustment method, characterized by comprising:
counting the picture brightness and the overexposure ratio of the endoscope image;
if the image brightness is greater than a first brightness threshold, adjusting the brightness according to the priority of reducing the gain, the light source brightness and the exposure time until the image brightness is less than the first brightness threshold;
if the image brightness is smaller than a second brightness threshold, adjusting the brightness according to the priority of improving the light source brightness, increasing the exposure time and improving the gain until the image brightness is larger than the second brightness threshold;
and if the image brightness is between the second brightness threshold value and the first brightness threshold value, not adjusting the brightness.
2. The endoscope brightness adjustment method according to claim 1, wherein performing brightness adjustment at a priority of decreasing gain, decreasing light source brightness, decreasing exposure time until the screen brightness is less than the first brightness threshold value comprises:
reducing the gain of the endoscopic image until the picture brightness is less than the first picture brightness threshold or the gain is reduced to a second gain threshold;
if the gain is reduced to the second gain threshold value and the image brightness is greater than the first image brightness threshold value, reducing the light source brightness until the image brightness is less than the first image brightness threshold value or the light source brightness is reduced to a second light source brightness threshold value;
if the light source brightness is reduced to the second light source brightness threshold value and the image brightness is greater than the first image brightness threshold value, the exposure time is reduced until the image brightness is less than the first image brightness threshold value.
3. The endoscope brightness adjustment method according to claim 2, wherein the endoscope is provided with a first light source and a second light source, the angle of view of the second light source is larger than the angle of view of the first light source, and the decreasing the brightness of the light source includes increasing the brightness of the second light source and decreasing the brightness of the first light source.
4. The endoscope brightness adjustment method of claim 3, wherein the reducing the brightness of the light source comprises increasing a brightness duty cycle of the second light source and decreasing a brightness duty cycle of the first light source.
5. The endoscope brightness adjustment method according to claim 1, wherein performing brightness adjustment according to the priority of increasing the light source brightness, increasing the exposure time, and increasing the gain until the picture brightness is greater than the second picture brightness threshold value comprises:
increasing the brightness of the light source until the image brightness is greater than the second image brightness threshold or the brightness of the light source is increased to a first light source brightness threshold;
if the light source brightness is increased to a first light source brightness threshold value and the picture brightness is smaller than a second picture brightness threshold value, increasing the exposure time until the picture brightness is larger than the second picture brightness threshold value or the exposure time is increased to an exposure time threshold value;
if the exposure time is increased to the exposure time threshold value and the picture brightness is smaller than the second picture brightness threshold value, the gain is increased until the picture brightness is larger than the second picture brightness threshold value.
6. The endoscope brightness adjustment method according to claim 5, wherein the endoscope is provided with a first light source and a second light source, an angle of view of the second light source is larger than an angle of view of the first light source, and the increasing of the brightness of the light source includes increasing the brightness of the first light source and increasing the brightness of the second light source.
7. The endoscope brightness adjustment method according to claim 6, wherein the increasing the brightness of the light source comprises increasing a brightness duty cycle of the second light source and increasing a brightness duty cycle of the first light source.
8. The endoscope brightness adjusting method according to claim 1, wherein the statistics of the picture brightness and the overexposure ratio of the endoscope image comprises:
acquiring the brightness of a region of interest of the endoscope image and the brightness of a background region, wherein the background region is a region outside the region of interest in the endoscope image;
obtaining the image brightness of the endoscope image according to the weighted sum of the brightness of the interested area and the brightness of the background area;
and acquiring an overexposure ratio in the region of interest to obtain the overexposure ratio.
9. The endoscope brightness adjustment method according to claim 8, wherein acquiring the brightness of the region of interest of the endoscope image and the brightness of the background region comprises:
dividing the endoscopic image into m x n subregions;
setting a circular area which takes the center of m x n as the center of a circle and n/2 as the radius as an interested area, and setting an area outside the interested area as a background area, wherein m > n;
and counting the brightness in the interested region and the brightness in the background region.
10. The endoscope brightness adjustment method according to claim 9, wherein obtaining an overexposure ratio in the region of interest to obtain the overexposure ratio comprises:
and acquiring the pixel ratio of the pixel gray value in the region of interest between the second overexposure pixel threshold and the first overexposure pixel threshold to obtain the overexposure ratio.
CN202211048006.7A 2022-08-30 2022-08-30 Endoscope brightness adjusting method Pending CN115426457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211048006.7A CN115426457A (en) 2022-08-30 2022-08-30 Endoscope brightness adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211048006.7A CN115426457A (en) 2022-08-30 2022-08-30 Endoscope brightness adjusting method

Publications (1)

Publication Number Publication Date
CN115426457A true CN115426457A (en) 2022-12-02

Family

ID=84199844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211048006.7A Pending CN115426457A (en) 2022-08-30 2022-08-30 Endoscope brightness adjusting method

Country Status (1)

Country Link
CN (1) CN115426457A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117061878A (en) * 2023-10-11 2023-11-14 北方夜视技术股份有限公司 Automatic exposure control method based on EBAPS sensor camera and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010246781A (en) * 2009-04-17 2010-11-04 Hoya Corp Imaging apparatus, light control method in the same, and endoscope system
CN108668090A (en) * 2018-07-03 2018-10-16 赛诺微医疗科技(浙江)有限公司 Optical device and its automatic explosion method
CN111948798A (en) * 2020-08-21 2020-11-17 微创(上海)医疗机器人有限公司 Endoscope system and method for detecting contact of tip of endoscope with tissue
JP2021069861A (en) * 2019-11-01 2021-05-06 Hoya株式会社 Electronic endoscope and electronic endoscope system
US20210195081A1 (en) * 2019-12-20 2021-06-24 Verily Life Sciences Llc Method for adjusting an exposure of an endoscope
CN114727027A (en) * 2022-03-09 2022-07-08 浙江华诺康科技有限公司 Exposure parameter adjusting method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010246781A (en) * 2009-04-17 2010-11-04 Hoya Corp Imaging apparatus, light control method in the same, and endoscope system
CN108668090A (en) * 2018-07-03 2018-10-16 赛诺微医疗科技(浙江)有限公司 Optical device and its automatic explosion method
JP2021069861A (en) * 2019-11-01 2021-05-06 Hoya株式会社 Electronic endoscope and electronic endoscope system
US20210195081A1 (en) * 2019-12-20 2021-06-24 Verily Life Sciences Llc Method for adjusting an exposure of an endoscope
CN111948798A (en) * 2020-08-21 2020-11-17 微创(上海)医疗机器人有限公司 Endoscope system and method for detecting contact of tip of endoscope with tissue
CN114727027A (en) * 2022-03-09 2022-07-08 浙江华诺康科技有限公司 Exposure parameter adjusting method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117061878A (en) * 2023-10-11 2023-11-14 北方夜视技术股份有限公司 Automatic exposure control method based on EBAPS sensor camera and storage medium
CN117061878B (en) * 2023-10-11 2024-01-23 北方夜视技术股份有限公司 Automatic exposure control method based on EBAPS sensor camera and storage medium

Similar Documents

Publication Publication Date Title
JP5814698B2 (en) Automatic exposure control device, control device, endoscope device, and operation method of endoscope device
US7029437B2 (en) Electronic endoscope apparatus
US9986169B2 (en) Exposure control method and system for an image capture device
EP2762059A1 (en) Image processing device for use with endoscope, endoscope, and image processing method
JP2022179728A (en) Information processing device, control method, program, and endoscope system
US11843756B2 (en) Image signal processing to compensate for scene changes
CN1700779A (en) Display evaluation method and apparatus
CN115426457A (en) Endoscope brightness adjusting method
US20210297606A1 (en) Medical image processing device and medical observation system
WO2023202675A1 (en) Method for controlling endoscope exposure and endoscope
JP4796557B2 (en) Imaging device
JP6308673B2 (en) Image processing apparatus for electronic endoscope and electronic endoscope system
CN116055892A (en) Automatic exposure method and endoscope image processing device
JP7179837B2 (en) Endoscope device, endoscope image display method, and operation method of endoscope device
US20220286627A1 (en) Endoscopic camera region of interest autoexposure
CN114881896B (en) Endoscope image real-time defogging method and device, electronic equipment and storage medium
US10939801B2 (en) Electronic endoscope system
JP2012070317A (en) Imaging device and endoscopic diagnosis system
WO2021141048A1 (en) Endoscope system, processor device, diagnosis assistance method, and computer program
JP4708603B2 (en) Electronic endoscope device with automatic dimming function to prevent halation
WO2016039270A1 (en) Endoscope system and method for operating endoscope system
JP2002263064A (en) Automatic dimmer for endoscope and processor of electronic endoscope apparatus containing the same
JP2019162165A (en) Endoscope system
JP4311959B2 (en) Electronic endoscope device
CN105676569B (en) A kind of camera system and its method based on off-axis light path technology

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