From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 6 Nov 2026 14:24:36 +0000 (+0100) Subject: #3406 new segmentation strategy X-Git-Url: http://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f166c51a8c2a73ccf9cfd2dcdb1e42ae3544088c;p=creaContours.git #3406 new segmentation strategy --- diff --git a/bbtk/bbs/boxes/ContourReferenceStep.bbg b/bbtk/bbs/boxes/ContourReferenceStep.bbg index 4cdbf4a..cc9f3c5 100644 --- a/bbtk/bbs/boxes/ContourReferenceStep.bbg +++ b/bbtk/bbs/boxes/ContourReferenceStep.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.6 BBG BlackBox Diagram file -# - /Users/davila/Creatis/C23/creatools_source/creaContours/bbtk/bbs/boxes/ContourReferenceStep.bbg +# - /Users/davila/Creatis/C24/creatools_source/creaContours/bbtk/bbs/boxes/ContourReferenceStep.bbg # ---------------------------------- APP_START @@ -73,7 +73,7 @@ COMPLEX_PORT _direction -153.628900:170.604241:-900.000000 FIN_COMPLEX_PORT -BOXES:86 +BOXES:87 BOX creaContours:SetViewerPosition:Box83 ISEXEC:FALSE @@ -335,20 +335,20 @@ FIN_BOX BOX wx:ComboBox:Box314 ISEXEC:FALSE --62.198240:107.328487:-900.000000 --34.158240:104.828487:-900.000000 +-65.359920:117.811951:-900.000000 +-37.319920:115.311951:-900.000000 PORT In:"void" PORT -Selection:"9" +Selection:"1" PORT Title:"Slice step -/+" FIN_BOX BOX std:CreateArithmeticSuiteVector:Box315 ISEXEC:FALSE --56.427149:120.775726:-900.000000 --32.897149:118.275726:-900.000000 +-32.964158:129.761553:-900.000000 +-9.434158:127.261553:-900.000000 PORT Delta:"1" PORT @@ -359,14 +359,14 @@ FIN_BOX BOX std:ConcatStrings:Box316 ISEXEC:FALSE --58.497315:114.856075:-900.000000 --35.737315:112.356075:-900.000000 +-36.365557:124.507518:-900.000000 +-13.605557:122.007518:-900.000000 FIN_BOX BOX std:ConcatStrings:Box317 ISEXEC:FALSE --71.458692:98.341731:-900.000000 --48.698692:95.841731:-900.000000 +-66.799375:110.156429:-900.000000 +-44.039375:107.656429:-900.000000 FIN_BOX BOX std:StringSelect:Box318 @@ -730,6 +730,14 @@ ISEXEC:FALSE -194.913423:78.614038:-900.000000 -172.153423:76.114038:-900.000000 FIN_BOX +BOX +std:ConcatStrings:Box96 +ISEXEC:FALSE +-62.635372:123.520117:-900.000000 +-39.875372:121.020117:-900.000000 +PORT +In1:"128 64 32 16 8 4 2 1" +FIN_BOX CONNECTIONS:151 CONNECTION Box86:Widget:Box84:Widget2 @@ -813,9 +821,6 @@ CONNECTION Box225:Widget:Box154:Widget5 NumberOfControlPoints:0 CONNECTION -Box316:Out:Box314:In -NumberOfControlPoints:0 -CONNECTION Box315:ArithmeticSuiteVector:Box316:In1 NumberOfControlPoints:0 CONNECTION @@ -1184,4 +1189,7 @@ NumberOfControlPoints:0 CONNECTION Box112:Out:Box111:In3 NumberOfControlPoints:0 +CONNECTION +Box96:Out:Box314:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/ContourReferenceStep.bbs b/bbtk/bbs/boxes/ContourReferenceStep.bbs index bf9ad5d..66dbea5 100644 --- a/bbtk/bbs/boxes/ContourReferenceStep.bbs +++ b/bbtk/bbs/boxes/ContourReferenceStep.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/C23/creatools_source/creaContours/bbtk/bbs/boxes/ContourReferenceStep.bbs +# - /Users/davila/Creatis/C24/creatools_source/creaContours/bbtk/bbs/boxes/ContourReferenceStep.bbs # ---------------------------------- include std @@ -114,7 +114,7 @@ new wx:OutputText Box302 new wx:ComboBox Box314 set Box314.In "void" - set Box314.Selection "9" + set Box314.Selection "1" set Box314.Title "Slice step -/+" new std:CreateArithmeticSuiteVector Box315 @@ -259,6 +259,9 @@ new std:VectorFilterDouble Box111 new std:ConcatStrings Box112 +new std:ConcatStrings Box96 + set Box96.In1 "128 64 32 16 8 4 2 1" + connect Box86.Widget Box84.Widget2 connect Box153.Widget Box154.Widget2 @@ -287,7 +290,6 @@ connect Box302.Widget Box261.Widget5 connect Box302.BoxChange Box295.BoxExecute connect Box256.BoxChange Box302.BoxExecute connect Box225.Widget Box154.Widget5 -connect Box316.Out Box314.In connect Box315.ArithmeticSuiteVector Box316.In1 connect Box314.OutString Box317.In1 connect Box317.Out Box175.In2 @@ -396,6 +398,7 @@ connect Box111.Out1 Box324.In3 connect Box111.Out2 Box324.In5 connect Box174.Out Box112.In1 connect Box112.Out Box111.In3 +connect Box96.Out Box314.In # Complex input ports input _wxvtkbaseview2 Box452.In " "