use of boofcv.alg.geo.h.CommonHomographyInducedPlane in project BoofCV by lessthanoptimal.
the class TestMultiViewOps method homographyStereo2Lines.
@Test
public void homographyStereo2Lines() {
CommonHomographyInducedPlane common = new CommonHomographyInducedPlane();
PairLineNorm l1 = CommonHomographyInducedPlane.convert(common.p1, common.p2);
PairLineNorm l2 = CommonHomographyInducedPlane.convert(common.p1, common.p3);
DMatrixRMaj H = MultiViewOps.homographyStereo2Lines(common.F, l1, l2);
common.checkHomography(H);
}
use of boofcv.alg.geo.h.CommonHomographyInducedPlane in project BoofCV by lessthanoptimal.
the class TestMultiViewOps method homographyStereo3Pts.
@Test
public void homographyStereo3Pts() {
CommonHomographyInducedPlane common = new CommonHomographyInducedPlane();
DMatrixRMaj H = MultiViewOps.homographyStereo3Pts(common.F, common.p1, common.p2, common.p3);
common.checkHomography(H);
}
use of boofcv.alg.geo.h.CommonHomographyInducedPlane in project BoofCV by lessthanoptimal.
the class TestMultiViewOps method homographyStereoLinePt.
@Test
public void homographyStereoLinePt() {
CommonHomographyInducedPlane common = new CommonHomographyInducedPlane();
PairLineNorm l1 = CommonHomographyInducedPlane.convert(common.p1, common.p2);
DMatrixRMaj H = MultiViewOps.homographyStereoLinePt(common.F, l1, common.p3);
common.checkHomography(H);
}
Aggregations