-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using qmeshcut to compute an isosurface from an arbitrary grid of points #70
Comments
@ftadel, try this instead
the main changes are: the also, qmeshcut does not merge nodes, so one has to call on the other side, I assume you could also call |
I want to add that if you want to remap your
although in this case, it does not matter because your |
Thanks for your prompt and useful reply! It works great, except that in the specific use case, we may have separate blobs (reference and recording site for SEEG recordings). We don't know a priori the number of separate objects in the isosurface, it depends on the threshold.
The Matlab functions |
@ftadel, instead of using the only downside is that when there are multiple "islands" in your volume, alternatively, you can compile a new cgalsurf binary using this #41 |
In input we may have an arbitrary grid of points with one value per point, not necessarily a volume. For example: the nodes from a tetrahedral mesh that is denser closer to the areas of interest, such as the contacts of the SEEG shafts or holes in the skull. Are there efficient tools in iso2mesh to do this, i.e. interpolating a grid of 10,000 to 1,000,000 points on a volume? |
@ftadel, sorry, I kept forgetting, you are creating isosurfaces from unstructured mesh data. interpolation can be quite inefficient depends on the domain. I think the |
Thank you for this nice new track. I tried executing something like this, in order to compute the isosurface + its volume:
However, I still can't run
And:
Another question I have is related to the version of Tetgen used by these two functions: it seems that we can't specify I'm sorry, this might not be the best channel to discuss the computation of the volume of this mesh... @tmedani Do you have enough information to pick it up from here? |
@ftadel, the test data works fine on my Linux and windows boxes, see screenshot, are you using a mac?
but if you want to change all other dependencies (like Update: I tested the above script on a Mac (imac, intel i5), it also worked. |
does your per surface node list to avoid using isolated nodes, you can do
before passing it to |
I reinstalled completely Iso2mesh and that solved my Tetgen issue. I think we have everything we needed to keep working for now. |
Hello,
We have an arbitrary grid of 3D points, one value per point, and would like to use qmeshcut to generate isosurfaces at different levels.
The output surface of qmeshcut can be plotted correctly (although I'm questioning the orientation of the faces).
But it is not considered as a closed mesh, and it can't be repaired with
meshcheckrepair
.Here is some example data:
example.zip
And an example script:
Am I doing something wrong here?
The text was updated successfully, but these errors were encountered: