*/
#include <creaImageIODicomScanner.h>
-#include "creaImageIOSystem.h"
+
#include <boost/filesystem.hpp>
#include "boost/algorithm/string.hpp"
-
-
-
-#include <creaImageIOSystem.h>
#include "boost/filesystem/path.hpp"
-#include <creaImageIOTreeAttributeDescriptor.h>
-#include <vtkStringArray.h>
-#include <creaImageIOGimmick.h>
-#include <gdcmDirectory.h>
-
#include <fstream>
-
+#if defined(_WIN32)
+#pragma warning(disable: 4996)
+#endif
#ifdef _DEBUG
#define new DEBUG_NEW
if ( attr.find("D0004_1500") != attr.end())
{
boost::filesystem::path full_path(filename);
- std::string f = full_path.leaf();
+ std::string f = full_path.leaf().string();
attr["D0004_1500"] = f;
}
if ( attr.find("FullFileName")!= attr.end())