Commit 26095686cfaf0bd5f79e04b9071483fdf2f3de72
1 parent
19abbab5
Exists in
ffill_gui
Using region growing instead of floodfill
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
invesalius/data/styles.py
@@ -1991,7 +1991,7 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): | @@ -1991,7 +1991,7 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): | ||
1991 | self.config = FFillSegmentationConfig() | 1991 | self.config = FFillSegmentationConfig() |
1992 | self.dlg_ffill = None | 1992 | self.dlg_ffill = None |
1993 | 1993 | ||
1994 | - self._progr_title = _(u"Floodfill segmentation") | 1994 | + self._progr_title = _(u"Region growing") |
1995 | self._progr_msg = _(u"Segmenting ...") | 1995 | self._progr_msg = _(u"Segmenting ...") |
1996 | 1996 | ||
1997 | self.AddObserver("LeftButtonPressEvent", self.OnFFClick) | 1997 | self.AddObserver("LeftButtonPressEvent", self.OnFFClick) |
invesalius/gui/dialogs.py
@@ -2035,7 +2035,7 @@ class SelectPartsOptionsDialog(wx.Dialog): | @@ -2035,7 +2035,7 @@ class SelectPartsOptionsDialog(wx.Dialog): | ||
2035 | class FFillSegmentationOptionsDialog(wx.Dialog): | 2035 | class FFillSegmentationOptionsDialog(wx.Dialog): |
2036 | def __init__(self, config): | 2036 | def __init__(self, config): |
2037 | pre = wx.PreDialog() | 2037 | pre = wx.PreDialog() |
2038 | - pre.Create(wx.GetApp().GetTopWindow(), -1, _(u"Floodfill Segmentation"), style=wx.DEFAULT_DIALOG_STYLE|wx.FRAME_FLOAT_ON_PARENT) | 2038 | + pre.Create(wx.GetApp().GetTopWindow(), -1, _(u"Region growing"), style=wx.DEFAULT_DIALOG_STYLE|wx.FRAME_FLOAT_ON_PARENT) |
2039 | self.PostCreate(pre) | 2039 | self.PostCreate(pre) |
2040 | 2040 | ||
2041 | self.config = config | 2041 | self.config = config |
invesalius/gui/frame.py
@@ -765,7 +765,7 @@ class MenuBar(wx.MenuBar): | @@ -765,7 +765,7 @@ class MenuBar(wx.MenuBar): | ||
765 | 765 | ||
766 | # Segmentation Menu | 766 | # Segmentation Menu |
767 | segmentation_menu = wx.Menu() | 767 | segmentation_menu = wx.Menu() |
768 | - self.ffill_segmentation = segmentation_menu.Append(const.ID_FLOODFILL_SEGMENTATION, _(u"Floodfill")) | 768 | + self.ffill_segmentation = segmentation_menu.Append(const.ID_FLOODFILL_SEGMENTATION, _(u"Region growing")) |
769 | self.ffill_segmentation.Enable(False) | 769 | self.ffill_segmentation.Enable(False) |
770 | 770 | ||
771 | tools_menu.AppendMenu(-1, _("Segmentation"), segmentation_menu) | 771 | tools_menu.AppendMenu(-1, _("Segmentation"), segmentation_menu) |