Public Member Functions | Static Public Member Functions | List of all members
mirtk::VoxelReduction Struct Reference

#include <VoxelFunction.h>

Inheritance diagram for mirtk::VoxelReduction:
Inheritance graph
Collaboration diagram for mirtk::VoxelReduction:
Collaboration graph

Public Member Functions

void join (VoxelFunction &)
 Join results.
 
void split (VoxelFunction &)
 Split "constructor".
 
- Public Member Functions inherited from mirtk::VoxelFunction
void join (VoxelFunction &)
 Join results.
 
void split (VoxelFunction &)
 
 VoxelFunction ()
 Default constructor.
 

Static Public Member Functions

static bool IsReduction ()
 
- Static Public Member Functions inherited from mirtk::VoxelFunction
static bool IsReduction ()
 

Additional Inherited Members

- Public Attributes inherited from mirtk::VoxelFunction
const ImageAttributes_Domain
 

Detailed Description

Base class for voxel functions which implement a reduction of voxel values

Voxel functions derived from this base class are run by ParallelForEachVoxel using parallel_reduce instead of parallel_for. Typical voxel reduction functions are unary functions computing image statistics such as the min, max, mean, or variance of voxel values within an image region.

Definition at line 128 of file VoxelFunction.h.

Member Function Documentation

§ IsReduction()

static bool mirtk::VoxelReduction::IsReduction ( )
inlinestatic

Used by ParallelForEachVoxel to determine if voxel function has to be executed using parallel_reduce

Definition at line 132 of file VoxelFunction.h.


The documentation for this struct was generated from the following file: