Skip to content
Snippets Groups Projects
Commit f119e587 authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

TEST: modify tests about extract ROI to set the right size of the input image

parent 1086bc20
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ ImageType::Pointer makeImage(IndexValueType startX, IndexValueType startY, SizeV
region.SetIndex(0, startX);
region.SetIndex(1, startY);
region.SetSize(0, sizeX);
region.SetSize(0, sizeY);
region.SetSize(1, sizeY);
im->SetRegions(region);
im->Allocate();
......@@ -79,7 +79,7 @@ VectorImageType::Pointer makeVectorImage(IndexValueType startX, IndexValueType s
region.SetIndex(0, startX);
region.SetIndex(1, startY);
region.SetSize(0, sizeX);
region.SetSize(0, sizeY);
region.SetSize(1, sizeY);
im->SetRegions(region);
im->SetNumberOfComponentsPerPixel(nbChannel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment