CN116797496A - Image enhancement function method and endoscope imaging device - Google Patents

Image enhancement function method and endoscope imaging device Download PDF

Info

Publication number
CN116797496A
CN116797496A CN202311069547.2A CN202311069547A CN116797496A CN 116797496 A CN116797496 A CN 116797496A CN 202311069547 A CN202311069547 A CN 202311069547A CN 116797496 A CN116797496 A CN 116797496A
Authority
CN
China
Prior art keywords
image data
enhanced
image
determined
correct
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311069547.2A
Other languages
Chinese (zh)
Inventor
吴纪红
郭世志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tuyou Medical Imaging Co ltd
Original Assignee
Shenzhen Tuyou Medical Imaging Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tuyou Medical Imaging Co ltd filed Critical Shenzhen Tuyou Medical Imaging Co ltd
Priority to CN202311069547.2A priority Critical patent/CN116797496A/en
Publication of CN116797496A publication Critical patent/CN116797496A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • 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
    • 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/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • 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/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • A61B1/000095Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope for image enhancement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • H04N19/426Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10068Endoscopic image

Landscapes

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

Abstract

The invention discloses an image enhancement function method and an endoscope imaging device, which are characterized in that corresponding original image data in each image database to be enhanced is extracted according to a determined shooting extraction range to serve as the image data to be enhanced; traversing the image data to be enhanced by adopting a preset rule, and determining whether the image data to be determined exist in the image data to be enhanced, wherein the image data to be determined comprises correct image data and error image data which cannot be determined; and when the image data to be determined exists in the image data to be enhanced, enhancing the image data to be enhanced, and marking the image data to be determined in the enhanced image data. The endoscope imaging device provided by the method can verify the correctness of the image data when the familiarity of the image is enhanced, and avoid poor quality of imaging effect.

Description

Image enhancement function method and endoscope imaging device
Technical Field
The invention relates to the technical field of medical equipment, in particular to an image enhancement function method and an endoscope imaging device.
Background
An endoscope is a tube equipped with a light that can be passed orally into the stomach or through other natural orifices. The lesions that cannot be seen by X-rays can be seen with an endoscope, so that it is very useful for doctors. For example, an endoscope may be used to view ulcers or tumors in the stomach, thereby creating an optimal treatment regimen. The object to be endoscopically examined is not a smooth plane, but a lumen-like object having a protrusion on the inner wall such as the large intestine, and the definition of an internal image is required to be high in the process of taking an image with an endoscope.
The correctness of the image data is often not verified in the imaging process of the conventional endoscope imaging system, so that the effect of an image enhancement function cannot be achieved, the obtained image effect of the endoscope is affected, and the observation and judgment of doctors are not facilitated.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide an image enhancement function method and an endoscope imaging device, which aim to realize verification of the correctness of image data when the image is familiar and enhanced and avoid poor quality of imaging effect.
To achieve the above object, the present invention provides an image enhancement function method, comprising the steps of:
extracting corresponding original image data in each image database to be enhanced according to the determined shooting extraction range to serve as the image data to be enhanced; traversing the image data to be enhanced by adopting a preset rule, and determining whether the image data to be determined exist in the image data to be enhanced, wherein the image data to be determined comprises correct image data and error image data which cannot be determined; and when the image data to be determined exists in the image data to be enhanced, enhancing the image data to be enhanced, and marking the image data to be determined in the enhanced image data.
Further, the method further comprises: determining error image data in the image data to be determined, and modifying the error image data into correct image data; and re-determining other image data related to the modified correct image data according to the modified correct image data and preset rules, and marking the error image data in the other image data.
Further, the step of redefining other data related to the modified correct image data according to the modified correct image data and the preset rule, and marking the error image data in the other data further includes: calculating and obtaining a comparison value of other image data related to the modified correct image data according to the modified correct image data and a preset rule; determining whether the value of the other image data is the same as the control value; and marking the image data with the values of other image data different from the comparison value as error image data.
Further, the step of determining the error image data in the image data to be determined and modifying the error image data to correct image data further includes: the corrected image data after modification is sent to an image database to be enhanced corresponding to the corrected image data; and updating the image database to be enhanced according to the modified correct image data.
Further, the step of traversing the image data to be enhanced by using a preset rule to determine whether the image data to be enhanced exists in the image data to be enhanced further includes: when the image data to be enhanced is determined to exist in the image data to be enhanced, comparing the image data to be determined with original image data in a corresponding image database to be enhanced; and if the image data to be determined is different from the original image data, replacing the image data to be determined with the original image data.
Further, the step of enhancing the image data to be enhanced when the image data to be determined exists in the image data to be enhanced, and marking the image data to be determined in the enhanced image data includes: combining the image enhancement parameters, and sequentially carrying out noise reduction, white balance and definition processing on the image data to be enhanced; driving a preset enhancement data program to compress the image data to be enhanced in a lossless manner according to the public code table information, and waiting for finishing frame image data processing; and converting the read frame image data into an image to be displayed, and transmitting the image to be displayed to a screen for display through a line data stream after lossless decompression.
In addition, in order to achieve the above object, the present invention also provides an endoscopic imaging apparatus for image enhancement function, comprising:
the extraction module is used for extracting corresponding original image data in each image database to be enhanced according to the determined shooting extraction range to serve as image data to be enhanced;
the first determining module is used for traversing the image data to be enhanced by adopting a preset rule and determining whether the image data to be determined exist in the image data to be enhanced, wherein the image data to be determined comprises correct image data and error image data which cannot be determined;
a modifying module, configured to determine erroneous image data in the image data to be determined, and modify the erroneous image data into correct image data;
a second determining module for redefining other image data related to the modified correct image data according to the modified correct image data and the preset rule and marking the error image data in the other image data
Further, the second determining module includes:
the computing unit is used for computing and obtaining the contrast value of other image data related to the modified correct image data according to the modified correct image data and a preset rule;
a determining unit configured to determine whether a value of the other image data is the same as the control value;
and the marking unit is used for marking the image data with the values of other image data different from the comparison value as error image data.
Further, the endoscopic imaging device further includes:
the sending module is used for sending the corrected image data after modification to an image database to be enhanced corresponding to the corrected image data, and updating the image database to be enhanced according to the corrected image data after modification;
the comparison module is used for comparing the image data to be determined with the original image data in the corresponding image data to be enhanced when the image data to be determined exists in the image data to be enhanced;
and the replacing module is used for replacing the image data to be determined with the original image data if the image data to be determined is different from the original image data.
Further, the endoscopic imaging device further includes:
the enhancement processing module is used for combining the image enhancement parameters and sequentially carrying out gain noise reduction, white balance and image edge definition processing on the image data to be enhanced;
the compression module is used for driving a preset enhancement data program to perform lossless compression to determine image data according to the public code table information, and waiting for finishing frame image data processing;
and the output module is used for reading the frame image data, converting the frame image data into an image to be displayed, decompressing the image to be displayed through a line data stream, and transmitting the image to be displayed to a screen for display.
Compared with the prior art, the invention has the beneficial effects that:
the image enhancement function method provided by the invention extracts corresponding original image data in each image database to be enhanced as image data to be enhanced according to the determined shooting extraction range; traversing the image data to be enhanced by adopting a preset rule, and determining whether the image data to be determined exist in the image data to be enhanced, wherein the image data to be determined comprises correct image data and error image data which cannot be determined; and when the image data to be determined exists in the image data to be enhanced, enhancing the image data to be enhanced, and marking the image data to be determined in the enhanced image data. The endoscope imaging device provided by the method can verify the correctness of the image data when the familiarity of the image is enhanced, and avoid poor quality of imaging effect.
Drawings
In order to more clearly illustrate the solution of the present invention, a brief description will be given below of the drawings required for the description of the embodiments of the present invention, it being apparent that the drawings in the following description are some embodiments of the present invention, and that other drawings may be obtained from these drawings without the exercise of inventive effort for a person of ordinary skill in the art.
FIG. 1 is a flowchart of a first embodiment of an image enhancement method according to the present invention;
FIG. 2 is a schematic diagram of a further flow chart after step S30 of the present invention;
FIG. 3 is a flow chart of a second embodiment of the image enhancement method according to the present invention;
FIG. 4 is a schematic diagram of a further flow chart after step S50 of the present invention;
FIG. 5 is a flowchart of a third embodiment of an image enhancement method according to the present invention;
FIG. 6 is a flowchart of a fourth embodiment of the image enhancement method of the present invention;
FIG. 7 is a block diagram of a first embodiment of an endoscopic imaging device with image enhancement functionality in accordance with the present invention;
FIG. 8 is a schematic diagram of a refinement function module of a second determination module according to an embodiment of the present invention;
fig. 9 is a block diagram of a second embodiment of an endoscopic imaging device with image enhancement functionality according to the present invention.
Reference numerals illustrate:
1. an extraction module; 2. a first determination module; 3. modifying the module; 4. an enhancement processing module; 5. a compression module; 6. an output module; 7. a second determination module; 71. a calculation unit; 72. a determination unit; 73. a marking unit; 8. a transmitting module; 9. a comparison module; 10. the module is replaced.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making clear and defining the scope of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The terms "comprising" and "having" and any variations thereof in the description of the invention and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Referring to fig. 1, the present invention provides an image enhancement method, and fig. 1 is a flowchart of a first embodiment of the image enhancement method according to the present invention, in which the steps of the image enhancement method include:
step S10, extracting corresponding original image data in each image database to be enhanced according to the determined shooting extraction range to serve as image data to be enhanced;
the user can select the database to be enhanced through the selection interface as the image database to be enhanced, for example, when needing to know a certain region image, the user selects the database under the region image through the selection interface, and inputs the ID verification code corresponding to each region image through the login interface, so that the access rights of the database of each region image and the like are obtained.
The user inputs the pixel code corresponding to the image data to be extracted through the input device, or can enter the corresponding image database to be enhanced through the invention, and the pixel code corresponding to the image data of the shooting extraction range is selected in the image database to be enhanced.
Extracting the original image data in each image database to be enhanced according to the shooting extraction range selected by the user, and taking the extracted original image data as the image data to be enhanced. Because there may be more extracted image data, in order to avoid that a large amount of image data occupies too much memory, resulting in a stuck processing speed or an error, in this embodiment, the extracted image data to be enhanced is stored in the newly built multiplication dynamic database, so as to reduce the memory pressure.
Step S20, traversing the image data to be enhanced by adopting a preset rule, and determining whether the image data to be determined exists in the image data to be enhanced, wherein the image data to be determined comprises correct image data and error image data which cannot be determined;
the data in the image database to be enhanced have mutual pixel logic relations, and the image data can be verified according to the corresponding pixel logic relations, so that the image data to be determined is determined, wherein the image data to be determined comprises correct image data and error image data which cannot be determined.
The user may store a preset rule in advance in the device running the present invention, and in implementation, some row-column image data may also be obtained by setting corresponding pixel logic relations in each image database to be enhanced, for example, image data corresponding to a certain region image is a set of pixels of a certain row by a certain column, where the pixel logic relations corresponding to each image data may be read as the preset rule.
Traversing the image data to be enhanced extracted according to the step S10 by adopting a preset rule, verifying the image data according to the corresponding pixel logic relationship, and determining whether the obtained image data to be enhanced is the image data to be determined.
And step S30, when the image data to be enhanced exists in the image data to be determined, enhancing the image data to be enhanced, and marking the image data to be determined in the enhanced image data.
And enhancing the image data to be enhanced processed in the step S20 to obtain enhanced image data. Specifically, referring to fig. 2 in combination, fig. 2 is a further flowchart after step S30 of the present invention, where the extracted image data to be enhanced may be processed without disturbing the pixel logic relationship between each image data and other image data, and the image data to be enhanced may be sequentially subjected to noise reduction, white balance and sharpness processing in combination with the image enhancement parameters, and the image data to be determined in the enhanced image is marked, so that a user may determine or modify the image data to be determined conveniently, thereby avoiding errors of the enhanced image data; after the determined image data to be determined is correct image data, driving a preset enhancement data program to perform lossless compression to determine the image data according to the common code table information, and waiting for finishing frame image data processing; and converting the read frame image data into an image to be displayed, and transmitting the image to be displayed to a screen for display through a line data stream after lossless decompression.
Referring to fig. 3, based on the first embodiment of the image enhancement function method of the present invention, fig. 3 is a flowchart of a second embodiment of the image enhancement function method of the present invention, where the image enhancement function method further includes:
step S40, determining error image data in the image data to be determined, and modifying the error image data into correct image data;
in this embodiment, when there is a small association between the erroneous image data of a certain mark in the image database to be enhanced and other image data, for example, when there is an X value in the X row, the value of the Y column must be F (X), that is, there is a function of Y with respect to X, and this pixel logic relationship will exist in the corresponding image database to be enhanced, then it is impossible to associate to which column of image data is the correct image data because only one pixel logic relationship is obtained. The user can identify the wrong image data in the extracted image data through the interactive interface progressive mark, and then modify the extracted image data to be enhanced into correct image data according to other related pixel logic relations.
In a specific embodiment, if a certain error image data has a relatively high relation with other image data or is related to other image data, a correct value of the error image data can be deduced. For example, the image data Y is a function of the error image data X, Z, i.e., y=f (X), y=f (Z), where the Y value can be deduced to be the correct value according to the same Y value in the logical relationship between two pixels, and the error image data X in the image data to be enhanced can be determined, then the correct value of the X value can be deduced according to y=f (X), and then the correction to the correct value can be automatically performed.
After the modification is completed, the process advances to step S50, where other image data related to the modified correct image data is redetermined according to the modified correct image data and the preset rule, and the error image data in the other image data is marked.
Specifically, referring to fig. 4, fig. 4 is a further flowchart after step S50 of the present invention, which includes:
step S51, calculating and obtaining the comparison value of other image data related to the modified correct image data according to the modified correct image data and a preset rule;
step S52, determining whether the value of other image data is the same as the comparison value;
and step S53, marking the image data with the values of other image data different from the comparison value as error image data.
Specifically, in this embodiment, the modified image data is determined as correct image data, then, other image data is calculated again according to the modified correct image data and a preset rule, where the preset rule may be preset by a user, or may be a pixel logic relationship in the image database to be enhanced when the image data is read, a comparison value of other image data related to the modified correct image data is obtained by calculating, and then, the comparison value is compared with the value of other image data, if the two values are the same, the value of the correct image data is determined, otherwise, the other image data is erroneous image data. For example, y=f (X), whether the value of X is correct is determined again according to the value of Y, and X is re-verified, thereby ensuring that other image data is verified correctly, and if the value of X is incorrect, the mark X is an error.
Referring to fig. 5, fig. 5 is a flowchart of a third embodiment of the image enhancement function method according to the present invention, and the method further includes:
step S60, the modified correct image data is sent to an image database to be enhanced corresponding to the modified correct image data;
step S61, updating the image database to be enhanced according to the modified correct image data.
In this embodiment, if a certain image data is determined to be erroneous image data, a human operation error may exist in the corresponding image data in the image database to be enhanced from which the image data is derived, and at this time, the modified correct image data may be sent to the image database to be enhanced, and after the correct image data is received by the image database to be enhanced, the image data of the image database to be enhanced is correspondingly updated according to the memory location information, so as to repair the image data of the image database to be enhanced.
It should be specifically noted that, in order to be able to find corresponding original image data later, in this embodiment, a relationship between the enhanced data position and the corresponding original image data position needs to be established in the extraction and enhancement process, so that when the image database to be enhanced later is updated, the corresponding position can be found and updated.
Referring to fig. 6, fig. 6 is a flowchart of a fourth embodiment of the image enhancement function method according to the present invention, and based on the first embodiment of the image enhancement function method according to the present invention, the method further includes:
step 70, when it is determined that the image data to be enhanced exists in the image data to be enhanced, comparing the image data to be enhanced with the original image data in the corresponding image database to be enhanced;
step S80, if the image data to be determined is not the same as the original image data, the image data to be determined is replaced by the original image data.
Because the process of judging by adopting the preset rule occupies more resources, the image data to be enhanced is possibly modified by other users, so that the image data is wrong, or the image data is wrong due to other unknown reasons, the extracted image data is disordered, and the correctness of the extracted image data cannot be determined.
In this embodiment, the image data to be determined may be compared with the extracted original image data in the image database to be enhanced, whether the original image data has errors is determined according to the comparison result, if the image data to be determined is the same as the original image data, the original image data has errors, the image data to be determined may be marked, and the method may be re-executed. If the image data to be determined is not identical to the original image data, determining that the original image data has no error, and replacing the image data to be determined with the original image data.
Based on the same technical conception, the invention also provides an endoscope imaging device with the image enhancement function.
Referring to fig. 7, fig. 7 is a schematic block diagram of a first embodiment of an endoscopic imaging device with image enhancement function according to the present invention.
The extraction module 1 is used for extracting corresponding original image data in each image database to be enhanced according to the determined shooting extraction range to serve as image data to be enhanced;
the user can select the database to be enhanced through the selection interface as the image database to be enhanced, for example, when needing to know a certain region image, the user selects the database under the region image through the selection interface, and inputs the ID verification code corresponding to each region image through the login interface, so that the access rights of the database of each region image and the like are obtained.
The user inputs the pixel code corresponding to the image data to be extracted through the input device, or can enter the corresponding image database to be enhanced through the invention, and the pixel code corresponding to the image data of the shooting extraction range is selected in the image database to be enhanced.
Extracting the original image data in each image database to be enhanced according to the shooting extraction range selected by the user, and taking the extracted original image data as the image data to be enhanced. Because there may be more extracted image data, in order to avoid that a large amount of image data occupies too much memory, resulting in a stuck processing speed or an error, in this embodiment, the extracted image data to be enhanced is stored in the newly built multiplication dynamic database, so as to reduce the memory pressure.
The first determining module 2 is configured to traverse the image data to be enhanced by adopting a preset rule, and determine whether there is image data to be determined in the image data to be enhanced, where the image data to be determined includes correct image data and incorrect image data that cannot be determined;
the user may store a preset rule in advance in the device running the present invention, and in implementation, some row-column image data may also be obtained by setting corresponding pixel logic relations in each image database to be enhanced, for example, image data corresponding to a certain region image is a set of pixels of a certain row by a certain column, where the pixel logic relations corresponding to each image data may be read as the preset rule.
A modifying module 3, configured to determine erroneous image data in the image data to be determined, and modify the erroneous image data into correct image data;
the enhancement processing module 4 is used for sequentially carrying out gain noise reduction, white balance and image edge definition processing on the image data to be enhanced by combining with the image enhancement parameters;
the compression module 5 is used for driving a preset enhancement data program to perform lossless compression to determine image data according to the public code table information, and waiting for finishing frame image data processing;
and the output module 6 is used for reading the frame image data, converting the frame image data into an image to be displayed, decompressing the image to be displayed through a line data stream, and transmitting the image to be displayed to a screen for display.
And enhancing the image data to be enhanced processed in the step S20 to obtain enhanced image data. Specifically, without disturbing the pixel logic relationship between each image data and other image data, the extracted image data to be enhanced can be processed, noise reduction, white balance and definition processing are sequentially carried out on the image data to be enhanced by combining the image enhancement parameters, the image data to be determined in the enhanced image is marked, and a user can conveniently determine or modify the image data to be determined, so that errors of the enhanced image data are avoided; after the determined image data to be determined is correct image data, driving a preset enhancement data program to perform lossless compression to determine the image data according to the common code table information, and waiting for finishing frame image data processing; and converting the read frame image data into an image to be displayed, and transmitting the image to be displayed to a screen for display through a line data stream after lossless decompression.
And the second determining module 7 is used for redefining other image data related to the modified correct image data according to the modified correct image data and preset rules and marking error image data in the other image data.
In this embodiment, if a certain error image data has a relatively large relationship with other image data or is associated with other image data, a correct value of the error image data can be deduced. For example, the image data Y is a function of the error image data X, Z, i.e., y=f (X), y=f (Z), where the Y value can be deduced to be the correct value according to the same Y value in the logical relationship of two pixels, the error image data X in the image data to be enhanced can be determined, then the correct value of the X value can be deduced according to y=f (X), and then the correction to the correct value can be automatically performed
Further, referring to fig. 8, fig. 8 is a schematic diagram of a refinement function module of a second determination module according to an embodiment of the present invention, where the second determination module includes:
a calculation unit 71 for calculating a comparison value of other image data related to the modified correct image data according to the modified correct image data and a preset rule;
a determining unit 72 for determining whether the value of the other image data is the same as the control value;
and a marking unit 73 for marking image data having a value different from the reference value of the other image data as erroneous image data.
Specifically, in this embodiment, the modified image data is determined as correct image data, then, other image data is calculated again according to the modified correct image data and a preset rule, where the preset rule may be preset by a user, or may be a pixel logic relationship in the image database to be enhanced when the image data is read, a comparison value of other image data related to the modified correct image data is obtained by calculating, and then, the comparison value is compared with the value of other image data, if the two values are the same, the value of the correct image data is determined, otherwise, the other image data is erroneous image data. For example, y=f (X), whether the value of X is correct is determined again according to the value of Y, and X is re-verified, thereby ensuring that other image data is verified correctly, and if the value of X is incorrect, the mark X is an error.
Referring to fig. 9, fig. 9 is a schematic block diagram of a second embodiment of an image enhancement function endoscope imaging device according to the present invention, and the image enhancement function endoscope imaging device according to the first embodiment of the present invention may further include:
the sending module 8 is configured to send the modified correct image data to an image database to be enhanced corresponding to the modified correct image data, and update the image database to be enhanced according to the modified correct image data;
the comparison module 9 is used for comparing the image data to be determined with the original image data in the corresponding image data to be enhanced in the image data to be enhanced when the image data to be determined exists in the image data to be enhanced;
and the replacing module 10 is configured to replace the image data to be determined with original image data if the image data to be determined is different from the original image data.
Because the process of judging by adopting the preset rule occupies more resources, the image data to be enhanced is possibly modified by other users, so that the image data is wrong, or the image data is wrong due to other unknown reasons, the extracted image data is disordered, and the correctness of the extracted image data cannot be determined. In this embodiment, the image data to be determined may be compared with the extracted original image data in the image database to be enhanced, whether the original image data has errors is determined according to the comparison result, if the image data to be determined is the same as the original image data, the original image data has errors, the image data to be determined may be marked, and the method may be re-executed. If the image data to be determined is not identical to the original image data, determining that the original image data has no error, and replacing the image data to be determined with the original image data.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A method of image enhancement functions, the method comprising the steps of:
extracting corresponding original image data in each image database to be enhanced according to the determined shooting extraction range to serve as the image data to be enhanced;
traversing the image data to be enhanced by adopting a preset rule, and determining whether the image data to be determined exist in the image data to be enhanced, wherein the image data to be determined comprises correct image data and error image data which cannot be determined;
and when the image data to be determined exists in the image data to be enhanced, enhancing the image data to be enhanced, and marking the image data to be determined in the enhanced image data.
2. The image enhancement function method according to claim 1, wherein the method further comprises:
determining error image data in the image data to be determined, and modifying the error image data into correct image data;
and re-determining other image data related to the modified correct image data according to the modified correct image data and preset rules, and marking the error image data in the other image data.
3. The method of claim 2, wherein the step of redefining other data related to the modified correct image data according to the modified correct image data and the preset rule and marking the error image data in the other data further comprises:
calculating and obtaining a comparison value of other image data related to the modified correct image data according to the modified correct image data and a preset rule;
determining whether the value of the other image data is the same as the control value;
and marking the image data with the values of other image data different from the comparison value as error image data.
4. The image enhancement function method according to claim 2, wherein the step of determining erroneous image data in the image data to be determined and modifying the erroneous image data to correct image data further comprises, after:
the corrected image data after modification is sent to an image database to be enhanced corresponding to the corrected image data;
and updating the image database to be enhanced according to the modified correct image data.
5. The method of claim 1, wherein the step of traversing the image data to be enhanced using a predetermined rule to determine whether the image data to be enhanced includes:
when the image data to be enhanced is determined to exist in the image data to be enhanced, comparing the image data to be determined with original image data in a corresponding image database to be enhanced;
and if the image data to be determined is different from the original image data, replacing the image data to be determined with the original image data.
6. The image enhancement function method according to claim 1, wherein the steps of enhancing the image data to be enhanced when the image data to be determined exists in the image data to be enhanced, and marking the image data to be determined in the enhanced image data include:
combining the image enhancement parameters, and sequentially carrying out noise reduction, white balance and definition processing on the image data to be enhanced;
driving a preset enhancement data program to perform lossless compression to determine image data according to the public code table information, and waiting for finishing frame image data processing;
and converting the read frame image data into an image to be displayed, and transmitting the image to be displayed to a screen for display through a line data stream after lossless decompression.
7. An endoscopic imaging device of an image enhancement function, the endoscopic imaging device comprising:
the extraction module is used for extracting corresponding original image data in each image database to be enhanced according to the determined shooting extraction range to serve as image data to be enhanced;
the first determining module is used for traversing the image data to be enhanced by adopting a preset rule and determining whether the image data to be determined exist in the image data to be enhanced, wherein the image data to be determined comprises correct image data and error image data which cannot be determined;
a modifying module, configured to determine erroneous image data in the image data to be determined, and modify the erroneous image data into correct image data;
and the second determining module is used for redetermining other image data related to the modified correct image data according to the modified correct image data and preset rules and marking error image data in the other image data.
8. The image enhancement function endoscopic imaging device of claim 7, wherein the second determination module comprises:
the computing unit is used for computing and obtaining the contrast value of other image data related to the modified correct image data according to the modified correct image data and a preset rule;
a determining unit configured to determine whether a value of the other image data is the same as the control value;
and the marking unit is used for marking the image data with the values of other image data different from the comparison value as error image data.
9. The image intensifier function endoscope imaging device according to claim 7, further comprising:
the sending module is used for sending the corrected image data after modification to an image database to be enhanced corresponding to the corrected image data, and updating the image database to be enhanced according to the corrected image data after modification;
the comparison module is used for comparing the image data to be determined with the original image data in the corresponding image data to be enhanced when the image data to be determined exists in the image data to be enhanced;
and the replacing module is used for replacing the image data to be determined with the original image data if the image data to be determined is different from the original image data.
10. The image intensifier function endoscope imaging device according to claim 7, further comprising:
the enhancement processing module is used for combining the image enhancement parameters and sequentially carrying out gain noise reduction, white balance and image edge definition processing on the image data to be enhanced;
the compression module is used for driving a preset enhancement data program to perform lossless compression to determine image data according to the public code table information, and waiting for finishing frame image data processing;
and the output module is used for reading the frame image data, converting the frame image data into an image to be displayed, decompressing the image to be displayed through a line data stream, and transmitting the image to be displayed to a screen for display.
CN202311069547.2A 2023-08-24 2023-08-24 Image enhancement function method and endoscope imaging device Pending CN116797496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311069547.2A CN116797496A (en) 2023-08-24 2023-08-24 Image enhancement function method and endoscope imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311069547.2A CN116797496A (en) 2023-08-24 2023-08-24 Image enhancement function method and endoscope imaging device

Publications (1)

Publication Number Publication Date
CN116797496A true CN116797496A (en) 2023-09-22

Family

ID=88038743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311069547.2A Pending CN116797496A (en) 2023-08-24 2023-08-24 Image enhancement function method and endoscope imaging device

Country Status (1)

Country Link
CN (1) CN116797496A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152572A (en) * 2013-03-06 2013-06-12 福州瑞芯微电子有限公司 Screen display control method and circuit with bandwidth saving
CN106066881A (en) * 2016-05-31 2016-11-02 深圳市永兴元科技有限公司 Data processing method and device
US20210350535A1 (en) * 2021-05-12 2021-11-11 ShenZhen Jifu Medical Technology Co, Ltd Endoscopic image enhancement system and method
CN115330644A (en) * 2022-10-13 2022-11-11 极限人工智能有限公司 Adaptive edge enhancement method and system for endoscope image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152572A (en) * 2013-03-06 2013-06-12 福州瑞芯微电子有限公司 Screen display control method and circuit with bandwidth saving
CN106066881A (en) * 2016-05-31 2016-11-02 深圳市永兴元科技有限公司 Data processing method and device
US20210350535A1 (en) * 2021-05-12 2021-11-11 ShenZhen Jifu Medical Technology Co, Ltd Endoscopic image enhancement system and method
CN115330644A (en) * 2022-10-13 2022-11-11 极限人工智能有限公司 Adaptive edge enhancement method and system for endoscope image

Similar Documents

Publication Publication Date Title
US20080212901A1 (en) System and Method for Correcting Low Confidence Characters From an OCR Engine With an HTML Web Form
US8649578B2 (en) Method and system for defining a breast window
CN107621932B (en) Local amplification method and device for display image
CN110751605A (en) Image processing method and device, electronic equipment and readable storage medium
CN112559341A (en) Picture testing method, device, equipment and storage medium
WO2007074605A1 (en) Image processing method, image processing program, image processing device, and imaging device
US9781343B2 (en) Image processing apparatus and method for operating image processing apparatus
US20190378243A1 (en) Image processing apparatus, image processing method and program
CN116797496A (en) Image enhancement function method and endoscope imaging device
CN112649773B (en) Magnetic resonance scanning method, device, equipment and storage medium
JP6702602B2 (en) Self image diagnostic method, self image diagnostic program, display device, and self image diagnostic system
CN114565611B (en) Medical information acquisition method and related equipment
Collins et al. Comparison of measurements from photographed lateral cephalograms and scanned cephalograms
CN114782408A (en) CT image blind denoising method based on multi-scale and attention mechanism
JP3945622B2 (en) Image evaluation method, apparatus, and program
JP5232676B2 (en) Payment information integration system
US11751833B2 (en) Training method and system for collimator border detection method
TW201440032A (en) Image processing method and image display apparatus
CN114116474A (en) Software checking method and device, electronic equipment and storage medium
CN109524102B (en) Method and device for checking parameter selection, computer device and readable storage medium
CN112559340A (en) Picture testing method, device, equipment and storage medium
JPH11332858A (en) Apparatus for blackening processing outside of irradiation field
CN112541881A (en) Electronic equipment failure analysis method and system
WO2023002960A1 (en) Information processing device, information processing method, and computer program
US20230186585A1 (en) Image processing apparatus, image processing method, and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination