# Is the interpolation method 'cubic' in georesize function same as bicubic interpolation? Why is the default interpolation method of georesize and geointerp not the same?

5 visualizzazioni (ultimi 30 giorni)
Carrie HE il 6 Mag 2023
Commentato: Carrie HE il 19 Mag 2023
I noticed that the default interpolation method of georesize function is 'cubic' which means cubic interpolation in Help Document. I am curious how it works. Is cubic the same as bicubic interpolation. The Matlab Help says the 'cubic' means Bicubic interpolation in geointerp.　I am wondering íf the cubic method is the same in georesize and geointerp functions.
Another thing I am interested is that why the default interpolation method in georesize and geointerp is not the same. For georesize, it is cubic, while for geointerp it is linear.
Hope someone can solve my questions. I appreciate is so much.
##### 0 CommentiMostra -2 commenti meno recentiNascondi -2 commenti meno recenti

Accedi per commentare.

### Risposte (1)

Muskan il 17 Mag 2023
Hi Carie,
As per my understanding, yes, the 'cubic' interpolation method in the georesize function of the Mapping Toolbox in MATLAB is the same as the bicubic interpolation method in MATLAB.
However, the difference between the 'cubic' interpolation method in georesize and the bicubic interpolation method in MATLAB is very small. In both cases, the cubic spline interpolation uses the same algorithm to approximate pixel values and the difference is only in the number of pixels used in the interpolation.
The default interpolation method in 'georesize' and 'geointerp' functions of the Mapping Toolbox in MATLAB is different because these functions are designed for different use cases.
You can further refer to the following documentation for a better understanding.
Thanks
##### 1 CommentoMostra -1 commenti meno recentiNascondi -1 commenti meno recenti
Carrie HE il 19 Mag 2023

Accedi per commentare.

### Categorie

Scopri di più su Interpolation of 2-D Selections in 3-D Grids 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!

Translated by