ramp - remove linear trend from a 2D image
output = ramp(image)
image:: 2D input image
output:: 2D output image from which a 2D plane was subtracted
Parameters a, b, c of a fit of a 2D plane f(x,y) = a*x + b*y + c to input(x,y,) are calculated using an explicit least square solution and te plane is subtracted forming output(x,y) = input(x,y)
Author / Maintainer
Pawel A. Penczek
- category 1
- category 2
- works for most people, has been tested; test cases/examples available.
None. It is perfect.