|
LSSTApplications
1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
|
A peak in an image. More...
#include <Peak.h>
Public Types | |
| typedef boost::shared_ptr< Peak > | Ptr |
Public Types inherited from lsst.daf.base::Citizen | |
| enum | { magicSentinel = 0xdeadbeef } |
| typedef unsigned long | memId |
| Type of the block's ID. More... | |
| typedef memId(* | memNewCallback )(const memId cid) |
| A function used to register a callback. More... | |
| typedef memId(* | memCallback )(const Citizen *ptr) |
Public Member Functions | |
| Peak (int ix, int iy, float peakValue=std::numeric_limits< float >::quiet_NaN()) | |
A peak at the pixel (ix, iy) More... | |
| Peak (float fx=std::numeric_limits< float >::quiet_NaN(), float fy=std::numeric_limits< float >::quiet_NaN(), float peakValue=std::numeric_limits< float >::quiet_NaN()) | |
A peak at the floating-point position (fx, fy) More... | |
| Peak (Peak const &other) | |
| Peak & | operator= (Peak const &other) |
| ~Peak () | |
| bool | operator== (Peak const &rhs) const |
| bool | operator!= (Peak const &rhs) const |
| int | getId () const |
| Return the Peak's unique ID. More... | |
| int | getIx () const |
| Return the column pixel position. More... | |
| int | getIy () const |
| lsst::afw::geom::Point2I | getI () const |
| Return the coordinates of the highest pixel. More... | |
| lsst::afw::geom::Point2I | getCentroid (bool) const |
| Return the coordinates of the highest pixel. More... | |
| float | getFx () const |
| Return the column centroid. More... | |
| float | getFy () const |
| lsst::afw::geom::Point2D | getF () const |
| Return the peak's centroid. More... | |
| lsst::afw::geom::Point2D | getCentroid () const |
| Return the peak's centroid. More... | |
| void | setFx (float fx) |
| Set the column centroid. More... | |
| void | setFy (float fy) |
| Set the row centroid. More... | |
| void | setPeakValue (float peakValue) |
| Set the value of the image at the peak. More... | |
| float | getPeakValue () const |
| Return the value of the image at the peak. More... | |
| std::string | toString () |
Public Member Functions inherited from lsst.daf.base::Citizen | |
| Citizen (const std::type_info &) | |
| Citizen (Citizen const &) | |
| ~Citizen () | |
| Citizen & | operator= (Citizen const &) |
| std::string | repr () const |
| Return a string representation of a Citizen. More... | |
| void | markPersistent (void) |
| Mark a Citizen as persistent and not destroyed until process end. More... | |
| memId | getId () const |
| Return the Citizen's ID. More... | |
Private Member Functions | |
| template<typename Archive > | |
| void | serialize (Archive &ar, unsigned int const version) |
Private Attributes | |
| int | _id |
| unique ID for this peak More... | |
| int | _ix |
| column-position of peak pixel More... | |
| int | _iy |
| row-position of peak pixel More... | |
| float | _fx |
| column-position of peak More... | |
| float | _fy |
| row-position of peak More... | |
| float | _peakValue |
| value of image at peak position More... | |
Static Private Attributes | |
| static int | id = 0 |
| Counter for Peak IDs. More... | |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Static Public Member Functions inherited from lsst.daf.base::Citizen | |
| static bool | hasBeenCorrupted () |
| Check all allocated blocks for corruption. More... | |
| static memId | getNextMemId () |
| Return the memId of the next object to be allocated. More... | |
| static int | init () |
| Called once when the memory system is being initialised. More... | |
| static int | census (int, memId startingMemId=0) |
| How many active Citizens are there? More... | |
| static void | census (std::ostream &stream, memId startingMemId=0) |
| Print a list of all active Citizens to stream, sorted by ID. More... | |
| static const std::vector < const Citizen * > * | census () |
| Return a (newly allocated) std::vector of active Citizens sorted by ID. More... | |
| static memId | setNewCallbackId (memId id) |
| Call the NewCallback when block is allocated. More... | |
| static memId | setDeleteCallbackId (memId id) |
| Call the current DeleteCallback when block is deleted. More... | |
| static memNewCallback | setNewCallback (memNewCallback func) |
| Set the NewCallback function. More... | |
| static memCallback | setDeleteCallback (memCallback func) |
| Set the DeleteCallback function. More... | |
| static memCallback | setCorruptionCallback (memCallback func) |
| Set the CorruptionCallback function. More... | |
| typedef boost::shared_ptr<Peak> lsst.afw.detection::Peak::Ptr |
|
inlineexplicit |
A peak at the pixel (ix, iy)
| ix | column pixel |
| iy | row pixel |
| peakValue | value of image at peak |
Definition at line 55 of file Peak.h.
|
inlineexplicit |
A peak at the floating-point position (fx, fy)
| fx | column centre |
| fy | row centre |
| peakValue | value of image at peak |
Definition at line 62 of file Peak.h.
|
inline |
Definition at line 70 of file Peak.h.
|
inline |
|
inline |
|
inline |
Return the peak's centroid.
Definition at line 107 of file Peak.h.
|
inline |
|
inline |
|
inline |
Return the coordinates of the highest pixel.
Definition at line 101 of file Peak.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 76 of file Peak.h.
|
inline |
|
inlineprivate |
Definition at line 120 of file Peak.h.
|
inline |
|
inline |
|
inline |
| std::string lsst.afw.detection::Peak::toString | ( | void | ) |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
staticprivate |
1.8.5