net.sourceforge.jiu.geometry
Class Flip
java.lang.Object
net.sourceforge.jiu.ops.Operation
net.sourceforge.jiu.ops.ImageToImageOperation
net.sourceforge.jiu.geometry.Flip
public class Flip
- extends ImageToImageOperation
Flips images (top row becomes bottom row and vice versa, and so on).
Supported image types: IntegerImage
.
Usage example:
Flip flip = new Flip();
flip.setInputImage(image); // image is some IntegerImage object
flip.process();
PixelImage flippedImage = flip.getOutputImage();
- Author:
- Marco Schmidt
Constructor Summary |
Flip()
|
Method Summary |
void |
process()
This method does the actual work of the operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Flip
public Flip()
process
public void process()
throws MissingParameterException,
WrongParameterException
- Description copied from class:
Operation
- This method does the actual work of the operation.
It must be called after all parameters have been given to the operation object.
- Overrides:
process
in class Operation
- Throws:
MissingParameterException
- if any mandatory parameter was not given to the operation
WrongParameterException
- if at least one of the input parameters was
not initialized appropriately (values out of the valid interval, etc.)
Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Marco Schmidt