JIU 0.12.0 Homepage

net.sourceforge.jiu.geometry
Class Rotate180

java.lang.Object
  extended bynet.sourceforge.jiu.ops.Operation
      extended bynet.sourceforge.jiu.ops.ImageToImageOperation
          extended bynet.sourceforge.jiu.geometry.Rotate180

public class Rotate180
extends ImageToImageOperation

Rotates images by 180 degrees. The result is the same as a a Flip operation followed by a Mirror operation (or vice versa). Input image must implement IntegerImage.

Usage example

 Rotate180 rotate = new Rotate180();
 rotate.setInputImage(image); // something implementing IntegerImage
 rotate.process();
 PixelImage rotatedImage = rotate.getOutputImage();
 

Author:
Marco Schmidt

Constructor Summary
Rotate180()
           
 
Method Summary
 void process()
          This method does the actual work of the operation.
 
Methods inherited from class net.sourceforge.jiu.ops.ImageToImageOperation
canInputAndOutputBeEqual, ensureImagesHaveSameResolution, ensureInputImageIsAvailable, ensureOutputImageResolution, getInputImage, getOutputImage, setCanInputAndOutputBeEqual, setInputImage, setOutputImage
 
Methods inherited from class net.sourceforge.jiu.ops.Operation
addProgressListener, addProgressListeners, getAbort, removeProgressListener, setAbort, setProgress, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rotate180

public Rotate180()
Method Detail

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.)

JIU 0.12.0 Homepage

Copyright © 2000, 2001, 2002, 2003, 2004 Marco Schmidt