34 #include "Filter/Median.hh"
35 #include "Base/Image/ImageIO.hh"
38 #include <Base/Debug/TimeMeasure.hh>
45 int main(
int argc,
char *argv[])
51 BIASERR(
"no arg");
return -1;
55 cout <<
"Error loading "<<argv[1]<<endl;
int GetChannel(const ImageBase &source, const unsigned int channel)
copies one specific channel from source to Image can only be called from an planar image...
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.
void PrintRealTime(std::ostream &os=std::cout, const bool &verbose=true) const
print the real time (=wall time clok)
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...
class TimeMeasure contains functions for timing real time and cpu time.