Skip to main content
. 2025 Sep 11;13:e20016. doi: 10.7717/peerj.20016

Algorithm 1 . Bone and tissue decomposition.

Require: input X-ray image f(x,y)
 (1) obtain the mask M(x,y) by active contour or user input
 (2) compute T(x,y) by solving Eq. (9)
 (3) compute α by Eq. (10)
 (4) compute B(x,y) by Eq. (12)
Ensure: T(x,y), B(x,y)