triskele/python/test.py

20 lines
345 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
# \file %filename%.py
# \brief TODO
# \author Florent Guiotte <florent.guiotte@gmail.com>
# \version 0.1
# \date 22 mars 2018
#
# TODO details
import triskele
import numpy as np
A = np.arange(10*10).reshape(10,10)
t = triskele.Triskele(A)
print (t.filter())
print(triskele.read('/tmp/outfile.tif'))