public class CellContainerFactory extends DirectAccessContainerFactory
Modifier and Type | Field and Description |
---|---|
protected int[] |
cellSize |
protected int |
standardCellSize |
useOptimizedContainers
Constructor and Description |
---|
CellContainerFactory() |
CellContainerFactory(int cellSize) |
CellContainerFactory(int[] cellSize) |
Modifier and Type | Method and Description |
---|---|
protected int[] |
checkCellSize(int[] cellSize,
int[] dimensions) |
protected int[] |
checkDimensions(int[] dimensions) |
<T extends Type<T>> |
createBitInstance(int[] dimensions,
int entitiesPerPixel) |
<T extends Type<T>> |
createByteInstance(int[] dimensions,
int entitiesPerPixel) |
<T extends Type<T>> |
createCharInstance(int[] dimensions,
int entitiesPerPixel) |
<T extends Type<T>> |
createDoubleInstance(int[] dimensions,
int entitiesPerPixel) |
<T extends Type<T>> |
createFloatInstance(int[] dimensions,
int entitiesPerPixel) |
<T extends Type<T>> |
createIntInstance(int[] dimensions,
int entitiesPerPixel) |
<T extends Type<T>> |
createLongInstance(int[] dimensions,
int entitiesPerPixel) |
<T extends Type<T>> |
createShortInstance(int[] dimensions,
int entitiesPerPixel) |
String |
getErrorMessage() |
void |
printProperties() |
void |
setParameters(String configuration) |
createContainer
setOptimizedContainerUse, useOptimizedContainers
public CellContainerFactory()
public CellContainerFactory(int cellSize)
public CellContainerFactory(int[] cellSize)
protected int[] checkDimensions(int[] dimensions)
protected int[] checkCellSize(int[] cellSize, int[] dimensions)
public <T extends Type<T>> DirectAccessContainer<T,BitArray> createBitInstance(int[] dimensions, int entitiesPerPixel)
createBitInstance
in class DirectAccessContainerFactory
public <T extends Type<T>> DirectAccessContainer<T,ByteArray> createByteInstance(int[] dimensions, int entitiesPerPixel)
createByteInstance
in class DirectAccessContainerFactory
public <T extends Type<T>> DirectAccessContainer<T,CharArray> createCharInstance(int[] dimensions, int entitiesPerPixel)
createCharInstance
in class DirectAccessContainerFactory
public <T extends Type<T>> DirectAccessContainer<T,DoubleArray> createDoubleInstance(int[] dimensions, int entitiesPerPixel)
createDoubleInstance
in class DirectAccessContainerFactory
public <T extends Type<T>> DirectAccessContainer<T,FloatArray> createFloatInstance(int[] dimensions, int entitiesPerPixel)
createFloatInstance
in class DirectAccessContainerFactory
public <T extends Type<T>> DirectAccessContainer<T,IntArray> createIntInstance(int[] dimensions, int entitiesPerPixel)
createIntInstance
in class DirectAccessContainerFactory
public <T extends Type<T>> DirectAccessContainer<T,LongArray> createLongInstance(int[] dimensions, int entitiesPerPixel)
createLongInstance
in class DirectAccessContainerFactory
public <T extends Type<T>> DirectAccessContainer<T,ShortArray> createShortInstance(int[] dimensions, int entitiesPerPixel)
createShortInstance
in class DirectAccessContainerFactory
public String getErrorMessage()
public void printProperties()
public void setParameters(String configuration)
Copyright © 2015–2021 Fiji. All rights reserved.