Hi,
I wish to do an overlay of MRI_IMAGE* on the image viewer.
I am generating an MRI_IMAGE pointer by using THD_extract_float_brick(index,dset) function, where dset is an THD_3dim_dataset pointer to an fmri dataset.
I wish to display this MRI_IMAGE as an overlay image by making some changes to the source code.
Currently i am doing this -
MRI_IMAGE *qim = THD_extract_float_brick(0,qset);
im3d->s123->ovim = qim ;
IM3D_CLEAR_TMASK(im3d) ;
IM3D_CLEAR_THRSTAT(im3d) ;
AFNI_redisplay_func_all( im3d ) ;
But I am unable to get any overlay image. Any help in this regard would be appreciated.
Thanks