Closed zhaolun7 closed 1 year ago
well, is there any other tools to convert .swc or could STEPS read .swc file directly ?
Dear @zhaolun7 ,
This usually means the default mesh resolution is not sufficient for the reconstruction. You can adjust the parameters of the mesher to suit the data.
To check available parameters, use
./SWCTetMesher -h
The most important ones are
You can find their definition in https://doc.cgal.org/latest/Mesh_3/index.html#Mesh_3TheMeshingCriteria
For your mesh, I found using --fc-size 0.05 --fc-distance 0.01 --cc-size 0.2
yields an ok-ish mesh, but if you want a more smooth surface you will need an even finer resolution.
@WeiliangChenOIST Thanks for reply. It did solve my problem.
I think this repo should be a common tool to convert from .swc file to .mesh file, not only for purkinje cells. I tried some other files , for example, https://neuromorpho.org/neuron_info.jsp?neuron_name=sc147_e2216_1 I don't find any error output, so I could think it runs normally. but I think the size of output file is not like that of purkinje, which looks like bigger than origin .swc file: and I tried to use Gmsh to import the output file,
sc147_e2216_10.CNG.mesh
, it looks like: I am not sure if the data meets the requirements of this repo.