Develop code in Python to enhance 3D Slicer functions
[login to view URL] to save new 3D image (voxel brightness) after application of scalar opacity and gradient opacity masks.
In other words, those voxels that have been made transparent (zero brightness) by opacity masks should have zero values of brightness in the new saved image, and those voxels that were made % brightness form their original values will be saved with their new values.
[login to view URL] would like to have the capability of saving the mask itself with values between 0 and 1. This mask will be saved as 3D image, so that it can be recalled later and applied to a third separately acquired image.
If you are successful, I will continue with additional tasks.