𝑁 𝑝 is the length of the vectors 𝐳 𝑙 and 𝐳 𝑟
𝑐 𝑙 and 𝑐 𝑟 are the central intensities in the left and in the right window
for   𝑖 = 1 to 𝑁 𝑝   do
𝐳 𝑙 ( 𝑖 ) = 𝐳 𝑙 ( 𝑖 ) 𝑐 𝑙
𝐳 𝑟 ( 𝑖 ) = 𝐳 𝑟 ( 𝑖 ) 𝑐 𝑟
end for
Algorithm 3: Offset neutralization.