Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Rt/read nii #97

Merged
merged 15 commits into from
Jun 8, 2020
Merged

Rt/read nii #97

merged 15 commits into from
Jun 8, 2020

Conversation

rtopfer
Copy link
Contributor

@rtopfer rtopfer commented Jun 2, 2020

This PR:

  • Introduces a readnifti wrapper function read_nii.m inside a new package +imutils

%% Local functions
% -----------------------------------------------------------------------------
function [img, info] = convert_siemens_phase( img0, info0 )
%CONVERT_SIEMENS_PHASE Return phase img in rad (recast from int to single)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a comment about the assumption that the input image pixel intensity is scaled between 0 and 4095, and that corresponds to [-pi,pi[

@rtopfer rtopfer merged commit 199b404 into master Jun 8, 2020
@rtopfer rtopfer deleted the rt/read_nii branch June 11, 2020 01:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants