inpaint_nans
by John D'Errico
29 Feb 2004
(Updated 28 Jun 2006)
Code covered by BSD License
Interpolates (& extrapolates) NaN elements in a 2d array.
Editor's Notes:
This is a File Exchange Select file.
Select files are submissions that have been peer-reviewed and approved as meeting a high standard of utility and quality.
Download Now
|
Watch this File
|
| File Information |
| Description |
Interpolate NaN elements in a 2-d array using non-NaN elements. Can also extrapolate, as it does not use a triangulation of the data. Inpaint_nans offers several different approaches to the interpolation, which give tradeoffs in accuracy versus speed and memory required. All the methods currently found in inpaint_nans are based on sparse linear algebra and PDE discretizations. In essence, a PDE is solved to be consistent with the information supplied. |
| Acknowledgements |
This submission has inspired the following:
Inpainting nan elements in 3-d
|
| MATLAB release |
MATLAB 5.2 (R10)
|
| Other requirements |
Written in version 5.2, tested up to release 14 SP1 |
| Zip File Content |
|
| Published M Files |
inpaint_nans_demo
|
| Other Files |
Inpaint_nans/.DS_Store, Inpaint_nans/garden50.jpg, Inpaint_nans/inpaint_nans.m, Inpaint_nans/monet_adresse.jpg, Inpaint_nans/demo/.DS_Store, Inpaint_nans/demo/inpaint_nans_demo.m, Inpaint_nans/doc/Nomination comments.rtf, Inpaint_nans/doc/methods_of_inpaint_nans.m, Inpaint_nans/test/.DS_Store, Inpaint_nans/demo/html/inpaint_nans_demo_05.png, Inpaint_nans/demo/html/inpaint_nans_demo_06.png, Inpaint_nans/demo/html/inpaint_nans_demo.png, Inpaint_nans/demo/html/inpaint_nans_demo_01.png, Inpaint_nans/demo/html/inpaint_nans_demo_02.png, Inpaint_nans/demo/html/inpaint_nans_demo_03.png, Inpaint_nans/demo/html/inpaint_nans_demo_04.png, Inpaint_nans/test/test_main.m
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (38) |
| 03 Mar 2004 |
Urs Schwarz (us)
|
|
|
| 28 Jun 2004 |
Evan Zamir
|
|
|
| 10 Aug 2004 |
Tom Reiser
|
|
|
| 29 Oct 2004 |
d d
|
|
|
| 30 Oct 2004 |
jing tian
|
|
|
| 06 Dec 2004 |
gok gok
|
|
|
| 14 Feb 2005 |
K. Sturm
|
|
|
| 16 Jun 2005 |
Cris C.
|
|
|
| 19 Apr 2006 |
sacrosancttayyar sacrosancttayyar
|
|
|
| 21 Apr 2006 |
Rajeev Srivastava
|
|
|
| 21 Apr 2006 |
Ian Howat
|
|
|
| 31 Aug 2006 |
Mike Kadour
|
|
|
| 13 Oct 2006 |
mario fiorini
|
|
|
| 17 Jan 2007 |
Amar chawla
|
|
|
| 24 Sep 2007 |
Emily Spahn
|
|
|
| 31 Oct 2007 |
martin klöppel
|
|
|
| 30 Dec 2007 |
Sara Alexander
|
|
|
| 08 Feb 2008 |
D. G.
|
|
|
| 08 Mar 2008 |
Carlos Adrián Vargas Aguilera
|
|
|
| 16 Apr 2008 |
Bob Field
|
|
|
| 13 Aug 2008 |
E E
|
|
|
| 16 Sep 2008 |
Sherif Abd El-Gawad
|
|
|
| 07 Oct 2008 |
Frederic Moisy
|
|
|
| 16 Dec 2008 |
M P
|
|
|
| 16 Dec 2008 |
Kenneth Eaton
|
|
|
| 19 Dec 2008 |
M P
|
|
|
| 19 Dec 2008 |
V. Poor
|
|
|
| 19 Dec 2008 |
alain boyer
|
|
|
| 19 Dec 2008 |
Kenneth Eaton
|
|
|
| 19 Dec 2008 |
M P
|
|
|
| 19 Dec 2008 |
Kenneth Eaton
|
|
|
| 14 Jan 2009 |
C Schwalm
|
|
|
| 24 Mar 2009 |
Karel
|
|
|
| 28 Mar 2009 |
Stuart
|
|
|
| 25 May 2009 |
Stefan
|
|
|
| 25 May 2009 |
Stefan
|
|
|
| 09 Jun 2009 |
Andrey Rubshtein
|
|
|
| 28 Sep 2009 |
Jon
|
|
|
| Updates |
| 18 Jul 2005 |
This version of inpaint_nans will also handle
inpainting (interpolating/extrapolating) simple
vectors with NaN elements. |
| 17 Apr 2006 |
Release 2:
Bug fix for method 5. Clean up help. Add HTML, screenshot, examples, demo comparison to griddata. |
| 28 Jun 2006 |
Created Select directory structure |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com