Giter Site home page Giter Site logo

marchingcube's Issues

网格简化

请问您代码中做的网格简化在哪里啊?

三维重建的参数是不是可以省略?

mcParam.cubeCountX = cx; //150 mcParam.cubeCountZ = cz; //150 mcParam.cubeWidth = w; //0.5f mcParam.cubeHeight = h; mcParam.cubeDepth = d;
这段代码是三维重构的参数,但是后面的计算过程中,好像仅仅cx,和cz有用,表示的含义应该是分割成150份,对吧? 计算的过程中
`float BigCubeWidth = mcInfo.cubeCountX * mcInfo.cubeWidth;

VECTOR3 basePosition (cubeIndexX* mcInfo.cubeWidth
,cubeIndexY * mcInfo.cubeHeight,
cubeIndexZ * mcInfo.cubeDepth);

VECTOR3 v[8] =
{
basePosition + VECTOR3(0,0,0) ,
};

int pixelCoordX = int((v[i].x / BigCubeWidth) * currentSlice.pixelWidth);`

参数 mcParam.cubeWidth 好像可以约?

三角面片为什么取的是边的中点?

为什么三角面片要取边的中点呀,有的时候三角面片是包含顶点的。mMeshOutput.push_back(pointOnEdge[triCase.index[i]] - VECTOR3(BigCubeWidth0.5f, BigCubeHeight0.5f, BigCubeDepth*0.5f));

请问从体素用marching cube生成模型难么?

老哥,我是搞3D重建的tsdf,现在一直是用ubuntu的C++程序生成体素.bin,文件扔到matlab里用isosurface函数,重建。现在想把matlab这一步整合到c++里,看到了marching cube这个东西,请问从体素信息重建写个ubuntu的C++的marching cube函数难不难?老哥有知道有没有类似的现成代码,或者有啥论文教程推荐?
感激不尽!

请问输入格式可以调成grid吗

你好,我不太了解CT数据的.dat格式,我想自己导入三维的grid data来重建。可以麻烦描述一下.dat文件的格式吗?

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.