add private variable and copy when return by readinfo
This commit is contained in:
@@ -6,7 +6,7 @@ import cv2
|
||||
|
||||
class Stitcher:
|
||||
|
||||
def __init__(self,isstitch=False, n=[3,3], config_stitcher=None,verbose=False):
|
||||
def __init__(self,isstitch=False, config_stitcher=None,verbose=False):
|
||||
|
||||
# Settings
|
||||
self.isstitch = isstitch
|
||||
@@ -22,8 +22,8 @@ class Stitcher:
|
||||
self.boxes = self.units = None
|
||||
self.index = config_stitcher["index"]
|
||||
self.stitch_calibration = self.tile_list = []
|
||||
self.ncol = n[0]
|
||||
self.nrow = n[1]
|
||||
self.ncol = config_stitcher["n"][0]
|
||||
self.nrow = config_stitcher["n"][1]
|
||||
self.nominal_ov_pos=config_stitcher["nominal_ov_pos"]
|
||||
self.margin=config_stitcher["margin"]
|
||||
self.bound=self.nominal_ov_pos - self.margin
|
||||
|
||||
Reference in New Issue
Block a user