public class MappedPixelGenerator extends NiftiPixelGenerator
NiftiPixelGenerator.Format| Constructor and Description |
|---|
MappedPixelGenerator() |
MappedPixelGenerator(maspack.image.nifti.MappedPixelGenerator.VoxelInput red,
int redVidx,
maspack.image.nifti.MappedPixelGenerator.VoxelInput green,
int greenVidx,
maspack.image.nifti.MappedPixelGenerator.VoxelInput blue,
int blueVidx) |
| Modifier and Type | Method and Description |
|---|---|
MappedPixelGenerator |
clone()
Returns a clone of this composite property.
|
void |
detectDefault(NiftiDataBuffer buff) |
void |
detectDefault(NiftiImage image) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
maspack.image.nifti.MappedPixelGenerator.VoxelInput |
getBlueInput() |
int |
getBlueValueIndex() |
NiftiPixelGenerator.Format |
getFormat() |
maspack.image.nifti.MappedPixelGenerator.VoxelInput |
getGreenInput() |
int |
getGreenValueIndex() |
void |
getPixels(NiftiDataBuffer buff,
int i,
int di,
int ni,
int j,
int dj,
int nj,
int k,
int dk,
int nk,
int t,
int scanline,
int pageline,
java.nio.ByteBuffer rgb)
Fills a byte buffer with pixels
|
maspack.image.nifti.MappedPixelGenerator.VoxelInput |
getRedInput() |
int |
getRedValueIndex() |
int |
getVersion() |
double |
getWindowCenter() |
double |
getWindowWidth() |
void |
setBlueInput(maspack.image.nifti.MappedPixelGenerator.VoxelInput input) |
void |
setBlueValueIndex(int idx) |
void |
setGreenInput(maspack.image.nifti.MappedPixelGenerator.VoxelInput input) |
void |
setGreenValueIndex(int idx) |
void |
setRedInput(maspack.image.nifti.MappedPixelGenerator.VoxelInput input) |
void |
setRedValueIndex(int idx) |
void |
setWindow(double center,
double width) |
void |
setWindowCenter(double c) |
void |
setWindowLimits(double min,
double max) |
void |
setWindowToRange(byte[] buff) |
void |
setWindowToRange(double[] buff) |
void |
setWindowToRange(float[] buff) |
void |
setWindowToRange(int[] buff) |
void |
setWindowToRange(long[] buff) |
void |
setWindowToRange(short[] buff) |
void |
setWindowToUnsignedRange(byte[] buff) |
void |
setWindowToUnsignedRange(int[] buff) |
void |
setWindowToUnsignedRange(long[] buff) |
void |
setWindowToUnsignedRange(short[] buff) |
void |
setWindowWidth(double w) |
getSubClasses, registerSubclassgetProperty, getPropertyHost, getPropertyInfo, hasProperty, isWritable, scan, setPropertyHost, setPropertyInfo, write, writeItemspublic MappedPixelGenerator()
public MappedPixelGenerator(maspack.image.nifti.MappedPixelGenerator.VoxelInput red,
int redVidx,
maspack.image.nifti.MappedPixelGenerator.VoxelInput green,
int greenVidx,
maspack.image.nifti.MappedPixelGenerator.VoxelInput blue,
int blueVidx)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class CompositePropertyBasepublic int getVersion()
public void setRedInput(maspack.image.nifti.MappedPixelGenerator.VoxelInput input)
public maspack.image.nifti.MappedPixelGenerator.VoxelInput getRedInput()
public void setRedValueIndex(int idx)
public int getRedValueIndex()
public void setGreenInput(maspack.image.nifti.MappedPixelGenerator.VoxelInput input)
public maspack.image.nifti.MappedPixelGenerator.VoxelInput getGreenInput()
public void setGreenValueIndex(int idx)
public int getGreenValueIndex()
public void setBlueInput(maspack.image.nifti.MappedPixelGenerator.VoxelInput input)
public maspack.image.nifti.MappedPixelGenerator.VoxelInput getBlueInput()
public void setBlueValueIndex(int idx)
public int getBlueValueIndex()
public double getWindowCenter()
public void setWindowCenter(double c)
public double getWindowWidth()
public void setWindowWidth(double w)
public void setWindow(double center,
double width)
public void setWindowLimits(double min,
double max)
public void setWindowToRange(double[] buff)
public void setWindowToRange(float[] buff)
public void setWindowToRange(byte[] buff)
public void setWindowToRange(short[] buff)
public void setWindowToRange(int[] buff)
public void setWindowToRange(long[] buff)
public void setWindowToUnsignedRange(byte[] buff)
public void setWindowToUnsignedRange(short[] buff)
public void setWindowToUnsignedRange(int[] buff)
public void setWindowToUnsignedRange(long[] buff)
public void detectDefault(NiftiImage image)
public void detectDefault(NiftiDataBuffer buff)
public void getPixels(NiftiDataBuffer buff, int i, int di, int ni, int j, int dj, int nj, int k, int dk, int nk, int t, int scanline, int pageline, java.nio.ByteBuffer rgb)
NiftiPixelGeneratorgetPixels in class NiftiPixelGeneratori - column indexdi - column stepni - number of columnsj - row indexdj - row stepnj - number of rowsk - slice indexdk - slice stepnk - number of slicest - timescanline - number of bytes per line (y-stride)pageline - number of bytes per page (z-stride)rgb - output bufferpublic MappedPixelGenerator clone()
CompositePropertyclone in interface CompositePropertyclone in interface Clonableclone in class CompositePropertyBasepublic NiftiPixelGenerator.Format getFormat()
getFormat in class NiftiPixelGenerator