Class NativeImgFactory<T extends NativeType<T>>
java.lang.Object
net.imglib2.img.ImgFactory<T>
net.imglib2.img.NativeImgFactory<T>
- Direct Known Subclasses:
ArrayImgFactory, CellImgFactory, NtreeImgFactory, PlanarImgFactory
TODO: get rid of
NativeImgFactory???-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(int[] dimensions) Create anImg<T>with the specifieddimensions.create(long... dimensions) Create aNativeImgwith the specifieddimensions.Deprecated.create(Dimensions dimensions) Create anImg<T>with the specifieddimensions.Methods inherited from class ImgFactory
cache, create, create, create, create, create, imgFactory, imgFactory, type
-
Constructor Details
-
NativeImgFactory
-
NativeImgFactory
Deprecated.
-
-
Method Details
-
create
Create aNativeImgwith the specifieddimensions.- Specified by:
createin classImgFactory<T extends NativeType<T>>- Parameters:
dimensions- the dimensions of the image.- Returns:
- new
NativeImgwith the specifieddimensions.
-
create
Create anImg<T>with the specifieddimensions.- Overrides:
createin classImgFactory<T extends NativeType<T>>- Returns:
- new image with the specified
dimensions.
-
create
Create 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 extends NativeType<T>>- Returns:
- new image with the specified
dimensions.
-
create
Deprecated.- Specified by:
createin classImgFactory<T extends NativeType<T>>
-