* sandbox/theo/igr/irm_anat_segm.cc,
* sandbox/theo/igr/pgms2raw.cc,
* sandbox/theo/igr/raw2pgm.cc: rename here.
---
milena/sandbox/ChangeLog | 8 ++++++++
milena/sandbox/theo/igr/irm_anat_segm.cc | 4 ++--
milena/sandbox/theo/igr/pgms2raw.cc | 2 +-
milena/sandbox/theo/igr/raw2pgm.cc | 2 +-
4 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/milena/sandbox/ChangeLog b/milena/sandbox/ChangeLog
index b10e391..aa7979b 100644
--- a/milena/sandbox/ChangeLog
+++ b/milena/sandbox/ChangeLog
@@ -1,5 +1,13 @@
2009-02-03 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Rename io::raw as io::dump in sandbox.
+
+ * sandbox/theo/igr/irm_anat_segm.cc,
+ * sandbox/theo/igr/pgms2raw.cc,
+ * sandbox/theo/igr/raw2pgm.cc: rename here.
+
+2009-02-03 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Update igr's code.
* lazzara/igr.cc: make use of registration::icp.
diff --git a/milena/sandbox/theo/igr/irm_anat_segm.cc
b/milena/sandbox/theo/igr/irm_anat_segm.cc
index 47bb962..8816a7f 100644
--- a/milena/sandbox/theo/igr/irm_anat_segm.cc
+++ b/milena/sandbox/theo/igr/irm_anat_segm.cc
@@ -36,7 +36,7 @@ int main(int argc, char* argv[])
trace::quiet = false;
image3d<int_u8> vol, grad, clo;
- io::raw::load(vol, argv[1]);
+ io::dump::load(vol, argv[1]);
grad = morpho::elementary::gradient(vol, c6());
clo = morpho::closing_volume(grad, c6(), 666);
@@ -58,5 +58,5 @@ int main(int argc, char* argv[])
convert::from_to(a, f);
image3d<int_u8> out = level::transform(wst, f);
- io::raw::save(out, argv[2]);
+ io::dump::save(out, argv[2]);
}
diff --git a/milena/sandbox/theo/igr/pgms2raw.cc b/milena/sandbox/theo/igr/pgms2raw.cc
index 406feaf..444ecd7 100644
--- a/milena/sandbox/theo/igr/pgms2raw.cc
+++ b/milena/sandbox/theo/igr/pgms2raw.cc
@@ -34,5 +34,5 @@ int main(int argc, char* argv[])
arr.append(ima);
}
image3d<int_u8> vol = make::image3d(arr);
- io::raw::save(vol, argv[1]);
+ io::save(vol, argv[1]);
}
diff --git a/milena/sandbox/theo/igr/raw2pgm.cc b/milena/sandbox/theo/igr/raw2pgm.cc
index 90105d6..d654ffd 100644
--- a/milena/sandbox/theo/igr/raw2pgm.cc
+++ b/milena/sandbox/theo/igr/raw2pgm.cc
@@ -26,7 +26,7 @@ int main(int argc, char* argv[])
usage(argv);
image3d<int_u8> vol;
- io::raw::load(vol, argv[1]);
+ io::dump::load(vol, argv[1]);
int_u8 bg = 0;
image2d<int_u8> ima = debug::slices_2d(vol, 1.f, bg);
--
1.5.6.5
Show replies by date