There exist a numerous number of appropriate cost functions to measure the similarity between two pixels, which work on different information a pixel can provide.
We have employed a simple pixel-wise *SAD, as well as the non-parametric Hamming distance of the *CT [1]}, due to its popularity in real-world scenarios.
Again, due to the local support regions, these cost function require the use of line buffers in order to use pixel data in the local neighbourhood.
