]> Creatis software - creaMaracasVisu.git/commitdiff
#3277 creaMaracasVisu Feature New Normal - SegmentationConnectivityEED.bbg
authorEduardo DAVILA <davila@ei-ed-606.creatis.insa-lyon.fr>
Fri, 12 Jul 2019 12:57:34 +0000 (14:57 +0200)
committerEduardo DAVILA <davila@ei-ed-606.creatis.insa-lyon.fr>
Fri, 12 Jul 2019 12:57:34 +0000 (14:57 +0200)
bbtk/bbs/boxes/SegmentationConnectivityEED.bbg [new file with mode: 0644]
bbtk/bbs/boxes/SegmentationConnectivityEED.bbs [new file with mode: 0644]
bbtk/src/bbcreaMaracasVisuManualPaint_Model.h

diff --git a/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg b/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg
new file mode 100644 (file)
index 0000000..4b6bc23
--- /dev/null
@@ -0,0 +1,504 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/C8/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/SegmentationConnectivityEED.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:SegmentationConnectivityEED
+PACKAGENAME:creaMaracasVisu
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+resultImage
+242.883897:-388.230142:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:4
+COMPLEX_PORT
+Threshold
+287.551302:88.983208:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+pointSeed
+107.354939:99.775368:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+InImage
+-22.150977:108.278281:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Depth
+168.837546:80.480294:-900.000000
+FIN_COMPLEX_PORT
+BOXES:29
+BOX
+creaMaracasVisu:ViewerNV:Box01
+ISEXEC:FALSE
+-218.034362:-37.747977:-900.000000
+-154.314362:-47.747977:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ImageChangeInformation:Box05
+ISEXEC:FALSE
+-18.514127:33.418280:-900.000000
+33.010873:23.418280:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box09
+ISEXEC:FALSE
+-72.239823:-322.710201:-900.000000
+-14.679823:-332.710201:-900.000000
+FIN_BOX
+BOX
+vtk:SegmentationConnectivity:Box12
+ISEXEC:FALSE
+58.121789:-1.265810:-900.000000
+110.121789:-11.265810:-900.000000
+PORT
+Value:"255"
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box13
+ISEXEC:FALSE
+-310.837483:-180.661458:-900.000000
+-240.957483:-190.661458:-900.000000
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box14
+ISEXEC:FALSE
+-141.472047:-363.326153:-900.000000
+-102.392047:-373.326153:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+creaVtk:ImageContinuousErode3D:Box15
+ISEXEC:FALSE
+87.942542:-23.993286:-900.000000
+139.567542:-33.993286:-900.000000
+PORT
+Repetitions:"2"
+PORT
+X:"3"
+PORT
+Y:"3"
+PORT
+Z:"3"
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box17
+ISEXEC:FALSE
+-182.971774:-213.746563:-900.000000
+-113.091774:-223.746563:-900.000000
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
+FIN_BOX
+BOX
+wx:LayoutLine:Box18
+ISEXEC:FALSE
+-198.282340:-320.226258:-900.000000
+-140.722340:-330.226258:-900.000000
+FIN_BOX
+BOX
+vtk:SegmentationConnectivity:Box19
+ISEXEC:FALSE
+83.281655:-53.204430:-900.000000
+135.281655:-63.204430:-900.000000
+PORT
+ThresholdMinMax:"250 260"
+PORT
+Value:"255"
+FIN_BOX
+BOX
+creaVtk:ImageContinuousDilate3D:Box21
+ISEXEC:FALSE
+108.632676:-80.787206:-900.000000
+160.232676:-90.787206:-900.000000
+PORT
+Repetitions:"1"
+PORT
+X:"3"
+PORT
+Y:"3"
+PORT
+Z:"3"
+FIN_BOX
+BOX
+creaMaracasVisu:ManualPaint_Model:Box22
+ISEXEC:FALSE
+166.913061:-229.726943:-900.000000
+212.438061:-239.726943:-900.000000
+PORT
+DistanceFill:"7"
+PORT
+GrayLevel:"200"
+PORT
+ToleranceFill:"5000"
+FIN_BOX
+BOX
+std:ConcatStrings:Box23
+ISEXEC:FALSE
+279.652968:41.704292:-900.000000
+319.377968:31.704292:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box24
+ISEXEC:FALSE
+-93.549175:-238.721391:-900.000000
+-23.669175:-248.721391:-900.000000
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box25
+ISEXEC:FALSE
+-46.164510:-259.315564:-900.000000
+23.715490:-269.315564:-900.000000
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
+FIN_BOX
+BOX
+vtk:CreateImage:Box26
+ISEXEC:FALSE
+192.638067:-163.006570:-900.000000
+231.988067:-173.006570:-900.000000
+FIN_BOX
+BOX
+vtk:ImageVtkProperties:Box30
+ISEXEC:FALSE
+193.120422:-133.692309:-900.000000
+238.470422:-143.692309:-900.000000
+FIN_BOX
+BOX
+vtk:InversCrop:Box31
+ISEXEC:FALSE
+194.141721:-184.430525:-900.000000
+230.941721:-194.430525:-900.000000
+PORT
+Origin:"0 0 0"
+PORT
+Type:"1"
+FIN_BOX
+BOX
+vtk:BinaryOperations:Box42
+ISEXEC:FALSE
+228.848881:-297.021504:-900.000000
+271.798881:-307.021504:-900.000000
+FIN_BOX
+BOX
+std:GetVectorStringElement:Box43
+ISEXEC:FALSE
+269.393064:-39.079678:-900.000000
+318.793064:-49.079678:-900.000000
+PORT
+I:"0"
+FIN_BOX
+BOX
+std:GetVectorStringElement:Box44
+ISEXEC:FALSE
+335.557143:-38.235763:-900.000000
+384.957143:-48.235763:-900.000000
+PORT
+I:"1"
+FIN_BOX
+BOX
+itk:BinaryThresholdImageFilter:Box45
+ISEXEC:FALSE
+301.535511:-181.107983:-900.000000
+353.710511:-191.107983:-900.000000
+PORT
+InsideValue:"126"
+PORT
+OutsideValue:"0"
+FIN_BOX
+BOX
+std:ConcatStrings:Box46
+ISEXEC:FALSE
+98.852025:37.311656:-900.000000
+138.577025:27.311656:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box47
+ISEXEC:FALSE
+168.837546:40.909042:-900.000000
+204.912546:30.909042:-900.000000
+FIN_BOX
+BOX
+std:MathOperation:Box48
+ISEXEC:FALSE
+185.776689:-58.139557:-900.000000
+226.826689:-68.139557:-900.000000
+PORT
+In2:"3"
+PORT
+Type:"2"
+FIN_BOX
+BOX
+std:MathOperation:Box49
+ISEXEC:FALSE
+186.980766:-82.444232:-900.000000
+228.030766:-92.444232:-900.000000
+PORT
+In2:"0"
+PORT
+Type:"0"
+FIN_BOX
+BOX
+std:ConcatStrings:Box50
+ISEXEC:FALSE
+151.373438:2.779371:-900.000000
+191.098438:-7.220629:-900.000000
+PORT
+In1:"3"
+FIN_BOX
+BOX
+creaVtk:ImageContinuousErode3D:Box53
+ISEXEC:FALSE
+110.157775:-104.048010:-900.000000
+161.782775:-114.048010:-900.000000
+PORT
+Repetitions:"1"
+PORT
+X:"3"
+PORT
+Y:"3"
+PORT
+Z:"3"
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box54
+ISEXEC:FALSE
+-251.332481:-197.397418:-900.000000
+-181.452481:-207.397418:-900.000000
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
+FIN_BOX
+CONNECTIONS:71
+CONNECTION
+Box05:Out:Box01:In
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box12:In
+NumberOfControlPoints:0
+CONNECTION
+Box01:Widget:Box09:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box13:In
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView2:Box13:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView3:Box13:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView4:Box13:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box09:Widget:Box14:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box15:Image
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView2:Box17:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView3:Box17:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView4:Box17:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box13:Widget:Box18:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box18:Widget:Box14:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box19:In
+NumberOfControlPoints:0
+CONNECTION
+Box19:Out:Box17:In
+NumberOfControlPoints:0
+CONNECTION
+Box19:Out:Box21:Image
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box12:ThresholdMinMax
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box22:Image
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView2:Box24:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView3:Box24:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView4:Box24:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box22:Out:Box25:In
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView2:Box25:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView3:Box25:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView4:Box25:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box22:Range
+NumberOfControlPoints:0
+CONNECTION
+Box30:TypeName:Box26:OutputFormat
+NumberOfControlPoints:0
+CONNECTION
+Box30:Spacing:Box26:Spacing
+NumberOfControlPoints:0
+CONNECTION
+Box30:Size:Box26:Dimensions
+NumberOfControlPoints:0
+CONNECTION
+Box26:Out:Box31:ImageFix
+NumberOfControlPoints:0
+CONNECTION
+Box31:Out:Box22:Image2
+NumberOfControlPoints:0
+CONNECTION
+Box19:Out:Box31:ImageMove
+NumberOfControlPoints:0
+CONNECTION
+Box22:Out:Box42:In2
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box44:In
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box43:In
+NumberOfControlPoints:0
+CONNECTION
+Box43:Out:Box45:LowerThreshold
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:Box45:UpperThreshold
+NumberOfControlPoints:0
+CONNECTION
+Box45:Out:Box42:In1
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box45:In
+NumberOfControlPoints:0
+CONNECTION
+Box42:Out:resultImage:resultImage
+NumberOfControlPoints:0
+CONNECTION
+Threshold:Threshold:Box23:In1
+NumberOfControlPoints:0
+CONNECTION
+pointSeed:pointSeed:Box46:In1
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box12:PositionXYZ
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box19:PositionXYZ
+NumberOfControlPoints:0
+CONNECTION
+Depth:Depth:Box47:In
+NumberOfControlPoints:0
+CONNECTION
+Box47:Out:Box15:Repetitions
+NumberOfControlPoints:0
+CONNECTION
+Box47:Out:Box48:In1
+NumberOfControlPoints:0
+CONNECTION
+Box48:Out:Box49:In1
+NumberOfControlPoints:0
+CONNECTION
+Box49:Out:Box22:DistanceFill
+NumberOfControlPoints:0
+CONNECTION
+Box50:Out:Box15:X
+NumberOfControlPoints:0
+CONNECTION
+Box50:Out:Box15:Y
+NumberOfControlPoints:0
+CONNECTION
+Box50:Out:Box15:Z
+NumberOfControlPoints:0
+CONNECTION
+Box50:Out:Box48:In2
+NumberOfControlPoints:0
+CONNECTION
+Box50:Out:Box21:X
+NumberOfControlPoints:0
+CONNECTION
+Box50:Out:Box21:Y
+NumberOfControlPoints:0
+CONNECTION
+Box50:Out:Box21:Z
+NumberOfControlPoints:0
+CONNECTION
+Box42:BoxChange:Box14:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box53:Out:Box22:ByImagePoints
+NumberOfControlPoints:0
+CONNECTION
+Box53:Out:Box30:In
+NumberOfControlPoints:0
+CONNECTION
+Box53:Out:Box24:In
+NumberOfControlPoints:0
+CONNECTION
+Box21:Out:Box53:Image
+NumberOfControlPoints:0
+CONNECTION
+InImage:InImage:Box05:In
+NumberOfControlPoints:0
+CONNECTION
+Box25:Widget:Box18:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box24:Widget:Box18:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box17:Widget:Box18:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box54:Widget:Box18:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView4:Box54:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView3:Box54:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView2:Box54:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box54:In
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs b/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs
new file mode 100644 (file)
index 0000000..696cdf9
--- /dev/null
@@ -0,0 +1,198 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/C8/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/SegmentationConnectivityEED.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include wx
+include vtk
+include creaVtk
+include std
+include itk
+
+define SegmentationConnectivityEED creaMaracasVisu
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new creaMaracasVisu:ViewerNV Box01
+
+new creaMaracasVisu:ImageChangeInformation Box05
+
+new wx:LayoutTab Box09
+
+new vtk:SegmentationConnectivity Box12
+  set Box12.Value "255"
+
+new creaMaracasVisu:ColorLayerImageView Box13
+  set Box13.TypeControlsInterface "2"
+  set Box13.lstTransparenceBoundaries "0"
+
+new wx:LayoutSplit Box14
+  set Box14.Orientation "H"
+
+new creaVtk:ImageContinuousErode3D Box15
+  set Box15.Repetitions "2"
+  set Box15.X "3"
+  set Box15.Y "3"
+  set Box15.Z "3"
+
+new creaMaracasVisu:ColorLayerImageView Box17
+  set Box17.TypeControlsInterface "2"
+  set Box17.lstTransparenceBoundaries "0"
+
+new wx:LayoutLine Box18
+
+new vtk:SegmentationConnectivity Box19
+  set Box19.ThresholdMinMax "250 260"
+  set Box19.Value "255"
+
+new creaVtk:ImageContinuousDilate3D Box21
+  set Box21.Repetitions "1"
+  set Box21.X "3"
+  set Box21.Y "3"
+  set Box21.Z "3"
+
+new creaMaracasVisu:ManualPaint_Model Box22
+  set Box22.DistanceFill "7"
+  set Box22.GrayLevel "200"
+  set Box22.ToleranceFill "5000"
+
+new std:ConcatStrings Box23
+
+new creaMaracasVisu:ColorLayerImageView Box24
+  set Box24.TypeControlsInterface "2"
+  set Box24.lstTransparenceBoundaries "0"
+
+new creaMaracasVisu:ColorLayerImageView Box25
+  set Box25.TypeControlsInterface "2"
+  set Box25.lstTransparenceBoundaries "0"
+
+new vtk:CreateImage Box26
+
+new vtk:ImageVtkProperties Box30
+
+new vtk:InversCrop Box31
+  set Box31.Origin "0 0 0"
+  set Box31.Type "1"
+
+new vtk:BinaryOperations Box42
+
+new std:GetVectorStringElement Box43
+  set Box43.I "0"
+
+new std:GetVectorStringElement Box44
+  set Box44.I "1"
+
+new itk:BinaryThresholdImageFilter Box45
+  set Box45.InsideValue "126"
+  set Box45.OutsideValue "0"
+
+new std:ConcatStrings Box46
+
+new std:MagicBox Box47
+
+new std:MathOperation Box48
+  set Box48.In2 "3"
+  set Box48.Type "2"
+
+new std:MathOperation Box49
+  set Box49.In2 "0"
+  set Box49.Type "0"
+
+new std:ConcatStrings Box50
+  set Box50.In1 "3"
+
+new creaVtk:ImageContinuousErode3D Box53
+  set Box53.Repetitions "1"
+  set Box53.X "3"
+  set Box53.Y "3"
+  set Box53.Z "3"
+
+new creaMaracasVisu:ColorLayerImageView Box54
+  set Box54.TypeControlsInterface "2"
+  set Box54.lstTransparenceBoundaries "0"
+
+
+connect Box05.Out Box01.In
+connect Box05.Out Box12.In
+connect Box01.Widget Box09.Widget1
+connect Box12.Out Box13.In
+connect Box01.wxVtkBaseView2 Box13.WxVtkBaseView
+connect Box01.wxVtkBaseView3 Box13.WxVtkBaseView1
+connect Box01.wxVtkBaseView4 Box13.WxVtkBaseView2
+connect Box09.Widget Box14.Widget2
+connect Box12.Out Box15.Image
+connect Box01.wxVtkBaseView2 Box17.WxVtkBaseView
+connect Box01.wxVtkBaseView3 Box17.WxVtkBaseView1
+connect Box01.wxVtkBaseView4 Box17.WxVtkBaseView2
+connect Box13.Widget Box18.Widget1
+connect Box18.Widget Box14.Widget1
+connect Box15.Out Box19.In
+connect Box19.Out Box17.In
+connect Box19.Out Box21.Image
+connect Box23.Out Box12.ThresholdMinMax
+connect Box05.Out Box22.Image
+connect Box01.wxVtkBaseView2 Box24.WxVtkBaseView
+connect Box01.wxVtkBaseView3 Box24.WxVtkBaseView1
+connect Box01.wxVtkBaseView4 Box24.WxVtkBaseView2
+connect Box22.Out Box25.In
+connect Box01.wxVtkBaseView2 Box25.WxVtkBaseView
+connect Box01.wxVtkBaseView3 Box25.WxVtkBaseView1
+connect Box01.wxVtkBaseView4 Box25.WxVtkBaseView2
+connect Box23.Out Box22.Range
+connect Box30.TypeName Box26.OutputFormat
+connect Box30.Spacing Box26.Spacing
+connect Box30.Size Box26.Dimensions
+connect Box26.Out Box31.ImageFix
+connect Box31.Out Box22.Image2
+connect Box19.Out Box31.ImageMove
+connect Box22.Out Box42.In2
+connect Box23.Out Box44.In
+connect Box23.Out Box43.In
+connect Box43.Out Box45.LowerThreshold
+connect Box44.Out Box45.UpperThreshold
+connect Box45.Out Box42.In1
+connect Box05.Out Box45.In
+connect Box46.Out Box12.PositionXYZ
+connect Box46.Out Box19.PositionXYZ
+connect Box47.Out Box15.Repetitions
+connect Box47.Out Box48.In1
+connect Box48.Out Box49.In1
+connect Box49.Out Box22.DistanceFill
+connect Box50.Out Box15.X
+connect Box50.Out Box15.Y
+connect Box50.Out Box15.Z
+connect Box50.Out Box48.In2
+connect Box50.Out Box21.X
+connect Box50.Out Box21.Y
+connect Box50.Out Box21.Z
+connect Box42.BoxChange Box14.BoxExecute
+connect Box53.Out Box22.ByImagePoints
+connect Box53.Out Box30.In
+connect Box53.Out Box24.In
+connect Box21.Out Box53.Image
+connect Box25.Widget Box18.Widget8
+connect Box24.Widget Box18.Widget6
+connect Box17.Widget Box18.Widget4
+connect Box54.Widget Box18.Widget2
+connect Box01.wxVtkBaseView4 Box54.WxVtkBaseView2
+connect Box01.wxVtkBaseView3 Box54.WxVtkBaseView1
+connect Box01.wxVtkBaseView2 Box54.WxVtkBaseView
+connect Box15.Out Box54.In
+
+# Complex input ports
+input Threshold Box23.In1 " "
+input pointSeed Box46.In1 " "
+input Depth Box47.In " "
+input InImage Box05.In " "
+
+# Complex output ports
+output resultImage Box42.Out " "
+
+
+endefine
index a363219680aa92db596401ef78a71c74811b6e70..ddeb4fa76a03db5067d48e0b1d55f5064d858c11 100644 (file)
@@ -61,7 +61,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ManualPaint_Model,bbtk::AtomicBlackBox);
   BBTK_INPUT(ManualPaint_Model,Image,"Image input / image result",vtkImageData*,"");
   BBTK_INPUT(ManualPaint_Model,Image2,"Image result",vtkImageData*,"");
   BBTK_INPUT(ManualPaint_Model,GrayLevel,"Fill gray level (100 default)",double,"");
-  BBTK_INPUT(ManualPaint_Model,Direction,"Used in the 2D mode.   0=YZ , 1=XY , 2=XY(default) ",int,"");
+  BBTK_INPUT(ManualPaint_Model,Direction,"Used in the 2D mode.   0=YZ , 1=XZ , 2=XY(default) ",int,"");
   BBTK_INPUT(ManualPaint_Model,BrushSize,"default 3",int,"");
   BBTK_INPUT(ManualPaint_Model,BrushForm,"1 default   A) 2D 0=rect,1=circle    B) 3D 0=cube,1=sphere",int,"");
   BBTK_INPUT(ManualPaint_Model,ToleranceFill,"default 50",double,"");