From: jean-pierre roux Date: Mon, 12 Oct 2009 22:35:44 +0000 (+0000) Subject: typo X-Git-Tag: CREATOOLS.2-0-3~117 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3d3858f23806b754db4dc751f9b49d543ab444c5;p=creaImageIO.git typo --- diff --git a/src2/creaImageIOUltrasonixImageReader.cpp b/src2/creaImageIOUltrasonixImageReader.cpp index 3d9093c..a8905cc 100644 --- a/src2/creaImageIOUltrasonixImageReader.cpp +++ b/src2/creaImageIOUltrasonixImageReader.cpp @@ -172,7 +172,7 @@ namespace creaImageIO } //===================================================================== - + //===================================================================== void UltrasonixImageReader::PushBackExtensions(std::vector& v) { @@ -183,7 +183,7 @@ namespace creaImageIO //===================================================================== - vold UltrasonixImageReader::ReadAttributes(const std::string& filename, + void UltrasonixImageReader::ReadAttributes(const std::string& filename, std::map& attr) { GimmickMessage(2,"Reading attributes from '" << filename << std::endl); @@ -194,7 +194,7 @@ namespace creaImageIO std::cout << "cannot open RF file [" << filename << "]" << std::endl; return; } - + Ultrasonix_header h; if (!ReadHeader(Ultrasonix_file, h)) { @@ -202,7 +202,7 @@ namespace creaImageIO std::cout << "cannot read Ultrasonix Attributes for RF file [" << filename << "]" << std::endl; return; } - + fclose(Ultrasonix_file); // Columns @@ -225,33 +225,33 @@ namespace creaImageIO std::map::iterator i; if ( (i = attr.find("FullFileName")) != attr.end()) { - i->second = filename; + i->second = filename; } if ( (i = attr.find("D0004_1500")) != attr.end()) { - boost::filesystem::path full_path(filename); - std::string f = full_path.leaf(); - i->second = f; + boost::filesystem::path full_path(filename); + std::string f = full_path.leaf(); + i->second = f; } if ( (i = attr.find("D0028_0010")) != attr.end()) { - i->second = rows; + i->second = rows; } if ( (i = attr.find("D0028_0011")) != attr.end()) { - i->second = cols; + i->second = cols; } if ( (i = attr.find("D0028_0012")) != attr.end()) { - i->second = planes; + i->second = planes; } if ( (i = attr.find("D003a_001a")) != attr.end()) { - i->second = samplingFrequency; + i->second = samplingFrequency; } if ( (i = attr.find("D0018_6030")) != attr.end()) { - i->second = transducerFrequency; + i->second = transducerFrequency; } GimmickMessage(2,"Attributes map:"<