]> Creatis software - creaMaracasVisu.git/commitdiff
#3277 creaMaracasVisu Feature New Normal - SegmentationConnectivityEED.bbg
authorEduardo DAVILA <davila@localhost.localdomain>
Thu, 23 Apr 2020 08:23:00 +0000 (10:23 +0200)
committerEduardo DAVILA <davila@localhost.localdomain>
Thu, 23 Apr 2020 08:23:00 +0000 (10:23 +0200)
bbtk/bbs/boxes/SegmentationConnectivityEED.bbg
bbtk/bbs/boxes/SegmentationConnectivityEED.bbs

index 25c1dedda87646ed706ab7ade4b18d745fa7d8c5..eb4a5689ba327a07f0c60837b264d5f88806af44 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /home/davila/Creatis/C8/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg
+# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg
 # ----------------------------------
 
 APP_START
@@ -36,7 +36,7 @@ COMPLEX_PORT
 Depth
 183.214488:94.857236:-900.000000
 FIN_COMPLEX_PORT
-BOXES:28
+BOXES:36
 BOX
 creaMaracasVisu:ViewerNV:Box01
 ISEXEC:FALSE
@@ -55,7 +55,7 @@ BOX
 wx:LayoutTab:Box09
 ISEXEC:FALSE
 -72.239823:-322.710201:-900.000000
--35.989823:-332.710201:-900.000000
+-14.679823:-332.710201:-900.000000
 FIN_BOX
 BOX
 vtk:SegmentationConnectivity:Box12
@@ -69,17 +69,19 @@ BOX
 creaMaracasVisu:ColorLayerImageView:Box13
 ISEXEC:FALSE
 -310.837483:-180.661458:-900.000000
--225.237489:-190.661458:-900.000000
+-240.957483:-190.661458:-900.000000
 PORT
 TypeControlsInterface:"2"
 PORT
+WinTitle:"General Connectivity"
+PORT
 lstTransparenceBoundaries:"0"
 FIN_BOX
 BOX
 wx:LayoutSplit:Box14
 ISEXEC:FALSE
 -141.472047:-363.326153:-900.000000
--104.797047:-373.326153:-900.000000
+-102.392047:-373.326153:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
@@ -101,17 +103,19 @@ BOX
 creaMaracasVisu:ColorLayerImageView:Box17
 ISEXEC:FALSE
 -182.971774:-213.746563:-900.000000
--135.046774:-223.746563:-900.000000
+-113.091774:-223.746563:-900.000000
 PORT
 TypeControlsInterface:"2"
 PORT
+WinTitle:"Connectivity after Erosion"
+PORT
 lstTransparenceBoundaries:"0"
 FIN_BOX
 BOX
 wx:LayoutLine:Box18
 ISEXEC:FALSE
 -198.282340:-320.226258:-900.000000
--161.707340:-330.226258:-900.000000
+-140.722340:-330.226258:-900.000000
 FIN_BOX
 BOX
 vtk:SegmentationConnectivity:Box19
@@ -141,7 +145,7 @@ BOX
 creaMaracasVisu:ManualPaint_Model:Box22
 ISEXEC:FALSE
 132.271803:-217.538352:-900.000000
-177.796803:-227.538352:-900.000000
+192.911803:-227.538352:-900.000000
 PORT
 DistanceFill:"7"
 PORT
@@ -159,20 +163,24 @@ BOX
 creaMaracasVisu:ColorLayerImageView:Box24
 ISEXEC:FALSE
 -93.549175:-238.721391:-900.000000
--45.624175:-248.721391:-900.000000
+-23.669175:-248.721391:-900.000000
 PORT
 TypeControlsInterface:"2"
 PORT
+WinTitle:"Contour"
+PORT
 lstTransparenceBoundaries:"0"
 FIN_BOX
 BOX
 creaMaracasVisu:ColorLayerImageView:Box25
 ISEXEC:FALSE
 -46.164510:-259.315564:-900.000000
-1.760490:-269.315564:-900.000000
+23.715490:-269.315564:-900.000000
 PORT
 TypeControlsInterface:"2"
 PORT
+WinTitle:"Manaul paint over contour"
+PORT
 lstTransparenceBoundaries:"0"
 FIN_BOX
 BOX
@@ -263,27 +271,75 @@ BOX
 creaMaracasVisu:ColorLayerImageView:Box54
 ISEXEC:FALSE
 -251.332481:-197.397418:-900.000000
--203.407481:-207.397418:-900.000000
+-181.452481:-207.397418:-900.000000
 PORT
 TypeControlsInterface:"2"
 PORT
+WinTitle:"Erosion"
+PORT
 lstTransparenceBoundaries:"0"
 FIN_BOX
 BOX
-creaMaracasVisu:ManualPaint_Model:Box51
+wx:LayoutLine:Box41
 ISEXEC:FALSE
-48.967892:-67.006026:-900.000000
-109.607892:-77.006026:-900.000000
-PORT
-GrayLevel:"255"
+-293.553421:-290.492249:-900.000000
+-235.993421:-300.492249:-900.000000
+FIN_BOX
+BOX
+wx:OutputText:Box48
+ISEXEC:FALSE
+-301.854860:-243.823607:-900.000000
+-265.079860:-253.823607:-900.000000
 PORT
-Range:"-1 1"
+Title:"Depth"
+FIN_BOX
+BOX
+wx:OutputText:Box52
+ISEXEC:FALSE
+-276.517436:-256.409984:-900.000000
+-239.742436:-266.409984:-900.000000
 PORT
-ToleranceFill:"5000"
+Title:"Seed"
+FIN_BOX
+BOX
+wx:OutputText:Box53
+ISEXEC:FALSE
+-254.551016:-271.243698:-900.000000
+-217.776016:-281.243698:-900.000000
 PORT
-Tool:"1"
+Title:"Seed"
 FIN_BOX
-CONNECTIONS:73
+BOX
+wx:LayoutTab:Box55
+ISEXEC:FALSE
+-318.814935:-219.886716:-900.000000
+-261.254935:-229.886716:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box56
+ISEXEC:FALSE
+-239.842490:-236.699818:-900.000000
+-182.282490:-246.699818:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box57
+ISEXEC:FALSE
+-190.058428:-253.036375:-900.000000
+-132.498428:-263.036375:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box58
+ISEXEC:FALSE
+-130.743465:-271.398247:-900.000000
+-73.183465:-281.398247:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box59
+ISEXEC:FALSE
+-78.100132:-279.871812:-900.000000
+-20.540132:-289.871812:-900.000000
+FIN_BOX
+CONNECTIONS:80
 CONNECTION
 Box05:Out:Box01:In
 NumberOfControlPoints:0
@@ -321,9 +377,6 @@ CONNECTION
 Box01:wxVtkBaseView4:Box17:WxVtkBaseView2
 NumberOfControlPoints:0
 CONNECTION
-Box13:Widget:Box18:Widget1
-NumberOfControlPoints:0
-CONNECTION
 Box18:Widget:Box14:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -447,18 +500,6 @@ CONNECTION
 InImage:InImage:Box05:In
 NumberOfControlPoints:0
 CONNECTION
-Box25:Widget:Box18:Widget8
-NumberOfControlPoints:0
-CONNECTION
-Box24:Widget:Box18:Widget6
-NumberOfControlPoints:0
-CONNECTION
-Box17:Widget:Box18:Widget4
-NumberOfControlPoints:0
-CONNECTION
-Box54:Widget:Box18:Widget2
-NumberOfControlPoints:0
-CONNECTION
 Box01:wxVtkBaseView4:Box54:WxVtkBaseView2
 NumberOfControlPoints:0
 CONNECTION
@@ -486,21 +527,57 @@ CONNECTION
 Box47:Out:Box49:In1
 NumberOfControlPoints:0
 CONNECTION
-Box49:Out:Box51:DistanceFill
+Box15:Out:Box19:In
+NumberOfControlPoints:0
+CONNECTION
+Box47:Out:Box48:In
+NumberOfControlPoints:0
+CONNECTION
+Box48:Widget:Box41:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box52:In
+NumberOfControlPoints:0
+CONNECTION
+Box52:Widget:Box41:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box53:In
+NumberOfControlPoints:0
+CONNECTION
+Box53:Widget:Box41:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box41:Widget:Box18:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box13:Widget:Box55:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box55:Widget:Box18:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box54:Widget:Box56:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box17:Widget:Box57:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box24:Widget:Box58:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box46:Out:Box51:Point
+Box25:Widget:Box59:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box51:Out:Box19:In
+Box59:Widget:Box18:Widget8
 NumberOfControlPoints:0
 CONNECTION
-Box15:Out:Box51:Image2
+Box58:Widget:Box18:Widget6
 NumberOfControlPoints:0
 CONNECTION
-Box05:Out:Box51:Image
+Box57:Widget:Box18:Widget4
 NumberOfControlPoints:0
 CONNECTION
-Box23:Out:Box51:Range
+Box56:Widget:Box18:Widget3
 NumberOfControlPoints:0
 APP_END
index e6e631bfd8b950fdf8706661a036db259fab3d7a..2c993f0fbf27f6bfafc6b53f32e5401edb32c9b7 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/C8/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs
+# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs
 # ----------------------------------
 
 include std
@@ -31,6 +31,7 @@ new vtk:SegmentationConnectivity Box12
 
 new creaMaracasVisu:ColorLayerImageView Box13
   set Box13.TypeControlsInterface "2"
+  set Box13.WinTitle "General Connectivity"
   set Box13.lstTransparenceBoundaries "0"
 
 new wx:LayoutSplit Box14
@@ -44,6 +45,7 @@ new creaVtk:ImageContinuousErode3D Box15
 
 new creaMaracasVisu:ColorLayerImageView Box17
   set Box17.TypeControlsInterface "2"
+  set Box17.WinTitle "Connectivity after Erosion"
   set Box17.lstTransparenceBoundaries "0"
 
 new wx:LayoutLine Box18
@@ -67,10 +69,12 @@ new std:ConcatStrings Box23
 
 new creaMaracasVisu:ColorLayerImageView Box24
   set Box24.TypeControlsInterface "2"
+  set Box24.WinTitle "Contour"
   set Box24.lstTransparenceBoundaries "0"
 
 new creaMaracasVisu:ColorLayerImageView Box25
   set Box25.TypeControlsInterface "2"
+  set Box25.WinTitle "Manaul paint over contour"
   set Box25.lstTransparenceBoundaries "0"
 
 new vtk:CreateImage Box26
@@ -106,13 +110,29 @@ new std:ConcatStrings Box50
 
 new creaMaracasVisu:ColorLayerImageView Box54
   set Box54.TypeControlsInterface "2"
+  set Box54.WinTitle "Erosion"
   set Box54.lstTransparenceBoundaries "0"
 
-new creaMaracasVisu:ManualPaint_Model Box51
-  set Box51.GrayLevel "255"
-  set Box51.Range "-1 1"
-  set Box51.ToleranceFill "5000"
-  set Box51.Tool "1"
+new wx:LayoutLine Box41
+
+new wx:OutputText Box48
+  set Box48.Title "Depth"
+
+new wx:OutputText Box52
+  set Box52.Title "Seed"
+
+new wx:OutputText Box53
+  set Box53.Title "Seed"
+
+new wx:LayoutTab Box55
+
+new wx:LayoutTab Box56
+
+new wx:LayoutTab Box57
+
+new wx:LayoutTab Box58
+
+new wx:LayoutTab Box59
 
 
 connect Box05.Out Box01.In
@@ -127,7 +147,6 @@ connect Box12.Out Box15.Image
 connect Box01.wxVtkBaseView2 Box17.WxVtkBaseView
 connect Box01.wxVtkBaseView3 Box17.WxVtkBaseView1
 connect Box01.wxVtkBaseView4 Box17.WxVtkBaseView2
-connect Box13.Widget Box18.Widget1
 connect Box18.Widget Box14.Widget1
 connect Box19.Out Box17.In
 connect Box19.Out Box21.Image
@@ -164,10 +183,6 @@ connect Box50.Out Box15.Z
 connect Box50.Out Box21.X
 connect Box50.Out Box21.Y
 connect Box50.Out Box21.Z
-connect Box25.Widget Box18.Widget8
-connect Box24.Widget Box18.Widget6
-connect Box17.Widget Box18.Widget4
-connect Box54.Widget Box18.Widget2
 connect Box01.wxVtkBaseView4 Box54.WxVtkBaseView2
 connect Box01.wxVtkBaseView3 Box54.WxVtkBaseView1
 connect Box01.wxVtkBaseView2 Box54.WxVtkBaseView
@@ -176,12 +191,24 @@ connect Box21.Out Box24.In
 connect Box21.Out Box22.ByImagePoints
 connect Box21.Out Box30.In
 connect Box47.Out Box49.In1
-connect Box49.Out Box51.DistanceFill
-connect Box46.Out Box51.Point
-connect Box51.Out Box19.In
-connect Box15.Out Box51.Image2
-connect Box05.Out Box51.Image
-connect Box23.Out Box51.Range
+connect Box15.Out Box19.In
+connect Box47.Out Box48.In
+connect Box48.Widget Box41.Widget1
+connect Box46.Out Box52.In
+connect Box52.Widget Box41.Widget3
+connect Box23.Out Box53.In
+connect Box53.Widget Box41.Widget6
+connect Box41.Widget Box18.Widget1
+connect Box13.Widget Box55.Widget1
+connect Box55.Widget Box18.Widget2
+connect Box54.Widget Box56.Widget1
+connect Box17.Widget Box57.Widget1
+connect Box24.Widget Box58.Widget2
+connect Box25.Widget Box59.Widget2
+connect Box59.Widget Box18.Widget8
+connect Box58.Widget Box18.Widget6
+connect Box57.Widget Box18.Widget4
+connect Box56.Widget Box18.Widget3
 
 # Complex input ports
 input Threshold Box23.In1 " "