public TemplateMatch( Rectangle rect, float similarity ) { this.rect = rect; this.similarity = similarity; } }