![]() |
Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
#include <ImageIFT.hpp>


Public Member Functions | |
| ImageIFT (Image< D > &value, const Adjacency &adjacency, PathFunction< Image, D > *function, const Vector< bool > *seed=nullptr, Image< int > *label=nullptr, Image< int > *predecessor=nullptr, bool sequential_label=false, long double bucket_size=1.0, bool fifo_tie=true) | |
| Constructor of IFT object to run over images. More... | |
| void | Run () |
| Runs IFT algorithm over image. More... | |
| void | EnableDifferentialIFT (size_t elm) |
| Enables differential IFT. Runs until target element is reached. More... | |
| void | DisableDifferentialIFT () |
| Disables differential IFT. Runs until all elements leave the queue. More... | |
Public Member Functions inherited from Bial::DegeneratedIFT< Image, D > | |
| DegeneratedIFT (Image< D > &value_image, PathFunction< Image, D > *function, const Vector< bool > *seed=nullptr, Image< int > *label=nullptr, Image< 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from Bial::DegeneratedIFT< Image, D > | |
| BucketQueue * | Initialize (Image< D > &value, PathFunction< Image, D > *function, const Vector< bool > *seed, Image< int > *label, Image< int > *predecessor, bool sequential_label, long double bucket_size, bool fifo_tie) |
| Initialization of all IFT functions. More... | |
Protected Attributes inherited from Bial::DegeneratedIFT< Image, D > | |
| BucketQueue * | queue |
| Degenerated IFT attributes. More... | |
| Image< D > & | value |
| PathFunction< Image, D > * | function |
| const Vector< bool > * | seed |
| Image< int > * | label |
| Image< int > * | predecessor |
| bool | sequential_label |
| long double | bucket_size |
| bool | fifo_tie |
| PathFunction< Image, D >::RemoveFn | RemoveData |
| PathFunction< Image, D >::UpdateFn | UpdateData |
Definition at line 24 of file ImageIFT.hpp.
| Bial::ImageIFT< D >::ImageIFT | ( | Image< D > & | value, |
| const Adjacency & | adjacency, | ||
| PathFunction< Image, D > * | function, | ||
| const Vector< bool > * | seed = nullptr, |
||
| Image< int > * | label = nullptr, |
||
| Image< int > * | predecessor = nullptr, |
||
| bool | sequential_label = false, |
||
| long double | bucket_size = 1.0, |
||
| bool | fifo_tie = true |
||
| ) |
Constructor of IFT object to run over images.
| value | Value map used in path propagation. It contains the input and output values. |
| mask | Valid image domain. Pixels out of the domain (i.e. mask = 0), are not computed. |
| adjacency | adjacency relation defining neighborhood. Assumes central element being at position 0. |
| function | Function used to initialize and propagate values. |
| seed | A boolean Vector indicating the seeds. |
| label_image | label map. |
| predecessor_image | predecessor map. |
| bucket_size | Size of a bucket in the bucket queue. |
| fifo_tie | true for fifo tiebreak, and false for lifo tiebreak. |
| void Bial::ImageIFT< D >::DisableDifferentialIFT | ( | ) |
Disables differential IFT. Runs until all elements leave the queue.
| none. |
| void Bial::ImageIFT< D >::EnableDifferentialIFT | ( | size_t | elm | ) |
Enables differential IFT. Runs until target element is reached.
| elm | Target element. |
| void Bial::ImageIFT< D >::Run | ( | ) |
Runs IFT algorithm over image.
| none. |