[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2023133991A1 - Endoscope color temperature real-time correction method and apparatus, electronic device, and camera system - Google Patents

Endoscope color temperature real-time correction method and apparatus, electronic device, and camera system Download PDF

Info

Publication number
WO2023133991A1
WO2023133991A1 PCT/CN2022/079331 CN2022079331W WO2023133991A1 WO 2023133991 A1 WO2023133991 A1 WO 2023133991A1 CN 2022079331 W CN2022079331 W CN 2022079331W WO 2023133991 A1 WO2023133991 A1 WO 2023133991A1
Authority
WO
WIPO (PCT)
Prior art keywords
light source
source control
control signal
color temperature
correction coefficient
Prior art date
Application number
PCT/CN2022/079331
Other languages
French (fr)
Chinese (zh)
Inventor
伍思樾
任均宇
顾兆泰
梁江荣
黄泽鑫
张仲亮
李娜娜
邬东升
谭文安
李明
安昕
Original Assignee
广东欧谱曼迪科技有限公司
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 广东欧谱曼迪科技有限公司 filed Critical 广东欧谱曼迪科技有限公司
Publication of WO2023133991A1 publication Critical patent/WO2023133991A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/06Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor with illuminating arrangements
    • A61B1/0661Endoscope light sources
    • 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
    • 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

Definitions

  • the invention relates to an endoscope color temperature real-time correction method, device, electronic equipment and camera system, belonging to the field of endoscopes.
  • an endoscope that can automatically adjust the power of the light source. While satisfying the imaging brightness, it can prevent biological tissues from being irradiated by high-power light sources for a long time and at close range, and reduce the heat generated by biological tissues during surgery or inspection.
  • Another advantage of this type of endoscope is that since the brightness of the light source can be automatically adjusted, it is not necessary to use the automatic exposure function of the endoscope camera equipment, which eliminates the influence of electronic gain on the image signal-to-noise ratio and improves the image signal. Noise ratio and dynamic range.
  • most light sources themselves have the following characteristics. The color temperature of the light source at low power output and high power output often differs greatly.
  • the present invention provides a method, device, electronic equipment and camera system for real-time correction of the color temperature of an endoscope, which can adjust the color temperature of the picture while automatically adjusting the power of the light source in the endoscope.
  • the present invention provides a method for real-time correction of the color temperature of an endoscope, which is used for an endoscope with automatically adjustable light source power, comprising the following steps:
  • the light source control signal comes from a light source control unit
  • the light source control signal using the corresponding relationship between the light source control signal and the image color temperature to generate a color temperature correction coefficient
  • the real-time correction method for endoscope color temperature acquires the light source control signal in real time, adjusts the color temperature of the picture according to the light source control signal, and avoids a large change in the color temperature of the picture when the power of the light source of the endoscope changes.
  • the step of obtaining the corresponding relationship between the light source control signal and the image color temperature includes reading the light source control signal-image color temperature correction coefficient relationship curve;
  • the step of generating the color temperature correction coefficient according to the light source control signal and using the corresponding relationship between the light source control signal and the image color temperature includes: comparing the light source control signal-image color temperature correction coefficient relationship curve to generate the color temperature correction coefficient ;
  • the method for generating the light source control signal-image color temperature correction coefficient relationship curve includes:
  • the corresponding relationship between the light source control signal and the image color temperature includes a red correction coefficient fitting equation and a blue correction coefficient fitting equation;
  • the color temperature correction coefficient includes a red correction coefficient and a blue correction coefficient;
  • the step of generating a color temperature correction coefficient according to the light source control signal using the corresponding relationship between the light source control signal and the image color temperature includes, substituting the light source control signal into the red correction coefficient fitting equation and the blue correction coefficient
  • the fitting equation obtains the red correction coefficient under the light source control signal and the blue correction coefficient under the light source control signal respectively;
  • the generation steps of the red correction coefficient fitting equation and the blue correction coefficient fitting equation include:
  • the basic light source control signal is a signal for driving the light source to emit light with maximum brightness.
  • the basic light source control signal can be any definite signal.
  • the endoscope seldom works under the low brightness of the light source in normal operation, and generally works under high brightness, and whites the camera with the maximum brightness.
  • Balance processing makes the color of the picture on the monitor more realistic when the endoscope is working.
  • the picture signal includes a red signal, a green signal and a blue signal
  • the step of correcting the color of the real-time captured image according to the color temperature correction coefficient to obtain the picture signal includes:
  • the red signal is equal to the real-time red pixel value multiplied by the red correction coefficient under the corresponding light source control signal;
  • the green signal is equal to the real-time green pixel value;
  • the blue signal is equal to the real-time blue pixel Value multiplied by the blue correction factor under the corresponding light source control signal.
  • the standard red pixel value under each standard light source control signal is the average value obtained from multiple shots under the corresponding standard light source control signal;
  • the standard green pixel value under each standard light source control signal is The average value obtained from multiple shots under the corresponding standard light source control signal;
  • the standard blue pixel value under each standard light source control signal is the average value obtained from multiple shots under the corresponding standard light source control signal.
  • the red correction coefficient fitting equation is a quadratic equation with the red correction coefficient as a dependent variable and the light source control signal as an independent variable;
  • the blue correction coefficient fitting equation is, A quadratic equation with the blue color correction coefficient as a dependent variable and the light source control signal as an independent variable.
  • the present invention provides a real-time color temperature correction device for an endoscope, which is used for an endoscope whose light source power can be automatically adjusted.
  • the device includes:
  • the first acquisition module is used to acquire the corresponding relationship between the light source control signal and the image color temperature
  • the second obtaining module is used to obtain a light source control signal, and the light source control signal comes from a light source control unit;
  • a correction coefficient generating module configured to generate a color temperature correction coefficient according to the light source control signal, using the corresponding relationship between the light source control signal and the image color temperature;
  • a correction module configured to correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal
  • the sending module is used to send the picture signal to the display.
  • the present invention provides an electronic device, including a processor and a memory, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the above-mentioned first aspect is executed. steps in the method.
  • the present invention provides an endoscope imaging system, including a display, an image processing unit, an endoscope, an optical fiber optically connected to the endoscope, a light source optically connected to the optical fiber, and the light source
  • An electrically connected light source control unit the image processing unit is signal-connected to the camera, the light source control unit, and the display, and the image processing unit obtains the corresponding relationship between the light source control signal and the image color temperature;
  • the image processing unit Acquiring a light source control signal, the light source control signal comes from a light source control unit;
  • the image processing unit uses the corresponding relationship between the light source control signal and image color temperature according to the light source control signal to generate a color temperature correction coefficient;
  • the image processing The unit corrects the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal;
  • the image processing unit sends the picture signal to the display.
  • the adjustment of the light source power depends on the light source control signal sent by the light source control unit, so the current power or brightness of the light source can be obtained by obtaining the light source control signal in real time, and the relationship between the light source control signal and the color temperature correction coefficient represents the brightness
  • the relationship between the color temperature deviation and the color temperature correction coefficient is used to process the real-time shooting images. Even if the brightness of the light source changes greatly, the color temperature of the display output can be kept stable, avoiding frequent changes in the color tone of the picture, which is conducive to the operator to see the biological tissue clearly, and is conducive to the power of the light source. Adjustable endoscopes are promoted.
  • FIG. 1 is a flow chart of a method for real-time correction of color temperature of an endoscope provided in an embodiment of the present application.
  • FIG. 2 is a relationship diagram between a color temperature correction coefficient and a light source control signal provided by an embodiment of the present application.
  • Fig. 3 is a schematic structural diagram of an endoscope color temperature real-time correction device provided in an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a camera system provided by an embodiment of the present application.
  • a method for real-time correction of the color temperature of an endoscope which is used for an endoscope with automatically adjustable light source power, includes the following steps:
  • a color temperature correction coefficient is generated by utilizing the corresponding relationship between the light source control signal and the color temperature of the image.
  • the adjustment of light source power depends on the light source control signal sent by the light source control unit.
  • the light source control signal generated by the light source control unit is not only sent to the light source, but also sent to the image processing unit, and the image processing unit can know the current state of the light source. power or brightness. Therefore, the present invention does not need to install an optical sensor on the endoscope. Adding an optical sensor will lead to a more complicated circuit structure of the endoscope and a more cumbersome overall structure, and the feedback of the optical sensor will take time. Waiting for the feedback signal from the optical sensor to correct the color temperature will increase the image quality. Delay. There is no light in the living body, and the light source of the endoscope is the only light source for the light collected by the camera. Therefore, there is a unique relationship between the light source control signal and the color temperature of the real-time image captured by the camera.
  • the relationship between the light source control signal and the color temperature correction coefficient represents the relationship between brightness and color temperature deviation.
  • Using the color temperature correction coefficient to process real-time captured images can keep the color temperature of the display output stable even if the brightness of the light source changes greatly, avoiding frequent changes in the color tone of the screen, which is beneficial
  • the operator can see the biological tissue clearly, which is conducive to the popularization and use of the endoscope with adjustable light source power.
  • step S1 and step S2 may not distinguish the execution sequence, and may also be executed simultaneously.
  • the corresponding relationship between the light source control signal and the image color temperature in step S1 can be stored in the storage medium, and can be recalled at any time when needed.
  • the "acquire" action in step S1 actually includes the meaning of "read” and "load”.
  • the corresponding relationship between the light source control signal and the color temperature of the image may be a table, an image or a function.
  • S3 Generate a color temperature correction coefficient according to the light source control signal-image color temperature correction coefficient relationship curve.
  • S4 Correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal.
  • the generation method of the light source control signal-image color temperature correction coefficient relationship curve is as follows:
  • S12' Make the light source shine with different brightness, make the camera shoot the same white background at the same distance, and obtain multiple standard shooting images.
  • steps S11 and step S12 need to be carried out in a dark room
  • steps S11 to S14 are the pre-steps of step S1, and also the pre-steps of the endoscope before working, but only need to update the light source control signal after the endoscope replaces the light source
  • the corresponding relationship with the image color temperature does not need to be updated before each operation.
  • step S13 is: calculating the red correction coefficient and blue correction coefficient under each standard light source control signal according to multiple standard captured images;
  • step S14 is: drawing a red curve according to the red correction coefficient and the corresponding standard light source control signal , draw the blue curve according to the blue correction coefficient and the corresponding standard light source control signal, as shown in Figure 2, the ordinate is the color temperature correction coefficient, including blue correction coefficient and red correction coefficient; the abscissa is the light source control signal, that is, the signal percentage.
  • the corresponding relationship between the light source control signal and the image color temperature is a table or an image
  • the above step S12 needs to take a lot of images.
  • the corresponding relationship between the light source control signal and the image color temperature is a fitting equation.
  • the corresponding relationship between the light source control signal and the image color temperature includes a red correction coefficient fitting equation and a blue correction coefficient fitting equation; the color temperature correction coefficient includes a red correction coefficient and a blue correction coefficient.
  • the generation steps of the red correction coefficient fitting equation and the blue correction coefficient fitting equation include:
  • Rg Gi/Ri
  • Rg is the red channel gain
  • Bg is the blue channel gain
  • the red correction coefficient fitting equation is a quadratic equation with the red correction coefficient as the dependent variable and the light source control signal as the independent variable;
  • the blue correction coefficient fitting equation is, with the blue correction coefficient as the dependent variable and the light source control signal as the independent variable
  • the signal is a quadratic equation in one variable.
  • equation fitting such as polynomial fitting, the following takes the quadratic equation as an example, the form is as follows:
  • a1, a2, b1, b2, c1, c2 are the fitting coefficients
  • Rc is the red correction coefficient
  • Bc is the blue correction coefficient, that is, the ratio of a certain color pixel value to a green pixel value during calibration is called a certain color channel gain , calculated by shooting a white background; in actual application, the ratio of a certain color pixel value to a green pixel value is called a certain color correction coefficient, which is calculated by substituting the current light source control signal into the fitting equation.
  • the picture signal includes a red signal, a green signal and a blue signal, and correspondingly, step S4 is specifically as follows:
  • the red signal is equal to the real-time red pixel value multiplied by the red correction coefficient under the light source control signal;
  • the green signal is equal to the real-time green pixel value;
  • the blue signal is equal to the real-time blue pixel value multiplied by the blue correction coefficient under the light source control signal, that is :
  • R1 R0*Rc
  • R0 is the red channel pixel value of the image before correction (real-time red pixel value)
  • B0 is the blue channel pixel value of the image before correction (real-time blue pixel value)
  • R1 is the red channel pixel value of the image after correction (red pixel value). signal
  • B1 is the blue channel pixel value (blue signal) of the rectified image.
  • an endoscope color temperature real-time correction device is used for endoscopes whose light source power can be automatically adjusted, and the device includes:
  • the first acquisition module 101 is configured to acquire the corresponding relationship between the light source control signal and the image color temperature
  • the second acquiring module 102 is configured to acquire a light source control signal, and the light source control signal comes from a light source control unit;
  • the correction coefficient generating module 103 is configured to generate a color temperature correction coefficient according to the light source control signal and using the corresponding relationship between the light source control signal and the image color temperature;
  • the correction module 104 is used to correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal;
  • the sending module 105 is configured to send the picture signal to the display.
  • the device may be equipped with an electronic storage medium, in which the corresponding relationship between the light source control signal and the image color temperature is stored, and the first acquisition module 101 is used to retrieve the corresponding relationship between the light source control signal and the image color temperature.
  • the device is connected with the display, the endoscope, and the light source control unit for controlling the power of the light source to automatically adjust the color temperature of the endoscope image in real time.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the present application provides an electronic device 3, including: a processor 301 and a memory 302, and the processor 301 and the memory 302 communicate through a communication bus 303 and/or other forms of connection mechanisms (not shown) are interconnected and communicate with each other, and the memory 302 stores a computer program executable by the processor 301.
  • the processor 301 executes the computer program to execute when executing
  • the method in any optional implementation manner of the above-mentioned embodiments, to realize the following functions: obtain the corresponding relationship between the light source control signal and the image color temperature; obtain the light source control signal, and the light source control signal comes from the light source control unit; according to the light source control signal, The corresponding relationship between the light source control signal and the image color temperature is used to generate a color temperature correction coefficient; the color of the real-time captured image is corrected according to the color temperature correction coefficient to obtain a picture signal; the picture signal is sent to the display.
  • a kind of endoscopic camera system comprises image processing unit 1, display 5, endoscope 6, the optical fiber 7 that is optically connected with endoscope 6, the light source 8 that is optically connected with optical fiber 7, and light source 8 is electrically connected.
  • the connected light source control unit 2, the image processing unit 1 is connected with the video camera 4, the light source control unit 2, and the display 5, and the image processing unit 1 obtains the corresponding relationship between the light source control signal and the image color temperature; the image processing unit 1 obtains the light source control signal, and the light source
  • the control signal comes from the light source control unit 2; the image processing unit 1 generates a color temperature correction coefficient according to the light source control signal and the corresponding relationship between the light source control signal and the image color temperature; the image processing unit 1 corrects the color of the real-time captured image according to the color temperature correction coefficient , to obtain a picture signal; the image processing unit 1 sends the picture signal to the display 5 .
  • the real-time automatic adjustment of the color temperature of the image taken by the camera 4 is realized, so that the color

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Surgery (AREA)
  • Engineering & Computer Science (AREA)
  • Public Health (AREA)
  • Animal Behavior & Ethology (AREA)
  • Pathology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Biophysics (AREA)
  • Optics & Photonics (AREA)
  • Radiology & Medical Imaging (AREA)
  • Endoscopes (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The present invention relates to the field of endoscopes. Disclosed are an endoscope color temperature real-time correction method and apparatus, an electronic device, and a camera system. The method comprises the following steps: acquiring a correspondence between a light source control signal and an image color temperature (S1); acquiring the light source control signal, wherein the light source control signal is from a light source control unit (S2); according to the light source control signal, generating a color temperature correction coefficient by using the correspondence between the light source control signal and the image color temperature (S3); correcting, according to the color temperature correction coefficient, a color of an image that is photographed in real time, so as to obtain a picture signal (S4); and sending the picture signal to a display (S5). By using the color temperature correction coefficient to process the image that is photographed in real time, even if the brightness of a light source is greatly changed, the color temperature output by the display can be kept stable, so that the tone of the picture is prevented from being frequently changed, an operator can clearly see a biological tissue, and popularization and use of the endoscope having adjustable light source power are facilitated.

Description

内窥镜色温实时矫正方法、装置、电子设备及摄像系统Endoscope color temperature real-time correction method, device, electronic equipment and camera system 技术领域technical field
本发明涉及一种内窥镜色温实时矫正方法、装置、电子设备及摄像系统,属于内窥镜领域。The invention relates to an endoscope color temperature real-time correction method, device, electronic equipment and camera system, belonging to the field of endoscopes.
背景技术Background technique
现时临床应用中有一种内窥镜可以自动调节光源功率,在满足成像亮度的同时,可避免生物组织长时间、近距离受到大功率的光源照射,减轻做手术或做检查时对生物组织的热伤害;这种内窥镜的另外一个优点是,由于光源亮度可以自动调节,因此无需使用内窥镜摄像设备的自动曝光功能,消除了电子增益对图像信噪比的影响,提高了图像的信噪比与动态范围。但是,多数光源本身有以下特性,低功率输出时与高功率输出时的光源色温往往相差较大,使用这种内窥镜的施术者看到的画面为,虽然画面亮度稳定、少“雪花”,但是画面的颜色经常会发生变化,这种情形容易影响施术者对生物组织的辨认。旧式的内窥镜光源功率恒定,依靠电子增益提高画面亮度,因此不会遇到这种颜色变化问题。如何抑制画面颜色频繁变化成为这种光源功率可自动调节的内窥镜扩大应用的关键。In current clinical applications, there is an endoscope that can automatically adjust the power of the light source. While satisfying the imaging brightness, it can prevent biological tissues from being irradiated by high-power light sources for a long time and at close range, and reduce the heat generated by biological tissues during surgery or inspection. Another advantage of this type of endoscope is that since the brightness of the light source can be automatically adjusted, it is not necessary to use the automatic exposure function of the endoscope camera equipment, which eliminates the influence of electronic gain on the image signal-to-noise ratio and improves the image signal. Noise ratio and dynamic range. However, most light sources themselves have the following characteristics. The color temperature of the light source at low power output and high power output often differs greatly. ", but the color of the screen often changes, which can easily affect the operator's identification of biological tissues. Older endoscopes with a constant power light source, relying on electronic gain to brighten the picture, did not suffer from this color shift problem. How to suppress frequent changes in picture color becomes the key to expanding the application of this kind of endoscope with automatically adjustable light source power.
发明内容Contents of the invention
为了克服现有技术的不足,本发明提供一种内窥镜色温实时矫正方法、装置、电子设备及摄像系统,能够在内窥镜自动调节光源功率的同时对画面进行色温调节。In order to overcome the deficiencies of the prior art, the present invention provides a method, device, electronic equipment and camera system for real-time correction of the color temperature of an endoscope, which can adjust the color temperature of the picture while automatically adjusting the power of the light source in the endoscope.
第一方面,本发明提供一种内窥镜色温实时矫正方法,用于光源功率可自动调节的内窥镜,包括以下步骤:In the first aspect, the present invention provides a method for real-time correction of the color temperature of an endoscope, which is used for an endoscope with automatically adjustable light source power, comprising the following steps:
获取光源控制信号与图像色温的对应关系;Obtain the corresponding relationship between the light source control signal and the image color temperature;
获取光源控制信号,所述光源控制信号来自于光源控制单元;Acquiring a light source control signal, the light source control signal comes from a light source control unit;
根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数;According to the light source control signal, using the corresponding relationship between the light source control signal and the image color temperature to generate a color temperature correction coefficient;
根据所述色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;Correcting the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal;
将所述画面信号发送给显示器。Send the picture signal to the display.
本申请提供的内窥镜色温实时矫正方法实时获取光源控制信号,根据光源控制信号调节画面色温,避免内窥镜的光源功率发生变化时画面色温也发生大幅变化。The real-time correction method for endoscope color temperature provided by the present application acquires the light source control signal in real time, adjusts the color temperature of the picture according to the light source control signal, and avoids a large change in the color temperature of the picture when the power of the light source of the endoscope changes.
可选地,所述获取光源控制信号与图像色温的对应关系的步骤包括,读取光源控制信号-图像色温矫正系数关系曲线;Optionally, the step of obtaining the corresponding relationship between the light source control signal and the image color temperature includes reading the light source control signal-image color temperature correction coefficient relationship curve;
所述根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数的步骤包括,对照所述光源控制信号-图像色温矫正系数关系曲线,生成所述色温矫正系数;The step of generating the color temperature correction coefficient according to the light source control signal and using the corresponding relationship between the light source control signal and the image color temperature includes: comparing the light source control signal-image color temperature correction coefficient relationship curve to generate the color temperature correction coefficient ;
所述光源控制信号-图像色温矫正系数关系曲线的生成方法包括:The method for generating the light source control signal-image color temperature correction coefficient relationship curve includes:
以基础光源控制信号驱动光源发光,令摄像机拍摄白色背景,对所述摄像机进行白平衡处理;Drive the light source to emit light with the basic light source control signal, make the camera shoot a white background, and perform white balance processing on the camera;
以多个标准光源控制信号分别驱动所述光源发光,令所述摄像机拍摄所述白色背景,获取多个标准拍摄图像;Using a plurality of standard light source control signals to respectively drive the light source to emit light, so that the camera captures the white background, and obtains a plurality of standard photographed images;
根据所述标准拍摄图像计算对应的所述标准光源控制信号下的色温矫正系数;calculating a color temperature correction coefficient corresponding to the standard light source control signal according to the standard captured image;
根据所述色温矫正系数和对应的所述标准光源控制信号绘制所述光源控制信号-图像色温矫正系数关系曲线。Drawing the light source control signal-image color temperature correction coefficient relationship curve according to the color temperature correction coefficient and the corresponding standard light source control signal.
可选地,所述光源控制信号与图像色温的对应关系包括红色矫正系数拟合方程和蓝色矫正系数拟合方程;所述色温矫正系数包括红色矫正系数和蓝色矫正系数;Optionally, the corresponding relationship between the light source control signal and the image color temperature includes a red correction coefficient fitting equation and a blue correction coefficient fitting equation; the color temperature correction coefficient includes a red correction coefficient and a blue correction coefficient;
所述根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数的步骤包括,将所述光源控制信号代入所述红色矫正系数拟合方程和蓝色矫正系数拟合方程分别得到该光源控制信号下的所述红色矫正系数和该光源控制信号下的蓝色矫正系数;所述红色矫正系数拟合方程和蓝色矫正系数拟合方程的生成步骤包括:The step of generating a color temperature correction coefficient according to the light source control signal using the corresponding relationship between the light source control signal and the image color temperature includes, substituting the light source control signal into the red correction coefficient fitting equation and the blue correction coefficient The fitting equation obtains the red correction coefficient under the light source control signal and the blue correction coefficient under the light source control signal respectively; the generation steps of the red correction coefficient fitting equation and the blue correction coefficient fitting equation include:
以基础光源控制信号驱动光源发光,令摄像机拍摄白色背景,对所述摄像机进行白平衡处理;Drive the light source to emit light with the basic light source control signal, make the camera shoot a white background, and perform white balance processing on the camera;
以多个标准光源控制信号分别驱动所述光源发光,令所述摄像机拍摄所述白色背景,获取多个标准拍摄图像中的标准红色像素值、标准绿色像素值和标准蓝色像素值;Using a plurality of standard light source control signals to respectively drive the light source to emit light, make the camera capture the white background, and obtain standard red pixel values, standard green pixel values, and standard blue pixel values in the plurality of standard captured images;
根据各所述标准光源控制信号下的标准红色像素值和标准绿色像素值计算对应各所述标准光源控制信号的红色通道增益;根据各所述标准光源控制信号下的标准蓝色像素值和标准绿色像素值计算对应各所述标准光源控制信号的蓝色通道增益;Calculate the red channel gain corresponding to each of the standard light source control signals according to the standard red pixel value and the standard green pixel value under each of the standard light source control signals; according to the standard blue pixel value and standard under each of the standard light source control signals The green pixel value calculates the blue channel gain corresponding to each of the standard light source control signals;
采用函数拟合所述标准光源控制信号和所述红色通道增益得到所述红色矫正系数拟合方程,采用函数拟合所述标准光源控制信号和所述蓝色通道增益得到所述蓝色矫正系数拟合方程。Using a function to fit the standard light source control signal and the red channel gain to obtain the red correction coefficient fitting equation, using a function to fit the standard light source control signal and the blue channel gain to obtain the blue correction coefficient Fitting equation.
可选地,所述基础光源控制信号为驱动所述光源以最大亮度发光的信号。理论上,所述基础光源控制信号可以是任意一个确定的信号,实际上,内窥镜在正常工作中较少在光源低亮度下工作,一般在高亮度下工作,以最大亮度对摄像机做白平衡处理使内窥镜工作时显示器中的画面颜色更加真实。Optionally, the basic light source control signal is a signal for driving the light source to emit light with maximum brightness. Theoretically, the basic light source control signal can be any definite signal. In fact, the endoscope seldom works under the low brightness of the light source in normal operation, and generally works under high brightness, and whites the camera with the maximum brightness. Balance processing makes the color of the picture on the monitor more realistic when the endoscope is working.
可选地,每一所述标准光源控制信号下的所述红色通道增益等于该标准光源控制信号下的标准绿色像素值除以该标准光源控制信号下的标准红色像素值;每一所述标准光源控制信号下的所述蓝色通道增益等于该标准光源控制信号下的标准绿色像素值除以该标准光源控制信号下的标准蓝色像素值;Optionally, the red channel gain under each standard light source control signal is equal to the standard green pixel value under the standard light source control signal divided by the standard red pixel value under the standard light source control signal; each of the standard The blue channel gain under the light source control signal is equal to the standard green pixel value under the standard light source control signal divided by the standard blue pixel value under the standard light source control signal;
所述画面信号包括红色信号、绿色信号和蓝色信号;The picture signal includes a red signal, a green signal and a blue signal;
所述根据所述色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号的步骤包括:The step of correcting the color of the real-time captured image according to the color temperature correction coefficient to obtain the picture signal includes:
获取所述实时拍摄图像中的实时红色像素值、实时绿色像素值和实时蓝色像素值;Obtain the real-time red pixel value, real-time green pixel value and real-time blue pixel value in the real-time captured image;
所述红色信号等于所述实时红色像素值乘以对应的光源控制信号下的所述红色矫正系数;所述绿色信号等于所述实时绿色像素值;所述蓝色信号等于所述实时蓝色像素值乘以对应的光源控制信号下的所述蓝色矫正系数。The red signal is equal to the real-time red pixel value multiplied by the red correction coefficient under the corresponding light source control signal; the green signal is equal to the real-time green pixel value; the blue signal is equal to the real-time blue pixel Value multiplied by the blue correction factor under the corresponding light source control signal.
可选地,每一所述标准光源控制信号下的标准红色像素值为在对应的标准光源控制信号下多次拍摄得到的平均值;每一所述标准光源控制信号下的标准绿色像素值为在对应的标准光源控制信号下多次拍摄得到的平均值;每一所述标准光源控制信号下的标准蓝色像素值为在对应的标准光源控制信号下多次拍摄得到的平均值。Optionally, the standard red pixel value under each standard light source control signal is the average value obtained from multiple shots under the corresponding standard light source control signal; the standard green pixel value under each standard light source control signal is The average value obtained from multiple shots under the corresponding standard light source control signal; the standard blue pixel value under each standard light source control signal is the average value obtained from multiple shots under the corresponding standard light source control signal.
可选地,所述红色矫正系数拟合方程为,以所述红色矫正系数为因变量,以所述光源控制信号为自变量的一元二次方程;所述蓝色矫正系数拟合方程为,以所述蓝色矫正系数为因变量,以所述光源控制信号为自变量的一元二次方程。Optionally, the red correction coefficient fitting equation is a quadratic equation with the red correction coefficient as a dependent variable and the light source control signal as an independent variable; the blue correction coefficient fitting equation is, A quadratic equation with the blue color correction coefficient as a dependent variable and the light source control signal as an independent variable.
第二方面,本发明提供一种内窥镜色温实时矫正装置,用于光源功率可自动调节的内窥镜,所述装置包括:In the second aspect, the present invention provides a real-time color temperature correction device for an endoscope, which is used for an endoscope whose light source power can be automatically adjusted. The device includes:
第一获取模块,用于获取光源控制信号与图像色温的对应关系;The first acquisition module is used to acquire the corresponding relationship between the light source control signal and the image color temperature;
第二获取模块,用于获取光源控制信号,所述光源控制信号来自于光源控制单元;The second obtaining module is used to obtain a light source control signal, and the light source control signal comes from a light source control unit;
矫正系数生成模块,用于根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数;A correction coefficient generating module, configured to generate a color temperature correction coefficient according to the light source control signal, using the corresponding relationship between the light source control signal and the image color temperature;
矫正模块,用于根据所述色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;A correction module, configured to correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal;
发送模块,用于将所述画面信号发送给显示器。The sending module is used to send the picture signal to the display.
第三方面,本发明提供一种电子设备,包括处理器以及存储器,所述存储器存储有计算机可读取指令,当所述计算机可读取指令由所述处理器执行时,运行上述第一方面方法中的步骤。In a third aspect, the present invention provides an electronic device, including a processor and a memory, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the above-mentioned first aspect is executed. steps in the method.
第四方面,本发明提供一种内窥镜摄像系统,包括显示器、图像处理单元、内窥镜、与所述内窥镜光学连接的光纤、与所述光纤光学连接的光源、与所述光源电连接的光源 控制单元,所述图像处理单元与所述摄像机、所述光源控制单元、所述显示器信号连接,所述图像处理单元获取光源控制信号与图像色温的对应关系;所述图像处理单元获取光源控制信号,所述光源控制信号来自于光源控制单元;所述图像处理单元根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数;所述图像处理单元根据所述色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;所述图像处理单元将所述画面信号发送给显示器。In a fourth aspect, the present invention provides an endoscope imaging system, including a display, an image processing unit, an endoscope, an optical fiber optically connected to the endoscope, a light source optically connected to the optical fiber, and the light source An electrically connected light source control unit, the image processing unit is signal-connected to the camera, the light source control unit, and the display, and the image processing unit obtains the corresponding relationship between the light source control signal and the image color temperature; the image processing unit Acquiring a light source control signal, the light source control signal comes from a light source control unit; the image processing unit uses the corresponding relationship between the light source control signal and image color temperature according to the light source control signal to generate a color temperature correction coefficient; the image processing The unit corrects the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal; the image processing unit sends the picture signal to the display.
本发明的有益效果是:光源功率的调节依赖光源控制单元发出的光源控制信号,因此实时获取光源控制信号就能得知光源当前的功率或亮度,光源控制信号与色温矫正系数的关系代表着亮度和色温偏差的关系,用色温矫正系数处理实时拍摄图像,即使光源亮度大幅变化也能够使得显示器输出的色温保持稳定,避免画面频繁变换色调,有利于施术者看清生物组织,有利于光源功率可调的内窥镜推广使用。The beneficial effects of the present invention are: the adjustment of the light source power depends on the light source control signal sent by the light source control unit, so the current power or brightness of the light source can be obtained by obtaining the light source control signal in real time, and the relationship between the light source control signal and the color temperature correction coefficient represents the brightness The relationship between the color temperature deviation and the color temperature correction coefficient is used to process the real-time shooting images. Even if the brightness of the light source changes greatly, the color temperature of the display output can be kept stable, avoiding frequent changes in the color tone of the picture, which is conducive to the operator to see the biological tissue clearly, and is conducive to the power of the light source. Adjustable endoscopes are promoted.
本申请的其他特征和优点将在随后的说明书阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
图1是本申请实施例提供的一种内窥镜色温实时矫正方法的流程图。FIG. 1 is a flow chart of a method for real-time correction of color temperature of an endoscope provided in an embodiment of the present application.
图2是本申请实施例提供的一种色温矫正系数和光源控制信号关系图。FIG. 2 is a relationship diagram between a color temperature correction coefficient and a light source control signal provided by an embodiment of the present application.
图3是本申请实施例提供的一种内窥镜色温实时矫正装置的结构示意图。Fig. 3 is a schematic structural diagram of an endoscope color temperature real-time correction device provided in an embodiment of the present application.
图4是本申请实施例提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图5是本申请实施例提供的一种摄像系统的结构示意图。Fig. 5 is a schematic structural diagram of a camera system provided by an embodiment of the present application.
附图标记:1、图像处理单元;101、第一获取模块;102、第二获取模块;103、矫正系数生成模块;104、矫正模块;105、发送模块;2、光源控制单元;3、电子设备;301、处理器;302、存储器;303、通信总线;4、摄像机;5、显示器;6、内窥镜;7、光纤;8、光源。Reference signs: 1. Image processing unit; 101, first acquisition module; 102, second acquisition module; 103, correction coefficient generation module; 104, correction module; 105, sending module; 2, light source control unit; 3, electronics Equipment; 301, processor; 302, memory; 303, communication bus; 4, camera; 5, display; 6, endoscope; 7, optical fiber; 8, light source.
具体实施方式Detailed ways
下面详细描述本发明的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.
下文的公开提供了许多不同的实施方式或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且 目的不在于限制本发明。此外,本发明可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the invention. Furthermore, the present disclosure may repeat reference numerals and/or reference letters in different instances, such repetition is for simplicity and clarity and does not in itself indicate a relationship between the various embodiments and/or arrangements discussed.
参照图1,一种内窥镜色温实时矫正方法,用于光源功率可自动调节的内窥镜,包括以下步骤:Referring to Figure 1, a method for real-time correction of the color temperature of an endoscope, which is used for an endoscope with automatically adjustable light source power, includes the following steps:
S1:获取光源控制信号与图像色温的对应关系。S1: Obtain the corresponding relationship between the light source control signal and the color temperature of the image.
S2:获取光源控制信号,光源控制信号来自于光源控制单元。S2: Obtain a light source control signal, the light source control signal comes from the light source control unit.
S3:根据光源控制信号,利用光源控制信号与图像色温的对应关系,生成色温矫正系数。S3: According to the light source control signal, a color temperature correction coefficient is generated by utilizing the corresponding relationship between the light source control signal and the color temperature of the image.
S4:根据色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号。S4: Correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal.
S5:将画面信号发送给显示器。S5: Send the picture signal to the monitor.
光源功率的调节依赖光源控制单元发出的光源控制信号,本实施例中光源控制单元生成的光源控制信号除了发送给光源外,还发送一份给图像处理单元,图像处理单元就能得知光源当前的功率或亮度。因此本发明无需在内窥镜上加装光学传感器,加装光学传感器会导致内窥镜线路结构更加复杂、整体更加笨重,且光学传感器反馈需要时间,等待光学传感器的反馈信号矫正色温会增加图像延迟。生物体内不会发光,内窥镜自带的光源就是摄像机收集的光线的唯一光源,因此光源控制信号和摄像机实时拍摄图像的色温存在唯一关系。The adjustment of light source power depends on the light source control signal sent by the light source control unit. In this embodiment, the light source control signal generated by the light source control unit is not only sent to the light source, but also sent to the image processing unit, and the image processing unit can know the current state of the light source. power or brightness. Therefore, the present invention does not need to install an optical sensor on the endoscope. Adding an optical sensor will lead to a more complicated circuit structure of the endoscope and a more cumbersome overall structure, and the feedback of the optical sensor will take time. Waiting for the feedback signal from the optical sensor to correct the color temperature will increase the image quality. Delay. There is no light in the living body, and the light source of the endoscope is the only light source for the light collected by the camera. Therefore, there is a unique relationship between the light source control signal and the color temperature of the real-time image captured by the camera.
光源控制信号与色温矫正系数的关系代表着亮度和色温偏差的关系,用色温矫正系数处理实时拍摄图像,即使光源亮度大幅变化也能够使得显示器输出的色温保持稳定,避免画面频繁变换色调,有利于施术者看清生物组织,有利于光源功率可调的内窥镜推广使用。The relationship between the light source control signal and the color temperature correction coefficient represents the relationship between brightness and color temperature deviation. Using the color temperature correction coefficient to process real-time captured images can keep the color temperature of the display output stable even if the brightness of the light source changes greatly, avoiding frequent changes in the color tone of the screen, which is beneficial The operator can see the biological tissue clearly, which is conducive to the popularization and use of the endoscope with adjustable light source power.
本领域技术人员应当明白,步骤S1和步骤S2可以不区分执行顺序,也可以同时执行。步骤S1中的光源控制信号与图像色温的对应关系可以存储于存储介质中,需要用到时随时调用,步骤S1中的“获取”动作实际上包括了“读取”“加载”的含义。光源控制信号与图像色温的对应关系可以是表格、图像或函数。Those skilled in the art should understand that step S1 and step S2 may not distinguish the execution sequence, and may also be executed simultaneously. The corresponding relationship between the light source control signal and the image color temperature in step S1 can be stored in the storage medium, and can be recalled at any time when needed. The "acquire" action in step S1 actually includes the meaning of "read" and "load". The corresponding relationship between the light source control signal and the color temperature of the image may be a table, an image or a function.
以图像表示光源控制信号与图像色温的对应关系的例子如下,该方法的具体步骤为:An example of using an image to represent the corresponding relationship between the light source control signal and the image color temperature is as follows, and the specific steps of the method are:
S1:读取光源控制信号-图像色温矫正系数关系曲线。S1: Read the light source control signal-image color temperature correction coefficient relationship curve.
S2:获取光源控制信号,光源控制信号来自于光源控制单元。S2: Obtain a light source control signal, the light source control signal comes from the light source control unit.
S3:对照光源控制信号-图像色温矫正系数关系曲线,生成色温矫正系数。S4:根据色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号。S3: Generate a color temperature correction coefficient according to the light source control signal-image color temperature correction coefficient relationship curve. S4: Correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal.
S5:将画面信号发送给显示器。S5: Send the picture signal to the monitor.
光源控制信号-图像色温矫正系数关系曲线的生成方法为:The generation method of the light source control signal-image color temperature correction coefficient relationship curve is as follows:
S11’:使光源以最大功率发光,令摄像机拍摄白色背景,对摄像机进行白平衡处理。白平衡处理可使用摄像机自带的自动白平衡功能。S11': Make the light source emit light with the maximum power, make the camera shoot a white background, and perform white balance processing on the camera. White balance processing can use the camera's own automatic white balance function.
S12’:使光源以不同亮度发光,令摄像机在同一距离下拍摄同一白色背景,获取多个标准拍摄图像。S12': Make the light source shine with different brightness, make the camera shoot the same white background at the same distance, and obtain multiple standard shooting images.
S13’:根据所述标准拍摄图像计算对应的所述标准光源控制信号下的色温矫正系数。S13': Calculate the color temperature correction coefficient corresponding to the standard light source control signal according to the standard captured image.
S14’:根据色温矫正系数和对应的标准光源控制信号绘制光源控制信号-图像色温矫正系数关系曲线。S14': Draw a light source control signal-image color temperature correction coefficient relationship curve according to the color temperature correction coefficient and the corresponding standard light source control signal.
其中步骤S11和步骤S12需要在暗室中进行,步骤S11至S14为步骤S1的前置步骤,也是内窥镜在工作前的前置步骤,但只需在内窥镜更换光源后更新光源控制信号与图像色温的对应关系,无需在每次手术前都进行更新。更具体地,步骤S13为:根据多个标准拍摄图像计算每一标准光源控制信号下的红色矫正系数和蓝色矫正系数;步骤S14为:根据红色矫正系数和对应的标准光源控制信号绘制红色曲线,根据蓝色矫正系数和对应的标准光源控制信号绘制蓝色曲线,如图2所示,纵坐标为色温矫正系数,包括蓝色矫正系数和红色矫正系数;横坐标为光源控制信号,即信号百分比。Among them, step S11 and step S12 need to be carried out in a dark room, steps S11 to S14 are the pre-steps of step S1, and also the pre-steps of the endoscope before working, but only need to update the light source control signal after the endoscope replaces the light source The corresponding relationship with the image color temperature does not need to be updated before each operation. More specifically, step S13 is: calculating the red correction coefficient and blue correction coefficient under each standard light source control signal according to multiple standard captured images; step S14 is: drawing a red curve according to the red correction coefficient and the corresponding standard light source control signal , draw the blue curve according to the blue correction coefficient and the corresponding standard light source control signal, as shown in Figure 2, the ordinate is the color temperature correction coefficient, including blue correction coefficient and red correction coefficient; the abscissa is the light source control signal, that is, the signal percentage.
光源控制信号与图像色温的对应关系如果是表格或图像会使得上述步骤S12需要拍摄非常多图像,为简化步骤,优选地,光源控制信号与图像色温的对应关系为拟合方程。光源控制信号与图像色温的对应关系包括红色矫正系数拟合方程和蓝色矫正系数拟合方程;色温矫正系数包括红色矫正系数和蓝色矫正系数。该方法的具体步骤为:If the corresponding relationship between the light source control signal and the image color temperature is a table or an image, the above step S12 needs to take a lot of images. To simplify the steps, preferably, the corresponding relationship between the light source control signal and the image color temperature is a fitting equation. The corresponding relationship between the light source control signal and the image color temperature includes a red correction coefficient fitting equation and a blue correction coefficient fitting equation; the color temperature correction coefficient includes a red correction coefficient and a blue correction coefficient. The concrete steps of this method are:
S1:加载红色矫正系数拟合方程和蓝色矫正系数拟合方程。S1: Load the red correction coefficient fitting equation and the blue correction coefficient fitting equation.
S2:获取光源控制信号,光源控制信号来自于光源控制单元。S2: Obtain a light source control signal, the light source control signal comes from the light source control unit.
S3:将光源控制信号代入红色矫正系数拟合方程和蓝色矫正系数拟合方程分别得到该光源控制信号下的红色矫正系数和该光源控制信号下的蓝色矫正系数。S3: Substituting the light source control signal into the red correction coefficient fitting equation and the blue correction coefficient fitting equation to obtain the red correction coefficient under the light source control signal and the blue correction coefficient under the light source control signal respectively.
S4:根据色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号。S4: Correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal.
S5:将画面信号发送给显示器。S5: Send the picture signal to the monitor.
红色矫正系数拟合方程和蓝色矫正系数拟合方程的生成步骤包括:The generation steps of the red correction coefficient fitting equation and the blue correction coefficient fitting equation include:
S11:以基础光源控制信号驱动光源发光,在白色背景下,对摄像机4拍摄的图像进行白平衡;S11: Drive the light source to emit light with the basic light source control signal, and perform white balance on the image captured by the camera 4 under a white background;
S12:在同一白色背景下,同一距离,记录不同标准光源控制信号Pi下摄像系统的输出图 像,每个标准光源控制信号Pi下拍摄多次,得到标准拍摄图像的红色通道平均像素值Ri(即标准红色像素值),绿色通道平均像素值Gi(即标准绿色像素值),蓝色通道平均像素值Bi(即标准蓝色像素值)。S12: Under the same white background, at the same distance, record the output images of the camera system under different standard light source control signals Pi, and shoot multiple times under each standard light source control signal Pi, and obtain the average pixel value Ri of the red channel of the standard captured image (ie standard red pixel value), green channel average pixel value Gi (ie standard green pixel value), blue channel average pixel value Bi (ie standard blue pixel value).
S13:分别计算不同标准光源控制信号Pi下,摄像系统输出图像的红色通道增益和蓝色通道增益,计算公式如下:S13: Calculate the red channel gain and blue channel gain of the output image of the camera system under different standard light source control signals Pi respectively, and the calculation formula is as follows:
Rg=Gi/Ri;Rg=Gi/Ri;
Bg=Gi/Bi;Bg=Gi/Bi;
其中,Rg为红色通道增益;Bg为蓝色通道增益。Among them, Rg is the red channel gain; Bg is the blue channel gain.
S14:分别拟合标准光源控制信号Pi与Rg、Bg的关系方程(即红色矫正系数拟合方程、蓝色矫正系数拟合方程)。S14: respectively fitting the relational equations of the standard light source control signal Pi and Rg, Bg (ie red correction coefficient fitting equation, blue correction coefficient fitting equation).
红色矫正系数拟合方程为,以红色矫正系数为因变量,以光源控制信号为自变量的一元二次方程;蓝色矫正系数拟合方程为,以蓝色矫正系数为因变量,以光源控制信号为自变量的一元二次方程。当然,也可以选择其他方程拟合,例如多项式拟合,以下以一元二次方程为例,形式如下:The red correction coefficient fitting equation is a quadratic equation with the red correction coefficient as the dependent variable and the light source control signal as the independent variable; the blue correction coefficient fitting equation is, with the blue correction coefficient as the dependent variable and the light source control signal as the independent variable The signal is a quadratic equation in one variable. Of course, you can also choose other equation fitting, such as polynomial fitting, the following takes the quadratic equation as an example, the form is as follows:
Rc=a1*Pi^2+b1*Pi+c1;Rc=a1*Pi^2+b1*Pi+c1;
Bc=a2*Pi^2+b2*Pi+c2;Bc=a2*Pi^2+b2*Pi+c2;
其中,a1,a2,b1,b2,c1,c2为拟合系数,Rc为红色矫正系数,Bc为蓝色矫正系数,即标定时某颜色像素值与绿色像素值的比例称为某颜色通道增益,由拍摄白色背景算得;实际应用时某颜色像素值与绿色像素值的比例称为某颜色矫正系数,由当前光源控制信号代入拟合方程算得。Among them, a1, a2, b1, b2, c1, c2 are the fitting coefficients, Rc is the red correction coefficient, Bc is the blue correction coefficient, that is, the ratio of a certain color pixel value to a green pixel value during calibration is called a certain color channel gain , calculated by shooting a white background; in actual application, the ratio of a certain color pixel value to a green pixel value is called a certain color correction coefficient, which is calculated by substituting the current light source control signal into the fitting equation.
画面信号包括红色信号、绿色信号和蓝色信号,相应地,步骤S4的具体为:The picture signal includes a red signal, a green signal and a blue signal, and correspondingly, step S4 is specifically as follows:
获取实时拍摄图像中的实时红色像素值、实时绿色像素值和实时蓝色像素值;Obtain the real-time red pixel value, real-time green pixel value and real-time blue pixel value in the real-time captured image;
红色信号等于实时红色像素值乘以该光源控制信号下的红色矫正系数;绿色信号等于实时绿色像素值;蓝色信号等于实时蓝色像素值乘以该光源控制信号下的蓝色矫正系数,即:The red signal is equal to the real-time red pixel value multiplied by the red correction coefficient under the light source control signal; the green signal is equal to the real-time green pixel value; the blue signal is equal to the real-time blue pixel value multiplied by the blue correction coefficient under the light source control signal, that is :
R1=R0*Rc;R1=R0*Rc;
B1=B0*Bc;B1=B0*Bc;
其中,R0为矫正前图像的红色通道像素值(实时红色像素值),B0为矫正前图像的蓝色通道像素值(实时蓝色像素值),R1为矫正后图像的红色通道像素值(红色信号),B1为矫正后图像的蓝色通道像素值(蓝色信号)。Among them, R0 is the red channel pixel value of the image before correction (real-time red pixel value), B0 is the blue channel pixel value of the image before correction (real-time blue pixel value), and R1 is the red channel pixel value of the image after correction (red pixel value). signal), B1 is the blue channel pixel value (blue signal) of the rectified image.
参照图3,一种内窥镜色温实时矫正装置,用于光源功率可自动调节的内窥镜,装置 包括:Referring to Figure 3, an endoscope color temperature real-time correction device is used for endoscopes whose light source power can be automatically adjusted, and the device includes:
第一获取模块101,用于获取光源控制信号与图像色温的对应关系;The first acquisition module 101 is configured to acquire the corresponding relationship between the light source control signal and the image color temperature;
第二获取模块102,用于获取光源控制信号,光源控制信号来自于光源控制单元;The second acquiring module 102 is configured to acquire a light source control signal, and the light source control signal comes from a light source control unit;
矫正系数生成模块103,用于根据光源控制信号,利用光源控制信号与图像色温的对应关系,生成色温矫正系数;The correction coefficient generating module 103 is configured to generate a color temperature correction coefficient according to the light source control signal and using the corresponding relationship between the light source control signal and the image color temperature;
矫正模块104,用于根据色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;The correction module 104 is used to correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal;
发送模块105,用于将画面信号发送给显示器。The sending module 105 is configured to send the picture signal to the display.
该装置可配有一电子存储介质,光源控制信号与图像色温的对应关系存储于该电子存储介质中,第一获取模块101用于调取光源控制信号与图像色温的对应关系。该装置与显示器、内窥镜、控制光源功率的光源控制单元信号连接用于实时自动调节内窥镜图像色温。The device may be equipped with an electronic storage medium, in which the corresponding relationship between the light source control signal and the image color temperature is stored, and the first acquisition module 101 is used to retrieve the corresponding relationship between the light source control signal and the image color temperature. The device is connected with the display, the endoscope, and the light source control unit for controlling the power of the light source to automatically adjust the color temperature of the endoscope image in real time.
请参照图4,图4为本申请实施例提供的一种电子设备的结构示意图,本申请提供一种电子设备3,包括:处理器301和存储器302,处理器301和存储器302通过通信总线303和/或其他形式的连接机构(未标出)互连并相互通讯,存储器302存储有处理器301可执行的计算机程序,当计算设备运行时,处理器301执行该计算机程序,以执行时执行上述实施例的任一可选的实现方式中的方法,以实现以下功能:获取光源控制信号与图像色温的对应关系;获取光源控制信号,光源控制信号来自于光源控制单元;根据光源控制信号,利用光源控制信号与图像色温的对应关系,生成色温矫正系数;根据色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;将画面信号发送给显示器。Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The present application provides an electronic device 3, including: a processor 301 and a memory 302, and the processor 301 and the memory 302 communicate through a communication bus 303 and/or other forms of connection mechanisms (not shown) are interconnected and communicate with each other, and the memory 302 stores a computer program executable by the processor 301. When the computing device is running, the processor 301 executes the computer program to execute when executing The method in any optional implementation manner of the above-mentioned embodiments, to realize the following functions: obtain the corresponding relationship between the light source control signal and the image color temperature; obtain the light source control signal, and the light source control signal comes from the light source control unit; according to the light source control signal, The corresponding relationship between the light source control signal and the image color temperature is used to generate a color temperature correction coefficient; the color of the real-time captured image is corrected according to the color temperature correction coefficient to obtain a picture signal; the picture signal is sent to the display.
参照图5,一种内窥镜摄像系统,包括图像处理单元1、显示器5、内窥镜6、与内窥镜6光学连接的光纤7、与光纤7光学连接的光源8、与光源8电连接的光源控制单元2,图像处理单元1与摄像机4、光源控制单元2、显示器5信号连接,图像处理单元1获取光源控制信号与图像色温的对应关系;图像处理单元1获取光源控制信号,光源控制信号来自于光源控制单元2;图像处理单元1根据光源控制信号,利用光源控制信号与图像色温的对应关系,生成色温矫正系数;图像处理单元1根据色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;图像处理单元1将画面信号发送给显示器5。实现实时自动调节摄像机4拍摄图像的色温,使显示器5显示的图像的色调不会频繁变化,有利于使施术者看清生物组织。Referring to Fig. 5, a kind of endoscopic camera system, comprises image processing unit 1, display 5, endoscope 6, the optical fiber 7 that is optically connected with endoscope 6, the light source 8 that is optically connected with optical fiber 7, and light source 8 is electrically connected. The connected light source control unit 2, the image processing unit 1 is connected with the video camera 4, the light source control unit 2, and the display 5, and the image processing unit 1 obtains the corresponding relationship between the light source control signal and the image color temperature; the image processing unit 1 obtains the light source control signal, and the light source The control signal comes from the light source control unit 2; the image processing unit 1 generates a color temperature correction coefficient according to the light source control signal and the corresponding relationship between the light source control signal and the image color temperature; the image processing unit 1 corrects the color of the real-time captured image according to the color temperature correction coefficient , to obtain a picture signal; the image processing unit 1 sends the picture signal to the display 5 . The real-time automatic adjustment of the color temperature of the image taken by the camera 4 is realized, so that the color tone of the image displayed on the display 5 will not change frequently, which is beneficial for the operator to see the biological tissue clearly.
在本说明书的描述中,参考术语“一个实施方式”“某些实施方式”“示意性实施方式”“示例”“具体示例”、或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施方式或示例中。在本说明书中, 对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment," "certain embodiments," "exemplary embodiments," "examples," "specific examples," or "some examples" mean that the embodiments or An example describes a particular feature, structure, material, or characteristic that is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The above description is a preferred embodiment of the present invention, and it should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered Be the protection scope of the present invention.

Claims (10)

  1. 一种内窥镜色温实时矫正方法,用于光源功率可自动调节的内窥镜,其特征在于,包括以下步骤:A real-time correction method for endoscope color temperature, which is used for endoscopes with automatically adjustable light source power, is characterized in that it includes the following steps:
    获取光源控制信号与图像色温的对应关系;Obtain the corresponding relationship between the light source control signal and the image color temperature;
    获取光源控制信号,所述光源控制信号来自于光源控制单元;Acquiring a light source control signal, the light source control signal comes from a light source control unit;
    根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数;According to the light source control signal, using the corresponding relationship between the light source control signal and the image color temperature to generate a color temperature correction coefficient;
    根据所述色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;Correcting the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal;
    将所述画面信号发送给显示器。Send the picture signal to the display.
  2. 根据权利要求1所述的内窥镜色温实时矫正方法,其特征在于,所述获取光源控制信号与图像色温的对应关系的步骤包括,读取光源控制信号-图像色温矫正系数关系曲线;The real-time correction method for endoscope color temperature according to claim 1, wherein the step of obtaining the corresponding relationship between the light source control signal and the image color temperature comprises reading the light source control signal-image color temperature correction coefficient relationship curve;
    所述根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数的步骤包括,对照所述光源控制信号-图像色温矫正系数关系曲线,生成所述色温矫正系数;The step of generating the color temperature correction coefficient according to the light source control signal and using the corresponding relationship between the light source control signal and the image color temperature includes: comparing the light source control signal-image color temperature correction coefficient relationship curve to generate the color temperature correction coefficient ;
    所述光源控制信号-图像色温矫正系数关系曲线的生成方法包括:The method for generating the light source control signal-image color temperature correction coefficient relationship curve includes:
    以基础光源控制信号驱动光源发光,令摄像机拍摄白色背景,对所述摄像机进行白平衡处理;Drive the light source to emit light with the basic light source control signal, make the camera shoot a white background, and perform white balance processing on the camera;
    以多个标准光源控制信号分别驱动所述光源发光,令所述摄像机拍摄所述白色背景,获取多个标准拍摄图像;Using a plurality of standard light source control signals to respectively drive the light source to emit light, so that the camera captures the white background, and obtains a plurality of standard photographed images;
    根据所述标准拍摄图像计算对应的所述标准光源控制信号下的色温矫正系数;calculating a color temperature correction coefficient corresponding to the standard light source control signal according to the standard captured image;
    根据所述色温矫正系数和对应的所述标准光源控制信号绘制所述光源控制信号-图像色温矫正系数关系曲线。Drawing the light source control signal-image color temperature correction coefficient relationship curve according to the color temperature correction coefficient and the corresponding standard light source control signal.
  3. 根据权利要求1所述的内窥镜色温实时矫正方法,其特征在于,所述光源控制信号与图像色温的对应关系包括红色矫正系数拟合方程和蓝色矫正系数拟合方程;所述色温矫正系数包括红色矫正系数和蓝色矫正系数;The real-time correction method for endoscope color temperature according to claim 1, wherein the corresponding relationship between the light source control signal and the image color temperature includes a red correction coefficient fitting equation and a blue correction coefficient fitting equation; the color temperature correction Coefficients include red correction coefficient and blue correction coefficient;
    所述根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数的步骤包括,将所述光源控制信号代入所述红色矫正系数拟合方程和蓝色矫正系数拟合方程分别得到该光源控制信号下的所述红色矫正系数和该光源控制信号下的蓝色矫正系数;所述红色矫正系数拟合方程和蓝色矫正系数拟合方程的生成步骤包括:The step of generating a color temperature correction coefficient according to the light source control signal using the corresponding relationship between the light source control signal and the image color temperature includes, substituting the light source control signal into the red correction coefficient fitting equation and the blue correction coefficient The fitting equation obtains the red correction coefficient under the light source control signal and the blue correction coefficient under the light source control signal respectively; the generation steps of the red correction coefficient fitting equation and the blue correction coefficient fitting equation include:
    以基础光源控制信号驱动光源发光,令摄像机拍摄白色背景,对所述摄像机进行白平衡处理;Drive the light source to emit light with the basic light source control signal, make the camera shoot a white background, and perform white balance processing on the camera;
    以多个标准光源控制信号分别驱动所述光源发光,令所述摄像机拍摄所述白色背景,获取多个标准拍摄图像中的标准红色像素值、标准绿色像素值和标准蓝色像素值;Using a plurality of standard light source control signals to respectively drive the light source to emit light, make the camera capture the white background, and obtain standard red pixel values, standard green pixel values, and standard blue pixel values in the plurality of standard captured images;
    根据各所述标准光源控制信号下的标准红色像素值和标准绿色像素值计算对应各所述标准光源控制信号的红色通道增益;根据各所述标准光源控制信号下的标准蓝色像素值和标准绿色像素值计算对应各所述标准光源控制信号的蓝色通道增益;Calculate the red channel gain corresponding to each of the standard light source control signals according to the standard red pixel value and the standard green pixel value under each of the standard light source control signals; according to the standard blue pixel value and standard under each of the standard light source control signals The green pixel value calculates the blue channel gain corresponding to each of the standard light source control signals;
    采用函数拟合所述标准光源控制信号和所述红色通道增益得到所述红色矫正系数拟合方程,采用函数拟合所述标准光源控制信号和所述蓝色通道增益得到所述蓝色矫正系数拟合方程。Using a function to fit the standard light source control signal and the red channel gain to obtain the red correction coefficient fitting equation, using a function to fit the standard light source control signal and the blue channel gain to obtain the blue correction coefficient Fitting equation.
  4. 根据权利要求3所述的内窥镜色温实时矫正方法,其特征在于,所述基础光源控制信号为驱动所述光源以最大亮度发光的信号。The method for correcting the color temperature of an endoscope in real time according to claim 3, wherein the basic light source control signal is a signal for driving the light source to emit light with maximum brightness.
  5. 根据权利要求3所述的内窥镜色温实时矫正方法,其特征在于,每一所述标准光源控制信号下的所述红色通道增益等于该标准光源控制信号下的标准绿色像素值除以该标准光源控制信号下的标准红色像素值;每一所述标准光源控制信号下的所述蓝色通道增益等于该标准光源控制信号下的标准绿色像素值除以该标准光源控制信号下的标准蓝色像素值;The real-time correction method for endoscope color temperature according to claim 3, wherein the red channel gain under each standard light source control signal is equal to the standard green pixel value divided by the standard light source control signal The standard red pixel value under the light source control signal; the blue channel gain under each of the standard light source control signals is equal to the standard green pixel value under the standard light source control signal divided by the standard blue color under the standard light source control signal Pixel values;
    所述画面信号包括红色信号、绿色信号和蓝色信号;The picture signal includes a red signal, a green signal and a blue signal;
    所述根据所述色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号的步骤包括:The step of correcting the color of the real-time captured image according to the color temperature correction coefficient to obtain the picture signal includes:
    获取所述实时拍摄图像中的实时红色像素值、实时绿色像素值和实时蓝色像素值;Obtain the real-time red pixel value, real-time green pixel value and real-time blue pixel value in the real-time captured image;
    所述红色信号等于所述实时红色像素值乘以对应的光源控制信号下的所述红色矫正系数;所述绿色信号等于所述实时绿色像素值;所述蓝色信号等于所述实时蓝色像素值乘以对应的光源控制信号下的所述蓝色矫正系数。The red signal is equal to the real-time red pixel value multiplied by the red correction coefficient under the corresponding light source control signal; the green signal is equal to the real-time green pixel value; the blue signal is equal to the real-time blue pixel Value multiplied by the blue correction factor under the corresponding light source control signal.
  6. 根据权利要求3所述的内窥镜色温实时矫正方法,其特征在于,每一所述标准光源控制信号下的标准红色像素值为在对应的标准光源控制信号下多次拍摄得到的平均值;每一所述标准光源控制信号下的标准绿色像素值为在对应的标准光源控制信号下多次拍摄得到的平均值;每一所述标准光源控制信号下的标准蓝色像素值为在对应的标准光源控制信号下多次拍摄得到的平均值。The real-time correction method for endoscope color temperature according to claim 3, wherein the standard red pixel value under each standard light source control signal is the average value obtained by taking multiple shots under the corresponding standard light source control signal; The standard green pixel value under each standard light source control signal is the average value obtained from multiple shots under the corresponding standard light source control signal; the standard blue pixel value under each standard light source control signal is in the corresponding The average value obtained from multiple shots under the standard light source control signal.
  7. 根据权利要求3所述的内窥镜色温实时矫正方法,其特征在于,所述红色矫正系数拟合方程为,以所述红色矫正系数为因变量,以所述光源控制信号为自变量的一元二次方程;所述蓝色矫正系数拟合方程为,以所述蓝色矫正系数为因变量,以所述光源控制信号为自变量的一元二次方程。The real-time correction method for endoscope color temperature according to claim 3, wherein the red correction coefficient fitting equation is a unary with the red correction coefficient as the dependent variable and the light source control signal as the independent variable Quadratic equation; the fitting equation of the blue correction coefficient is a one-variable quadratic equation with the blue correction coefficient as the dependent variable and the light source control signal as the independent variable.
  8. 一种内窥镜色温实时矫正装置,用于光源功率可自动调节的内窥镜,其特征在于,所述装置包括:An endoscope color temperature real-time correction device for endoscopes with automatically adjustable light source power, characterized in that the device includes:
    第一获取模块,用于获取光源控制信号与图像色温的对应关系;The first acquisition module is used to acquire the corresponding relationship between the light source control signal and the image color temperature;
    第二获取模块,用于获取光源控制信号,所述光源控制信号来自于光源控制单元;The second obtaining module is used to obtain a light source control signal, and the light source control signal comes from a light source control unit;
    矫正系数生成模块,用于根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数;A correction coefficient generating module, configured to generate a color temperature correction coefficient according to the light source control signal, using the corresponding relationship between the light source control signal and the image color temperature;
    矫正模块,用于根据所述色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;A correction module, configured to correct the color of the real-time captured image according to the color temperature correction coefficient to obtain a picture signal;
    发送模块,用于将所述画面信号发送给显示器。The sending module is used to send the picture signal to the display.
  9. 一种电子设备,其特征在于,包括处理器以及存储器,所述存储器存储有计算机可读取指令,当所述计算机可读取指令由所述处理器执行时,运行如权利要求1-7任一所述方法中的步骤。An electronic device, characterized in that it includes a processor and a memory, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, it operates according to any one of claims 1-7. A step in said method.
  10. 一种内窥镜摄像系统,包括显示器、内窥镜、与所述内窥镜光学连接的光纤、与所述光纤光学连接的光源、与所述光源电连接的光源控制单元,其特征在于,还包括图像处理单元,所述图像处理单元与所述摄像机、所述光源控制单元、所述显示器信号连接,所述图像处理单元获取光源控制信号与图像色温的对应关系;所述图像处理单元获取光源控制信号,所述光源控制信号来自于光源控制单元;所述图像处理单元根据所述光源控制信号,利用所述光源控制信号与图像色温的对应关系,生成色温矫正系数;所述图像处理单元根据所述色温矫正系数对实时拍摄图像的颜色进行矫正,得到画面信号;所述图像处理单元将所述画面信号发送给显示器。An endoscope imaging system, comprising a display, an endoscope, an optical fiber optically connected to the endoscope, a light source optically connected to the optical fiber, and a light source control unit electrically connected to the light source, characterized in that, An image processing unit is also included, the image processing unit is connected to the camera, the light source control unit, and the display signal, and the image processing unit obtains the corresponding relationship between the light source control signal and the image color temperature; the image processing unit obtains A light source control signal, the light source control signal comes from a light source control unit; the image processing unit uses the corresponding relationship between the light source control signal and image color temperature according to the light source control signal to generate a color temperature correction coefficient; the image processing unit The color of the real-time captured image is corrected according to the color temperature correction coefficient to obtain a picture signal; the image processing unit sends the picture signal to a display.
PCT/CN2022/079331 2022-01-14 2022-03-04 Endoscope color temperature real-time correction method and apparatus, electronic device, and camera system WO2023133991A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210044509.0 2022-01-14
CN202210044509.0A CN114071110B (en) 2022-01-14 2022-01-14 Endoscope color temperature real-time correction method and device, electronic equipment and camera system

Publications (1)

Publication Number Publication Date
WO2023133991A1 true WO2023133991A1 (en) 2023-07-20

Family

ID=80230921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/079331 WO2023133991A1 (en) 2022-01-14 2022-03-04 Endoscope color temperature real-time correction method and apparatus, electronic device, and camera system

Country Status (2)

Country Link
CN (1) CN114071110B (en)
WO (1) WO2023133991A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071110B (en) * 2022-01-14 2022-06-03 广东欧谱曼迪科技有限公司 Endoscope color temperature real-time correction method and device, electronic equipment and camera system
CN114820843B (en) * 2022-04-08 2024-08-13 吉林大学 Method for keeping farmland image color constancy
CN115277985A (en) * 2022-06-24 2022-11-01 江苏济远医疗科技有限公司 Multifunctional endoscope image processing device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009094742A (en) * 2007-10-05 2009-04-30 Samsung Techwin Co Ltd Image pickup device and image pickup method
CN102883650A (en) * 2010-06-25 2013-01-16 奥林巴斯医疗株式会社 Endoscope device
JP2014060480A (en) * 2012-09-14 2014-04-03 Sharp Corp Imaging apparatus
CN104507377A (en) * 2012-08-01 2015-04-08 奥林巴斯医疗株式会社 Endoscope device
US20180191956A1 (en) * 2015-09-09 2018-07-05 Kenichiroh Nomura Control system, imaging device, and computer-readable medium
CN112840636A (en) * 2019-02-28 2021-05-25 华为技术有限公司 Image processing method and device
US20210350535A1 (en) * 2021-05-12 2021-11-11 ShenZhen Jifu Medical Technology Co, Ltd Endoscopic image enhancement system and method
CN114071110A (en) * 2022-01-14 2022-02-18 广东欧谱曼迪科技有限公司 Endoscope color temperature real-time correction method and device, electronic equipment and camera system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103860129B (en) * 2014-03-19 2015-01-07 深圳市开立科技有限公司 Method and device for automatically adjusting endoscope light source brightness
CN108712639A (en) * 2018-05-29 2018-10-26 凌云光技术集团有限责任公司 Image color correction method, apparatus and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009094742A (en) * 2007-10-05 2009-04-30 Samsung Techwin Co Ltd Image pickup device and image pickup method
CN102883650A (en) * 2010-06-25 2013-01-16 奥林巴斯医疗株式会社 Endoscope device
CN104507377A (en) * 2012-08-01 2015-04-08 奥林巴斯医疗株式会社 Endoscope device
JP2014060480A (en) * 2012-09-14 2014-04-03 Sharp Corp Imaging apparatus
US20180191956A1 (en) * 2015-09-09 2018-07-05 Kenichiroh Nomura Control system, imaging device, and computer-readable medium
CN112840636A (en) * 2019-02-28 2021-05-25 华为技术有限公司 Image processing method and device
US20210350535A1 (en) * 2021-05-12 2021-11-11 ShenZhen Jifu Medical Technology Co, Ltd Endoscopic image enhancement system and method
CN114071110A (en) * 2022-01-14 2022-02-18 广东欧谱曼迪科技有限公司 Endoscope color temperature real-time correction method and device, electronic equipment and camera system

Also Published As

Publication number Publication date
CN114071110B (en) 2022-06-03
CN114071110A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
WO2023133991A1 (en) Endoscope color temperature real-time correction method and apparatus, electronic device, and camera system
JP3528184B2 (en) Image signal luminance correction apparatus and luminance correction method
US20090160976A1 (en) Digital photographic camera with brightness compensation and compensation method thereof
WO2010031252A1 (en) Method for correcting lightness of electrical display screen
JP2009131324A (en) Field sequential imaging display system
JP2011146936A (en) Color characteristic correction device, and camera
JP2000134610A (en) Endoscope device
JP2007215907A (en) Endoscope processor, endoscopic system and black balance adjustment program
US6100920A (en) Video signal compensator for compensating differential picture brightness of an optical image due to uneven illumination and method
WO2017057133A1 (en) Image capture system, processing device, control method, and control program
JP2902691B2 (en) Monitor image capture device
CN110430369B (en) Cavity mirror light source cooperative control method and device based on central processing unit
JP2006135381A (en) Calibration method and calibration apparatus
JP3538296B2 (en) Electronic endoscope system
JPH08313826A (en) Electronic endoscope device
JPH07241270A (en) Light source voltage variable electronic endoscope device
JPH10165363A (en) Endoscopic image pickup signal processing device
WO2024190373A1 (en) Image processing device, image processing method, program, and image processing system
KR20100019222A (en) Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof
JP3617214B2 (en) X-ray television apparatus
JP3852453B2 (en) Projector and exposure adjustment method
JP4426220B2 (en) Electronic endoscope device capable of split photometry
RU2282313C1 (en) Method for automatic adjustment of image parameters
JP6351794B2 (en) Endoscope device
JP2000002840A (en) Light source device for endoscope and light control method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22919636

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE