-
Notifications
You must be signed in to change notification settings - Fork 2
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 #5 from Forest-Recovery-Digital-Companion/fix-inco…
…nsistent-watershed FRML-27 Fix Inconsistent Watershed Result
- Loading branch information
Showing
6 changed files
with
128 additions
and
33 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
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,4 +1,6 @@ | ||
from .extract_segments import extract_segments_from_labels, extract_segments_from_bounds | ||
from .extract_segments import (extract_segments_from_labels, extract_segments_from_bounds, | ||
remove_small_segments_from_labels) | ||
from .preprocess import compute_labels | ||
|
||
__all__ = ['compute_labels', 'extract_segments_from_labels', 'extract_segments_from_bounds'] | ||
__all__ = ['compute_labels', 'extract_segments_from_labels', 'extract_segments_from_bounds', | ||
'remove_small_segments_from_labels'] |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from collections import namedtuple | ||
|
||
Rect = namedtuple('Rect', ['x0', 'y0', 'x1', 'y1']) |
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