23#ifndef __OVERVIEW_OUTLINES_TOOL_H__
24#define __OVERVIEW_OUTLINES_TOOL_H__
58 Rect(
double left,
double top,
double right,
double bottom) {
59 val[0][0] = left;
val[0][1] = top;
60 val[1][0] = left;
val[1][1] = bottom;
61 val[2][0] = right;
val[2][1] = bottom;
62 val[3][0] = right;
val[3][1] = top;
70 for (
int s = 0 ;
s < 4 ;
s++) {
82 x = (
val[0][0] +
val[1][0] +
val[2][0] +
val[3][0]) / 4.0;
83 y = (
val[0][1] +
val[1][1] +
val[2][1] +
val[3][1]) / 4.0;
A wxWidget to display the fast preview.
this handler class will receive change events from the Panorama.
std::set< unsigned int > UIntSet
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.