--- /dev/null
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Borrame/eraseme/lea/Crop2.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:FALSE
+COMPLEXINPUTS:0
+BOXES:8
+BOX
+creaImageIO:ImagesChooserDialogBox:Box00
+ISEXEC:FALSE
+-28.835121:71.879066:-900.000000
+42.339879:61.879066:-900.000000
+FIN_BOX
+BOX
+wx:InputText:Box05
+ISEXEC:FALSE
+-68.566435:51.386851:-900.000000
+-22.991435:41.386851:-900.000000
+PORT
+In:"0 0 0"
+PORT
+ReactiveOnKeystroke:"true"
+PORT
+Title:"Index"
+FIN_BOX
+BOX
+wx:InputText:Box06
+ISEXEC:FALSE
+38.872748:52.969601:-900.000000
+84.447748:42.969601:-900.000000
+PORT
+In:"100 100 100"
+PORT
+Title:"Size"
+FIN_BOX
+BOX
+toolsbbtk:SaveMHD_infoCrop-Button:Box08
+ISEXEC:FALSE
+-117.792829:-37.726351:-900.000000
+-46.617829:-47.726351:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box09
+ISEXEC:FALSE
+-50.792310:-102.076991:-900.000000
+6.767690:-112.076991:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box14
+ISEXEC:FALSE
+-25.868073:-0.412952:-900.000000
+34.771927:-10.412952:-900.000000
+PORT
+nTypeView:"6 1 2 0"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box15
+ISEXEC:TRUE
+-19.202082:-125.284194:-900.000000
+26.372918:-135.284194:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+vtk:ExtractVtkImageFilter:Box16
+ISEXEC:FALSE
+58.942221:4.866486:-900.000000
+130.117221:-5.133514:-900.000000
+FIN_BOX
+CONNECTIONS:12
+CONNECTION
+Box08:Widget:Box09:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box05:Widget:Box09:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box06:Widget:Box09:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box06:Out:Box08:Size
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box08:Index
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:Box14:In
+NumberOfControlPoints:0
+CONNECTION
+Box14:Widget:Box15:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box09:Widget:Box15:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box16:Index
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:Box16:In
+NumberOfControlPoints:0
+CONNECTION
+Box06:Out:Box16:Size
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box08:In
+NumberOfControlPoints:0
+APP_END
--- /dev/null
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /home/davila/Borrame/eraseme/lea/Crop2.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaImageIO
+include wx
+include toolsbbtk
+include creaMaracasVisu
+include vtk
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new creaImageIO:ImagesChooserDialogBox Box00
+
+new wx:InputText Box05
+ set Box05.In "0 0 0"
+ set Box05.ReactiveOnKeystroke "true"
+ set Box05.Title "Index"
+
+new wx:InputText Box06
+ set Box06.In "100 100 100"
+ set Box06.Title "Size"
+
+new toolsbbtk:SaveMHD_infoCrop-Button Box08
+
+new wx:LayoutLine Box09
+
+new creaMaracasVisu:ViewerNV Box14
+ set Box14.nTypeView "6 1 2 0"
+
+new wx:LayoutSplit Box15
+ set Box15.Orientation "H"
+
+new vtk:ExtractVtkImageFilter Box16
+
+
+connect Box08.Widget Box09.Widget3
+
+connect Box05.Widget Box09.Widget1
+
+connect Box06.Widget Box09.Widget2
+
+connect Box06.Out Box08.Size
+
+connect Box05.Out Box08.Index
+
+connect Box00.Out Box14.In
+
+connect Box14.Widget Box15.Widget2
+
+connect Box09.Widget Box15.Widget1
+
+connect Box05.Out Box16.Index
+
+connect Box00.Out Box16.In
+
+connect Box06.Out Box16.Size
+
+connect Box16.Out Box08.In
+
+
+
+# Complex input ports
+exec Box15
--- /dev/null
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:FALSE
+COMPLEXINPUTS:0
+BOXES:13
+BOX
+vtk:RescaleSlopeIntercept:Box00
+ISEXEC:FALSE
+-93.594786:27.580376:-900.000000
+-22.419786:17.580376:-900.000000
+FIN_BOX
+BOX
+vtk:RescaleReslopeIntercept_Interface:Box01
+ISEXEC:FALSE
+-90.027758:59.086399:-900.000000
+-18.852758:49.086399:-900.000000
+FIN_BOX
+BOX
+vtk:LoadHola:Box02
+ISEXEC:FALSE
+-14.983255:98.351695:-900.000000
+30.591745:88.351695:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box03
+ISEXEC:FALSE
+-27.572363:80.314165:-900.000000
+43.602637:70.314165:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box04
+ISEXEC:FALSE
+38.227720:-45.888872:-900.000000
+98.867720:-55.888872:-900.000000
+PORT
+nTypeView:"6 1 2 0"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box05
+ISEXEC:TRUE
+20.726544:-85.193275:-900.000000
+66.301544:-95.193275:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+wx:LayoutTab:Box06
+ISEXEC:FALSE
+-39.979714:-66.072124:-900.000000
+17.580286:-76.072124:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box07
+ISEXEC:FALSE
+-26.720894:-44.371641:-900.000000
+30.839106:-54.371641:-900.000000
+PORT
+WinTitle:"Rescale Reslope"
+FIN_BOX
+BOX
+toolsbbtk:ImageVtkPropertiesWidget:Box08
+ISEXEC:FALSE
+-58.842044:-26.675992:-900.000000
+12.332956:-36.675992:-900.000000
+FIN_BOX
+BOX
+wx:CommandButton:Box09
+ISEXEC:FALSE
+-140.090026:72.000844:-900.000000
+-94.515026:62.000844:-900.000000
+PORT
+Label:"Save"
+FIN_BOX
+BOX
+vtk:MetaImageWriter:Box10
+ISEXEC:FALSE
+-120.763962:-13.111431:-900.000000
+-75.188962:-23.111431:-900.000000
+FIN_BOX
+BOX
+wx:FileSelector:Box11
+ISEXEC:FALSE
+-116.423479:6.820846:-900.000000
+-70.848479:-3.179154:-900.000000
+FIN_BOX
+BOX
+creaImageIO:ImagesChooserDialogBox:Box12
+ISEXEC:FALSE
+-74.063036:121.763775:-900.000000
+-2.888036:111.763775:-900.000000
+FIN_BOX
+CONNECTIONS:18
+CONNECTION
+Box03:Out:Box00:In
+NumberOfControlPoints:0
+CONNECTION
+Box03:Out:Box04:In
+NumberOfControlPoints:0
+CONNECTION
+Box04:Widget:Box05:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box03:Out:Box08:in
+NumberOfControlPoints:0
+CONNECTION
+Box06:Widget:Box05:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box08:widget:Box06:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box07:Widget:Box06:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box01:widget:Box07:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box09:Widget:Box07:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box01:A:Box00:A
+NumberOfControlPoints:0
+CONNECTION
+Box01:B:Box00:B
+NumberOfControlPoints:0
+CONNECTION
+Box01:Format:Box00:OutputFormat
+NumberOfControlPoints:0
+CONNECTION
+Box01:Type:Box00:Type
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box10:Filename
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:Box10:In
+NumberOfControlPoints:0
+CONNECTION
+Box09:BoxChange:Box10:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box03:In
+NumberOfControlPoints:0
+CONNECTION
+Box12:FileName:Box08:FileName
+NumberOfControlPoints:0
+APP_END
--- /dev/null
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include vtk
+include creaMaracasVisu
+include wx
+include toolsbbtk
+include creaImageIO
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new vtk:RescaleSlopeIntercept Box00
+
+new vtk:RescaleReslopeIntercept_Interface Box01
+
+new vtk:LoadHola Box02
+
+new vtk:vtkImageDataPointerRelay Box03
+
+new creaMaracasVisu:ViewerNV Box04
+ set Box04.nTypeView "6 1 2 0"
+
+new wx:LayoutSplit Box05
+ set Box05.Orientation "H"
+
+new wx:LayoutTab Box06
+
+new wx:LayoutLine Box07
+ set Box07.WinTitle "Rescale Reslope"
+
+new toolsbbtk:ImageVtkPropertiesWidget Box08
+
+new wx:CommandButton Box09
+ set Box09.Label "Save"
+
+new vtk:MetaImageWriter Box10
+
+new wx:FileSelector Box11
+
+new creaImageIO:ImagesChooserDialogBox Box12
+
+
+connect Box03.Out Box00.In
+
+connect Box03.Out Box04.In
+
+connect Box04.Widget Box05.Widget2
+
+connect Box03.Out Box08.in
+
+connect Box06.Widget Box05.Widget1
+
+connect Box08.widget Box06.Widget2
+
+connect Box07.Widget Box06.Widget1
+
+connect Box01.widget Box07.Widget1
+
+connect Box09.Widget Box07.Widget2
+
+connect Box01.A Box00.A
+
+connect Box01.B Box00.B
+
+connect Box01.Format Box00.OutputFormat
+
+connect Box01.Type Box00.Type
+
+connect Box11.Out Box10.Filename
+
+connect Box00.Out Box10.In
+
+connect Box09.BoxChange Box10.BoxExecute
+
+connect Box12.Out Box03.In
+
+connect Box12.FileName Box08.FileName
+
+
+
+# Complex input ports
+exec Box05
44.851582:-144.043083:-900.000000
FIN_COMPLEX_PORT
COMPLEXINPUTS:0
-BOXES:38
+BOXES:43
BOX
wx:CommandButton:Box00
ISEXEC:FALSE
--58.953014:221.297331:-900.000000
--13.378014:211.297331:-900.000000
+-58.732573:221.297331:-900.000000
+-13.157573:211.297331:-900.000000
PORT
Label:"Image Writer"
FIN_BOX
BOX
wx:CommandButton:Box13
ISEXEC:FALSE
-174.879193:174.923757:-900.000000
-220.454193:164.923757:-900.000000
+153.167076:171.402873:-900.000000
+198.742076:161.402873:-900.000000
PORT
Label:"Extract Planes"
FIN_BOX
157.703364:-85.511147:-900.000000
FIN_BOX
BOX
-creaMiniToolsBase:RescaleSlopeInterceptMenu:Box21
-ISEXEC:FALSE
-164.228429:-72.888368:-900.000000
-235.403429:-82.888368:-900.000000
-FIN_BOX
-BOX
wx:CommandButton:Box22
ISEXEC:FALSE
-10.799335:167.986699:-900.000000
BOX
wx:CommandButton:Box25
ISEXEC:FALSE
-88.122008:163.211353:-900.000000
-133.697008:153.211353:-900.000000
+89.003772:164.313558:-900.000000
+134.578772:154.313558:-900.000000
PORT
-Label:"Crop image"
+Label:"Crop interactive"
FIN_BOX
BOX
std:ExecSystemCommand:Box26
BOX
wx:CommandButton:Box29
ISEXEC:FALSE
-160.900373:111.336526:-900.000000
-206.475373:101.336526:-900.000000
+184.802886:105.437165:-900.000000
+230.377886:95.437165:-900.000000
PORT
Label:"Flip Image"
FIN_BOX
BOX
std:ExecSystemCommand:Box30
ISEXEC:FALSE
-152.592822:78.912001:-900.000000
-223.767822:68.912001:-900.000000
+163.559849:67.004944:-900.000000
+234.734849:57.004944:-900.000000
FIN_BOX
BOX
wx:CommandButton:Box31
BOX
std:StringSelect:Box39
ISEXEC:FALSE
-108.501164:149.115411:-900.000000
-154.076164:139.115411:-900.000000
+109.382928:150.217616:-900.000000
+154.957928:140.217616:-900.000000
PORT
In0:"bbi creaMiniTools/appli/crop.bbs &"
PORT
BOX
std:StringSelect:Box42
ISEXEC:FALSE
-167.720989:94.027202:-900.000000
-213.295989:84.027202:-900.000000
+178.061328:82.120145:-900.000000
+223.636328:72.120145:-900.000000
PORT
In0:"bbi creaMiniTools/appli/flipImageY.bbs &"
PORT
PORT
In1:"start /b bbi creaMiniTools/appli/PlaneViewer-MHD.bbs &"
FIN_BOX
-CONNECTIONS:47
+BOX
+wx:CommandButton:Box46
+ISEXEC:FALSE
+92.691137:116.197286:-900.000000
+138.266137:106.197286:-900.000000
+PORT
+Label:"Crop Manuel"
+FIN_BOX
+BOX
+std:ExecSystemCommand:Box47
+ISEXEC:FALSE
+96.148029:87.258409:-900.000000
+167.323029:77.258409:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box48
+ISEXEC:FALSE
+113.070293:102.101344:-900.000000
+158.645293:92.101344:-900.000000
+PORT
+In0:"bbi creaMiniTools/appli/Crop2.bbs &"
+PORT
+In1:"start /b bbi creaMiniTools/appli/Crop2.bbs &"
+FIN_BOX
+BOX
+wx:CommandButton:Box49
+ISEXEC:FALSE
+170.021745:44.907856:-900.000000
+215.596745:34.907856:-900.000000
+PORT
+Label:"Rescale-Slope"
+FIN_BOX
+BOX
+std:ExecSystemCommand:Box50
+ISEXEC:FALSE
+167.579324:14.622569:-900.000000
+238.754324:4.622569:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box51
+ISEXEC:FALSE
+180.827429:30.991144:-900.000000
+226.402429:20.991144:-900.000000
+PORT
+In0:"bbi creaMiniTools/appli/rescaleSlopeIntercept.bbs &"
+PORT
+In1:"start /b bbi creaMiniTools/appli/rescaleSlopeIntercept.bbs &"
+FIN_BOX
+CONNECTIONS:53
CONNECTION
Box00:BoxChange:Box04:BoxExecute
NumberOfControlPoints:0
Box20:widget:Box15:Widget3
NumberOfControlPoints:0
CONNECTION
-Box21:widget:Box15:Widget4
-NumberOfControlPoints:0
-CONNECTION
Box22:Widget:Box19:Widget3
NumberOfControlPoints:0
CONNECTION
Box28:Widget:Box15:Widget2
NumberOfControlPoints:0
CONNECTION
-Box13:Widget:Box19:Widget5
-NumberOfControlPoints:0
-CONNECTION
-Box29:Widget:Box19:Widget6
-NumberOfControlPoints:0
-CONNECTION
Box29:BoxChange:Box30:BoxExecute
NumberOfControlPoints:0
CONNECTION
CONNECTION
Box43:Widget:Box18:Widget4
NumberOfControlPoints:0
+CONNECTION
+Box46:BoxChange:Box47:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box48:Out:Box47:In
+NumberOfControlPoints:0
+CONNECTION
+Box46:Widget:Box19:Widget5
+NumberOfControlPoints:0
+CONNECTION
+Box13:Widget:Box19:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box29:Widget:Box19:Widget7
+NumberOfControlPoints:0
+CONNECTION
+Box49:BoxChange:Box50:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box51:Out:Box50:In
+NumberOfControlPoints:0
+CONNECTION
+Box49:Widget:Box19:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box33:SystemType:Box51:In
+NumberOfControlPoints:0
APP_END
new creaMiniToolsBase:RegistrationMenu Box20
-new creaMiniToolsBase:RescaleSlopeInterceptMenu Box21
-
new wx:CommandButton Box22
set Box22.Label "Resampling Image"
new std:ExecSystemCommand Box23
new wx:CommandButton Box25
- set Box25.Label "Crop image"
+ set Box25.Label "Crop interactive"
new std:ExecSystemCommand Box26
set Box45.In0 "bbi creaMiniTools/appli/PlaneViewer-MHD.bbs &"
set Box45.In1 "start /b bbi creaMiniTools/appli/PlaneViewer-MHD.bbs &"
+new wx:CommandButton Box46
+ set Box46.Label "Crop Manuel"
+
+new std:ExecSystemCommand Box47
+
+new std:StringSelect Box48
+ set Box48.In0 "bbi creaMiniTools/appli/Crop2.bbs &"
+ set Box48.In1 "start /b bbi creaMiniTools/appli/Crop2.bbs &"
+
+new wx:CommandButton Box49
+ set Box49.Label "Rescale-Slope"
+
+new std:ExecSystemCommand Box50
+
+new std:StringSelect Box51
+ set Box51.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept.bbs &"
+ set Box51.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept.bbs &"
+
connect Box00.BoxChange Box04.BoxExecute
connect Box02.BoxChange Box06.BoxExecute
connect Box11.Widget Box19.Widget2
connect Box00.Widget Box19.Widget1
connect Box20.widget Box15.Widget3
-connect Box21.widget Box15.Widget4
connect Box22.Widget Box19.Widget3
connect Box22.BoxChange Box23.BoxExecute
connect Box25.Widget Box19.Widget4
connect Box27.Widget Box15.Widget1
connect Box19.Widget Box28.Widget2
connect Box28.Widget Box15.Widget2
-connect Box13.Widget Box19.Widget5
-connect Box29.Widget Box19.Widget6
connect Box29.BoxChange Box30.BoxExecute
connect Box10.Widget Box18.Widget3
connect Box31.BoxChange Box32.BoxExecute
connect Box45.Out Box44.In
connect Box33.SystemType Box45.In
connect Box43.Widget Box18.Widget4
+connect Box46.BoxChange Box47.BoxExecute
+connect Box48.Out Box47.In
+connect Box46.Widget Box19.Widget5
+connect Box13.Widget Box19.Widget6
+connect Box29.Widget Box19.Widget7
+connect Box49.BoxChange Box50.BoxExecute
+connect Box51.Out Box50.In
+connect Box49.Widget Box19.Widget8
+connect Box33.SystemType Box51.In
# Complex input ports