Skip to main content
. 2022 Jan 2;19(1):480. doi: 10.3390/ijerph19010480
Algorithm 1: Progression Estimation Function
Input:
Fref = The reference normal CXR
Fprev = The previous CXR
Fcurr, = The current CXR
d = The duration in days between the two successive CXRs
ageRF: Age risk factor computed from historical data using Equation (10)

PEF (Fref, Fprev, Fcurr, d, ageRF)

Extract features from all three input scans to construct feature vectors Fref, Fprev, and Fcurr using
                FX=fChexNet(X)
Compute inverse cosine similarity between the feature vectors as
DCP=1cosine_sim(Fcurr,Fprev)
DCR=1cosine_sim(Fcurr,Fref)
DPR=1cosine_sim(Fprev,Fref)
Compute the relative difference between successive CXRs using the weighted summation
Diff=w1.|DCRDPR|+w2.DCPd
The Diff is then added or subtracted to the previous profile score based on the prediction of the sequence model, or the score remain unchanged if no change is reported.
St={St1Diff+1tb=1tSb×ageRF,fSeq(Xt1,Xt)=ImproveSt1+Diff+1tb=1tSb×ageRF,fSeq(Xt1,Xt)=DeterSt1,fSeq(Xt1,Xt)=NoChange}
Return St