Lines Matching refs:obs_x
76 obs->obs_x = num_obs.width; in icvCreateObsInfo()
264 float inv_x = 1.f/obs_info->obs_x; in icvUniformImgSegm()
279 for (j = 0; j < obs_info->obs_x; j++, counter++) in icvUniformImgSegm()
304 col_per_state[i] = (float)obs_info->obs_x / ehmm->num_states; in icvUniformImgSegm()
330 es_bound[ehmm->num_states - 1] = obs_info->obs_x; in icvUniformImgSegm()
338 obs_info->state[row * obs_info->obs_x + 2 * k] = i; in icvUniformImgSegm()
339 obs_info->state[row * obs_info->obs_x + 2 * k + 1] = j + index; in icvUniformImgSegm()
347 memcpy( &(obs_info->state[m * obs_info->obs_x * 2]), in icvUniformImgSegm()
348 … &(obs_info->state[row * obs_info->obs_x * 2]), obs_info->obs_x * 2 * sizeof(int) ); in icvUniformImgSegm()
422 for (j = 0; j < obs->obs_x; j++, count++) in icvInitMixSegm()
444 int num_obs = ( obs->obs_x ) * ( obs->obs_y ); in icvInitMixSegm()
618 int need_size = ( obs_info->obs_x * obs_info->obs_y * total_states * sizeof(float) + in icvEstimateObsProb()
624 buffer[2] = obs_info->obs_x; in icvEstimateObsProb()
633 int need_size = ( obs_info->obs_x * obs_info->obs_y * total_states * sizeof(float) + in icvEstimateObsProb()
645 buffer[2] = obs_info->obs_x; in icvEstimateObsProb()
660 if ( (obs_info->obs_x > (*obsx) ) || (obs_info->obs_y > (*obsy) ) ) in icvEstimateObsProb()
689 tmpf += ehmm->num_states * obs_info->obs_x; in icvEstimateObsProb()
706 int obs_x = obs_info->obs_x; in icvEstimateObsProb() local
724 max_size *= obs_x * vect_size; in icvEstimateObsProb()
759 float* obs = obs_info->obs + j * obs_x * vect_size; in icvEstimateObsProb()
774 for( n = 0; n < obs_x; n++, vect += vect_size, log_mp += n_states ) in icvEstimateObsProb()
800 cvbFastExp( log_mix_prob, mix_prob, max_mix * obs_x * n_states ); in icvEstimateObsProb()
804 for( n = 0; n < obs_x; n++, mp += n_states ) in icvEstimateObsProb()
816 int ofs = -m*obs_x*n_states; in icvEstimateObsProb()
817 for( n = 0; n < obs_x; n++, mp += n_states ) in icvEstimateObsProb()
831 cvbFastLog( mix_prob, ehmm->obsProb[j], obs_x * n_states ); in icvEstimateObsProb()
849 int obs_index = j * obs_info->obs_x; in icvEstimateObsProb()
854 for( k = 0; k < obs_info->obs_x; k++ ) in icvEstimateObsProb()
911 for (k = 0; k < info->obs_x; k++, counter++) in icvEstimateTransProb()
927 nextsuperstate = info->state[ 2*(counter + info->obs_x) ]; in icvEstimateTransProb()
932 if (k < info->obs_x - 1) in icvEstimateTransProb()
1020 for (j = 0; j < info->obs_x; j++, counter++) in icvMixSegmL2()
1282 float inv_obs_x = 1.f / obs_info->obs_x; in icvEViterbi()
1299 q[i][j] = (int*)cvAlloc( obs_info->obs_x * sizeof(int) ); in icvEViterbi()
1313 icvViterbiSegmentation( ehmm->num_states, obs_info->obs_x, in icvEViterbi()
1315 _CV_LAST_STATE, &q[i][j], obs_info->obs_x, in icvEViterbi()
1316 obs_info->obs_x, &max_gamma); in icvEViterbi()
1336 for (j = 0; j < obs_info->obs_x; j++, counter++) in icvEViterbi()
1402 int num_obs = info->obs_y * info->obs_x; in icvEstimateHMMStateParams()
1430 int total_obs = info->obs_x * info->obs_y; in icvEstimateHMMStateParams()