smoothn
편집자 메모: This file was selected as MATLAB Central Pick of the Week
SMOOTHN provides a fast, unsupervised and robust discretized spline smoother for data of arbitrary dimension.
SMOOTHN(Y) automatically smoothes the uniformly-sampled array Y. Y can be any N-D multicomponent noisy array (e.g. time series, images, 3D data, 3D vector fields, tensors...).
To smooth a vector field or multi-component data, Y must be a cell array. For example, if you need to smooth a 3-D vectorial flow (Vx,Vy,Vz), use Y = {Vx,Vy,Vz}. The output Z is also a cell array which contains the smoothed components.
SMOOTHN can deal with missing (NaN) values (see screenshot and examples).
SMOOTHN(...,'robust') carries out a robust smoothing that minimizes the influence of outlying data (see screenshot and examples).
SMOOTHN is made unsupervised by the minimization of the generalized cross-validation score.
Enter "help smoothn" in the Matlab command window for complete instructions and 1-D to 3-D examples.
A series of 8 documented examples is available here:
http://www.biomecardio.com/matlab/smoothn_doc.html
-----
When using this algorithm, please refer to these 2 papers:
1) Garcia D. Robust smoothing of gridded data in one and higher dimensions with missing values.
Comput Statist Data Anal, 2010;54:1167-1178
http://www.biomecardio.com/publis/csda10.pdf
2) Garcia D. A fast all-in-one method for automated post-processing of PIV data.
Exp Fluids, 2011;50:1247-1259.
http://www.biomecardio.com/publis/expfluids11.pdf
-----
인용 양식
Damien Garcia (2024). smoothn (https://www.mathworks.com/matlabcentral/fileexchange/25634-smoothn), MATLAB Central File Exchange. 검색 날짜: .
Garcia, Damien. “Robust Smoothing of Gridded Data in One and Higher Dimensions with Missing Values.” Computational Statistics & Data Analysis, vol. 54, no. 4, Elsevier BV, Apr. 2010, pp. 1167–78, doi:10.1016/j.csda.2009.09.020.
Garcia, Damien. “A Fast All-in-One Method for Automated Post-Processing of PIV Data.” Experiments in Fluids, vol. 50, no. 5, Springer Science and Business Media LLC, Oct. 2010, pp. 1247–59, doi:10.1007/s00348-010-0985-y.
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- Sciences > Physics > Fluid Dynamics >
- Signal Processing > Signal Processing Toolbox > Signal Generation and Preprocessing > Smoothing and Denoising >
태그
도움
도움 준 파일: PCG_unwrap_2D(ph_nii, ph_file, mask_nii, max_iter, epsi_con, N), Quick & easy smoothing, Robust smoothing for 1-D to N-D data (easy version of SMOOTHN), PIVsuite
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
2.3 | BSXFUN is no longer used (version thus must be >= R2017) |
||
2.2.1 | verLessThan('matlab','9.2'); instead of verLessThan('matlab','9.1'); |
||
2.2 | - fixed bug in isstruct(varargin{end-1})
|
||
2.1.4.0 | updated links |
||
2.1.3.0 | updated links |
||
2.1.2.0 | updated links |
||
2.1.1.0 | . |
||
2.1.0.0 | minor updates: 1) use narginchk, 2) two warning messages slightly modified |
||
2.0.0.0 | minor update: 1) use narginchk, 2) some warning messages slightly modified |
||
1.37.0.0 | I noticed a minor error in one comment |
||
1.36.0.0 | . |
||
1.35.0.0 | . |
||
1.34.0.0 | Some modifications in the help text |
||
1.33.0.0 | To simplify the syntax, the termination parameters are now in a structure (OPTIONS). |
||
1.32.0.0 | Numerical adjustment in the leverage (for robust smoothing) in the case of unequal spacing increments. |
||
1.31.0.0 | SMOOTHN, by default, assumes that the spacing increments are constant and equal in all the directions (i.e. dx = dy = dz = ...). Spacing increments that differ from one direction to the other can now be used (enter "help smoothn" for details). |
||
1.30.0.0 | There was a non negligible bug in the new SMOOTHN function:
|
||
1.28.0.0 | Update of the help text |
||
1.27.0.0 | A minor bug in the "Initial Guess" criterion has been removed |
||
1.26.0.0 | A bug was present when dealing with complex numbers |
||
1.25.0.0 | A small bug was present in the subfunction InitialGuess (Thank you Jonathan!) |
||
1.24.0.0 | One bug has been fixed. |
||
1.23.0.0 | SMOOTHN now works with multicomponent data (e.g. 3D vector fields) by using cell arrays. See the help text for details. |
||
1.22.0.0 | DCTN and IDCTN are now included in SMOOTHN |
||
1.21.0.0 | some typos |
||
1.20.0.0 | 3 optional weighting functions |
||
1.19.0.0 | 3 optional weighting functions |
||
1.12.0.0 | minor modifications: mlint messages removed |
||
1.11.0.0 | Some options have been removed/added |
||
1.10.0.0 | fix a minor bug with the warning messages |
||
1.9.0.0 | Minor modification in the relaxation factor |
||
1.8.0.0 | A minor bug in error(nargchk(...)) |
||
1.7.0.0 | Gamma was undefined when "isauto" variable was false. |
||
1.6.0.0 | The link to the manuscript has been modified. |
||
1.5.0.0 | A bug has been reported with a smoothness parameter input. Thank you B.S. |
||
1.3.0.0 | Very much faster now with weighted/missing data:
|
||
1.2.0.0 | The "upsample" option has been removed |
||
1.1.0.0 | An example has been added |
||
1.0.0.0 |