public class IntType extends GenericIntType<IntType>
dataAccess, img
Constructor and Description |
---|
IntType() |
IntType(int value) |
IntType(IntAccess access) |
IntType(NativeImg<?,? extends IntAccess> img) |
Modifier and Type | Method and Description |
---|---|
IntType |
copy()
|
NativeImg<IntType,? extends IntAccess> |
createSuitableNativeImg(NativeImgFactory<IntType> storageFactory,
long[] dim)
The
NativeType creates the NativeImg used for storing
image data; based on the given storage strategy and its size. |
IntType |
createVariable()
Creates a new
Type variable which can only store one value. |
IntType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
int |
get() |
BigInteger |
getBigInteger() |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
void |
set(int b) |
void |
setBigInteger(BigInteger b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
add, compareTo, dec, decIndex, decIndex, div, getBitsPerPixel, getEntitiesPerPixel, getIndex, getInt, getValue, hashCode, inc, incIndex, incIndex, mul, mul, mul, set, setInt, setOne, setValue, setZero, sub, toString, updateContainer, updateIndex, valueEquals
getMinIncrement, getRealDouble, getRealFloat, setReal, setReal
equals, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setImaginary, setImaginary
complexConjugate, setComplexNumber, setComplexNumber
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
complexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginary
public IntType(int value)
public IntType(IntAccess access)
public IntType()
public NativeImg<IntType,? extends IntAccess> createSuitableNativeImg(NativeImgFactory<IntType> storageFactory, long[] dim)
NativeType
NativeType
creates the NativeImg
used for storing
image data; based on the given storage strategy and its size. It
basically only decides here which BasicType it uses (float, int, byte,
bit, ...) and how many entities per pixel it needs (e.g. 2 floats per
pixel for a complex number). This enables the separation of containers
and the basic types.public IntType duplicateTypeOnSameNativeImg()
NativeType
NativeType
which stores in the same physical array.
This is only used internally.NativeType
instance working on the same
NativeImg
public int get()
public void set(int b)
public int getInteger()
public long getIntegerLong()
public BigInteger getBigInteger()
public void setInteger(int f)
public void setInteger(long f)
public void setBigInteger(BigInteger b)
public double getMaxValue()
public double getMinValue()
public IntType createVariable()
Type
Type
variable which can only store one value.Type
variableCopyright © 2009–2018 ImgLib2. All rights reserved.