Skip to content
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

Fix dicom wsi conversion #104

Merged
merged 11 commits into from
Oct 23, 2023
Merged

Fix dicom wsi conversion #104

merged 11 commits into from
Oct 23, 2023

Conversation

miriam-groeneveld
Copy link
Contributor

Temporary fix until libvips 8.15 will be released, which will come with OpenSlide 4.0.0 which offers dicom-wsi support.

Comment on lines 233 to 236
def tiler(getter, lvl, c, r):
for row in range(r):
for col in range(c):
im = np.array(getter(lvl, (col, row)))
Copy link
Member

@pkcakeout pkcakeout Oct 18, 2023

Choose a reason for hiding this comment

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

Wasn't the old naming actually better?

Copy link
Member

@pkcakeout pkcakeout left a comment

Choose a reason for hiding this comment

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

Generally seems fine to me... not an expert on the matter though...

panimg/contrib/wsi_dcm_to_tiff/dcm_to_tiff.py Outdated Show resolved Hide resolved
tests/test_default_image_builders.py Show resolved Hide resolved
panimg/image_builders/tiff.py Outdated Show resolved Hide resolved
panimg/image_builders/tiff.py Outdated Show resolved Hide resolved
panimg/image_builders/tiff.py Outdated Show resolved Hide resolved
panimg/image_builders/tiff.py Outdated Show resolved Hide resolved
@jmsmkn jmsmkn merged commit 499d4c1 into main Oct 23, 2023
12 checks passed
@jmsmkn jmsmkn deleted the fix_dicom_wsi_conversion branch October 23, 2023 08:22
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