public class UBytePixelBuffer extends DicomPixelBufferBase
DicomPixelBuffer.PixelType| Constructor and Description |
|---|
UBytePixelBuffer(byte[] pixels) |
UBytePixelBuffer(byte[] pixels,
int offset,
int length) |
UBytePixelBuffer(int size) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
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, setRescalepublic UBytePixelBuffer(int size)
public UBytePixelBuffer(byte[] pixels)
public UBytePixelBuffer(byte[] pixels,
int offset,
int length)
public int getValue(int idx)
DicomPixelBufferBasegetValue in interface DicomPixelBuffergetValue in class DicomPixelBufferBaseidx - value indexpublic int getNumPixels()
public byte[] getBuffer()
public int getNumChannels()
DicomPixelBuffer