35 #include <Image/ConvertBayerPattern.hh>
37 #error ConvertBayerPattern requires LINUX
39 #include <Base/Image/ImageIO.hh>
40 #include <Base/Image/ImageBase.hh>
41 #include <Base/Image/ImageConvert.hh>
42 #include <dc1394/dc1394.h>
43 #include <dc1394/conversions.h>
48 int main(
int argc,
char *argv[])
54 BIASERR(
"error loading image "<<argv[1]);
72 BIASERR(
"error writing image ");
Bayer_RGGB, 1 channel RGB image Bayer tile.
unsigned int GetWidth() const
Wrapper class to dc1394 bayer conversion class.
unsigned int GetHeight() const
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...