25 unsigned int dim[] = {100, 100, 20};
27 std::cout <<
"Creating image: ";
31 int *p = (
int *)image->GetData();
33 int size = dim[0] * dim[1] * dim[2];
35 for (i = 0; i < size; ++i, ++p)
37 std::cout <<
"[PASSED]" << std::endl;
39 std::cout <<
"Constructor: ";
41 std::cout <<
"[PASSED]" << std::endl;
43 std::cout <<
"Set Reference Image: ";
44 registrationBase->SetReferenceImage(image);
45 std::cout <<
"[PASSED]" << std::endl;
int mitkRegistrationBaseTest(int, char *[])
static Pointer New()
Method for creation through the object factory.
Class for defining the data type of pixels.