public class UnsignedByteType extends GenericByteType<UnsignedByteType>
dataAccess, img| Constructor and Description |
|---|
UnsignedByteType() |
UnsignedByteType(ByteAccess access) |
UnsignedByteType(int value) |
UnsignedByteType(NativeImg<?,? extends ByteAccess> img) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(UnsignedByteType c) |
int |
compareTo(UnsignedByteType c) |
UnsignedByteType |
copy()
|
NativeImg<UnsignedByteType,? extends ByteAccess> |
createSuitableNativeImg(NativeImgFactory<UnsignedByteType> storageFactory,
long[] dim)
The
NativeType creates the NativeImg used for storing
image data; based on the given storage strategy and its size. |
UnsignedByteType |
createVariable()
Creates a new
Type variable which can only store one value. |
void |
div(UnsignedByteType c) |
UnsignedByteType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
int |
get() |
BigInteger |
getBigInteger() |
static byte |
getCodedSignedByte(int unsignedByte) |
static byte |
getCodedSignedByteChecked(int unsignedByte) |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
static int |
getUnsignedByte(byte signedByte) |
int |
hashCode() |
void |
mul(double c) |
void |
mul(float c) |
void |
mul(UnsignedByteType c) |
void |
set(int f) |
void |
setBigInteger(BigInteger b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
void |
sub(UnsignedByteType c) |
String |
toString() |
dec, decIndex, decIndex, getBitsPerPixel, getByte, getEntitiesPerPixel, getIndex, getValue, inc, incIndex, incIndex, set, setByte, setOne, 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 UnsignedByteType(NativeImg<?,? extends ByteAccess> img)
public UnsignedByteType(int value)
public UnsignedByteType(ByteAccess access)
public UnsignedByteType()
public static byte getCodedSignedByteChecked(int unsignedByte)
public static byte getCodedSignedByte(int unsignedByte)
public static int getUnsignedByte(byte signedByte)
public NativeImg<UnsignedByteType,? extends ByteAccess> createSuitableNativeImg(NativeImgFactory<UnsignedByteType> 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 UnsignedByteType 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 GenericByteType<UnsignedByteType>public void mul(double c)
mul in interface MulFloatingPointmul in class GenericByteType<UnsignedByteType>public void add(UnsignedByteType c)
add in interface Add<UnsignedByteType>add in class GenericByteType<UnsignedByteType>public void div(UnsignedByteType c)
div in interface Div<UnsignedByteType>div in class GenericByteType<UnsignedByteType>public void mul(UnsignedByteType c)
mul in interface Mul<UnsignedByteType>mul in class GenericByteType<UnsignedByteType>public void sub(UnsignedByteType c)
sub in interface Sub<UnsignedByteType>sub in class GenericByteType<UnsignedByteType>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 GenericByteType<UnsignedByteType>public int compareTo(UnsignedByteType c)
compareTo in interface Comparable<UnsignedByteType>compareTo in class GenericByteType<UnsignedByteType>public UnsignedByteType createVariable()
TypeType variable which can only store one value.Type variablepublic UnsignedByteType copy()
TypeType variablepublic String toString()
toString in class GenericByteType<UnsignedByteType>Copyright © 2009–2017 ImgLib2. All rights reserved.