From 29ae7e02e2c30921ae296cfd39407670710c3f2e Mon Sep 17 00:00:00 2001 From: Martin Miller Date: Tue, 15 Aug 2017 15:48:51 -0500 Subject: add monocular option to cli --- src/state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state.cpp') diff --git a/src/state.cpp b/src/state.cpp index 80cfc59..b7ac67a 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -1104,7 +1104,7 @@ State::featuresAsMeasurements ( vector &yk, const Camera &cam, z.id = (*i)->id(); z.source = (*i)->p2x(pbs); z.reflection = (*i)->p2x(pbr); - z.z_type = BOTH; + z.z_type = (domono) ? MONO : BOTH; z.patch = (*i)->warpedPatch(cam, q); z.refpatch = (*i)->reflectedPatch(cam, q); -- cgit v1.1