public class ShortType extends GenericShortType<ShortType>
dataAccess, img| Constructor and Description |
|---|
ShortType() |
ShortType(NativeImg<?,? extends ShortAccess> img) |
ShortType(short value) |
ShortType(ShortAccess access) |
| Modifier and Type | Method and Description |
|---|---|
ShortType |
copy()
|
NativeImg<ShortType,? extends ShortAccess> |
createSuitableNativeImg(NativeImgFactory<ShortType> storageFactory,
long[] dim)
The
NativeType creates the NativeImg used for storing
image data; based on the given storage strategy and its size. |
ShortType |
createVariable()
Creates a new
Type variable which can only store one value. |
ShortType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
short |
get() |
BigInteger |
getBigInteger() |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
void |
set(short b) |
void |
setBigInteger(BigInteger b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
add, compareTo, dec, decIndex, decIndex, div, getBitsPerPixel, getEntitiesPerPixel, getIndex, getShort, getValue, hashCode, inc, incIndex, incIndex, mul, mul, mul, set, setOne, setShort, 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 ShortType(NativeImg<?,? extends ShortAccess> img)
public ShortType(short value)
public ShortType(ShortAccess access)
public ShortType()
public NativeImg<ShortType,? extends ShortAccess> createSuitableNativeImg(NativeImgFactory<ShortType> 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 ShortType duplicateTypeOnSameNativeImg()
NativeTypeNativeType which stores in the same physical array.
This is only used internally.NativeType instance working on the same
NativeImgpublic short get()
public void set(short 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 ShortType createVariable()
TypeType variable which can only store one value.Type variableCopyright © 2009–2017 ImgLib2. All rights reserved.