avanindra / epvh Goto Github PK
View Code? Open in Web Editor NEWImplementation of Exact Polyhedral Visual Hull
License: Other
Implementation of Exact Polyhedral Visual Hull
License: Other
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.)
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?
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?
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!
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.
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!
Just a simple question: is this your re-implement or from the author of the paper? The author used to provide his code, but not any more.
And is the code functional now?
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!
As the title says, If this is based of off a specific paper could you link it?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.