40#include <vigra/windows.h>
55 helper->
SetStatusMessage(
_(
"Drag a rectangle and select the desired action for the control points in the selected rectangle. Alt + drag to create a line control point."));
162 if (!
roi.isEmpty() &&
roi.width() > 10 &&
roi.height() > 10)
169 menu.Append(
ID_REMOVE_CP, wxString::Format(
_(
"Remove %lu control points"),
static_cast<unsigned long int>(
m_CPinROI.size())));
171 if (!
menu.GetMenuItems().IsEmpty())
204 if (!activeImages.empty())
207 typedef std::map<size_t, HuginBase::PTools::Transform*>
TransformMap;
209 for (HuginBase::UIntSet::iterator
it = activeImages.begin();
it != activeImages.end(); ++
it)
216 for (HuginBase::CPVector::const_iterator
cpIt = cps.begin();
cpIt != cps.end(); ++
cpIt)
291 cp.image2Nr =
cp.image1Nr;
represents a control point
@ X
evaluate x, points are on a vertical line
@ Y
evaluate y, points are on a horizontal line
vigra::Size2D getSize() const
get size of output image
const SrcPanoImage & getImage(std::size_t nr) const
get a panorama image, counting starts with 0
const PanoramaOptions & getOptions() const
returns the options for this panorama
const CPVector & getCtrlPoints() const
get all control point of this Panorama
UIntSet getActiveImages() const
get active images
void addCommand(PanoCommand *command, bool execute=true)
Adds a command to the history.
static GlobalCmdHist & getInstance()
void ForceRequireRedraw()
std::vector< ControlPoint > CPVector
std::set< unsigned int > UIntSet
include file for the hugin project
include file for the hugin project
bool set_contains(const _Container &c, const typename _Container::key_type &key)
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.
wxwindows specific panorama commands