static void Main(string[] args) { ImgCmp image_comparator = new ImgCmp(); var differences = image_comparator.CompareImages( @"..\..\test.images\pcb.1\CircuitBoard.jpg", @"..\..\test.images\pcb.1\CircuitBoard-diff.png"); foreach (var d in differences) { System.Console.WriteLine(ImgDiff_ToString(d)); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImgCmp obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }