mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-12 23:48:55 +00:00
Finalized depth_image_to_Color_Camera mapping, added dynamic resize of the Color Image via OpenCV for improved performance and improved performance on the StoreFrame function by avoiding "vector.push_back"
This commit is contained in:
@@ -45,16 +45,26 @@ typedef struct Point3f
|
||||
this->X = 0;
|
||||
this->Y = 0;
|
||||
this->Z = 0;
|
||||
this->Invalid = false;
|
||||
}
|
||||
Point3f(float X, float Y, float Z, bool invalid)
|
||||
{
|
||||
this->X = X;
|
||||
this->Y = Y;
|
||||
this->Z = Z;
|
||||
this->Invalid = invalid;
|
||||
}
|
||||
Point3f(float X, float Y, float Z)
|
||||
{
|
||||
this->X = X;
|
||||
this->Y = Y;
|
||||
this->Z = Z;
|
||||
this->Invalid = false;
|
||||
}
|
||||
float X;
|
||||
float Y;
|
||||
float Z;
|
||||
bool Invalid = false;
|
||||
} Point3f;
|
||||
|
||||
typedef struct Point3s
|
||||
|
||||
Reference in New Issue
Block a user