an array buffer of image data to load (there are also methods that abstract this more. See loadFromUrl, and loadFromFile)
a name for this image. Default is an empty string
a color map to use. default is gray
the opacity for this image. default is 1
Allows loading formats where header and image are separate files (e.g. nifti.hdr, nifti.img)
minimum intensity for color brightness/contrast
maximum intensity for color brightness/contrast
whether or not to trust cal_min and cal_max from the nifti header (trusting results in faster loading)
the percentile to use for setting the robust range of the display values (smart intensity setting for images with large ranges)
whether or not to ignore zero voxels in setting the robust range of display values
give precedence to QForm (Quaternion) or SForm (Matrix)
a color map to use for symmetrical negative intensities
volume displayed, 0 indexed, must be less than nFrame4D
FIXME the following params are documented but not included in the actual constructor
TODO
TODO
TODO
TODO
TODO
read a 3D slab of voxels from a volume
first row, column and slice (RAS order) for selection
final row, column and slice (RAS order) for selection
array data type. Options: 'same' (default), 'uint8', 'float32', 'scaled', 'normalized', 'windowed'
the an array where ret[0] is the voxel values and ret[1] is dimension of selection
write a 3D slab of voxels from a volume
first row, column and slice (RAS order) for selection
final row, column and slice (RAS order) for selection
array of voxel values to insert (RAS order)
Static
createfactory function to load and return a new NVImage instance from a base64 encoded string
NVImage instance
Static
loadStatic
loadStatic
loadStatic
zerosa factory function to make a zero filled image given a NVImage as a reference
an existing NVImage as a reference
the output data type. Options: 'same', 'uint8'
new NVImage filled with zeros for the image data
a NVImage encapsulates some images data and provides methods to query and operate on images