smoothing an image with missing values

2 views (last 30 days)
Hana Elenany
Hana Elenany on 20 Jun 2016
Commented: Hana Elenany on 21 Jun 2016
I want to use this function for smoothing and interpolation https://www.mathworks.com/matlabcentral/fileexchange/25634-fast--n-easy-smoothing
ROBUST smoothing Z = SMOOTHN(...,'robust') carries out a robust smoothing that minimizes the influence of outlying data.An iteration process is used with the 'ROBUST' option, or in the presence of weighted and/or missing values. Z = SMOOTHN(...,OPTIONS) smoothes with the termination parameters specified in the structure OPTIONS. OPTIONS is a structure of optional parameters that change the default smoothing properties. It must be last input argument.
The structure OPTIONS can contain the following fields: OPTIONS.TolZ: Termination tolerance on Z (default = 1e-3), OPTIONS.TolZ must be in ]0,1[ OPTIONS.MaxIter: Maximum number of iterations allowed (default = 100) OPTIONS.Initial: Initial value for the iterative process (default = original data, Y) OPTIONS.Weight: Weight function for robust smoothing:'bisquare' (default), 'talworth' or 'cauchy'
How can I use these structure options? How can I include them in the command line?

Answers (1)

KSSV
KSSV on 21 Jun 2016
  1 Comment
Hana Elenany
Hana Elenany on 21 Jun 2016
Thanks for your reply. I do not need another function, I need to know how to write the command line which enables me to use the structure options in the smoothn function

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!