From: Eduardo DAVILA Date: Fri, 19 Jul 2019 07:04:33 +0000 (+0200) Subject: #3277 creaMaracasVisu Feature New Normal - SegmentationConnectivityEED.bbg X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b0163c9d4abc84c3852c383f8e20546db7394eda;p=creaMaracasVisu.git #3277 creaMaracasVisu Feature New Normal - SegmentationConnectivityEED.bbg --- diff --git a/bbtk/bbs/boxes/ManualPaint2.bbg b/bbtk/bbs/boxes/ManualPaint2.bbg index 94d6d33..13b331d 100644 --- a/bbtk/bbs/boxes/ManualPaint2.bbg +++ b/bbtk/bbs/boxes/ManualPaint2.bbg @@ -81,7 +81,7 @@ BOX creaMaracasVisu:ManualPaint_Model:Box00 ISEXEC:FALSE -95.174180:-58.098371:-900.000000 --34.534180:-68.098371:-900.000000 +-49.649180:-68.098371:-900.000000 PORT 2D3D:"1" PORT @@ -125,7 +125,7 @@ BOX creaMaracasVisu:ColorLayerImageView:Box03 ISEXEC:FALSE 64.897021:-66.295426:-900.000000 -134.777021:-76.295426:-900.000000 +112.822021:-76.295426:-900.000000 PORT TypeControlsInterface:"2" PORT @@ -161,7 +161,7 @@ BOX wx:LayoutLine:Box09 ISEXEC:FALSE -96.465052:-132.072726:-900.000000 --38.905052:-142.072726:-900.000000 +-59.890052:-142.072726:-900.000000 FIN_BOX BOX std:GetVectorStringElement:Box11 @@ -215,7 +215,7 @@ BOX wx:RadioButton:Box18 ISEXEC:FALSE -223.537738:36.072184:-900.000000 --159.817738:26.072184:-900.000000 +-130.692204:26.072184:-900.000000 PORT In:"1" PORT @@ -227,7 +227,7 @@ BOX wx:LayoutLine:Box19 ISEXEC:FALSE -182.190843:-97.578092:-900.000000 --124.630843:-107.578092:-900.000000 +-126.138628:-107.578092:-900.000000 PORT Orientation:"H" FIN_BOX diff --git a/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg b/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg index 62caf5e..2ab0182 100644 --- a/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg +++ b/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg @@ -36,7 +36,7 @@ COMPLEX_PORT Depth 168.837546:80.480294:-900.000000 FIN_COMPLEX_PORT -BOXES:29 +BOXES:28 BOX creaMaracasVisu:ViewerNV:Box01 ISEXEC:FALSE @@ -84,8 +84,8 @@ FIN_BOX BOX creaVtk:ImageContinuousErode3D:Box15 ISEXEC:FALSE -87.942542:-23.993286:-900.000000 -139.567542:-33.993286:-900.000000 +87.621790:-22.389524:-900.000000 +139.246790:-32.389524:-900.000000 PORT Repetitions:"2" PORT @@ -114,8 +114,8 @@ FIN_BOX BOX vtk:SegmentationConnectivity:Box19 ISEXEC:FALSE -83.281655:-53.204430:-900.000000 -135.281655:-63.204430:-900.000000 +99.652857:-87.146448:-900.000000 +151.652857:-97.146448:-900.000000 PORT ThresholdMinMax:"250 260" PORT @@ -124,10 +124,10 @@ FIN_BOX BOX creaVtk:ImageContinuousDilate3D:Box21 ISEXEC:FALSE -108.632676:-80.787206:-900.000000 -160.232676:-90.787206:-900.000000 +111.292224:-122.150979:-900.000000 +162.892224:-132.150979:-900.000000 PORT -Repetitions:"1" +Repetitions:"0" PORT X:"3" PORT @@ -138,8 +138,8 @@ FIN_BOX BOX creaMaracasVisu:ManualPaint_Model:Box22 ISEXEC:FALSE -166.913061:-229.726943:-900.000000 -227.553061:-239.726943:-900.000000 +132.271803:-217.538352:-900.000000 +192.911803:-227.538352:-900.000000 PORT DistanceFill:"7" PORT @@ -240,24 +240,14 @@ ISEXEC:FALSE 204.912546:30.909042:-900.000000 FIN_BOX BOX -std:MathOperation:Box48 -ISEXEC:FALSE -185.776689:-58.139557:-900.000000 -226.826689:-68.139557:-900.000000 -PORT -In2:"3" -PORT -Type:"2" -FIN_BOX -BOX std:MathOperation:Box49 ISEXEC:FALSE -186.980766:-82.444232:-900.000000 -228.030766:-92.444232:-900.000000 +197.798232:-2.006132:-900.000000 +238.848232:-12.006132:-900.000000 PORT -In2:"0" +In2:"2" PORT -Type:"0" +Type:"2" FIN_BOX BOX std:ConcatStrings:Box50 @@ -268,20 +258,6 @@ PORT In1:"3" FIN_BOX BOX -creaVtk:ImageContinuousErode3D:Box53 -ISEXEC:FALSE -110.157775:-104.048010:-900.000000 -161.782775:-114.048010:-900.000000 -PORT -Repetitions:"1" -PORT -X:"3" -PORT -Y:"3" -PORT -Z:"3" -FIN_BOX -BOX creaMaracasVisu:ColorLayerImageView:Box54 ISEXEC:FALSE -251.332481:-197.397418:-900.000000 @@ -291,7 +267,21 @@ TypeControlsInterface:"2" PORT lstTransparenceBoundaries:"0" FIN_BOX -CONNECTIONS:71 +BOX +creaMaracasVisu:ManualPaint_Model:Box51 +ISEXEC:FALSE +46.774260:-61.986460:-900.000000 +107.414260:-71.986460:-900.000000 +PORT +GrayLevel:"255" +PORT +Range:"-1 1" +PORT +ToleranceFill:"5000" +PORT +Tool:"1" +FIN_BOX +CONNECTIONS:73 CONNECTION Box05:Out:Box01:In NumberOfControlPoints:0 @@ -335,9 +325,6 @@ CONNECTION Box18:Widget:Box14:Widget1 NumberOfControlPoints:0 CONNECTION -Box15:Out:Box19:In -NumberOfControlPoints:0 -CONNECTION Box19:Out:Box17:In NumberOfControlPoints:0 CONNECTION @@ -434,12 +421,6 @@ CONNECTION Box47:Out:Box15:Repetitions NumberOfControlPoints:0 CONNECTION -Box47:Out:Box48:In1 -NumberOfControlPoints:0 -CONNECTION -Box48:Out:Box49:In1 -NumberOfControlPoints:0 -CONNECTION Box49:Out:Box22:DistanceFill NumberOfControlPoints:0 CONNECTION @@ -452,9 +433,6 @@ CONNECTION Box50:Out:Box15:Z NumberOfControlPoints:0 CONNECTION -Box50:Out:Box48:In2 -NumberOfControlPoints:0 -CONNECTION Box50:Out:Box21:X NumberOfControlPoints:0 CONNECTION @@ -464,18 +442,6 @@ CONNECTION Box50:Out:Box21:Z NumberOfControlPoints:0 CONNECTION -Box53:Out:Box22:ByImagePoints -NumberOfControlPoints:0 -CONNECTION -Box53:Out:Box30:In -NumberOfControlPoints:0 -CONNECTION -Box53:Out:Box24:In -NumberOfControlPoints:0 -CONNECTION -Box21:Out:Box53:Image -NumberOfControlPoints:0 -CONNECTION InImage:InImage:Box05:In NumberOfControlPoints:0 CONNECTION @@ -505,4 +471,34 @@ NumberOfControlPoints:0 CONNECTION Box14:Widget:OutWidget:OutWidget NumberOfControlPoints:0 +CONNECTION +Box21:Out:Box24:In +NumberOfControlPoints:0 +CONNECTION +Box21:Out:Box22:ByImagePoints +NumberOfControlPoints:0 +CONNECTION +Box21:Out:Box30:In +NumberOfControlPoints:0 +CONNECTION +Box47:Out:Box49:In1 +NumberOfControlPoints:0 +CONNECTION +Box49:Out:Box51:DistanceFill +NumberOfControlPoints:0 +CONNECTION +Box46:Out:Box51:Point +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box19:In +NumberOfControlPoints:0 +CONNECTION +Box15:Out:Box51:Image2 +NumberOfControlPoints:0 +CONNECTION +Box05:Out:Box51:Image +NumberOfControlPoints:0 +CONNECTION +Box23:Out:Box51:Range +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs b/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs index 8c1efa2..698393c 100644 --- a/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs +++ b/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs @@ -52,7 +52,7 @@ new vtk:SegmentationConnectivity Box19 set Box19.Value "255" new creaVtk:ImageContinuousDilate3D Box21 - set Box21.Repetitions "1" + set Box21.Repetitions "0" set Box21.X "3" set Box21.Y "3" set Box21.Z "3" @@ -96,27 +96,23 @@ new std:ConcatStrings Box46 new std:MagicBox Box47 -new std:MathOperation Box48 - set Box48.In2 "3" - set Box48.Type "2" - new std:MathOperation Box49 - set Box49.In2 "0" - set Box49.Type "0" + set Box49.In2 "2" + set Box49.Type "2" new std:ConcatStrings Box50 set Box50.In1 "3" -new creaVtk:ImageContinuousErode3D Box53 - set Box53.Repetitions "1" - set Box53.X "3" - set Box53.Y "3" - set Box53.Z "3" - new creaMaracasVisu:ColorLayerImageView Box54 set Box54.TypeControlsInterface "2" 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" + connect Box05.Out Box01.In connect Box05.Out Box12.In @@ -132,7 +128,6 @@ connect Box01.wxVtkBaseView3 Box17.WxVtkBaseView1 connect Box01.wxVtkBaseView4 Box17.WxVtkBaseView2 connect Box13.Widget Box18.Widget1 connect Box18.Widget Box14.Widget1 -connect Box15.Out Box19.In connect Box19.Out Box17.In connect Box19.Out Box21.Image connect Box23.Out Box12.ThresholdMinMax @@ -161,20 +156,13 @@ connect Box05.Out Box45.In connect Box46.Out Box12.PositionXYZ connect Box46.Out Box19.PositionXYZ connect Box47.Out Box15.Repetitions -connect Box47.Out Box48.In1 -connect Box48.Out Box49.In1 connect Box49.Out Box22.DistanceFill connect Box50.Out Box15.X connect Box50.Out Box15.Y connect Box50.Out Box15.Z -connect Box50.Out Box48.In2 connect Box50.Out Box21.X connect Box50.Out Box21.Y connect Box50.Out Box21.Z -connect Box53.Out Box22.ByImagePoints -connect Box53.Out Box30.In -connect Box53.Out Box24.In -connect Box21.Out Box53.Image connect Box25.Widget Box18.Widget8 connect Box24.Widget Box18.Widget6 connect Box17.Widget Box18.Widget4 @@ -183,6 +171,16 @@ connect Box01.wxVtkBaseView4 Box54.WxVtkBaseView2 connect Box01.wxVtkBaseView3 Box54.WxVtkBaseView1 connect Box01.wxVtkBaseView2 Box54.WxVtkBaseView connect Box15.Out Box54.In +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 # Complex input ports input Threshold Box23.In1 " "