diff --git a/LeatherProject/.vs/LeatherApp/FileContentIndex/425e1d16-584a-46bb-81d8-38a827e21e23.vsidx b/LeatherProject/.vs/LeatherApp/FileContentIndex/a36a8e86-c76a-4932-97be-c9245674b388.vsidx similarity index 88% rename from LeatherProject/.vs/LeatherApp/FileContentIndex/425e1d16-584a-46bb-81d8-38a827e21e23.vsidx rename to LeatherProject/.vs/LeatherApp/FileContentIndex/a36a8e86-c76a-4932-97be-c9245674b388.vsidx index 32792b6..ddaf921 100644 Binary files a/LeatherProject/.vs/LeatherApp/FileContentIndex/425e1d16-584a-46bb-81d8-38a827e21e23.vsidx and b/LeatherProject/.vs/LeatherApp/FileContentIndex/a36a8e86-c76a-4932-97be-c9245674b388.vsidx differ diff --git a/LeatherProject/LeatherApp/Device/DefectLib.cs b/LeatherProject/LeatherApp/Device/DefectLib.cs index d1faf64..60556f9 100644 --- a/LeatherProject/LeatherApp/Device/DefectLib.cs +++ b/LeatherProject/LeatherApp/Device/DefectLib.cs @@ -190,6 +190,7 @@ namespace LeatherApp.Device public int GetWidthForResize(int sumWidth) { int count =(int) Math.Round(sumWidth * 1.0f / image_width, 0); + count = 8; return count * image_width; //int count = sumWidth / image_width;