#include <stdlib.h>
#include <iostream>
int
main(int, char *[])
{
uint8_t * in = new uint8_t[100 * 100 * 100];
for (unsigned int i = 0; i < 100 * 100 * 100; ++i)
{
in[i] = i % 255;
}
importer.
SetOrigin(std::vector<double>(3, .123));
importer.
SetSize(std::vector<unsigned int>(3, 100));
for (unsigned int i = 0; i < 10; ++i)
{
std::cout << int(out[i]) << " ";
}
std::cout << std::endl;
return EXIT_SUCCESS;
}
Image GrayscaleErode(const Image &image1, std::vector< unsigned int > kernelRadius=std::vector< uint32_t >(3, 1), KernelEnum kernelType=itk::simple::sitkBall)
Grayscale erosion of an image.