Skip to content

Conversation

@robert-graf
Copy link
Collaborator

No description provided.

robert-graf and others added 30 commits June 24, 2025 13:06
…s gray or black border depending on its color. made text larger, so that the snapshots are better readable
@robert-graf robert-graf requested a review from Hendrik-code July 24, 2025 06:50
data = _nrrd[0]

header = dict(_nrrd[1])
print(data.shape, header)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove debug printout

Comment on lines 1799 to 1800


Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove whitespaces

- 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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

f***

if isinstance(img, NII):
mesh = SegmentationMesh.from_segmentation_nii(img, rescale_to_iso=rescale_to_iso)
is_poi = False
else:
Copy link
Owner

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(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beispiel ins readme?

@robert-graf robert-graf merged commit 93ea430 into main Jul 24, 2025
2 checks passed
@robert-graf robert-graf deleted the development_robert branch July 24, 2025 07:54
@robert-graf robert-graf restored the development_robert branch July 24, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants