CPC H04N 9/646 (2013.01) [A61B 1/000095 (2022.02); G06T 5/20 (2013.01); G06T 5/40 (2013.01); G06T 5/92 (2024.01); A61B 1/0005 (2013.01); G06T 2200/28 (2013.01)] | 20 Claims |
1. A medical device system comprising:
a control unit configure to operatively couple to a medical device, wherein the control unit comprises:
one or more processing boards that implement a contrast limited adaptive histogram equalization (CLAHE) algorithm to enhance images obtained by a first viewing element of the medical device, wherein the one or more processing boards perform the steps of:
receiving a YCbCr color space video stream;
converting the YCbCr color space video stream to Lab color space video stream;
building histogram information based on the Lab color space video stream, including splitting the Lab color space video stream into a plurality of tiles, wherein each of the plurality of tiles overlaps with its neighboring tiles;
converting the histogram information into cumulative distribution function values;
obtaining the Lab color space video stream as Lab color space frames;
rearranging the Lab color space frames to generate a delayed Lab stream;
generating an enhanced Lab stream, using the delayed Lab stream and the cumulative distribution function values; and
displaying an output video stream indicative of the enhanced Lab stream.
|