diff --git a/SurfaceInterpolation/ImageToContour/Labels.nrrd b/SurfaceInterpolation/ImageToContour/Labels.nrrd new file mode 100644 index 0000000..070080a --- /dev/null +++ b/SurfaceInterpolation/ImageToContour/Labels.nrrd @@ -0,0 +1,26 @@ +NRRD0004 +type: uchar +dimension: 2 +space dimension: 2 +sizes: 32 16 +space directions: (1,0) (0,1) +kinds: domain domain +encoding: txt +space origin: (0,0) + +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5 0 0 0 +0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5 5 5 0 0 +0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5 5 5 5 5 0 +0 1 1 1 1 1 1 1 0 0 2 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5 5 5 5 5 5 0 +0 0 1 1 1 1 1 0 0 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 5 5 5 0 +0 0 0 1 1 1 0 0 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 5 5 0 +0 0 0 0 1 0 0 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 5 0 +0 0 0 0 0 0 0 0 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 5 0 +0 0 0 0 0 0 0 0 0 2 2 2 0 0 0 3 3 3 3 3 3 0 0 0 0 0 0 0 0 5 5 0 +0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 3 2 2 2 2 3 0 0 0 0 0 0 0 0 5 5 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 2 2 2 2 3 0 0 0 0 0 0 0 0 5 5 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 2 2 2 2 3 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 2 2 2 2 3 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 3 3 3 3 3 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 diff --git a/SurfaceInterpolation/Reference/Contour_Label1.vtk b/SurfaceInterpolation/Reference/Contour_Label1.vtk new file mode 100644 index 0000000..4829473 --- /dev/null +++ b/SurfaceInterpolation/Reference/Contour_Label1.vtk @@ -0,0 +1,23 @@ +# vtk DataFile Version 5.1 +vtk output +ASCII +DATASET POLYDATA +POINTS 29 float +4 7.5 0 3.5 7 0 3 6.5 0 +2.5 6 0 2 5.5 0 1.5 5 0 +1 4.5 0 0.5 4 0 1 3.5 0 +1.5 3 0 2 2.5 0 2.5 2 0 +3 1.5 0 3.5 1 0 4 0.5 0 +4.5 1 0 5 1.5 0 5.5 2 0 +6 2.5 0 6.5 3 0 7 3.5 0 +7.5 4 0 7 4.5 0 6.5 5 0 +6 5.5 0 5.5 6 0 5 6.5 0 +4.5 7 0 4 7.5 0 +POLYGONS 2 29 +OFFSETS vtktypeint64 +0 29 +CONNECTIVITY vtktypeint64 +0 1 2 3 4 5 6 7 8 +9 10 11 12 13 14 15 16 17 +18 19 20 21 22 23 24 25 26 +27 28 diff --git a/SurfaceInterpolation/Reference/Contour_Label2.vtk b/SurfaceInterpolation/Reference/Contour_Label2.vtk new file mode 100644 index 0000000..9db980b --- /dev/null +++ b/SurfaceInterpolation/Reference/Contour_Label2.vtk @@ -0,0 +1,31 @@ +# vtk DataFile Version 5.1 +vtk output +ASCII +DATASET POLYDATA +POINTS 46 float +10 10.5 0 9.5 10 0 9 9.5 0 +8.5 9 0 8 8.5 0 7.5 8 0 +7 7.5 0 6.5 7 0 7 6.5 0 +7.5 6 0 8 5.5 0 8.5 5 0 +9 4.5 0 9.5 4 0 10 3.5 0 +10.5 4 0 11 4.5 0 11.5 5 0 +12 5.5 0 12.5 6 0 13 6.5 0 +13.5 7 0 13 7.5 0 12.5 8 0 +12 8.5 0 11.5 9 0 11 9.5 0 +10.5 10 0 10 10.5 0 19 13.5 0 +18 13.5 0 17 13.5 0 16 13.5 0 +15.5 13 0 15.5 12 0 15.5 11 0 +15.5 10 0 16 9.5 0 17 9.5 0 +18 9.5 0 19 9.5 0 19.5 10 0 +19.5 11 0 19.5 12 0 19.5 13 0 +19 13.5 0 +POLYGONS 3 46 +OFFSETS vtktypeint64 +0 29 46 +CONNECTIVITY vtktypeint64 +0 1 2 3 4 5 6 7 8 +9 10 11 12 13 14 15 16 17 +18 19 20 21 22 23 24 25 26 +27 28 29 30 31 32 33 34 35 +36 37 38 39 40 41 42 43 44 +45 diff --git a/SurfaceInterpolation/Reference/Contour_Label3.vtk b/SurfaceInterpolation/Reference/Contour_Label3.vtk new file mode 100644 index 0000000..6388787 --- /dev/null +++ b/SurfaceInterpolation/Reference/Contour_Label3.vtk @@ -0,0 +1,29 @@ +# vtk DataFile Version 5.1 +vtk output +ASCII +DATASET POLYDATA +POINTS 42 float +20 14.5 0 19 14.5 0 18 14.5 0 +17 14.5 0 16 14.5 0 15 14.5 0 +14.5 14 0 14.5 13 0 14.5 12 0 +14.5 11 0 14.5 10 0 14.5 9 0 +15 8.5 0 16 8.5 0 17 8.5 0 +18 8.5 0 19 8.5 0 20 8.5 0 +20.5 9 0 20.5 10 0 20.5 11 0 +20.5 12 0 20.5 13 0 20.5 14 0 +20 14.5 0 19.5 13 0 19.5 12 0 +19.5 11 0 19.5 10 0 19 9.5 0 +18 9.5 0 17 9.5 0 16 9.5 0 +15.5 10 0 15.5 11 0 15.5 12 0 +15.5 13 0 16 13.5 0 17 13.5 0 +18 13.5 0 19 13.5 0 19.5 13 0 + +POLYGONS 3 42 +OFFSETS vtktypeint64 +0 25 42 +CONNECTIVITY vtktypeint64 +0 1 2 3 4 5 6 7 8 +9 10 11 12 13 14 15 16 17 +18 19 20 21 22 23 24 25 26 +27 28 29 30 31 32 33 34 35 +36 37 38 39 40 41 diff --git a/SurfaceInterpolation/Reference/Contour_Label5.vtk b/SurfaceInterpolation/Reference/Contour_Label5.vtk new file mode 100644 index 0000000..bf365b2 --- /dev/null +++ b/SurfaceInterpolation/Reference/Contour_Label5.vtk @@ -0,0 +1,31 @@ +# vtk DataFile Version 5.1 +vtk output +ASCII +DATASET POLYDATA +POINTS 45 float +30 11.5 0 29 11.5 0 28.5 11 0 +28.5 10 0 28.5 9 0 28.5 8 0 +28.5 7 0 28 6.5 0 27.5 6 0 +27 5.5 0 26.5 5 0 26 4.5 0 +25 4.5 0 24 4.5 0 23 4.5 0 +22 4.5 0 21 4.5 0 20 4.5 0 +19.5 4 0 20 3.5 0 20.5 3 0 +21 2.5 0 21.5 2 0 22 1.5 0 +22.5 1 0 23 0.5 0 24 0.5 0 +25 0.5 0 26 0.5 0 27 0.5 0 +28 0.5 0 28.5 1 0 29 1.5 0 +29.5 2 0 30 2.5 0 30.5 3 0 +30.5 4 0 30.5 5 0 30.5 6 0 +30.5 7 0 30.5 8 0 30.5 9 0 +30.5 10 0 30.5 11 0 30 11.5 0 + +POLYGONS 2 45 +OFFSETS vtktypeint64 +0 45 +CONNECTIVITY vtktypeint64 +0 1 2 3 4 5 6 7 8 +9 10 11 12 13 14 15 16 17 +18 19 20 21 22 23 24 25 26 +27 28 29 30 31 32 33 34 35 +36 37 38 39 40 41 42 43 44 +