20 #ifndef OST_IO_DF3_HANDLER_HH
21 #define OST_IO_DF3_HANDLER_HH
28 namespace ost {
namespace io {
34 DF3(
bool normalize_on_save =
false);
36 bool GetNormalizeOnSave()
const;
37 void SetNormalizeOnSave(
bool normalize_on_save);
38 Real GetMaximum()
const;
39 Real GetMinimum()
const;
40 static String FORMAT_STRING;
41 static String FORMAT_NAME_STRING;
42 static String FORMAT_ALIGNMENT_STRING;
46 bool normalize_on_save_;
52 virtual void Import(
img::MapHandle& sh,
const boost::filesystem::path& loc,
53 const ImageFormatBase& formatstruct);
55 const ImageFormatBase& formatstruct);
56 virtual void Export(
const img::MapHandle& sh,
const boost::filesystem::path& loc,
57 const ImageFormatBase& formatstruct)
const;
59 const ImageFormatBase& formatstruct)
const;
60 static bool MatchContent(
unsigned char* header);
61 static bool MatchType(
const ImageFormatBase& type);
62 static bool MatchSuffix(
const String& loc);