Giter VIP home page Giter VIP logo

generateobj's Introduction

GenerateObj

A 3D Slicer Module that 1. uses ROBEX brain extraction to generate mesh.obj; 2. tumor label mask to mesh.obj

A custom 3D Slicer module/extension for generating .obj file to be used in Unity 3D

alt text

  1. To install a custom module/extension, you have to copy your script to your 3dslicer module folder.
  2. To find where 3dslicer module folder is, start 3dslicer, click edit/settings/modules, under “Additional module paths”, you will see the module folders.
  3. Copy script to module folder.
  4. Restart 3dslicer, your new module script will be loaded.
  5. It is a good idea to open the python interactor to monitor command line print statements. Go to View/Python Interactor In our case, our new module script is GenerateObj.py, to go Modules drop down: /Surface Models/ Generate Obj Model
  6. To generate .obj files from tumor segmentations, you need to input 3 text fields: 1. the folder path, searches for .nii files will be done under this folder recursively. 2. the tumor segmentation .nii file names. 3. output file names.

For windows users, you have to change the file path delimiter from “\” to “/”

alt text

Click on Generate segmentation.obj
The segmentation will be saved at the save folder as the nifti file.

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.