개정판 0c575433
issue #0000 compare 수정
Change-Id: I9b57c124b64674f7ae618978955093b399008da5
ComparerTestWPF/MainWindow.xaml.cs | ||
---|---|---|
82 | 82 |
if (bitmapSource != null && TargetSource != null) |
83 | 83 |
{ |
84 | 84 |
ImageView imageView = new ImageView(bitmapSource); |
85 |
|
|
85 |
imageView.Title = "Source"; |
|
86 | 86 |
imageView.Show(); |
87 | 87 |
|
88 | 88 |
|
89 | 89 |
ImageView imageView2 = new ImageView(TargetSource); |
90 |
|
|
90 |
imageView2.Title = "Target"; |
|
91 | 91 |
imageView2.Show(); |
92 | 92 |
} |
93 | 93 |
else |
... | ... | |
148 | 148 |
|
149 | 149 |
using (Markus.Image.ImageCompare imageComparer = new Markus.Image.ImageCompare()) |
150 | 150 |
{ |
151 |
var rects = imageComparer.CompareReturnRects(TxtOriginalImage.Text, TxtTargetImage.Text, new System.Drawing.Size(20, 20)); |
|
151 |
var rects = imageComparer.CompareReturnRects(TxtOriginalImage.Text, TxtTargetImage.Text, new System.Drawing.Size(20, 20),null);
|
|
152 | 152 |
|
153 | 153 |
MessageBox.Show(rects.Count().ToString()); |
154 | 154 |
|
내보내기 Unified diff