#include <ldvImgInfo.h>

Public Member Functions | |
| ImgInfo (const string pathIn, int indIn) | |
| Constructor. | |
| void | release (AllFeatureGlobal &allFeatureGlobal) |
| Free the memory in ImgInfo. | |
| void | setImgInd (unsigned int indIn) |
| Set the index of the features to the one of the image it belongs to. | |
| void | computeCornerPosition (void) |
| compute the corner positions in order 02 13 | |
| void | setH (const CvMat *HIn) |
| Set H. | |
| void | setHToIdentity (void) |
| Set H to identity. | |
| void | setHInv (const CvMat *HInvIn) |
| Set HInv. | |
| const CvMat * | getH (void) const |
| Get H. | |
| const CvMat * | getHInv (void) const |
| Get HInv. | |
| CvPoint | getCenter (void) const |
| Get the center of the image transformed by H. | |
| CvPoint | getCenter (const CvMat *HIn) const |
| Get the center of the image transformed by H. | |
| bool | canOverlap (const ImgInfo &imgInfo) const |
| True if it can overlap imgInfo. | |
Public Attributes | |
| string | path |
| Path to the image. | |
| unsigned int | ind |
| index of the image | |
| unsigned int | widthOri |
| original width | |
| unsigned int | heightOri |
| original height | |
| unsigned int | width |
| width after resize | |
| unsigned int | height |
| height after resize | |
| bool | isDone |
| true if the images has been analyzed | |
| bool | isEdge |
| true if on the edge of the current panorama | |
| bool | isNew |
| true if the image is new (SIFT has not been performed) | |
| bool | isOrphan |
| true if it is linked to a COMPLETED image | |
| bool | isSmall |
| true if an image is not resized for analysis | |
| vector< double > | cornerX |
| list of X coord of the corners | |
| vector< double > | cornerY |
| list of Y coord of the corners | |
| double | cornerXMin |
| X min of the corners. | |
| double | cornerXMax |
| X max of the corners. | |
| double | cornerYMin |
| Y min of the corners. | |
| double | cornerYMax |
| Y max of the corners. | |
| feature2 * | afeature2 |
| array of SIFT features | |
| unsigned int | nfeature2 |
| Size of the above array. | |
| kd_node * | kdTree |
| tree containing all the features | |
| ImgInfo::ImgInfo | ( | const string | pathIn, | |
| int | indIn | |||
| ) | [explicit] |
Constructor.
| pathIn | Path to the image | |
| indIn | index of the image |
| void ImgInfo::setImgInd | ( | unsigned int | indIn | ) |
| void ImgInfo::setH | ( | const CvMat * | HIn | ) |
Set H.
| HIn | input H |
References computeCornerPosition().
Referenced by computeGlobalHomography().


| void ImgInfo::setHInv | ( | const CvMat * | HInvIn | ) |
Set HInv.
| HInvIn | input HInv |
References computeCornerPosition().

| bool ImgInfo::canOverlap | ( | const ImgInfo & | imgInfo | ) | const |
True if it can overlap imgInfo.
| imgInfo | ImgInfo to compare to |
References cornerXMax, cornerXMin, cornerYMax, and cornerYMin.
1.5.6