java采购供应平台源码归因
MBProgressHUD
The
MIT
License
Copyright
(c)
2009
matej
Permission
is
hereby
granted,
free
of
charge,
to
any
person
obtaining
a
copy
of
this
software
and
associated
documentation
files
(the
"Software"),
to
deal
in
the
Software
without
restriction,
including
without
limitation
the
rights
to
use,
copy,
modify,
merge,
publish,
distribute,
sublicense,
and/or
sell
copies
of
the
Software,
and
to
permit
persons
to
whom
the
Software
is
furnished
to
do
so,
subject
to
the
following
condition
FILLNANS 使用反距离加权替换数组中的所有 NaN。 Y = FILLNANS(X) 通过反距离加权插值替换向量或数组 X 中的所有 NaN: Y = sum(X/D^3)/sum(1/D^3) 其中 D 是从 NaN 节点到所有非 NaN 值 X 的距离(以像素为单位)。远离已知非 NaN 值的值将趋向于所有值的平均值。
Y = FILLNANS(...,'power',p) 在加权函数中使用 p 的幂。 p 值越高,权重越强。
Y = FILLNANS(...,'radius',d) 仅使用 < d 像素远的像素进行加权平均。
注意:与 INVDISTGRID 结合使用可对 x、y、z 数据进行网格化和插值。
另见 INPAINT_NANS