#include <Watershed.h>
Public Methods | |
Watershed (unsigned int h, unsigned int w, unsigned int d, bool cuda=true) | |
Creates a watershed object and allocates internal arrays. More... | |
void | getSegmentedVoxels (IMAGE_T *voxels) |
copy segmented group info to given volume XXX this API needs to evolve to a volume of integer types. More... | |
IMAGE_T * | getRawVoxels () |
Returns pointer to the internal intensity array. More... | |
~Watershed () | |
void | watershed (IMAGE_T *image, int imageongpu, GROUP_T *segments, bool verbose=true) |
Runs the watershed algorithm. More... |
Definition at line 196 of file Watershed.h.
|
Creates a watershed object and allocates internal arrays.
Definition at line 63 of file Watershed.C. References NULL. |
|
Definition at line 104 of file Watershed.C. References destroy_gpu, and NULL. |
|
Returns pointer to the internal intensity array.
|
|
copy segmented group info to given volume XXX this API needs to evolve to a volume of integer types.
|
|
Runs the watershed algorithm.
Definition at line 134 of file Watershed.C. References init_gpu_on_device, PROFILE_POP_RANGE, PROFILE_PUSH_RANGE, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_stop, wkf_timer_time, and wkf_timerhandle. |