How to manipulate quaternions numbers in matlab ?

4 次查看(过去 30 天)
I am a new user in matlab. I have an image with four spectral bands (R, B, G, n NIR) and i want to calculate a quality index which use the quaternions numbers (i.e: z= a+bi+cj+dk) in order to perform a comparison between two images (reference and test image)
My problem is as follow : i want to calculate the average, the covariance, the standard deviation etc.. of a quaternion number, in order to calculate the quality index. I want to know if i can use these types of numbers like others to perform these operations! I need your help, Regards

回答(1 个)

Jan
Jan 2015-12-26
You can use a standard [1 x 4] vector as quaternion.
Please explain what the average of a quarternion number is. Usually you need a set of values to obtain an average.
  1 个评论
shiraz karray
shiraz karray 2015-12-26
Thank you for your answer I want to set a quaternion that composed from radiance values of a given image pixel (four spectral bands: a,b,c and d) i.e: z1= a+b*i+j*c+k*d so i want to calculate the average of this quatrenion and also the standard deviation.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Satellite Mission Analysis 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by