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

ENH: Allow setting DICOM thumbnail dimensions and resize function #910

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

cpinter
Copy link
Member

@cpinter cpinter commented Apr 21, 2020

  • Add width and height properties to ctkDICOMThumbnailGenerator to explicitly specify thumbnail size for different views
  • Change default thumbnail size from 128x128 to 256x256
  • Add smoothResize property in ctkDICOMThumbnailGenerator to allow better quality thumbnail image (by default it is off, so resizing is fast but crude)
  • Fix style (indentation, etc)
  • Add generateThumbnail with path argument instead of DicomImage, to allow direct python access

- Add width and height properties to ctkDICOMThumbnailGenerator to explicitly specify thumbnail size for different views
- Change default thumbnail size from 128x128 to 256x256
- Add smoothResize property in ctkDICOMThumbnailGenerator to allow better quality thumbnail image (by default it is off, so resizing is fast but crude)
- Fix style (indentation, etc)
- Add generateThumbnail with path argument instead of DicomImage, to allow direct python access
@nolden nolden merged commit 8c7ea6e into commontk:master Apr 21, 2020
@nolden
Copy link
Member

nolden commented Apr 21, 2020

Looks good to me, thanks Csaba!

@cpinter
Copy link
Member Author

cpinter commented Apr 21, 2020

Thank you for the quick merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants