Skip to content

Commit

Permalink
fixed parameter output to support additional models
Browse files Browse the repository at this point in the history
  • Loading branch information
rehderj committed Aug 23, 2016
1 parent 77a0d4f commit 905fd9b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ def __printResults(self):
print "LineDelay:"
print shutter.lineDelay()
print "Intrinsics:"
print "(",proj.fu(),", ",proj.fv(),") (",proj.cu(),", ",proj.cv(),")"
print proj.getParameters().flatten()
#print "(",proj.fu(),", ",proj.fv(),") (",proj.cu(),", ",proj.cv(),")" #in the future, not all projection models might support these parameters
print "Distortion:"
print "(",dist.p1(),", ",dist.p2(),") (",dist.k1(),", ",dist.k2(),")"
print dist.getParameters().flatten()
#print "(",dist.p1(),", ",dist.p2(),") (",dist.k1(),", ",dist.k2(),")" #not all distortion models implement these parameters

0 comments on commit 905fd9b

Please sign in to comment.