Giter Club home page Giter Club logo

xiuminglib's People

Contributors

xiumingzhang 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

Watchers

 avatar  avatar

xiuminglib's Issues

adds util

e.g., util.img can include functions that standardize image shapes (HxW to HxWx1), etc.

Check writes section

Check if functions that should have a writes section have it.

Check if the format is consistent across functions.

Eliminate `vis.general`

... by renaming it to vis.plot and factoring out those that don't fit into the new name, such as vis.general._save.

Imports are not lazy enough

Consider moving any non-basic imports into the functions.

This is not inefficient because imports are cached, and more importantly, helps reduce import failures.

If an import is pretty much necessary for all functions in the module (like import bpy to blender.object), wrap the import inside try, so it won't fail at init time (deferring failure till the use time).

Intrinsic matrix misalignment

the image center should be at (h-1)*scale/2 and (w-1)*scale/2. It seems the intrinsics from here and here is off by one pixel.

Changing it to the correct offset gives correct depth reprojection.

Improve io/exr

Move depth/normal/etc. visualization to either vis or geometry, and switch to tfg.io.exr for easier OpenEXR installation (?).

Add a setter for proj_mat

See nerfactor/data_gen/dtu_mvs/surf_from_mvs.py on how I extracted K from P with cv2 but then later found [R|t] with K^{-1}P, instead of using those from the cv2 decomposition (which uses another weird convention).

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.