remove holes and spikes from surfplot
이전 댓글 표시
i have data wich makes my surfplot witch huge spikes and with holes (NaN) how can i remove the spikes and holes and make the surfplot look smooth?
답변 (2개)
Image Analyst
2011년 9월 26일
0 개 추천
Maybe try replacing outliers with the median value in the neighborhood.
Bjorn Gustavsson
2011년 9월 26일
0 개 추천
To remove the nan-s use one of the inpaint-tools found on the matlab file exchange. Search for both inpaint_nans and inpaint.
To remove spikes use medfilt2, or if you do not have access to that function, use medfilt1 in both directions.
HTH.
카테고리
도움말 센터 및 File Exchange에서 Smoothing and Denoising에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!