34 #include "Filter/Median.hh"
35 #include "Base/Image/ImageIO.hh"
36 #include <Base/Image/ImageConvert.hh>
39 #include <Base/Debug/TimeMeasure.hh>
45 int main(
int argc,
char *argv[]) {
54 cerr << argv[0] <<
"source image \n";
58 vector<Image<unsigned char> > images;
60 for (
int i = 1; i < argc; i++) {
62 BIASERR(
"error loading image "<<argv[1]);
65 cerr <<
"read "<<argv[i]<<endl;
static int Save(const std::string &filename, const ImageBase &img, const enum TFileFormat FileFormat=FF_auto, const bool sync=BIAS_DEFAULT_SYNC, const int c_jpeg_quality=BIAS_DEFAULT_IMAGE_QUALITY, const bool forceNewID=BIAS_DEFAULT_FORCENEWID, const bool &writeMetaData=true)
Export image as file using extrnal libs.
static int Load(const std::string &FileName, ImageBase &img)
first tries a call to Read MIP image and if that fails, tries to Import Image with all other availabl...
This is the base class for images in BIAS.