Package skyview.process
Class AddingMosaicker
- java.lang.Object
-
- skyview.process.Mosaicker
-
- skyview.process.AddingMosaicker
-
public class AddingMosaicker extends Mosaicker
A mosaicker is an object which creates a new image from a set of input images. This mosaicker takes the input images and adds all the overlaps together to create the output. It expects to be able to get an ExposureFinder object which for each input image returns the exposure for a given pixel. After the contributions from all of the constituent images have been found, the summed image is divided by the exposure per pixel. Substantially modified May 5, 2010 in response to issues brought up by G. Belanger. Rather than have special code to handle the overlap of each image with the output we use the standard ImageFinder. This works in global geometries where the prior use of clipping failed. The ImageFinder handles the edge and radius clipping functionality that we had had to duplicate here as well.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddingMosaicker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Get a description of this componentjava.lang.String
getName()
Get the name of this componentvoid
process(Image[] input, Image output, int[] osource, Sampler samp, DepthSampler dSampler)
Populate the pixel values of the output mosaic.-
Methods inherited from class skyview.process.Mosaicker
addPixels, ordinalSuffix, setUsedImages, updateHeader
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of this component
-
getDescription
public java.lang.String getDescription()
Get a description of this component- Specified by:
getDescription
in interfaceComponent
- Overrides:
getDescription
in classMosaicker
-
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 interfaceProcessor
- Overrides:
process
in classMosaicker
- Parameters:
input
- An array of input images.output
- The image whose data is to be filled.osource
- A dummy input array.samp
- The sampler to be used to sample the input images.dSampler
- The sampler (if any) in the energy dimension.
-
-