public class Unsigned12BitType extends AbstractIntegerBitType<Unsigned12BitType>
Type
whose data is stored in a LongAccess
.dataAccess, i, img, nBits
Constructor and Description |
---|
Unsigned12BitType() |
Unsigned12BitType(long value) |
Unsigned12BitType(LongAccess access) |
Unsigned12BitType(NativeImg<?,? extends LongAccess> bitStorage) |
Modifier and Type | Method and Description |
---|---|
Unsigned12BitType |
copy()
|
NativeImg<Unsigned12BitType,? extends LongAccess> |
createSuitableNativeImg(NativeImgFactory<Unsigned12BitType> storageFactory,
long[] dim)
The
NativeType creates the NativeImg used for storing
image data; based on the given storage strategy and its size. |
Unsigned12BitType |
createVariable()
Creates a new
Type variable which can only store one value. |
Unsigned12BitType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
long |
get() |
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, set, setBigInteger, setComplexNumber, setComplexNumber, setImaginary, setImaginary, setInteger, setInteger, setOne, setReal, setReal, setZero, sub, toString, valueEquals
decIndex, decIndex, getEntitiesPerPixel, getIndex, incIndex, incIndex, updateContainer, updateIndex
public Unsigned12BitType(NativeImg<?,? extends LongAccess> bitStorage)
public Unsigned12BitType(long value)
public Unsigned12BitType(LongAccess access)
public Unsigned12BitType()
public NativeImg<Unsigned12BitType,? extends LongAccess> createSuitableNativeImg(NativeImgFactory<Unsigned12BitType> 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 Unsigned12BitType duplicateTypeOnSameNativeImg()
NativeType
NativeType
which stores in the same physical array.
This is only used internally.NativeType
instance working on the same
NativeImg
public long get()
get
in class AbstractIntegerBitType<Unsigned12BitType>
public void set(long value)
set
in class AbstractIntegerBitType<Unsigned12BitType>
public Unsigned12BitType createVariable()
Type
Type
variable which can only store one value.Type
variablepublic Unsigned12BitType copy()
Type
Type
variableCopyright © 2009–2017 ImgLib2. All rights reserved.