|  | aimsdata
    5.1.2
    Neuroimaging data handling | 
The template class to merge data and byte label data. More...
#include <aims/utility/merge.h>
| Public Member Functions | |
| Constructor and destructor | |
| AimsMerge (merge_t type, T value=0, U label=0) | |
| The programmer must provide a type of merging.  More... | |
| virtual | ~AimsMerge () | 
| Destructor does nothing.  More... | |
| Methods | |
| merge_t | _type | 
| Merging type.  More... | |
| T | _value | 
| Merging value.  More... | |
| U | _label | 
| Label to consider.  More... | |
| carto::VolumeRef< T > | operator() (const carto::rc_ptr< carto::Volume< T > > &data, const carto::rc_ptr< carto::Volume< U > > &mask) | 
| Return the result of the merge of a data and a byte label data.  More... | |
The template class to merge data and byte label data.
There are 5 different types of merging :\ \- AIMS_MERGE_SAME_VALUES \- AIMS_MERGE_ONE_TO_ONE \- AIMS_MERGE_ALL_TO_ONE \- AIMS_MERGE_ONE_TO_MAXP1 \- AIMS_MERGE_ALL_TO_MAXP1
| 
 | inline | 
Return the result of the merge of a data and a byte label data.
Definition at line 106 of file merge.h.
References AIMS_MERGE_ALL_TO_MAXP1, AIMS_MERGE_ALL_TO_ONE, AIMS_MERGE_ONE_TO_MAXP1, AIMS_MERGE_ONE_TO_ONE, AIMS_MERGE_SAME_VALUES, ASSERT, carto::VolumeRef< class >::begin(), carto::VolumeRef< class >::deepcopy(), carto::VolumeRef< class >::end(), aims::mask(), and carto::VolumeRef< class >::max().
| 
 | protected | 
| 
 | protected |