Package boofcv.alg.disparity.block
Interface BlockRowScoreSad
public interface BlockRowScoreSad
Computes the Sum of Absolute Difference (SAD) for block matching based algorithms.
Notes on scoreSad():
compute the score for each element all at once to encourage the JVM to optimize and
encourage the JVM to optimize this section of code.
Was original inline, but was actually slightly slower by about 3% consistently, It
is in its own function so that it can be overridden and have different cost functions
inserted easily.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BlockRowScoreSad.F32
static class
BlockRowScoreSad.S16
static class
BlockRowScoreSad.SadArrayF32
static class
BlockRowScoreSad.SadArrayS32<T extends GrayI<T>,ImageData>
static class
BlockRowScoreSad.U16
static class
BlockRowScoreSad.U8