skyview.process
Class ImageFinder

java.lang.Object
  extended by skyview.process.ImageFinder
Direct Known Subclasses:
Border, RecursiveImageFinder

public abstract class ImageFinder
extends java.lang.Object


Constructor Summary
ImageFinder()
           
 
Method Summary
static ImageFinder factory(java.lang.String type)
          Create an ImageFinder given a class name or return an instance of the default class if no name is given.
abstract  int[] findImages(Image[] input, Image output)
          This is the basic method in the image finder.
 void setStrict(boolean strict)
          Do stricter tests of the best pixel match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFinder

public ImageFinder()
Method Detail

findImages

public abstract int[] findImages(Image[] input,
                                 Image output)
This is the basic method in the image finder. It gives the index of the appropriate input image for each pixel in the output image.

Parameters:
input - An array of images from which the output image is to be interpolated.
output - An output image to be generated from the input. This method does not change the output image.
pixels - The pixel locations at which images are going to be found.
Returns:
An integer array of the same dimension as one plane of the output image. Each element of the array gives the index of the input image that should be used to get the value of that point. A value -2 indicates that there is no suitable input image. A value -3 indicates that the output pixel is not physical (e.g., it lies outside the valid region in the projection plane). Zero and positive values give the appropriate indices.

factory

public static ImageFinder factory(java.lang.String type)
Create an ImageFinder given a class name or return an instance of the default class if no name is given.


setStrict

public void setStrict(boolean strict)
Do stricter tests of the best pixel match