-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUGFIX: median otsu parameters to latest dipy version. (#88)
- Loading branch information
1 parent
0959ca9
commit c8b5d66
Showing
2 changed files
with
2 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
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
@rutgerfick Hello, thank you for the quick fix on this. Could you check and update the b0 indices as well? You can simply replace the line with
b0_mask, mask = median_otsu(data, np.where(acquisition_scheme.b0_mask)[0], median_radius=2, numpass=1)
. The otsu_median makes use of b0 images to mask the 4d DWI data and the variable for indices is missing in the script.