Class ArrayImgAWTScreenImage<T extends NativeType<T>,A>
- java.lang.Object
-
- net.imglib2.img.AbstractImg<T>
-
- net.imglib2.img.AbstractNativeImg<T,A>
-
- net.imglib2.img.array.ArrayImg<T,A>
-
- net.imglib2.display.screenimage.awt.ArrayImgAWTScreenImage<T,A>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,Dimensions
,AWTScreenImage
,ScreenImage<java.awt.Image>
,EuclideanSpace
,Img<T>
,NativeImg<T,A>
,Interval
,IterableInterval<T>
,IterableRealInterval<T>
,RandomAccessible<T>
,RandomAccessibleInterval<T>
,RealInterval
,SubIntervalIterable<T>
- Direct Known Subclasses:
ByteAWTScreenImage
,DoubleAWTScreenImage
,FloatAWTScreenImage
,IntAWTScreenImage
,ShortAWTScreenImage
,UnsignedByteAWTScreenImage
,UnsignedIntAWTScreenImage
,UnsignedShortAWTScreenImage
public abstract class ArrayImgAWTScreenImage<T extends NativeType<T>,A> extends ArrayImg<T,A> implements AWTScreenImage
AnAWTScreenImage
that is anArrayImg
.- Author:
- Curtis Rueden
-
-
Field Summary
-
Fields inherited from class net.imglib2.img.AbstractNativeImg
entitiesPerPixel, linkedType, numEntities
-
Fields inherited from class net.imglib2.img.AbstractImg
dimension, max, n, numPixels
-
-
Constructor Summary
Constructors Constructor Description ArrayImgAWTScreenImage(ArrayImg<T,A> img)
ArrayImgAWTScreenImage(T type, A data, long[] dim)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.awt.image.DataBuffer
createDataBuffer(A data)
protected int
getBitsPerPixel(T type)
java.awt.image.BufferedImage
image()
-
Methods inherited from class net.imglib2.img.array.ArrayImg
copy, cursor, cursor, factory, iterationOrder, localizingCursor, localizingCursor, randomAccess, randomAccess, subIntervalIterationOrder, supportsOptimizedCursor, update
-
Methods inherited from class net.imglib2.img.AbstractNativeImg
createLinkedType, setLinkedType
-
Methods inherited from class net.imglib2.img.AbstractImg
dimension, dimensions, firstElement, iterator, max, max, max, min, min, min, numDimensions, numElements, realMax, realMax, realMax, realMin, realMin, realMin, size, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.imglib2.Dimensions
dimension, dimensions
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.IterableRealInterval
firstElement, size
-
-
-
-
Method Detail
-
image
public java.awt.image.BufferedImage image()
- Specified by:
image
in interfaceAWTScreenImage
- Specified by:
image
in interfaceScreenImage<T extends NativeType<T>>
-
getBitsPerPixel
protected int getBitsPerPixel(T type)
-
createDataBuffer
protected abstract java.awt.image.DataBuffer createDataBuffer(A data)
-
-