net.aerith.misao.image
Class PSF

java.lang.Object
  |
  +--net.aerith.misao.image.PSF

public class PSF
extends java.lang.Object

The PSF represents a point spread function.

The PSF is represented as a square image whose width and height is odd. So the central pixel represents the peak of the PSF.


Field Summary
protected  MonoImage psf_image
          The PSF image.
 
Constructor Summary
PSF(MonoImage source_image, Position center_position, java.awt.Rectangle rectangle)
          Constructs a PSF from an image.
 
Method Summary
 void compound(PSF psf)
          Compounds the specified PSF to this PSF.
 MonoImage getMonoImage()
          Gets the PSF image.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

psf_image

protected MonoImage psf_image
The PSF image.
Constructor Detail

PSF

public PSF(MonoImage source_image,
           Position center_position,
           java.awt.Rectangle rectangle)
Constructs a PSF from an image.
Parameters:
source_image - the source image.
center_position - the center (x,y) of a star.
rectangle - the rectangle to extract.
Method Detail

getMonoImage

public MonoImage getMonoImage()
Gets the PSF image.
Returns:
the PSF image.

compound

public void compound(PSF psf)
Compounds the specified PSF to this PSF. Note that ths size of the PSF image is reduced when the specified PSF is smaller.
Parameters:
psf - another PSF.