Lines Matching refs:cvAlloc
74 CvImgObsInfo* obs = (CvImgObsInfo*)cvAlloc( sizeof( CvImgObsInfo) ); 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()
144 hmm = (CvEHMM*)cvAlloc( (state_number[0] + 1) * sizeof(CvEHMM) ); in icvCreate2DHMM()
151 all_states = (CvEHMMState *)cvAlloc( real_states * sizeof( CvEHMMState ) ); in icvCreate2DHMM()
165 pointers = (float*)cvAlloc( total_mix * (2/*for mu invvar */ * obs_size + in icvCreate2DHMM()
401 num_samples = (int*)cvAlloc( total * sizeof(int) ); in icvInitMixSegm()
404 counter = (int*)cvAlloc( total * sizeof(int) ); in icvInitMixSegm()
406 samples = (CvVect32f**)cvAlloc( total * sizeof(CvVect32f*) ); in icvInitMixSegm()
407 samples_mix = (int***)cvAlloc( total * sizeof(int**) ); in icvInitMixSegm()
431 a_class = (int**)cvAlloc( total*sizeof(int*) ); in icvInitMixSegm()
435 a_class[i] = (int*)cvAlloc( num_samples[i] * sizeof(int) ); in icvInitMixSegm()
436 samples[i] = (CvVect32f*)cvAlloc( num_samples[i] * sizeof(CvVect32f) ); in icvInitMixSegm()
437 samples_mix[i] = (int**)cvAlloc( num_samples[i] * sizeof(int*) ); in icvInitMixSegm()
621 int* buffer = (int*)cvAlloc( need_size + 3 * sizeof(int) ); in icvEstimateObsProb()
642 buffer = (int*)cvAlloc( need_size + 3 * sizeof(int)); in icvEstimateObsProb()
729 log_mix_prob = (float*)cvAlloc( max_size*(sizeof(float) + sizeof(double))); in icvEstimateObsProb()
1110 float* m_pi = (float*)cvAlloc( num_states* sizeof(float) ); in icvViterbiSegmentation()
1133 int* m_csi = (int*)cvAlloc( num_states * m_maxNumObs * sizeof(int) ); in icvViterbiSegmentation()
1290 int*** q = (int***)cvAlloc( hmm->num_states * sizeof(int**) ); in icvEViterbi()
1291 int* super_q = (int*)cvAlloc( obs_info->obs_y * sizeof(int) ); in icvEViterbi()
1295 q[i] = (int**)cvAlloc( obs_info->obs_y * sizeof(int*) ); in icvEViterbi()
1299 q[i][j] = (int*)cvAlloc( obs_info->obs_x * sizeof(int) ); in icvEViterbi()