Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::DegeneratedIFT< C, D > Class Template Reference

#include <DegeneratedIFT.hpp>

Inheritance diagram for Bial::DegeneratedIFT< C, D >:
Inheritance graph
Collaboration diagram for Bial::DegeneratedIFT< C, D >:
Collaboration graph

Public Member Functions

 DegeneratedIFT (C< D > &value_image, PathFunction< C, D > *function, const Vector< bool > *seed=nullptr, C< int > *label=nullptr, C< int > *predecessor=nullptr, bool sequential_label=false, long double bucket_size=1.0, bool fifo_tie=true)
 Constructor. Depending on the provided maps, propagation function is different. More...
 
 ~DegeneratedIFT ()
 Destructor. Destroys the bucket queue. More...
 
void Run ()
 Runs degenerated IFT. More...
 

Protected Member Functions

BucketQueueInitialize (C< D > &value, PathFunction< C, D > *function, const Vector< bool > *seed, C< int > *label, C< int > *predecessor, bool sequential_label, long double bucket_size, bool fifo_tie)
 Initialization of all IFT functions. More...
 

Protected Attributes

BucketQueuequeue
 Degenerated IFT attributes. More...
 
C< D > & value
 
PathFunction< C, D > * function
 
const Vector< bool > * seed
 
C< int > * label
 
C< int > * predecessor
 
bool sequential_label
 
long double bucket_size
 
bool fifo_tie
 
PathFunction< C, D >::RemoveFn RemoveData
 
PathFunction< C, D >::UpdateFn UpdateData
 

Detailed Description

template<template< class D > class C, class D>
class Bial::DegeneratedIFT< C, D >

Definition at line 22 of file DegeneratedIFT.hpp.

Constructor & Destructor Documentation

template<template< class D > class C, class D>
Bial::DegeneratedIFT< C, D >::DegeneratedIFT ( C< D > &  value_image,
PathFunction< C, D > *  function,
const Vector< bool > *  seed = nullptr,
C< int > *  label = nullptr,
C< int > *  predecessor = nullptr,
bool  sequential_label = false,
long double  bucket_size = 1.0,
bool  fifo_tie = true 
)

Constructor. Depending on the provided maps, propagation function is different.

Date
2012/Sep/19
Parameters
valueValue map used in path propagation. It contains the input and output values.
functionFunction used to initialize and propagate values.
seedA boolean Vector indicating the seeds.
labellabel map.
predecessorpredecessor map.
bucket_sizeSize of a bucket in the bucket queue.
fifo_tietrue for fifo tiebreak, and false for lifo tiebreak.
Returns
none.
Warning
none.
template<template< class D > class C, class D>
Bial::DegeneratedIFT< C, D >::~DegeneratedIFT ( )

Destructor. Destroys the bucket queue.

Date
2012/Sep/19
Parameters
none.
Returns
none.
Warning
none.

Member Function Documentation

template<template< class D > class C, class D>
BucketQueue* Bial::DegeneratedIFT< C, D >::Initialize ( C< D > &  value,
PathFunction< C, D > *  function,
const Vector< bool > *  seed,
C< int > *  label,
C< int > *  predecessor,
bool  sequential_label,
long double  bucket_size,
bool  fifo_tie 
)
protected

Initialization of all IFT functions.

Date
2013/Dec/04
Parameters
valueValue map used in path propagation. It contains the input values and also the output values after running IFT.
functionFunction used to initialize and propagate values.
seedA boolean Vector indicating the seeds.
labellabel map.
predecessorpredecessor map.
bucket_sizeSize of a bucket in the bucket queue.
fifo_tietrue for fifo tiebreak, and false for lifo tiebreak.
Returns
none.
Warning
Label, and predecessor maps are optional.
template<template< class D > class C, class D>
void Bial::DegeneratedIFT< C, D >::Run ( )

Runs degenerated IFT.

Date
2012/Sep/19
Parameters
none.
Returns
none.
Warning
none.

Member Data Documentation

template<template< class D > class C, class D>
long double Bial::DegeneratedIFT< C, D >::bucket_size
protected

Definition at line 34 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
bool Bial::DegeneratedIFT< C, D >::fifo_tie
protected

Definition at line 35 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
PathFunction< C, D >* Bial::DegeneratedIFT< C, D >::function
protected

Definition at line 29 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
C< int >* Bial::DegeneratedIFT< C, D >::label
protected

Definition at line 31 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
C< int >* Bial::DegeneratedIFT< C, D >::predecessor
protected

Definition at line 32 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
BucketQueue* Bial::DegeneratedIFT< C, D >::queue
protected

Degenerated IFT attributes.

Definition at line 27 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
PathFunction< C, D >::RemoveFn Bial::DegeneratedIFT< C, D >::RemoveData
protected

Definition at line 36 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
const Vector< bool >* Bial::DegeneratedIFT< C, D >::seed
protected

Definition at line 30 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
bool Bial::DegeneratedIFT< C, D >::sequential_label
protected

Definition at line 33 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
PathFunction< C, D >::UpdateFn Bial::DegeneratedIFT< C, D >::UpdateData
protected

Definition at line 37 of file DegeneratedIFT.hpp.

template<template< class D > class C, class D>
C< D >& Bial::DegeneratedIFT< C, D >::value
protected

Definition at line 28 of file DegeneratedIFT.hpp.


The documentation for this class was generated from the following file: