Qianqian Fang

Results 71 comments of Qianqian Fang

yes, I agree. I wonder if I can update this ticket to request a refined style to #255? in #255, I did not make it clear using the word "top-level"...

> @fangq your test contains a syntax error as far as I am aware (missing `end` for the main function defined in the file). I don't have access to a...

just to provide more info: if a function's `end` is omitted in a unit, all local function must also omit it. one can not mix functions with and without ending...

in a way, matlab's traditional indentation setting, which the `indent_function_file_body: false` was trying to mimic, was largely for formatting the end-omitting local functions as in the below form. ``` function...

@harmening, if your surface mesh is a single closed surface, you can just call `meshcheckrepair(no, fc, 'meshfix')` to fix the self-intersection. for a general purpose repairing tool, this is extremely...

also checkout our brain2mesh paper and code https://github.com/fangq/brain2mesh http://dx.doi.org/10.1117/1.NPh.7.1.015008 it is based on iso2mesh, and we specifically handle multi-layered meshes with close distances (CSF/gray-matter/white-matter surfaces) and used a combination of...

@harmening, I am not sure what you meant by "CGAL-remeshing". in our brain2mesh script, we did the intersecting surface handling mostly by using `surfboolean` with the `resolve` option https://github.com/fangq/brain2mesh/blob/cdb24f2839de45bba52cc5754f13b4dd3393fe67/brain2mesh.m#L308-L319 only...

try this sequence: 1. `meshresample` for each shell individually 2. call `meshcheckrepair('meshfix')` on each shell individually 3. run `surfboolean('resolve')` [progressively](https://github.com/fangq/brain2mesh/blob/16a703686a033fcae920729d6d691d93fb54b98c/brain2mesh.m#L308-L319) like we did in brain2mesh you can not by bass...

@harmening, the above discussion has deviated from the purpose of this ticket, so I agree that we should not use this thread to continue the discussion. For any additional questions...