void UltrasonixImageReader::ReadAttributes(const std::string& filename,
std::map<std::string,std::string>& attr)
{
- // std::cout << "UltrasonixImageReader::ReadDicomInfo '"<<filename<<"'"<<std::endl;
GimmickMessage(2,"Reading attributes from '"<<filename<<std::endl);
-
FILE *Ultrasonix_file=fopen(filename.c_str(),"rb");
if (!Ultrasonix_file) return;
std::map<std::string,std::string>::iterator i;
if ( (i = attr.find("FullFileName")) != attr.end())
{
- // boost::filesystem::path full_path(filename);
- // std::string f = full_path.leaf();
i->second = filename;
}
if ( (i = attr.find("D0004_1500")) != attr.end())