|
| 1 | +import numpy |
| 2 | +from typing import ClassVar |
| 3 | + |
| 4 | +BESSEL: _InterpolationType |
| 5 | +BICUBIC: _InterpolationType |
| 6 | +BILINEAR: _InterpolationType |
| 7 | +BLACKMAN: _InterpolationType |
| 8 | +CATROM: _InterpolationType |
| 9 | +GAUSSIAN: _InterpolationType |
| 10 | +HAMMING: _InterpolationType |
| 11 | +HANNING: _InterpolationType |
| 12 | +HERMITE: _InterpolationType |
| 13 | +KAISER: _InterpolationType |
| 14 | +LANCZOS: _InterpolationType |
| 15 | +MITCHELL: _InterpolationType |
| 16 | +NEAREST: _InterpolationType |
| 17 | +QUADRIC: _InterpolationType |
| 18 | +SINC: _InterpolationType |
| 19 | +SPLINE16: _InterpolationType |
| 20 | +SPLINE36: _InterpolationType |
| 21 | + |
| 22 | +class _InterpolationType: |
| 23 | + __members__: ClassVar[dict] = ... # read-only |
| 24 | + BESSEL: ClassVar[_InterpolationType] = ... |
| 25 | + BICUBIC: ClassVar[_InterpolationType] = ... |
| 26 | + BILINEAR: ClassVar[_InterpolationType] = ... |
| 27 | + BLACKMAN: ClassVar[_InterpolationType] = ... |
| 28 | + CATROM: ClassVar[_InterpolationType] = ... |
| 29 | + GAUSSIAN: ClassVar[_InterpolationType] = ... |
| 30 | + HAMMING: ClassVar[_InterpolationType] = ... |
| 31 | + HANNING: ClassVar[_InterpolationType] = ... |
| 32 | + HERMITE: ClassVar[_InterpolationType] = ... |
| 33 | + KAISER: ClassVar[_InterpolationType] = ... |
| 34 | + LANCZOS: ClassVar[_InterpolationType] = ... |
| 35 | + MITCHELL: ClassVar[_InterpolationType] = ... |
| 36 | + NEAREST: ClassVar[_InterpolationType] = ... |
| 37 | + QUADRIC: ClassVar[_InterpolationType] = ... |
| 38 | + SINC: ClassVar[_InterpolationType] = ... |
| 39 | + SPLINE16: ClassVar[_InterpolationType] = ... |
| 40 | + SPLINE36: ClassVar[_InterpolationType] = ... |
| 41 | + __entries: ClassVar[dict] = ... |
| 42 | + def __init__(self, value: int) -> None: ... |
| 43 | + def __eq__(self, other: object) -> bool: ... |
| 44 | + def __hash__(self) -> int: ... |
| 45 | + def __index__(self) -> int: ... |
| 46 | + def __int__(self) -> int: ... |
| 47 | + def __ne__(self, other: object) -> bool: ... |
| 48 | + @property |
| 49 | + def name(self) -> str: ... |
| 50 | + @property |
| 51 | + def value(self) -> int: ... |
| 52 | + |
| 53 | +def resample( |
| 54 | + input_array: numpy.ndarray, |
| 55 | + output_array: numpy.ndarray, |
| 56 | + transform: object, |
| 57 | + interpolation: _InterpolationType = ..., |
| 58 | + resample: bool = ..., |
| 59 | + alpha: float = ..., |
| 60 | + norm: bool = ..., |
| 61 | + radius: float = ..., |
| 62 | +) -> None: ... |
0 commit comments