Commit c1328fe3 authored by Fabien Freling's avatar Fabien Freling
Browse files

Fix ultrasound dump.

	* fabien/bin/dicom2dump.cc: Minor fix.
	* fabien/igr/dumps/souris18_us_01.dump: Correct dump.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3486 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent d76f46f5
2009-03-05 Fabien Freling <fabien.freling@lrde.epita.fr>
Fix ultrasound dump.
* fabien/bin/dicom2dump.cc: Minor fix.
* fabien/igr/dumps/souris18_us_01.dump: Correct dump.
2009-03-05 Fabien Freling <fabien.freling@lrde.epita.fr>
Add dump example for US images..
......
......@@ -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 usage(char* argv[])
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]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment