Hugintrunk
0.1
|
functions for finding lines More...
#include "vigra/edgedetection.hxx"
#include "FindLines.h"
#include "FindN8Lines.h"
#include <algorithms/nona/FitPanorama.h>
#include <algorithms/basic/CalculateOptimalROI.h>
#include <nona/RemappedPanoImage.h>
#include <algorithms/optimizer/PTOptimizer.h>
#include "algorithms/basic/CalculateCPStatistics.h"
Go to the source code of this file.
Classes | |
class | HuginLines::VerticalLine |
class | HuginLines::InvertedMaskAccessor |
Namespaces | |
HuginLines | |
Macros | |
#define | MAX_RESIZE_DIM 1600 |
Typedefs | |
typedef std::vector< VerticalLine > | HuginLines::VerticalLineVector |
Functions | |
template<class SrcImageIterator , class SrcAccessor , class DestImage > | |
double | HuginLines::resize_image (const vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > src, DestImage &dest, int resize_dimension) |
vigra::BImage * | HuginLines::detectEdges (const vigra::UInt8RGBImage &input, const double scale, const double threshold, const unsigned int resize_dimension, double &size_factor) |
detect and mark edges in an edge image using Canny's algorithm More... | |
vigra::BImage * | HuginLines::detectEdges (const vigra::BImage &input, const double scale, const double threshold, const unsigned int resize_dimension, double &size_factor) |
double | HuginLines::calculate_focal_length_pixels (double focal_length, double cropFactor, double width, double height) |
Lines | HuginLines::findLines (vigra::BImage &edge, double length_threshold, double focal_length, double crop_factor) |
find straightish non-crossing lines find straightish non-crossing lines in an edge map using 8-neighborhood operations. More... | |
void | HuginLines::ScaleLines (HuginLines::Lines &lines, const double scale) |
scales the given lines with given factor use in conjugation with HuginLines::detectEdges to scale the lines to image space because edge image to scaled to smaller size for faster computation More... | |
HuginBase::CPVector | HuginLines::GetControlPoints (const SingleLine &line, const unsigned int imgNr, const unsigned int lineNr, const unsigned int numberOfCtrlPoints) |
returns a HuginBase::CPVector with cps_per_lines More... | |
vigra::Point2D | HuginLines::GetFootpoint (const vigra::Point2D &p, const vigra::Point2D &p1, const vigra::Point2D &p2, double &u) |
vigra::Point2D | HuginLines::GetFootpoint (const vigra::Point2D &p, const vigra::Point2D &p1, const vigra::Point2D &p2) |
VerticalLine | HuginLines::FitLine (SingleLine line) |
VerticalLineVector | HuginLines::FilterLines (Lines lines, double roll) |
bool | HuginLines::SortByError (const HuginBase::ControlPoint &cp1, const HuginBase::ControlPoint &cp2) |
template<class ImageType > | |
HuginBase::CPVector | HuginLines::_getVerticalLines (const HuginBase::Panorama &pano, const unsigned int imgNr, ImageType &image, vigra::BImage &mask, const unsigned int nrLines) |
HuginBase::CPVector | HuginLines::GetVerticalLines (const HuginBase::Panorama &pano, const unsigned int imgNr, vigra::UInt8RGBImage &image, vigra::BImage &mask, const unsigned int nrLines) |
searches for vertical control points in given image More... | |
HuginBase::CPVector | HuginLines::GetVerticalLines (const HuginBase::Panorama &pano, const unsigned int imgNr, vigra::BImage &image, vigra::BImage &mask, const unsigned int nrLines) |
functions for finding lines
Definition in file FindLines.cpp.
#define MAX_RESIZE_DIM 1600 |
Definition at line 156 of file FindLines.cpp.
Referenced by HuginLines::_getVerticalLines().