Added opacity function for vmtkimagemipviewer.py#173
Merged
Conversation
added 3 commits
January 5, 2017 17:30
Usage: add "-opacity 0 1" for a linear opacity map. Useful to visualize lines within the mip viewer
Usage: add "-opacity 0 1" for a linear opacity map. Useful to visualize lines within the mip viewer
Usage: add "-opacity 0 .5" for a linear opacity map. Useful to visualize lines or balls within the mip viewer
Member
|
Hi Wouter, so sorry I overlooked this PR! Great, thank you. |
Author
|
No problem. Thanks for the great software :)
Op 27 februari 2017 om 09:12:13, Luca Antiga ([email protected])
schreef:
… Hi Wouter, so sorry I overlooked this PR! Great, thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#173 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA75vFOQN9nhTSx9AvW_iPxDeJYU3URCks5rgoVdgaJpZM4Lb4mC>
.
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added opacity function to
vmtkimagemipviewer.py.Usage: add
-opacity 0 0.5for a linear increasing opacity map.add
-opacity 0.5 0.5for a continuous opacity of 0.5Useful to visualize lines within the mip viewer; see attached screenshot.
The opacity is applied after the window level.
The minimum of the image also receives a opacity of 0
The maximum of the image also receives a opacity of 1
Optimizations could be added depending on the desired user input / interface.

screenshot: decreased opacity enables visualisation of points within the MIP