aimstil  5.0.5
connectedComponents3D.h File Reference

Connected components labeling. More...

#include <iostream>
#include "til/til_common.h"
#include "til/EquivalenceChain.h"
#include "til/ImageExtrapolator.h"
#include "til/Neighborhood.h"
#include "til/neighborhoodTools.h"
#include "connected_components.tpp"
Include dependency graph for connectedComponents3D.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 til
 Belongs to package Box Do not include directly, include til/Box.h instead.
 

Macros

#define SPAN_NEIGHBORS(i, j, k)
 

Functions

template<typename TImage , typename TNeighborhood , typename TExtrapolator >
int til::connectedComponents (TImage &im, const TNeighborhood &nh)
 Label the connected components of image im. More...
 
template<typename TImage , typename TNeighborhood >
int til::connectedComponents (TImage &im, const TNeighborhood &nh)
 Label the connected components of image im. More...
 

Detailed Description

Connected components labeling.

Definition in file connectedComponents3D.h.

Macro Definition Documentation

◆ SPAN_NEIGHBORS

#define SPAN_NEIGHBORS (   i,
  j,
 
)
Value:
if (nh.template isNeighbor<(i),(j),(k)>() && \
((neighborLabels[COFFSET(i,j,k)] = iIm.template getValue<TExtrapolator,(i),(j),(k)>()) != 0)) \
++nLabeledNeighbors;
#define COFFSET(i, j, k)
A macro to quickly index into a 3^3 cube.
Definition: Neighborhood.h:22

Definition at line 22 of file connectedComponents3D.h.