Skip to main content
. 2020 Jun 3;7(3):034002. doi: 10.1117/1.JMI.7.3.034002

Algorithm 1.

Projection texture mapping.

Input: Cherenkov/dose image Ich, 3D body model G, UV map correspondence F
Loop: Pixel (m,n) in Ich
 Generate camera ray R(x,y)
IfR(m,n) intersect with G at location (x,y,z)
  Search the UV location (i,j) of (x,y,z) through (i,j)=F(m,n)
  UV(i,j)=Ich(x,y)
end if
end Loop
Output: UV as the Cherenkov/dose UV map of the 3D body model