|
highres-cortex 6.0.4
|
#include <highres-cortex/label_volume.hh>
Public Types | |
| typedef aims::BucketMap< Void > | BucketMap |
| typedef BucketMap::Bucket | Bucket |
| typedef boost::transform_iterator< select1st< BucketMap::value_type >, BucketMap::const_iterator > | const_regions_iterator |
| typedef boost::transform_iterator< select1st< Bucket::value_type >, Bucket::const_iterator > | const_point_iterator |
| Iterator through a Bucket's points (yields Point3d) | |
Public Member Functions | |
| LabelVolume (const carto::VolumeRef< Tlabel > &vol, Tlabel background=0) | |
| virtual | ~LabelVolume () |
| void | merge_regions (Tlabel eating_label, Tlabel eaten_label) |
| void | discard_region (Tlabel label) |
| Tlabel | background_label () const |
| const carto::VolumeRef< Tlabel > & | volume () const |
| BucketMap::size_type | n_regions () const |
| const_regions_iterator | regions_begin () const |
| Iterate through all region labels. | |
| const_regions_iterator | regions_end () const |
| Iterate through all region labels. | |
| BucketMap::size_type | region_size (Tlabel label) const |
| const_point_iterator | region_begin (Tlabel label) const |
| Iterate through the coordinates of a region's voxels. | |
| const_point_iterator | region_end (Tlabel label) const |
| Iterate through the coordinates of a region's voxels. | |
Definition at line 71 of file label_volume.hh.
| typedef BucketMap::Bucket yl::LabelVolume< Tlabel >::Bucket |
Definition at line 75 of file label_volume.hh.
| typedef aims::BucketMap<Void> yl::LabelVolume< Tlabel >::BucketMap |
Definition at line 74 of file label_volume.hh.
| typedef boost::transform_iterator<select1st<Bucket::value_type>, Bucket::const_iterator> yl::LabelVolume< Tlabel >::const_point_iterator |
Iterator through a Bucket's points (yields Point3d)
Definition at line 81 of file label_volume.hh.
| typedef boost::transform_iterator<select1st<BucketMap::value_type>, BucketMap::const_iterator> yl::LabelVolume< Tlabel >::const_regions_iterator |
Definition at line 78 of file label_volume.hh.
|
explicit |
|
inlinevirtual |
Definition at line 84 of file label_volume.hh.
|
inline |
Definition at line 89 of file label_volume.hh.
| void yl::LabelVolume< Tlabel >::discard_region | ( | Tlabel | label | ) |
| void yl::LabelVolume< Tlabel >::merge_regions | ( | Tlabel | eating_label, |
| Tlabel | eaten_label ) |
|
inline |
Definition at line 99 of file label_volume.hh.
|
inline |
Iterate through the coordinates of a region's voxels.
Definition at line 126 of file label_volume.hh.
|
inline |
Iterate through the coordinates of a region's voxels.
Definition at line 135 of file label_volume.hh.
|
inline |
Definition at line 118 of file label_volume.hh.
|
inline |
Iterate through all region labels.
Definition at line 105 of file label_volume.hh.
|
inline |
Iterate through all region labels.
Definition at line 112 of file label_volume.hh.
|
inline |
Definition at line 94 of file label_volume.hh.