#include <Base/Image/Image.hh>
#include <Base/Image/ImageIO.hh>
#include <Image/ConvertHDR.hh>
#include <Base/Common/FileHandling.hh>
#include <Base/Image/ImageConvert.hh>
#include <iostream>
using namespace BIAS;
using namespace std;
int main(int argc, char *argv[])
{
if (argc <2) {
cerr<< argv[0] <<" <ppmfile1> <ppmfile2> ... "<<endl;
exit(1);
}
for(int i = 1; i < argc; i++){
cout << "argv[i] " << argv[i] << endl;
cerr << "error loading file " << argv[i] << endl;
exit (-1);
}
BIASERR("could not convert ushort image to uchar");
return -1;
}
BIASERR("could not convert ushort image to uchar");
return -1;
}
}
#ifdef BUILD_IMAGE_USHORT
for(int i = 1; i < argc; i++){
cout << "argv[i] " << argv[i] << endl;
cerr << "error loading file " << argv[i] << endl;
exit (-1);
}
BIASERR("could not convert ushort image to uchar");
return -1;
}
}
#endif
return 0;
}