Clear Filters
Clear Filters

Coor image enhancement in spatial domain

5 views (last 30 days)
ammu bhuvana
ammu bhuvana on 28 Mar 2011
Edited: DGM on 4 Jun 2024
Can any one suggest some matlab code for enhancing luminanace?

Answers (2)

Sean de Wolski
Sean de Wolski on 28 Mar 2011
I don't know but Coors tastes like water. I would recommend changing the taste before trying to enhance the image!

DGM
DGM on 3 Jun 2024
Edited: DGM on 4 Jun 2024
"Enhance" is shorthand for "read my mind and do whatever it is that I want but haven't spent enough thought to formally conceive, let alone describe". Similarly, there's no point in asking for driving directions without saying where specifically you want to go.
To make a point, let's enhance the luminance of a well-known image. In this case, I have long wanted to enhance the luminance of mandrill.jpg. This is a popular standard test image and has been around for a very long time. You might see this image and suspect I would intend to shift some levels or do some subtle contrast improvement in some areas ...
% a standard test image
inpict = imread('mandrill.jpg');
imshow(inpict)
% enhance the luminance for optimal object retention
enhanced = inpict*0;
imshow(enhanced)
... but you don't know how much I hate looking at this goofy image, so you probably didn't guess what I wanted to do.

Community Treasure Hunt

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

Start Hunting!