Description | : | Basic vtk-based boxes |
Author(s) | : | indo-dev at creatis.insa-lyon.fr |
Author(s) | : | |
Version | : | 1.0.0 |
bbtk Version | : | "0.9.0" |
Black Boxes :
AppendPolyData | Appends one of more polygonal datasets into a single polygonal dataset |
ConeSource | Creates a Cone (bbfication of vtkConeSource) |
ImageAnisotropicDiffusion3D | vtkImageAnisotropicDiffusion3D diffuses an volume iteratively. The neighborhood of the diffusion is determined by the instance flags. if 'Faces' is on, the 6 voxels adjoined by faces are included in the neighborhood. If 'Edges' is on the 12 edge connected voxels are included, and if 'Corners' is on, the 8 corner connected voxels are included. 'DiffusionFactor' determines how far a pixel value moves toward its neighbors, and is insensitive to the number of neighbors chosen. The diffusion is anisotropic because it only occurs when a gradient measure is below 'GradientThreshold'. Two gradient measures exist and are toggled by the 'GradientMagnitudeThreshold' flag. When 'GradientMagnitudeThreshold' is on, the magnitude of the gradient, computed by central differences, above 'DiffusionThreshold' a voxel is not modified. The alternative measure examines each neighbor independently. The gradient between the voxel and the neighbor must be below the 'DiffusionThreshold' for diffusion to occur with THAT neighbor. |
ImageCharacteristics | Exports objet sizes, etc |
ImageDilateErode3D | Dilates one value and erodes another. vtkImageDilateErode3D will dilate one value and erode another. It uses an elliptical foot print, and only erodes/dilates on the boundary of the two values. The filter is restricted to the X, Y, and Z axes for now. It can degenerate to a 2 or 1 dimensional filter by setting the kernel size to 1 for a specific axis. (bbfication of vtkImageDilateErode3D) |
ImageGaussianSmooth | Performs a gaussian convolution of the input image (bbfication of vtkImageGaussianSmooth) |
ImagePlanes | Creates three 3D planes with the input image mapped onto with which the user can interact. The output vtkImagePlaneWidget objects are to be inserted into a 3D scene (e.g. a Viewer3D) |
IsoSurfaceExtractor | Extracts an iso-surface of a 3D image and creates a vtkProp3D object to insert into a 3D scene (e.g. a Viewer3D) |
LoadHola | Loads the image 'hola.mhd' |
MIPCreator | Creates a Maximum Intensity Projection (MIP) view of a 3D image. Creates a vtkProp3D object to insert into a 3D scene (e.g. a Viewer3D) |
MarchingCubes | Extracts an iso-surface of an image using the marching cubes algorithm (bbfication of vtkMarchingCubes) |
MetaImageReader | Reads .mhd / .mhd image formats (bbfication of vtkMetaImageReader) |
SegmentationConnectivity | Segmentation with min max threshold and connectivity |
SphereSource | Creates a Sphere (bbfication of vtkSphereSource) |
exampleLoadHola | LoadHola box example |
Adaptors :
CastvtkImagePlaneWidget*TovtkInteractorObserver* | Static cast from vtkImagePlaneWidget* (vtkImagePlaneWidget*) to vtkInteractorObserver* (vtkInteractorObserver*) |
vtkImageData*ToString | Converts a vtkImageData* (vtkImageData*) into a string |
Description | : | Appends one of more polygonal datasets into a single polygonal dataset |
Author(s) | : | jpr at creatis.insa-lyon.fr |
Category(s) | : | atomic box mesh |
To use it | : | include vtk |
Inputs | ||
In1 | <vtkPolyData*> | PolyData 1 |
In2 | <vtkPolyData*> | PolyData 2 |
In3 | <vtkPolyData*> | PolyData 3 |
In4 | <vtkPolyData*> | PolyData 4 |
In5 | <vtkPolyData*> | PolyData 5 |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkPolyData*> | Output Mesh |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Static cast from vtkImagePlaneWidget* (vtkImagePlaneWidget*) to vtkInteractorObserver* (vtkInteractorObserver*) |
Author(s) | : | laurent.guigues@creatis.insa-lyon.fr |
Category(s) | : | atomic box adaptor |
To use it | : | include vtk |
Inputs | ||
In | <vtkImagePlaneWidget*> | Input |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkInteractorObserver*> | Output |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Creates a Cone (bbfication of vtkConeSource) |
Author(s) | : | jpr at creatis.insa-lyon.fr |
Category(s) | : | atomic box mesh |
To use it | : | include vtk |
Inputs | ||
CenterX | <double> | Center X coord |
CenterY | <double> | Center Y coord |
CenterZ | <double> | Center Z coord |
DirectionX | <double> | X Direction |
DirectionY | <double> | Y Direction |
DirectionZ | <double> | Z Direction |
Radius | <double> | Cone Radius |
Resolution | <int> | Cone Resolution |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkPolyData*> | Output Cone |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | vtkImageAnisotropicDiffusion3D diffuses an volume iteratively. The neighborhood of the diffusion is determined by the instance flags. if 'Faces' is on, the 6 voxels adjoined by faces are included in the neighborhood. If 'Edges' is on the 12 edge connected voxels are included, and if 'Corners' is on, the 8 corner connected voxels are included. 'DiffusionFactor' determines how far a pixel value moves toward its neighbors, and is insensitive to the number of neighbors chosen. The diffusion is anisotropic because it only occurs when a gradient measure is below 'GradientThreshold'. Two gradient measures exist and are toggled by the 'GradientMagnitudeThreshold' flag. When 'GradientMagnitudeThreshold' is on, the magnitude of the gradient, computed by central differences, above 'DiffusionThreshold' a voxel is not modified. The alternative measure examines each neighbor independently. The gradient between the voxel and the neighbor must be below the 'DiffusionThreshold' for diffusion to occur with THAT neighbor. |
Author(s) | : | jpr at creatis.insa-lyon.fr |
Category(s) | : | atomic box filter image |
To use it | : | include vtk |
Inputs | ||
DiffusionThreshold | <double> | Difference threshold that stops diffusion |
In | <vtkImageData*> | Input image |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkImageData*> | Output image |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Exports objet sizes, etc |
Author(s) | : | jpr at creatis.insa-lyon.fr |
Category(s) | : | atomic box image |
To use it | : | include vtk |
Inputs | ||
In | <vtkImageData*> | Input image |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
NX | <int> | Number of Columns |
NY | <int> | Number of Rows |
NZ | <int> | Number of Planes |
XSpacing | <double> | X spacing |
YSpacing | <double> | Y Spacing |
ZSpacing | <double> | Z Spacing |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Dilates one value and erodes another. vtkImageDilateErode3D will dilate one value and erode another. It uses an elliptical foot print, and only erodes/dilates on the boundary of the two values. The filter is restricted to the X, Y, and Z axes for now. It can degenerate to a 2 or 1 dimensional filter by setting the kernel size to 1 for a specific axis. (bbfication of vtkImageDilateErode3D) |
Author(s) | : | laurent.guigues at creatis.insa-lyon.fr |
Category(s) | : | atomic box image filter |
To use it | : | include vtk |
Inputs | ||
DilateValue | <double> | The dilation value |
ErodeValue | <double> | The erosion value |
In | <vtkImageData*> | Input image |
KernelSizeX | <int> | Size of the kernel in direction X |
KernelSizeY | <int> | Size of the kernel in direction Y |
KernelSizeZ | <int> | Size of the kernel in direction Z |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkImageData*> | Output image |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Performs a gaussian convolution of the input image (bbfication of vtkImageGaussianSmooth) |
Author(s) | : | laurent.guigues at creatis.insa-lyon.fr |
Category(s) | : | atomic box image filter |
To use it | : | include vtk |
Inputs | ||
In | <vtkImageData*> | Input image |
StdDevX | <double> | Standard deviation in direction X |
StdDevY | <double> | Standard deviation in direction Y |
StdDevZ | <double> | Standard deviation in direction Z |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkImageData*> | Output image |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Creates three 3D planes with the input image mapped onto with which the user can interact. The output vtkImagePlaneWidget objects are to be inserted into a 3D scene (e.g. a Viewer3D) |
Author(s) | : | laurent.guigues@creatis.insa-lyon.fr |
Category(s) | : | atomic box 3D object creator |
To use it | : | include vtk |
Inputs | ||
In | <vtkImageData*> | Input Image |
WindowLevel | <std::vector<double, std::allocator<double> >> | Widdow Level |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
PlaneX | <vtkImagePlaneWidget*> | The image plane in X direction |
PlaneY | <vtkImagePlaneWidget*> | The image plane in Y direction |
PlaneZ | <vtkImagePlaneWidget*> | The image plane in Z direction |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Extracts an iso-surface of a 3D image and creates a vtkProp3D object to insert into a 3D scene (e.g. a Viewer3D) |
Author(s) | : | eduardo.davila / laurent.guigues at creatis.insa-lyon.fr |
Category(s) | : | atomic box 3D object creator |
To use it | : | include vtk |
Inputs | ||
Colour | <std::vector<double, std::allocator<double> >> | r g b |
In | <vtkImageData*> | Input image |
Isovalue | <double> | Isovalue |
Opacity | <double> | Opacity |
Renderer | <vtkRenderer*> | 3D scene in which to insert the surface |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkProp3D*> | Extracted iso-surface |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Loads the image 'hola.mhd' |
Author(s) | : | laurent.guigues at creatis.insa-lyon.fr |
Category(s) | : | complex box image read/write |
To use it | : | include /home/jpr/Creatis/bbtk/binLIN/bin/../share/bbtk/bbs/vtk/boxes/bbLoadHola.bbs [source] |
Uses | : | std::PrependPackageDataPath vtk::MetaImageReader |
Inputs | ||
Outputs | ||
FileName | <std::string> | The path to the image loaded |
Out | <vtkImageData*> | The image |
Description | : | Creates a Maximum Intensity Projection (MIP) view of a 3D image. Creates a vtkProp3D object to insert into a 3D scene (e.g. a Viewer3D) |
Author(s) | : | laurent.guigues@creatis.insa-lyon.fr |
Category(s) | : | atomic box 3D object creator |
To use it | : | include vtk |
Inputs | ||
In | <vtkImageData*> | Input Image |
Scale | <float> | Gray scale scaling |
Shift | <int> | Gray scale shift |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkProp3D*> | MIP object to plug into a 3D viewer |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Extracts an iso-surface of an image using the marching cubes algorithm (bbfication of vtkMarchingCubes) |
Author(s) | : | laurent.guigues@creatis.insa-lyon.fr |
Category(s) | : | atomic box image mesh |
To use it | : | include vtk |
Inputs | ||
In | <vtkImageData*> | Image |
Value | <double> | Value of the iso-surface |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkPolyData*> | Output iso-surface |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Reads .mhd / .mhd image formats (bbfication of vtkMetaImageReader) |
Author(s) | : | laurent.guigues at creatis.insa-lyon.fr |
Category(s) | : | atomic box image read/write |
To use it | : | include vtk |
Inputs | ||
In | <std::string> | Name of the file to read |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkImageData*> | Output image |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Segmentation with min max threshold and connectivity |
Author(s) | : | eduardo.davila [at] creatis.insa-lyon.fr |
Category(s) | : | atomic box |
To use it | : | include vtk |
Inputs | ||
In | <vtkImageData*> | Input image |
PositionXYZ | <std::vector<int, std::allocator<int> >> | vector with the Position [x y z] |
ThresholdMinMax | <std::vector<int, std::allocator<int> >> | vector with the Threshold [min max] |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkImageData*> | Result image |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | Creates a Sphere (bbfication of vtkSphereSource) |
Author(s) | : | jpr@creatis.insa-lyon.fr |
Category(s) | : | atomic box mesh |
To use it | : | include vtk |
Inputs | ||
CenterX | <double> | Center X coord |
CenterY | <double> | Center Y coord |
CenterZ | <double> | Center Z coord |
PhiResolution | <int> | Sphere PhiResolution |
Radius | <double> | Sphere Radius |
ThetaResolution | <int> | Sphere ThetaResolution |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <vtkPolyData*> | Output Sphere |
BoxChange | <bbtk::Void> | Signals modifications of the box |
Description | : | LoadHola box example |
Author(s) | : | laurent.guigues at creatis.insa-lyon.fr |
Category(s) | : | complex box example |
To use it | : | include /home/jpr/Creatis/bbtk/binLIN/bin/../share/bbtk/bbs/vtk/appli/exampleLoadHola.bbs [source] |
Uses | : | vtk::LoadHola |
Inputs | ||
Outputs |
Description | : | Converts a vtkImageData* (vtkImageData*) into a string |
Author(s) | : | laurent.guigues@creatis.insa-lyon.fr |
Category(s) | : | atomic box adaptor |
To use it | : | include vtk |
Inputs | ||
In | <vtkImageData*> | Input |
BoxExecute | <bbtk::Void> | Any signal received by this input executes the box |
BoxProcessMode | <std::string> | Sets the processing mode of the box (Pipeline | Always | Reactive) |
Outputs | ||
Out | <std::string> | Output |
BoxChange | <bbtk::Void> | Signals modifications of the box |