Register to reply

Quaternion in image

by tavoos
Tags: image, quaternion
Share this thread:
tavoos
#1
Jan16-14, 04:11 AM
P: 3
Hi everyone
I have question about Arithmetic quaternion. this concept is used in image processing for representing R G B color channel as a hyper complex number or single unit.how can it is possible? can I represent every things in 3D space as a hyper complex number by quaternion?
Please help me
Thanks a lot
Phys.Org News Partner Mathematics news on Phys.org
Heat distributions help researchers to understand curved space
Professor quantifies how 'one thing leads to another'
Team announces construction of a formal computer-verified proof of the Kepler conjecture
mfb
#2
Jan16-14, 06:25 PM
Mentor
P: 11,900
Quaternions have 4 degrees of freedom (you need 4 real values to describe a quaternion) - if you fix their magnitude to 1, you have three left, those can encode R G B.
I have no idea if/why/when this is useful for colors. It is used for rotations in 3D spaces.
D H
#3
Jan16-14, 10:48 PM
Mentor
P: 15,167
Typical usage for colors is to use non-unitary pure quaternions. The scalar ("real") part is zero. The imaginary parts correspond to red, green, and blue.

Why do this? One reason is that the concept of Fourier transforms has been extended to the quaternions. This representation lets one analyze a color image as a whole in the frequency domain. Edge detection can also be extended to the quaternions, once again letting one analyze a color image as a whole. You don't get this with three separate real channels, one each for red, green, and blue.

mfb
#4
Jan17-14, 01:04 PM
Mentor
P: 11,900
Quaternion in image

Quote Quote by D H View Post
Typical usage for colors is to use non-unitary pure quaternions. The scalar ("real") part is zero. The imaginary parts correspond to red, green, and blue.
Ah, that makes more sense, thanks.
tavoos
#5
Feb10-14, 04:56 AM
P: 3
Dears
Thanks for replying
I read some papers that use quaternion to fuse multi features like intensity ,motion ,colors.how can it is possible?
2- You said that we can use Quaternion to process color components as whole or single point, it means that each single point in 4D space(Quaternion) has all properties of (R G B) ?
Please help me .
Thanks
D H
#6
Feb10-14, 08:53 AM
Mentor
P: 15,167
You've read the papers, and that is the correct approach for understanding something new. Since this approach is fairly new, you're not going to find it in textbooks. This is indeed a fairly new approach; the earliest reference I can find is 1996, and the concept apparently didn't really take hold until the mid-2000s.

Do you know the basics of k-means clustering, 2 dimensional FFT, wavelet transformations, edge detection, digital filtering, principal components analysis, etc. as applied to gray scale images? Do you know what quaternions are? If you don't know these basic concepts (all of which can be found in texts and are taught in classes), you are doing the equivalent of diving into the deep end of the pool with having first learned to swim.
tavoos
#7
Feb10-14, 09:08 AM
P: 3
Quote Quote by D H View Post
You've read the papers, and that is the correct approach for understanding something new. Since this approach is fairly new, you're not going to find it in textbooks. This is indeed a fairly new approach; the earliest reference I can find is 1996, and the concept apparently didn't really take hold until the mid-2000s.

Do you know the basics of k-means clustering, 2 dimensional FFT, wavelet transformations, edge detection, digital filtering, principal components analysis, etc. as applied to gray scale images? Do you know what quaternions are? If you don't know these basic concepts (all of which can be found in texts and are taught in classes), you are doing the equivalent of diving into the deep end of the pool with having first learned to swim.
Thanks for replying as you mentioned there is not enough textbook about this subject.but I know that the concept of such basics.what do you means?you want to say I am wrong. if yes? please clear for me what I am wrong about Quaternion
Thanks
D H
#8
Feb10-14, 09:11 AM
Mentor
P: 15,167
I'm not saying you're wrong about anything. I don't understand what it is you are asking. If you are asking us to write a book on how quaternions are useful in image processing (which is what you appear to be asking), this isn't the place to ask. An internet forum isn't the right place for such questions.

What we can help you with is where you have specific questions about specific issues, something where the answer might take a few paragraphs, maybe a page.
D H
#9
Feb10-14, 10:05 AM
Mentor
P: 15,167
Asking for help by email is even worse than asking for help in the open forums. Others with similar questions may be able to take advantage of the answers when you ask for help in the open forums. I (and others) are quite willing to take the time to answer such questions freely (i.e., no money involved) because we're potentially benefiting a number of people at once.

You are the only one who can possibly benefit when you ask for help by email. That means I should charge you consulting rates for my help. Note well: The going rate for short term engineering consulting work in the US is well in excess of $100/hour ($200+/hour is more likely for short term work), with an eight hour minimum.
D H
#10
Feb10-14, 01:47 PM
Mentor
P: 15,167
Your questions need to be better formulated. Ask specific questions. Don't ask us to write a book. That's a general unwritten rule for internet forums.

I was not asking to set up a consultancy. You most likely cannot afford the rates my employer charges other companies for my time, and if you could, I would probably balk.


We obviously have a language issue here. What is it that is troubling you? What don't you understand? What do you need help with? Try to be precise, and try to keep in mind that I don't have time to write a book. (And if I did, it wouldn't be on this subject. I am not an expert, at least not anymore -- particular with respect to color imagery. Gray scale imagery is so much easier to deal with.)


Register to reply

Related Discussions
Image processing: effect of illuminant on sRGB image Engineering, Comp Sci, & Technology Homework 1
[Lens] given: focal length and magnification, find image distance and image height Introductory Physics Homework 7
What is a Direct image and Inverse Image in Real Analysis? Calculus & Beyond Homework 7
How to capture live video/image using Matlab without Image acq toolbox Math & Science Software 1
Convert a text file into an image (or generate an image with fortran) Computing & Technology 1