Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Improve the Luminosity As you probably noticed, the image you obtained after demosaicing is quite dark. Apply a gamma correction I suggest gamma =

Improve the Luminosity
As you probably noticed, the image you obtained after demosaicing is quite dark. Apply a gamma correction I suggest \gamma =0.3, and not to normalize using np.min and np.max but np.percentile with values of 0.01 and 99.99.
Evaluate at least one other curve than y = x\gamma .
Hint: use the percentiles to normalize data in [0,1] as you would normally do with min and max (set negative values to 0, and values greater than 1 to 1), apply the gamma correction, and invert the transform to get back the the previous range of values.
Hint: here is how to use the percentile approach:
a = np.percentile(data,0.01)
b = np.percentile(data,99.99)
data =(data - a)/(b-a)
data[data<0]=0
data[data>1]=1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 Tsukuba Japan April 2010 Proceedings Part 1 Lncs 5981

Authors: Hiroyuki Kitagawa ,Yoshiharu Ishikawa ,Wenjie Li ,Chiemi Watanabe

2010th Edition

3642120253, 978-3642120251

More Books

Students also viewed these Databases questions

Question

Subtract 67F 2A4.

Answered: 1 week ago

Question

Explain the basic steps in the communication process.

Answered: 1 week ago