How can I use the nearest neighbor interpolation and exclude the use of a specific value?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I would like to interpolate using the "nearest" method.
I have an 2D array that has zeros and non zeros.
I would like the interpolation to select the nearest non-zero value.
I have been looking around the matlab forums and have not been able to find a solution.
2 Commenti
Jon
il 17 Mag 2017
Seems ill-posed. If you have a pixel who has 7 nonzero neighbors (all different values) and only one zero neighbor, which of the 7 pixels do you choose?
Risposte (0)
Vedere anche
Categorie
Scopri di più su Interpolation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!