Example for converting Bayer Pattern to RGB images using BIAS::ConvertBayerPattern
- Author
- bangerer
#ifndef WIN32
#include <Image/ConvertBayerPattern.hh>
#else
#error ConvertBayerPattern requires LINUX
#endif
#include <Base/Image/ImageIO.hh>
#include <Base/Image/ImageBase.hh>
#include <Base/Image/ImageConvert.hh>
#include <dc1394/dc1394.h>
#include <dc1394/conversions.h>
using namespace BIAS;
using namespace std;
int main(int argc, char *argv[])
{
BIASERR("error loading image "<<argv[1]);
return 0;
}
BIASERR("error writing image ");
return 0;
}
return 0;
}