Showing 26-50 of 163 topics
Display:
Results per page:

< Previous   1   2   3   ...   7   Next >
  • Apr 25, 2022  05:04 AM | nairulislam
    How do I extract the masks out of a nii file?
    I am opening an MRI image, and adding overlays on it. I want to extract those areas within the MRIs where the base images and the overlays overlap.

    • Apr 25, 2022  12:04 PM | Chris Rorden
      RE: How do I extract the masks out of a nii file?
      With MRIcron
       Draw/MaskImageWithVOI
      With MRIcroGL
       Draw/Advanced/MaskImage

      • Apr 27, 2022  05:04 PM | nairulislam
        RE: How do I extract the masks out of a nii file?
        For MRIcoGL the steps are Draw/Advanced/Mask Image/Preserve regions with VOI, and after that you save the mask, File/Save Volume. Right?

  • Apr 19, 2022  11:04 AM | Lars Eirik Bø
    Brunner-Munzel test in NiiStat?
    Hi,

    I see in this forum that the NPM has now been replaced with NiiStat. As far as I understand, NPM supported the use of the Brunner-Munzel test for creating VLSMs, but in the NiiStat introduction it states that "[r]esults are identical to a Student's pooled-variance t-test (if one of the dimensions is binomial)". Does that mean that NiiStat does not support the Brunner-Munzel test?

    TIA

    Lars Eirik

    (PS. I tried asking about this in the NiiStat help forum, but didn't get an answer, so I thought I'd try this forum, as it seems more active.)

  • Mar 12, 2022  08:03 AM | schn
    NIfTI to VOI
    Hello everyone,

    I am a beginner using MRICron. For a research project I manually drew the lesion areas of several stoke patients in MRICron in axial view. I aimed to create .VOI files - one for each patient - in order to create overlays afterwards. 

    Instead of saving the VOIs via Draw->Save VOI I saved the files via File->Save as NIfTI and chose the .voi format. When trying to open the images again the drawn lesions were not in the file anymore. Now I found out that I probably had saved new templates instead of saving VOI. 

    Do you know of any way to convert the NIfTI files to VOI to make the drawn lesions visible again?

    Thanks in advance for your help and kind regards
    Nadine

    • Mar 12, 2022  02:03 PM | Chris Rorden
      RE: NIfTI to VOI
      The File/SaveAsNIfTI option saves the MRI scan you are viewing. This allows you to convert various image formats (MGH, NRRD, ECAT) to NIfTI. The Draw/SaveVOI option saves your drawing. This is described in the manual:
        https://people.cas.sc.edu/rorden/mricron/stats.html
      If you are just getting started, and are using a computer built in the last decade, I would suggest you use the modern MRIcroGL instead of the legacy MRIcron
        https://www.nitrc.org/plugins/mwiki/index.php/mricrogl:MainPage#Drawing_Regions_of_Interest
      While I am glad that my classic tools have remained popular and robust, I have a heavy teaching, administration, service and research load, so have little time to support these older tools.

      • Mar 15, 2022  07:03 AM | schn
        RE: NIfTI to VOI
        Dear Mr. Rorden, 

        thank you very much for your reply! 

        Kind regards!

  • Mar 9, 2022  05:03 PM | Qiushuo Cheng
    Can't download dcm2nii.exe
    Hi,
    I download win.zip, but when I unzip it, there is no dcm2nii.exe.
    The same happened in my Linux system, there is no dcm2nii.

    What should I do?

    Yours,
    Qiushuo

    • Mar 9, 2022  06:03 PM | Chris Rorden
      RE: Can't download dcm2nii.exe
      When you download a recent version of MRIcron (e.g. v1.0.20190902)
        https://www.nitrc.org/frs/?group_id=152
      you will notice that it includes an executable dcm2niix in its 'resources' folder. The MRIcron "Import" menu item provides a graphical wrapper for dcm2niix, but you can also run it from the command prompt.

      dcm2niix is the modern version of dcm2nii that includes support for BIDS output and enhanced DICOM.
        https://github.com/rordenlab/dcm2niix

      • Mar 10, 2022  09:03 AM | Qiushuo Cheng
        RE: Can't download dcm2nii.exe
        Thank you for you timely response!

        But I think I need to use dcm2nii, rather dcm2niiX.
        When I use dcm2nii, the script report a fault,"Warning: Unable to determine manufacturer (0008,0070), so conversion is not tuned for vendor."
        I am trying to reconstruct a Github project on my computer, and they used dcm2nii.




        Qiushuo

        • Mar 10, 2022  01:03 PM | Chris Rorden
          RE: Can't download dcm2nii.exe
          You can always download an older version of MRIcron that uses dcm2nii, e.g. the version from 2016:
            https://www.nitrc.org/frs/?group_id=152
          Regardless of whether you use dcm2niix or dcm2nii, knowing the manufacturer is vital for interpreting the private tags (e.g. 0021,105b refers to Sequence Variant for Siemens data but TaggingFlipAngle for GE data). While both tools MIGHT be able to extract an image, they will have impoverished meta data. You may want to use a tool like gdcmdump to identify your manufacturer and dcmodify to re-instate this crucial information.

          • Mar 10, 2022  02:03 PM | Qiushuo Cheng
            RE: Can't download dcm2nii.exe
            Thank you for you response.

            I have downloaded and unzipped every version on the website, however, there is no dcm2nii.exe in any packages.

            Mar 10, 2022  02:03 PM | Qiushuo Cheng
            RE: Can't download dcm2nii.exe
            There is no 2016 version of MRIcron, either.

            • Mar 11, 2022  01:03 PM | Chris Rorden
              RE: Can't download dcm2nii.exe
              Good point, the release was hidden. If you check again you will find
                MRIcron/NPM/dcm2nii 2MAY2016
              The project is open source so you can build it yourself.
                https://github.com/neurolabusc/MRIcron/tree/master/dcm2nii

              Please bear in mind that I have a heavy teaching, service and administration load, and while I am happy my legacy tools have proved popular and robust, I am not in a position to support them. That software was developed before enhanced DICOM was popular, and before the BIDS standard.

  • Feb 10, 2022  04:02 AM | Krystal Yau
    Classification of DICOM images
    Dear expert,

    I have been searching up online on how to classify the DICOM images into different categories/ folders, i.e. T1, T2, FLAIR, M0 and PCASL.  

    Currently, the files that named with Z in the beginning, e.g. "Z01", "Z02" ... "Z8568".  After converting dcm images into nii files are basically named "'myFolder_MPRAGE_19770703150928_1.nii'".  I understand that I can modify the file name by modifying the annotation under "Output Filename". I'm stuck at the step of categorizing them...

    Could you please advise how to classify the images as well as in batch processing?

    Your attention and help will be highly appreciated!

    Thanks a lot.

    Best regards,
    Krystal
    Attachment: Screenshot_1.jpg

    • Feb 10, 2022  12:02 PM | Chris Rorden
      RE: Classification of DICOM images
      dcm2niix does not know the intention of your sequences. A T2* scan might be a task fMRI in one series and a resting state acquisition in another. 

      You may want to look at one of the many tools that wraps dcm2niix with your study-specific heuristics. Examples include ezBIDS, Heidiconv, and Dcm2Bids
        https://github.com/rordenlab/dcm2niix#li...

      For future acquisitions, you can set the series name on your console to match your intention, e.g. "T1", "T2", "FLAIR". You can even do this to help automate conversion to BIDS data:
       https://github.com/ReproNim/reproin

  • Jan 27, 2022  02:01 PM | Bradley Delman - Mount Sinai Medical Center
    Rotation of angled subject
    Hi,

    Some subjects just cannot lay still in a neutral position. I am looking for a way in Mricron to rotate a volume to visualize subjects in anatomic/orthogonal alignment. This would only require a few degrees of correction of pitch, roll and yaw, while retaining coordinates of the unrotated dataset.

    Thanks in advance!

    • Jan 27, 2022  04:01 PM | Chris Rorden
      RE: Rotation of angled subject
      Interpolating and reslicing data is a lossy operation. You will really want to use a dedicate tool like FSL's mcflirt or SPM's motion correction algorithm to deal with these effects. If you use AFNI, you can uses its motion censoring functions to detect and eliminate noisy artifacts.

      • Jan 27, 2022  04:01 PM | Bradley Delman - Mount Sinai Medical Center
        RE: Rotation of angled subject
        Hi and thanks for the prompt feedback.

        Because of our application I'm less concerned about lossiness. We need to identify landmarks on a dataset that we will then go back to use the initial (unrotated) data for. I just need to be sure the landmarks are consistently and evenly placed. Does that change options for rotating within Mricron?

  • Jan 26, 2022  04:01 AM | Krystal Yau
    Image display is off
    Dear experts,

    I am new to mricron and trying to view the images. As I opened the nifti files that were just converted from dicom, the images look odd.  The brain images were not displayed in their proper size/ dimension. I have no idea how to resize it.  Please see the attached file for your reference.

    The images, also, look so dull.  How can I make it clearer?

    Thanks.

    Regards,
    Krystal
    Attachment: Screenshot_1.jpg

    • Jan 26, 2022  03:01 PM | Chris Rorden
      RE: Image display is off
      Your data is anisoptropic. You can check the "Reorient images when loading" checkbox in preferences to interpolate the images, though note there will no longer we a one-to-one correspondence between screen pixels and image voxels. For future sequences, you may want to consider using isotropic sequences. 

      You may also want to try MRIcroGL - I am glad that MRIcron has proved robust and popular, but I no longer have time to actively develop MRIcron.

  • Jan 25, 2022  01:01 PM | Krystal Yau
    DICOM converted into Nifti
    Hi experts,

    I am new to SPM 12. I have converted the MR images from dcm to nii by using mricron. But when I followed through the tutorial (https://andysbrainbook.readthedocs.io/en...), it showed the directory where the files are stored. However, when I relocated to my directory, which was on my desktop, it was not found (even though I copied the path).

    Can you please advise?

    Thanks,
    Krystal

    • Jan 25, 2022  02:01 PM | Chris Rorden
      RE: DICOM converted into Nifti
      Sounds like a question for the SPM forum:
        https://www.jiscmail.ac.uk/cgi-bin/wa-jisc.exe?A1=ind2201&L=SPM&X=6A30DF6DC73478E1E1&Y=rorden%40sc.edu

      You may also want to watch some of Andy's outstanding YouTube videos.

  • Jul 7, 2020  06:07 PM | sbr
    How to adjust preferences to load all volumes?
    When attempting to load the NIfTI file images, a pop-up message indicates that a "large image downsample" has occurred and that an adjustment in the preferences must be completed to load all volumes. Currently, this makes the sagittal and coronal views of the images look blurry (attached image). Could anyone give me directions on how to alter this in the preferences (which setting to alter) to be able to load all volumes?

    Thank you in advance.

    • Jul 7, 2020  06:07 PM | Chris Rorden
      RE: How to adjust preferences to load all volumes?
      Hello,
       What version are you using? If you are using the pre-release (v1.2.20200707) https://github.com/rordenlab/MRIcroGL12/releases/tag/v1.2.20200707 you can change this by going to the Preferences window and setting the "Reduces volumes larger than ..." If you are using an older version of v1.2, you can select Preferences and press the "Advanced" button to edit the text file, in this case the value you want to edit is "MaxVox=560". The default setting is 560 which will work for all modern graphics cards. If you have a discrete graphics card with 8Gb of RAM, you can set this to 1024. This will stop the downsampling of large data.

      Unfortunately, while changing this will hide the warning, in your case it will not make the resulting image look much better. In your example, the image has a exceptionally high in-plane resolution, but very thick slices. These thick slices make the image look blurry in the slice (head-foot) direction. This is an inherent property of your anisotropic image, any tool must interpolate this low resolution dimension. In future, you may want to consider acquiring isotropic images. For Siemens the classic 3D T1 sequence is referred to as "MP-RAGE" and the 3D T2 sequence is "SPACE" - both can provide outstanding isotropic images.

      • Jul 7, 2020  06:07 PM | sbr
        RE: How to adjust preferences to load all volumes?
        Thank you for your help and the advice, luckily the data is from a pilot and things can be altered.

        Jan 12, 2022  11:01 AM | mehrnaz kamyab
        RE: How to adjust preferences to load all volumes?
        Hello,
        I have same problem in loading fMRI image. MRIcroGL only loads 409 volume of total 600 volume. I am using "MRIcroGL 1.2.20211006 GTK2 x86-64 LLVM" on ubuntu 20.04. In Help menu by selecting Prefernces, I can not find "Reduces volumes larger than ...", and also in advanced mode I have no "MaxVox=560" element in it. Why is it like that? How can I solve this issue?

  • Jan 8, 2022  03:01 AM | where
    problem about coregister
    您好,请问我用 SPM12 做MRI T1像与 fMRI 的配准时,为什么会失败?配准结束后,我用 mricron 同时点开 T1 像和 fMRI 影像(view 中有yoke 的功能),它们并不在同一个坐标原点上,甚至有的时候,查看其中一个影像时,另外一个影像不会在mricron的展示区内出现。
    十分感谢您的帮助,期待回复~

    • Jan 8, 2022  03:01 AM | where
      RE: problem about coregister
      Hello,
      why does the registration of MRI T1 image and fMRI fail when I use SPM12? After the registration, I use mricron to open the T1 image and the fMRI image at the same time (there is a yoke function in the view), they are not at the same coordinate origin, and sometimes even when viewing one image, the other image does not Appears in mricron's display area.
      It will prompt: No overlap between overlay and background - these images do not appear coregistered.
      Thank you very much for your help, looking forward to your reply~

  • Dec 20, 2021  08:12 AM | Joyce Oerlemans
    View settings
    Hello everyone,

    as I am very new to VLSM and using MRIcron, I was wondering if you could help me with the following (probably basic) problem: when I open iùages in MRIcron this is the standard view setting I see (see attachement). As you can see, the sagital and coronal view are suppressed for some reason. Could somebody tell me how to reset this view?

    Many thanks!
    Attachment: View settings.JPG

    • Dec 20, 2021  02:12 PM | Chris Rorden
      RE: View settings
      These scans are anisotropic (slice resolution is higher in plane than between slices). Choosing the "Reorient images when loading" preference will reslice this data to be isotropic. Since you are just starting out, you may want to try MRIcroGL which leverages modern hardware. While I am happy that MRIcron is popular and has proved robust, it was designed for computer hardware from 2005.

  • Dec 10, 2021  02:12 AM | yali123
    problem about NPM
    HELLO expert:
    i am trying to analyse VLSM with NPM  (the version: Chris Rorden's NPM :: 6 June 2013 CacheMB = 512; Threads used = 4),   it could successfully run in the tutorial datasets,but in my datasets,it always showed "unsupported compressed data type 64", how can i solve this problem?
    thank you
    Attachment: 20211209201024.png

    • Dec 10, 2021  06:12 PM | Chris Rorden
      RE: problem about NPM
      Hello,

      I suspect this is related to:
        https://github.com/nipy/nibabel/issues/1046
      if you create these images with Python, please choose an appropriate precision for your data (e.g. dtype=np.uint8 for binary data)


      Assuming your data is binary lesion maps (where each voxel is either lesioned [1], or unlesioned [0]), the 64-bit precision is not required, and you can dramatically reduce image size by storing them as UINT8, e.g.
        fslmaths ~/T1 -add 0 ~/T1c -odt char
      or to save as 32-bit float:
       fslmaths ~/T1 -add 0 ~/T1f -odt float


       I am glad that my legacy popular remains popular. I have moved my own development on to NiiStat.
        https://www.nitrc.org/plugins/mwiki/index.php/niistat:MainPage
       Feel free to maintain and exend the NPM source code and project.

  • Dec 5, 2021  12:12 PM | jonathanattwood
    Open/convert image/vector files to generate VOI
    Hi, 

    Is it possible to convert an image file (jpeg/png) or vector file into a file that will open as a 2D region of interest in MRIcron? I need to generate 3D VOIs by interpolating between 2D lesion drawings like the one attached, and would rather recreate the lesion exactly rather than trace it if possible. 

    Thanks for your help.
    Attachment: Picture 1.png

    • Dec 6, 2021  04:12 PM | Chris Rorden
      RE: Open/convert image/vector files to generate VOI
      This is beyond the scope of my viewing software.
       1. Convert 2D PNG to NIfTI 2D
            https://stackoverflow.com/questions/52535729/convert-png-files-to-nii-nifti-files
       2. Convert 2D NIfTI to 3D NIfTI using Matlab, Python or fslmerge.
       3. Set the origin, orientation and scale. Perhaps SPM's Display function can help here. Be aware that CT scans of the brain were often acquired with gantry tilt, and the slices will be pitched relative to MNI space.

  • Oct 15, 2021  08:10 AM | alialam
    Change slice sequence
    Hi 

    My nii gz file for my MRI head scans for some reason are in a peculiar sequence  ie they do not follow on from one another 
    Is there anyway to change the slice sequence so that it follows the MRI head sequence?

    Thanks

    • Oct 15, 2021  12:10 PM | Chris Rorden
      RE: Change slice sequence
      This question is underspecified. Are you trying to reorder the 2D slices in a 3D volume, or the 3D volumes in a 4D time series? Why ais the image order scrambled - what is the source of these images and how were they converted (e.g. did you convert them from DICOM to NIfTI using dcm2niix)? I suspect a combination of fslroi and fslmerge can solve your issue, but it might be easier to fix it at the source.

      • Oct 15, 2021  12:10 PM | alialam
        RE: Change slice sequence
        > Hi Chris
        >
        So I am trying to reorder the 2D slices in a 3D volume
        The source was DICOM files converted to Nifti
        I can’t quite understand why the image order is scrambled - I’ve tried to
        re-convert them to no avail
        Is there any other bits of info that may help?
        Thanks

        >

        Nov 25, 2021  01:11 PM | alialam
        RE: Change slice sequence
        Hi Chris

        They are corrupt at the source so I fear I will have to rearrange the 2D images to create a 3D volume
        Ive tried to reconvert the DICOM to nifti but no luck

        Any idea's on how this can be done?

        • Nov 25, 2021  03:11 PM | Chris Rorden
          RE: Change slice sequence
          You could use fslsplit and fslmerge.

          Alternatively, you could write a Python script using nibabel.

  • Nov 5, 2021  02:11 PM | Nathalie Rieser
    Linux Installation Problem
    Hi everyone,

    When I want to install MRIcron on Centos 7, I receive the following error message. Could someone help me with this?

    mricron/MRIcron
    [FORMS.PP] ExceptionOccurred
    Sender=EAccessViolation
    Exception=Access violation
    Stack trace:
    $00000000004242D5
    $0000000000431E00
    $000000000043CA04
    $000000000043A1F7
    $00000000004B7ADA
    $00000000005CB075
    $000000000056279D
    $00007F40315E0B4D

    Best wishes & thanks in advance,
    Nathalie

    • Nov 5, 2021  04:11 PM | Chris Rorden
      RE: Linux Installation Problem
      Hello,
       I am not very familiar with CentOS, but Wiki says that CentOS 7 was released in 2014, with full updates ending in 2020. I wonder if it does not the modern widget sets. Do some of the older releases work? 

      https://www.nitrc.org/frs/?group_id=152

      You could also try the pre-release for the upcoming version
        https://github.com/neurolabusc/MRIcron/releases
      as noted in the release notes, the latest version expects libqt5pas, which you may be able to install from a rpm:
       https://github.com/davidbannon/libqt5pas/releases/tag/v1.2.9

  • Oct 18, 2021  11:10 AM | jonathanattwood
    Lesion drawing with Damasio 1989 template
    Hi, 

    Is it possible to adjust the orientation of the axial plane relative to the brain in MRIcron, or other similar programmes?

    I assume most MNI brain volumes used now, including Ch2 in MRIcron, place the axial plane on the AC-PC line, approx 9 degrees steeper than the orbitomeatal line used on early CT scans.

    I am trying to create a VOI by copying the outline of a brain lesion which was originally drawn onto 9 axial slices from a template created by Damasio & Damasio 1989 ('Lesion analysis in Neuropsychology', Appendix Figure A.2, attached). The axial plane in the template is somewhere between 0-15 degrees to the OM line. When I try to identify the axial slices on MRI I can either match anterior or posterior regions but not both suggesting the angle needs adjusting. Is this possible? Or is there another way round this problem?

    Thanks for your help.

    • Oct 18, 2021  12:10 PM | Chris Rorden
      RE: Lesion drawing with Damasio 1989 template
      Are these modern CT scans or is this an archival study? 

      Once upon a time, CT scans were acquired with irregularly spaced slices (more near the brain stem, fewer slices for the cortex) and with substantial gantry tilt. The wide spacing between slices typically render these slices a poor choice for normalization. You may want to see if you can take a popular slice and angulate the volume to match the Damasio slides. My legacy MRIcro software has a "free rotate" button that helps, but you could also do this with SPM:
        https://people.cas.sc.edu/rorden/mricro/mricro.html


      For modern CT scans, these images typically have good spatial accuracy in all planes and can be warped to standard space using my clinical toolbox for SPM. I would suggest using a modern MNI-oriented atlas rather than the legacy Damasio atlas, as this will aid translation to studies using other modalities.

      • Oct 18, 2021  04:10 PM | jonathanattwood
        RE: Lesion drawing with Damasio 1989 template
        Thanks for your reply Chris. 

        It is an archive project. The scan was acquired in 1985 and drawn onto the template shortly afterwards. I have 80 or so similar scans which I'd like to be able to use to identify lesions.

        Using MRIcro to rotate the pitch by -8 makes the volume equate to the template. Very satisfying! I have been able to save the rotated volume and re-open it in MRIcron where it remains rotated, which is great. 

        I have tried rotating the Brodmann atlas in MRIcro and exporting this but when I re-opened in MRIcron it did not appear to be rotated any more. Is there a reason for this, and is there another way to make and use rotated overlays?

        I'm afraid I am not a programmer (yet) so am trying to avoid SPM and Matlab for now as far as possible.

        Thanks again.

  • Sep 12, 2021  02:09 PM | niklasl - Umeå university
    MRIcron does not find libqt5pas1
    Hi

    I am using redhat 7.9 and tried to instal MRIcron (both versions) but I get the follonging message (see below) when trying to install libqt5pas1. I have a M5000 Nvidacard and I have cuda 9.1 installed and it is working. What might be the issue?

    best

    nick


    [root@localhost MRIcroGL]# yum install libqt5pas1
    Loaded plugins: langpacks, nvidia, product-id, search-disabled-repos, subscription-manager
    file:///var/cuda-repo-9-1-local/repodata... [Errno 14] curl#37 - "Couldn't open file /var/cuda-repo-9-1-local/repodata/repomd.xml"
    Trying other mirror.
    file:///var/cuda-repo-9-1-local-compiler... [Errno 14] curl#37 - "Couldn't open file /var/cuda-repo-9-1-local-compiler-update-1/repodata/repomd.xml"
    Trying other mirror.
    file:///var/cuda-repo-9-1-local-cublas-p... [Errno 14] curl#37 - "Couldn't open file /var/cuda-repo-9-1-local-cublas-performance-update-1/repodata/repomd.xml"
    Trying other mirror.
    file:///var/cuda-repo-9-1-local-cublas-p... [Errno 14] curl#37 - "Couldn't open file /var/cuda-repo-9-1-local-cublas-performance-update-3/repodata/repomd.xml"
    Trying other mirror.
    No package libqt5pas1 available.
    Error: Nothing to do

    • Sep 13, 2021  12:09 PM | Chris Rorden
      RE: MRIcron does not find libqt5pas1
      I use Debian rather than RedHat Linux distributions. My best guess is that you can install the .rpm file from here:
        https://github.com/davidbannon/libqt5pas/releases
      Given your hardware, I would suggest trying out MRIcroGL instead of MRIcon:
        https://github.com/rordenlab/MRIcroGL/re...
      MRIcroGL uses OpenGL 2.1, which was released in 2006. As long as your computer supports OPenGL 2.1, I strongly suggest using MRIcroGL instead of MRIcron. MRIcroGL will leverage the dedicated hardware and 2048 cores of your graphics card.

      I provide MRIcroGL for both GTK2 and QT5. Again, QT5 will require the libqt5pas library.

  • Aug 19, 2021  10:08 AM | pzg20
    MRIcron plotting height threshold not peak-level T
    Hello

    I have a t-contrast in SPM with a peak-level statistic of 7.99 which I am saving as an nii (thresholded SPM) and plotting in MRIcron.

    For some reason the activation is plotting the height threshold from SPM (3.21). I am not having this problem with any other contrasts but it appears to be doing it for all clusters in this one - any ideas? (I have tried without cluster correction)

    Thank you

    • Aug 19, 2021  12:08 PM | Chris Rorden
      RE: MRIcron plotting height threshold not peak-level T
      I am happy that my old software is mature and remains popular. However, MRIcron has not been updated in the last decade. You may want to try out MRIcroGL that leverages recent advances in computers:
        https://www.nitrc.org/plugins/mwiki/index.php/mricrogl:MainPage
      I suspect with your overlay, you simply have to set the minimum and maximum values for the layer for the desired contrast. The algorithm that guesses the default contrast when loading an image does not know your intention, and may not always be ideal. I would suggest the notes on the Layers in the manual
        https://people.cas.sc.edu/rorden/mricron/main.html

  • Jul 6, 2021  11:07 AM | Lisa Schmidt - Philipps University Marburg / Clinic for Psychaitry and Psychotherapy
    Multislice view
    Hello :)
    I am using MRIcroGL for my DTI results.
    How can I use the multi slice view?
    I tried to figure it out with MRIcro tutorial but this just works for this version...

    Any ideas?
    It would be helpful because I want to depict multiple results in one slice picture 

    Best, Lisa

    • Jul 6, 2021  12:07 PM | Chris Rorden
      RE: Multislice view
      Choose the Display/Multi-Planar menu item to see the axial, coronal and sagittal images simultaneously. You can click on the image to navigate to different coordinates, or use the controls in the "2D Slice Selection" panel.

      You can also choose Display/Mosaic to create custom multi-slice views. You can use the widgets in the "Mosaic" panel to crudely set these values, or input custom text for fine control The Scripting/Templates/Mosaic and Scripting/Templates/Mosaic2 menu items show how you can control these views with a Python script. 
        https://www.nitrc.org/plugins/mwiki/index.php/mricrogl:MainPage#Mosaic_Views

  • Jun 14, 2021  01:06 PM | Laura Mendes
    Cannot find MRIcron directory
    Hello, I installed the MRIcron software for Mac, there were no problems while installing and it opens perfectly. However, I cannot find the MRIcron home directory, and I need to copy some files to there.

    Thank you

    • Jun 14, 2021  02:06 PM | Chris Rorden
      RE: Cannot find MRIcron directory
      For the MacOS, all applications are folders. From the Finder, you can right-click (or Control-click if you are using a trackpad) on the program icon and select "Show Package Contents". Be aware that Apple has started to require notarized applications, and depending on your version of MacOS, modified applications make not work after you changed them, as Apple fears that the program has been tampered with. This is an issue with recent versions of MacOS, and is not specific to my software.

  • May 19, 2021  07:05 AM | Wiebke Trost
    Effect sizes
    Hello

    We were wondering if there is a possibility to obtain effect sizes for NPM analyses?
    Thank you very much in advance!

    Kind regards
    Wiebke

    • May 19, 2021  12:05 PM | Chris Rorden
      RE: Effect sizes
      NPM has been replaced by NiiStat.

      You may want to look at the Power and PowerMap scripts
        https://github.com/neurolabusc/NiiStat

  • Apr 26, 2021  08:04 AM | rosenkohl
    mriCRON: Nifti to .hdr
    Hi all,

    I am using the latest mriCron Version on a Linux machine. I would like to convert niftis, that I got from a SPM first level analysis, into .hdr format. I already know (from google) that this should be possible by "import -> convert nifti to .hdr" BUT my mriCron does not have this option or even this button in the GUI. The only option avaible is "convert DICOM to NIfti". How can I achive a conversion to .hrd and whats the reason for the missing button? Is it just that I am using the latest mriCRON version?

    Thank you so much in advance and all the best,

    Mareike

    • Apr 26, 2021  11:04 AM | Chris Rorden
      RE: mriCRON: Nifti to .hdr
      Modern SPM works well with single file NIfTI (filename.nii), so I am not sure why you need the dual file version (.hdr/.img). I have moved active development to MRIcroGL, so the MRIcron documentation might be getting a bit out of date.

      I would use the FSL tool fslchfiletype to do this, but you could also use a Matlab script with SPM:



      function nii_nii2hdr (fnms)
      %Convert file.nii to file.hdr/file.img
      % https://github.com/rordenlab/dcm2niix/is...
      %n.b. FSL does not like file.nii and file.hdr co-existing
      % fnms : (optional) images to convert
      %Examples
      % nii_nii2hdr
      % nii_nii2hdr('T1_LM1003.nii');
      % nii_nii2hdr(strvcat('T1_LM1003.nii','T2_LM1003.nii'));

      if ~exist('fnms','var') %file not specified
      [A,Apth] = uigetfile({'*.nii';'*.*'},'Select .nii file(s)', 'MultiSelect', 'on');
      fnms = strcat(Apth,char(A));
      end
      for i=1:size(fnms,1)
      fnm = fnms(i,:);
      [pth, nm] = spm_fileparts(fnm);
      hdr = spm_vol(fnm);
      img = spm_read_vols(hdr);
      hdr.fname = fullfile(pth, [nm, '.img']);
      spm_write_vol(hdr,img);
      end

      • Apr 26, 2021  12:04 PM | rosenkohl
        RE: mriCRON: Nifti to .hdr
        Hi Chris, thank you so much for your response, both alternatives worked perfectly fine for me (inside SPM & FSL)!

        Did I understand that correctly, that there is a possibility in MRIcroGL to do the conversion (by using the GUI)?

  • Apr 9, 2021  01:04 PM | KOUSTAV CHATTERJEE - INSTITUTE OF NEUROSCIENCES KOLKATA
    error message in converting DICOM DWI data through dcm2niigui
    Dear Sir,
    I was trying to convert DICOM images of DWI data through dcm2niigui. My output format was "Compressed FSL (4D NIfTI nii) and I have also checked 'Protocol name", "Acquisition series", "collapse folder", "recursive folder search depth=1"

    I got the following message as I dragged and dropped all 308 images into the gui. Could you please help me resolving the error messages.

    Converting 217/308 1
    11145403->diffAPMPoptMB350b100050b200s012a1001.nii
    151424 16
    GZip...diffAPMPoptMB350b100050b200s012a1001.nii.gz
    *Warning: Number of images in series (91) not divisible by number of volumes (14)
    * Perhaps the selected folder only has some of the images
    * Potential partial acquisition or improper segmentation of files
    * Possible solution: check 'Collapse folders' in Help/Preferences and select directory that contains all images in subfolders
    Converting 308/308 14
    11161603->diffAPMPoptMB350b100050b200s013a1001.nii
    1968512 16
    GZip...diffAPMPoptMB350b100050b200s013a1001.nii.gz
    Conversion completed in 206561 ms

    • Apr 9, 2021  01:04 PM | Chris Rorden
      RE: error message in converting DICOM DWI data through dcm2niigui
      Development of that tool ended 6 years ago. Even at that time, it recommended that you upgrade to dcm2niix. The DICOM standard has evolved a lot since that time, with vendors now supporting enhanced DICOM. I strongly suggest you use dcm2niix:
        https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage
      If you prefer a graphical interface, get MRIcroGL (Import/ConvertDICOMtoNIfTI menu item):
        https://www.nitrc.org/plugins/mwiki/index.php/mricrogl:MainPage

      While I hope my legacy software is mature and robust, I am a full time scientist and instructor. I can not support old tools. It is an open source project, so you can always maintain and extend it as you wish.
        https://github.com/neurolabusc/MRIcron

      Apr 14, 2021  10:04 AM | KOUSTAV CHATTERJEE - INSTITUTE OF NEUROSCIENCES KOLKATA
      RE: error message in converting DICOM DWI data through dcm2niigui
      Will you just tell me please what does the following message mean while converting dcm2niigui?

      "Warning: for compatibility, converting UINT16->FLOAT32, range: 63064
      If you prefer file size over compatibility, edit your preference named UINT 16 to FLOAT32"

      • Apr 14, 2021  12:04 PM | Chris Rorden
        RE: error message in converting DICOM DWI data through dcm2niigui
        DICOM images can store images as 16-bit unsigned integers (range 0...65535). However, several NIfTI tools only support 16-bit signed integers (-32768..32767) or 32-bit floating point data (e.g. AFNI). Therefore, while my tools attempt to convert DICOM data losslessly, it faces a dilemma with UINT16 data. There are two options:
         - Retain UINT16 datatype, and be aware that some tools may fail.
         - Promote UINT16 to FLOAT32, which requires twice the disk space and may be slower to process.

        You can edit the preferences to choose between these two options.


< Previous   1   2   3   ...   7   Next >