23#ifndef _MESHREMAPPER_H
24#define _MESHREMAPPER_H
All variables of a source image.
A class for exchanging coordinates by value.
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.
double circle_crop_radius_y
HuginBase::SrcPanoImage::CropMode crop_mode
Crop mode of the source image.
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.
virtual bool GetNextFaceCoordinates(Coords *result)=0
Get the texture and vertex coordinates for the next face.
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.
double circle_crop_centre_y
double circle_crop_radius_x
virtual void UpdateAndResetIndex()
std::vector< MeshRemapper::ArrayCoords > face_list
List for results when clipping faces.
VisualizationState * visualization_state
double circle_crop_centre_x
void SetCrop()
Fill the crop values of the MeshRemapper from the source image.
HuginBase::Panorama * m_pano
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.