ITK
6.0.0
Insight Toolkit
SphinxExamples/src/Developer/ImageFilterMultipleInputs.cxx
#include "
itkImage.h
"
#include "ImageFilterMultipleInputs.h"
int
main()
{
// Setup types
using
ImageType =
itk::Image<unsigned char, 2>
;
using
FilterType = itk::ImageFilterMultipleInputs<ImageType>;
auto
image =
ImageType::New
();
auto
mask =
ImageType::New
();
// Create and the filter
auto
filter =
FilterType::New
();
filter->SetInputImage(image);
filter->SetInputMask(mask);
filter->Update();
return
EXIT_SUCCESS;
}
itkImage.h
itk::Image
Templated n-dimensional image class.
Definition:
itkImage.h:88
New
static Pointer New()
Generated on
unknown
for ITK by
1.8.16