Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkModelFitParameterValueExtraction.cpp File Reference

Go to the source code of this file.

Functions

template<typename TPixel >
void ReadVoxelInternal (const mitk::PixelType, const mitk::Image *image, const ::itk::Index< 3 > index, unsigned int timestep, mitk::ModelTraitsInterface::ParameterValueType &value)
 Reads the intensity with the given pixel type from the given image at the given position and time step (at the currently selected voxel) and stores it in the variable 'value'. More...
 

Function Documentation

◆ ReadVoxelInternal()

template<typename TPixel >
void ReadVoxelInternal ( const mitk::PixelType  ,
const mitk::Image image,
const ::itk::Index< 3 >  index,
unsigned int  timestep,
mitk::ModelTraitsInterface::ParameterValueType value 
)

Reads the intensity with the given pixel type from the given image at the given position and time step (at the currently selected voxel) and stores it in the variable 'value'.

Template Parameters
TPixelThe type of the voxel (e.g. float).
Parameters
imageThe image whose voxel should be read.
positionThe position in the image that should be read out.
timestepThe time step at which the voxel should be read.
valueThe variable where the result is stored.

Definition at line 30 of file mitkModelFitParameterValueExtraction.cpp.

References mitk::Image::GetDimension(), mitk::Image::GetSliceData(), mitk::Image::GetVolumeData(), and MITK_DEBUG.

Referenced by mitk::ReadVoxel().