-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
872 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,3 +100,6 @@ ENV/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# Pycharm | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .he_vol import VolReader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.