8 #ifndef META_OCEAN_TRACKING_HOMOGRAPHY_IMAGE_ALIGNMENT_SPARSE_H
9 #define META_OCEAN_TRACKING_HOMOGRAPHY_IMAGE_ALIGNMENT_SPARSE_H
63 static bool determineHomographyWithPoints(
const Frame& previousFrame,
const CV::FramePyramid& previousFramePyramid,
const CV::FramePyramid& currentFramePyramid,
const CV::SubRegion& previousSubRegion,
const size_t numberFeaturePoints,
const unsigned int patchSize,
const unsigned int coarsestLayerRadius,
const bool determineFullHomography,
const unsigned int subPixelIterations,
SquareMatrix3& homography,
Worker* worker =
nullptr,
Vectors2* previousPoints =
nullptr,
Vectors2* currentPoints =
nullptr,
Indices32* validPointIndices =
nullptr,
const Scalar squarePixelErrorThreshold =
Scalar(3 * 3),
const bool zeroMean =
true);
This class implements a frame pyramid.
Definition: FramePyramid.h:37
This class implement a sub-region either defined by 2D triangles or defined by a binary mask.
Definition: SubRegion.h:32
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements image alignment functions internally using sparse image information like e....
Definition: HomographyImageAlignmentSparse.h:32
static bool determineHomographyWithPoints(const Frame &previousFrame, const CV::FramePyramid &previousFramePyramid, const CV::FramePyramid ¤tFramePyramid, const CV::SubRegion &previousSubRegion, const size_t numberFeaturePoints, const unsigned int patchSize, const unsigned int coarsestLayerRadius, const bool determineFullHomography, const unsigned int subPixelIterations, SquareMatrix3 &homography, Worker *worker=nullptr, Vectors2 *previousPoints=nullptr, Vectors2 *currentPoints=nullptr, Indices32 *validPointIndices=nullptr, const Scalar squarePixelErrorThreshold=Scalar(3 *3), const bool zeroMean=true)
Determines the global homography between two successive frames by applying a tracking of sparse featu...
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
std::vector< Index32 > Indices32
Definition of a vector holding 32 bit index values.
Definition: Base.h:96
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< Vector2 > Vectors2
Definition of a vector holding Vector2 objects.
Definition: Vector2.h:64
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15