Re: lightness metric for images



"I convert the image to the L*a*b*, apply a Gaussian filter on the L layer,
compute the average of the filterred L value on the image, and finally use
it as the metric. Does it work?"

Even if I knew your exact purpose, your question is best answered by
experimentation. So what if you reinvent the wheel? I can tell you that
Gaussian blur won't change the overall average.

What most people do to manually adjust contrast and brightness is to look
at the histogram and

1. Subtract a constant so the left part of the histogram is at zero.

followed by

2. Multiply by a constant so the right part is at or slightly above 255.
This is done while inspecting for "blown highlights."

Anomalies such as dead and hot pixels are excluded from consideration
because they do not show well in the histogram graph. In an automated
process, dead and hot pixels can be removed by median filtering, but not
by Gaussian filtering.

Does this help?


.



Relevant Pages

  • Re: Is there a probability distribution that looks similar to the McDonalds M?
    ... shape arises because of the general nature of stock market ... just a linear filtering of e. ... the output of the filter is almost never zero. ... Now to the histogram. ...
    (sci.stat.math)
  • help in interpreting edge detection threshold criteria
    ... I'm referring AK Jain "Fundamentals of Digital Image Processing" to ... gradient by filtering with the filters. ... cumulative histogram of gso that 5 to 10% of pixels with largest ...
    (sci.image.processing)
  • Re: How to downsample a vector?
    ... Yoav Mor wrote: ... screen is 1000 pixels wide and you have a 30000 numbers vector, then 30 successive numbers from you vector will be plotted onto the same column of pixels on your screen. ... Then you can make an estimate how much you can downsample your data. ... No matter what downsample algorithm or filtering you choose... ...
    (comp.soft-sys.matlab)
  • Re: Finally found you
    ... I daresay cyclingforums.com were merely filtering out all the crap, ... you will likely know why usenet is in fact almost dead. ...
    (uk.rec.cycling)
  • Touch screen jitters by one pixel
    ... If I hold the stylus on the touch screen, I can see a jitter of only ... My touch screen driver does already filtering. ... a certain amount of pixels using registry keys under CE6? ...
    (microsoft.public.windowsce.platbuilder)