public class ByteType extends GenericByteType<ByteType>
dataAccess, img| Constructor and Description |
|---|
ByteType() |
ByteType(byte value) |
ByteType(ByteAccess access) |
ByteType(NativeImg<?,? extends ByteAccess> img) |
| Modifier and Type | Method and Description |
|---|---|
ByteType |
copy()
|
NativeImg<ByteType,? extends ByteAccess> |
createSuitableNativeImg(NativeImgFactory<ByteType> storageFactory,
long[] dim)
The
NativeType creates the NativeImg used for storing
image data; based on the given storage strategy and its size. |
ByteType |
createVariable()
Creates a new
Type variable which can only store one value. |
ByteType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
byte |
get() |
BigInteger |
getBigInteger() |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
void |
set(byte b) |
void |
setBigInteger(BigInteger b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
add, compareTo, dec, decIndex, decIndex, div, getBitsPerPixel, getByte, getEntitiesPerPixel, getIndex, getValue, hashCode, inc, incIndex, incIndex, mul, mul, mul, set, setByte, setOne, setValue, setZero, sub, toString, updateContainer, updateIndex, valueEqualsgetMinIncrement, getRealDouble, getRealFloat, setReal, setRealequals, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setImaginary, setImaginarycomplexConjugate, setComplexNumber, setComplexNumberclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomplexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginarypublic ByteType(NativeImg<?,? extends ByteAccess> img)
public ByteType(byte value)
public ByteType(ByteAccess access)
public ByteType()
public NativeImg<ByteType,? extends ByteAccess> createSuitableNativeImg(NativeImgFactory<ByteType> storageFactory, long[] dim)
NativeTypeNativeType 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 ByteType duplicateTypeOnSameNativeImg()
NativeTypeNativeType which stores in the same physical array.
This is only used internally.NativeType instance working on the same
NativeImgpublic byte get()
public void set(byte 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 ByteType createVariable()
TypeType variable which can only store one value.Type variableCopyright © 2009–2017 ImgLib2. All rights reserved.