#include "MyImageSource.h"
int main(int, char*[])
{
typedef itk::MyImageSource<ImageType> FilterType;
FilterType::Pointer filter = FilterType::New();
filter->Update();
filter->GetOutput()->Print(std::cout);
WriterType::Pointer writer = WriterType::New();
writer->SetFileName("Test.jpg");
writer->SetInput(filter->GetOutput());
writer->Update();
return EXIT_SUCCESS;
}