Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

kunesj/io3d

 
 

Repository files navigation

Build Status Coverage Status Documentation Status

io3d

This package contains set of functions used for reading and writing 3D data.

Install

Use anaconda

conda install -c mjirik io3d

or

pip install io3d

You can use 3D viewer sed3 for visualization.

pip install sed3

Examples

Example 1

python io3d/datareader.py -i ./sample_data/jatra_5mm/

Example 2

import io3d
import sed3
dr = io3d.DataReader()
datap = dr.Get3DData('sample_data/jatra_5mm/', dataplus_format=True)

ed = sed3.sed3(datap['data3d'])
ed.show()

Example 3 - Qt Widget

import io3d.datareaderqt
app = QtGui.QApplication(sys.argv)    
w = io3d.datereaderqt.DatareaderWidget()
w.show()
app.exec_()
datap = w.datap

load_widget

Test data

Get sample data with io3d package:

python -m io3d -l 3Dircadb1.1

Get list of available datasets:

python -m io3d -L

... or download data:

io3d_sample_data

ct_head.rawiv

Put this data into sample_data dir.

File or directory checksum

python -m io3d -c directory_path

About

3D data read and write

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.6%
  • Other 0.4%