Hi everyone, could you please tell me how can I find the equation or the mathematical procedure which is behind the arrayFromVolume?
Thank you in advance.
The code for arrayFromVolume is here: https://github.com/Slicer/Slicer/blob/5d70815798b8f324b2a14ad6e9cfa1634edf9ba9/Base/Python/slicer/util.py#L739
It basicly just provides a numpy view into memory managed by VTK
1 Like
Thank you Sam_Horvath for your reply. However, I am looking for the mathematical procedure(e.g., equations etc…).
There is no mathematical procedure in arrayFromVolume
. If you need to describe it as an equation: voxelValueInArray = voxelValueInVolumeNode.
1 Like