skyview.process
Class Mosaicker

java.lang.Object
  extended by skyview.process.Mosaicker
All Implemented Interfaces:
java.io.Serializable, Component, Processor

public class Mosaicker
extends java.lang.Object
implements Processor

A mosaicker is an object which creates a new image from a set of input images.

See Also:
Serialized Form

Constructor Summary
Mosaicker()
           
 
Method Summary
 java.lang.String getDescription()
          Get a description of this component
 java.lang.String getName()
          Get the name of this component
 void process(Image[] input, Image output, int[] osource, Sampler samp, DepthSampler dSampler)
          Populate the pixel values of the output mosaic.
 void updateHeader(Header h)
          Describe the mosaicking of the image .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mosaicker

public Mosaicker()
Method Detail

getName

public java.lang.String getName()
Get the name of this component

Specified by:
getName in interface Component

getDescription

public java.lang.String getDescription()
Get a description of this component

Specified by:
getDescription in interface Component

process

public void process(Image[] input,
                    Image output,
                    int[] osource,
                    Sampler samp,
                    DepthSampler dSampler)
Populate the pixel values of the output mosaic. Note that the output image is assumed to be created prior to the mosaic call since its WCS will have been used extensively.

Specified by:
process in interface Processor
Parameters:
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).
pixels - The pixel locations to be used in the mosaicking.
samp - The sampler to be used to sample the input images.
dsamp - The sampler (if any) in the energy dimension.

updateHeader

public void updateHeader(Header h)
Describe the mosaicking of the image .

Specified by:
updateHeader in interface Processor