기본 정보
- 저자
- DOI
- 10.5220/0006552401010112
- 저널
- Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications
- 발행년도
- 2018
- 발행기관
- –
- 피인용수
- 5
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5220/0006552401010112
- 토픽
- Color Science and Applications
- OpenAlex ID
- W2789837569
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 42,751자
본문 펼치기
섹션 본문 66문단 · 41,711자
(제목 없음)
1Pill endoscopy cameras generate hours-long videos that need to be manually inspected by medical specialists. Technical limitations of pill cameras often create large and uninformative color variations between neighboring frames, which make exploration more difficult. To increase the exploration efficiency, we propose an automatic method for joint intensity and hue (tone) stabilization that reduces such artifacts. Our method works in real time, has no free parameters, and is simple to implement. We thoroughly tested our method on several realworld videos and quantitatively and qualitatively assessed its results and optimal parameter values by both image quality metrics and user studies. Both types of comparisons strongly support the effectiveness, ease-ofuse, and added value claims for our new method.
INTRODUCTION
2Endoscopy of the gastrointestinal tract is since long used to screen, diagnose, locate, or treat conditions such as gastrointestinal bleeding, inflammatory bowel disease, celiac disease, polyps, and certain cancer types (Classen and Phillip, 1984). This is traditionally done by using a small camera at the end of a thin flexible tube inserted into the mouth and guided through the tract. However, this method does not reach the many tight bends of the intestines. A recent disruptive technology is the pill camera, a small capsule containing a camera and lights (Hale et al., 2014). After being swallowed, the camera records 8 to 12 hours of video. While cheaper, less intrusive, and having a better coverage of the entire gastrointestinal tract, pill cameras come with several challenges. Figure 1 shows several sample frames from a video recorded using the MiroCam pill camera (Hale et al., 2014) at three frames per second, with a resolution of 320 2 pixels. Each frame contains a circular picture surrounded by black borders, with the frame number in white. In each of the top row frames, we see that areas close to the camera are very bright, and far away areas are completely dark, due to the distance from the capsule's lights. Consider frame 4765. All tissue here has in reality the same color, but it is not imaged as such. Furthermore, as the capsule moves onwards from frame 4755, the moderately lit area in the center of frame 4765 will become too bright, as the light approaches it. Likewise, the too dark area in the top left of frame 4765 will become moderately lit due to the camera motion. All in all, the same tissue area will be shown in differing intensities over time. The bottom row in Fig. 1 shows a second kind of problem: All images here cap-ture the same tissue type, so they should have the same color tone (hue). However, since the camera automatically adjusts its color balance, the tone fluctuates over time. For instance, frame 2654 has a pink tone; frame 2659 has a more orange tone; frame 2689 appears pink again; frame 2694 appears orange; and frame 2696 shifts to pink again.
3Medical practitioners examining endoscopy videos state being distracted by sudden tone and/or intensity fluctuations, which do not contain any information. Color correction (also called stabilization) methods are an effective instrument for alleviating such problems. However, such methods should not introduce any additional artifacts which could mislead the medical professional. From discussions with gastroenterologists, we found two key constraints that a stabilization method should obey: (i) the relative intensity of pixels in the corrected and original image should be the same (if a pixel a is brighter than another pixel b in the input image I, then the pixel a should also be brighter than the pixel b in the corrected image I ; and (ii) hue changes should be small enough so that a tissue type can be safely recognized in the stabilized images. While many generic color correction algorithms exist (Anbarjafari, 2014;Vig et al., 2016;Purushothaman et al., 2016;Gautam and Tiwari, 2015;González et al., 2016;Moradi et al., 2015), few have been developed with the specific constraints of endoscopy videos: low resolution, poor lighting of large image areas, relatively low framerate, rapid variation of the light direction, real-time operation, and the avoidance of misleading artifacts in the corrected video. Moreover, such algorithms have various parameters which influence their results. We are not aware of any studies showing how to determine optimal parameter values that smooth out intensity and tone changes but do not introduce significant artifacts.
4In this paper we attack the problem of joint intensity-andtone stabilization in endoscopy videos, as follows. First, we analyze a large set of existing generic intensity-and-tone stabilization algorithms from the viewpoint of video endoscopy constraints. From these, we select the best candidate for our problem, which we next enhance so that it meets all aforementioned stabilization requirements. We next evaluate our enhanced algorithm both quantitatively, using a set of image similarity metrics, and qualitatively, by means of an extensive user study, on a set of endoscopy videos showing a wide variation of imaged tissues and lighting conditions. The evaluation shows that our improved algorithm surpasses the best-so-far algorithm we could find, by performing joint intensity and tone stabilization, being parameter free, guaranteeing good image quality, and operating at the same speed as the pill camera.
5The rest of this paper is structured as follows. Section 2 surveys related work on image hue-and-intensity correction. Section 3 outlines our proposed method. Section 4 details our implementation. Section 5 presents the evaluation and results of our method. Section 6 concludes the paper.
Related work
6Color correction has a very long history in generic image and video processing (Gijsenij et al., 2011). Typical early methods include greyscale histogram equalization (GHE) (Kim and Yang, 2006) and dynamic histogram equalization (DHE) (Sun et al., 2005). Yet, few methods were designed for, or tested on, endoscopy videos. As such, besides evaluating (and improving) endoscopy-specific methods, it is interesting to study if more generic methods, designed for other image types, can be used, with suitable modifications, for our problem. We discuss below ten methods which target (partially) our requirements for intensity and hue stabilization, are either well-known in image processing or else specifically designed to handle endoscopy videos, and which alleviate many of the problems of GHE and DHE. When several refinements of a published method exist, we have considered the most recent one. To better assess the pro's and con's of each method, we rate them on a Likert scale (5=very good, 4=good, 3=average, 2=poor, 1=very poor) against each of the following requirements:
7• Validation measures how well the claims of a method are defended by results shown in the respective paper. Methods showing stronger validation are more interesting candidates to adapt to our endoscopy use-case.
8• Reproductibility measures how easy is to (re)implement a method and obtain the results described in the respective paper. This criterion is essential for us; without it, we cannot validate and/or extend a given method for our context.
9• Complexity measures the computational complexity of a method for a video of n frames of w × h pixels. Ideally, we want a (near) linear complexity method in video size so that we can achieve interactive exploration.
10• Usability measures how easy is for a non-technical end user to run the method. It is measured by the number and intuitiveness of the exposed parameters. A method with many parameters which are not intuitive or easy to set by a non-technical end user is less usable. This is a critical requirement for an application that aims to decrease the workload for a medical specialist. (Anbarjafari, 2014) proposed an iterative n th root and n th power color equalization method for single generic images. The method processes the intensity channel of an image in HSI space by a non-linear transfer function f (x) = x ln(0.5)/ln(x) , where x is the mean intensity of the actual image. The operation is repeated until the final image achieves a mean 'goal' intensity equal to γ, set typically to γ = 0.5. The method is quite good in lighting very dark image areas and darkening too bright areas. However, it does not address our problem of tone stabilization of videos. (Vig et al., 2016) equalize colors in single images by increasing the intensity of dark areas, but keeps bright areas unchanged, akin to an overexposure effect. Not darkening very bright areas is, however, a limitation in our context. Moreover, the technique targets also contrast enhancement, which can generate artifacts in endoscopy images which typically contain only low contrast tissue. (Purushothaman et al., 2016) propose a differential histogram equalization method for color images which increases the contrast of color images so as to make the color information more visible to the human eye. However, as a result, brightly lit areas may become even brighter, losing potentially valuable information in endoscopy imagery. (Gautam and Tiwari, 2015) propose yet another histogram equalization based method for single images which increases contrast in dimly lit areas while not brightening properly lit areas. However, too bright areas are not darkened, which conflicts with our intensity equalization goal. (González et al., 2016) propose an improvement of the earlier luminance Multi-Scale Retinex method (Funt et al., 1997) that targets hues. The method is very powerful at brightening dark areas and thus revealing rich color information. However, already well lit areas may become too bright. (Moradi et al., 2015) propose a method specifically targeted at endoscopy images which increases contrast and removes noise. However, intensity normalization is not specifically addressed. Also, the method does not specifically handle tone stabilization.
11(Vazquez-Corral and Bertalmio, 2014) propose a so-called video tone stabilization method which equalizes a set of images taken from several cameras or from a single camera where white balance and/or exposure change over time. The method works by making all input images more similar with respect to a so-called reference image. It works in both hue and intensity channels, both which are important for our context. However, an open challenge is how to automatically select a single reference frame. (Wang et al., 2014) propose yet another video tone stabilization, based on smoothing differences between neighbor frames, much like an average running through time, applied on the trajectory of the color state in color space. A parameter allows turning the smoothing off to keep large tone temporal differences which can encode important information. (Farbman and Lischinski, 2011) also propose a video tone stabilization method for videos, based on the same reference frame idea as (Vazquez-Corral and Bertalmio, 2014). While the results of this method are impressive, a major drawback is that it appears to be closed-source and patented, which makes its replication and application hard at best. (Bassiou and Kotropoulos, 2007) present a single-image method based on histogram equalization. The method uses multi-level smoothing correct images in HSI space, using the probability density functions of the saturation and intensity components while keeping hue unchanged. The method can equalize intensity very well. However, it does not directly address the problem of tone stabilization. Table 1 summarizes our survey. The method of (Anbarjafari, 2014) (referred next to as 'Anbarjafari') gets the best overall rating, with the methods of (Vazquez-Corral and Bertalmio, 2014) and (Bassiou and Kotropoulos, 2007) coming next. As such, we considered extending these three methods for our goal. However, replicating the algorithms in (Vazquez-Corral and Bertalmio, 2014) and (Bassiou and Kotropoulos, 2007) did not succeed in producing the same results as in the respective papers, as several crucial details were omitted in the papers. As such, we settled with extending the method of (Anbarjafari, 2014) to suit our goals, as described next.
Proposed Method
12As explained in Sec. 2, the Anbarjafari method brightens dark areas and darkens bright areas in single images. How-
Method Validation
13Reproductibility Complexity Usability (Anbarjafari, 2014) (4) Very good results for two test-sets (4) MATLAB code provided (4) O(whnx) with x ≈ 10 (4) A single intuitive parameter to set (goal mean). (Vig et al., 2016) (2) Good results for two test-sets, but only for brightening dark areas
14(2) No code provided, reproducing is difficult
15(2) Four not very intuitive parameters (Purushothaman et al., 2016) (3) Good results on two test-sets, but mainly for brightening dark areas
16(3) No code provided, but implementation clear and easy to reproduce)
128)
17(3) A single parameter which is easy to understand (Gautam and Tiwari, 2015) (3) Good results on five test-sets, but dark areas can become undesirably darker
18(2) No code provided, reproducing is moderately difficult (4) O(whn) (5) No parameters to be set (González et al., 2016) (3) Good results on six test-sets, but all only show brightening dark areas
19is the constant size of a small neighborhood around each pixel
20(3) Three parameters, of which two are not directly intuitive (Moradi et al., 2015) (4) Good results on four test-sets
21(2) No code provided, reproducing is difficult due to vague description
22(2) Two parameters which do not have an intuitive meaning (Vazquez-Corral and Bertalmio, 2014) (5) Very good results on 24 test-sets.
23(3) No code provided, algorithm explanation leaves out some important details (4) O(whn) (authors mention that real-time operation is feasible)
24(3) Two parameters which do not have an intuitive meaning (Wang et al., 2014) (5) Good results on seven test-sets
25(2) No code provided, reproducing seems difficult
26(1) Five parameters which do not have an intuitive meaning (Farbman and Lischinski, 2011) (4) Good results on five test-sets
27(1) No code provided, algorithm patented by authors (4) O(whn) (4) A single parameter with clear usage instructions (Bassiou and Kotropoulos, 2007) (4) Good results on five test-sets
28(3) Third party code used in the paper produces undesired results
(4) O(whn)
29(4) Parameter(s) of probability smoothing step not explained ever, we want to equalize intensity and smooth out hue fluctuations over time. For this, we extend the Anbarjafari method as follows.
30We smooth out fluctuations in an image channel over time by detecting large variances between the channel's histograms (computed over all input image pixels) of all frames within a time window, and next changing the pixel values so that the histogram is suitably compressed. By compressing the histogram, differences between pixel values are made smaller. When applied to all frames within a time window, the compression rate should progress gradually, in order to smoothen out sudden differences. This technique can be applied to any image channel in any color space, e.g., RGB or HSI. As discussed next in Sec. 5, we will apply our technique on both the intensity and saturation channels of a HSI-space image, and combine it with the original Anbarjafari method, which we will also apply on both above channels. The hue channel is left untouched, as changing it easily yields undesired artifacts.
31The histogram compression works as follows. Consider the current frame t in the video and a time-window of 2k + 1 frames centered at t. Figure 2 shows this for a window of 5 frames. Below each frame t, the histogram H t of its saturation channel is shown (in the following, we use saturation as example, though our technique also works on the intensity channel, as already stated). In the frames, we observe an undesired tone shift from orange to pink. We also observe a distinct shape change of the saturation histograms. Hence, the shape change can be used as an indicator of the amount of color variation. For this, we need a way to measure the amount of shape change. To do this, we first compute a cumulative histogram H C whose bins are given by where H t+i x is the bin for saturation value x of the histogram for frame t + i. As our pill camera images are 8 bit per channel, we use histograms of 255 bins. We next compute the mean µ and variance σ 2 of H C and use the latter as a measure of the shape change of all histograms within the time window. A small variance indicates a small tone fluctuation, meaning that very little histogram compression is needed. A large variance indicates a large tone fluctuation, meaning that more compression is needed to smooth out the fluctuation.
32We can now proceed with the actual histogram compression (see also Fig. 3). We start with the computed mean µ and variance σ 2 of the cumulative histogram H C (Fig. 3a). Secondly, we eliminate the mean by subtracting µ from the saturations of all pixels (Fig. 3b). Thirdly, we compress the his- togram by dividing the saturations by aσ 2 (Fig. 3c). Here, a ∈ [1/σ 2 , 1] controls the compression amount: For a = 1, all saturations are divided by σ 2 , so that the histogram is compressed by an amount proportional to the variance. For a = 1/σ 2 , no compression occurs. After this step, a part of the histogram will correspond to negative saturation values, which of course make no sense. To fix this, it seems natural to shift the histogram back with the same value µ we used in step one. However, we verified that doing so produces unnatural looking tones -pixel saturations appear higher or lower than desired.
33To solve this issue, we use a shift value c ∈ [0, 1] (Fig. 3), as follows. If c = 0, the histogram is shifted so that its leftmost bin corresponds to saturation value 0; if c = 1, the histogram is shifted so that its rightmost bin corresponds to saturation value 255. Intermediate values for c produce linearly interpolated shifts between these two extremes. Several comments are due. The proposed histogram compression extends the relative pixel intensity constraint mentioned in Sec. 1 to pixel saturations. Indeed, the applied transformations are linear, and the shape of the histogram is preserved. Separately, while the histogram compression is computed on the cumulative time-window histogram, the individual pixel intensity or saturation manipulations are done separately on each frame. This ensures that these manipulations will vary smoothly in time, as the cumulative histogram has the effect of a smoothing sliding-window time filter.
Implementation
34We implemented our color stabilization method in singlethreaded C++ under Linux and Windows. Our tool covers both the original Anbarjafari method and our new method, and allows one to apply them separately, or one after the other, on either of the saturation and intensity channels or on both. The tool allows loading a pill-camera video file in MPEG format, changing the values of the parameters k, a, and c of our algorithm and the mean goal γ of Anbarjafari, playing the original and stabilized videos side-by-side, and saving the stabilized video as an MPEG file (Fig. 4).
35Calculating histograms is the slowest part of our method. which is the actual recording speed of the pill-camera video (Sec. 1). The overall computational complexity is linear in input size, i.e., O(whn) for processing a video of n frames each of w × h pixels. Once the histograms have been computed, changing all parameters is, however, instantaneous. This allows a medical professional to focus on an image of interest and explore it by manually changing the parameters to e.g. brighten or darken its various areas in real time.
Evaluation
36As already outlined, only very few evaluations of color stabilization for endoscopy videos are present in the literature. Moreover, these take the form of presenting the stabilized images, but come with limited or even no actual evaluation of the quality thereof. We improve upon this by presenting next both a qualitative user-study based evaluation (Sec. 5.1) and a quantitative metrics-based evaluation (Sec. 5.2).
Qualitative evaluation
37The nature of color stabilization is quite application-specific and possibly even user-specific. It is not easy to formally measure how much 'better' a given stabilized image is than another one. Also, note that we have no ground truth, in the sense of an 'optimally' stabilized image. As such, it is definitely important to compare different stabilization methods or parameter settings by means of user studies. To this end, we performed a survey in which users were asked to rank images produced by different stabilization methods and parameter values, as described next.
Evaluation materials
38We acquired several endoscopy videos, each 8 hours long, recorded using the MiroCam pill camera (Medivators, 2017), from medical specialists at a major regional hospital in the Netherlands. The videos were pre-screened by the specialists for suitability -that is, containing no major artifacts due to camera malfunction, and containing a wide range of image intensities and tones that would pose difficulties in manual analysis and for which stabilization would be of added value. Since organizing a study where multiple users examine thousands of images such as present in our videos was infeasible, we first manually grouped the available video frames into five representative classes, depending on the color and intensity distribution, as follows:
39• Dark area directly bordering a very bright area (Fig. 1, frame 3515);
40• Dark area separated from a very bright area by moderate illumination (Fig. 1, frame 4765);
41• Dark area directly surrounded by bright areas on all sides (Fig. 1, frame 6900);
42• Dark area surrounded by bright areas on all sides, with a moderate illumination transition zone (Fig. 1, frame 8096);
43• Dark area bordering a bright area of varied color and structure (Fig. 1, frame 8096).
44Next, we randomly selected a few images in each class for the qualitative study. For each image, we ran several combinations of the Anbarjafari method (A) and our proposed method (P) described in Sec. 3, applied on the intensity (I) and saturation channels (S), as described below. Note that only the first combination (A used solely on I) is covered by existing literature, all other combinations being novel. A applied to I, followed by applying P to the resulting I; and A applied to S, followed by applying P to the resulting S.
45For each combination, we ran the involved methods for several parameter values. Specifically, we set the mean goal γ in Anbarjafari to values in {0.6, 0.7, 0.8, 0.9, 1%}; and the compression a of our method to values in {0.02, 0.04, 0.08, 0.16, 0.32}. The latter set of values is chosen as such since c is used as a denominator (Sec. 3), so it affects a function of hyperbolic type 1/x. For the time window size and correction, we used the fixed values of k = 20 frames and c = 0.4 respectively, which have been determined by us empirically by testing stabilization on several videos. Figure 5 shows the stabilization results obtained for frame 8096 (Fig. 1) for several method and parameter combinations. Due to space limitations, we cannot show all the tested results which entail several hundreds of images. The rows in Fig. 1 indicate method combinations; columns indicate parametervalue combinations. Below we discuss the findings we observed ourselves -that is, before using these results in the actual survey, which is described next in Sec. 5.1.2.
46A → I: We see that, as the parameter γ increases, dark areas are brightened, and colors and details get more easily visible to the human eye. For all five frames in the top row in Fig. 5, we found that γ = 0.7 yields the greatest intensity increase with acceptable loss of details. When γ > 0.7, images become too noisy. Moreover, in endoscopy images, detail such as edges is mainly defined by intensity and not hue, so too much brightening erases such detail.
47A → (I,S): Similar to brightening dark areas, increasing γ now makes the color of low-saturation (gray-like) areas more vivid. Since low saturation areas match very well dark areas in the gastrointestinal tract, this method additionally boosts dark areas by making them not only brighter, but also more colorful. As for the A → I method, we found an optimal value around γ = 0.7. Larger γ values affect color tones too much, which can create undesirable artifacts, like rendering a normal tissue too red, thus suggesting an internal bleeding. P → I: Similar to A → I, this method makes dark areas become brighter as c increases. However, details in dark areas are lost earlier than in the A → I case. We also note that this method yields overall brighter images than A → I (compare rows 1 and 3 in Fig. 5). However, detail shading is slightly less well visible. This is expected, since the goal of our method (P) is not to enhance single images, but to smooth sudden changes in video sequences. Since P → I essentially compresses the intensity channel histogram, edges captured by intensity differences may become less visible. P → (I,S): In addition to the previously discussed effect on the intensity levels, this method makes colors more saturated as c increases. Interestingly, saturation is not increased as aggressively as in A → (I,S). Again, this is because our algorithm does not try to increase saturation to a certain predefined level γ, but aims to smooth out sudden differences in the saturation histograms of neighboring frames. This is why, as we will discuss later, our method is better for stabilizing saturation in videos rather than single images.
48(A,P) → I: We observe that the results of this method are nearly identical to those of P → I. We explain this by the fact that P compresses the histogram after A enhanced the intensity. This largely undoes the enhancements that the A method made. As a result, the output images suffer from the same problems we observed when using P → I, namely loss of details due to the histogram compression.
49(A,P) → (I,S): We observe that the results of this method are very similar to those of A → (I,P). However, the saturation is less dramatically increased. We explain this by the fact that, after the A method has made the saturation very high, the P method compresses the saturation histogram, thus making the color vibrance less extreme.
50From all above, we draw the following preliminary qualitative conclusions. The Anbarjafari method (A) with a mean goal value around γ = 0.7 shows itself to be best for intensity stabilization of single images. However, it is not effective in stabilizing tone fluctuations -when applied to saturation (A → S), it may actually enhance tone fluctuations. In contrast, our method (P) is effective in smoothing tone fluctuations, but less effective in stabilizing intensity.
User survey
51We refined the qualitative observations presented above, which are drawn from our own study of the computed results, by conducting an online survey that involved a wide group of people, thereby realizing a more representative qualitative evaluation. The survey material consisted of five pages, one page for an image in each image class defined in Sec. 5.1.1. Each page contained all stabilized images for the respective input image, laid out identically to Fig. 5. We also included an additional column representing the actual input image. However, the column was not marked as such, so the participants could not know which is the input and which the outputs of the stabilization. For each image row, the participant was asked to pick the image that they thought was the best in terms of enhancing the information in the brighter and darker areas of the image and without introducing too much noise or losing information. This answers the question 'which parameter values are best for a given method combination?'. Next, at the end of each page, participants were asked to review the six images they picked as best for the six rows and pick the best one among these. This answers the question 'which method combination delivers the best results, given that all methods are run with their optimal parameter values?'. The survey was conducted using Google Forms. Participants were encouraged to look at each row of images for roughly 10 seconds, so that the survey could be finished in about 5 minutes. However, the participants could spend more time if desired, and were also allowed to go back to previous pages to review or change their answers. Note that the participants did not see any annotations on the survey pages such as the method names and parameter values in Fig. 5. Eighteen people participated in the survey. All are specialists in image processing and computer vision, and are well familiar with endoscopy videos and their issues. The participants were aged between 20 and 50, the majority being male. Table 2 presents the aggregated results of the survey. Rows indicate method combinations, and columns indicate parameter values, just like in Fig. 5. Each cell contains two numbers, separated by a slash. The first number indicates how many times an image generated by the respective method and parameter-values combination was chosen best in a row of images -thus, best for all tested parameter values. The second number (in bold) indicates how many times an image was chosen as best for an entire survey page -thus, best for all method and parameter values combinations tested.
52Several insights can be drawn from these figures. First, we see that the parameter values γ = 0.6, a = 0.02 and γ = 0.7, a = 0.04 get most votes, the former being seen best when the combined method (A,P) is used, and the latter when the individual Anbarjafari (A) method is used, respectively. These are thus good values for a wide set of images and a wide set of users. Note that the setting γ = 0.7 matches what we found ourselves in our preliminary qualitative evaluation (Sec. 5.1.1). As such, we use these values as presets in our final tool (Sec. 4). Secondly, we see that very high parameter values are never preferred. This matches our own observations that such values yield too much disappearance of relevant details (Sec. 5.1.1).
53Thirdly, we see that the Anbarjafari method applied to saturation (A → S) with γ = 0.7, a = 0.04 has the highest number of overall best results. This matches our earlier observations that this method is indeed very good for stabilizing single images. Moreover, this is an interesting novel result, as the Anbarjafari method has been originally proposed to work on intensity only. Separately, as explained earlier, this method is not aimed at stabilizing tone fluctuations in video sequences -something that our survey could not capture, as participants were shown only individual frames. Finally, we see that the combination (A,P) → (I,S) with γ = 0.6, a = 0.02 scores the best image-in-a-row. As such, this method combination is arguably good for video color stabilization, albeit it scores lower for single frame stabilization.
Video intensity and tone stabilization
54As discussed above, the original Anbarjafari method is the best, among the studied alternatives, for intensity stabilization in single images; however, it does not handle the tone stabilization in video sequences; for that, its combination with our method seems best. We next demonstrate this on a video sequence. Figure 6, left column, shows a selection of frames from a video of a bleeding gastrointestinal tissue. The first five frames are identical to those in Fig. 1, bottom row. As also outlined in Sec. 1, a certain amount of tone fluctuation is visible even in this short sequence.
55We next show how the combination of Anbarjafari and our method solves this problem. First, as a baseline, we apply only our method to the saturation channel (P → S), see Fig. 6 and correction c = 0.4, in line with the optimal values found for our method (P) in the survey. We see how the sudden tone changes have now been smoothed out -all frames in Fig. 6, middle column, have a pinkish tone. The tone stabilization is even more evident when watching the actual video. However, the intensity is not stabilized. To solve this, we apply the combination of Anbarjafari and our method to both the intensity and saturation channels ((A,P) → (I,S)), see Fig.6, right column. In addition to the previous parameters, we use a mean goal γ = 0.7, shown to be optimal in our survey (Sec. 5.1.2). As visible, especially for frames 2659 and 2709, the intensity is more uniform now; in addition, the tone fluctuations are low, thanks to our method. All in all, we conclude that the combination (A,P) → (I,S) is indeed a good way to stabilize both intensity and tone fluctuations.
Quantitative evaluation
56The qualitative evaluation of the various combinations of methods and parameters in Sec. 5.1 has empirically found good parameter values that yield images perceived by users as stabilized. However, as explained already in Sec. 1, stabilization should not create artifacts which could lead to misinterpretation of the imaged tissue structures. Formally put, stabilization can be thought of a function Φ(γ, a, I input ) = I stabilized original γ = 0.6, a = 0.02 γ = 0.7, a = 0.04 γ = 0.8, a = 0.08 γ = 0.9, a = 0.16 γ = 1, a = 0.32 A → I 6 / 6 18 / 7 40 / 12 24 / 3 2 / 0 0 / 0 A → (I,S) 5 / 5 14 / 5 55 / 17 16 / 3 0 / 0 0 / 0 P → I 11 / 7 41 / 4 28 / 6 7 / 0 3 / 2 0 / 0 P → (I,S) 9 / 7 41 / 7 30 / 2 8 / 1 2 / 0 0 / 0 (A,P) → I 8 / 7 50 / 6 21 / 3 11 / 1 0 / 0 0 / 0 (A,P) → (I,S) 8 / 7 57 / 7 23 / 6 2 / 0 0 / 0 0 / 0 from images to images which aims to maximize both the temporal stability of intensity and tones and in the same time minimize the perceptual difference between the original and stabilized images. The behavior of this function is driven by our method's free parameters, of which the most important are the goal mean γ (for Anbarjafari) and the compression a (for our histogram-based compression). To study how Φ affects image similarity, we need a way to compare I input and I stabilized . For this, similarly to (Moradi et al., 2015), we use the peak-to-signal noise ratio (PSNR) and structural similarity index (SSIM) metrics, well known in image processing. For 8-bit-per-channel images like ours, typical PSNR values for good similarity are between 30 and 50 dB, where higher is better (Huynh-Thu and Ghanbari, 2008). SSIM ranges between -1 and 1 where higher is better (1 denotes identical images) (Wang et al., 2004). Figure 7 shows the plots of the PSNR and SSIM similarity metrics between the original endoscopy images I input and the stabilized ones I stabilized as function of the key parameters γ (for Anbarjafari) and a (for our method), for the set of images used in our qualitative analysis (see Sec. 5.1.1), and for fixed values of k = 20 and c = 0.4. As methods, we considered Anbarjafari applied on intensity (A → I) and separately on saturation (A → S), and our method applied on intensity (P → I) and separately on saturation (P → S). From these plots we make the following observations. Quality: The A → I method peaks for both PSNR and SSIM at γ very close to 0.5, i.e., the mean intensity of I input . This is expected: If the goal mean equals the original mean, no correction needs to be done, as I stabilized is identical to I input . In contrast, A → S peaks at values around γ = 0.7. This matches very well the optimal γ values found in our qualitative study (Sec. 5.1). Hence, the γ values found best by users to explore the images is also the one where the least changes are done by stabilization. Moreover, the maximal PSNR values (over 50 dB) and SSIM values (close to 1) indicate that our stabilization looses very little from the original image features. Separately, we see that both SSIM and PSNR have very good values for a close to 0.04, which was found earlier in our qualitative studies to yield a very good tone stabilization (Secs. 5.1.2 and 5.1.3). This confirms that our preset a = 0.04 is indeed a good one.
57Intensity vs saturation stabilization: The plots for A → I and A → S are very similar in shape and magnitude. This matches our earlier qualitative finding that the Anbarjafari method can be used to stabilize both intensity and saturation (Sec. 5.1). In contrast, the plot for P → S is always larger than P → I. This means that our proposed method P is better at stabilizing saturations (tones) than intensities, which again correlates with our qualitative findings.
58Parameter sensitivity: The plots for A → I and A → S have overall quite high derivatives close to the maximum, while the plots for P → I and P → S show a much more stable, and actually monotonic, variation. This tells that setting the compression a for the P method is less sensitive than setting the mean goal γ for the A method. However, this does not mean that tuning γ is sensitive: As explained above, we obtain a very good image quality for values around γ = 0.5 for the method A → I, and respectively for values around γ = 0.7 for the method A → P. All in all, we conclude that parameter setting is not a sensitive process.
59Consistency and smoothness: Across the five frames, plots for the same method are very similar in shape, position, and peak location. This is a very desirable, as it indicates that optimal parameter values are consistent for quite different input images. Taking also into account the earlier parameter sensitivity analysis, the parameter presets proposed in Sec. 5.1 can be indeed used as default values for entire videos. This makes our proposal basically parameter-free. Secondly, the plots are smooth, with no jitters. This is also good as it indicates that small parameter-value changes will not massively affect the image similarity. Hence, our method is robust vs parameter changing, if users really desire to change the preset values.
Conclusions
60We have proposed a new algorithm for jointly stabilizing the intensity and tone (hue) of endoscopy videos. The algorithm stabilizes images in the intensity channel by brightening dark areas and darkening too bright areas, and in the tone channel by minimizing tone fluctuations between temporally close frames. Our method is simple to implement, works at the same speed as the pill camera frame acquisition rate, has no free parameters that users should set, delivers consistent results for a wide variety of frames found in endoscopy videos, and alters only minimally the input images, thereby minimizing the risk of creating misleading artifacts. Summarizing, we outline the following main contributions:
61Survey: To our knowledge, our work is the first in which a large set (10) of imaging methods was studied for suitability for the specific case of endoscopy video stabilization, from a practical perspective including validation, reproductibility, computational complexity, and ease of use.
62Joint stabilization: While several methods perform intensity stabilization, we show how both intensity and tone can be jointly stabilized. For the former, we use an existing method (Anbarjafari, 2014). For the latter, we propose a simple but efficient method based on histogram compression.
63Validation: Compared to existing work, we propose a significantly more thorough validation including the combination of several method types applied on intensity and/or saturation; a comprehensive user study for determining good method combinations and parameter values; and a quantitative evaluation that shows that parameter presets can be found which match the values suggested by our qualitative study and also minimally affect image quality. This makes our method fully parameter-free and guarantees its output quality. Separately, we showed that our method can be easily implemented so as to generate stabilized images at the same rate as the pill-camera acquisition rate.
64Limitations: Our search of the algorithm-and-parameter space presented here is, of course, not exhaustive. More combinations methods and parameter values exist which, for full γ for A ➞ I γ for A ➞ S a for P ➞ I a for P ➞ S PSNR, frame 4765 γ for A ➞ I γ for A ➞ S a for P ➞ I a for P ➞ S 60 PSNR, frame 6900 γ for A ➞ I γ for A ➞ S a for P ➞ I a for P ➞ S 60 PSNR, frame 8096 γ for A ➞ I γ for A ➞ S a for P ➞ I a for P ➞ S 60 SSIM, frame 3515 γ for A ➞ I γ for A ➞ S a for P ➞ I a for P ➞ S
SSIM, frame 4765
65γ for A ➞ I γ for A ➞ S a for P ➞ I a for P ➞ S SSIM, frame 6900 γ for A ➞ I γ for A ➞ S a for P ➞ I a for P ➞ S PSNR, frame 8096 γ for A ➞ I γ for A ➞ S a for P ➞ I a for P ➞ S Figure 7: PSNR and SSIM image-similarity plots for several frames from Fig. 1 processed with Anbarjafari and our method. The horizontal axis denotes either the goal mean γ or the compression factor a depending on the graph type.
66confidence in the results, should be assessed. However, given the observed consistency of our results so far on an already quite large 'search space', we expect these to extrapolate further. It is also fair to say that our current evaluation level already surpasses what one typically encounters in endoscopy video stabilization papers. Separately, one can argue that the differences between the original and stabilized images are quite small, so the entire stabilization process is not worthwhile. However, when watching the actual stabilized videos, these differences are well visible, and moreover show that the stabilized material is easier to follow. Several future work directions exist. As always, more extensive evaluations can be made to compare our proposal with additional color stabilization methods, using more videos, or a larger set of users. Separately, machine learning techniques could be used to perform a more fine-grained stabilization based on images or image regions labeled by users as requiring brightening, for example. Finally, our method could be made to work in true real time (tens of frames per second) by parallelizing the expensive histogram computation on the GPU.
참고문헌 14건
- Improving visual quality in wireless capsule endoscopy images with contrast-limited adaptive histogram equalization 2015 10.1109/pria.2015.7161645
- Efficient color image contrast enhancement using Range Limited Bi-Histogram Equalization with Adaptive Gamma Correction 2015 10.1109/iic.2015.7150733
- Color Stabilization Along Time and Across Shots of the Same Scene, for One or Several Cameras of Unknown Specifications IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2014 10.1109/tip.2014.2344312
- A Multidimensional Histogram Equalization by Fitting an Isotropic Gaussian Mixture to a Uniform Distribution International Conference on Image Processing · 2006 10.1109/icip.2006.313027
- Capsule endoscopy: Current practice and future directions World Journal of Gastroenterology · Baishideng Publishing Group · 2014 10.3748/wjg.v20.i24.7752
- Tonal stabilization of video 2011 10.1145/1964921.1964984
- Video Tonal Stabilization via Color States Smoothing IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2014 10.1109/tip.2014.2358880
- Computational Color Constancy: Survey and Experiments IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2118224
- Scope of validity of PSNR in image/video quality assessment Electronics Letters · Institution of Engineering and Technology · 2008 10.1049/el:20080522
- Image quality assessment: from error visibility to structural similarity IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2004 10.1109/tip.2003.819861
- Color image histogram equalization by absolute discounting back-off Computer Vision and Image Understanding · Elsevier BV · 2007 10.1016/j.cviu.2006.11.012
- Electronic Endoscopy of the Gastrointestinal Tract Endoscopy · Thieme Medical Publishers (Germany) · 1984 10.1055/s-2007-1018518
- Color image enhancement based on Hue differential histogram equalization 2021 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS) · 2016 10.1109/ispacs.2016.7824720
- Luminance-Based Multi-Scale Retinex 1997