17 #ifndef IMAGETOITK_H_HEADER_INCLUDED_C1C2FCD2
18 #define IMAGETOITK_H_HEADER_INCLUDED_C1C2FCD2
25 #include <itkImageSource.h>
36 template <
class TOutputImage>
50 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
74 itkGetMacro(Channel,
int);
75 itkSetMacro(Channel,
int);
77 itkSetMacro(CopyMemFlag,
bool);
78 itkGetMacro(CopyMemFlag,
bool);
79 itkBooleanMacro(CopyMemFlag);
81 itkSetMacro(Options,
int);
82 itkGetMacro(Options,
int);
91 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
105 void operator=(
const Self &);
134 template <
typename TPixel,
unsigned int VDimension>
140 imagetoitk->SetInput(mitkImage);
141 imagetoitk->Update();
142 return imagetoitk->GetOutput();
169 template <
typename TPixel,
unsigned int VDimension>
175 imagetoitk->SetInput(mitkImage);
176 imagetoitk->Update();
177 return imagetoitk->GetOutput();
182 #ifndef ITK_MANUAL_INSTANTIATION
186 #endif // IMAGETOITK_H_HEADER_INCLUDED_C1C2FCD2
TOutputImage::SizeType SizeType
virtual void GenerateOutputInformation() override
ImageTypeTrait< TPixel, VDimension >::ImageType::Pointer ImageToItkImage(mitk::Image *mitkImage)
Convert a MITK image to an ITK image.
TOutputImage::RegionType RegionType
itk::SmartPointer< const Self > ConstPointer
TOutputImage::InternalPixelType InternalPixelType
DataCollection - Class to facilitate loading/accessing structured data.
itk::Image< TPixelType, VDimension > ImageType
mitk::Image * GetInput(void)
map::core::discrete::Elements< 3 >::InternalImageType ImageType
virtual void GenerateData() override
Super class of data objects consisting of slices.
virtual void UpdateOutputInformation() override
mitk::Image::Pointer m_MitkImage
itk::SmartPointer< Self > Pointer
Image class for storing images.
TOutputImage::PixelType PixelType
mitk::ImageDataItem::Pointer m_ImageDataItem
void PrintSelf(std::ostream &os, itk::Indent indent) const override
TOutputImage::IndexType IndexType
TOutputImage::PixelContainer PixelContainer
virtual void SetInput(mitk::Image *input)
SlicedData::RegionType InputImageRegionType
itk::ImageSource< TOutputImage > Superclass
Superclass::OutputImageRegionType OutputImageRegionType
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.