Class: module:parsers/nifti

module:parsers/nifti(data, id)

new module:parsers/nifti(data, id)

Constructor
Parameters:
Name Type Description
data *
id *
Source:

Members

_id :arraybuffer

Type:
  • arraybuffer
Source:

_id :arraybuffer

Type:
  • arraybuffer
Source:

Methods

_decompressUncompressed(frameIndex) → {*}

Decompress data from uncompressed array buffer
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

bitsAllocated(frameIndex) → {*}

Bits allocated
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

columns(frameIndex) → {*}

Columns
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

extractPixelData(frameIndex) → {*}

Extract pixel data ffrom array buffer
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

imageOrientation(frameIndex) → {*}

Image orientation
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

imagePosition(frameIndex) → {*}

Image position
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

numberOfChannels() → {*}

Number of channels
Source:
Returns:
Type
*

numberOfFrames() → {*}

Number of frames
Source:
Returns:
Type
*

pixelSpacing(frameIndex) → {*}

Pixel spacing
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

pixelType(frameIndex) → {*}

Pixel type
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

rightHanded() → {*}

Is the data right-handed
Source:
Returns:
Type
*

rows(frameIndex) → {*}

Rows
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

seriesInstanceUID() → {*}

Series instance UID
Source:
Returns:
Type
*

sopInstanceUID(frameIndex) → {*}

SOP instance UID
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*