mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-12 23:46:36 +08:00
Add reference to bicubic interpolation
This commit is contained in:
@@ -179,6 +179,9 @@ cdef inline double bicubic_interpolation(double* image, Py_ssize_t rows,
|
||||
char mode, double cval):
|
||||
"""Bicubic interpolation at a given position in the image.
|
||||
|
||||
Interpolation using Catmull-Rom splines, based on the bicubic convolution
|
||||
algorithm described in _[1].
|
||||
|
||||
Parameters
|
||||
----------
|
||||
image : double array
|
||||
@@ -197,6 +200,12 @@ cdef inline double bicubic_interpolation(double* image, Py_ssize_t rows,
|
||||
value : double
|
||||
Interpolated value.
|
||||
|
||||
References
|
||||
----------
|
||||
.. [1] R. Keys, (1981). "Cubic convolution interpolation for digital image
|
||||
processing". IEEE Transactions on Signal Processing, Acoustics,
|
||||
Speech, and Signal Processing 29 (6): 1153–1160.
|
||||
|
||||
"""
|
||||
|
||||
cdef Py_ssize_t r0 = <Py_ssize_t>r - 1
|
||||
|
||||
Reference in New Issue
Block a user