Hypography Science Forums: Haar Wavelets and Image Comparison/Analysis - Hypography Science Forums

Jump to content

Welcome! You are currently viewing the Hypography Science Forum as a guest. In order to participate in our science discussions, you should register now! Registration is free and you can use your Facebook login if you like.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Haar Wavelets and Image Comparison/Analysis Rate Topic: -----

#1 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 27 April 2010 - 05:51 AM

Ok, so now that i am done with doing some basic searching with GPS data, i think it's time to step up the geekitude a little bit. I've recently been exploring image comparison and image search algorithms, well what i can find anyways, and a particular one struck me as something that might be worth playing with. Basically its the engine behind imgseek, and they use Haar Wavelet decompositions of images of varying resolutions to search across a database for images "like" either another image or a rough sketch of something...
I think i generally understand what they do (without looking at the code, which won't really tell me anything until i understand the concept anyways) they use the discrete wavelet transform to transform image rows into component vectors, and then use the haar transform to compress and stretch the result matrix to obtain varying resolutions...

Now can someone actually explain to me what i said above, perhaps with an example? Which will be a starting point, basically at the end of this thread i want to write a function that will take in an image (bitmap) and try to find other images similar to it (or take in 2 images and at least give back some number(s) indicating how similar the other image is to the first one)

Unfortunately texts on the subject are pretty expensive, but i figured it shouldn't be too too difficult to figure out the basic principles and have something even rough, working :shrug:

You guys up for a trip?
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#2 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,476
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 27 April 2010 - 06:09 AM

I work with a development from general wavelet transforms (on the sphere instead of plane and a type of wavelet called needlet due to the form of the needlet function in "harmonic-space") on CMB-data analysis, so I have some background in this, but not really when it comes to image-comparison analysis...

If you look for a super-cool and not too advanced tutorial on what (and why) a wavelet transform is, then I would suggest: this one.


In super-short, the general idea of a wavelet transform is to make a transfrom that tells you both which frequency and when each frequency. This is a big difference from just fourier-transforming, because there you only know which frequency is in the signal, but not when...but then there is always Heisenberg, so you never get a super good resolution of frequency and time at the same moment.

If you have specific question on the Haar-wavelets I might be of help, but I have to look it up too.
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#3 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,476
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 27 April 2010 - 06:18 AM

Also, in the context of image comparison, I think you can use it (=this wavelet transformed image) in the way that it splits you the image in many images at different scales and so you can compare if they are the same (or better similar) at a given scale.

If you have a spherical image (but I think it is similar somehow on the plane, but there monople etc make less sense ;-)) made of a monopole contribution say red (means that the average over the whole image is red) and a dipole contribution say blue (means that one half of the sphere is a bit more blue than the other).
If now you have another spherical image with the same monopole contribution but a green dipole contribution.
What you could do now to compare, is that you decompose the images into monopole and dipole scales and compare...and you find that at the monopole scale they are the same.

This is just spherical harmonics decomposition, but then if you compare a combination of scales (which is wavelet-type dependent) you get a wavelet comparison...

This is how I image it is done at least...
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#4 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 27 April 2010 - 06:25 AM

Sweet.... research tiiime! :shrug:
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#5 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,476
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 18 June 2010 - 03:05 AM

So how is it going?
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#6 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 18 June 2010 - 04:57 AM

Its in the process of being thought of, i go back and read a little about the wavelet transform then, because of either getting frustrated at math or just needing some time to think, leave it alone, then something sparks my interest again and i go back to it... i may have some questions, or thoughts, i dont know if you are interested in discussing it though...?
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#7 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,476
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 18 June 2010 - 06:18 AM

Yeah, we can. And if I can answer I will ;-)
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


View our Science Quizzes | Science links. About the Hypography Science Forums

Friends

We recommend these stellar sites:

PC Help Forum

ATL - Atlanta Computer Repair

Sponsors

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

When we launched in May 2000, we wanted to create a site to share science-related content of all kinds on the web. As time passed, our site turned into a pure science forum with lots of cool people.

So we kept the name Hypography and the cool science forum community - and aim to be a friendly place for discussion of science topics of all kinds.