public class Unsigned4BitType extends AbstractIntegerBitType<Unsigned4BitType>
Type with a bit depth of 4.
The performance of this type is traded off for the gain in memory storage.dataAccess, i, img, nBits| Constructor and Description |
|---|
Unsigned4BitType() |
Unsigned4BitType(long value) |
Unsigned4BitType(LongAccess access) |
Unsigned4BitType(NativeImg<?,? extends LongAccess> bitStorage) |
| Modifier and Type | Method and Description |
|---|---|
Unsigned4BitType |
copy()
|
Unsigned4BitType |
createVariable()
Creates a new
Type variable which can only store one value. |
Unsigned4BitType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
long |
get() |
NativeTypeFactory<Unsigned4BitType,LongAccess> |
getNativeTypeFactory() |
void |
set(long value) |
add, compareTo, complexConjugate, dec, div, equals, getBigInteger, getBitsPerPixel, getImaginaryDouble, getImaginaryFloat, getInteger, getIntegerLong, getMaxValue, getMinIncrement, getMinValue, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, getRealDouble, getRealFloat, hashCode, inc, mul, mul, mul, pow, pow, set, setBigInteger, setComplexNumber, setComplexNumber, setImaginary, setImaginary, setInteger, setInteger, setOne, setReal, setReal, setZero, sub, toString, valueEqualsgetEntitiesPerPixel, index, updateContainerclone, finalize, getClass, notify, notifyAll, wait, wait, waitdecIndex, decIndex, getIndex, incIndex, incIndex, updateIndexpublic Unsigned4BitType(NativeImg<?,? extends LongAccess> bitStorage)
public Unsigned4BitType(long value)
public Unsigned4BitType(LongAccess access)
public Unsigned4BitType()
public Unsigned4BitType duplicateTypeOnSameNativeImg()
NativeTypeNativeType which stores in the same physical array.
This is only used internally.NativeType instance working on the same
NativeImgpublic NativeTypeFactory<Unsigned4BitType,LongAccess> getNativeTypeFactory()
getNativeTypeFactory in interface NativeType<Unsigned4BitType>getNativeTypeFactory in class AbstractBitType<Unsigned4BitType>public long get()
get in class AbstractIntegerBitType<Unsigned4BitType>public void set(long value)
set in class AbstractIntegerBitType<Unsigned4BitType>public Unsigned4BitType createVariable()
TypeType variable which can only store one value.Type variablepublic Unsigned4BitType copy()
TypeType variableCopyright © 2015–2022 ImgLib2. All rights reserved.