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
FootprintSet.cc File Reference

Utilities to detect sets of Footprints. More...

#include <algorithm>
#include <cassert>
#include <set>
#include <string>
#include <typeinfo>
#include "boost/format.hpp"
#include "lsst/pex/exceptions.h"
#include "lsst/pex/logging/Trace.h"
#include "lsst/afw/image/MaskedImage.h"
#include "lsst/afw/math/Statistics.h"
#include "lsst/afw/detection/Peak.h"
#include "lsst/afw/detection/FootprintFunctor.h"
#include "lsst/afw/detection/FootprintSet.h"
#include "lsst/afw/detection/FootprintCtrl.h"
#include "lsst/afw/detection/HeavyFootprint.h"

Go to the source code of this file.

Detailed Description

Utilities to detect sets of Footprints.

Create and use an lsst::afw::detection::FootprintSet, a collection of pixels above (or below) a threshold in an Image

The "collections of pixels" are represented as lsst::afw::detection::Footprints, so an example application would be:

namespace image = lsst::afw::image; namespace detection = lsst::afw::detection;
*img.getImage() = 100;
cout << "Found " << sources.getFootprints()->size() << " sources" << std::endl;
*

Definition in file FootprintSet.cc.