mrcal is a generic toolkit to solve calibration and SFM-like problems originating at NASA/JPL

Related tags

Miscellaneous mrcal
Overview

SYNOPSIS

$ mrcal-calibrate-cameras --focal 2000
      --outdir /tmp --object-spacing 0.01
      --object-width-n 10 '/tmp/left*.png' '/tmp/right*.png'

... lots of output as the solve runs ...
Wrote /tmp/camera0-0.cameramodel
Wrote /tmp/camera0-1.cameramodel

And now we have a calibration!

SUMMARY

mrcal is a generic toolkit to solve calibration and SFM-like problems originating at NASA/JPL. Functionality related to these problems is exposed as a set of C and Python libraries and some commandline tools. Documentation is available at http://mrcal.secretsauce.net/

REPOSITORY

https://www.github.com/dkogan/mrcal/

AUTHOR

Dima Kogan ([email protected])

LICENSE AND COPYRIGHT

Copyright (c) 2017-2020 California Institute of Technology (“Caltech”). U.S. Government sponsorship acknowledged. All rights reserved.

Licensed under the Apache License, Version 2.0 (the “License”); You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

You might also like...
Solve various integral equations using numerical methods in Python

Solve Volterra and Fredholm integral equations This Python package estimates Volterra and Fredholm integral equations using known techniques. Installa

This repository requires you to solve a problem by writing some basic python code.

Can You Solve a Problem? A beginner friendly repository that requires you to solve familiar problems with python. This could be as simple as implement

The presented desktop application was made to solve 1d schrodinger eqation
The presented desktop application was made to solve 1d schrodinger eqation

schrodinger_equation_1d_solver The presented desktop application was made to solve 1d schrodinger eqation. It implements Numerov's algorithm (step by

Wordler - A program to support you to solve the wordle puzzles

solve wordle (https://www.powerlanguage.co.uk/wordle) A program to support you t

Eatlocal - This package helps users solve PyBites code challenges on their local machine

eatlocal This package helps the user solve Pybites code challenges locally. Inst

A slapdash script to solve Wordle or Absurdle automatically

A slapdash script to solve Wordle or Absurdle automatically

List of short Codeforces problems with a statement of 1000 characters or less. Python script and data files included.

Shortest problems on Codeforces List of Codeforces problems with a short problem statement of 1000 characters or less. Sorted for each rating level. B

200 LeetCode problems

LeetCode I classify 200 leetcode problems into some categories and upload my code to who concern WEEK 1 # Title Difficulty Array 15 3Sum Medium 1324 P

Solves Maths24 problems for you!

maths24-solver Solves Maths24 problems for you! Enjoy this open scource project! You can edit modify and share! My wishes is for you to use this proje

Comments
  • Have you tried using the star-shaped feature points detector ?

    Have you tried using the star-shaped feature points detector ?

    I really liked your work and your contribution to the calibration of cameras.

    I would like to ask about images with incomplete detection, in the documentation you referred to the works of "Thomas Sheps - Why having 10,000 parameters in your camera model is better than twelve", have you tried using their detector to determine corners ?

    image

    opened by VasilevIvanVladimirovich 6
  • Skipping acquire of configured file 'main/binary-i386/Packages'

    Skipping acquire of configured file 'main/binary-i386/Packages'

    when running apt-get update the terminal throws the message: N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://mrcal.secretsauce.net/packages/focal/public focal InRelease' doesn't support architecture 'i386' I have installed the library in an Ubuntu 20.04. version.

    opened by vejc94 1
  • Paste typo in license

    Paste typo in license

    Looks like there's an accidental paste typo in the license file: https://github.com/dkogan/mrcal/blob/95f6fdf077df45f619a700aec02d88bd48585918/LICENSE#L145

    opened by vietjtnguyen 1
  • I have a question about cv.undistPoints and cv.remap.

    I have a question about cv.undistPoints and cv.remap.

    Hi @dkogan I'm interested in doing an experiment with the camera model: LENSMODEL_SPLINED_STEREOGRAPHIC. I want to see how this model will show itself during the operation of my device.

    My application uses the undistPoints function, thanks to which I get the opportunity to create a map of a new undistorted position for each pixel. This allows me to quickly transform at arbitrary points without affecting the entire image.

    Using this code, I get an analog of the cv.initUndistortRectifeMap function, and then to get the undistortImage, the cv.remap function is used, which performs the inverse transformation + interpolation. m = mrcal.cameramodel('imgPath') model_pinhole = mrcal.pinhole_model_for_reprojection(m,fit="corners") mapxy = mral.image_transformation_map(m,model_pinhole )

    I need to get a transformation map for each pixel so that I can quickly know the new location of the undistorted pixel by index. Blue color - cv.UndistPoint() (opencvModel) Green - mrcal.image_transformation_map() (slined model)

    2022-12-15_11-58-55

    How can i do this ?

    opened by VasilevIvanVladimirovich 3
Wordle-solve - Attempting to solve wordle

Wordle Solver Run with python wordle_beater.py. This hardmode wordle solver take

Tom Lockwood 42 Oct 11, 2022
Code needed for hybrid land cover change analysis for NASA IDS project

Documentation for the NASA IDS change analysis Poley 10/21/2021 Required python packages: whitebox numpy rasterio rasterio.mask os glob math itertools

Andrew Poley 2 Nov 12, 2021
Iss-tracker - ISS tracking script in python using NASA's API

ISS Tracker Tracking International Space Station using NASA's API and plotting i

Partho 9 Nov 29, 2022
Cvdl-hw2 - Find Contour, Camera Calibration, Augmented Reality and Stereo Disparity Map

opevcvdl-hw2 This project uses openCV and Qt to achieve the requirements. Version Python 3.7 opencv-contrib-python 3.4.2.17 Matplotlib 3.1.1 pyqt5 5.1

Kenny Cheng 3 Aug 17, 2022
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.

Boltons boltons should be builtins. Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as — and yet conspicuously mis

Mahmoud Hashemi 6k Jan 6, 2023
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.

Boltons boltons should be builtins. Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as — and yet conspicuously mis

Mahmoud Hashemi 5.4k Feb 20, 2021
Pygments is a generic syntax highlighter written in Python

Welcome to Pygments This is the source of Pygments. It is a generic syntax highlighter written in Python that supports over 500 languages and text for

null 1.2k Jan 6, 2023
Generic NDJSON importer for hashlookup server

Generic NDJSON importer for hashlookup server Usage usage: hashlookup-json-importer.py [-h] [-v] [-s SOURCE] [-p PARENT] [--parent-meta PARENT_META [P

hashlookup 2 Jan 19, 2022
Combines power of torch, numerical methods to conquer and solve ALL {O,P}DEs

torch_DE_solver Combines power of torch, numerical methods and math overall to conquer and solve ALL {O,P}DEs There are three examples to provide a li

Natural Systems Simulation Lab 28 Dec 12, 2022
A C-like hardware description language (HDL) adding high level synthesis(HLS)-like automatic pipelining as a language construct/compiler feature.

██████╗ ██╗██████╗ ███████╗██╗ ██╗███╗ ██╗███████╗ ██████╗ ██╔══██╗██║██╔══██╗██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝ ██████╔╝██║██████╔╝█

Julian Kemmerer 391 Jan 1, 2023