Skip to content

Added opacity function for vmtkimagemipviewer.py#173

Merged
lantiga merged 3 commits into
vmtk:masterfrom
wouterpotters:master
Feb 27, 2017
Merged

Added opacity function for vmtkimagemipviewer.py#173
lantiga merged 3 commits into
vmtk:masterfrom
wouterpotters:master

Conversation

@wouterpotters

Copy link
Copy Markdown

Added opacity function to vmtkimagemipviewer.py.
Usage: add -opacity 0 0.5 for a linear increasing opacity map.
add -opacity 0.5 0.5 for a continuous opacity of 0.5
Useful 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.
2017-01-05 17_39_39-vmtk - the vascular modeling toolkit
screenshot: decreased opacity enables visualisation of points within the MIP

Wouter Potters 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
@lantiga

lantiga commented Feb 27, 2017

Copy link
Copy Markdown
Member

Hi Wouter, so sorry I overlooked this PR! Great, thank you.

@lantiga lantiga merged commit b128b37 into vmtk:master Feb 27, 2017
@wouterpotters

wouterpotters commented Feb 28, 2017 via email

Copy link
Copy Markdown
Author

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.

2 participants