smoothing an image with missing values

2 次查看(过去 30 天)
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?

回答(1 个)

KSSV
KSSV 2016-6-21
  1 个评论
Hana Elenany
Hana Elenany 2016-6-21
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

请先登录,再进行评论。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by