Anand Joshi

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 172 total)
  • Author
    Posts
  • in reply to: Brain Mapping #1202
    Anand Joshi
    Moderator

    If the *.roiwise.stats.txt file reports the volumes of then ROIs then these ROIs should be generated by BrainSuite. If the ROI volumes are not reported in the .txt file, then it is likely that something in the cortical extraction or registration sequence has not worked well. Please check the outputs at each stage to figure out.

    in reply to: lobe cortex volumetry? #1201
    Anand Joshi
    Moderator

    Thank you for using BrainSuite.
    When you run the full brainsuite sequence, it generates *.roiwise.stats.txt file that has ROIwise volumes. You can open this file in excel and check the volumes of the ROIs.

    in reply to: registration process error #1200
    Anand Joshi
    Moderator

    Is your windows system 32 bit o 64 bit?
    Is the pial surface generated correctly?

    in reply to: Extraction of single anatomical Surfaces #1191
    Anand Joshi
    Moderator

    The source code mentioned above has functionality to remove tiny patches of voxels that you can seen in the surfaces. It can be done in Matlab as follows, using the svreg source code from the brainsuite website.

    s=readdfs(surfacefile);
    s=myclean_patch_cc(s);
    sm=smooth_cortex_fast(s,.1,1000);
    view_patch(sm);

    We don’t have a command line utility for doing this, but the above mentioned matlab code should work.

    in reply to: errors in surfaces #1190
    Anand Joshi
    Moderator

    Please inspect the quality of cortical surfaces. It is likely that the surfaces are not extracted properly. Do they look realistic?

    in reply to: registration process error #1178
    Anand Joshi
    Moderator

    You can drag and drop dfc files in brainsuite interface to see the sulci.

    in reply to: Compute Thickness Warning Input too may not.. #1177
    Anand Joshi
    Moderator

    If the thickness looks ok, then don’t worry about the warning. Usually, it does not cause any problems, it is just a precaution.

    in reply to: Extraction of single anatomical Surfaces #1176
    Anand Joshi
    Moderator

    Hi Louise, For some reason, I can’t see the image you posted.
    You can smooth the surface in matlab using svreg code.
    First, save the surface as a dfs file using BrainSuite.
    1. Generate the surface in BrainSuite
    2. Goto Surface->Surface Display properties, select the surface that you want to save and press save button under the surface properties bar.
    3. Download svreg source code from downloads section on BrainSuite website. Add path to the code in matlab.

    s=readdfs(surfacefile);
    sm=smooth_cortex_fast(s,.1,1000);
    view_patch(sm);

    You can also save it back to dfs file using writedfs function.

    Additionally, you can compute vertexwise curvature using patchcurvature function available here:
    https://www.mathworks.com/matlabcentral/fileexchange/32573-patch-curvature

    in reply to: registration process error #1117
    Anand Joshi
    Moderator

    Can you please type the error log here?

    in reply to: combine and delete labels #972
    Anand Joshi
    Moderator

    For combining
    v.img(v.img==l1|v.img==l2)=l1;
    should work. What happens when you do that?

    in reply to: combine and delete labels #969
    Anand Joshi
    Moderator

    Thanks, Mike for your feedback. With the current release, you can use the Matlab functions from SVReg source code to load the label nifti files in Matlab, delete and combine the labels you want, and then save the file.

    Here is a pseudocode

    v=load_nii_BIG_Lab(labelfilename);
    v.img(v.img==l1||v.img==l2)=l1; %combine labels l1 and l2
    v.img(v.img==l3)=0; %delete label l3
    save_untouch_nii(out_file, v)

    in reply to: Problem with smoothing #915
    Anand Joshi
    Moderator

    You can ignore the warning. The output should be correct.

    in reply to: Problem with smoothing #913
    Anand Joshi
    Moderator

    Instead of std2 try just 2

    in reply to: Problem with smoothing #911
    Anand Joshi
    Moderator

    What’s the command line that you tried?

    in reply to: Problem with smoothing #908
    Anand Joshi
    Moderator

    svreg_smooth_vol_function.sh uses 3D Gaussian smoothing. The parameters specify standard deviation, in mm, of the Gaussian kernel for the smoothing. One can specify the std dev in three directions separately.
    Please make sure to svreg_smooth_vol_function.sh for nii.gz volume files, and svreg_smooth_surf_function.sh for .dfs files for surface based smoothing.

Viewing 15 posts - 76 through 90 (of 172 total)