GithubHelp home page GithubHelp logo

vnarayan13 / slicer-opencad Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 10.0 206 KB

OpenCAD Extension for 3DSlicer

Home Page: https://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/OpenCAD

License: MIT License

Python 98.08% CMake 1.92%

slicer-opencad's People

Contributors

jaasantinha avatar lassoan avatar leifolson avatar vnarayan13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

slicer-opencad's Issues

Remove dependency on deprecated Slicer core modules

We are planning to remove Slicer core modules that have been superseded by other modules.
https://discourse.slicer.org/t/removing-legacy-modules-in-slicer5/11371

We have noticed that this extension currently uses legacy charts infrastructure (Plots, and Tables modules).

If you want your extension to be available for the upcoming Slicer5 release, please remove dependency to deprecated modules. If you have any questions or need any help with the upgrade, you can write here or post to the Slicer forum. Thank you for your contribution.

Question about "Compactness 1"

Hi,
It is really nice to use the module you created! I just have a question about the "Compactness 1" in "Heterogeneity CAD". According to the help page, it is supposed to be the ratio of volume to the (surface area)^(1.5). But as i look into the code in HeterogeneityCAD/FeatureExtractionLib/MorphologyStatistics.py 000

def compactness1 (self, surfaceArea, volumeMM3):
return ( (volumeMM3) / ((surfaceArea)**(2/3.0) * math.sqrt(math.pi)) )

I wonder if it should be (surfaceArea)**(3/2.0) instead.
Thanks for your time!

Question about "Spherical disproportion"

Hi,
I just have another question about the "Spherical disproportion" in "Heterogeneity CAD". According to the help page, it is supposed to be ratio of "the surface area of the image ROI" to "the surface area of a sphere with the same volume as the image ROI". But as i look into the code in HeterogeneityCAD/FeatureExtractionLib/MorphologyStatistics.py

def sphericalDisproportion (self, surfaceArea, volumeMM3):
R = ( ( 0.75 * (volumeMM3) ) / (math.pi)**(1/3.0) )
return ( (surfaceArea)/(4*math.pi*(R**2)) )

The volume of a sphere with radius "R" is (4/3) * pi * R^3.
In getting the "R" above, I wonder if it should be ( ( 0.75 * (volumeMM3) / (math.pi) )**(1/3.0) ) instead.
Thanks for your time!

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.