Detrend img
Jump to navigation
Jump to search
Purpose
Detrends images.
Synopsis
- [dimg, params, fitsurf] = detrend_img(img, order)
Description
Removes a linear or quadratic trend from an image. Inputs are the image to be detrended, (img), and the order of the polynomial to use in detrending, (order) which can be 1, 2 or 3. Outputs are the detrended image (dimg), the parameters used to detrend (params) and the fitted surface (fitsurf).