Matlab Gamma trasform question. One pixel transform.

77 Views Asked by At

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?

1

There are 1 best solutions below

2
On BEST ANSWER

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)