Functions | |
| template<class VOXEL> | |
| void | i3d::Negative (Image3d< VOXEL > &img) |
| template<class VOXELIN, class VOXELOUT> | |
| void | i3d::SemiThreshold (const Image3d< VOXELIN > &imgin, Image3d< VOXELOUT > &imgout, VOXELIN t) |
| template<class T> | |
| void | i3d::Threshold (Image3d< T > &i, T t1, T t2=std::numeric_limits< T >::max(), T lower_value=std::numeric_limits< T >::min(), T upper_value=std::numeric_limits< T >::max()) |
| template<class VOXELIN, class VOXELOUT> | |
| void | i3d::Threshold (const Image3d< VOXELIN > &imgin, Image3d< VOXELOUT > &imgout, VOXELIN t1, VOXELIN t2=std::numeric_limits< VOXELIN >::max()) |
| template<class T, class OUTVOXEL, class TF> | |
| void | i3d::LocalThreshold (const Image3d< T > &, Image3d< OUTVOXEL > &, size_t nx, size_t ny, size_t nz, const TF &) |
| I3D_DLLEXPORT void i3d::Negative | ( | Image3d< VOXEL > & | img | ) | [inline] |
| I3D_DLLEXPORT void i3d::SemiThreshold | ( | const Image3d< VOXELIN > & | imgin, | |
| Image3d< VOXELOUT > & | imgout, | |||
| VOXELIN | t | |||
| ) | [inline] |
Set intensities of voxels whose intensities are lower or equal to `t` to minimun.
The rest ot htem is left unchanged.
| I3D_DLLEXPORT void i3d::Threshold | ( | Image3d< T > & | img, | |
| T | t1, | |||
| T | t2, | |||
| T | lower_value, | |||
| T | upper_value | |||
| ) | [inline] |
| I3D_DLLEXPORT void i3d::Threshold | ( | const Image3d< VOXELIN > & | imgin, | |
| Image3d< VOXELOUT > & | imgout, | |||
| VOXELIN | t1, | |||
| VOXELIN | t2 | |||
| ) | [inline] |
Thresholding with creation of a new image, possibly of other voxel type.
| I3D_DLLEXPORT void i3d::LocalThreshold | ( | const Image3d< T > & | , | |
| Image3d< OUTVOXEL > & | , | |||
| size_t | nx, | |||
| size_t | ny, | |||
| size_t | nz, | |||
| const TF & | ||||
| ) | [inline] |
Perform local thresholding on image in and store its result to binary image out.
The image is devided to nx*ny*nz subregions and a threshold is computed for each such subregion by the threshold finder (see above). An individual threshold for each voxel is computed from the computed thresholds by trilinear interpolation.
1.5.4