31 #include <Image/Camera.hh>
36 int main(
int argc,
char *argv[])
39 for (
int i=0; i<12; i++)
42 cam.
Init(640, 480, 1);
50 BIASERR(
"error in dynamic cast");
55 cout <<
"cam2->P: "<<cam2->
GetP()<<endl;
int SetP(const PMatrix &matP)
T * GetData()
get the pointer to the data array of the matrix (for faster direct memeory access) ...
const BIAS::PMatrix & GetP() const
void Init(unsigned int Width, unsigned int Height, unsigned int channels=1, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true)
calls Init from ImageBase storageType is ignored, just dummy argument
int UpdateMetaData()
copy P_ and co.
describes a projective 3D -> 2D mapping in homogenous coordinates
This is the base class for images in BIAS.
int ParseMetaData(bool bUse2x64bitTS=true)
After ImageIO::Load() operated on AppData_, this method fills P_, Timestamp, DC_*, ...