Structure for handling the two images compared. More...
#include <cmtkVoxelMatchingMetric_Type.h>
Public Member Functions | |
T | padding () const |
This function returns the constant actually used for padding data. | |
const Types::DataItemRange | GetValueRange () const |
Get value range of distribution as stored herein. | |
byte | ValueToIndex (const Types::DataItem value) |
Convert value to bin. | |
ImageData () | |
Default constructor. | |
void | AllocDataArray (const TypedArray *templateArray) |
Allocate internal data array and create wrapper for reference counting. | |
size_t | Init (const UniformVolume *volume, const size_t defNumBins, const Types::DataItemRange &bounds=Types::DataItemRange(-HUGE_VAL, HUGE_VAL)) |
Initialize internal storage for one volume. | |
void | Init (const UniformVolume *volume) |
Initialize internal storage for one (reference of model) volume. | |
void | PrecomputeIncrements (const UniformVolume *volume) |
Precompute grid increments. | |
Public Attributes | |
T * | Data |
Precomputed reference voxel data bin indices. | |
TypedArray::SmartPtr | DataArray |
Reference-counting wrapper for Data. | |
Types::DataItem | BinOffset |
Bin offset. | |
Types::DataItem | BinWidth |
Bin width. | |
Types::DataItemRange | m_ValueRange |
Value range. | |
DataGrid::IndexType | ImageDims |
Number of pixels per dimension in the original image. | |
size_t | NumberOfSamples |
Total number of pixels. | |
unsigned int | nextJ |
Offset of next voxel row. | |
unsigned int | nextIJ |
Offset for next row and column. | |
unsigned int | nextK |
Offset for next plane. | |
unsigned int | nextIK |
Offset for next plane and column. | |
unsigned int | nextJK |
Offset for next plane and row. | |
unsigned int | nextIJK |
Offset for next plane, row, and column. | |
Private Attributes | |
T | Padding |
Padding data used in this instance. |
Structure for handling the two images compared.
Definition at line 66 of file cmtkVoxelMatchingMetric_Type.h.
cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::ImageData | ( | ) | [inline] |
Default constructor.
Definition at line 110 of file cmtkVoxelMatchingMetric_Type.h.
const Types::DataItemRange cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::GetValueRange | ( | ) | const [inline] |
Get value range of distribution as stored herein.
Definition at line 98 of file cmtkVoxelMatchingMetric_Type.h.
T cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::padding | ( | ) | const [inline] |
This function returns the constant actually used for padding data.
Definition at line 74 of file cmtkVoxelMatchingMetric_Type.h.
byte cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::ValueToIndex | ( | const Types::DataItem | value ) | [inline] |
Convert value to bin.
Definition at line 104 of file cmtkVoxelMatchingMetric_Type.h.
Types::DataItem cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::BinOffset |
Bin offset.
Definition at line 83 of file cmtkVoxelMatchingMetric_Type.h.
Types::DataItem cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::BinWidth |
Bin width.
Definition at line 86 of file cmtkVoxelMatchingMetric_Type.h.
T* cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::Data |
Precomputed reference voxel data bin indices.
Definition at line 77 of file cmtkVoxelMatchingMetric_Type.h.
TypedArray::SmartPtr cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::DataArray |
Reference-counting wrapper for Data.
Definition at line 80 of file cmtkVoxelMatchingMetric_Type.h.
DataGrid::IndexType cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::ImageDims |
Number of pixels per dimension in the original image.
Definition at line 92 of file cmtkVoxelMatchingMetric_Type.h.
Types::DataItemRange cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::m_ValueRange |
Value range.
Definition at line 89 of file cmtkVoxelMatchingMetric_Type.h.
unsigned int cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::nextIJ |
Offset for next row and column.
Definition at line 150 of file cmtkVoxelMatchingMetric_Type.h.
unsigned int cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::nextIJK |
Offset for next plane, row, and column.
Definition at line 162 of file cmtkVoxelMatchingMetric_Type.h.
unsigned int cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::nextIK |
Offset for next plane and column.
Definition at line 156 of file cmtkVoxelMatchingMetric_Type.h.
unsigned int cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::nextJ |
Offset of next voxel row.
Definition at line 147 of file cmtkVoxelMatchingMetric_Type.h.
unsigned int cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::nextJK |
Offset for next plane and row.
Definition at line 159 of file cmtkVoxelMatchingMetric_Type.h.
unsigned int cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::nextK |
Offset for next plane.
Definition at line 153 of file cmtkVoxelMatchingMetric_Type.h.
size_t cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::NumberOfSamples |
Total number of pixels.
Definition at line 95 of file cmtkVoxelMatchingMetric_Type.h.
T cmtk::VoxelMatchingMetric_Type< T, DT >::ImageData::Padding [private] |
Padding data used in this instance.
Definition at line 70 of file cmtkVoxelMatchingMetric_Type.h.