A class to handle integral image.
More...
#include <Integral.hpp>
|
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...
|
|
A class to handle integral image.
Definition at line 22 of file Integral.hpp.
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
-
- Returns
- Integral image based on img.
- Warning
- none.
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_size | pixel dimensions. |
window_size_mm | window dimensions in millimeters. |
- Returns
- A window with the same dimensions as the input described in number of pixels instead of in millimeters.
- Warning
- none.
Returns the density value of window, with posterior extremity in window_end in the integral image.
- Date
- 2013/Aug/29
- Parameters
-
integral | An integral image. |
window_end | Greater coordinates of the window. |
window_size | Window dimensions in pixels. |
- Returns
- Density value of window, with posterior extremity in window_end in the integral image.
- Warning
- none.
Returns the density value of window, with posterior extremity in window_end in the integral image.
- Date
- 2013/Aug/29
- Parameters
-
integral | An integral image. |
window_end | Greater coordinates of the window. |
window_size_mm | Window 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
-
integral | An integral image. |
window_end | Greater coordinates of the window. |
window_size | window 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
-
integral | An integral image. |
window_end | Greater coordinates of the window. |
window_size_mm | window 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_size | window 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
-
img | An image. |
window_size_mm | window 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: