## S3 method for class 'SO3':
weighted.mean(x, w, type = "projected",
epsilon = 1e-05, maxIter = 2000, ...) ## S3 method for class 'Q4':
weighted.mean(x, w, type = "projected",
epsilon = 1e-05, maxIter = 2000, ...)
type
option. For a sample of $n$ rotations in
matrix form $\bm{R}_i\in SO(3), i=1,2,\dots,n$, the weighted mean is defined as
$$\widehat{\bm{S}}=argmin_{\bm{S}\in
SO(3)}\sum_{i=1}^nw_id^2(\bm{R}_i,\bm{S})$$ where $d$ is the Riemannian or Euclidean
distance. For more on the projected mean see
Moakher (2002) and for the geometric mean see
Manton (2004).Manton JH (2004). "A globally convergent numerical algorithm for computing the centre of mass on compact Lie groups." In Control, Automation, Robotics and Vision Conference, 2004. ICARCV 2004 8th, volume 3, pp. 2211-2216. IEEE.
median.SO3
, mean.SO3
,
bayes.mean
Rs<-ruars(20,rvmises,kappa=0.01)
wt<-abs(1/angle(Rs))
weighted.mean(Rs,wt)
Qs<-Q4(Rs)
weighted.mean(Qs,wt)
Run the code above in your browser using DataLab