Package boofcv.alg.structure
Interface EpipolarScore3D
- All Superinterfaces:
VerbosePrint
- All Known Implementing Classes:
ScoreFundamentalHomographyCompatibility
,ScoreFundamentalVsRotation
,ScoreRatioFundamentalHomography
Evaluates how 3D a pair of views are from their associated points
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getScore()
Returns a score for how much 3D information there is.boolean
is3D()
Decides if the two views have a 3D relationship.void
process
(CameraPinholeBrown cameraA, @Nullable CameraPinholeBrown cameraB, int featuresA, int featuresB, List<AssociatedPair> pairs, DMatrixRMaj fundamental, DogArray_I32 inliersIdx) Determines if there's a 3D relationship between the views and scores how strong it isMethods inherited from interface org.ddogleg.struct.VerbosePrint
setVerbose
-
Method Details
-
process
void process(CameraPinholeBrown cameraA, @Nullable @Nullable CameraPinholeBrown cameraB, int featuresA, int featuresB, List<AssociatedPair> pairs, DMatrixRMaj fundamental, DogArray_I32 inliersIdx) Determines if there's a 3D relationship between the views and scores how strong it is- Parameters:
cameraA
- (Input) Prior information on the camera intrinsics. View A.cameraB
- (Input) Prior information on the camera intrinsics. View B. If null then it's assumed the two cameras are the same.featuresA
- (Input) Number of features in imageAfeaturesB
- (Input) Number of features in imageBpairs
- (Input) Set of point feature pairs between the two imagesfundamental
- (Output) Fundamental matrix describing the geometric relationship between the two viewsinliersIdx
- (Output) Which features inside of pairs are in the inlier sets
-
getScore
double getScore()Returns a score for how much 3D information there is. 0 = no 3D information. 1 = very strong 3D information. score is 0 to 1.- Returns:
- score
-
is3D
boolean is3D()Decides if the two views have a 3D relationship.- Returns:
- true if 3D or false if not
-