public class SourceImageSubset extends SourceImage
A class that encapsulates a subset of frame sin a multi-frame SourceImage.
| Modifier and Type | Field and Description |
|---|---|
protected SourceImage |
parent |
protected int[] |
parentFrameNumbers |
allowDeferredReadFromFileIfNotMemoryMapped, allowMemoryMapping, allowMemoryMappingFromMultiplePerFrameFiles, applyICCProfileIfPresent, bufferedImageSource, memoryMappedByteBuffers, memoryMappedFileChannel, memoryMappedFileChannels, memoryMappedFileInputStream, memoryMappedFileInputStreams, memoryMapperNumberOfRetries, memoryMapperRetriesBeforeSleeping, memoryMapperSleepTimeBetweenRetries| Constructor and Description |
|---|
SourceImageSubset(SourceImage parent,
int[] parentFrameNumbers) |
SourceImageSubset(SourceImage parent,
SortedSet<Integer> frames) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getBackgroundValue() |
BufferedImage |
getBufferedImage(int i)
Make a BufferedImage for the selected frame.
|
Dimension |
getDimension() |
DisplayShutter |
getDisplayShutter() |
int |
getHeight() |
int |
getMaskValue() |
double |
getMaximum() |
double |
getMinimum() |
ModalityTransform |
getModalityTransform() |
int |
getNumberOfBufferedImages() |
int |
getNumberOfFrames() |
Overlay |
getOverlay() |
int |
getPadRangeLimit() |
int |
getPadValue() |
int |
getPaletteColorBitsPerEntry() |
short[] |
getPaletteColorBlueTable() |
int |
getPaletteColorFirstValueMapped() |
short[] |
getPaletteColorGreenTable() |
int |
getPaletteColorLargestGray() |
int |
getPaletteColorNumberOfEntries() |
short[] |
getPaletteColorRedTable() |
RealWorldValueTransform |
getRealWorldValueTransform() |
SUVTransform |
getSUVTransform() |
String |
getTitle() |
VOITransform |
getVOITransform() |
int |
getWidth() |
boolean |
isGrayscale() |
boolean |
isInverted() |
boolean |
isPadded() |
boolean |
isSigned() |
boolean |
isYBR() |
clean, createBandInterleavedByteThreeComponentColorImage, createBandInterleavedShortThreeComponentColorImage, createByteGrayscaleImage, createDoubleGrayscaleImage, createFloatGrayscaleImage, createPixelInterleavedByteThreeComponentColorImage, createPixelInterleavedShortThreeComponentColorImage, createSignedShortGrayscaleImage, createUnsignedShortGrayscaleImage, finalize, getBufferedImage, getBufferedImage, getBufferedImage, getByteBuffersFromOtherAttributeOnDisk, getByteBuffersFromOtherByteAttributeMultipleFilesOnDisk, getShortBuffersFromOtherWordAttributeOnDisk, isImage, setAllowDeferredReadFromFileIfNotMemoryMapped, setAllowMemoryMapping, setAllowMemoryMappingFromMultiplePerFrameFiles, setClipRectprotected SourceImage parent
protected int[] parentFrameNumbers
public SourceImageSubset(SourceImage parent, int[] parentFrameNumbers)
public SourceImageSubset(SourceImage parent, SortedSet<Integer> frames)
public void close()
throws Throwable
close in class SourceImageThrowablepublic int getBackgroundValue()
getBackgroundValue in class SourceImagepublic BufferedImage getBufferedImage(int i)
SourceImageMake a BufferedImage for the selected frame.
The BufferedImage will have the bit depth and photometric interpretation of the original SourceImage.
If it is an RGB photometric interpretation, and an ICC profile is present, it will be applied.
getBufferedImage in class SourceImagei - frame number (from 0)public Dimension getDimension()
getDimension in class SourceImagepublic DisplayShutter getDisplayShutter()
getDisplayShutter in class SourceImagepublic int getHeight()
getHeight in class SourceImagepublic int getMaskValue()
getMaskValue in class SourceImagepublic double getMaximum()
getMaximum in class SourceImagepublic double getMinimum()
getMinimum in class SourceImagepublic ModalityTransform getModalityTransform()
getModalityTransform in class SourceImagepublic int getNumberOfBufferedImages()
getNumberOfBufferedImages in class SourceImagepublic int getNumberOfFrames()
getNumberOfFrames in class SourceImagepublic Overlay getOverlay()
getOverlay in class SourceImagepublic int getPadRangeLimit()
getPadRangeLimit in class SourceImagepublic int getPadValue()
getPadValue in class SourceImagepublic int getPaletteColorBitsPerEntry()
getPaletteColorBitsPerEntry in class SourceImagepublic short[] getPaletteColorBlueTable()
getPaletteColorBlueTable in class SourceImagepublic int getPaletteColorFirstValueMapped()
getPaletteColorFirstValueMapped in class SourceImagepublic short[] getPaletteColorGreenTable()
getPaletteColorGreenTable in class SourceImagepublic int getPaletteColorLargestGray()
getPaletteColorLargestGray in class SourceImagepublic int getPaletteColorNumberOfEntries()
getPaletteColorNumberOfEntries in class SourceImagepublic short[] getPaletteColorRedTable()
getPaletteColorRedTable in class SourceImagepublic RealWorldValueTransform getRealWorldValueTransform()
getRealWorldValueTransform in class SourceImagepublic SUVTransform getSUVTransform()
getSUVTransform in class SourceImagepublic String getTitle()
getTitle in class SourceImagepublic VOITransform getVOITransform()
getVOITransform in class SourceImagepublic int getWidth()
getWidth in class SourceImagepublic boolean isGrayscale()
isGrayscale in class SourceImagepublic boolean isInverted()
isInverted in class SourceImagepublic boolean isPadded()
isPadded in class SourceImagepublic boolean isSigned()
isSigned in class SourceImagepublic boolean isYBR()
isYBR in class SourceImage