Skip to content

Commit

Permalink
work in progress register nir/cfp
Browse files Browse the repository at this point in the history
  • Loading branch information
Oli4 committed Oct 18, 2019
1 parent ad34732 commit b09762d
Show file tree
Hide file tree
Showing 9 changed files with 872 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,6 @@ ENV/

# mypy
.mypy_cache/

# Pycharm
.idea/
8 changes: 6 additions & 2 deletions eyepy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
"""Top-level package for eyepy."""

__author__ = """Olivier Morelle"""
__email__ = 'oli4morelle@gmail.com'
__version__ = '0.1.0'
__email__ = "oli4morelle@gmail.com"
__version__ = "0.1.0"

from . import io
from . import preprocess
from . import register
1 change: 1 addition & 0 deletions eyepy/io/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .he_vol import VolReader
26 changes: 26 additions & 0 deletions eyepy/io/base.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import abc


class OctReader(abc.ABC):
def __init__(self):
pass

@abc.abstractmethod
def read(self, filepath):
"""Returns an OCT object"""
pass

@abc.abstractmethod
def read_meta(self, filepath):
"""Returns only the OCT meta data"""
pass

@abc.abstractmethod
def read_bscans(self, filepath):
"""Returns only the B-scans"""
pass

@abc.abstractmethod
def read_nir(self, filepath):
"""Returns only the near-infrared fundus reflectance (NIR) acquired by an scanning laser ophthalmoscope (SLO)"""
pass

0 comments on commit b09762d

Please sign in to comment.