digraph inheritance417422743b { rankdir=LR; ratio=compress; fontsize=14; size="6.0, 8.0"; "MincImage" [shape=ellipse,URL="#nibabel.minc.MincImage",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,color=dodgerblue1,style=filled,tooltip="Class for MINC images",height=0.75]; "SpatialImage" -> "MincImage" [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]; }
Class for MINC images
The MINC image class uses the default header type, rather than a specific MINC header type - and reads the relevant information from the MINC file on load.
Initialize image
The image is a combination of (array, affine matrix, header), with optional metadata in extra, and filename / file-like objects contained in the file_map mapping.
Parameters: | data : object
affine : None or (4,4) array-like
header : None or mapping or header instance, optional
extra : None or mapping, optional
file_map : mapping, optional
|
---|
Minc implemention of array proxy protocol
The array proxy allows us to freeze the passed fileobj and header such that it returns the expected data array.