Cleaver icon indicating copy to clipboard operation
Cleaver copied to clipboard

Adaptive background mesh failed

Open BinWang0213 opened this issue 5 years ago • 1 comments

Description

Adaptive background mesh mode lead to very coarse background mesh for a simple two material volume. Figures shown below:

Download and test data here! datas.zip

Steps to Reproduce

cleaver-cli.exe -i ImgInput_cleaver.nrrd --output_format vtkUSG --segmentation -F 1.0 -R 1.0 -m adaptive -w -L 0.2 -j

Expected behavior: Following results is using -m constant, it looks nice. But can we further reduce the total number of tets by using adaptive background?

Actual behavior:

Versions

Cleaver 2.4 Jan 3 2020 Windows10

Questions

It is still confusion to figure out how alpha value, blend_sigma, feature_scaling, sampling_rate affect our results.

  • Is there any more tutorials to show how optional paramters affect final results?
  • Is there any value range for these paramters?

BinWang0213 avatar Jan 03 '20 23:01 BinWang0213

I'm a little confused. Do you want the mesh to be more like the first or the second image? Since this example is a sphere, it is automatically reducing the resolution in the second image. For adaptive meshes, you can usually adjust the resolution by only changing the sampling_rate parameter. The default is 1, lower will make the mesh coarser, higher will make it finer. Since the mesh may be automatically coarsening, you may want to also decrease the feature_scaling (something lower than 1). This parameter controls sizing field, or how cleaver interprets the importance of geometric features.

Both of these parameters must be positive.

jessdtate avatar Jan 06 '20 20:01 jessdtate