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
provide code

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_2

Step: 3

blur-text-image_3

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 And Expert Systems Applications Dexa 2023 Workshops 34th International Conference Dexa 2023 Penang Malaysia August 28 30 2023 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Maqbool Khan

1st Edition

303139688X, 978-3031396885

More Books

Students also viewed these Databases questions