Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
The HotspotMaskGenerator class is used when a hotspot has to be found in an image. A hotspot is the region of the image where the mean intensity is maximal (=brightest spot). It is usually used in PET scans. The identification of the hotspot is done as follows: First a cubic (or circular, if image is 2d) mask of predefined size is generated. This mask is then convolved with the input image (in fourier domain). The maximum value of the convolved image then corresponds to the hotspot. If a maskGenerator is set, only the pixels of the convolved image where the corresponding mask is == label are searched for the maximum value. More...
#include <mitkHotspotMaskGenerator.h>
Classes | |
class | ImageExtrema |
Public Types | |
typedef HotspotMaskGenerator | Self |
typedef MaskGenerator | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
unsigned int | GetNumberOfMasks () const override |
virtual void | SetMask (MaskGenerator *_arg) |
Set a mask (can be nullptr if no mask is desired) More... | |
virtual double | GetHotspotRadiusInMM () const |
Set the radius of the hotspot (in MM) More... | |
virtual void | SetHotspotRadiusInMM (double _arg) |
virtual bool | GetHotspotMustBeCompletelyInsideImage () const |
Define whether the hotspot must be completely inside the image. Default is true. More... | |
virtual void | SetHotspotMustBeCompletelyInsideImage (bool _arg) |
virtual void | SetLabel (unsigned short _arg) |
If a maskGenerator is set, this determines which mask value is used. More... | |
Public Member Functions inherited from mitk::MaskGenerator | |
mitkClassMacroItkParent (MaskGenerator, itk::Object) | |
mitk::Image::ConstPointer | GetMask (unsigned int maskID) |
GetMask returns the requested (multi) label mask. More... | |
virtual mitk::Image::ConstPointer | GetReferenceImage () |
GetReferenceImage per default returns the inputImage (as set by SetInputImage). If no input image is set it will return a nullptr. More... | |
virtual void | SetInputImage (const mitk::Image *_arg) |
SetInputImage is used to set the input image to the mask generator. Some subclasses require an input image, others don't. See the documentation of the specific Mask Generator for more information. More... | |
virtual void | SetTimePoint (TimePointType _arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
HotspotMaskGenerator () | |
~HotspotMaskGenerator () override | |
Image::ConstPointer | DoGetMask (unsigned int) override |
DoGetMask must be overridden by derived classes. More... | |
Protected Member Functions inherited from mitk::MaskGenerator | |
MaskGenerator () | |
Additional Inherited Members | |
Protected Attributes inherited from mitk::MaskGenerator | |
TimePointType | m_TimePoint |
mitk::Image::ConstPointer | m_InputImage |
The HotspotMaskGenerator class is used when a hotspot has to be found in an image. A hotspot is the region of the image where the mean intensity is maximal (=brightest spot). It is usually used in PET scans. The identification of the hotspot is done as follows: First a cubic (or circular, if image is 2d) mask of predefined size is generated. This mask is then convolved with the input image (in fourier domain). The maximum value of the convolved image then corresponds to the hotspot. If a maskGenerator is set, only the pixels of the convolved image where the corresponding mask is == label are searched for the maximum value.
Definition at line 39 of file mitkHotspotMaskGenerator.h.
typedef itk::SmartPointer< const Self > mitk::HotspotMaskGenerator::ConstPointer |
Definition at line 46 of file mitkHotspotMaskGenerator.h.
Definition at line 45 of file mitkHotspotMaskGenerator.h.
Standard Self typedef
Definition at line 43 of file mitkHotspotMaskGenerator.h.
Definition at line 44 of file mitkHotspotMaskGenerator.h.
|
protected |
|
overrideprotected |
|
overrideprotectedvirtual |
DoGetMask must be overridden by derived classes.
maskID | Parameter indicating which mask should be returned. |
Implements mitk::MaskGenerator.
|
virtual |
Runtime information support.
|
virtual |
Define whether the hotspot must be completely inside the image. Default is true.
|
virtual |
Set the radius of the hotspot (in MM)
|
overridevirtual |
Implements mitk::MaskGenerator.
|
static |
Method for creation through the object factory.
|
virtual |
|
virtual |
|
virtual |
If a maskGenerator is set, this determines which mask value is used.
|
virtual |
Set a mask (can be nullptr if no mask is desired)