CN113179364A - Image brightness calibration method for endoscope imaging - Google Patents
Image brightness calibration method for endoscope imaging Download PDFInfo
- Publication number
- CN113179364A CN113179364A CN202110455329.7A CN202110455329A CN113179364A CN 113179364 A CN113179364 A CN 113179364A CN 202110455329 A CN202110455329 A CN 202110455329A CN 113179364 A CN113179364 A CN 113179364A
- Authority
- CN
- China
- Prior art keywords
- calibration
- brightness
- endoscope
- image
- box
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000003384 imaging method Methods 0.000 title claims abstract description 18
- 239000011358 absorbing material Substances 0.000 claims description 3
- 239000007779 soft material Substances 0.000 claims description 3
- 230000008033 biological extinction Effects 0.000 abstract 1
- 238000005286 illumination Methods 0.000 description 3
- 230000001678 irradiating effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000002324 minimally invasive surgery Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B1/00—Instruments 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/00002—Operational features of endoscopes
- A61B1/00004—Operational features of endoscopes characterised by electronic signal processing
- A61B1/00009—Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B1/00—Instruments 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/00002—Operational features of endoscopes
- A61B1/00057—Operational features of endoscopes provided with means for testing or calibration
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B1/00—Instruments 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/04—Instruments 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 combined with photographic or television appliances
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B1/00—Instruments 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/06—Instruments 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/0661—Endoscope light sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/555—Constructional details for picking-up images in sites, inaccessible due to their dimensions or hazardous conditions, e.g. endoscopes or borescopes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/77—Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Surgery (AREA)
- Engineering & Computer Science (AREA)
- Radiology & Medical Imaging (AREA)
- Heart & Thoracic Surgery (AREA)
- Biophysics (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Optics & Photonics (AREA)
- Pathology (AREA)
- Signal Processing (AREA)
- Veterinary Medicine (AREA)
- Biomedical Technology (AREA)
- Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Multimedia (AREA)
- Endoscopes (AREA)
Abstract
The invention relates to an image brightness calibration method for endoscopic imaging. The calibration method mainly comprises the following steps: the front end of the endoscope is inserted into the calibration box from the opening of the calibration box, a camera and a light source of the endoscope are started, the light source irradiates the bottom calibration plate, the camera collects calibration images on the calibration plate, luminance information of the calibration images is analyzed, a luminance calibration table is generated, the luminance calibration table is stored in the endoscope image processing unit, medical images of the endoscope are calibrated by the luminance calibration table, and endoscope images with uniform luminance are output. The device includes the calibration box, and the calibration box top is equipped with the trompil, and the calibration box inboard is black extinction material, and the bottom inner face is white calibration board. The invention has simple operation and strong applicability, accords with the operation scene needing the endoscope, provides good operation images for doctors and reduces the risks of patients in the operation.
Description
Technical Field
The invention relates to the technical field of medical image processing, in particular to an image brightness calibration method for endoscopic imaging.
Background
Endoscopes are in great demand in modern medicine and are important medical instruments in minimally invasive surgery. As the manufacturing cost of endoscopes decreases, the amount of disposable endoscopes used gradually increases. Because the installation position of the endoscope is limited, the illumination of the endoscope is uneven, so that the brightness of an image shot by the camera of the endoscope is uneven, and the diagnosis of a doctor on a focus is influenced. Therefore, disposable endoscopes require brightness calibration before use. There is a patent that proposes a method for calibrating the saturation of endoscopic images (patent CN201780006911.7), which performs color saturation calibration for cases where the endoscopic illumination presents a radially uneven distribution around a central circle center region. However, most of disposable endoscopes have two or more light sources, the illumination light field of the disposable endoscope mostly does not have the characteristic of radial uneven distribution around the central circle center area, the distribution is random, and the existing method cannot realize calibration. Therefore, an image brightness calibration method which presents random uneven distribution to a light field of a disposable endoscope light source is needed, brightness uniformity calibration is carried out on endoscope images, a good endoscope observation effect is provided for doctors, and risks of patients in operation are reduced.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an image brightness calibration method for endoscopic imaging, which is reusable, high in applicability and simple to operate.
In order to achieve the above object, an image brightness calibration method for endoscopic imaging according to the present invention is as follows:
the image brightness calibration method for endoscopic imaging is mainly characterized by comprising the following steps of:
s1: inserting the front end of an endoscope into a calibration box from an opening of the calibration box, setting a brightness calibration value, starting a camera and a light source of the endoscope, irradiating the light source on a bottom calibration plate, and acquiring a calibration image on the calibration plate by the camera;
s2: analyzing the brightness information of the calibration image, calculating an adjustment coefficient between the brightness calibration value and the brightness value of each pixel in the calibration image, generating a brightness calibration table, and storing the brightness calibration table in an endoscope image processing unit;
s3: and according to the brightness calibration table, performing uniformity calibration on the brightness of the endoscope medical image.
Preferably, the top of the calibration box is provided with an opening, the edge of the opening is made of elastic soft materials, and when the endoscope is inserted from the opening, the opening is tightly attached to the side face of the endoscope, so that external light is prevented from entering the calibration box.
Preferably, the calibration box is sealed and light-tight, the inner side of the calibration box is made of black light-absorbing material to form a calibration darkroom, and the inner surface of the bottom of the calibration box is a white calibration plate.
Preferably, the step S2 of analyzing the brightness information of the calibration image, calculating an adjustment coefficient between the brightness calibration value and the brightness value of each pixel in the calibration image, generating a brightness calibration table, and storing the brightness calibration table in the endoscope image processing unit includes the specific steps of:
(S2-1) creating a blank brightness calibration table of the same size as the endoscopic medical image;
(S2-2) calculating the adjustment coefficients between the luminance calibration value and the luminance values of the pixels in the calibration image, and filling the adjustment coefficients in the luminance calibration table in sequence;
(S2-3) storing the brightness calibration table in an endoscope image processing unit.
Preferably, the step S3 is to perform uniformity calibration on the brightness of the endoscopic medical image according to the brightness calibration table, and the specific steps are as follows:
(S3-1) the brightness information of each pixel of the endoscopic medical image is multiplied by the corresponding adjustment coefficient in the brightness calibration table to make the brightness of the endoscopic medical image uniform. Further, the endoscope medical image after brightness calibration can be subjected to color calibration through an algorithm.
Preferably, the step (S2-2) of calculating an adjustment coefficient specifically includes:
the adjustment coefficient is calculated according to the following formula:
wherein σ(i,j)Represents the adjustment coefficient, I, of the ith row and j column(i,j)Is the brightness value, I, of the pixel in the ith row and j columnstdAnd the brightness calibration value is obtained.
Compared with the conventional endoscope brightness uniformity calibration method, the endoscope imaging image brightness calibration method is simple to operate, high in applicability and suitable for operation scenes needing to consume a large number of endoscopes, brightness uniformity calibration can be performed on endoscope medical images, good operation images are provided for doctors in real time, and risks of patients in operation are reduced.
Drawings
Fig. 1 is a flowchart of an image brightness calibration method for endoscopic imaging according to the present invention.
Fig. 2 is an external view of a calibration box in the image brightness calibration method for endoscopic imaging according to the present invention.
Fig. 3 is a calibration image acquired by the image brightness calibration method for endoscopic imaging according to the present invention.
Fig. 4 is a brightness calibration table of the image brightness calibration method for endoscopic imaging according to the present invention.
Detailed Description
In order to more clearly describe the technical contents of the present invention, the following further description is given in conjunction with specific embodiments.
The invention relates to a method for calibrating image brightness of endoscopic imaging, which comprises the following steps:
s1: inserting the front end of an endoscope into a calibration box from an opening of the calibration box, setting a brightness calibration value, starting a camera and a light source of the endoscope, irradiating the light source on a bottom calibration plate, and acquiring a calibration image on the calibration plate by the camera;
s2: analyzing the brightness information of the calibration image, calculating an adjustment coefficient between the brightness calibration value and the brightness value of each pixel in the calibration image, generating a brightness calibration table, and storing the brightness calibration table in an endoscope image processing unit;
s3: and according to the brightness calibration table, performing uniformity calibration on the brightness of the endoscope medical image.
In a preferred embodiment of the present invention, the calibration box has an opening at the top, and the edge of the opening is made of an elastic soft material, and when the endoscope is inserted from the opening, the opening is tightly attached to the side surface of the endoscope, so as to prevent external light from entering the calibration box.
In a preferred embodiment of the present invention, the calibration box is sealed and light-tight, the inner side of the calibration box is made of black light-absorbing material to form a calibration dark room, and the inner surface of the bottom of the calibration box is a white calibration plate.
In a preferred embodiment of the present invention, the step S2 of analyzing the luminance information of the calibration image, calculating an adjustment coefficient between the luminance calibration value and the luminance value of each pixel, generating a luminance calibration table, and storing the luminance calibration table in the endoscopic image processing unit includes:
(S2-1) creating a blank brightness calibration table of the same size as the endoscopic medical image;
(S2-2) calculating the adjustment coefficients between the luminance calibration value and the luminance values of the pixels in the calibration image, and filling the adjustment coefficients in the luminance calibration table in sequence;
(S2-3) storing the brightness calibration table in an endoscope image processing unit.
In a preferred embodiment of the present invention, the step S3 is a step of performing uniformity calibration on the brightness of the endoscopic medical image based on the brightness calibration table, and the method includes the following specific steps:
(S3-1) the brightness information of each pixel of the endoscopic medical image is multiplied by the corresponding adjustment coefficient in the brightness calibration table to make the brightness of the endoscopic medical image uniform.
As a preferred embodiment of the present invention, the step (S2-2) of calculating the adjustment coefficient specifically includes:
the adjustment coefficient is calculated according to the following formula:
wherein σ(i,j)Represents the adjustment coefficient, I, of the ith row and j column(i,j)Is the brightness value, I, of the pixel in the ith row and j columnstdAnd the brightness calibration value is obtained.
The brightness calibration table can describe the relationship between each pixel point and the brightness calibration value, and describe the brightness distribution of the endoscope medical image and the hardware characteristics of the endoscope light source laterally, so as to perform corresponding brightness adjustment.
The endoscope medical image transmitted subsequently has the same brightness distribution characteristic as the calibration chart, and the brightness information of each pixel of the endoscope medical image is multiplied by the corresponding adjustment coefficient in the brightness calibration table, so that the brightness of the endoscope medical image is uniform. Furthermore, the brightness of the calibrated endoscope medical image is uniform, so that the color can be conveniently calibrated by an algorithm subsequently.
Compared with the traditional endoscope brightness uniformity calibration method, the endoscope imaging image brightness calibration method has the advantages of simple operation, strong applicability, suitability for operation scenes needing to consume a large amount of endoscopes, capability of performing brightness uniformity calibration on endoscope medical images, capability of providing good operation images for doctors in real time and reduction of risks of patients in operation.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Claims (6)
1. An image brightness calibration method for endoscopic imaging, characterized in that the method comprises the following steps:
s1: inserting the front end of an endoscope into a calibration box from an opening of the calibration box, setting a brightness calibration value, starting a camera and a light source of the endoscope, wherein the light source irradiates a bottom calibration plate, and the camera acquires a calibration image on the calibration plate;
s2: analyzing the brightness information of the calibration image, calculating an adjustment coefficient between the brightness calibration value and the brightness value of each pixel in the calibration image, generating a brightness calibration table, and storing the brightness calibration table in an endoscope image processing unit;
s3: and according to the brightness calibration table, performing uniformity calibration on the brightness of the endoscope medical image.
2. The method as claimed in claim 1, wherein the calibration box has an opening at the top, and the edge of the opening is made of elastic soft material and closely attached to the side of the endoscope when the endoscope is inserted from the opening, so as to prevent external light from entering the calibration box.
3. The method as claimed in claim 1, wherein the calibration box is light-tight, and has a black light-absorbing material inside to form a calibration dark chamber, and a white calibration plate is disposed on the bottom inner surface of the calibration box.
4. The method for calibrating image brightness in endoscopic imaging according to claim 1, wherein said step S2 is performed by analyzing brightness information of said calibration image, calculating an adjustment coefficient between said brightness calibration value and brightness value of each pixel in said calibration image, generating a brightness calibration table, and storing said brightness calibration table in an endoscopic image processing unit, and comprises the following steps:
(S2-1) creating a blank brightness calibration table of the same size as the endoscopic medical image;
(S2-2) calculating the adjustment coefficients between the luminance calibration value and the luminance values of the pixels in the calibration image, and filling the adjustment coefficients in the luminance calibration table in sequence;
(S2-3) storing the brightness calibration table in an endoscope image processing unit.
5. The method for calibrating image brightness in endoscopic imaging according to claim 1, wherein the step S3 is to perform uniformity calibration on the brightness of the endoscopic medical image according to the brightness calibration table, and comprises the following specific steps:
(S3-1) the brightness information of each pixel of the endoscopic medical image is multiplied by the corresponding adjustment coefficient in the brightness calibration table to make the brightness of the endoscopic medical image uniform.
6. The method for calibrating image brightness in endoscopic imaging according to claim 4, wherein said step (S2-2) of calculating an adjustment factor is specifically:
the adjustment coefficient is calculated according to the following formula:
wherein σ(i,j)Represents the adjustment coefficient, I, of the ith row and j column(i,j)Is the brightness value, I, of the pixel in the ith row and j columnstdAnd the brightness calibration value is obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110455329.7A CN113179364A (en) | 2021-04-26 | 2021-04-26 | Image brightness calibration method for endoscope imaging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110455329.7A CN113179364A (en) | 2021-04-26 | 2021-04-26 | Image brightness calibration method for endoscope imaging |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113179364A true CN113179364A (en) | 2021-07-27 |
Family
ID=76926235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110455329.7A Pending CN113179364A (en) | 2021-04-26 | 2021-04-26 | Image brightness calibration method for endoscope imaging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113179364A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202448A (en) * | 2014-09-19 | 2014-12-10 | 上海斐讯数据通信技术有限公司 | System and method for solving shooting brightness unevenness of mobile terminal camera |
CN107071234A (en) * | 2017-01-23 | 2017-08-18 | 上海兴芯微电子科技有限公司 | A kind of camera lens shadow correction method and device |
CN109767395A (en) * | 2018-12-29 | 2019-05-17 | 深圳市资福医疗技术有限公司 | A kind of capsule endoscope image processing method and device |
CN110738606A (en) * | 2019-09-06 | 2020-01-31 | 深圳新视智科技术有限公司 | Image correction method, device, terminal and storage medium for multi-light source system |
-
2021
- 2021-04-26 CN CN202110455329.7A patent/CN113179364A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202448A (en) * | 2014-09-19 | 2014-12-10 | 上海斐讯数据通信技术有限公司 | System and method for solving shooting brightness unevenness of mobile terminal camera |
CN107071234A (en) * | 2017-01-23 | 2017-08-18 | 上海兴芯微电子科技有限公司 | A kind of camera lens shadow correction method and device |
CN109767395A (en) * | 2018-12-29 | 2019-05-17 | 深圳市资福医疗技术有限公司 | A kind of capsule endoscope image processing method and device |
CN110738606A (en) * | 2019-09-06 | 2020-01-31 | 深圳新视智科技术有限公司 | Image correction method, device, terminal and storage medium for multi-light source system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110505459B (en) | Image color correction method, device and storage medium suitable for endoscope | |
US10521901B2 (en) | Image processing apparatus | |
US8027533B2 (en) | Method of automated image color calibration | |
JP5570373B2 (en) | Endoscope system | |
CN106068092B (en) | Image processing apparatus | |
WO2016136700A1 (en) | Image processing device | |
US10163196B2 (en) | Image processing device and imaging system | |
JP6448509B2 (en) | Endoscope system, processor device, and operation method of endoscope system | |
US20220012915A1 (en) | Apparatuses, systems, and methods for managing auto-exposure of image frames depicting signal content against a darkened background | |
JP5244164B2 (en) | Endoscope device | |
CN107529957A (en) | Correction data generating method and amendment data generating device | |
EP4035585A1 (en) | Image processing device, endoscopic system, and operation method of image processing | |
KR101976318B1 (en) | Method for correcting dehazed medical image | |
Wang et al. | Endoscopic image luminance enhancement based on the inverse square law for illuminance and retinex | |
US20190328218A1 (en) | Image processing device, image processing method, and computer-readable recording medium | |
JP6591688B2 (en) | Processor for electronic endoscope and electronic endoscope system | |
CN113179364A (en) | Image brightness calibration method for endoscope imaging | |
CN108305252B (en) | Image fusion method for portable electronic endoscope | |
US11297294B1 (en) | Color enhancement of endoscopic image | |
CN114549368A (en) | Endoscope imaging system and method based on image sensor | |
Abel et al. | Methods for removing glare in digital endoscope images | |
US12022992B2 (en) | Image signal processing device, image signal processing method, and program | |
TWI639329B (en) | Medical defogging image correction method | |
CN115174876B (en) | Color code design and manufacturing method for medical endoscope imaging color analysis and correction | |
CN115719415B (en) | Visual field adjustable double-video fusion imaging method and system |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210824 Address after: 200949 building 24, No. 1688, Jinshao Road, Baoshan District, Shanghai Applicant after: ALTON (SHANGHAI) MEDICAL INSTRUMENTS Co.,Ltd. Address before: No.99 SHANGDA Road, Baoshan District, Shanghai 200044 Applicant before: Shanghai University |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210727 |