|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Computes a thick slice projection from a 3D image stack. More...
#include <vtkMitkThickSlicesFilter.h>


Public Types | |
| enum | { MIP , SUM , WEIGHTED , MINIP , MEAN } |
| Enumeration of thick slice projection modes. More... | |
Public Member Functions | |
| vtkTypeMacro (vtkMitkThickSlicesFilter, vtkThreadedImageAlgorithm) | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| Print the filter state to the given output stream. More... | |
| vtkSetClampMacro (Dimensionality, int, 2, 3) | |
| Determines how the input is interpreted (set of 2D slices). Clamped to [2, 3]. More... | |
| vtkGetMacro (Dimensionality, int) | |
| vtkSetMacro (HandleBoundaries, int) | |
| Get/Set whether to handle boundaries. More... | |
| vtkGetMacro (HandleBoundaries, int) | |
| vtkBooleanMacro (HandleBoundaries, int) | |
| void | SetThickSliceMode (int mode) |
| Set the thick slice projection mode. More... | |
| int | GetThickSliceMode () |
| Get the current thick slice projection mode. More... | |
Static Public Member Functions | |
| static vtkMitkThickSlicesFilter * | New () |
| Create a new instance of vtkMitkThickSlicesFilter. More... | |
Protected Member Functions | |
| vtkMitkThickSlicesFilter () | |
| Constructor. Sets defaults: HandleBoundaries=1, Dimensionality=2, mode=MIP. More... | |
| ~vtkMitkThickSlicesFilter () override | |
| Destructor. More... | |
| int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| Propagate output information (reduces Z extent to a single slice). More... | |
| int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| Compute the input update extent from the output request. More... | |
| int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| Execute the filter and process output data arrays. More... | |
| void | ThreadedRequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId) override |
| Threaded execution method that applies the selected projection mode. More... | |
Protected Attributes | |
| int | HandleBoundaries |
| int | Dimensionality |
| int | m_CurrentMode |
Computes a thick slice projection from a 3D image stack.
vtkMitkThickSlicesFilter collapses a set of 2D slices into a single output slice using one of several projection modes (MIP, MinIP, SUM, WEIGHTED, MEAN). The Dimensionality property determines whether to treat the input as a set of 2D or 3D slices.
Definition at line 30 of file vtkMitkThickSlicesFilter.h.
| anonymous enum |
Enumeration of thick slice projection modes.
| Enumerator | |
|---|---|
| MIP | |
| SUM | |
| WEIGHTED | |
| MINIP | |
| MEAN | |
Definition at line 64 of file vtkMitkThickSlicesFilter.h.
|
protected |
Constructor. Sets defaults: HandleBoundaries=1, Dimensionality=2, mode=MIP.
|
inlineoverrideprotected |
Destructor.
Definition at line 78 of file vtkMitkThickSlicesFilter.h.
|
inline |
Get the current thick slice projection mode.
Definition at line 127 of file vtkMitkThickSlicesFilter.h.
|
static |
Create a new instance of vtkMitkThickSlicesFilter.
|
override |
Print the filter state to the given output stream.
|
overrideprotected |
Execute the filter and process output data arrays.
|
overrideprotected |
Propagate output information (reduces Z extent to a single slice).
|
overrideprotected |
Compute the input update extent from the output request.
|
inline |
Set the thick slice projection mode.
| [in] | mode | One of the projection mode enum values (MIP, SUM, WEIGHTED, MINIP, MEAN). |
Definition at line 120 of file vtkMitkThickSlicesFilter.h.
|
overrideprotected |
Threaded execution method that applies the selected projection mode.
| [in] | inData | Array of input image data. |
| [out] | outData | Array of output image data. |
| [in] | outExt | Six-component output extent array. |
| [in] | threadId | The thread id. |
| vtkMitkThickSlicesFilter::vtkBooleanMacro | ( | HandleBoundaries | , |
| int | |||
| ) |
| vtkMitkThickSlicesFilter::vtkGetMacro | ( | Dimensionality | , |
| int | |||
| ) |
| vtkMitkThickSlicesFilter::vtkGetMacro | ( | HandleBoundaries | , |
| int | |||
| ) |
| vtkMitkThickSlicesFilter::vtkSetClampMacro | ( | Dimensionality | , |
| int | , | ||
| 2 | , | ||
| 3 | |||
| ) |
Determines how the input is interpreted (set of 2D slices). Clamped to [2, 3].
| vtkMitkThickSlicesFilter::vtkSetMacro | ( | HandleBoundaries | , |
| int | |||
| ) |
Get/Set whether to handle boundaries.
If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.
| vtkMitkThickSlicesFilter::vtkTypeMacro | ( | vtkMitkThickSlicesFilter | , |
| vtkThreadedImageAlgorithm | |||
| ) |
|
protected |
Definition at line 81 of file vtkMitkThickSlicesFilter.h.
|
protected |
Definition at line 80 of file vtkMitkThickSlicesFilter.h.
|
protected |
Definition at line 108 of file vtkMitkThickSlicesFilter.h.