Lines Matching defs:obs
74 CvImgObsInfo* obs = (CvImgObsInfo*)cvAlloc( sizeof( CvImgObsInfo) );
76 obs->obs_x = num_obs.width;
77 obs->obs_y = num_obs.height;
79 obs->obs = (float*)cvAlloc( total * obs_size * sizeof(float) );
81 obs->state = (int*)cvAlloc( 2 * total * sizeof(int) );
82 obs->mix = (int*)cvAlloc( total * sizeof(int) );
84 obs->obs_size = obs_size;
86 obs_info[0] = obs;
95 cvFree( &(obs_info->obs) );
417 CvImgObsInfo* obs = obs_info_array[k];
420 for (i = 0; i < obs->obs_y; i++)
422 for (j = 0; j < obs->obs_x; j++, count++)
424 int state = obs->state[ 2 * count + 1];
443 CvImgObsInfo* obs = obs_info_array[k];
444 int num_obs = ( obs->obs_x ) * ( obs->obs_y );
445 float* vector = obs->obs;
447 for (i = 0; i < num_obs; i++, vector+=obs->obs_size )
449 int state = obs->state[2*i+1];
452 samples_mix[state][counter[state]] = &(obs->mix[i]);
759 float* obs = obs_info->obs + j * obs_x * vect_size;
771 float* vect = obs;
853 /* cycles through obs and states */
856 CvVect32f vect = (obs_info->obs) + (obs_index + k) * vect_size;
1025 min_dist = icvSquareDistance((info->obs) + (counter * info->obs_size),
1031 float dist=icvSquareDistance( (info->obs) + (counter * info->obs_size),
1067 max_prob = icvComputeUniModeGauss( info->obs[counter], state[e_state].mu[0],
1075 float prob=icvComputeUniModeGauss(info->obs[counter], state[e_state].mu[m],
1432 float* vector = info->obs;