AForge.Imaging.TemplateMatch.TemplateMatch C# (CSharp) Method

TemplateMatch() public method

Initializes a new instance of the TemplateMatch class.
public TemplateMatch ( Rectangle rect, float similarity ) : System
rect System.Drawing.Rectangle Rectangle of the matching area.
similarity float Similarity between template and found matching, [0..1].
return System
        public TemplateMatch( Rectangle rect, float similarity )
        {
            this.rect = rect;
            this.similarity = similarity;
        }
    }
TemplateMatch