|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.PipelineStage
jjil.algorithm.Gray32Div
public class Gray32Div
Divides a Gray32Image by a constant.
Constructor Summary | |
---|---|
Gray32Div(int nDivisor)
Creates a new instance of Gray32Div. |
Method Summary | |
---|---|
void |
push(Image image)
Divides a Gray32Image by a constant. |
void |
setDivisor(int nDivisor)
Changes divisor. |
Methods inherited from class jjil.core.PipelineStage |
---|
getFront, isEmpty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Gray32Div(int nDivisor) throws Error
nDivisor
- The number to divide the input image by.
Error
- if the divisor is 0.Method Detail |
---|
public void push(Image image) throws Error
push
in class PipelineStage
image
- the image image (and output)
Error
- if the image is not a gray 32-bit
image.public void setDivisor(int nDivisor) throws Error
nDivisor
- The new divisor.
Error
- if the divisor is 0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |