mouse-imaging-centre / minclaplace Goto Github PK
View Code? Open in Web Editor NEWLaplace's equation for measuring thickness (or other uses of streamlines) between two boundaries
Laplace's equation for measuring thickness (or other uses of streamlines) between two boundaries
Hi!
I want to use your great codes to deform one parameterized boundary surface (generated by SPHARM-PDM, its format is 'vtk') to its medial surface (already generated, and its format is also 'vtk') along the gradient of a laplacian field, and I am doing so to guarantee shape-inherent point correspondence on the medial surface across subjects, but I don't know how to deal with it.
Can you give me some advice about that? Thank you for your kind assistance!
Zeng
Documenting:
The root cause of the bug is that the if conditions in lines 61:78 in the cythonLaplaceStep
function are sometimes not satisfied, and since counter starts at 0.0, and never increments, line tmpvalue = tmpvalue / counter
results in a divide by zero error which crashes the program. For now I’ve wrapped the division in a check for if the counter is >0, but I need to check if perhaps there should be an else clause that would be more appropriate. The solution for the non-crashing left surface seem to be identical, so this looks okay.
Dear Dr Lerch, if you have an example usage file, could you please post it?
Thank you,
Sohrab
Hi, I am running MINC on a ubuntu (16.04) VM. Minc is installed (checked via mincinfo - returns Usage etc). Pyminc is also installed (locate pyminc gives location in '/lib/python2.7/dist-packages/pyminc'). Minclaplace is also installed correctly as command 'minclaplace' gives subsequent instruction for input. However, when I try to run 'minclaplace' with my template I get ' ***Error in 'usr/bin/python': double free or corruption (!prev)'. I think this may be a memory allocation problem, but I am unsure. I have also downloaded the VM from the cobralab github with MINC/PYMINC already installed. I have installed minclaplace on this also and get an error of 'malloc_consolidate(): invalid chunk size, aborted (core dumped)' when running the command with my template. Could you please advise on the amount of memory and storage required for these processes. If possible, is there any test images online, e.g. the template from the minclaplace/laplacegrid and representative csv file that I could download and use to compare with my images? (The attached file is the output from the ubuntu vm (not the pre-made MINC lubuntu setup from cobralab)). My template is consistent with the one outlined in the LaplaceGrid page (with central portion of the brain (non-cortex) being 0, the middle (or cortical column) having a voxel value of 5, the resistive portion = 20 and outside the brain being set to 10.
Thanks in advance! Kind regards,
Jolyon
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.