Class ListImgFactory<T>
java.lang.Object
net.imglib2.img.ImgFactory<T>
net.imglib2.img.list.ListImgFactory<T>
- Type Parameters:
T- The value type of the pixels.
ImgFactory for ListImg of any type T. You can us Type
s or arbitrary Objects. If you use non-Type pixels, note,
that you cannot use Type.set(Type) to change the value stored in
every reference in the ListImg. Instead, you can use the
ListCursor.set(Object) and ListRandomAccess.set(Object)
methods to alter the underlying ArrayList.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(int[] dimensions) Create anImg<T>with the specifieddimensions.create(long... dimensions) Create anImg<T>with the specifieddimensions.Deprecated.create(Dimensions dimensions) Create anImg<T>with the specifieddimensions.<S> ImgFactory<S> imgFactory(S type) Creates the sameImgFactoryfor a different generic parameter if possible.Methods inherited from class ImgFactory
cache, create, create, create, create, create, imgFactory, type
-
Constructor Details
-
ListImgFactory
-
ListImgFactory
Deprecated.
-
-
Method Details
-
create
Description copied from class:ImgFactoryCreate anImg<T>with the specifieddimensions.- Specified by:
createin classImgFactory<T>- Returns:
- new image with the specified
dimensions.
-
create
Description copied from class:ImgFactoryCreate anImg<T>with the specifieddimensions.- Overrides:
createin classImgFactory<T>- Returns:
- new image with the specified
dimensions.
-
create
Description copied from class:ImgFactoryCreate anImg<T>with the specifieddimensions.Note: This is not a vararg function because the underlying
int[]based methods already copies theint[]dimensions into a disposablelong[]anyways. This would be an unnecessary copy forint...varargs.- Overrides:
createin classImgFactory<T>- Returns:
- new image with the specified
dimensions.
-
imgFactory
Description copied from class:ImgFactoryCreates the sameImgFactoryfor a different generic parameter if possible. If the type "S" does not suit the needs of theImgFactory(for example implementNativeTypein allNativeImgFactory, this method will throw anIncompatibleTypeException.- Specified by:
imgFactoryin classImgFactory<T>- Type Parameters:
S- the new type- Parameters:
type- an instance of S- Returns:
ImgFactoryof type S- Throws:
IncompatibleTypeException- if type S is not compatible
-
create
Deprecated.- Specified by:
createin classImgFactory<T>
-