topsStack/cuDenseOffsets: call (included not standalone) PyCuAmpcor properly

LT1AB
Lijun Zhu 2019-11-22 09:53:26 -08:00 committed by piyushrpt
parent 0855bf2640
commit 62a10d4c0d
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def estimateOffsetField(master, slave, inps=None):
width = sar.getWidth()
length = sar.getLength()
objOffset = PyCuAmpcor()
objOffset = PyCuAmpcor.PyCuAmpcor()
objOffset.algorithm = 0
objOffset.deviceID = inps.gpuid # -1:let system find the best GPU