skyview.process
Class BackupMosaicker

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

public class BackupMosaicker
extends Mosaicker

This mosaicker is used to create a mosaic where if there are pixels unfilled by the primary survey one or more secondary surveys are invoked to fill them.

See Also:
Serialized Form

Constructor Summary
BackupMosaicker()
           
 
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 reprocess(Image output, int[] source, Sampler samp, DepthSampler dSampler, java.lang.String survey)
           
 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

BackupMosaicker

public BackupMosaicker()
Method Detail

getName

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

Specified by:
getName in interface Component
Overrides:
getName in class Mosaicker

getDescription

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

Specified by:
getDescription in interface Component
Overrides:
getDescription in class Mosaicker

process

public void process(Image[] input,
                    Image output,
                    int[] osource,
                    Sampler samp,
                    DepthSampler dSampler)
Description copied from class: Mosaicker
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
Overrides:
process in class Mosaicker
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).
samp - The sampler to be used to sample the input images.
dSampler - The sampler in the energy dimension (often null).

reprocess

public void reprocess(Image output,
                      int[] source,
                      Sampler samp,
                      DepthSampler dSampler,
                      java.lang.String survey)

updateHeader

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

Specified by:
updateHeader in interface Processor
Overrides:
updateHeader in class Mosaicker