#include <itkSpectra1DNormalizeImageFilter.h>
Normalize (divide) a spectral image by reference line spectra.
Single transducer line is the fastest-varying dimension.
Definition at line 34 of file itkSpectra1DNormalizeImageFilter.h.
Inheritance diagram for itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >:
Collaboration diagram for itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >:Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage > | |
| static double | GetGlobalDefaultCoordinateTolerance () |
| static double | GetGlobalDefaultCoordinateTolerance () |
| static double | GetGlobalDefaultDirectionTolerance () |
| static double | GetGlobalDefaultDirectionTolerance () |
| static void | SetGlobalDefaultCoordinateTolerance (double) |
| static void | SetGlobalDefaultCoordinateTolerance (double) |
| static void | SetGlobalDefaultDirectionTolerance (double) |
| static void | SetGlobalDefaultDirectionTolerance (double) |
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 Public Attributes | |
| static constexpr unsigned int | ImageDimension = InputImageType::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TInputImage > | |
| static constexpr unsigned int | InputImageDimension |
| static constexpr unsigned int | InputImageDimension |
| static constexpr unsigned int | OutputImageDimension |
| static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TInputImage > | |
| static constexpr unsigned int | OutputImageDimension |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage > | |
| using | InputToOutputRegionCopierType |
| using | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TInputImage > | |
| static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
| static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
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::ImageSource< TInputImage > | |
| 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::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 50 of file itkSpectra1DNormalizeImageFilter.h.
| using itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >::InputImageType = TInputImage |
Standard class type alias.
Definition at line 40 of file itkSpectra1DNormalizeImageFilter.h.
| using itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 42 of file itkSpectra1DNormalizeImageFilter.h.
| using itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >::OutputImageType = TInputImage |
Definition at line 41 of file itkSpectra1DNormalizeImageFilter.h.
| using itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >::Pointer = SmartPointer<Self> |
Definition at line 49 of file itkSpectra1DNormalizeImageFilter.h.
| using itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >::ReferenceImageType = TReferenceImage |
Definition at line 43 of file itkSpectra1DNormalizeImageFilter.h.
| using itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >::Self = Spectra1DNormalizeImageFilter |
Definition at line 47 of file itkSpectra1DNormalizeImageFilter.h.
| using itk::Spectra1DNormalizeImageFilter< TInputImage, TReferenceImage >::Superclass = ImageToImageFilter<InputImageType, OutputImageType> |
Definition at line 48 of file itkSpectra1DNormalizeImageFilter.h.
|
inlineprotected |
Definition at line 62 of file itkSpectra1DNormalizeImageFilter.h.
References itk::ProcessObject::AddRequiredInputName().
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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.
|
overrideprotectedvirtual |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData() or DynamicThreadedGenerateData(). This superclass will automatically split the output image into a number of pieces, spawn multiple threads, and call (Dynamic)ThreadedGenerateData() in each thread. Prior to spawning threads, the BeforeThreadedGenerateData() method is called. After all the threads have completed, the AfterThreadedGenerateData() method is called. If an image processing filter cannot support threading, that filter should provide an implementation of the GenerateData() method instead of providing an implementation of (Dynamic)ThreadedGenerateData(). If a filter provides a GenerateData() method as its implementation, then the filter is responsible for allocating the output data. If a filter provides a (Dynamic)ThreadedGenerateData() method as its implementation, then the output memory will allocated automatically by this superclass. The (Dynamic)ThreadedGenerateData() method should only produce the output specified by "outputThreadRegion" parameter. (Dynamic)ThreadedGenerateData() cannot write to any other portion of the output image (as this is responsibility of a different thread).
DynamicThreadedGenerateData() is the newer variant without threadId, and is the preferred signature, which is called by default. This variant can split the requested region into different number of pieces depending on current multi-processing load, which allows better load balancing. The non-dynamic (also known as classic) ThreadedGenerateData() signature has threadId, and number of pieces to be split into is known in advance. It is activated by calling this->DynamicMultiThreadingOff(); in derived class constructor. It should be used when the multi-threaded algorithm needs to pre-allocate some data structure with size dependent on the number of pieces (also known as chunks, work units, and sometimes also incorrectly as threads). Only PlatformMultiThreader guarantees that each piece will be processed in its own specific thread. Pool and TBB multi-threaders maintain a pool of threads (normally equal to number of processing cores) which they use to process the pieces. This normally results in a single thread being reused to process multiple work units.
Reimplemented from itk::ImageSource< TInputImage >.
|
overrideprotectedvirtual |
What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierarchy. Up till now, the base assumption has been that the largest possible region will be requested of the input.
This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of DataObject (including an Image of a different dimension), they are skipped by this method. The subclasses of ImageToImageFilter are responsible for providing an implementation of GenerateInputRequestedRegion() when there are multiple inputs of different types.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
|
virtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
References Spectra1DNormalizeImageFilter().
|
static |
|
inline |
Definition at line 56 of file itkSpectra1DNormalizeImageFilter.h.
References itk::ImageToImageFilter< TInputImage, TInputImage >::SetInput().
|
staticconstexpr |
Definition at line 45 of file itkSpectra1DNormalizeImageFilter.h.