|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueTransferFunction
Value-transfer function interface: representation of R -> R function (Pixel -> Pixel).
Field Summary |
---|
Fields inherited from interface cz.cuni.jagrlib.iface.Property |
---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
Method Summary | |
---|---|
double |
transfer(double value)
Scalar value-transfer function. |
int |
transfer(double[] input)
Gr[A] or RGB[A] -> index (classification) function. |
void |
transfer(double[] input,
double[] output)
Gr[A] or RGB[A] value-transfer function. |
int |
transfer(int[] input,
int max)
Gr[A] or RGB[A] -> index (classification) function. |
void |
transfer(int[] input,
int[] output,
int max)
Gr[A] or RGB[A] value-transfer function. |
int |
transfer(int value,
int max)
Scalar value-transfer function. |
double |
transferInv(double value)
Scalar inverse value-transfer function. |
void |
transferInv(double[] input,
double[] output)
Gr[A] or RGB[A] inverse value-transfer function. |
void |
transferInv(int[] input,
int[] output,
int max)
Gr[A] or RGB[A] inverse value-transfer function. |
void |
transferInv(int input,
double[] output)
Index -> Gr[A] or RGB[A] (reconstruction) function. |
int |
transferInv(int value,
int max)
Scalar inverse value-transfer function. |
void |
transferInv(int input,
int[] output,
int max)
Index -> Gr[A] or RGB[A] (reconstruction) function. |
Methods inherited from interface cz.cuni.jagrlib.iface.Property |
---|
commit, get, set |
Method Detail |
---|
int transfer(int value, int max)
value
- Input value (range from 0 to max).max
- Maximal input/output value.
int transferInv(int value, int max)
value
- Input value (range from 0 to max).max
- Maximal input/output value.
double transfer(double value)
value
- Input value (range from 0.0 to 1.0).
double transferInv(double value)
value
- Input value (range from 0.0 to 1.0).
void transfer(int[] input, int[] output, int max)
input
- Input value (scalar range from 0 to max).output
- Output value (scalar range from 0 to max).
Can be the same as input (in-place operation).max
- Maximal input/output value.void transferInv(int[] input, int[] output, int max)
input
- Input value (scalar range from 0 to max).output
- Output value (scalar range from 0 to max).
Can be the same as input (in-place operation).max
- Maximal input/output value.void transfer(double[] input, double[] output)
input
- Input value (scalar range from 0.0 to 1.0).output
- Output value (scalar range from 0.0 to 1.0).
Can be the same as input (in-place operation).void transferInv(double[] input, double[] output)
input
- Input value (scalar range from 0.0 to 1.0).output
- Output value (scalar range from 0.0 to 1.0).
Can be the same as input (in-place operation).int transfer(int[] input, int max)
input
- Input value (scalar range from 0 to max).max
- Maximal input value.
void transferInv(int input, int[] output, int max)
input
- Index value (color index).output
- Output value (scalar range from 0 to max).max
- Maximal output value.int transfer(double[] input)
input
- Input value (scalar range from 0.0 to 1.0).
void transferInv(int input, double[] output)
input
- Index value (color index).output
- Output value (scalar range from 0.0 to 1.0).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |