// C# snippet inside VisionPro script CogPatMaxTool patMax = (CogPatMaxTool)toolBlock.Tools["CogPatMaxTool1"]; patMax.Run(); if (patMax.Results.Count > 0)
Cognex.Alignment.AddResult("Part X", x); Cognex.Alignment.AddResult("Part Y", y); cognex vision pro manual
Chapter 4: Quick Start – Locating a Part Using the PatMax Tool 4.1 Introduction to PatMax PatMax® is Cognex’s industry-leading pattern-matching technology. Unlike traditional pixel-grid or normalized correlation methods, PatMax analyzes geometric features (edges, curves, arcs) to find a pattern regardless of part rotation, size changes, or lighting variations. // C# snippet inside VisionPro script CogPatMaxTool patMax
double x = patMax.Results[0].Pose.TranslationX; double y = patMax.Results[0].Pose.TranslationY; double angle = patMax.Results[0].Pose.Rotation; double score = patMax.Results[0].Score; if (patMax.Results.Count >
// C# snippet inside VisionPro script CogPatMaxTool patMax = (CogPatMaxTool)toolBlock.Tools["CogPatMaxTool1"]; patMax.Run(); if (patMax.Results.Count > 0)
Cognex.Alignment.AddResult("Part X", x); Cognex.Alignment.AddResult("Part Y", y);
Chapter 4: Quick Start – Locating a Part Using the PatMax Tool 4.1 Introduction to PatMax PatMax® is Cognex’s industry-leading pattern-matching technology. Unlike traditional pixel-grid or normalized correlation methods, PatMax analyzes geometric features (edges, curves, arcs) to find a pattern regardless of part rotation, size changes, or lighting variations.
double x = patMax.Results[0].Pose.TranslationX; double y = patMax.Results[0].Pose.TranslationY; double angle = patMax.Results[0].Pose.Rotation; double score = patMax.Results[0].Score;
RK Publishing is a premier resource for Canadian French books.
RK PUBLISHING INC.
3089 Bathurst St., Suite 308
Toronto, ON M6A 2A4 Canada
Customer Service: or
Email: [email protected]