X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_package_creaMiniTools%2Fbbs%2Fappli%2FrescaleSlopeIntercept0.bbg;h=87bddd507dada86b511ab51ea10af697137b8631;hb=d17f518b7b068a524fd9c323cefa7c9022c0588f;hp=7d5f427eac765920a6968dcdf57540a5204a351d;hpb=6a1cb1e499e632bf795ce75a88dd0340f79a37bd;p=creaMiniTools.git diff --git a/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept0.bbg b/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept0.bbg index 7d5f427..87bddd5 100755 --- a/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept0.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept0.bbg @@ -1,6 +1,31 @@ +# --------------------------------------------------------------------- +# +# 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 BBG BlackBox Diagram file -# - /home/pechan/Documents/courses/development/creatis/dev/src/minitools/examples/bbg/rescaleSlopeIntercept/rescaleSlopeIntercept0.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept0.bbg # ---------------------------------- APP_START @@ -8,101 +33,239 @@ CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE -BOXES:9 +BOXES:17 BOX -creaImageIO:ImagesChooserDialogBox:Box00 +vtk:RescaleSlopeIntercept:Box03 ISEXEC:FALSE --72.843408:176.342921:900.000000 --1.668408:166.342921:900.000000 +-74.017840:-40.362994:900.000000 +-2.842840:-50.362994:900.000000 +PORT +Type:0 FIN_BOX BOX -creaMaracasVisu:ViewerNV:Box01 +creaMiniTools:ImagePropertiesWidget:Box06 ISEXEC:FALSE --184.070991:90.448195:900.000000 --123.430991:80.448195:900.000000 +-291.160470:-39.687049:900.000000 +-219.985470:-49.687049:900.000000 +FIN_BOX +BOX +creaMiniTools:ImagePropertiesWidget:Box07 +ISEXEC:FALSE +-9.156032:-87.828145:900.000000 +62.018968:-97.828145:900.000000 +FIN_BOX +BOX +wx:FileSelector:Box10 +ISEXEC:FALSE +-76.471787:160.454710:900.000000 +-30.896787:150.454710:900.000000 +FIN_BOX +BOX +itk:ImageReader:Box11 +ISEXEC:FALSE +-77.970586:138.696535:900.000000 +-32.395586:128.696535:900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box12 +ISEXEC:FALSE +-210.993106:-38.951379:900.000000 +-153.433106:-48.951379:900.000000 +FIN_BOX +BOX +wx:InputText:Box13 +ISEXEC:FALSE +-212.203291:92.382137:900.000000 +-166.628291:82.382137:900.000000 PORT -WinTitle:"View" +In:0 +PORT +Title:Slope FIN_BOX BOX -creaMaracasVisu:ViewerNV:Box02 +wx:InputText:Box14 ISEXEC:FALSE --13.781185:28.406117:900.000000 -46.858815:18.406117:900.000000 +-255.610893:107.943563:900.000000 +-210.035893:97.943563:900.000000 +PORT +In:1 +PORT +Title:"Rescale" FIN_BOX BOX -vtk:RescaleSlopeIntercept:Box03 +wx:OutputText:Box15 ISEXEC:FALSE --4.218730:107.155746:900.000000 -66.956270:97.155746:900.000000 +-266.576289:123.067790:900.000000 +-221.001289:113.067790:900.000000 PORT -Type:0 +In:"NewPixel = Rescale * Pixel + Slope" FIN_BOX BOX -wx:LayoutTab:Box04 +wx:LayoutLine:Box16 ISEXEC:FALSE --137.052530:-32.197745:900.000000 --79.492530:-42.197745:900.000000 +-187.834685:-113.990491:900.000000 +-130.274685:-123.990491:900.000000 PORT -WinTitle:"View" +Orientation:H FIN_BOX BOX -wx:LayoutTab:Box05 +wx:CommandButton:Box17 ISEXEC:FALSE --14.906180:-27.843619:900.000000 -42.653820:-37.843619:900.000000 +-118.719205:-113.734070:900.000000 +-73.144205:-123.734070:900.000000 +PORT +Label:"Run RescaleSlopeIntercept" FIN_BOX BOX -minitools:ImagePropertiesComplexBox:Box06 +toolsbbtk:SaveMHD-Button:Box20 ISEXEC:FALSE --102.862997:84.348209:900.000000 --31.687997:74.348209:900.000000 +-73.123485:-89.855485:900.000000 +-27.548485:-99.855485:900.000000 FIN_BOX BOX -minitools:ImagePropertiesComplexBox:Box07 +wx:RadioButton:Box25 ISEXEC:FALSE -69.148136:33.159909:900.000000 -140.323136:23.159909:900.000000 +-53.103788:71.205646:900.000000 +10.616212:61.205646:900.000000 +PORT +In:2 +PORT +In0:VTK_UNSIGNED_CHAR +PORT +In1:VTK_SIGNED_CHAR +PORT +In2:VTK_UNSIGNED_SHORT +PORT +In3:VTK_SHORT +PORT +In4:VTK_UNSIGNED_INT +PORT +In5:VTK_SIGNED_INT +PORT +In6:VTK_UNSIGNED_LONG +PORT +In7:VTK_SIGNED_LONG +PORT +In8:VTK_FLOAT +PORT +In9:VTK_DOUBLE +PORT +Title:"Output Data Format" FIN_BOX BOX -wx:LayoutSplit:Box08 +std:StringSelect:Box26 +ISEXEC:FALSE +-56.013914:39.801062:900.000000 +-10.438914:29.801062:900.000000 +PORT +In0:"VTK_UNSIGNED_CHAR" +PORT +In1:"VTK_SIGNED_CHAR" +PORT +In2:"VTK_UNSIGNED_SHORT" +PORT +In3:"VTK_SIGNED_SHORT" +PORT +In4:"VTK_UNSIGNED_INT" +PORT +In5:"VTK_SIGNED_INT" +PORT +In6:"VTK_UNSIGNED_LONG" +PORT +In7:"VTK_SIGNED_LONG" +PORT +In8:"VTK_FLOAT" +PORT +In9:"VTK_DOUBLE" +FIN_BOX +BOX +wx:LayoutSplit:Box27 +ISEXEC:FALSE +-50.224898:-147.099582:900.000000 +-4.649898:-157.099582:900.000000 +PORT +Proportion:15 +PORT +WinHeight:300 +PORT +WinWidth:300 +FIN_BOX +BOX +wx:LayoutSplit:Box33 ISEXEC:TRUE --60.436659:-88.124080:900.000000 --14.861659:-98.124080:900.000000 +-148.878714:-166.830345:900.000000 +-103.303714:-176.830345:900.000000 PORT -WinTitle:"RescaleSlopeIntercept 1" +Proportion:90 FIN_BOX -CONNECTIONS:11 +BOX +wx:LayoutSplit:Box34 +ISEXEC:FALSE +-177.327722:-63.587979:900.000000 +-131.752722:-73.587979:900.000000 +FIN_BOX +CONNECTIONS:21 CONNECTION -Box00:Out:Box01:In +Box03:Out:Box07:in NumberOfControlPoints:0 CONNECTION -Box00:Out:Box03:In +Box10:Out:Box11:In NumberOfControlPoints:0 CONNECTION -Box03:Out:Box02:In +Box15:Widget:Box12:Widget1 NumberOfControlPoints:0 CONNECTION -Box01:Widget:Box04:Widget1 +Box06:widget:Box16:Widget1 NumberOfControlPoints:0 CONNECTION -Box02:Widget:Box05:Widget1 +Box03:Out:Box20:In NumberOfControlPoints:0 CONNECTION -Box00:Out:Box06:in +Box26:Out:Box03:OutputFormat NumberOfControlPoints:0 CONNECTION -Box06:widget:Box04:Widget2 +Box25:Out:Box26:In NumberOfControlPoints:0 CONNECTION -Box03:Out:Box07:in +Box14:Out:Box03:A +NumberOfControlPoints:0 +CONNECTION +Box13:Out:Box03:B +NumberOfControlPoints:0 +CONNECTION +Box07:widget:Box27:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box20:Widget:Box27:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box14:Widget:Box12:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box12:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box03:In +NumberOfControlPoints:0 +CONNECTION +Box17:BoxChange:Box27:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box06:in +NumberOfControlPoints:0 +CONNECTION +Box17:Widget:Box33:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box16:Widget:Box33:Widget1 NumberOfControlPoints:0 CONNECTION -Box07:widget:Box05:Widget2 +Box25:Widget:Box34:Widget2 NumberOfControlPoints:0 CONNECTION -Box04:Widget:Box08:Widget1 +Box12:Widget:Box34:Widget1 NumberOfControlPoints:0 CONNECTION -Box05:Widget:Box08:Widget2 +Box34:Widget:Box16:Widget2 NumberOfControlPoints:0 APP_END