How to manipulate quaternions numbers in matlab ?

3 ビュー (過去 30 日間)
shiraz karray
shiraz karray 2015 年 12 月 26 日
コメント済み: shiraz karray 2015 年 12 月 26 日
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 Center および File ExchangeCoordinate Transformations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by