public class Mosaicker extends Object implements Processor
Constructor and Description |
---|
Mosaicker() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get a description of this component
|
String |
getName()
Get the name of this component
|
static 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.
|
void |
updateHeader(nom.tam.fits.Header h)
Describe the mosaicking of the image .
|
public String getName()
public String getDescription()
getDescription
in interface Component
public void process(Image[] input, Image output, int[] osource, Sampler samp, DepthSampler dSampler)
process
in interface 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.public void updateHeader(nom.tam.fits.Header h)
updateHeader
in interface Processor
public static String ordinalSuffix(int n)