Example for converting images (Clormodel)
- Author
- MIP
#include <iostream>
#include <Base/Image/ImageBase.hh>
#include <Base/Image/ImageConvert.hh>
#include <Base/Image/ImageIO.hh>
using namespace BIAS;
using namespace std;
int main(int argc, char *argv[]){
if (argc!=2){
BIASERR(argv[0] << " image ");
return 0;
}
BIASERR("error loading image "<<argv[1]);
return 0;
}
BIASERR("error converting image to rgb");
return 0;
}
BIASERR("error writing image ");
return 0;
}
return 0;
}