Lines Matching refs:obs
74 CvImgObsInfo* obs = (CvImgObsInfo*)cvAlloc( sizeof( CvImgObsInfo) ); in icvCreateObsInfo() local
76 obs->obs_x = num_obs.width; in icvCreateObsInfo()
77 obs->obs_y = num_obs.height; in icvCreateObsInfo()
79 obs->obs = (float*)cvAlloc( total * obs_size * sizeof(float) ); in icvCreateObsInfo()
81 obs->state = (int*)cvAlloc( 2 * total * sizeof(int) ); in icvCreateObsInfo()
82 obs->mix = (int*)cvAlloc( total * sizeof(int) ); in icvCreateObsInfo()
84 obs->obs_size = obs_size; in icvCreateObsInfo()
86 obs_info[0] = obs; in icvCreateObsInfo()
95 cvFree( &(obs_info->obs) ); in icvReleaseObsInfo()
417 CvImgObsInfo* obs = obs_info_array[k]; in icvInitMixSegm() local
420 for (i = 0; i < obs->obs_y; i++) in icvInitMixSegm()
422 for (j = 0; j < obs->obs_x; j++, count++) in icvInitMixSegm()
424 int state = obs->state[ 2 * count + 1]; in icvInitMixSegm()
443 CvImgObsInfo* obs = obs_info_array[k]; in icvInitMixSegm() local
444 int num_obs = ( obs->obs_x ) * ( obs->obs_y ); in icvInitMixSegm()
445 float* vector = obs->obs; in icvInitMixSegm()
447 for (i = 0; i < num_obs; i++, vector+=obs->obs_size ) in icvInitMixSegm()
449 int state = obs->state[2*i+1]; in icvInitMixSegm()
452 samples_mix[state][counter[state]] = &(obs->mix[i]); in icvInitMixSegm()
759 float* obs = obs_info->obs + j * obs_x * vect_size; in icvEstimateObsProb() local
771 float* vect = obs; in icvEstimateObsProb()
856 CvVect32f vect = (obs_info->obs) + (obs_index + k) * vect_size; in icvEstimateObsProb()
1025 min_dist = icvSquareDistance((info->obs) + (counter * info->obs_size), in icvMixSegmL2()
1031 float dist=icvSquareDistance( (info->obs) + (counter * info->obs_size), in icvMixSegmL2()
1432 float* vector = info->obs; in icvEstimateHMMStateParams()