Definition in file vil3d_sample_profile_trilin.txx.
#include "vil3d_sample_profile_trilin.h"
#include <vil3d/vil3d_trilin_interp.h>
Go to the source code of this file.
Defines | |
| #define | VIL3D_SAMPLE_PROFILE_TRILIN_INSTANTIATE(imType, vecType) |
Functions | |
| bool | vil3d_profile_in_image (double x0, double y0, double z0, double x1, double y1, double z1, const vil3d_image_view_base &image) |
| template<class imType, class vecType> | |
| void | vil3d_sample_profile_trilin (vecType *v, const vil3d_image_view< imType > &image, double x0, double y0, double z0, double dx, double dy, double dz, unsigned n) |
| Sample along profile, using safe trilinear interpolation. | |
| template<class imType, class vecType> | |
| void | vil3d_sample_profile_trilin_extend (vecType *v, const vil3d_image_view< imType > &image, double x0, double y0, double z0, double dx, double dy, double dz, unsigned n) |
| Sample along profile, using safe-extend trilinear interpolation. | |
| #define VIL3D_SAMPLE_PROFILE_TRILIN_INSTANTIATE | ( | imType, | |||
| vecType | ) |
Value:
template void vil3d_sample_profile_trilin(vecType* v, \ const vil3d_image_view<imType >& image, \ double x0, double y0, double z0,\ double dx, double dy, double dz,\ unsigned n); \ template void vil3d_sample_profile_trilin_extend(vecType* v, \ const vil3d_image_view<imType >& image, \ double x0, double y0, double z0,\ double dx, double dy, double dz,\ unsigned n)
Definition at line 164 of file vil3d_sample_profile_trilin.txx.
| bool vil3d_profile_in_image | ( | double | x0, | |
| double | y0, | |||
| double | z0, | |||
| double | x1, | |||
| double | y1, | |||
| double | z1, | |||
| const vil3d_image_view_base & | image | |||
| ) | [inline] |
Definition at line 13 of file vil3d_sample_profile_trilin.txx.
| void vil3d_sample_profile_trilin | ( | vecType * | v, | |
| const vil3d_image_view< imType > & | image, | |||
| double | x0, | |||
| double | y0, | |||
| double | z0, | |||
| double | dx, | |||
| double | dy, | |||
| double | dz, | |||
| unsigned | n | |||
| ) | [related] |
Sample along profile, using safe trilinear interpolation.
Profile points are along the line between p0 and p1 (in image co-ordinates). Vector v is resized to n*np elements, where np=image.n_planes(). v[0]..v[np-1] are the values from point p Points outside image return zero.
Definition at line 39 of file vil3d_sample_profile_trilin.txx.
| void vil3d_sample_profile_trilin_extend | ( | vecType * | v, | |
| const vil3d_image_view< imType > & | image, | |||
| double | x0, | |||
| double | y0, | |||
| double | z0, | |||
| double | dx, | |||
| double | dy, | |||
| double | dz, | |||
| unsigned | n | |||
| ) | [related] |
Sample along profile, using safe-extend trilinear interpolation.
Profile points are along the line between p0 and p1 (in image co-ordinates). Vector v is resized to n*np elements, where np=image.n_planes(). v[0]..v[np-1] are the values from point p Points outside image return zero.
Definition at line 104 of file vil3d_sample_profile_trilin.txx.
1.5.1