Profile sampling functions for 3D images. More...
Go to the source code of this file.
Defines | |
| #define | vil3d_sample_profile_trilin_txx_ |
| #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. | |
| template<class imType , class vecType > | |
| void | vil3d_sample_profile_trilin_edgena (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. | |
Profile sampling functions for 3D images.
Definition in file vil3d_sample_profile_trilin.txx.
| #define VIL3D_SAMPLE_PROFILE_TRILIN_INSTANTIATE | ( | imType, | |
| vecType | |||
| ) |
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); \ template void vil3d_sample_profile_trilin_edgena(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 228 of file vil3d_sample_profile_trilin.txx.
| #define vil3d_sample_profile_trilin_txx_ |
Definition at line 3 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 | ||
| ) |
Sample along profile, using safe trilinear interpolation.
Sample along profile, using 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_edgena | ( | 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.
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 NA.
Definition at line 169 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 | ||
| ) |
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.7.5.1