#include <Blender.h>
Public Member Functions | |
virtual void | BlendAtoms (const std::set< cv::Ptr< ImageAtom > > &atoms, cv::Mat &outimage)=0 |
virtual void | blendIncremental (const ImageAtom &image_atom, cv::Mat &outimage) |
virtual void | BlendMolecule (const ImageMolecule &mol, cv::Mat &outimage)=0 |
void | set_image_path (const std::string &path) |
virtual | ~Blender () |
Static Public Member Functions | |
static void | fillWeightsGaussian32 (cv::Mat &weights, float sigma_squared=0.05) |
static void | fillWeightsGaussian64 (cv::Mat &weights, double sigma_squared=0.02) |
Protected Attributes | |
std::string | image_path |
virtual pano::Blender::~Blender | ( | ) | [inline, virtual] |
virtual void pano::Blender::BlendAtoms | ( | const std::set< cv::Ptr< ImageAtom > > & | atoms, |
cv::Mat & | outimage | ||
) | [pure virtual] |
Draw the blend. Use atoms that have meta data set for geometry already.
Implemented in pano::BlenderMultiband, pano::BlenderAlpha, pano::BlenderSimple, and pano::BlenderNoBlend.
virtual void pano::Blender::blendIncremental | ( | const ImageAtom & | image_atom, |
cv::Mat & | outimage | ||
) | [inline, virtual] |
Reimplemented in pano::BlenderMultiband, pano::BlenderAlpha, and pano::BlenderSimple.
virtual void pano::Blender::BlendMolecule | ( | const ImageMolecule & | mol, |
cv::Mat & | outimage | ||
) | [pure virtual] |
Draw the blend. Caller treats it as a black box.
Implemented in pano::BlenderMultiband, pano::BlenderAlpha, pano::BlenderSimple, and pano::BlenderNoBlend.
void pano::Blender::fillWeightsGaussian32 | ( | cv::Mat & | weights, |
float | sigma_squared = 0.05 |
||
) | [static] |
Definition at line 203 of file Blender.cpp.
void pano::Blender::fillWeightsGaussian64 | ( | cv::Mat & | weights, |
double | sigma_squared = 0.02 |
||
) | [static] |
Definition at line 224 of file Blender.cpp.
void pano::Blender::set_image_path | ( | const std::string & | path | ) | [inline] |
std::string pano::Blender::image_path [protected] |