필터 지우기
필터 지우기

Luminance correction for colored images using SHINE toolbox

조회 수: 16 (최근 30일)
Wieke van Leeuwen
Wieke van Leeuwen 2016년 7월 4일
편집: Rodrigo Souza 2019년 1월 28일
Unable to create colored images with equalized luminance with SHINE toolbox (images I've put in the input folder are colored, however the images in output folder are in grey scale), no error is given.

답변 (2개)

Rodrigo Souza
Rodrigo Souza 2019년 1월 28일
편집: Rodrigo Souza 2019년 1월 28일
Hi all,
I have put together three scripts for calculating (mean and SD), matching or normalizing luminance of colored images (using HSV and CIE Lab color spaces).
They may be specially useful for pupillometry measures of infant research.
The scripts and their descriptions are available at my OSF page: https://osf.io/auzjy/
Hope it helps.

Image Analyst
Image Analyst 2016년 7월 4일
편집: Image Analyst 2016년 9월 19일
I've never heard of the SHINE toolbox. It's not one that the Mathworks sells. Do you have a reference?
To equalize luminance, convert to hsv or lab color space, then set the L or v channel to a constant, then convert back to rgb color space.
  댓글 수: 6
Image Analyst
Image Analyst 2016년 9월 20일
Your code where you computed meanLuminanceValue is not correct. It's just computing the mean of the current image, not of the reference/background image.
Also attach a background image(s) that you use to compute meanLuminanceValue as well as an image or two that you wish to correct/alter to match the luminance of your reference/background images.
ANA BUJAN
ANA BUJAN 2016년 9월 21일
Many thanks for your patience. Yeah, that was the reason why the images remained the same... Nevertheless, I'm not using a specific set of images for computing the meanLuminancevalue, instead I would like to use the whole set of images for doing that. Then, the reference images for computing the mean and for matching the luminance are the same.
I'm attaching five images from my set. Again, thank you.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by