83 for (
unsigned short int x = 0; x < 2; x++)
85 for (
unsigned short int y = 0; y < 2; y++)
104 for (
unsigned short int x = 0; x < 2; x++)
106 for (
unsigned short int y = 0; y < 2; y++)
const double mesh_frequency
All variables of a source image.
bool isInside(vigra::Point2D p, bool ignoreMasks=false) const
check if a coordinate is inside the source image
A class for exchanging pointers to coordinates.
double(* vertex_c)[2][2]
The coordinate in the panorama, in its pixel space.
double(* tex_c)[2][2]
The coordinate in the source image ranging from 0 to 1.
An abstract base class for objects that calculate an approximate remap specified by quadrilatrials.
HuginBase::SrcPanoImage * image
void ClipFace(Coords *face)
Crop a face to the source image, return true if there is anything left.
HuginBase::PTools::Transform transform
A transform to use to remap the images.
bool GiveClipFaceResult(Coords *result)
Get a face that was produced by ClipFace.
double height
The sizes of the input images in pixels.
float scale
The number number of units between vertex coorinates that gives a pixel in the display.
VisualizationState * visualization_state
void SetCrop()
Fill the crop values of the MeshRemapper from the source image.
TexCoordRemapper(HuginBase::Panorama *m_pano, HuginBase::SrcPanoImage *image, VisualizationState *visualization_state)
std::vector< std::vector< hugin_utils::FDiff2D > > map
double texture_coords[2][2][2]
virtual void UpdateAndResetIndex()
unsigned int number_of_faces
virtual bool GetNextFaceCoordinates(Coords *result)
Get the texture and vertex coordinates for the next face.
double vertex_coords[2][2][2]
vigra::Rect2D GetVisibleArea()
virtual HuginBase::PanoramaOptions * GetOptions()
include file for the hugin project
include file for the hugin project
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.