Skip to main content
. Author manuscript; available in PMC: 2023 Aug 25.
Published before final editing as: IEEE Trans Med Imaging. 2022 Feb 25;PP:10.1109/TMI.2022.3154934. doi: 10.1109/TMI.2022.3154934
Algorithm 1: One-shot PACS method.
input:Unlabeled CT and CBCT dataset(xc,xcb){Xc,Xcb}K,Exemplar segmented CBCT and corresponding segmentedpCT,({xcbe,ycbe,xc,yc})1{Xc,Yc,Xcb,Ycb}K,Kis thenumber of pCT, CBCT pairs,1refers to a single example.output:Registration modelθgto alignxctoxcband segmentationmodelθsto segmentxcb1Upsampleone-shotCBCT example(xcbe,ycbe)and its correspondingpCT(xc,yc)to productK10examples;2θg,θsinitialize;3forEpochidMaximumEpochdo4forIterMaximumIterdo5ifRegistrationFlagthen6xc,xcbsamplemini-batchfrom{Xc,Xcb};7Lregcalculated using (3)(4);8θg+Δθg(Lreg)(Gradient update);9else10load the example(xc,yc,xcbe,ycbe);11xct,yctcalculated using (2);12Lsegohemcalculated using (6);13θs+Δθs(Lsegohem)(Gradient update);14end15end16end