Hi,
I am beginning to use scilab. I am looking to write code toperform a power law transformation of an image. I amtrying to write a function which will take in an image array and the gamma value to be used. i realise the formula to be used is
y
s=c*r where s is the processed pixel value, r is original value, y is the parameter and c is constant usually set to 1. i am having problems achieving this. any help would be gratefully received.
Thanks