예제 #1
0
void tracking_window::subject2mni(image::vector<3>& pos)
{
    if(mi3.get() && mi3->progress == 2)
    {
        mi3->T(pos);
        image::vector<3> result;
        mi3->bnorm_data(pos,result);
        pos = result;
        fa_template_imp.to_mni(pos);
    }
    else
    if(!handle->fib_data.trans_to_mni.empty())
    {
        image::vector<3> mni;
        image::vector_transformation(pos.begin(),mni.begin(), handle->fib_data.trans_to_mni,image::vdim<3>());
        pos = mni;
    }
}
예제 #2
0
 const float* get_bvec(void) const
 {
     return &*bvec.begin();
 }