I want to get the values of the pixels inside the sphere of radius (r1), center coordinates (x1, y1, z1) in the 3D image (xyz).
As a matter of fact, I'm not interested in the values of individual pixels and want to get statistics such as mean and SD.
Since there is not one sphere, but hundreds or more, so I'm looking for an efficient way to quantify them.
I have the values of radius (r1, r2, r3 …) and center coordinates ((x1, y1, z1), (x2, y2, z2), (x3, y3, z3) …) .
Please tell me how to do it easily.
If my explanation is inadequate, please ask and I'll get back to you soon.
Best Answer