#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 > | VerticalLineVector |
Functions | |
| template<class ImageType> | |
| double | resize_image (ImageType &in, ImageType &out, int resize_dimension) |
| vigra::BImage * | detectEdges (UInt8RGBImage input, double scale, double threshold, unsigned int resize_dimension, double &size_factor) |
| detect and mark edges in an edge image using Canny's algorithm | |
| vigra::BImage * | detectEdges (BImage input, double scale, double threshold, unsigned int resize_dimension, double &size_factor) |
| double | calculate_focal_length_pixels (double focal_length, double cropFactor, double width, double height) |
| Lines | 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. (Points on the edges of the image cannot be line points). | |
| void | ScaleLines (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 | 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 | GetFootpoint (vigra::Point2D p, vigra::Point2D p1, vigra::Point2D p2) |
| VerticalLine | FitLine (SingleLine line) |
| VerticalLineVector | FilterLines (Lines lines, double roll) |
| bool | SortByError (const HuginBase::ControlPoint &cp1, const HuginBase::ControlPoint &cp2) |
| template<class ImageType> | |
| HuginBase::CPVector | _getVerticalLines (const HuginBase::Panorama &pano, const unsigned int imgNr, ImageType &image, const unsigned int nrLines) |
| HuginBase::CPVector | 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 | GetVerticalLines (const HuginBase::Panorama &pano, const unsigned int imgNr, vigra::BImage &image, const unsigned int nrLines) |
Definition in file FindLines.cpp.
|
|
Definition at line 165 of file FindLines.cpp. Referenced by HuginLines::_getVerticalLines(). |
|
|
Definition at line 173 of file FindLines.cpp. Referenced by HuginLines::_getVerticalLines(), and HuginLines::FilterLines(). |
|
||||||||||||||||||||||||
|
||||||||||||||||||||
|
Definition at line 109 of file FindLines.cpp. Referenced by HuginLines::findLines(). |
|
||||||||||||||||||||||||
|
Definition at line 96 of file FindLines.cpp. References vigra::cannyEdgeImage(), vigra_ext::destImage(), HuginLines::resize_image(), vigra_ext::srcImageRange(), and threshold(). Referenced by HuginLines::_getVerticalLines(). |
|
||||||||||||||||||||||||
|
detect and mark edges in an edge image using Canny's algorithm
Definition at line 79 of file FindLines.cpp. References vigra::cannyEdgeImage(), vigra_ext::destImage(), HuginLines::resize_image(), vigra_ext::srcImageRange(), and threshold(). |
|
||||||||||||
|
Definition at line 225 of file FindLines.cpp. References DEG_TO_RAD, HuginLines::VerticalLine::end, HuginLines::FitLine(), HuginLines::VerticalLine::start, HuginLines::valid_line, and HuginLines::VerticalLineVector. Referenced by HuginLines::_getVerticalLines(). |
|
||||||||||||||||||||
|
find straightish non-crossing lines find straightish non-crossing lines in an edge map using 8-neighborhood operations. (Points on the edges of the image cannot be line points).
Definition at line 124 of file FindLines.cpp. References HuginLines::calculate_focal_length_pixels(), HuginLines::edgeMap2linePts(), HuginLines::linePts2lineList(), and HuginLines::Lines. Referenced by HuginLines::_getVerticalLines(). |
|
|
Definition at line 185 of file FindLines.cpp. References HuginLines::VerticalLine::end, HuginLines::GetFootpoint(), HuginLines::SingleLine::line, and HuginLines::VerticalLine::start. Referenced by HuginLines::FilterLines(). |
|
||||||||||||||||||||
|
returns a HuginBase::CPVector with cps_per_lines
Definition at line 150 of file FindLines.cpp. References HuginLines::SingleLine::line. Referenced by LensCalFrame::GetPanorama(). |
|
||||||||||||||||
|
Definition at line 176 of file FindLines.cpp. References hugin_utils::FDiff2D, and hugin_utils::sqr(). Referenced by HuginLines::FitLine(). |
|
||||||||||||||||||||
|
Definition at line 466 of file FindLines.cpp. References HuginLines::_getVerticalLines(). |
|
||||||||||||||||||||
|
searches for vertical control points in given image
Definition at line 461 of file FindLines.cpp. References HuginLines::_getVerticalLines(). Referenced by LoadGrayImageAndFindLines(), and LoadImageAndFindLines(). |
|
||||||||||||||||||||
|
Definition at line 43 of file FindLines.cpp. References vigra_ext::destImage(), vigra_ext::destImageRange(), out, and vigra_ext::srcImageRange(). Referenced by HuginLines::detectEdges(). |
|
||||||||||||
|
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
Definition at line 139 of file FindLines.cpp. Referenced by ImageLineList::ScaleLines(). |
|
||||||||||||
|
Definition at line 250 of file FindLines.cpp. References HuginBase::ControlPoint::error. |
1.3.9.1