Pages: [1]   Go Down

Author Topic: Power law transformation using scilab  (Read 4008 times)

sgray

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Power law transformation using scilab
« on: April 16, 2007, 08:13:49 am »

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
Logged
Pages: [1]   Go Up