Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include "mitkModelFitParameterValueExtraction.h"
#include "mitkModelFitException.h"
#include <mitkImagePixelReadAccessor.h>
#include <mitkPixelTypeMultiplex.h>
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... | |
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'.
TPixel | The type of the voxel (e.g. float). |
image | The image whose voxel should be read. |
position | The position in the image that should be read out. |
timestep | The time step at which the voxel should be read. |
value | The 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().