13 #ifndef mitkImageTimeSelector_h
14 #define mitkImageTimeSelector_h
40 itkFactorylessNewMacro(Self);
45 itkGetConstMacro(TimeNr,
int);
47 itkSetMacro(TimeNr,
int);
50 itkGetConstMacro(ChannelNr,
int);
52 itkSetMacro(ChannelNr,
int);
Provides access to a volume at a specific time step of the input image.
~ImageTimeSelector() override
void GenerateData() override
Extract the selected volume data from the input image.
void GenerateOutputInformation() override
Initialize output information (geometry, pixel type, dimensions) for the 3D volume output.
mitkClassMacro(ImageTimeSelector, SubImageSelector)
void GenerateInputRequestedRegion() override
Set the requested region on the input to match the selected time step and channel.
Image class for storing multi-dimensional medical image data.
Base class of all classes providing access to parts of an image.
Find image slices visible on a given plane.
MITKCORE_EXPORT Image::ConstPointer SelectImageByTimeStep(const Image *image, unsigned int timestep)
Convenience helper to extract a single time step from a 4D image.
MITKCORE_EXPORT Image::ConstPointer SelectImageByTimePoint(const Image *image, TimePointType timePoint)
Convenience helper to extract a single time step from a 4D image by time point.
mitk::ScalarType TimePointType
Type for time point values in milliseconds (ms).