LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
home
lsstsw
stack
Linux64
ip_diffim
11.0+1
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::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::afw::detection::Footprint::Ptr
boost::shared_ptr< Footprint > Ptr
Definition:
Footprint.h:67
lsst::afw::image::MaskPixel
boost::uint16_t MaskPixel
Definition:
LsstImageTypes.h:33
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::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 Thu Sep 24 2015 02:29:19 for LSSTApplications by
1.8.5