X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_package_creaMiniTools%2Fbbs%2Fboxes%2FimageToolsMenu.bbs;h=20673c05b88fd272d6202f76ec2c9c2d371fe680;hb=d17f518b7b068a524fd9c323cefa7c9022c0588f;hp=13148a42184effa2119846e08617f0a017c00b51;hpb=7fc813b598af6bd8b48fc4479243a7f085ff034c;p=creaMiniTools.git diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs index 13148a4..20673c0 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs @@ -1,12 +1,38 @@ +# --------------------------------------------------------------------- +# +# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +# pour la Sant�) +# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +# Previous Authors : Laurent Guigues, Jean-Pierre Roux +# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil +# +# 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.2 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs +# - BBTKGEditor v 1.3 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs # ---------------------------------- include std include itkvtk include wx include std +include creaMiniToolsBase define ImageToolsMenu creaMiniTools @@ -21,23 +47,17 @@ new CommandButton Box00 new CommandButton Box02 set Box02.Label "Viewer NV" -new LayoutLine Box03 - set Box03.WinTitle "Images tools" - new ExecSystemCommand Box04 set Box04.In "bbi creaMiniTools/appli/imageWriterExample.bbs &" new ExecSystemCommand Box06 set Box06.In "bbi creaMiniTools/appli/viewerNVExample.bbs &" -new OutputText Box07 - set Box07.In "Select the Example" - new ExecSystemCommand Box09 set Box09.In "bbi creaMiniTools/appli/synchro2ImageExample.bbs &" new CommandButton Box10 - set Box10.Label "Syncrhonize 2 Images" + set Box10.Label "Synchronize 2 Images" new CommandButton Box11 set Box11.Label "Manual paint" @@ -45,22 +65,76 @@ new CommandButton Box11 new ExecSystemCommand Box12 set Box12.In "bbi creaMiniTools/appli/manualPaint.bbs &" +new CommandButton Box13 + set Box13.Label "Extract Planes" + +new ExecSystemCommand Box14 + set Box14.In "bbi creaMiniTools/appli/SaveImagePlanes.bbs &" + +new LayoutTab Box15 + set Box15.WinTitle "Images Tools" + +new LayoutLine Box18 + +new LayoutLine Box19 + +new RegistrationMenu Box20 + +new RescaleSlopeInterceptMenu Box21 + +new CommandButton Box22 + set Box22.Label "Resampling Image" + +new ExecSystemCommand Box23 + set Box23.In "bbi creaMiniTools/appli/resampling.bbs &" + +new CommandButton Box25 + set Box25.Label "Crop image" + +new ExecSystemCommand Box26 + set Box26.In "bbi creaMiniTools/appli/crop.bbs &" + +new LayoutCenter Box27 + set Box27.WinTitle "Viewers" + +new LayoutCenter Box28 + set Box28.WinTitle "Modify image" + +new CommandButton Box29 + set Box29.Label "Flip Image Y" + +new ExecSystemCommand Box30 + set Box30.In "bbi creaMiniTools/appli/flipImageY.bbs &" + connect Box00.BoxChange Box04.BoxExecute connect Box02.BoxChange Box06.BoxExecute -connect Box07.Widget Box03.Widget1 -connect Box00.Widget Box03.Widget2 -connect Box02.Widget Box03.Widget4 connect Box10.BoxChange Box09.BoxExecute -connect Box10.Widget Box03.Widget5 connect Box11.BoxChange Box12.BoxExecute -connect Box11.Widget Box03.Widget3 - -exec Box03 +connect Box13.BoxChange Box14.BoxExecute +connect Box02.Widget Box18.Widget1 +connect Box10.Widget Box18.Widget2 +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 Box25.BoxChange Box26.BoxExecute +connect Box18.Widget Box27.Widget2 +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 + +exec Box15 # Complex input ports # Complex output ports -output widget Box03.Widget " " +output widget Box15.Widget " " endefine