|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Algorithm
Interface intended to describe and structure algorithms to be used for one pixel at a time.
The JAI calls these a PointOpImage
First implementation as discussed on 17-08-05 by Martin Schouwenburg, Jan Hendrikse and Wim Koolhoven
| Method Summary | |
|---|---|
double |
calculate(double[] params)
calculates the result of the Algorithm for these parameters. |
java.lang.String |
getDescription()
may return the Description of the Algorithm. |
java.lang.String |
getDocURL()
may return an URL to Documentation about the Algorithm. |
java.lang.String |
getName()
returns the Name of the Algorithm. |
int |
getNrParams()
returns the number of parameters |
java.lang.String |
getParamDescription(int paramNr)
may return a Description of the parameter. |
java.lang.String |
getParamName(int paramNr)
returns the Name of the parameter |
java.lang.String |
getVersion()
may return the version of the Algorithm. |
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getDescription()
java.lang.String getDocURL()
java.lang.String getVersion()
double calculate(double[] params)
params - the Array has to have as many elements as specified with getNrParams()
java.lang.RuntimeExceptionint getNrParams()
java.lang.String getParamName(int paramNr)
paramNr - starts counting at 0
paramNr
java.lang.IndexOutOfBoundsException - when paramNr is negative or larger or equal to {#getNrParams()}java.lang.String getParamDescription(int paramNr)
paramNr - starts counting at 0
paramNr
java.lang.IndexOutOfBoundsException - when paramNr is negative or larger or equal to {#getNrParams()}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||