public interface DicomPixelBuffer
| Modifier and Type | Interface and Description |
|---|---|
static class |
DicomPixelBuffer.PixelType
Type of storage
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getBuffer() |
double |
getMaxIntensity() |
double |
getMinIntensity() |
int |
getNumPixels() |
int |
getPixels(int x,
int dx,
int nx,
DicomPixelBuffer.PixelType type,
DicomPixelInterpolator interp,
java.nio.ByteBuffer pixels)
Populates a buffer of pixel values from those stored in this buffer,
using a supplied interpolator.
|
int |
getPixels(int x,
int dx,
int nx,
DicomPixelBuffer.PixelType type,
DicomPixelInterpolator interp,
int[] pixels,
int offset)
Populates a buffer of pixel values from those stored in this buffer,
using a supplied interpolator.
|
DicomPixelBuffer.PixelType |
getPixelType() |
double |
getRescaleIntercept() |
double |
getRescaleSlope() |
boolean |
isSigned() |
DicomPixelBuffer.PixelType getPixelType()
int getNumPixels()
boolean isSigned()
int getPixels(int x,
int dx,
int nx,
DicomPixelBuffer.PixelType type,
DicomPixelInterpolator interp,
java.nio.ByteBuffer pixels)
x - starting pixel index in this bufferdx - pixel step in this buffernx - number of pixels to interpolate fromtype - type of pixels to outputinterp - interpolator for converting pixels for output displaypixels - output bufferint getPixels(int x,
int dx,
int nx,
DicomPixelBuffer.PixelType type,
DicomPixelInterpolator interp,
int[] pixels,
int offset)
x - starting pixel index in this bufferdx - pixel step in this buffernx - number of pixels to interpolate fromtype - type of pixels to outputinterp - interpolator for converting pixels for output displaypixels - output arrayoffset - offset in output arraydouble getMaxIntensity()
double getMinIntensity()
double getRescaleSlope()
double getRescaleIntercept()
java.lang.Object getBuffer()