X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fbbs%2Fappli%2FExampleRecalage3D1Point.bbg;h=2ea2d51310cf30610198fa7ecd65c0c1b36928fa;hb=74608070251fc1e5646fc0bf16be33cef8c10d82;hp=560d7b36315a53db80192a87a4c827d6a8e7ff88;hpb=ab5334c59e38e205d1fd826dc7fed9454f5194ab;p=creaRigidRegistration.git diff --git a/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg b/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg index 560d7b3..2ea2d51 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,498 +9,228 @@ DESCRIPTION:Recalage3D 1-point AUTHOR:info-dev@creatis.insa-lyon.fr COMPLEXBOX:FALSE COMPLEXINPUTS:0 -BOXES:36 -BOX -creaMaracasVisu:ViewerNV:viewer -ISEXEC:FALSE -90.360135:-42.468343:-900.000000 -151.000135:-52.468343:-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 -PORT -nTypeView:"5" -FIN_BOX +BOXES:17 BOX wx:LayoutSplit:imagesLayout ISEXEC:FALSE --40.421850:-472.113974:-900.000000 -5.153150:-482.113974:-900.000000 +-54.010260:-77.048824:-900.000000 +-8.435260:-87.048824:-900.000000 PORT -Orientation:"v" +Orientation:"H" 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" +WinTitle:"1. Input Images" FIN_BOX BOX wx:LayoutSplit:resultLayout ISEXEC:FALSE -41.826255:-473.243255:-900.000000 -87.401255:-483.243255:-900.000000 +11.120301:-78.947472:-900.000000 +56.695301:-88.947472:-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 -PORT -Orientation:"h" -PORT -Proportion:"25" +Proportion:"80" PORT -WinHeight:"800" -PORT -WinWidth:"1200" +WinTitle:"2. Registration" FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box22 ISEXEC:FALSE --80.407015:12.725826:-900.000000 --9.232015:2.725826:-900.000000 +107.380883:88.788511:-900.000000 +178.555883:78.788511:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box23 ISEXEC:FALSE -78.836417:-15.052381:-900.000000 -150.011417:-25.052381:-900.000000 +142.515412:74.166661:-900.000000 +213.690412:64.166661:-900.000000 FIN_BOX BOX creaImageIO:ImagesChooserDialogBox:Box24 ISEXEC:FALSE --44.746941:47.713068:-900.000000 -26.428059:37.713068:-900.000000 +33.462854:124.513351:-900.000000 +104.637854:114.513351:-900.000000 +PORT +Title:"Fix Image" FIN_BOX BOX creaImageIO:ImagesChooserDialogBox:Box25 ISEXEC:FALSE -66.270272:48.049484:-900.000000 -137.445272:38.049484:-900.000000 -FIN_BOX -BOX -wx:LayoutTab:Box26 -ISEXEC:FALSE -75.709436:-446.477577:-900.000000 -133.269436:-456.477577:-900.000000 +110.822562:122.452660:-900.000000 +181.997562:112.452660:-900.000000 PORT -WinTitle:"2D-Compare" +Title:"Move Image" FIN_BOX BOX -PackRecalage:CompareImagesWidget:Box27 +PackRecalage:Recalage3D1PointWidget:Box52 ISEXEC:FALSE -30.818476:-420.063285:-900.000000 -101.993476:-430.063285:-900.000000 -PORT -WinTitle:"2D-Comparing" +38.191108:46.064170:-900.000000 +109.366108:36.064170:-900.000000 FIN_BOX BOX -wx:LayoutSplit:Box28 +PackRecalage:CompareImagesWidget3D:Box20 ISEXEC:FALSE -199.046104:-426.771380:-900.000000 -244.621104:-436.771380:-900.000000 +76.232469:5.962266:-900.000000 +147.407469:-4.037734:-900.000000 PORT -Orientation:"H" -PORT -Proportion:"50" -PORT -WinTitle:"3D-Comparing" +WinTitle:"1. Compare 3D" FIN_BOX BOX -wx:LayoutLine:Box29 +PackRecalage:CompareImages_3DwithPlanes_Widget:Box11 ISEXEC:FALSE -135.414196:-398.280657:-900.000000 -192.974196:-408.280657:-900.000000 -FIN_BOX -BOX -wxvtk:IsoSurfaceWidget:Box30 -ISEXEC:FALSE -114.262492:-316.339524:-900.000000 -159.837492:-326.339524:-900.000000 +82.677789:-18.202280:-900.000000 +153.852789:-28.202280:-900.000000 PORT -Title:"Reference image" +WinTitle:"2. Planes 3D" FIN_BOX BOX -wxvtk:IsoSurfaceWidget:Box31 +wx:LayoutSplit:Box12 ISEXEC:FALSE -187.729941:-322.707814:-900.000000 -233.304941:-332.707814:-900.000000 +33.930445:-57.712879:-900.000000 +79.505445:-67.712879:-900.000000 PORT -Title:"Registration image" +Orientation:"H" FIN_BOX BOX -wx:LayoutTab:Box32 +wx:LayoutTab:Box13 ISEXEC:FALSE --168.261119:-240.028813:-900.000000 --110.701119:-250.028813:-900.000000 +62.479203:-39.878969:-900.000000 +120.039203:-49.878969:-900.000000 FIN_BOX BOX -wx:LayoutLine:Box33 +PackRecalage:CompareImagesWidget:Box14 ISEXEC:FALSE --207.303357:-208.910096:-900.000000 --149.743357:-218.910096:-900.000000 +182.152296:24.619190:-900.000000 +253.327296:14.619190:-900.000000 PORT -WinTitle:"Scale" +WinTitle:"2D+t" 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 +wx:LayoutTab:Box15 +ISEXEC:TRUE +5.719422:-104.975080:-900.000000 +63.279422:-114.975080:-900.000000 +PORT +WinHeight:"800" +PORT +WinWidth:"1200" FIN_BOX BOX -wx:Slider:TranslateX +vtk:LoadHola:Box27 ISEXEC:FALSE --220.976208:67.939091:-900.000000 --169.576208:57.939091:-900.000000 +-27.570872:124.059434:-900.000000 +18.004128:114.059434:-900.000000 FIN_BOX BOX -wx:LayoutLine:Box37 +PackRecalage:Getting3D1Point:Box28 ISEXEC:FALSE --144.549789:-208.672448:-900.000000 --86.989789:-218.672448:-900.000000 +4.338710:97.491790:-900.000000 +49.913710:87.491790:-900.000000 PORT -WinTitle:"Translate" +Title:"2. Move Image" FIN_BOX BOX -wx:LayoutTab:Box38 +PackRecalage:Getting3D1Point:Box29 ISEXEC:FALSE -134.239380:-364.807837:-900.000000 -191.799380:-374.807837:-900.000000 +-49.403978:96.251514:-900.000000 +-3.828978:86.251514:-900.000000 +PORT +Title:"1. Fix Image" FIN_BOX BOX -wx:LayoutTab:Box39 +std:MultipleInputs:Box26 ISEXEC:FALSE -71.124395:-366.016312:-900.000000 -128.684395:-376.016312:-900.000000 +36.625880:71.083256:-900.000000 +82.200880:61.083256:-900.000000 FIN_BOX -CONNECTIONS:62 +CONNECTIONS:30 CONNECTION -viewer2:Point:transform:CenterPoint +Box22:Out:Box52:Image1 NumberOfControlPoints:0 CONNECTION -sdrAngleX:Out:transform:AngleX +Box52:Out:Box20:Image2 NumberOfControlPoints:0 CONNECTION -sdrAngleY:Out:transform:AngleY +Box52:BoxChange:Box20:BoxExecute NumberOfControlPoints:0 CONNECTION -sdrAngleZ:Out:transform:AngleZ +Box52:Widget:resultLayout:Widget2 NumberOfControlPoints:0 CONNECTION -sdrScaleX:Out:transform:ScaleX +Box23:Out:Box11:In1 NumberOfControlPoints:0 CONNECTION -sdrScaleY:Out:transform:ScaleY +Box52:Out:Box11:In2 NumberOfControlPoints:0 CONNECTION -sdrScaleZ:Out:transform:ScaleZ +Box20:Widget:Box12:Widget1 NumberOfControlPoints:0 CONNECTION -viewer:Point:reslicer:Origin +Box11:Widget:Box13:Widget1 NumberOfControlPoints:0 CONNECTION -transform:Out:reslicer:Transform +Box13:Widget:Box12:Widget2 NumberOfControlPoints:0 CONNECTION -viewer:BoxChange:mult:In1 +Box12:Widget:resultLayout:Widget1 NumberOfControlPoints:0 CONNECTION -viewer2:BoxChange:mult:In2 +Box23:Out:Box20:Image1 NumberOfControlPoints:0 CONNECTION -sdrAngleX:BoxChange:mult:In3 +Box52:Out:Box14:In2 NumberOfControlPoints:0 CONNECTION -sdrAngleY:BoxChange:mult:In4 +Box23:Out:Box14:In1 NumberOfControlPoints:0 CONNECTION -sdrAngleZ:BoxChange:mult:In5 +Box52:BoxChange:Box13:BoxExecute NumberOfControlPoints:0 CONNECTION -sdrScaleX:BoxChange:mult2:In1 +imagesLayout:Widget:Box15:Widget1 NumberOfControlPoints:0 CONNECTION -sdrScaleY:BoxChange:mult2:In2 +resultLayout:Widget:Box15:Widget2 NumberOfControlPoints:0 CONNECTION -sdrScaleZ:BoxChange:mult2:In3 +Box20:Point:Box11:Point NumberOfControlPoints:0 CONNECTION -mult:BoxChange:mult3:In1 +Box20:BoxChange:Box11:BoxExecute NumberOfControlPoints:0 CONNECTION -mult2:BoxChange:mult3:In2 +Box29:Widget:imagesLayout:Widget1 NumberOfControlPoints:0 CONNECTION -mult3:BoxChange:transform:BoxExecute +Box28:Widget:imagesLayout:Widget2 NumberOfControlPoints:0 CONNECTION -mult3:BoxChange:reslicer:BoxExecute +Box29:BoxChange:Box26:In1 NumberOfControlPoints:0 CONNECTION -reslicer:Out:viewerResult:In +Box28:BoxChange:Box26:In2 NumberOfControlPoints:0 CONNECTION -mult3:BoxChange:viewerResult:BoxExecute +Box26:BoxChange:Box52:BoxExecute NumberOfControlPoints:0 CONNECTION -viewer:Widget:imagesLayout:Widget1 +Box29:Point:Box52:CenterPoint NumberOfControlPoints:0 CONNECTION -viewer2:Widget:imagesLayout:Widget2 +Box28:Point:Box52:OriginPoint NumberOfControlPoints:0 CONNECTION -sdrAngleX:Widget:toolsLayout:Widget1 +Box29:Point:Box20:CenterPoint NumberOfControlPoints:0 CONNECTION -sdrAngleY:Widget:toolsLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:Widget:toolsLayout:Widget3 -NumberOfControlPoints:0 -CONNECTION -imagesLayout:Widget:main:Widget1 -NumberOfControlPoints:0 -CONNECTION -resultLayout:Widget:main:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box22:Out:viewer2:In -NumberOfControlPoints:0 -CONNECTION -Box22:Out:reslicer:In +Box24:Out:Box29:Image NumberOfControlPoints:0 CONNECTION Box24:Out:Box22:In NumberOfControlPoints:0 CONNECTION -Box23:Out:viewer:In +Box25:Out:Box28:Image NumberOfControlPoints:0 CONNECTION Box25:Out:Box23:In NumberOfControlPoints:0 -CONNECTION -Box27:Widget:Box26:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box26:Widget:resultLayout:Widget1 -NumberOfControlPoints:0 -CONNECTION -reslicer:Out:Box27:In2 -NumberOfControlPoints:0 -CONNECTION -Box23:Out:Box27:In1 -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 -CONNECTION -Box31:Widget:Box38:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box38:Widget:Box29:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box39:Widget:Box29:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box30:Widget:Box39:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box23:Out:Box30:In -NumberOfControlPoints:0 -CONNECTION -viewerResult:Renderer1:Box30:vtkRenderer -NumberOfControlPoints:0 -CONNECTION -Box30:BoxChange:mult3:In3 -NumberOfControlPoints:0 -CONNECTION -viewerResult:Renderer1:Box31:vtkRenderer -NumberOfControlPoints:0 -CONNECTION -Box31:BoxChange:mult3:In4 -NumberOfControlPoints:0 -CONNECTION -reslicer:Out:Box31:In -NumberOfControlPoints:0 APP_END