diff --git a/sdb_gui.py b/sdb_gui.py index 46fad68..7c8d862 100644 --- a/sdb_gui.py +++ b/sdb_gui.py @@ -409,12 +409,6 @@ def loadImageAction(self): global bands_array bands_array = bands_dummy.T - coord1 = np.array(image_raw.transform * (0, 0)) - coord2 = np.array(image_raw.transform * (1, 1)) - - global pixel_size - pixel_size = abs(coord2 - coord1) - self.loadImageLabel.setText( os.path.split(self.imglocList.toPlainText())[1] ) @@ -986,6 +980,10 @@ def results(self, result_list): time_diff = time_array[1:] - time_array[:-1] runtime = np.append(time_diff, time_list[-1] - time_list[0]) + coord1 = np.array(image_raw.transform * (0, 0)) + coord2 = np.array(image_raw.transform * (1, 1)) + pixel_size = abs(coord2 - coord1) + global print_result_info print_result_info = ( 'Image Input:\t\t' + self.imglocList.toPlainText() + ' (' +