diff --git a/A2/Interface.py b/A2/Interface.py index d44b4276b06f02b5e272c0319259d5cb8bf72b11..22427f66052a1f7e9c9b66784d55ad0d91365559 100644 --- a/A2/Interface.py +++ b/A2/Interface.py @@ -26,8 +26,6 @@ class Interface(object): columns = len(img[0, 0:]) above = copy.deepcopy(img) - # above[i, j, :] = [0, 255, 0] - coherent_pixels = [] for result in results: @@ -43,7 +41,6 @@ class Interface(object): plt.imshow(above, interpolation='none', alpha=alpha) plt.savefig(fname=self.edit_path, dpi=300, bbox_inches='tight') plt.close() - # plt.show() def doit(self): img = np.array(io.imread(self.image_path)) @@ -56,7 +53,6 @@ class Interface(object): g = Graph(row, col, gray, self.bins, self.threshold) print("Connected components: ") g.detect_connected_components() - # print(g.connected_components) res, vec = g.ccv() print(res) print(vec) diff --git a/A2/images/astronauts/Eileen-Collins.jpg b/A2/images/astronauts/Eileen-Collins.jpg deleted file mode 100644 index 29ce31cd0828954be05948d9513ab8ad140afa96..0000000000000000000000000000000000000000 Binary files a/A2/images/astronauts/Eileen-Collins.jpg and /dev/null differ