17#ifndef __dwi_directions_mask_h__
18#define __dwi_directions_mask_h__
31 namespace Directions {
38 Mask (
const Set& master,
const bool allocator =
false) :
48 void erode (
const size_t iterations = 1);
49 void dilate (
const size_t iterations = 1);
a class for storing bitwise information
size_t size() const
the number of boolean elements in the set
void erode(const size_t iterations=1)
bool is_adjacent(const size_t) const
void dilate(const size_t iterations=1)
Mask(const Set &master, const bool allocator=false)
size_t get_min_linkage(const Mask &)
const Set & get_dirs() const