Classes | Namespaces | Defines | Typedefs | Enumerations | Functions
regions.h File Reference
#include <limits>
#include <map>
#include <set>
#include <vector>
#include <functional>
#include <iostream>
#include "image3d.h"
#include "neighbours.h"
#include "histogram.h"

Classes

class  i3d::ComponentInfo< LABEL, VOXEL >
struct  i3d::volume_less< LABEL, VOXEL >
struct  i3d::component_volume_less< LABEL, VOXEL >
struct  i3d::component_volume_greater< LABEL, VOXEL >
struct  i3d::density_less< LABEL, VOXEL >
struct  i3d::component_touch_border< LABEL, VOXEL >
struct  i3d::true1< T >
class  i3d::LabeledImage3d< LABEL, VOXEL >
 class LabeledImage3d implements a labeled image More...
class  i3d::ComponentToRemove< LABEL, VOXEL >
 Class ComponentToRemove represents the predicate for RemoveComponents function. More...
struct  i3d::components_distance_matrix
 Added by Vladimir Ulman (xulman@fi.muni.cz), 14.11.2004. More...

Namespaces

namespace  i3d

Defines

#define DMAX   100
#define DMAX_FAR_AWAY   32767

Typedefs

typedef std::vector< Vector3d
< size_t > > 
i3d::Boundary

Enumerations

enum  i3d::McEstimateType { i3d::MC_ESTIMATE_SURFACE, i3d::MC_ESTIMATE_VOLUME }

Functions

template<class LABEL , class VOXEL >
std::ostream & i3d::operator<< (std::ostream &o, const ComponentInfo< LABEL, VOXEL > &ci)
template<class Index , class Container , class Predicate >
void i3d::Remove (std::map< Index, Container > &cont, Predicate pred)
template<class Container >
void i3d::RemoveBlack (std::map< size_t, Container > &cont)
template<class Image , class LImage , class Component , class Object , class Predicate >
void i3d::CreateObjectsFromComponents (const Image &img, const LImage &limg, const std::map< size_t, Component > &components, std::map< size_t, Object > &objects, Predicate pred)
template<class ORIGVOXEL , class LABEL , class VOXEL >
bool i3d::WeightedCenter (const Image3d< ORIGVOXEL > &img, const LabeledImage3d< LABEL, VOXEL > &labels, LABEL label, Vector3d< float > &center)
template<class LABEL , class VOXEL >
bool i3d::Center (const LabeledImage3d< LABEL, VOXEL > &labels, LABEL label, Vector3d< float > &center)
template<class LABEL , class VOXEL >
double i3d::Surface (const LabeledImage3d< LABEL, VOXEL > &limg, LABEL label, size_t &volume)
template<class LABEL , class VOXEL >
double i3d::Roundness (const LabeledImage3d< LABEL, VOXEL > &limg, LABEL label)
template<class LABEL , class VOXEL >
double i3d::RoundnessFactor (const LabeledImage3d< LABEL, VOXEL > &limg, LABEL label, const Vector3d< float > &wcenter, double volume=-1)
template<class LABEL , class VOXEL >
Boundary i3d::GetComponentBoundary (const LabeledImage3d< LABEL, VOXEL > &limg, LABEL label)
template<class LABEL , class VOXEL >
void i3d::Radius (const LabeledImage3d< LABEL, VOXEL > &limg, LABEL label, const Vector3d< float > &center, float &min, float &max, float &mean)
template<class ORIGVOXEL , class LABEL , class VOXEL >
void i3d::IntensityHist (const Image3d< ORIGVOXEL > &img, const LabeledImage3d< LABEL, VOXEL > &limg, LABEL label, Histogram &hist)
template<class ORIGVOXEL , class LABEL , class VOXEL >
void i3d::MinMaxComponentValue (const Image3d< ORIGVOXEL > &img, const LabeledImage3d< LABEL, VOXEL > &limg, LABEL label, ORIGVOXEL &min, ORIGVOXEL &max)
template<class ORIGVOXEL , class LABEL , class VOXEL , class Predicate >
void i3d::RemoveComponents (Image3d< ORIGVOXEL > &img, const LabeledImage3d< LABEL, VOXEL > &limg, Predicate &pred)
template<class ORIGVOXEL , class LABEL , class VOXEL , class Predicate >
void i3d::EraseComponents (Image3d< ORIGVOXEL > &img, LabeledImage3d< LABEL, VOXEL > &limg, Predicate &pred)
bool i3d::HasIntersection (const VOI< UPIXELS > &img_voi, const VOI< UPIXELS > &obj_voi, bool bdr_x, bool bdr_y, bool bdr_z)
template<class LABEL , class VOXEL >
components_distance_matrix * i3d::CreateDistMatrix (const LabeledImage3d< LABEL, VOXEL > &limgA, const LabeledImage3d< LABEL, VOXEL > &limgB, const double max_dist=DMAX)
template<class VOXEL >
I3D_ALGO_EXPORT std::vector
< Vector3d< float > > * 
i3d::ExtractBorderPoints (const Image3d< VOXEL > &img, const Vector3d< size_t > &offset)
template<class LABEL , class VOXEL >
double i3d::MC_Estimate (const LabeledImage3d< LABEL, VOXEL > &limg, LABEL label, McEstimateType type)

Define Documentation

#define DMAX   100
#define DMAX_FAR_AWAY   32767