|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FitsShape
A fits shape is a shape object in the special context of a fits background image. It is intended to do a little more advanced things than ds9 regions, like count extraction etc.
Use it together with a cursor to place it on a fits image, then use
the methods getStatistic(java.awt.geom.AffineTransform), getAdus(java.awt.geom.AffineTransform), or
getPrincipal(java.awt.geom.AffineTransform) to retrive the fits values.
| Method Summary | |
|---|---|
List<Vector3D> |
getAdus(AffineTransform af)
Greps the ADUs in the registered fits that lay within the bounds of this shape and returns them as x,y vs. |
List<Vector2D> |
getPrincipal(AffineTransform a)
Greps the ADUs in the registered fits that lay within the bounds of this shape and returns them as a two dimensional vector, where x stands for a pixel-like extension along a shape-specific principal axis, and y is a value representing the ADUs perpendicular to this axis. |
Statistic |
getStatistic(AffineTransform af)
Greps the ADUs in the registered fits that lay within the bounds of this shape and reports them as a statistic. |
boolean |
isClosed()
Returns true if this shape is a closed geometric figure or an open one. |
void |
registerFits(nom.tam.fits.Fits fits)
This method registers the fits this shape should work on. |
void |
registerFits(nom.tam.fits.ImageHDU hdu)
This method registers the image HDU this shape should work on. |
| Methods inherited from interface java.awt.Shape |
|---|
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects |
| Method Detail |
|---|
void registerFits(nom.tam.fits.Fits fits)
throws nom.tam.fits.FitsException
registerFits(ImageHDU).
nom.tam.fits.FitsException
void registerFits(nom.tam.fits.ImageHDU hdu)
throws nom.tam.fits.FitsException
nom.tam.fits.FitsExceptionregisterFits(Fits)
Statistic getStatistic(AffineTransform af)
throws nom.tam.fits.FitsException
af - How the generic shape is transformed to FITS space.
nom.tam.fits.FitsException
List<Vector3D> getAdus(AffineTransform af)
throws nom.tam.fits.FitsException
af - How the generic shape is transformed to FITS space.
nom.tam.fits.FitsException
List<Vector2D> getPrincipal(AffineTransform a)
throws nom.tam.fits.FitsException
a - How the generic shape is transformed to FITS space.
nom.tam.fits.FitsExceptionboolean isClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||