File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -317,13 +317,26 @@ add_test(
317317)
318318
319319add_test (
320- NAME Cuberille_tibial_cartilage_cropped
320+ NAME Cuberille_tibial_cartilage_cropped_0.1
321+ COMMAND CuberilleTestDriver CuberilleTest01
322+ ${DATA_DIR} /tibial_cartilage_cropped.nrrd
323+ ${ITK_TEST_OUTPUT_DIR} /tibial_cartilage_cropped.vtk
324+ 0.1 # Iso-surface value
325+ 526 # Expected number of points
326+ 938 # Expected number of cells
327+ 1 # Generate triangle faces
328+ 1 # Project vertices to iso-surface
329+ 0.05 # Surface distance threshold
330+ )
331+
332+ add_test (
333+ NAME Cuberille_tibial_cartilage_cropped_0.5
321334 COMMAND CuberilleTestDriver CuberilleTest01
322335 ${DATA_DIR} /tibial_cartilage_cropped.nrrd
323336 ${ITK_TEST_OUTPUT_DIR} /tibial_cartilage_cropped.vtk
324337 0.5 # Iso-surface value
325- 20036 # Expected number of points
326- 40048 # Expected number of cells
338+ 0 # Expected number of points
339+ 0 # Expected number of cells
327340 1 # Generate triangle faces
328341 1 # Project vertices to iso-surface
329342 0.05 # Surface distance threshold
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ CuberilleTest01(int argc, char * argv[])
255255{
256256
257257 constexpr unsigned int Dimension = 3 ;
258- using PixelType = double ; // unsigned char ;
258+ using PixelType = float ;
259259 using CoordinateType = double ;
260260 using QEMeshType = itk::QuadEdgeMesh<CoordinateType, Dimension>;
261261 using MeshType = itk::Mesh<CoordinateType, Dimension>;
You can’t perform that action at this time.
0 commit comments