X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fbbs%2Fappli%2FExampleRecalage3D1Point.bbg;h=c8d2615b4cfb9d4f3cf11ab744d647412dac1c2e;hb=398f6fa7e88b0f408e45de17a7dbde5fa964cae4;hp=560d7b36315a53db80192a87a4c827d6a8e7ff88;hpb=ab5334c59e38e205d1fd826dc7fed9454f5194ab;p=creaRigidRegistration.git diff --git a/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg b/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg index 560d7b3..c8d2615 100644 --- a/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg +++ b/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg @@ -1,29 +1,6 @@ -# --------------------------------------------------------------------- -# -# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image -# pour la Santé) -# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton -# -# This software is governed by the CeCILL-B license under French law and -# abiding by the rules of distribution of free software. You can use, -# modify and/ or redistribute the software under the terms of the CeCILL-B -# license as circulated by CEA, CNRS and INRIA at the following URL -# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -# or in the file LICENSE.txt. -# -# As a counterpart to the access to the source code and rights to copy, -# modify and redistribute granted by the license, users are provided only -# with a limited warranty and the software's author, the holder of the -# economic rights, and the successive licensors have only limited -# liability. -# -# The fact that you are presently reading this means that you have had -# knowledge of the CeCILL-B license and that you accept its terms. -# ------------------------------------------------------------------------ - # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All5/creatools_source/creaRigidRegistration/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg +# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg # ---------------------------------- APP_START @@ -32,178 +9,46 @@ DESCRIPTION:Recalage3D 1-point AUTHOR:info-dev@creatis.insa-lyon.fr COMPLEXBOX:FALSE COMPLEXINPUTS:0 -BOXES:36 +BOXES:15 BOX creaMaracasVisu:ViewerNV:viewer ISEXEC:FALSE -90.360135:-42.468343:-900.000000 -151.000135:-52.468343:-900.000000 +-95.886041:-28.640196:-900.000000 +-50.311041:-38.640196:-900.000000 PORT nTypeView:"5" FIN_BOX BOX creaMaracasVisu:ViewerNV:viewer2 ISEXEC:FALSE --47.024134:-12.908709:-900.000000 -13.615866:-22.908709:-900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -wx:Slider:sdrAngleX -ISEXEC:FALSE --153.088264:-26.096799:-900.000000 --101.688264:-36.096799:-900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -Title:"Rotation angle in X Axis" -FIN_BOX -BOX -wx:Slider:sdrAngleY -ISEXEC:FALSE --124.807150:-48.145742:-900.000000 --73.407150:-58.145742:-900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -Title:"Rotation angle in Y Axis" -FIN_BOX -BOX -wx:Slider:sdrAngleZ -ISEXEC:FALSE --122.668078:-72.632880:-900.000000 --71.268078:-82.632880:-900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -Title:"Rotation angle in Z Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleX -ISEXEC:FALSE --238.911928:-38.853711:-900.000000 --187.511928:-48.853711:-900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -Title:"Scale in X Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleY -ISEXEC:FALSE --251.610900:-55.346663:-900.000000 --200.210900:-65.346663:-900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -Title:"Scale in Y Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleZ -ISEXEC:FALSE --221.246429:-71.526605:-900.000000 --169.846429:-81.526605:-900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -Title:"Scale in Z Axis" -FIN_BOX -BOX -PackRecalage:Transform3D1PointBox:transform -ISEXEC:FALSE --82.895553:-211.980656:-900.000000 --11.720553:-221.980656:-900.000000 -FIN_BOX -BOX -PackRecalage:ReSlicerBox:reslicer -ISEXEC:FALSE -9.868770:-240.662296:-900.000000 -55.443770:-250.662296:-900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult -ISEXEC:FALSE -34.133463:-99.687937:-900.000000 -79.708463:-109.687937:-900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult2 -ISEXEC:FALSE --306.113269:-114.895249:-900.000000 --260.538269:-124.895249:-900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult3 -ISEXEC:FALSE --7.207547:-159.189958:-900.000000 -38.367453:-169.189958:-900.000000 -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewerResult -ISEXEC:FALSE -225.201963:-265.292080:-900.000000 -285.841963:-275.292080:-900.000000 +-30.590585:-28.499929:-900.000000 +14.984415:-38.499929:-900.000000 PORT nTypeView:"5" FIN_BOX BOX wx:LayoutSplit:imagesLayout ISEXEC:FALSE --40.421850:-472.113974:-900.000000 -5.153150:-482.113974:-900.000000 +-11.258778:-56.794727:-900.000000 +34.316222:-66.794727:-900.000000 PORT Orientation:"v" PORT Proportion:"50" FIN_BOX BOX -wx:LayoutLine:toolsLayout -ISEXEC:FALSE --270.366796:-208.839533:-900.000000 --212.806796:-218.839533:-900.000000 -PORT -Orientation:"v" -PORT -WinTitle:"Rotation" -FIN_BOX -BOX wx:LayoutSplit:resultLayout ISEXEC:FALSE -41.826255:-473.243255:-900.000000 -87.401255:-483.243255:-900.000000 +39.262584:-34.045017:-900.000000 +84.837584:-44.045017:-900.000000 PORT Proportion:"70" FIN_BOX BOX wx:LayoutSplit:main ISEXEC:TRUE --3.260949:-500.894082:-900.000000 -42.314051:-510.894082:-900.000000 +30.278173:-76.523303:-900.000000 +75.853173:-86.523303:-900.000000 PORT Orientation:"h" PORT @@ -216,199 +61,70 @@ FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box22 ISEXEC:FALSE --80.407015:12.725826:-900.000000 --9.232015:2.725826:-900.000000 +15.030994:79.476906:-900.000000 +86.205994:69.476906:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box23 ISEXEC:FALSE -78.836417:-15.052381:-900.000000 -150.011417:-25.052381:-900.000000 +94.941217:79.316208:-900.000000 +166.116217:69.316208:-900.000000 FIN_BOX BOX creaImageIO:ImagesChooserDialogBox:Box24 ISEXEC:FALSE --44.746941:47.713068:-900.000000 -26.428059:37.713068:-900.000000 +20.909954:105.817542:-900.000000 +92.084954:95.817542:-900.000000 FIN_BOX BOX creaImageIO:ImagesChooserDialogBox:Box25 ISEXEC:FALSE -66.270272:48.049484:-900.000000 -137.445272:38.049484:-900.000000 +102.275907:106.160598:-900.000000 +173.450907:96.160598:-900.000000 FIN_BOX BOX -wx:LayoutTab:Box26 +PackRecalage:Recalage3D1PointWidget:Box52 ISEXEC:FALSE -75.709436:-446.477577:-900.000000 -133.269436:-456.477577:-900.000000 -PORT -WinTitle:"2D-Compare" -FIN_BOX -BOX -PackRecalage:CompareImagesWidget:Box27 -ISEXEC:FALSE -30.818476:-420.063285:-900.000000 -101.993476:-430.063285:-900.000000 -PORT -WinTitle:"2D-Comparing" -FIN_BOX -BOX -wx:LayoutSplit:Box28 -ISEXEC:FALSE -199.046104:-426.771380:-900.000000 -244.621104:-436.771380:-900.000000 -PORT -Orientation:"H" -PORT -Proportion:"50" -PORT -WinTitle:"3D-Comparing" +82.461349:49.513410:-900.000000 +153.636349:39.513410:-900.000000 FIN_BOX BOX -wx:LayoutLine:Box29 +PackRecalage:CompareImagesWidget3D:Box20 ISEXEC:FALSE -135.414196:-398.280657:-900.000000 -192.974196:-408.280657:-900.000000 +25.866266:24.435408:-900.000000 +97.041266:14.435408:-900.000000 FIN_BOX BOX -wxvtk:IsoSurfaceWidget:Box30 +PackRecalage:CompareImages_3DwithPlanes_Widget:Box11 ISEXEC:FALSE -114.262492:-316.339524:-900.000000 -159.837492:-326.339524:-900.000000 +99.719017:23.927157:-900.000000 +170.894017:13.927157:-900.000000 PORT -Title:"Reference image" +WinTitle:"3D Planes" FIN_BOX BOX -wxvtk:IsoSurfaceWidget:Box31 +wx:LayoutSplit:Box12 ISEXEC:FALSE -187.729941:-322.707814:-900.000000 -233.304941:-332.707814:-900.000000 +83.845176:-12.238888:-900.000000 +129.420176:-22.238888:-900.000000 PORT -Title:"Registration image" -FIN_BOX -BOX -wx:LayoutTab:Box32 -ISEXEC:FALSE --168.261119:-240.028813:-900.000000 --110.701119:-250.028813:-900.000000 -FIN_BOX -BOX -wx:LayoutLine:Box33 -ISEXEC:FALSE --207.303357:-208.910096:-900.000000 --149.743357:-218.910096:-900.000000 -PORT -WinTitle:"Scale" -FIN_BOX -BOX -wx:Slider:TranslateZ -ISEXEC:FALSE --178.833568:35.008744:-900.000000 --127.433568:25.008744:-900.000000 -FIN_BOX -BOX -wx:Slider:TranslateY -ISEXEC:FALSE --198.558287:50.632292:-900.000000 --147.158287:40.632292:-900.000000 +Orientation:"H" FIN_BOX BOX -wx:Slider:TranslateX +wx:LayoutTab:Box13 ISEXEC:FALSE --220.976208:67.939091:-900.000000 --169.576208:57.939091:-900.000000 +98.097060:6.012510:-900.000000 +155.657060:-3.987490:-900.000000 FIN_BOX BOX -wx:LayoutLine:Box37 +PackRecalage:CompareImagesWidget:Box14 ISEXEC:FALSE --144.549789:-208.672448:-900.000000 --86.989789:-218.672448:-900.000000 +182.152296:24.619190:-900.000000 +253.327296:14.619190:-900.000000 PORT -WinTitle:"Translate" -FIN_BOX -BOX -wx:LayoutTab:Box38 -ISEXEC:FALSE -134.239380:-364.807837:-900.000000 -191.799380:-374.807837:-900.000000 -FIN_BOX -BOX -wx:LayoutTab:Box39 -ISEXEC:FALSE -71.124395:-366.016312:-900.000000 -128.684395:-376.016312:-900.000000 +WinTitle:"2D+t" FIN_BOX -CONNECTIONS:62 -CONNECTION -viewer2:Point:transform:CenterPoint -NumberOfControlPoints:0 -CONNECTION -sdrAngleX:Out:transform:AngleX -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:Out:transform:AngleY -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:Out:transform:AngleZ -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:Out:transform:ScaleX -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:Out:transform:ScaleY -NumberOfControlPoints:0 -CONNECTION -sdrScaleZ:Out:transform:ScaleZ -NumberOfControlPoints:0 -CONNECTION -viewer:Point:reslicer:Origin -NumberOfControlPoints:0 -CONNECTION -transform:Out:reslicer:Transform -NumberOfControlPoints:0 -CONNECTION -viewer:BoxChange:mult:In1 -NumberOfControlPoints:0 -CONNECTION -viewer2:BoxChange:mult:In2 -NumberOfControlPoints:0 -CONNECTION -sdrAngleX:BoxChange:mult:In3 -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:BoxChange:mult:In4 -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:BoxChange:mult:In5 -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:BoxChange:mult2:In1 -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:BoxChange:mult2:In2 -NumberOfControlPoints:0 -CONNECTION -sdrScaleZ:BoxChange:mult2:In3 -NumberOfControlPoints:0 -CONNECTION -mult:BoxChange:mult3:In1 -NumberOfControlPoints:0 -CONNECTION -mult2:BoxChange:mult3:In2 -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:transform:BoxExecute -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:reslicer:BoxExecute -NumberOfControlPoints:0 -CONNECTION -reslicer:Out:viewerResult:In -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:viewerResult:BoxExecute -NumberOfControlPoints:0 +CONNECTIONS:23 CONNECTION viewer:Widget:imagesLayout:Widget1 NumberOfControlPoints:0 @@ -416,15 +132,6 @@ CONNECTION viewer2:Widget:imagesLayout:Widget2 NumberOfControlPoints:0 CONNECTION -sdrAngleX:Widget:toolsLayout:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:Widget:toolsLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:Widget:toolsLayout:Widget3 -NumberOfControlPoints:0 -CONNECTION imagesLayout:Widget:main:Widget1 NumberOfControlPoints:0 CONNECTION @@ -434,9 +141,6 @@ CONNECTION Box22:Out:viewer2:In NumberOfControlPoints:0 CONNECTION -Box22:Out:reslicer:In -NumberOfControlPoints:0 -CONNECTION Box24:Out:Box22:In NumberOfControlPoints:0 CONNECTION @@ -446,84 +150,49 @@ CONNECTION Box25:Out:Box23:In NumberOfControlPoints:0 CONNECTION -Box27:Widget:Box26:Widget2 +Box22:Out:Box52:Image1 NumberOfControlPoints:0 CONNECTION -Box26:Widget:resultLayout:Widget1 +Box23:Out:Box52:Image2 NumberOfControlPoints:0 CONNECTION -reslicer:Out:Box27:In2 +Box52:Out:Box20:Image2 NumberOfControlPoints:0 CONNECTION -Box23:Out:Box27:In1 +Box52:BoxChange:Box20:BoxExecute NumberOfControlPoints:0 CONNECTION -viewerResult:Widget:Box28:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box28:Widget:Box26:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box29:Widget:Box28:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:Widget:Box33:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:Widget:Box33:Widget2 -NumberOfControlPoints:0 -CONNECTION -sdrScaleZ:Widget:Box33:Widget3 -NumberOfControlPoints:0 -CONNECTION -Box33:Widget:Box32:Widget2 -NumberOfControlPoints:0 -CONNECTION -toolsLayout:Widget:Box32:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box32:Widget:resultLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -TranslateX:Widget:Box37:Widget1 -NumberOfControlPoints:0 -CONNECTION -TranslateY:Widget:Box37:Widget2 -NumberOfControlPoints:0 -CONNECTION -TranslateZ:Widget:Box37:Widget3 -NumberOfControlPoints:0 -CONNECTION -Box37:Widget:Box32:Widget3 -NumberOfControlPoints:0 +Box52:Widget:resultLayout:Widget2 +NumberOfControlPoints:1 +90.032890:1.161733:-900.000000 CONNECTION -Box31:Widget:Box38:Widget2 +Box23:Out:Box11:In1 NumberOfControlPoints:0 CONNECTION -Box38:Widget:Box29:Widget2 +Box52:Out:Box11:In2 NumberOfControlPoints:0 CONNECTION -Box39:Widget:Box29:Widget1 +Box20:Widget:Box12:Widget1 NumberOfControlPoints:0 CONNECTION -Box30:Widget:Box39:Widget1 +Box11:Widget:Box13:Widget1 NumberOfControlPoints:0 CONNECTION -Box23:Out:Box30:In +Box13:Widget:Box12:Widget2 NumberOfControlPoints:0 CONNECTION -viewerResult:Renderer1:Box30:vtkRenderer +Box12:Widget:resultLayout:Widget1 NumberOfControlPoints:0 CONNECTION -Box30:BoxChange:mult3:In3 +Box23:Out:Box20:Image1 NumberOfControlPoints:0 CONNECTION -viewerResult:Renderer1:Box31:vtkRenderer +Box52:Out:Box14:In2 NumberOfControlPoints:0 CONNECTION -Box31:BoxChange:mult3:In4 +Box23:Out:Box14:In1 NumberOfControlPoints:0 CONNECTION -reslicer:Out:Box31:In +Box52:BoxChange:Box13:BoxExecute NumberOfControlPoints:0 APP_END