Humble attempt to read images in PAR/REC format.
This is yet another MRI image format generated by Phillips scanner. It is an ASCII header (PAR) plus a binary blob (REC).
This implementation aims to read version 4.2 of this format. Other versions could probably be supported, but the author is lacking samples of them.
digraph inheritance09e043991c { rankdir=LR; ratio=compress; fontsize=14; size="6.0, 8.0"; "PARRECImage" [shape=ellipse,URL="nibabel.parrec.PARRECImage.html#nibabel.parrec.PARRECImage",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=14,color=dodgerblue1,style=filled,height=0.75]; "SpatialImage" -> "PARRECImage" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Header" [shape=ellipse,URL="nibabel.spatialimages.Header.html#nibabel.spatialimages.Header",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=14,color=dodgerblue1,style=filled,height=0.75]; "PARRECError" [shape=ellipse,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=14,color=dodgerblue1,style=filled,height=0.75]; "PARRECHeader" [shape=ellipse,URL="nibabel.parrec.PARRECHeader.html#nibabel.parrec.PARRECHeader",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=14,color=dodgerblue1,style=filled,height=0.75]; "Header" -> "PARRECHeader" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SpatialImage" [shape=ellipse,URL="nibabel.spatialimages.SpatialImage.html#nibabel.spatialimages.SpatialImage",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=14,color=dodgerblue1,style=filled,height=0.75]; }
Functions
parse_PAR_header(fobj) | Parse a PAR header and aggregate all information into useful containers. |
Classes
PARRECHeader(info, image_defs) | PAR/REC header |
PARRECImage(data, affine[, header, extra, ...]) | PAR/REC image |
Exceptions
PARRECHeader(info, image_defs) | PAR/REC header |
PARRECImage(data, affine[, header, extra, ...]) | PAR/REC image |