Background Finder

These classes define image background data structure and algorithms to compute the image background and noise maps. Defined in src/imgproc/BkgData.h and src/imgproc/BkgFinder.h

class Caesar::BkgFinder : public TObject

Public Functions

BkgFinder()

Class constructor: initialize structures.

virtual ~BkgFinder()

Class destructor: free allocated memory.

Public Static Functions

static ImgBkgData *FindBkg(Image *img, int estimator = eMedianBkg, bool computeLocalBkg = true, int boxSizeX = 100, int boxSizeY = 100, double gridStepSizeX = 10, double gridStepSizeY = 10, bool use2ndPass = true, bool skipOutliers = false, double seedThr = 5, double mergeThr = 2.6, int minPixels = 10, bool useRange = false, double minThr = -std::numeric_limits<double>::infinity(), double maxThr = std::numeric_limits<double>::infinity())

Find image background.

class Caesar::ImgBkgData : public TObject

Public Functions

ImgBkgData()

Standard constructor.

virtual ~ImgBkgData()

Destructor.

ImgBkgData(const ImgBkgData &data)

Copy constructor.

ImgBkgData &operator=(const ImgBkgData &data)

Assignment Operator.

void Copy(TObject &data) const

Copy method.

inline void ClearSamplings()

Clear sampling data.

inline void ClearBkgMap()

Clear bkg map.

inline void ClearNoiseMap()

Clear noise map.

inline void Clear()

Clear data.

void CopyBkgMap(Caesar::Image *aMap)

Copy bkg map.

void CopyNoiseMap(Caesar::Image *aMap)

Copy noise map.

inline bool HasLocalBkg()

Has local bkg.

class Caesar::BkgSampleData : public TObject

Public Functions

inline BkgSampleData()

Constructor.

inline virtual ~BkgSampleData()

Destructor.

inline void CopyBkgData(BkgSampleData aBkgSample)

Copy bkg data.

inline void Log(std::string level = "INFO")

Log info.

inline void Print()

Print info to stdout.

inline std::string GetPrintable()

Get printable string.