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
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.