public class PromotionPaletted8 extends ImageToImageOperation
BilevelImage and Gray8Image objects to
Paletted8Image objects.
This lossless operation will only lead to an output image
that holds the input image in a way that demands more memory.| Constructor and Description |
|---|
PromotionPaletted8() |
| Modifier and Type | Method and Description |
|---|---|
private void |
prepare(PixelImage in) |
void |
process()
This method does the actual work of the operation.
|
private void |
process(BilevelImage in,
Paletted8Image out) |
private void |
process(Gray8Image in,
Paletted8Image out) |
canInputAndOutputBeEqual, ensureImagesHaveSameResolution, ensureInputImageIsAvailable, ensureOutputImageResolution, getInputImage, getOutputImage, setCanInputAndOutputBeEqual, setInputImage, setOutputImageaddProgressListener, addProgressListeners, getAbort, removeProgressListener, setAbort, setProgress, setProgressprivate void prepare(PixelImage in) throws MissingParameterException, WrongParameterException
private void process(BilevelImage in, Paletted8Image out)
private void process(Gray8Image in, Paletted8Image 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.)