Commit 1dade744df3ce658f01aaf9a8b3c78f779b2c4ad
1 parent
d99aa7cc
Exists in
master
and in
68 other branches
STL: Nomenclature name
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/data/imagedata_utils.py
... | ... | @@ -225,7 +225,7 @@ def CreateImageData(filelist, zspacing, size, bits): |
225 | 225 | ow.SetInstance(fow) |
226 | 226 | |
227 | 227 | x,y = size |
228 | - px, py = utils.PredictingMemory(len(filelist), x, y, bits) | |
228 | + px, py = utils.predict_memory(len(filelist), x, y, bits) | |
229 | 229 | |
230 | 230 | utils.debug("Image Resized to >>> %f x %f" % (px, py)) |
231 | 231 | |
... | ... | @@ -314,7 +314,7 @@ class ImageCreator: |
314 | 314 | ow.SetInstance(fow) |
315 | 315 | |
316 | 316 | x,y = size |
317 | - px, py = utils.PredictingMemory(len(filelist), x, y, bits) | |
317 | + px, py = utils.predict_memory(len(filelist), x, y, bits) | |
318 | 318 | utils.debug("Image Resized to >>> %f x %f" % (px, py)) |
319 | 319 | |
320 | 320 | if (x == px) and (y == py): | ... | ... |