public class Rotate180 extends ImageToImageOperation
Flip operation followed by a Mirror operation (or vice versa).
Input image must implement IntegerImage.
Rotate180 rotate = new Rotate180(); rotate.setInputImage(image); // something implementing IntegerImage rotate.process(); PixelImage rotatedImage = rotate.getOutputImage();
| Constructor and Description |
|---|
Rotate180() |
| Modifier and Type | Method and Description |
|---|---|
void |
process()
This method does the actual work of the operation.
|
private void |
process(IntegerImage in,
IntegerImage out) |
canInputAndOutputBeEqual, ensureImagesHaveSameResolution, ensureInputImageIsAvailable, ensureOutputImageResolution, getInputImage, getOutputImage, setCanInputAndOutputBeEqual, setInputImage, setOutputImageaddProgressListener, addProgressListeners, getAbort, removeProgressListener, setAbort, setProgress, setProgressprivate void process(IntegerImage in, IntegerImage out)
public void process()
throws MissingParameterException,
WrongParameterException
Operationprocess in class OperationMissingParameterException - 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.)