ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkTestingHashImageFilter.h>
Generates a md5 hash string from an image.
Definition at line 45 of file itkTestingHashImageFilter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectPointer = typename DataObject::Pointer |
using | DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
enum | HashFunction { MD5 } |
using | HashObjectType = SimpleDataObjectDecorator< std::string > |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename TImageType::RegionType |
using | Self = HashImageFilter |
using | Superclass = InPlaceImageFilter< TImageType, TImageType > |
Public Types inherited from itk::InPlaceImageFilter< TImageType, TImageType > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TImageType |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
using | Superclass = ImageToImageFilter< TImageType, TImageType > |
Public Types inherited from itk::ImageToImageFilter< TImageType, TImageType > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TImageType |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TImageType > |
Public Types inherited from itk::ImageSource< TImageType > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TImageType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Attributes | |
HashFunction | m_HashFunction |
Additional Inherited Members | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TImageType, TImageType > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TImageType, TImageType > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImageType > | |
static constexpr unsigned int | OutputImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TImageType, TImageType > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TImageType > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ImageSource< TImageType > | |
bool | m_DynamicMultiThreading |
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::Testing::HashImageFilter< TImageType >::ConstPointer = SmartPointer< const Self > |
Definition at line 55 of file itkTestingHashImageFilter.h.
using itk::Testing::HashImageFilter< TImageType >::DataObjectPointer = typename DataObject::Pointer |
Smart Pointer type to a DataObject.
Definition at line 66 of file itkTestingHashImageFilter.h.
using itk::Testing::HashImageFilter< TImageType >::DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Make a DataObject of the correct type to be used as the specified output.
Definition at line 82 of file itkTestingHashImageFilter.h.
using itk::Testing::HashImageFilter< TImageType >::HashObjectType = SimpleDataObjectDecorator< std::string > |
Type of DataObjects used for scalar outputs
Definition at line 69 of file itkTestingHashImageFilter.h.
using itk::Testing::HashImageFilter< TImageType >::Pointer = SmartPointer< Self > |
Definition at line 54 of file itkTestingHashImageFilter.h.
using itk::Testing::HashImageFilter< TImageType >::RegionType = typename TImageType::RegionType |
Definition at line 57 of file itkTestingHashImageFilter.h.
using itk::Testing::HashImageFilter< TImageType >::Self = HashImageFilter |
Standard Self type alias
Definition at line 52 of file itkTestingHashImageFilter.h.
using itk::Testing::HashImageFilter< TImageType >::Superclass = InPlaceImageFilter< TImageType, TImageType > |
Definition at line 53 of file itkTestingHashImageFilter.h.
enum itk::Testing::HashImageFilter::HashFunction |
Enumerator | |
---|---|
MD5 |
Definition at line 86 of file itkTestingHashImageFilter.h.
|
protected |
|
overrideprotectedvirtual |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from itk::ImageSource< TImageType >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
inlineoverrideprotected |
All work is done by AfterThreadedGenerateData().
Definition at line 106 of file itkTestingHashImageFilter.h.
|
overrideprotectedvirtual |
Give the process object a chance to indictate that it will produce more output than it was requested to produce. For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region.
Reimplemented from itk::ProcessObject.
|
inline |
Get the computed Hash values
Definition at line 72 of file itkTestingHashImageFilter.h.
|
virtual |
Set/Get The hash function type. Currently only MD5 is supported and this value is ignores.
|
inline |
Get the computed Hash values
Definition at line 74 of file itkTestingHashImageFilter.h.
References itk::ProcessObject::GetOutput().
|
inline |
Get the computed Hash values
Definition at line 76 of file itkTestingHashImageFilter.h.
References itk::ProcessObject::GetOutput().
|
virtual |
Runtime information support.
Reimplemented from itk::InPlaceImageFilter< TImageType, TImageType >.
|
overridevirtual |
Make a DataObject of the correct type to used as the specified output.
Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ProcessObject.
|
static |
Method for creation through the object factory.
|
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.
|
virtual |
Set/Get The hash function type. Currently only MD5 is supported and this value is ignores.
|
inlineoverrideprotected |
All work is done by AfterThreadedGenerateData().
Definition at line 104 of file itkTestingHashImageFilter.h.
|
private |
Definition at line 121 of file itkTestingHashImageFilter.h.