URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena/sandbox
ChangeLog:
2009-03-05 Fabien Freling <fabien.freling(a)lrde.epita.fr>
Fix ultrasound dump.
* fabien/bin/dicom2dump.cc: Minor fix.
* fabien/igr/dumps/souris18_us_01.dump: Correct dump.
---
dicom2dump.cc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: trunk/milena/sandbox/fabien/igr/dumps/souris18_us_01.dump
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/milena/sandbox/fabien/bin/dicom2dump.cc
===================================================================
--- trunk/milena/sandbox/fabien/bin/dicom2dump.cc (revision 3485)
+++ trunk/milena/sandbox/fabien/bin/dicom2dump.cc (revision 3486)
@@ -2,6 +2,7 @@
#include <mln/core/image/image2d.hh>
#include <mln/core/image/image3d.hh>
+#include <mln/value/int_u8.hh>
#include <mln/value/int_u12.hh>
#include <mln/io/dicom/load.hh>
#include <mln/io/dump/save.hh>
@@ -34,12 +35,13 @@
int main(int argc, char* argv[])
{
using namespace mln;
+ using value::int_u8;
using value::int_u12;
if (argc != 3)
return usage(argv);
- image2d<int_u12> ima;
+ image2d<int_u8> ima;
io::dicom::load(ima, argv[1]);
io::dump::save(ima, argv[2]);