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