jjil.algorithm
Class Copy

java.lang.Object
  extended by jjil.core.PipelineStage
      extended by jjil.algorithm.Copy

public class Copy
extends PipelineStage

Copies an input image to the output. This is a shallow copy, so if anything modifies the image contents the copy will be modified too.

Author:
webb

Constructor Summary
Copy()
          Creates a new instance of Copy
 
Method Summary
 void push(Image im)
          Copy an input image to the output without creating a deep copy of the contents.
 
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

Copy

public Copy()
Creates a new instance of Copy

Method Detail

push

public void push(Image im)
Copy an input image to the output without creating a deep copy of the contents.

Specified by:
push in class PipelineStage
Parameters:
im - Input image. May be of any Image type.