-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from BMCV/develop
- Loading branch information
Showing
29 changed files
with
1,557 additions
and
743 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[flake8] | ||
|
||
extend-ignore = E221,E211,E222,E202,F541,E201,E203 | ||
|
||
per-file-ignores = | ||
segmetrics/__init__.py:F401 | ||
tests/isbi_seg.py:E501 |
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
[settings] | ||
|
||
multi_line_output = 3 | ||
force_grid_wrap = 2 | ||
include_trailing_comma = true |
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,3 @@ | ||
[mypy] | ||
|
||
disable_error_code = import-untyped |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ version: 2 | |
build: | ||
os: "ubuntu-20.04" | ||
tools: | ||
python: "3.7" | ||
python: "3.8" | ||
|
||
sphinx: | ||
fail_on_warning: true | ||
|
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 was deleted.
Oops, something went wrong.
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,7 @@ | ||
segmetrics.contour | ||
================== | ||
|
||
.. automodule:: segmetrics.contour | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
numpy>=1.18 | ||
numpy>=1.20 | ||
scipy | ||
scikit-image>=0.18 | ||
scikit-learn | ||
dill | ||
Deprecated==1.2 |
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 |
---|---|---|
@@ -1,14 +1,30 @@ | ||
from segmetrics.boundary import Hausdorff, NSD | ||
from segmetrics.regional import Dice, JaccardCoefficient, JaccardIndex, RandIndex, AdjustedRandIndex, ISBIScore | ||
from segmetrics.detection import FalsePositive, FalseNegative, FalseSplit, FalseMerge | ||
from segmetrics.study import Study | ||
|
||
import segmetrics.parallel | ||
|
||
from segmetrics.contour import ( | ||
NSD, | ||
Hausdorff, | ||
) | ||
from segmetrics.detection import ( | ||
FalseMerge, | ||
FalseNegative, | ||
FalsePositive, | ||
FalseSplit, | ||
) | ||
from segmetrics.regional import ( | ||
AdjustedRandIndex, | ||
Dice, | ||
ISBIScore, | ||
JaccardCoefficient, | ||
JaccardIndex, | ||
RandIndex, | ||
) | ||
from segmetrics.study import Study | ||
|
||
VERSION_MAJOR = 1 | ||
VERSION_MINOR = 4 | ||
VERSION_PATCH = 1 | ||
|
||
VERSION = '%d.%d%s' % (VERSION_MAJOR, VERSION_MINOR, '.%d' % VERSION_PATCH if VERSION_PATCH > 0 else '') | ||
VERSION_MINOR = 5 | ||
VERSION_PATCH = 0 | ||
|
||
VERSION = '%d.%d%s' % ( | ||
VERSION_MAJOR, | ||
VERSION_MINOR, | ||
'.%d' % VERSION_PATCH if VERSION_PATCH > 0 else '', | ||
) |
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
Oops, something went wrong.