ITK
6.0.0
Insight Toolkit
|
#include <itkStreamingProcessObject.h>
Base class interface to process data on multiple requested input chunks.
Streaming allows the data to be split into chunks and processed separately. The StreamingProcessObject class extends functionally to execute the primary input's pipeline multiple times over different requested regions. After each requested region is generated by the upstream pipeline the StreamedGenerateData method is called.
Definition at line 40 of file itkStreamingProcessObject.h.
Private Attributes | |
int | m_CurrentRequestNumber { -1 } |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Protected Member Functions inherited from itk::ProcessObject | |
template<typename TSourceObject > | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::StreamingProcessObject::ConstPointer = SmartPointer<const Self> |
Definition at line 49 of file itkStreamingProcessObject.h.
Definition at line 48 of file itkStreamingProcessObject.h.
Standard class types.
Definition at line 46 of file itkStreamingProcessObject.h.
Definition at line 47 of file itkStreamingProcessObject.h.
|
protected |
|
overrideprotected |
|
protectedvirtual |
Called after all requested regions have been process.
Reimplemented in itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >, itk::Statistics::ImageToHistogramFilter< TImage >, itk::StatisticsImageFilter< TInputImage >, and itk::MinimumMaximumImageFilter< TInputImage >.
|
protectedvirtual |
Called before the input's first requested region is set or updated.
Reimplemented in itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >, itk::LabelOverlapMeasuresImageFilter< TLabelImage >, itk::ImageSink< TInputImage >, itk::ImageSink< TImage >, itk::ImageSink< TLabelImage >, itk::StatisticsImageFilter< TInputImage >, and itk::MinimumMaximumImageFilter< TInputImage >.
|
overridevirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
|
protectedpure virtual |
For each streamed region, propagate request to all inputs.
Derived classes should overload this method to compute regions splits and propagate to the particular DataObject types used for the input.
Implemented in itk::ImageSink< TInputImage >, itk::ImageSink< TImage >, and itk::ImageSink< TLabelImage >.
|
virtual |
The current requested region number during execution. The value -1, is used when the pipeline is not currently being updated.
|
overridevirtual |
Reimplemented from itk::ProcessObject.
Reimplemented in itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >, itk::MinimumMaximumImageFilter< TInputImage >, itk::StatisticsImageFilter< TInputImage >, itk::ImageSink< TImage >, itk::ImageSink< TLabelImage >, itk::Statistics::ImageToHistogramFilter< TImage >, itk::LabelOverlapMeasuresImageFilter< TLabelImage >, and itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >.
|
protectedpure virtual |
Return the actual number of regions to request upstream.
This method can be overloaded to return one, when a derived filter is unable stream.
Implemented in itk::Statistics::ImageToHistogramFilter< TImage >, itk::ImageSink< TInputImage >, itk::ImageSink< TImage >, and itk::ImageSink< TLabelImage >.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ProcessObject.
Reimplemented in itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >, itk::LabelOverlapMeasuresImageFilter< TLabelImage >, itk::Statistics::ImageToHistogramFilter< TImage >, itk::ImageSink< TImage >, itk::ImageSink< TLabelImage >, itk::StatisticsImageFilter< TInputImage >, and itk::MinimumMaximumImageFilter< TInputImage >.
|
overridevirtual |
Override PropagateRequestedRegion from ProcessObject Since inside UpdateOutputData we iterate over streaming pieces we don't need to propagate up the pipeline
Reimplemented from itk::ProcessObject.
|
overridevirtual |
Reset the pipeline.
If an exception is thrown during an Update(), the pipeline may be in an inconsistent state. This method clears the internal state of the pipeline so Update() can be called.
Reimplemented from itk::ProcessObject.
|
protectedpure virtual |
This method will be called multiple times for each requested region generated by the input.
Implemented in itk::ImageSink< TInputImage >, itk::ImageSink< TImage >, itk::ImageSink< TLabelImage >, and itk::Statistics::ImageToHistogramFilter< TImage >.
|
overridevirtual |
Override UpdateOutputData() from ProcessObject to divide upstream updates into pieces.
Reimplemented from itk::ProcessObject.
|
private |
Definition at line 119 of file itkStreamingProcessObject.h.