Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::Integral Class Reference

A class to handle integral image. More...

#include <Integral.hpp>

Collaboration diagram for Bial::Integral:
Collaboration graph

Static Public Member Functions

template<class D >
static Image< double > IntegralImage (const Image< D > &img)
 Returns the integral image based on img. More...
 
static double WindowIntegralValue (const Image< double > &integral, const Vector< size_t > &window_end, const Vector< size_t > &window_size)
 Returns the integral intensity value of window, with posterior extremity in window_end in the integral image. More...
 
static double WindowIntegralValue (const Image< double > &integral, const Vector< size_t > &window_end, const Vector< float > &window_size_mm)
 Returns the integral intensity value of window, with posterior extremity in window_end in the integral image. More...
 
static double WindowVolume (const Vector< size_t > &window_size)
 Returns the volume of the window. More...
 
template<class D >
static double WindowVolume (const Image< D > &img, const Vector< float > &window_size_mm)
 Returns the volume of the window according to img pixel dimensions in millimeters. More...
 
static Vector< size_t > PixelWindow (const Vector< float > &pixel_size, const Vector< float > &window_size_mm)
 Returns a window with the same dimensions as the input described in number of pixels instead of in millimeters. More...
 
static double WindowDensity (const Image< double > &integral, const Vector< size_t > &window_end, const Vector< size_t > &window_size)
 Returns the density value of window, with posterior extremity in window_end in the integral image. More...
 
static double WindowDensity (const Image< double > &integral, const Vector< size_t > &window_end, const Vector< float > &window_size_mm)
 Returns the density value of window, with posterior extremity in window_end in the integral image. More...
 

Detailed Description

A class to handle integral image.

Definition at line 22 of file Integral.hpp.

Member Function Documentation

template<class D >
static Image< double > Bial::Integral::IntegralImage ( const Image< D > &  img)
static

Returns the integral image based on img.

Date
2013/Aug/27
Parameters
imgAn image.
Returns
Integral image based on img.
Warning
none.
static Vector< size_t > Bial::Integral::PixelWindow ( const Vector< float > &  pixel_size,
const Vector< float > &  window_size_mm 
)
static

Returns a window with the same dimensions as the input described in number of pixels instead of in millimeters.

Date
2013/Aug/29
Parameters
pixel_sizepixel dimensions.
window_size_mmwindow dimensions in millimeters.
Returns
A window with the same dimensions as the input described in number of pixels instead of in millimeters.
Warning
none.
static double Bial::Integral::WindowDensity ( const Image< double > &  integral,
const Vector< size_t > &  window_end,
const Vector< size_t > &  window_size 
)
static

Returns the density value of window, with posterior extremity in window_end in the integral image.

Date
2013/Aug/29
Parameters
integralAn integral image.
window_endGreater coordinates of the window.
window_sizeWindow dimensions in pixels.
Returns
Density value of window, with posterior extremity in window_end in the integral image.
Warning
none.
static double Bial::Integral::WindowDensity ( const Image< double > &  integral,
const Vector< size_t > &  window_end,
const Vector< float > &  window_size_mm 
)
static

Returns the density value of window, with posterior extremity in window_end in the integral image.

Date
2013/Aug/29
Parameters
integralAn integral image.
window_endGreater coordinates of the window.
window_size_mmWindow dimensions in millimeters.
Returns
Density value of window, with posterior extremity in window_end in the integral image.
Warning
none.
static double Bial::Integral::WindowIntegralValue ( const Image< double > &  integral,
const Vector< size_t > &  window_end,
const Vector< size_t > &  window_size 
)
static

Returns the integral intensity value of window, with posterior extremity in window_end in the integral image.

Date
2013/Aug/29
Parameters
integralAn integral image.
window_endGreater coordinates of the window.
window_sizewindow dimensions in pixels.
Returns
Integral intensity value of window, with posterior extremity in window_end, in the integral image.
Warning
none.
static double Bial::Integral::WindowIntegralValue ( const Image< double > &  integral,
const Vector< size_t > &  window_end,
const Vector< float > &  window_size_mm 
)
static

Returns the integral intensity value of window, with posterior extremity in window_end in the integral image.

Date
2013/Aug/29
Parameters
integralAn integral image.
window_endGreater coordinates of the window.
window_size_mmwindow dimensions in millimeters.
Returns
Integral intensity value of window, with posterior extremity in window_end, in the integral image.
Warning
none.
static double Bial::Integral::WindowVolume ( const Vector< size_t > &  window_size)
static

Returns the volume of the window.

Date
2013/Aug/29
Parameters
window_sizewindow dimensions in pixels.
Returns
Volume of the window.
Warning
none.
template<class D >
static double Bial::Integral::WindowVolume ( const Image< D > &  img,
const Vector< float > &  window_size_mm 
)
static

Returns the volume of the window according to img pixel dimensions in millimeters.

Date
2013/Aug/29
Parameters
imgAn image.
window_size_mmwindow dimensions in millimeters.
Returns
Volume of the window according to img pixel dimensions in millimeters.
Warning
none.

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