<< Chapter < Page Chapter >> Page >
A description of the actual comparison process of FFT from the input image vs. image in the database. Also, construction of the database.

So, now we have an FFT of the coin. What are we going to compare it to? A pre-created database of course! Thedatabase creation steps are pretty straightforward, but there are a number of reasons for developing a streamlined approach toit.

Database creation

You could create the database manually by taking subsets of the input picture matrix and performing theunwrapping on them manually. Manual database editing might be feasible if you only had 10 coins to recognize. However,considering that the United States has minted coins for all fifty states in addition to entries for dirty coins and differentlighting conditions, you’ll probably want to simplify the process. What we did was basically take our full code and hack it off beforethe unwrapping process. The radii and centers go into a function that displays the image of the coin to the user. The user thenenters in values for the metadata associated with that image. In our case we used heads/tails, value in USD, coin name, andabbreviated coin descriptor (for debugging). We created a graphical interface in Matlab for loading images and loading and savingdatabase files.

Coin input gui

The coin input GUI we developed.

Comparison

The resulting database should contain the metadata and the precomputed FFTs of the already unwrapped coins.The code then takes each input FFT and compares it to each stored FFT. There are many different algorithms to determine the“closeness”of two FFTs.

Dot product

You can normalize each line of the FFT, and then do a vector dot product with the corresponding line in theother FFT. Then you take the average value of the resulting one-line vector. If the two FFTs are identical, they will return avalue of 1. Depending on how different they are, the number will be something between 0 and 1.

Sum of differences

You can take the FFTs, subtract them from each other, take the absolute value, and sum all of the resultingdifferences. Two identical matrices will return a value of 0. If the matrices are at all different, the sum will be greater thanzero.

In our implementation we found the dot product approach to work best, though any number of matrixcomparison algorithms could work. Once all of the FFTs have been identified, they should return the metadata to be displayed to theuser.

Questions & Answers

what does nano mean?
Anassong Reply
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
Damian Reply
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
Akash Reply
it is a goid question and i want to know the answer as well
Maciej
characteristics of micro business
Abigail
for teaching engĺish at school how nano technology help us
Anassong
Do somebody tell me a best nano engineering book for beginners?
s. Reply
what is fullerene does it is used to make bukky balls
Devang Reply
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Abhijith Reply
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
so some one know about replacing silicon atom with phosphorous in semiconductors device?
s. Reply
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
SUYASH Reply
for screen printed electrodes ?
SUYASH
What is lattice structure?
s. Reply
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
Sanket Reply
what's the easiest and fastest way to the synthesize AgNP?
Damian Reply
China
Cied
types of nano material
abeetha Reply
I start with an easy one. carbon nanotubes woven into a long filament like a string
Porter
many many of nanotubes
Porter
what is the k.e before it land
Yasmin
what is the function of carbon nanotubes?
Cesar
I'm interested in nanotube
Uday
what is nanomaterials​ and their applications of sensors.
Ramkumar Reply
what is nano technology
Sravani Reply
what is system testing?
AMJAD
preparation of nanomaterial
Victor Reply
how to synthesize TiO2 nanoparticles by chemical methods
Zubear
what's the program
Jordan
?
Jordan
what chemical
Jordan
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!
QuizOver.com Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Elec 301 projects fall 2006. OpenStax CNX. Sep 27, 2007 Download for free at http://cnx.org/content/col10462/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2006' conversation and receive update notifications?

Ask