public class Mosaicker extends Processor
Constructor and Description |
---|
Mosaicker() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPixels(java.lang.String name,
int count) |
java.lang.String |
getDescription()
Get a description of this component
|
java.lang.String |
getName()
Get the name of this component
|
static java.lang.String |
ordinalSuffix(int n)
Find appropriate ordinal suffix for
a given integer.
|
void |
process(Image[] input,
Image output,
int[] osource,
Sampler samp,
DepthSampler dSampler)
Populate the pixel values of the output mosaic.
|
protected void |
setUsedImages() |
void |
updateHeader(nom.tam.fits.Header h)
Describe the mosaicking of the image .
|
boolean |
updatesOutput()
Does this processor actually modify the output array?
|
public boolean updatesOutput()
Processor
updatesOutput
in class Processor
public java.lang.String getName()
public java.lang.String getDescription()
public void process(Image[] input, Image output, int[] osource, Sampler samp, DepthSampler dSampler)
process
in class Processor
input
- An array of input images.output
- The image whose data is to be filled.osource
- An integer array giving the source image to be used
for the output pixels. Note that depending upon
the mosaicker used, source may be dimensioned as either
nx*ny or (nx+1)*(ny+1).samp
- The sampler to be used to sample the input images.dSampler
- The sampler (if any) in the energy dimension.protected void addPixels(java.lang.String name, int count)
protected void setUsedImages()
public void updateHeader(nom.tam.fits.Header h)
updateHeader
in class Processor
public static java.lang.String ordinalSuffix(int n)