How to obtain CT and PET values ​​in 3D volume using XYZ coordinates?

need help!!

How to obtain CT and PET values ​​in 3D volume using XYZ coordinates?
I didn’t find any examples about this

For example,

in this example, how do I specify an XYZ position to get the CT value?
thanks :cry: