hugin_base/algorithms/nona/ComputeImageROI.cpp File Reference
#include "ComputeImageROI.h"
#include <algorithm>
#include <vigra/impex.hxx>
#include <nona/RemappedPanoImage.h>
Include dependency graph for ComputeImageROI.cpp:
|
Namespaces |
| namespace | HuginBase |
Functions |
| template<class TRANSFORM> |
| void | estimateImageRect (const SrcPanoImage &src, const PanoramaOptions &dest, TRANSFORM &transf, vigra::Rect2D &imgRect) |
| | calculate the outline of the image
|
| template<class TRANSFORM> |
| void | estimateImageAlpha (const SrcPanoImage &src, const PanoramaOptions &dest, TRANSFORM &transf, vigra::Rect2D &imgRect, vigra::BImage &alpha, double &scale) |
| vigra::Rect2D | estimateOutputROI (const PanoramaData &pano, const PanoramaOptions &opts, unsigned i) |
Function Documentation
|
template<class TRANSFORM> |
| void HuginBase::estimateImageAlpha |
( |
const SrcPanoImage & |
src, |
|
|
const PanoramaOptions & |
dest, |
|
|
TRANSFORM & |
transf, |
|
|
vigra::Rect2D & |
imgRect, |
|
|
vigra::BImage & |
alpha, |
|
|
double & |
scale |
|
) |
|
|
|
template<class TRANSFORM> |
| void HuginBase::estimateImageRect |
( |
const SrcPanoImage & |
src, |
|
|
const PanoramaOptions & |
dest, |
|
|
TRANSFORM & |
transf, |
|
|
vigra::Rect2D & |
imgRect |
|
) |
|
|
|
|
calculate the outline of the image
- Parameters:
-
| src | description of source picture |
| dest | description of output picture (panorama) |
| imgRect | output: position of image in panorama. |
|
| IMPEX vigra::Rect2D HuginBase::estimateOutputROI |
( |
const PanoramaData & |
pano, |
|
|
const PanoramaOptions & |
opts, |
|
|
unsigned |
i |
|
) |
|
|