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
Modifier and TypeInterfaceDescriptionstatic class
static class
static class
static class
BlockRowScoreSad.SadArrayS32<T extends GrayI<T>,
ImageData> static class
static class