#include <algorithm>
#include "ldvImgInfo.h"
#include "ldvOverlap.h"

Functions | |
| unsigned int | computeCornerExtrema (const vector< ImgInfo > &vImgInfo, int &minX, int &maxX, int &minY, int &maxY) |
| compute the corner extrema of several images. | |
| void | computeMask (unsigned int width, unsigned int height, const CvMat *const H, IplImage *mask, int nTile) |
| Draw a rectangle in an image (if nTile<0, only a white rectangle, otherwise, just the contour of the rectangle). | |
| void | computeOverlap (const vector< ImgInfo > &vImgInfo, unsigned int imgInd, vector< OverlapInfo > &vOverlapInfo) |
| compute the corner positions of several images. | |
| unsigned int computeCornerExtrema | ( | const vector< ImgInfo > & | vImgInfo, | |
| int & | minX, | |||
| int & | maxX, | |||
| int & | minY, | |||
| int & | maxY | |||
| ) |
compute the corner extrema of several images.
| vImgInfo | vector containing all the information | |
| minX | minimal X coordinate of a corner | |
| maxX | maximal X coordinate of a corner | |
| minY | minimal Y coordinate of a corner | |
| maxY | maximal Y coordinate of a corner |
References OverlapInfo::i.
Referenced by computeGlobalHomography(), and computePanorama().

| void computeMask | ( | unsigned int | width, | |
| unsigned int | height, | |||
| const CvMat *const | H, | |||
| IplImage * | mask, | |||
| int | nTile | |||
| ) |
Draw a rectangle in an image (if nTile<0, only a white rectangle, otherwise, just the contour of the rectangle).
| width | width of the image to transform | |
| height | height of the image to transform | |
| H | homography to apply to the image | |
| mask | image where the rectangle will be drawn | |
| nTile | to be displayed in hte rectangle |
References OverlapInfo::i.
Referenced by computeOverlap(), and drawImgInfo().

| void computeOverlap | ( | const vector< ImgInfo > & | vImgInfo, | |
| unsigned int | imgInd, | |||
| vector< OverlapInfo > & | vOverlapInfo | |||
| ) |
compute the corner positions of several images.
Also return the extrema of these coordinates
| vImgInfo | vector containing all the information | |
| imgInd | id of the current image to analyze | |
| vOverlapInfo | vector containing info about the different overlaps |
References computeMask(), OverlapInfo::j, and OverlapInfo::OverlapInfo().
Referenced by compareAllSIFT(), and writeOverlapToFile().


1.5.6