개정판 84605c0c
호셩 컴파일 옴션 추가
-btnConsolidateFinalPDF.Visibility = System.Windows.Visibility.Collapsed
Change-Id: I13e6a9ab634f41f3e3f6cfb38ae356a57a6fe3d1
ImageComparer/Markus.ImageComparer/ImageComparer.cs | ||
---|---|---|
121 | 121 |
|
122 | 122 |
byte[,,] data = MathchesImageData(Originalbitmap, TargatBitmap); |
123 | 123 |
|
124 |
rects = GetMatchPixels(data, ResultRectSize);
|
|
124 |
result = GetMatchPixels(data, ResultRectSize);
|
|
125 | 125 |
|
126 |
if (rects.Count() > 0) |
|
127 |
{ |
|
128 |
result = Merge(rects, ResultRectSize.Height); |
|
129 |
} |
|
126 |
//if (rects.Count() > 0)
|
|
127 |
//{
|
|
128 |
// result = Merge(rects, ResultRectSize.Height);
|
|
129 |
//}
|
|
130 | 130 |
|
131 | 131 |
//result = JoinRectList(rects); |
132 | 132 |
} |
... | ... | |
196 | 196 |
System.Windows.Rect[] m = new System.Windows.Rect[(int)bound.Height / (int)rectHeight]; |
197 | 197 |
for (int i = 0; i < m.Length; ++i) |
198 | 198 |
{ |
199 |
m[i] = new System.Windows.Rect(Int32.MaxValue,bound.Y + i * rectHeight, 0, rectHeight);
|
|
199 |
m[i] = new System.Windows.Rect(bound.X, bound.Y + i * rectHeight, bound.Y, rectHeight);
|
|
200 | 200 |
} |
201 | 201 |
|
202 | 202 |
for (int i = 0; i < r.Count(); ++i) |
... | ... | |
447 | 447 |
result = await GetMatchPixelsAsnc(data, ResultRectSize); |
448 | 448 |
|
449 | 449 |
//result = JoinRectList(result); |
450 |
if (result.Count() > 0) |
|
451 |
{ |
|
452 |
result = Merge(result, ResultRectSize.Height); |
|
453 |
} |
|
450 |
//if (result.Count() > 0)
|
|
451 |
//{
|
|
452 |
// result = Merge(result, ResultRectSize.Height);
|
|
453 |
//}
|
|
454 | 454 |
|
455 | 455 |
data = null; |
456 | 456 |
} |
내보내기 Unified diff