MRGINGHAM(1)
π MRGINGHAM π
okay bestie, so this is the manual for mrgingham-observe-pixel-uncertainty, which lives in the mrgingham family (you know, the chessboard corner finder girlies). It's a real one. Let's get into it π
β¨ NAME β¨
mrgingham-observe-pixel-uncertainty β evaluate the observed point distribution from stationary observations π¦
no fr that's literally what it does. she looks at your points and tells you how wobbly they are.
πΈ SYNOPSIS πΈ
$ observe-pixel-uncertainty '*.png'
Evaluated 49 observations
mean 1-sigma for independent x,y: 0.26
$ mrcal-calibrate-cameras --observed-pixel-uncertainty 0.26 .....
[ mrcal computes a camera calibration ]
so like, step one: she eats your images and spits out a number. step two: you hand that number to mrcal and it does the calibration thing. iconic teamwork tbh π€
π DESCRIPTION π
so here's the tea. mrgingham has finite precision, which means if you take a picture of the same board over and over, the corner coordinates are gonna come out slightly different every time. not a bug, just her vibe. π«Ά
this tool takes in a set of images (assumed to be observing a chessboard, with the camera AND the board both staying still, like stationary stationary) and then outputs the 1-standard-deviation statistic for the distribution of detected corners. and then?? you pass that number into mrcal: mrcal-calibrate-cameras --observed-pixel-uncertainty ... β¨
the distribution of the detected corners is assumed to be gaussian, and INDEPENDENT in the horizontal and vertical directions. so if the x and y distributions are each s, then the LENGTH of the deviation of each pixel is a Rayleigh distribution with expected value s*sqrt(pi/2) ~ s*1.25. math ate, ngl π
π¨ ok important: THIS TOOL PERFORMS VERY LIGHT OUTLIER REJECTION; IT IS ASSUMED THAT THE SCENE IS STATIONARY. like, don't move. nobody move. π
β OPTIONS β
π POSITIONAL ARGUMENTS
inputβ two ways to feed her, bestie:- A glob that matches images observing a stationary calibration target. This must be a GLOB. So in the shell you pass in
'*.png'and NOT*.png(yes the quotes matter, don't come for me). these get processed bymrgingham, and the arguments passed in with--mrginghamcome along for the ride. - Or a vnlog representing corner detections from these images. this is assumed to be a file with a filename ending in
.vnl, formatted likemrginghamoutput: 3 columns:filename,x,y
- A glob that matches images observing a stationary calibration target. This must be a GLOB. So in the shell you pass in
π OPTIONAL ARGUMENTS
-h,--helpβ show this help message and exit. the classic. π--show {geometry,histograms}β visualize something! the arguments can be:"geometry": show the 1-stdev ellipses of the distribution for each chessboard corner separately π¦"histograms": show the distribution of all the x- and y-deviations off the mean π
--mrgingham MRGINGHAMβ if we're processing images, these are the arguments given tomrgingham. if we are reading a pre-computed file, this does nothing. she said no thoughts head empty π--num-corners NUM_CORNERSβ how many corners to expect in each image. if this is wrong I will throw an error, fr fr. defaults to100π--imagersize IMAGERSIZE IMAGERSIZEβ optional imager dimensions: width and height. this is optional (did I stutter π ). if given, we use it to size the"--show geometry"plot β¨
π§ REPOSITORY π§
<https://github.com/dkogan/mrgingham>
come thruuu, the source is right there πΈ
π AUTHOR π
Dima Kogan, "<dima@secretsauce.net>" β thank you for your service, king π
π LICENSE AND COPYRIGHT π
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
Copyright 2017-2018 California Institute of Technology
Copyright 2017-2018 Dima Kogan ("dima@secretsauce.net")
ok that's the whole page, you're all caught up bestie π this was mrgingham version 1.27, dated 2026-08-16, and yeah she's still serving <pink>MRGINGHAM(1)</pink> energy. now go calibrate something and slay β¨ππ¦
π¦ where this page comes from
- ubuntu stonking: mrgingham 1.27-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms