Lines Matching refs:obs_y
77 obs->obs_y = num_obs.height;
265 float inv_y = 1.f/obs_info->obs_y;
272 for (i = 0; i < obs_info->obs_y; i++)
275 int superstate = (int)((i * hmm->num_states)*inv_y);/* /obs_info->obs_y; */
294 if ( hmm->num_states > obs_info->obs_y ) return CV_BADSIZE_ERR;
297 float row_per_state = (float)obs_info->obs_y / hmm->num_states;
313 ss_bound[hmm->num_states - 1] = obs_info->obs_y;
420 for (i = 0; i < obs->obs_y; i++)
444 int num_obs = ( obs->obs_x ) * ( obs->obs_y );
618 int need_size = ( obs_info->obs_x * obs_info->obs_y * total_states * sizeof(float) +
619 obs_info->obs_y * hmm->num_states * sizeof( CvMatr32f) );
623 buffer[1] = obs_info->obs_y;
633 int need_size = ( obs_info->obs_x * obs_info->obs_y * total_states * sizeof(float) +
634 obs_info->obs_y * hmm->num_states * sizeof( CvMatr32f/*(float*)*/ ) );
644 buffer[1] = obs_info->obs_y;
660 if ( (obs_info->obs_x > (*obsx) ) || (obs_info->obs_y > (*obsy) ) )
676 tmp += obs_info->obs_y;
686 for( j = 0; j < obs_info->obs_y; j++ )
755 for( j = 0; j < obs_info->obs_y; j++ )
845 for( j = 0; j < obs_info->obs_y; j++ )
909 for (j = 0; j < info->obs_y; j++)
923 if (j < info->obs_y - 1)
1018 for (i = 0; i < info->obs_y; i++)
1060 for (i = 0; i < info->obs_y; i++)
1287 CvMatr32f superB = icvCreateMatrix_32f(hmm->num_states, obs_info->obs_y );
1291 int* super_q = (int*)cvAlloc( obs_info->obs_y * sizeof(int) );
1295 q[i] = (int**)cvAlloc( obs_info->obs_y * sizeof(int*) );
1297 for (j = 0; j < obs_info->obs_y ; j++)
1308 for (j = 0; j < obs_info->obs_y; j++)
1324 icvViterbiSegmentation( hmm->num_states, obs_info->obs_y,
1326 _CV_LAST_STATE, &super_q, obs_info->obs_y,
1327 obs_info->obs_y, &log_likelihood );
1329 log_likelihood /= obs_info->obs_y ;
1334 for (i = 0; i < obs_info->obs_y; i++)
1352 for (j = 0; j < obs_info->obs_y ; j++)
1402 int num_obs = info->obs_y * info->obs_x;
1430 int total_obs = info->obs_x * info->obs_y;