2 // Don't edit this file. This file is generated from xml description..
4 #ifndef __bbvtkRescaleSlopeIntercept_h_INCLUDED__
5 #define __bbvtkRescaleSlopeIntercept_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkImageData.h"
11 #include <vtkImageShiftScale.h>
12 #include <vtkImageChangeInformation.h>
19 class bbvtk_EXPORT RescaleSlopeIntercept
21 public bbtk::AtomicBlackBox
23 BBTK_BLACK_BOX_INTERFACE(RescaleSlopeIntercept,bbtk::AtomicBlackBox);
25 // Don't edit this file. This file is generated from xml description..
27 BBTK_DECLARE_INPUT(In,vtkImageData*);
28 BBTK_DECLARE_INPUT(Type,int);
29 BBTK_DECLARE_INPUT(A,double);
30 BBTK_DECLARE_INPUT(B,double);
31 BBTK_DECLARE_INPUT(OutputFormat,std::string);
32 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
33 BBTK_PROCESS(Process);
37 vtkImageShiftScale *filter;
38 vtkImageChangeInformation *mchange;
41 // Don't edit this file. This file is generated from xml description..
45 BBTK_BEGIN_DESCRIBE_BLACK_BOX(RescaleSlopeIntercept,bbtk::AtomicBlackBox);
46 BBTK_NAME("RescaleSlopeIntercept");
47 BBTK_AUTHOR("eduardo.davila at creatis.insa-lyon.fr");
48 BBTK_DESCRIPTION("Rescale Slope Intercept (see Type input descriptio)");
49 BBTK_CATEGORY("filter");
50 BBTK_INPUT(RescaleSlopeIntercept,In,"Image input",vtkImageData*,"");
51 BBTK_INPUT(RescaleSlopeIntercept,Type,"type of operation: 0 (default) SlopeIntercept np=p*A+B, 1 Invert, 2 Redimension A=newMin B=newMax, 3 InvertRedimension A=newMin B=newMax",int,"");
52 BBTK_INPUT(RescaleSlopeIntercept,A,"(1 default) see Type description",double,"");
53 BBTK_INPUT(RescaleSlopeIntercept,B,"(0 default) see Type description",double,"");
54 BBTK_INPUT(RescaleSlopeIntercept,OutputFormat,"Image output format: SAME (default), VTK_BIT, VTK_CHAR, VTK_SIGNED_CHAR, VTK_UNSIGNED_CHAR, VTK_SHORT VTK_UNSIGNED_SHORT, VTK_INT, VTK_UNSIGNED_INT, VTK_LONG, VTK_UNSIGNED_LONG, VTK_FLOAT, VTK_DOUBLE",std::string,"");
55 BBTK_OUTPUT(RescaleSlopeIntercept,Out,"Image output",vtkImageData*,"");
56 BBTK_END_DESCRIBE_BLACK_BOX(RescaleSlopeIntercept);
58 // Don't edit this file. This file is generated from xml description..
63 #endif // __bbvtkRescaleSlopeIntercept_h_INCLUDED__