JIU 0.14.3

net.sourceforge.jiu.color.promotion
Class PromotionRGB48

java.lang.Object
  extended by net.sourceforge.jiu.ops.Operation
      extended by net.sourceforge.jiu.ops.ImageToImageOperation
          extended by net.sourceforge.jiu.color.promotion.PromotionRGB48

public class PromotionRGB48
extends ImageToImageOperation

Converts several image types to RGB48Image. Promotion is a lossless operation that will only lead to an output image that holds the same image in a way that demands more memory.

If you give an image implementing RGB24Image to this operation, a WrongParameterException will be thrown. This operation could also return the input image, but this might lead to the wrong impression that a copy of the input was produced which can be modified without changing the original.

Since:
0.12.0
Author:
Marco Schmidt

Constructor Summary
PromotionRGB48()
           
 
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

PromotionRGB48

public PromotionRGB48()
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.14.3

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Marco Schmidt