Luminosity and contrast adjustment of fundus images with reflectance
This paper presents an automatic correction method for luminosity and contrast variation in fundus images. Sixty retina or fundus images with different levels of reflectance are selected from online databases and used to assess the effectiveness of the proposed method. There are five stages in the a...
Saved in:
Main Authors: | , , |
---|---|
Format: | Article |
Published: |
MDPI
2023
|
Subjects: | |
Online Access: | http://eprints.um.edu.my/38479/ |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
id |
my.um.eprints.38479 |
---|---|
record_format |
eprints |
spelling |
my.um.eprints.384792024-11-10T04:55:55Z http://eprints.um.edu.my/38479/ Luminosity and contrast adjustment of fundus images with reflectance AlRowaily, Mofleh Hannuf Arof, Hamzah Ibrahim, Imanurfatiehah TK Electrical engineering. Electronics Nuclear engineering This paper presents an automatic correction method for luminosity and contrast variation in fundus images. Sixty retina or fundus images with different levels of reflectance are selected from online databases and used to assess the effectiveness of the proposed method. There are five stages in the approach, and they are image input, filtering, luminosity correction, histogram stretching and post-processing. First, a color fundus image is read as input, and its three color components, red (R), green (G) and blue (B), are separated into different channels or arrays. Next, the eye region, or the region of interest (ROI), is identified along with its border via thresholding. After that, the original ratios of red-to-green and blue-to-green for every pixel in the ROI are computed and kept together with copies of the three channels. Then, the ROI for the three channels is subjected to lowpass filtering, row-wisely in the horizontal direction and column-wisely in the vertical direction, to create a smooth background luminosity surface. This surface does not contain foreground objects such as blood vessels, optic discs, lesions, microaneurysms and others. Three lowpass filters are tested for this purpose, and their efficacy is compared. The outcome is a smooth luminosity surface that estimates the background illumination of the entire ROI. Once the background illumination is established, the luminosity is equalized for all pixels in the ROI, such that every pixel will have the same background brightness. Afterward, the histogram of the ROI is stretched or equalized to enhance the contrast between the foreground objects and the background. Next, the green channel is further improved by adding details from the blue and red channels. Finally, in the post-filtering stage, the intensities of the blue and red channels are adjusted according to their original ratios to the green channel. When all three channels are recombined, the resulting color image looks similar to the original image but shows improved luminosity and contrast. The method is tested on 60 test images. It reduces luminosity variation and increases the contrast of all images. On average, this method achieves a 30% reduction in luminosity variation and a 90% increment in contrast. The proposed method was executed on AMD 5900HS CPU using MATLAB R2021b, and the mean execution time was nearly 2 s on average. MDPI 2023-03 Article PeerReviewed AlRowaily, Mofleh Hannuf and Arof, Hamzah and Ibrahim, Imanurfatiehah (2023) Luminosity and contrast adjustment of fundus images with reflectance. Applied Sciences-Basel, 13 (5). ISSN 2076-3417, DOI https://doi.org/10.3390/app13053312 <https://doi.org/10.3390/app13053312>. 10.3390/app13053312 |
institution |
Universiti Malaya |
building |
UM Library |
collection |
Institutional Repository |
continent |
Asia |
country |
Malaysia |
content_provider |
Universiti Malaya |
content_source |
UM Research Repository |
url_provider |
http://eprints.um.edu.my/ |
topic |
TK Electrical engineering. Electronics Nuclear engineering |
spellingShingle |
TK Electrical engineering. Electronics Nuclear engineering AlRowaily, Mofleh Hannuf Arof, Hamzah Ibrahim, Imanurfatiehah Luminosity and contrast adjustment of fundus images with reflectance |
description |
This paper presents an automatic correction method for luminosity and contrast variation in fundus images. Sixty retina or fundus images with different levels of reflectance are selected from online databases and used to assess the effectiveness of the proposed method. There are five stages in the approach, and they are image input, filtering, luminosity correction, histogram stretching and post-processing. First, a color fundus image is read as input, and its three color components, red (R), green (G) and blue (B), are separated into different channels or arrays. Next, the eye region, or the region of interest (ROI), is identified along with its border via thresholding. After that, the original ratios of red-to-green and blue-to-green for every pixel in the ROI are computed and kept together with copies of the three channels. Then, the ROI for the three channels is subjected to lowpass filtering, row-wisely in the horizontal direction and column-wisely in the vertical direction, to create a smooth background luminosity surface. This surface does not contain foreground objects such as blood vessels, optic discs, lesions, microaneurysms and others. Three lowpass filters are tested for this purpose, and their efficacy is compared. The outcome is a smooth luminosity surface that estimates the background illumination of the entire ROI. Once the background illumination is established, the luminosity is equalized for all pixels in the ROI, such that every pixel will have the same background brightness. Afterward, the histogram of the ROI is stretched or equalized to enhance the contrast between the foreground objects and the background. Next, the green channel is further improved by adding details from the blue and red channels. Finally, in the post-filtering stage, the intensities of the blue and red channels are adjusted according to their original ratios to the green channel. When all three channels are recombined, the resulting color image looks similar to the original image but shows improved luminosity and contrast. The method is tested on 60 test images. It reduces luminosity variation and increases the contrast of all images. On average, this method achieves a 30% reduction in luminosity variation and a 90% increment in contrast. The proposed method was executed on AMD 5900HS CPU using MATLAB R2021b, and the mean execution time was nearly 2 s on average. |
format |
Article |
author |
AlRowaily, Mofleh Hannuf Arof, Hamzah Ibrahim, Imanurfatiehah |
author_facet |
AlRowaily, Mofleh Hannuf Arof, Hamzah Ibrahim, Imanurfatiehah |
author_sort |
AlRowaily, Mofleh Hannuf |
title |
Luminosity and contrast adjustment of fundus images with reflectance |
title_short |
Luminosity and contrast adjustment of fundus images with reflectance |
title_full |
Luminosity and contrast adjustment of fundus images with reflectance |
title_fullStr |
Luminosity and contrast adjustment of fundus images with reflectance |
title_full_unstemmed |
Luminosity and contrast adjustment of fundus images with reflectance |
title_sort |
luminosity and contrast adjustment of fundus images with reflectance |
publisher |
MDPI |
publishDate |
2023 |
url |
http://eprints.um.edu.my/38479/ |
_version_ |
1816130400459685888 |
score |
13.214268 |