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

Auto-thresholding not working for avm MRML scene #43

Closed
slicerbot opened this issue Mar 12, 2020 · 0 comments
Closed

Auto-thresholding not working for avm MRML scene #43

slicerbot opened this issue Mar 12, 2020 · 0 comments

Comments

@slicerbot
Copy link
Collaborator

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.

lassoan added a commit to lassoan/Slicer that referenced this issue Oct 10, 2023
List of VTK changes:

---

Revision: 3e45140d5ed4c38ff93bbfd4af033216f9fc820c
Author: Steve Pieper <pieper@isomics.com>
Date: 2023-10-10 1:58:01 PM
Message:
BUG: use alpha to calculate RGBA lighting (Slicer#43)

Implements the feature and fixes discussed in this thread:
https://discourse.slicer.org/t/volume-rendering-colorized-with-segmentation/26689/6

Basically allows RGBA volumes to be shaded according to their alpha
component so that something like a CT or microCT can define an
rgb value at spatial regions, while getting opacity and gradient
information from the alpha channel (e.g. the Hounsfield unit).

Also always uses the 0 channel for defining the lighting parameters.
This part is WIP since it may be more appropriate to set the alpha
channel lighting parameters in this scenario.  Currently, at least in
3D Slicer, only the 0 compnent's lighting parameters are being set, so
they are being used here.

---

Revision: 50d4bdd2cac3274d22f929d9a49ddf9dadf1ed7a
Author: Andras Lasso <lasso@queensu.ca>
Date: 2023-10-10 11:18:42 AM
Message:
ENH: Add background masking mode to vtkImageMedian3D

Background voxels can be excluded from median filter computation.
This is useful for dilating label volumes.
pieper pushed a commit that referenced this issue Oct 10, 2023
List of VTK changes:

---

Revision: 3e45140d5ed4c38ff93bbfd4af033216f9fc820c
Author: Steve Pieper <pieper@isomics.com>
Date: 2023-10-10 1:58:01 PM
Message:
BUG: use alpha to calculate RGBA lighting (#43)

Implements the feature and fixes discussed in this thread:
https://discourse.slicer.org/t/volume-rendering-colorized-with-segmentation/26689/6

Basically allows RGBA volumes to be shaded according to their alpha
component so that something like a CT or microCT can define an
rgb value at spatial regions, while getting opacity and gradient
information from the alpha channel (e.g. the Hounsfield unit).

Also always uses the 0 channel for defining the lighting parameters.
This part is WIP since it may be more appropriate to set the alpha
channel lighting parameters in this scenario.  Currently, at least in
3D Slicer, only the 0 compnent's lighting parameters are being set, so
they are being used here.

---

Revision: 50d4bdd2cac3274d22f929d9a49ddf9dadf1ed7a
Author: Andras Lasso <lasso@queensu.ca>
Date: 2023-10-10 11:18:42 AM
Message:
ENH: Add background masking mode to vtkImageMedian3D

Background voxels can be excluded from median filter computation.
This is useful for dilating label volumes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant