Description: Images passed to your application are not always of the same size as your
templates. To compare them you might need to up scale or down scale them to
the template size. It is preferred that when comparing you check the size of the
template to be compared then adjust the size of the incoming image to be
compared. For simplicity you can do it for the following sample only.
Hints:
• Upsampling by interpolation/replacement
• Downsampling by interpolation/replacement
• Refer to sample code given in first tutorial for ways to create
images of similar width and height.
File list (Check if you may need any files):
Question2\Assignment 1 Photos_2586
.........\........................\Assignment 1 Photos
.........\........................\...................\Question 1
.........\........................\...................\..........\Is it a 3.jpg
.........\........................\...................\..........\Is it a 6.jpg
.........\........................\...................\..........\Is it a d.jpg
.........\........................\...................\..........\Is it a t.jpg
.........\........................\...................\..........\Is it an 8.jpg
.........\........................\...................\..........\Is it an n.jpg
.........\........................\...................\..........\Thumbs.db
.........\........................\...................\Question 2
.........\........................\...................\..........\Thumbs.db
.........\........................\...................\..........\ToScaleD.JPG
.........\........................\...................\Question 3
.........\........................\...................\..........\Thumbs.db
.........\........................\...................\..........\ToRotate3.JPG
.........\........................\...................\Thumbs.db
.........\debug
.........\.....\Question2.pdb
.........\Letters Templates_2485
.........\......................\Letters Templates
.........\......................\.................\Template_L_a.JPG
.........\......................\.................\Template_L_b.jpg
.........\......................\.................\Template_L_c.jpg
.........\......................\.................\Template_L_d.jpg
.........\......................\.................\Template_L_e.jpg
.........\......................\.................\Template_L_g.jpg
.........\......................\.................\Template_L_h.jpg
.........\......................\.................\Template_L_k.jpg
.........\......................\.................\Template_L_l.jpg
.........\......................\.................\Template_L_m.jpg
.........\......................\.................\Template_l_n.jpg
.........\......................\.................\Template_L_r.jpg
.........\......................\.................\Template_L_s.jpg
.........\......................\.................\Template_L_t.jpg
.........\......................\.................\Thumbs.db
.........\Number Templates_2486
.........\.....................\Number Templates
.........\.....................\................\.picasa.ini
.........\.....................\................\Template_D_1.jpg
.........\.....................\................\Template_D_2.jpg
.........\.....................\................\Template_D_3.jpg
.........\.....................\................\Template_D_4.jpg
.........\.....................\................\Template_D_5.jpg
.........\.....................\................\Template_D_6.jpg
.........\.....................\................\Template_D_7.jpg
.........\.....................\................\Template_D_8.jpg
.........\.....................\................\Template_D_9.jpg
.........\.....................\................\Thumbs.db
.........\Question2.ncb
.........\Question2.sln
.........\Question2.suo
.........\Question2
.........\.........\Debug
.........\.........\.....\BuildLog.htm
.........\.........\.....\Question2.exe.embed.manifest
.........\.........\.....\Question2.exe.embed.manifest.res
.........\.........\.....\Question2.exe.intermediate.manifest
.........\.........\.....\Question2.pch
.........\.........\.....\stdafx.obj
.........\.........\.....\vc80.idb
.........\.........\.....\vc80.pdb
.........\.........\Question2.cpp
.........\.........\Question2.vcproj
.........\.........\Question2.vcproj.Amilo-PC.Administrator.user
.........\.........\ReadMe.txt
.........\.........\stdafx.cpp
.........\.........\stdafx.h