Reads statistics from an MRtrix mrstats file (e.x. mrstats in.nii >> stats.txt or for_each * : mrstats IN ">>" stats.txt ) and returns the data along with the header.
Output:
- data: 3D numeric array with dimensions [volume_index, value_type, file_index]
- volume_index corresponds to the index from the stats file ([ index ] in each line).
- value_type corresponds to the statistics described in the header.
- file_index separates multiple stats blocks if the file contains more than one set of stats.
- header: cell array of column names extracted from the file.
The header corresponds to the MRtrix mrstats output:
{'filenumber', 'mean', 'median', 'std', 'min', 'max', 'count'}
Zitieren als
Kamil (2025). read_mrtrix_stats (https://de.mathworks.com/matlabcentral/fileexchange/182002-read_mrtrix_stats), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2025a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0 |
