Add new comment

Permalink

Sine values result between -1 to 1. So how to saturate values between 0 and 1 so as to represent grey scale values - 0 being dark and 1 being white.
For ex I have this representation f(m,n) = sin(2*pi*u*m/M + 2*pi*v*n/N)

Unformatted text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.