#23 create tool path from image,

close #23
This commit is contained in:
Ian
2019-02-12 19:50:54 -05:00
parent 8ca056fcdb
commit 3babccc948

View File

@@ -9,10 +9,15 @@ if __name__ == "__main__":
resourcesRawPath = 'tests/resources/raw/'
resourcesFormattedPath = 'tests/resources/formatted/'
resourcesPathOutput = 'resources/pathoutput/'
resourcesExpectedPath = 'tests/resources/expected/'
matrixToFile(formatPbm(resourcesRawPath + 'test1ascii.pbm'), resourcesFormattedPath + 'test1.csv')
# matrixToFile(formatPbm(resourcesRawPath + 'test1ascii.pbm'), resourcesFormattedPath + 'test1.csv')
plotPath(path(formatPbm(resourcesRawPath + 'test100x100.pbm'), 5))
matrixToFile(path(formatPbm(resourcesRawPath + 'imagestest-11.pbm'), 4), resourcesExpectedPath + 'imagestest-11.csv')
matrixToFile(path(formatPbm(resourcesRawPath + 'imagestest-22.pbm'), 4), resourcesExpectedPath + 'imagestest-22.csv')
matrixToFile(path(formatPbm(resourcesRawPath + 'imagestest-33.pbm'), 4), resourcesExpectedPath + 'imagestest-33.csv')
#plotPath(path(formatPbm(resourcesRawPath + 'imagestest-22.pbm'), 8))
#plotPath(path(formatPbm(resourcesRawPath + 'test100x100.pbm'), 5))