LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
home
lsstsw
stack
Linux64
ip_diffim
11.0.rc2+12
include
lsst
ip
diffim
KernelCandidateDetection.h
Go to the documentation of this file.
1
// -*- lsst-c++ -*-
12
#ifndef LSST_IP_DIFFIM_KERNELCANDIDATEDETECTION_H
13
#define LSST_IP_DIFFIM_KERNELCANDIDATEDETECTION_H
14
15
#include "
lsst/afw/image/Image.h
"
16
#include "
lsst/afw/detection/Footprint.h
"
17
#include "
lsst/pex/policy/Policy.h
"
18
19
namespace
lsst {
20
namespace
ip {
21
namespace
diffim {
22
34
template
<
typename
PixelT>
35
class
KernelCandidateDetection
{
36
public
:
37
typedef
boost::shared_ptr<KernelCandidateDetection>
Ptr
;
38
typedef
boost::shared_ptr<lsst::afw::image::MaskedImage<PixelT> >
MaskedImagePtr
;
39
40
KernelCandidateDetection
(
lsst::pex::policy::Policy
const
& policy);
41
42
virtual
~KernelCandidateDetection
() {};
43
44
void
apply
(
MaskedImagePtr
const
& templateMaskedImage,
45
MaskedImagePtr
const
& scienceMaskedImage);
46
47
bool
growCandidate
(
lsst::afw::detection::Footprint::Ptr
fp,
48
int
fpGrowPix,
49
MaskedImagePtr
const
& templateMaskedImage,
50
MaskedImagePtr
const
& scienceMaskedImage);
51
52
std::vector<lsst::afw::detection::Footprint::Ptr>
getFootprints
() {
return
_footprints
;};
53
54
private
:
55
lsst::pex::policy::Policy
_policy
;
56
lsst::afw::image::MaskPixel
_badBitMask
;
57
std::vector<lsst::afw::detection::Footprint::Ptr>
_footprints
;
58
};
59
60
61
}}}
// end of namespace lsst::ip::diffim
62
63
#endif
lsst.afw.image::MaskPixel
boost::uint16_t MaskPixel
Definition:
LsstImageTypes.h:33
lsst::ip::diffim::KernelCandidateDetection::_footprints
std::vector< lsst::afw::detection::Footprint::Ptr > _footprints
Definition:
KernelCandidateDetection.h:57
Footprint.h
Represent a set of pixels of an arbitrary shape and size.
lsst::ip::diffim::KernelCandidateDetection::_policy
lsst::pex::policy::Policy _policy
Definition:
KernelCandidateDetection.h:52
lsst::pex.policy::Policy
a container for holding hierarchical configuration data in memory.
Definition:
Policy.h:169
lsst::ip::diffim::KernelCandidateDetection::apply
void apply(MaskedImagePtr const &templateMaskedImage, MaskedImagePtr const &scienceMaskedImage)
Runs Detection on a single image for significant peaks, and checks returned Footprints for Masked pix...
Definition:
KernelCandidateDetection.cc:78
lsst.afw.detection::Footprint::Ptr
boost::shared_ptr< Footprint > Ptr
Definition:
Footprint.h:67
lsst::ip::diffim::KernelCandidateDetection::KernelCandidateDetection
KernelCandidateDetection(lsst::pex::policy::Policy const &policy)
Definition:
KernelCandidateDetection.cc:34
lsst::ip::diffim::KernelCandidateDetection::_badBitMask
lsst::afw::image::MaskPixel _badBitMask
Definition:
KernelCandidateDetection.h:56
lsst::ip::diffim::KernelCandidateDetection::getFootprints
std::vector< lsst::afw::detection::Footprint::Ptr > getFootprints()
Definition:
KernelCandidateDetection.h:52
lsst::ip::diffim::KernelCandidateDetection
Search through images for Footprints with no masked pixels.
Definition:
KernelCandidateDetection.h:35
Image.h
Support for 2-D images.
lsst::ip::diffim::KernelCandidateDetection::growCandidate
bool growCandidate(lsst::afw::detection::Footprint::Ptr fp, int fpGrowPix, MaskedImagePtr const &templateMaskedImage, MaskedImagePtr const &scienceMaskedImage)
Definition:
KernelCandidateDetection.cc:148
lsst::ip::diffim::KernelCandidateDetection::~KernelCandidateDetection
virtual ~KernelCandidateDetection()
Definition:
KernelCandidateDetection.h:42
Policy.h
lsst::ip::diffim::KernelCandidateDetection::Ptr
boost::shared_ptr< KernelCandidateDetection > Ptr
Definition:
KernelCandidateDetection.h:37
lsst::ip::diffim::KernelCandidateDetection::MaskedImagePtr
boost::shared_ptr< lsst::afw::image::MaskedImage< PixelT > > MaskedImagePtr
Definition:
KernelCandidateDetection.h:38
Generated on Wed Sep 16 2015 13:35:29 for LSSTApplications by
1.8.5