-
Notifications
You must be signed in to change notification settings - Fork 3
Development robert #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…s gray or black border depending on its color. made text larger, so that the snapshots are better readable
…into new_features_robert
…into new_features_robert
…nto development_robert
…nto development_robert
…nto development_robert
…nto development_robert
…nto development_robert
…nto development_robert
TPTBox/core/nii_wrapper.py
Outdated
| data = _nrrd[0] | ||
|
|
||
| header = dict(_nrrd[1]) | ||
| print(data.shape, header) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove debug printout
TPTBox/core/nii_wrapper.py
Outdated
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove whitespaces
TPTBox/core/nii_wrapper_math.py
Outdated
| - B0 (b0): Number of connected components. | ||
| - B1 (b1): Number of holes. | ||
| - B2 (b2): Number of fully engulfed empty spaces. | ||
| - B2 (b2): Number of fully engulfed empty spaces.f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f***
TPTBox/mesh3D/html_preview.py
Outdated
| if isinstance(img, NII): | ||
| mesh = SegmentationMesh.from_segmentation_nii(img, rescale_to_iso=rescale_to_iso) | ||
| is_poi = False | ||
| else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if POI otherwise give ValueError
| poi = POI.load(Path(p, "sub-MM00191_ses-20180502_sequ-202_seg-leg-subreg-left_poi.mrk.json"), reference=nii) | ||
| nii_r = to_nii(Path(p, "sub-MM00191_ses-20180502_sequ-202_seg-leg-right_msk.nii.gz"), True) | ||
| poi_r = POI.load(Path(p, "sub-MM00191_ses-20180502_sequ-202_seg-leg-subreg-right_poi.mrk.json"), reference=nii) | ||
| make_html_preview( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beispiel ins readme?
No description provided.