Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
Functions | |
template<template< class D > class C, class D > | |
float | Average (C< D > data) |
Computes and returns the average of the intensities. More... | |
template<template< class D > class C, class D > | |
float | Average (C< D > data, size_t first, size_t size) |
Computes and returns the average of the intensities. More... | |
template<class D > | |
float | Baddeley (const Image< D > &src_distance_img, const Image< D > &tgt_distance_img) |
Computes Baddeley's measure. See A.J. Baddeley, An error metric for binary images, Robust Computer Vision: More... | |
template<template< class D > class C, class D > | |
float | Dice (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the value given by Dice metric as comparing src_label and tgt_label. More... | |
template<class D > | |
float | Dice (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the value given by Dice metric as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
float | Jaccard (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the value given by Jaccard metric as comparing src_label and tgt_label. More... | |
template<class D > | |
float | Jaccard (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the value given by Jaccard metric as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
float | Kappa (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the value given by Kappa metric as comparing src_label and tgt_label. More... | |
template<class D > | |
float | Kappa (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the value given by Kappa metric as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
D | MedianAbsoluteDeviation (const C< D > &data) |
Computes and returns the median absolute deviation. More... | |
template<template< class D > class C, class D > | |
float | ObservedAgreement (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the value given by Observed Agreement metric as comparing src_label and tgt_label. More... | |
template<class D > | |
float | ObservedAgreement (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the value given by Observed Agreement metric as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
std::tuple< size_t, size_t, size_t, size_t > | PositiveNegative (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the number of true positive, true negative, false positive, and false negative pixels as comparing src_label to tgt_label. More... | |
template<class D > | |
std::tuple< size_t, size_t, size_t, size_t > | PositiveNegative (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the number of true positive, true negative, false positive, and false negative pixels as comparing src_label to tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
size_t | TruePositive (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the number of true positive pixels as comparing src_label and tgt_label. More... | |
template<class D > | |
size_t | TruePositive (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the number of true positive pixels as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
size_t | TrueNegative (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the number of true negative pixels as comparing src_label and tgt_label. More... | |
template<class D > | |
size_t | TrueNegative (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the number of true negative pixels as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
size_t | FalsePositive (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the number of false positive pixels as validating src_label to tgt_label. More... | |
template<class D > | |
size_t | FalsePositive (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the number of false positive pixels as validating src_label to tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
size_t | FalseNegative (const C< D > &src_label, const C< D > &tgt_label) |
Computes and returns the number of false negative pixels as validating src_label to tgt_label. More... | |
template<class D > | |
size_t | FalseNegative (const Image< D > &src_label, const Image< D > &tgt_label, float dist) |
Computes and returns the number of false negative pixels as validating src_label to tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions. More... | |
template<template< class D > class C, class D > | |
float | StandardDeviation (C< D > data) |
Computes and returns the standard deviation of the intensities. More... | |
template<template< class D > class C, class D > | |
float | StandardDeviation (C< D > data, size_t first, size_t size) |
Computes and returns the standard deviation of the intensities. More... | |
template<template< class D > class C, class D > | |
float | StandardDeviation (C< D > data, float average) |
Computes and returns the standard deviation of the intensities. More... | |
template<template< class D > class C, class D > | |
float | StandardDeviation (C< D > data, size_t first, size_t size, float average) |
Computes and returns the standard deviation of the intensities. More... | |
float Bial::Statistics::Average | ( | C< D > | data | ) |
Computes and returns the average of the intensities.
data | Input data. |
float Bial::Statistics::Average | ( | C< D > | data, |
size_t | first, | ||
size_t | size | ||
) |
Computes and returns the average of the intensities.
data | Input data. |
first | First element of input container. |
size | Number of elements to be used. |
float Bial::Statistics::Baddeley | ( | const Image< D > & | src_distance_img, |
const Image< D > & | tgt_distance_img | ||
) |
Computes Baddeley's measure. See A.J. Baddeley, An error metric for binary images, Robust Computer Vision:
src_distance_img | A distance transform from a binary boundary image. |
tgt_distance_img | A distance transform from a binary boundary image. |
float Bial::Statistics::Dice | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the value given by Dice metric as comparing src_label and tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
float Bial::Statistics::Dice | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the value given by Dice metric as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | Maximum distance between src and tgt labels. |
size_t Bial::Statistics::FalseNegative | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the number of false negative pixels as validating src_label to tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
size_t Bial::Statistics::FalseNegative | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the number of false negative pixels as validating src_label to tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | Maximum distance between src and tgt labels. |
size_t Bial::Statistics::FalsePositive | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the number of false positive pixels as validating src_label to tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
size_t Bial::Statistics::FalsePositive | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the number of false positive pixels as validating src_label to tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | Maximum distance between src and tgt labels. |
float Bial::Statistics::Jaccard | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the value given by Jaccard metric as comparing src_label and tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
float Bial::Statistics::Jaccard | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the value given by Jaccard metric as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | Maximum distance between src and tgt labels. |
float Bial::Statistics::Kappa | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the value given by Kappa metric as comparing src_label and tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
float Bial::Statistics::Kappa | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the value given by Kappa metric as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | Maximum distance between src and tgt labels. |
D Bial::Statistics::MedianAbsoluteDeviation | ( | const C< D > & | data | ) |
Computes and returns the median absolute deviation.
data | Input data. |
float Bial::Statistics::ObservedAgreement | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the value given by Observed Agreement metric as comparing src_label and tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
float Bial::Statistics::ObservedAgreement | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the value given by Observed Agreement metric as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | Maximum distance between src and tgt labels. |
std::tuple< size_t, size_t, size_t, size_t > Bial::Statistics::PositiveNegative | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the number of true positive, true negative, false positive, and false negative pixels as comparing src_label to tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
std::tuple< size_t, size_t, size_t, size_t > Bial::Statistics::PositiveNegative | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the number of true positive, true negative, false positive, and false negative pixels as comparing src_label to tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | A maximum threshold for the distance between src and tgt labels. |
float Bial::Statistics::StandardDeviation | ( | C< D > | data | ) |
Computes and returns the standard deviation of the intensities.
data | Input data. |
float Bial::Statistics::StandardDeviation | ( | C< D > | data, |
size_t | first, | ||
size_t | size | ||
) |
Computes and returns the standard deviation of the intensities.
data | Input data. |
first | First element of input container. |
size | Number of elements to be used. |
float Bial::Statistics::StandardDeviation | ( | C< D > | data, |
float | average | ||
) |
Computes and returns the standard deviation of the intensities.
data | Input data. |
average | The average of the intensity of the input data. |
float Bial::Statistics::StandardDeviation | ( | C< D > | data, |
size_t | first, | ||
size_t | size, | ||
float | average | ||
) |
Computes and returns the standard deviation of the intensities.
data | Input data. |
first | First element of input container. |
size | Number of elements to be used. |
average | The average of the intensity of the input data. |
size_t Bial::Statistics::TrueNegative | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the number of true negative pixels as comparing src_label and tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
size_t Bial::Statistics::TrueNegative | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the number of true negative pixels as comparing src_label and tgt_label. This function was created to compute the statistics comparing two edge or boundaries, instead of two regions. Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | Maximum distance between src and tgt labels. |
size_t Bial::Statistics::TruePositive | ( | const C< D > & | src_label, |
const C< D > & | tgt_label | ||
) |
Computes and returns the number of true positive pixels as comparing src_label and tgt_label.
src_label | A binary label data. |
tgt_label | A binary label data. |
size_t Bial::Statistics::TruePositive | ( | const Image< D > & | src_label, |
const Image< D > & | tgt_label, | ||
float | dist | ||
) |
Computes and returns the number of true positive pixels as comparing src_label and tgt_label.
This function was created to compute the statistics comparing two edge or boundaries, instead of two regions.
Use the overloaded function without 'dist' parameter for comparing regions.
src_label | A binary label data. |
tgt_label | A binary label data. |
dist | Maximum distance between src and tgt labels. |