ImageEn, unit ievision

TIEVisionMath.isValidHomography

TIEVisionMath.isValidHomography

Declaration

function isValidHomography(value: TIEVisionMatrix): bool32; safecall;

Description

Check that homography has not produced an erroneous result.
Parameter Description
value Homography to check

Returns True if homography seems valid.

Note: This method only returns a "likely" result. On occasion it may return false for matrices that are valid.


An example of valid homography:


For the processing of:

Example

// check homography validity
if not IEVisionLib().createMath().isValidHomography(hmat) then
  ShowMessage('No useful matching points found!');

See Also

findHomography
IEVisionMatrixToMatrix