Giter Site home page Giter Site logo

brada / caltag Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 23.0 459 KB

Camera CALibration Tags

Home Page: http://www.cs.ubc.ca/labs/imager/tr/2010/Atcheson_VMV2010_CALTag/

License: Other

MATLAB 76.51% Python 7.63% PostScript 10.66% HTML 1.55% Shell 3.65%

caltag's People

Contributors

brada avatar ubereclectic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

caltag's Issues

Fitting page size and position

Hi Brad,

It's good to know that you continue to maintain CalTag. I really like it.

I have a feature request in the generate_pattern script. I want to embed the CalTag pattern in a larger calibration rig. For this, I need the pattern to be aligned with the page boundary and include a proper page size.

I did this manually a few times, but it's be nice to have in automated.

What's needed is a << PageSize statement around the head of the file, such as:

<< /PageSize [1700.79 1700.79] >> setpagedevice

And also an additional shift of the pattern origin (around line 51 of the ps file) to be translation of -4 -4 instead of -2 -2.

Another user might still want the pattern end to be completely within the page, not on the boundary, so it's a judgment call whether to do this. But for me, again, it'd be nice.

Thanks.

Ofri Sadowsky

change paper size to A0

the default paper size is A4, wondering how to change it to A0, or even customized size.

I changed the width and height in the following code, but not working

def output(filename, markers, ids, nrows, ncols,
           blacklevel, whitelevel,
           scale, layout2,
           metric, minHamming, crcBits, idBits, width = 11.7, height = 16.5):

Bug when search radius = 0

In caltag.m, line 620, a search radius is computed to validate saddle points.
When, for some reason, the outcome is rad == 0, this leads to several subsequent faults.

  1. validate_point in line 637 always returns false because it processes no points.
  2. meshgrid in line 667 returns a single-point grid (0,0), and subsequently imadjust in line 681 crashes due to bad input.

As it seems, the caltag function was writted assuming rad > 0, and if this is not the case it doesn't work properly.

My fix was to add after line 620: rad = max(rad, 2);

Required Matlab Toolboxes

Unlike the README information, the CalTAG package requires at least the following Matlab toolboxes:

  • Image Processing
  • Optimization -- for lsqnonlin
  • Statistics and Machine Learning -- for means

It is important to list all the dependencies, especially for those of us who purchase toolboxes by the gramme.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.