1

enter image description here

How do I do this question?

For a) I believe the value of $c=\frac{1}{255}$ but I'm not sure. Can anyone help?

George
  • 13

1 Answers1

0

a)

$0 = c \cdot 0^\gamma$

So $c$ doesn't matter (for 0).

$255 = c \cdot 255^\gamma$

$c = \frac{255}{255^\gamma}$

b)

for each $\gamma$:

plot(0:255,(255/255.^gamma)*(0:255).^gamma);

c)

can be taken from the plots from b)

Steffen
  • 236
  • So when $\gamma$ is close to 0, it maps quicker? I don't know how to describe it. The graph is steeper. – George Oct 27 '14 at 16:19
  • The question was, what happens to the image. For gamma very close to zero, all values except for zero values will be mapped to 255. -> Black and white image where only the 0 values from input image are black, rest white. Inverse for large gamma values. – Steffen Oct 27 '14 at 16:25