Git Product home page Git Product logo

itkcleaver's Introduction

ITKCleaver

Build Status Wasm Build Status PyPI Version NPM Version License

Overview

An ITK module to wrap Cleaver functionality for MultiMaterial Tetrahedral Meshing.

Cleaver is a free multimaterial tetrahedral meshing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.

Acknowledgments

This software was developed in part by the Center for Integrative Biomedical Computing (CIBC) and the Scientific Computing and Imaging (SCI) Institute and Kitware. Support came from the National Institute of General Medical Sciences of the National Institutes of Health under grant numbers P41 GM103545 and R24 GM136986.

itkcleaver's People

Contributors

dependabot[bot] avatar jcfr avatar jessdtate avatar tbirdso avatar thewtex avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jcfr thewtex tbirdso

itkcleaver's Issues

PyCapsule_Import "_ITKCommonPython._C_API" is not valid

Successfully installed itk-5.3rc4.post2 itk-cleaver-1.2.0 itk-core-5.3rc4.post2 itk-io-5.3rc4.post2 itk-numerics-5.3rc4.post2 itk-segmentation-5.3rc4.post2

pip: pip in c:\users\aq84510\appdata\local\programs\python\python310\lib\site-packages (22.2.2)

python: 3.9.7

import itk
image = itk.imread(r'C:\Users\AQ84510\Downloads\spheres1.nrrd')


tet_mesh, triangle_mesh = itk.cleaver_image_to_mesh_filter(image)

itk.meshwrite(triangle_mesh, r'C:\Users\AQ84510\Downloads\triangle_mesh.vtk')

Error:

Traceback (most recent call last):

File "C:\Users\AQ84510.spyder-py3\temp.py", line 5, in
tet_mesh, triangle_mesh = itk.cleaver_image_to_mesh_filter(image)

File "C:\Users\AQ84510\Anaconda3\lib\site-packages\itk\support\lazy.py", line 138, in getattribute
base.itk_load_swig_module(module, namespace)

File "C:\Users\AQ84510\Anaconda3\lib\site-packages\itk\support\base.py", line 132, in itk_load_swig_module
l_module = loader.load(swig_module_name)

File "C:\Users\AQ84510\Anaconda3\lib\site-packages\itk\support\base.py", line 291, in load
l_spec.loader.exec_module(l_module) # pytype: disable=attribute-error

File "", line 850, in exec_module

File "", line 228, in _call_with_frames_removed

File "C:\Users\AQ84510\Anaconda3\lib\site-packages\itk\support..\CleaverPython.py", line 13, in
from . import _CleaverPython

AttributeError: PyCapsule_Import "_ITKCommonPython._C_API" is not valid

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.