diff OrthancStone/Sources/Toolbox/LinearAlgebra.h @ 1890:6ce81914f7e4

added classes BucketAccumulator1D/2D
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Jan 2022 22:08:55 +0100
parents 7053b8a0aaec
children 187a261d7ae2
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/LinearAlgebra.h	Tue Jan 18 17:52:43 2022 +0100
+++ b/OrthancStone/Sources/Toolbox/LinearAlgebra.h	Tue Jan 18 22:08:55 2022 +0100
@@ -297,5 +297,9 @@
     bool IsShearMatrix(const Matrix& shear);  
 
     Matrix InvertShearMatrix(const Matrix& shear);
+
+    double ComputeMedian(std::vector<double>& v);
+
+    float ComputeMedian(std::vector<float>& v);
   };
 }