Exemple #1
0
 def mark_border(self):
     slic_funcs.mark_border(self.lab, self.labels)
     self._sync_rgb_from_lab()
Exemple #2
0
 def borders_only(self):
     self.rgb[:, :] = 255, 255, 255
     self._sync_lab_from_rgb()
     slic_funcs.mark_border(self.lab, self.labels)
     self._sync_rgb_from_lab()