Jenny if you put your scan (the template) on the top of the blue background and then turn down the transparency you can see what your working with better.
Once you have the scan on top, select that area with the 'select' tool - then inverse your selection, then (whilst its still being selected) click on the purple background and press delete.
You should then delete the background giving you a template size in blue.