Code Monkey home page Code Monkey logo

Comments (4)

ssilburn avatar ssilburn commented on August 18, 2024 1

Seems my instsance on indexing arrays [y,x] while thinking of image shapes in (x,y) has finally caught up with me ;). Thanks for reporting, I'll check it out.

from calcam.

ssilburn avatar ssilburn commented on August 18, 2024

Something weirder than I thought is going on here, I can't reproduce this with one of my calibrations. This:

print(calcam.version)
rd = calcam.RayData('test_scratch_raydata.nc')
print(rd.transform.get_display_shape())
print(rd.transform.get_original_shape())
test = rd.get_ray_end(coords='display')
print(test.shape)
test2 = rd.get_ray_end(coords='original')
print(test2.shape)

Produces:

2.4.1
(488, 512)
(512, 488)
(512, 488, 3)
(488, 512, 3)

and no exceptions. Could you please send the calibration or ray data file so I can try it with exactly the same data?

from calcam.

ssilburn avatar ssilburn commented on August 18, 2024

I actually came across a very similar error which I think is probably caused by the same bug this week - it's now fixed on the master branch.

from calcam.

TomFarley avatar TomFarley commented on August 18, 2024

Sorry I missed your message back in January. Glad you got to the bottom of it in the end.

from calcam.

Related Issues (20)

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.