Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1ImageSourceFinder.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 22:56:19 2011 Кодировка: Поисковые слова: р р р р р р п п р р р р р р |
Provides functionality to find sources in an image. More...
#include <ImageSourceFinder.h>
Public Member Functions | |
ImageSourceFinder (const ImageInterface< T > &) | |
Constructor. | |
ImageSourceFinder (const ImageSourceFinder< T > &other) | |
Copy constructor. | |
~ImageSourceFinder () | |
Destructor. | |
ImageSourceFinder< T > & | operator= (const ImageSourceFinder< T > &other) |
Assignment operator. | |
ComponentList | findSources (LogIO &os, Int nMax, Double cutoff=0.1, Bool absFind=True, Bool doPoint=True, Int width=4) |
Find strong sources. | |
SkyComponent | findSourceInSky (LogIO &os, Vector< Double > &absPixel, Double cutoff=0.1, Bool absFind=True, Bool doPoint=True, Int width=4) |
Find one source in sky plane. | |
Bool | setNewImage (const ImageInterface< T > &image) |
Set a new image. | |
Private Member Functions | |
ComponentList | findSources (LogIO &os, const ImageInterface< T > &image, Int nMax, Double cutoff, Bool absFind, Bool doPoint, Int width) |
Find strong (point) sources. | |
Private Attributes | |
const ImageInterface< T > * | pImage_p |
Provides functionality to find sources in an image.
Public interface
It finds sources.
This class provides methods to find sources in an image.
The finding procedes in two stages. First, strong point sources are found via an efficient algorithm producing POINT components. If you wish, you can further request a Gaussian fit to these found point sources and then return the parameters of the fit (as a GAUSIAN component).
This complements source fitting by providing an initial estimate
Definition at line 90 of file ImageSourceFinder.h.
casa::ImageSourceFinder< T >::ImageSourceFinder | ( | const ImageInterface< T > & | ) |
Constructor.
casa::ImageSourceFinder< T >::ImageSourceFinder | ( | const ImageSourceFinder< T > & | other | ) |
Copy constructor.
casa::ImageSourceFinder< T >::~ImageSourceFinder | ( | ) |
Destructor.
SkyComponent casa::ImageSourceFinder< T >::findSourceInSky | ( | LogIO & | os, | |
Vector< Double > & | absPixel, | |||
Double | cutoff = 0.1 , |
|||
Bool | absFind = True , |
|||
Bool | doPoint = True , |
|||
Int | width = 4 | |||
) |
Find one source in sky plane.
Exception if no sky
ComponentList casa::ImageSourceFinder< T >::findSources | ( | LogIO & | os, | |
const ImageInterface< T > & | image, | |||
Int | nMax, | |||
Double | cutoff, | |||
Bool | absFind, | |||
Bool | doPoint, | |||
Int | width | |||
) | [private] |
Find strong (point) sources.
ComponentList casa::ImageSourceFinder< T >::findSources | ( | LogIO & | os, | |
Int | nMax, | |||
Double | cutoff = 0.1 , |
|||
Bool | absFind = True , |
|||
Bool | doPoint = True , |
|||
Int | width = 4 | |||
) |
Find strong sources.
nMax specifies the maximum number of sources to find. cutoff is the fractional cutoff (of peak) and soiurces below this limit will not be found. If absFind is True, only positive sources are found, else positive and negative are found. If doPoint=True, the returned components are of type POINT. If doPoint=False, the position and shape information is returned via a Gaussian fit (and components will be of type GAUSSIAN) to the point sources initially found. The parameter width specifies the half-width of a square grid of pixels centered on the initial point source location to be used in the fit. If you set doPoint=False and width=0, a default width of 3 and position angle 0 is returned in the GAUSSIAN component. Because the flux of the component is integrated, this rough shape influences the flux values as well.
ImageSourceFinder<T>& casa::ImageSourceFinder< T >::operator= | ( | const ImageSourceFinder< T > & | other | ) |
Assignment operator.
Bool casa::ImageSourceFinder< T >::setNewImage | ( | const ImageInterface< T > & | image | ) |
Set a new image.
const ImageInterface<T>* casa::ImageSourceFinder< T >::pImage_p [private] |
Definition at line 130 of file ImageSourceFinder.h.