def image_obj(self): print("Loading object image") if self.filename_obj: image = imread(self.filename_obj, True) if self.resolution_limit != 0: image = limit_size(image, self.resolution_limit) else: image = np.zeros_like(self.image_holo) return image
def image_ref(self): print("Loading reference image") if self.filename_ref: image = imread(self.filename_ref, True) if self.resolution_limit != 0: image = limit_size(image, self.resolution_limit) else: image = np.zeros_like(self.image_holo) return image
def image_holo(self): print("Loading hologram image") image = imread(self.filename_holo, True) if self.resolution_limit != 0: image = limit_size(image, self.resolution_limit) return image