ITK
4.12.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
WikiExamples/Developer/Exceptions.cxx
#include "
itkImage.h
"
#include "
itkImageFileReader.h
"
#include "
itkImageFileWriter.h
"
#include "ImageFilter.h"
int
main(
int
,
char
*[])
{
// Setup types
typedef
itk::Image<unsigned char, 2>
ImageType;
ImageType::Pointer
image =
ImageType::New
();
// Create and the filter
typedef
itk::ImageFilter<ImageType> FilterType;
FilterType::Pointer
filter =
FilterType::New
();
filter->SetInput(image);
filter->Update();
return
EXIT_SUCCESS;
}
Generated on Tue May 30 2017 03:00:39 for ITK by
1.8.5