Hugin trunk 0.1
Loading...
Searching...
No Matches
CenterHorizontally.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
26#ifndef _CENTERHORIZONTALLY_H
27#define _CENTERHORIZONTALLY_H
28
29#include <hugin_shared.h>
31
32
33
34namespace HuginBase {
35
36
38{
39
40 public:
45
48 {};
49
50
51 public:
53 virtual bool modifiesPanoramaData() const
54 { return true; }
55
57 virtual bool runAlgorithm()
58 {
59 centerHorizontically(o_panorama);
60 return true; // let's hope so.
61 }
62
63
64 public:
66 static void centerHorizontically(PanoramaData& panorama);
67
68};
69
70
71} // namespace
72#endif
CenterHorizontally(PanoramaData &panorama)
virtual bool runAlgorithm()
implementation of the algorithm.
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
Model for a panorama.
#define IMPEX
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
Definition wxcms.cpp:39
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41