示例#1
0
文件: slic.py 项目: hagisgit/SLIC
 def mark_border(self):
     slic_funcs.mark_border(self.lab, self.labels)
     self._sync_rgb_from_lab()
示例#2
0
文件: slic.py 项目: hagisgit/SLIC
 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()