When i run your codes in Visual Studio, it always reports errors.
typedef struct MyCvGaussBGValues
{
float match_sum;
float weight;
float mean[3];
float variance[3];
}
MyCvGaussBGValues;
MyCvGaussBGValues *g_point = (MyCvGaussBGValues ) ((CvMat)(bg_model->g_point))->data.ptr;
MyCvGaussBGValues *mptr = g_point;
Do these codes have some problems?
When i run your codes in Visual Studio, it always reports errors.
typedef struct MyCvGaussBGValues
{
float match_sum;
float weight;
float mean[3];
float variance[3];
}
MyCvGaussBGValues;
MyCvGaussBGValues *g_point = (MyCvGaussBGValues ) ((CvMat)(bg_model->g_point))->data.ptr;
MyCvGaussBGValues *mptr = g_point;
Do these codes have some problems?