Example for pasting an image to an Image ROI (Region Of Interest)
, ImageBase
- Author
- MIP
#include <iostream>
#include <Base/Image/ImageBase.hh>
#include <Base/Image/ImageIO.hh>
using namespace BIAS;
using namespace std;
int main(int argc, char *argv[])
{
unsigned int tilecount=2;
unsigned int x, y;
if (argc!=2){
BIASERR(argv[0] << " image ");
return 0;
}
BIASERR("error loading image "<<argv[1]);
return 0;
}
BIASERR("error pasting to ROI");
}
}
}
BIASERR("error writing image ");
return -4;
}
BIASERR("error exporting image ");
return -2;
}
return 0;
}