public class RGBWriter extends HTMLWriter
Constructor and Description |
---|
RGBWriter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
A description for the component.
|
java.lang.String |
getName()
A name for the component.
|
void |
process(Image[] inputs,
Image output,
int[] sources,
Sampler samp,
DepthSampler dpSamp)
Process the image.
|
protected void |
updateSettings(Image output,
Sampler samp)
Update the settings before creating the appropriate HTML
|
printoutTemplate, setSettings, slurp, updateHeader, updatesOutput, writeFooter, writeHeader
public void process(Image[] inputs, Image output, int[] sources, Sampler samp, DepthSampler dpSamp)
HTMLWriter
process
in class HTMLWriter
inputs
- The input images.output
- The output image.sources
- Usually a map giving the input image used for each output pixel.samp
- The sampler used to create the output.dpSamp
- For 3-d images the sampler in the energy axis.public java.lang.String getName()
HTMLWriter
getName
in interface Component
getName
in class HTMLWriter
public java.lang.String getDescription()
HTMLWriter
getDescription
in interface Component
getDescription
in class HTMLWriter
protected void updateSettings(Image output, Sampler samp)
updateSettings
in class HTMLWriter
output
- The output image.samp
- The sampler used to create the output image.