Code Monkey home page Code Monkey logo

epvh's People

Contributors

autosquid avatar avanindra avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

epvh's Issues

the implementation of Silhouette

Hi, I am checking the code, but I could not find the implementation of the Silhouette class. Would you kindly push it, so I can do some fix to the existing code. (to remove compilation errors.)

how about a naive half space intersection implementation.

This is a more or less general question, which baffled me a lot.

Why there is no naive implementation with half space intersection?

One flaw I can see (but now sure) is that half space has difficulties with silhouettes with holes. Do you known any other reasons?

received this error when trying to use my own contours

epvhdemo.exe!tr::BaseVH::buildPrimitives(int camId, std::vector<Eigen::Matrix<double,2,1,0,2,1>,std::allocator<Eigen::Matrix<double,2,1,0,2,1> > > & contour) Line 366

it happens after being able to scan my cameras but when doing compute() inline 2141 of epvhdemo.exe, it runs into that error.

my contour file is attached. Thanks!

alien-contour.txt

Demo outputs mesh with holes

Hi,

I compiled the code using VTK-7.1.1, opencv-3.4.4 and eigen3. When I execute the demo I get a bunch of "found invalid vertex connection" and then multiple "connection error". This results in the mesh of the VH being full of holes.

Is there a fix I can try to avoid this behaviour?

Thanks

The demo outputs no polyhedra

After a few minor fixes, the demo works on my mac.
I checked the polyhedra calculated with the provided dataset, but it seems the polyhedra is empty, i.e. with 0 vertices.

The following is the output from demo:

 reading completed 48
24 23
 number of silhouette cams : 23
 primitives built
 generator normals computed
 clippers built
 camera : 0
 camera : 1
 camera : 2
 camera : 3
 camera : 4
 camera : 5
 camera : 6
 camera : 7
 camera : 8
 camera : 9
 camera : 10
 camera : 11
 camera : 12
 camera : 13
 camera : 14
 camera : 15
 camera : 16
 camera : 17
 camera : 18
 camera : 19
 camera : 20
 camera : 21
 camera : 22
 viewing edges initialized
 viewing edges associated with generators
 vertices initialized , statrting polygon computation
 visual hull computed

When I check the polygons with GetNumberOfVerts, the result is 0.

And the vtk window does not appear in my case, which I think is related to my vtk library configuration.

How to generate the data in alien-contour.txt

Hi @avanindra,

I'v already gone through the demo code and now I want to implement this demo on my own image.
Here's my problem:
I really don't know how to generate the data like data in the alien-contour.txt. Is there any methods or functions to generate them in this git?
I'll really appreciate it if I got your reply!

Thank you very much!

Vector and Point data structure

Hi, it is me again.

It looks like you are trying to replace cv::Point(2f) with Eigen::Vector2d . Am I right?

So the Eigen::Vector will be the final representation for all vectors and points?

understanding the dataset text files

I'd like to create my own dataset and pass through another set of images to see how this code works. however, I am unsure of how to make a camera.txt and contour.txt file.

any pointers? thanks so much!

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.