public class ShortPixelBuffer extends DicomPixelBufferBase
DicomPixelBuffer.PixelType
Constructor and Description |
---|
ShortPixelBuffer(int size) |
ShortPixelBuffer(short[] pixels) |
ShortPixelBuffer(short[] pixels,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
short[] |
getBuffer() |
int |
getNumChannels()
Number of "color" channels in the buffer
|
int |
getNumPixels() |
int |
getValue(int idx)
Return the internal pixel value at idx.
|
getMaxIntensity, getMinIntensity, getPixels, getPixels, getPixelType, getRescaledValue, getRescaleIntercept, getRescaleSlope, isSigned, setRescale
public ShortPixelBuffer(int size)
public ShortPixelBuffer(short[] pixels)
public ShortPixelBuffer(short[] pixels, int offset, int length)
public int getNumPixels()
public int getValue(int idx)
DicomPixelBufferBase
getValue
in interface DicomPixelBuffer
getValue
in class DicomPixelBufferBase
idx
- value indexpublic short[] getBuffer()
public int getNumChannels()
DicomPixelBuffer