FindLines.cpp File Reference

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"

Include dependency graph for FindLines.cpp:

Go to the source code of this file.

Namespaces

namespace  HuginLines

Classes

struct  HuginLines::VerticalLine

Defines

#define MAX_RESIZE_DIM   1600

Typedefs

typedef std::vector< VerticalLine > HuginLines::VerticalLineVector

Functions

template<class ImageType>
double HuginLines::resize_image (ImageType &in, ImageType &out, int resize_dimension)
vigra::BImage * HuginLines::detectEdges (UInt8RGBImage input, double scale, double threshold, unsigned int resize_dimension, double &size_factor)
vigra::BImage * HuginLines::detectEdges (BImage input, double scale, double threshold, 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.
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
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
vigra::Point2D HuginLines::GetFootpoint (vigra::Point2D p, vigra::Point2D p1, 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, const unsigned int nrLines)
HuginBase::CPVector HuginLines::GetVerticalLines (const HuginBase::Panorama &pano, const unsigned int imgNr, vigra::UInt8RGBImage &image, const unsigned int nrLines)
 searches for vertical control points in given image
HuginBase::CPVector HuginLines::GetVerticalLines (const HuginBase::Panorama &pano, const unsigned int imgNr, vigra::BImage &image, const unsigned int nrLines)


Detailed Description

functions for finding lines

Definition in file FindLines.cpp.


Define Documentation

#define MAX_RESIZE_DIM   1600

Definition at line 165 of file FindLines.cpp.

Referenced by HuginLines::_getVerticalLines().


Generated on 25 Oct 2014 for Hugintrunk by  doxygen 1.4.7