GithubHelp home page GithubHelp logo

Comments (1)

BishopWolf avatar BishopWolf commented on September 14, 2024

To explain my point an example is the best.

Let's take the following materials with the following ranges

air: density 1e-3 g/cm3; HU range -1000, -800
lung: 8e-1 g/cm3; -800, -300
muscle: 1.04 g/cm3; -300, -40
soft_tissue: 1.04 g/cm3; -40, 200
bone: 1.92 g/cm3; 200, 3091

Right now the code splits these materials into

-1000 -800 Air_0
-800 -383 Lung_1
-383 -300 Lung_2
-300 -40 Muscle_3
-40 -12 Tissue_Soft_4
-12 15 Tissue_Soft_5
15 43 Tissue_Soft_6
43 71 Tissue_Soft_7
71 99 Tissue_Soft_8
99 127 Tissue_Soft_9
127 155 Tissue_Soft_10
155 183 Tissue_Soft_11
183 200 Tissue_Soft_12
200 472 Bone_13
472 745 Bone_14
745 1018 Bone_15
1018 1290 Bone_16
1290 1563 Bone_17
1563 1836 Bone_18
1836 2109 Bone_19
2109 2381 Bone_20
2381 2654 Bone_21
2654 2927 Bone_22
2927 3091 Bone_23
3091 3092 Bone_24

This is ok, but let's take a look to densities

Air_0: d=1.205 mg/cm3; n=4;
Lung_1: d=970 mg/cm3; n=13;
Lung_2: d=1.03 g/cm3 ; n=13;
Muscle_3: d=1.05 g/cm3 ; n=9;
Tissue_Soft_4: d=1.11 g/cm3 ; n=9;
Tissue_Soft_5: d=1.21 g/cm3 ; n=9;
Tissue_Soft_6: d=1.31 g/cm3 ; n=9;
.....
Tissue_Soft_11: d=1.81 g/cm3 ; n=9;
Tissue_Soft_12: d=1.89 g/cm3 ; n=9;
Bone_13: d=1.97 g/cm3 ; n=8;
Bone_14: d=2.07 g/cm3 ; n=8;
...
Bone_23: d=2.95 g/cm3 ; n=8;
Bone_24: d=2.98 g/cm3 ; n=8;

Please compare these values to the reference densities for these materials stated before and you will see my point

example Soft_Tissue: reference density 1.06 (accordingly to a reference I have) and Gate splits this material in the range 1.11 to 1.89 g/cm3, so this behaviour overestimate the density.

from gate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.