We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fd65e2 commit f3ed3bcCopy full SHA for f3ed3bc
src/@Image/interp.m
@@ -3,8 +3,20 @@
3
%
4
% V = interp(IMG, X, Y)
5
% V = interp(IMG, X, Y, Z)
6
+% Evaluates the value(s) within the image at the specified position(s),
7
+% in pixel coordinates.
8
+% The positions X, Y (and Z for 3D images) must be specified with numeric
9
+% arrays the same size.
10
+% For scalar images, the result V has the same size as the input arrays.
11
+%
12
% V = interp(IMG, POS)
13
+% Speifies the positions as a N-by-2 or N-by-3 array of coordinates. The
14
+% result V is a N-by-1 numeric array.
15
16
% V = interp(..., 'method')
17
+% Specifies the interpolation method to use. Valid options are the ones
18
+% available for the interp2 and interp3 functions.
19
+% Default is 'linear'.
20
21
% Example
22
% interp
0 commit comments