help
50 Subscribers
Slack Integration
You can link this page to your Slack channel. When you do this, every new posting on this NITRC page will trigger a short message on your Slack channel linking to the update. If you have the RSS App installed in your Slack workspace, you can paste this slash command directly into your channel:
/feed https://www.nitrc.org/export/rss20_forum.php?forum_id=568Full instructions for installing and using the RSS app with Slack feed to Slack can be found in the Slack Help Center.
Showing 26-50 of 163 topics
- Apr 25, 2022 05:04 AM | nairulislamHow 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 RordenRE: 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 | nairulislamRE: 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 | schnNIfTI to VOIHello 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 RordenRE: NIfTI to VOIThe 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 | schnRE: NIfTI to VOIDear Mr. Rorden,
thank you very much for your reply!
Kind regards!
- Mar 9, 2022 05:03 PM | Qiushuo ChengCan't download dcm2nii.exeHi,
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 RordenRE: Can't download dcm2nii.exeWhen 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 ChengRE: Can't download dcm2nii.exeThank 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 RordenRE: Can't download dcm2nii.exeYou 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 ChengRE: Can't download dcm2nii.exeThank 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 ChengRE: Can't download dcm2nii.exeThere is no 2016 version of MRIcron, either.Attachment: 4f61f05fbc666514c2ea2fa71517e70.png- Mar 11, 2022 01:03 PM | Chris RordenRE: Can't download dcm2nii.exeGood 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 YauClassification of DICOM imagesDear 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,
KrystalAttachment: Screenshot_1.jpg- Feb 10, 2022 12:02 PM | Chris RordenRE: Classification of DICOM imagesdcm2niix 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 CenterRotation of angled subjectHi,
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 RordenRE: Rotation of angled subjectInterpolating 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 CenterRE: Rotation of angled subjectHi 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 YauImage display is offDear 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,
KrystalAttachment: Screenshot_1.jpg- Jan 26, 2022 03:01 PM | Chris RordenRE: Image display is offYour 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 YauDICOM converted into NiftiHi 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 RordenRE: DICOM converted into NiftiSounds 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 | sbrHow 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.Attachment: Screen Shot 2020-07-07 at 1.30.26 PM.png- Jul 7, 2020 06:07 PM | Chris RordenRE: 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 | sbrRE: 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 kamyabRE: 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 12, 2022 12:01 PM | Chris RordenRE: How to adjust preferences to load all volumes?Uncheck "Only initial volumes (load 4D series faster)"Attachment: gl.png
- Jan 12, 2022 01:01 PM | mehrnaz kamyabRE: How to adjust preferences to load all volumes?Thank you so much Chris, it works well.
- Jan 8, 2022 03:01 AM | whereproblem about coregister您好,请问我用 SPM12 做MRI T1像与 fMRI 的配准时,为什么会失败?配准结束后,我用 mricron 同时点开 T1 像和 fMRI 影像(view 中有yoke 的功能),它们并不在同一个坐标原点上,甚至有的时候,查看其中一个影像时,另外一个影像不会在mricron的展示区内出现。
十分感谢您的帮助,期待回复~- Jan 8, 2022 03:01 AM | whereRE: problem about coregisterHello,
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 OerlemansView settingsHello 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 RordenRE: View settingsThese 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.
- Nov 4, 2021 12:11 PM | Paula LópezHow can I convert MNI coordinates to Talairach?Estoy tratando de transformar coordenadas del espacio MNI a Talairach.
Me preguntaba si podría hacerlo con MRIcron.
¡Muchas gracias por adelantado!- Dec 10, 2021 06:12 PM | Chris RordenRE: How can I convert MNI coordinates to Talairach?
- Dec 10, 2021 02:12 AM | yali123problem about NPMHELLO 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 youAttachment: 20211209201024.png- Dec 10, 2021 06:12 PM | Chris RordenRE: problem about NPMHello,
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 | jonathanattwoodOpen/convert image/vector files to generate VOIHi,
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 RordenRE: Open/convert image/vector files to generate VOIThis 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 | alialamChange slice sequenceHi
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 RordenRE: Change slice sequenceThis 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 | alialamRE: 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 | alialamRE: Change slice sequenceHi 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 RordenRE: Change slice sequenceYou could use fslsplit and fslmerge.
Alternatively, you could write a Python script using nibabel.
- Nov 5, 2021 02:11 PM | Nathalie RieserLinux Installation ProblemHi 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 RordenRE: Linux Installation ProblemHello,
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 | jonathanattwoodLesion drawing with Damasio 1989 templateHi,
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 RordenRE: Lesion drawing with Damasio 1989 templateAre 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 | jonathanattwoodRE: Lesion drawing with Damasio 1989 templateThanks 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å universityMRIcron does not find libqt5pas1Hi
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 RordenRE: MRIcron does not find libqt5pas1I 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 | pzg20MRIcron plotting height threshold not peak-level THello
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 RordenRE: MRIcron plotting height threshold not peak-level TI 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 PsychotherapyMultislice viewHello :)
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 RordenRE: Multislice viewChoose 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 MendesCannot find MRIcron directoryHello, 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 RordenRE: Cannot find MRIcron directoryFor 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 TrostEffect sizesHello
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 RordenRE: Effect sizesNPM has been replaced by NiiStat.
You may want to look at the Power and PowerMap scripts
https://github.com/neurolabusc/NiiStat
- May 12, 2021 09:05 AM | neuropostVLSM NPMHi,
I'm trying to do a VLSM analysis with NPM, but mi version of MRIcron on windows, does not have that tool.
Where i can download the version of MRIcron with NPM?
Thanks.- May 12, 2021 11:05 AM | Chris RordenRE: VLSM NPMNPM has been replaced with NiiStat:
https://www.nitrc.org/plugins/mwiki/inde...
https://github.com/neurolabusc/NiiStat
Alternatively, you may want to look at PALM:
https://github.com/andersonwinkler/PALM
- Apr 26, 2021 08:04 AM | rosenkohlmriCRON: Nifti to .hdrHi 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 RordenRE: mriCRON: Nifti to .hdrModern 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 | rosenkohlRE: mriCRON: Nifti to .hdrHi 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 KOLKATAerror message in converting DICOM DWI data through dcm2niiguiDear 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 RordenRE: error message in converting DICOM DWI data through dcm2niiguiDevelopment 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/MRIcronApr 14, 2021 10:04 AM | KOUSTAV CHATTERJEE - INSTITUTE OF NEUROSCIENCES KOLKATARE: error message in converting DICOM DWI data through dcm2niiguiWill 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 RordenRE: error message in converting DICOM DWI data through dcm2niiguiDICOM 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.
