<< 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 is phylogeny
Odigie Reply
evolutionary history and relationship of an organism or group of organisms
AI-Robot
ok
Deng
what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




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