# HG changeset patch # User Nicolas Saunier # Date 1727268165 14400 # Node ID 41219193baa0d4fce8cfc325d89b7af142919cb2 # Parent 46a30ce1a2e4c99f22c891d7780e6934a2b88402 aligning undistort argument in all scripts diff -r 46a30ce1a2e4 -r 41219193baa0 scripts/display-synced-trajectories.py --- a/scripts/display-synced-trajectories.py Thu Aug 15 17:04:16 2024 -0400 +++ b/scripts/display-synced-trajectories.py Wed Sep 25 08:42:45 2024 -0400 @@ -17,7 +17,7 @@ parser.add_argument('-t', dest = 'trajectoryType', help = 'type of trajectories to display', choices = ['feature', 'object'], default = 'object') parser.add_argument('-r', dest = 'rescale', help = 'rescaling factor for the displayed image', default = 1., type = float) parser.add_argument('-s', dest = 'step', help = 'display every s image', default = 1, type = int) -parser.add_argument('-u', dest = 'undistort', help = 'undistort the video (because features have been extracted that way)', action = 'store_true') +parser.add_argument('--undistort', dest = 'undistort', help = 'undistort the video (because features have been extracted that way)', action = 'store_true') args = parser.parse_args() diff -r 46a30ce1a2e4 -r 41219193baa0 scripts/display-trajectories.py --- a/scripts/display-trajectories.py Thu Aug 15 17:04:16 2024 -0400 +++ b/scripts/display-trajectories.py Wed Sep 25 08:42:45 2024 -0400 @@ -17,7 +17,7 @@ parser.add_argument('--intrinsic', dest = 'intrinsicCameraMatrixFilename', help = 'name of the intrinsic camera file') parser.add_argument('--distortion-coefficients', dest = 'distortionCoefficients', help = 'distortion coefficients', nargs = '*', type = float) parser.add_argument('--undistorted-multiplication', dest = 'undistortedImageMultiplication', help = 'undistorted image multiplication', type = float) -parser.add_argument('-u', dest = 'undistort', help = 'undistort the video (because features have been extracted that way)', action = 'store_true') +parser.add_argument('--undistort', dest = 'undistort', help = 'undistort the video (because features have been extracted that way)', action = 'store_true') parser.add_argument('-f', dest = 'firstFrameNum', help = 'number of first frame number to display', type = int) parser.add_argument('-l', dest = 'lastFrameNum', help = 'number of last frame number to save (for image saving, no display is made)', type = int) parser.add_argument('-r', dest = 'rescale', help = 'rescaling factor for the displayed image', default = 1., type = float)