Class NativeImgFactory<T extends NativeType<T>>

    • Constructor Detail

      • NativeImgFactory

        public NativeImgFactory()
    • Method Detail

      • create

        public NativeImg<T,​?> create​(long[] dim,
                                           T type)
        This class will ask the Type to create a suitable Img for the Type and the dimensionality. Type will then call one of the abstract methods defined below to create the NativeImg
        Specified by:
        create in class ImgFactory<T extends NativeType<T>>
        Returns:
        Img - the instantiated Container
      • createByteInstance

        public abstract NativeImg<T,​? extends ByteAccess> createByteInstance​(long[] dimensions,
                                                                                   Fraction entitiesPerPixel)
      • createCharInstance

        public abstract NativeImg<T,​? extends CharAccess> createCharInstance​(long[] dimensions,
                                                                                   Fraction entitiesPerPixel)
      • createShortInstance

        public abstract NativeImg<T,​? extends ShortAccess> createShortInstance​(long[] dimensions,
                                                                                     Fraction entitiesPerPixel)
      • createIntInstance

        public abstract NativeImg<T,​? extends IntAccess> createIntInstance​(long[] dimensions,
                                                                                 Fraction entitiesPerPixel)
      • createLongInstance

        public abstract NativeImg<T,​? extends LongAccess> createLongInstance​(long[] dimensions,
                                                                                   Fraction entitiesPerPixel)
      • createFloatInstance

        public abstract NativeImg<T,​? extends FloatAccess> createFloatInstance​(long[] dimensions,
                                                                                     Fraction entitiesPerPixel)
      • createDoubleInstance

        public abstract NativeImg<T,​? extends DoubleAccess> createDoubleInstance​(long[] dimensions,
                                                                                       Fraction entitiesPerPixel)