|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.PipelineStage
public abstract class PipelineStage
PipelineStage is the class from which all image to image processing operations must derive. It holds the output image (in imageOutput) and notes whether there is an image available or not (in fReady). It is intended to be used as a single-level stack element.
Method Summary | |
---|---|
Image |
getFront()
Returns the current output, and pops it off the stack. |
boolean |
isEmpty()
Returns true iff this pipeline stage does not have an output available. |
abstract void |
push(Image imageInput)
Actual processing is done in the derived class here. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isEmpty()
public Image getFront() throws Error
Error
- if no output is availablepublic abstract void push(Image imageInput) throws Error
imageInput
- the input image
Error
- typically, when the image is not of the expected type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |