Package net.sourceforge.jiu.geometry
Class Rotate90Right
- java.lang.Object
-
- net.sourceforge.jiu.ops.Operation
-
- net.sourceforge.jiu.ops.ImageToImageOperation
-
- net.sourceforge.jiu.geometry.Rotate90Right
-
public class Rotate90Right extends ImageToImageOperation
Rotates images by 90 degrees clockwise (to the right). Input image must implementIntegerImage
.Usage example
Rotate90Right rotate = new Rotate90Right(); rotate.setInputImage(image); rotate.process(); PixelImage rotatedImage = rotate.getOutputImage();
- Author:
- Marco Schmidt
-
-
Constructor Summary
Constructors Constructor Description Rotate90Right()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process()
This method does the actual work of the operation.private void
process(IntegerImage in, IntegerImage out)
-
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
-
-
-
-
Method Detail
-
process
private void process(IntegerImage in, IntegerImage out)
-
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 classOperation
- Throws:
MissingParameterException
- if any mandatory parameter was not given to the operationWrongParameterException
- if at least one of the input parameters was not initialized appropriately (values out of the valid interval, etc.)
-
-