#include <Segmentation.h>
| Public Methods | |
| Segmentation (const VolumetricData *map, bool cuda=true) | |
| Creates a segmentation object given a 3D float array and volumetric metadata. Optional argument to disable CUDA. More... | |
| Segmentation (float *data, molfile_volumetric_t *metatdata, bool cuda=true) | |
| Creates a segmentation object given a 3D float array and volumetric metadata. Optional argument to disable CUDA. More... | |
| Segmentation (unsigned short *data, molfile_volumetric_t *metatdata, bool cuda=true) | |
| Segmentation (unsigned char *data, molfile_volumetric_t *metatdata, bool cuda=true) | |
| ~Segmentation () | |
| double | segment (int num_final_groups, float watershed_blur_sigma, float blur_initial_sigma, float blur_multiple, MERGE_POLICY policy, const bool verbose=true) | 
| Runs the segmentation algorithm until there are <= num_final_groups. More... | |
| template<typename OUT_T> void | get_results (OUT_T *results) | 
| Copies the segmentation into the provided results array. Can be of type int, short, or (legacy) float. More... | |
| unsigned long | get_num_groups () | 
| Returns the number of groups in the segmentation. More... | |
Definition at line 36 of file Segmentation.h.
| 
 | ||||||||||||
| Creates a segmentation object given a 3D float array and volumetric metadata. Optional argument to disable CUDA. 
 Definition at line 50 of file Segmentation.C. References VolumetricData::data, PROFILE_POP_RANGE, PROFILE_PUSH_RANGE, VolumetricData::xsize, VolumetricData::ysize, and VolumetricData::zsize. | 
| 
 | ||||||||||||||||
| Creates a segmentation object given a 3D float array and volumetric metadata. Optional argument to disable CUDA. 
 Definition at line 105 of file Segmentation.C. References data, PROFILE_POP_RANGE, and PROFILE_PUSH_RANGE. | 
| 
 | ||||||||||||||||
| 
 Definition at line 119 of file Segmentation.C. References data, PROFILE_POP_RANGE, and PROFILE_PUSH_RANGE. | 
| 
 | ||||||||||||||||
| 
 Definition at line 132 of file Segmentation.C. References data, PROFILE_POP_RANGE, and PROFILE_PUSH_RANGE. | 
| 
 | 
| 
 Definition at line 146 of file Segmentation.C. References NULL. | 
| 
 | 
| Returns the number of groups in the segmentation. 
 Definition at line 406 of file Segmentation.C. Referenced by segment_volume. | 
| 
 | ||||||||||
| Copies the segmentation into the provided results array. Can be of type int, short, or (legacy) float. 
 Definition at line 413 of file Segmentation.C. References PROFILE_POP_RANGE, and PROFILE_PUSH_RANGE. Referenced by segment_volume. | 
| 
 | ||||||||||||||||||||||||||||
| Runs the segmentation algorithm until there are <= num_final_groups. 
 Definition at line 169 of file Segmentation.C. References MERGE_POLICY, PROFILE_POP_RANGE, PROFILE_PUSH_RANGE, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_stop, wkf_timer_time, and wkf_timerhandle. Referenced by segment_volume. | 
 1.2.14 written by Dimitri van Heesch,
 © 1997-2002
1.2.14 written by Dimitri van Heesch,
 © 1997-2002