Mask and image with a LabelMap .
More...
#include <sitkLabelMapMaskImageFilter.h>
|
static bool | GetGlobalDefaultDebug () |
|
static void | GlobalDefaultDebugOff () |
|
static void | GlobalDefaultDebugOn () |
|
static void | SetGlobalDefaultDebug (bool debugFlag) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static void | SetGlobalWarningDisplay (bool flag) |
|
static bool | GetGlobalWarningDisplay () |
|
static void | SetGlobalDefaultNumberOfThreads (unsigned int n) |
|
static unsigned int | GetGlobalDefaultNumberOfThreads () |
|
static double | GetGlobalDefaultCoordinateTolerance () |
| Access the global tolerance to determine congruent spaces. More...
|
|
static void | SetGlobalDefaultCoordinateTolerance (double) |
| Access the global tolerance to determine congruent spaces. More...
|
|
static double | GetGlobalDefaultDirectionTolerance () |
| Access the global tolerance to determine congruent spaces. More...
|
|
static void | SetGlobalDefaultDirectionTolerance (double) |
| Access the global tolerance to determine congruent spaces. More...
|
|
virtual unsigned long | AddITKObserver (const itk::EventObject &, itk::Command *) |
|
virtual itk::ProcessObject * | GetActiveProcess () |
|
virtual void | OnActiveProcessDelete () |
|
virtual void | onCommandDelete (const itk::simple::Command *cmd) SITK_NOEXCEPT |
|
virtual void | PreUpdate (itk::ProcessObject *p) |
|
virtual void | RemoveITKObserver (EventCommand &e) |
|
| NonCopyable () |
|
static void | FixNonZeroIndex (TImageType *img) |
|
template<class TImageType > |
static TImageType::ConstPointer | CastImageToITK (const Image &img) |
|
template<class TPixelType , unsigned int VImageDimension, unsigned int VLength, template< typename, unsigned int > class TVector> |
static Image | CastITKToImage (itk::Image< TVector< TPixelType, VLength >, VImageDimension > *img) |
|
template<class TImageType > |
static Image | CastITKToImage (TImageType *img) |
|
static const itk::EventObject & | GetITKEventObject (EventEnum e) |
|
template<typename T > |
static std::ostream & | ToStringHelper (std::ostream &os, const T &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const char &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const signed char &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const unsigned char &v) |
|
Mask and image with a LabelMap .
LabelMapMaskImageFilter mask the content of an input image according to the content of the input LabelMap . The masked pixel of the input image are set to the BackgroundValue. LabelMapMaskImageFilter can keep the input image for one label only, with Negated = false (the default) or it can mask the input image for a single label, when Negated equals true. In Both cases, the label is set with SetLabel() .
- Author
- Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.
This implementation was taken from the Insight Journal paper: https://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
- See also
- LabelMapToBinaryImageFilter , LabelMapToLabelImageFilter
-
itk::simple::LabelMapMask for the procedural interface
-
itk::LabelMapMaskImageFilter for the Doxygen on the original ITK class.
Definition at line 49 of file sitkLabelMapMaskImageFilter.h.
◆ MemberFunctionType
typedef Image(Self::* itk::simple::LabelMapMaskImageFilter::MemberFunctionType) (const Image *labelMapImage, const Image *featureImage) |
|
private |
◆ PixelIDTypeList
◆ Self
◆ ~LabelMapMaskImageFilter()
virtual itk::simple::LabelMapMaskImageFilter::~LabelMapMaskImageFilter |
( |
| ) |
|
|
virtual |
◆ LabelMapMaskImageFilter()
itk::simple::LabelMapMaskImageFilter::LabelMapMaskImageFilter |
( |
| ) |
|
Default Constructor that takes no arguments and initializes default parameters
◆ CropOff()
Self& itk::simple::LabelMapMaskImageFilter::CropOff |
( |
| ) |
|
|
inline |
◆ CropOn()
Self& itk::simple::LabelMapMaskImageFilter::CropOn |
( |
| ) |
|
|
inline |
◆ DualExecuteInternal()
template<class TImageType1 , class TImageType2 >
Image itk::simple::LabelMapMaskImageFilter::DualExecuteInternal |
( |
const Image * |
labelMapImage, |
|
|
const Image * |
featureImage |
|
) |
| |
|
private |
◆ Execute() [1/2]
Image itk::simple::LabelMapMaskImageFilter::Execute |
( |
const Image & |
labelMapImage, |
|
|
const Image & |
featureImage |
|
) |
| |
Execute the filter on the input image
◆ Execute() [2/2]
Image itk::simple::LabelMapMaskImageFilter::Execute |
( |
const Image & |
labelMapImage, |
|
|
const Image & |
featureImage, |
|
|
uint64_t |
label, |
|
|
double |
backgroundValue, |
|
|
bool |
negated, |
|
|
bool |
crop, |
|
|
const std::vector< unsigned int > & |
cropBorder |
|
) |
| |
Execute the filter on the input image with the given parameters
◆ GetBackgroundValue()
double itk::simple::LabelMapMaskImageFilter::GetBackgroundValue |
( |
| ) |
const |
|
inline |
◆ GetCrop()
bool itk::simple::LabelMapMaskImageFilter::GetCrop |
( |
| ) |
const |
|
inline |
◆ GetCropBorder()
std::vector<unsigned int> itk::simple::LabelMapMaskImageFilter::GetCropBorder |
( |
| ) |
const |
|
inline |
◆ GetLabel()
uint64_t itk::simple::LabelMapMaskImageFilter::GetLabel |
( |
| ) |
const |
|
inline |
◆ GetName()
std::string itk::simple::LabelMapMaskImageFilter::GetName |
( |
| ) |
const |
|
inlinevirtual |
◆ GetNegated()
bool itk::simple::LabelMapMaskImageFilter::GetNegated |
( |
| ) |
const |
|
inline |
◆ NegatedOff()
Self& itk::simple::LabelMapMaskImageFilter::NegatedOff |
( |
| ) |
|
|
inline |
◆ NegatedOn()
Self& itk::simple::LabelMapMaskImageFilter::NegatedOn |
( |
| ) |
|
|
inline |
◆ SetBackgroundValue()
Self& itk::simple::LabelMapMaskImageFilter::SetBackgroundValue |
( |
double |
BackgroundValue | ) |
|
|
inline |
◆ SetCrop()
Self& itk::simple::LabelMapMaskImageFilter::SetCrop |
( |
bool |
Crop | ) |
|
|
inline |
◆ SetCropBorder() [1/2]
Self& itk::simple::LabelMapMaskImageFilter::SetCropBorder |
( |
const std::vector< unsigned int > & |
CropBorder | ) |
|
|
inline |
◆ SetCropBorder() [2/2]
Self& itk::simple::LabelMapMaskImageFilter::SetCropBorder |
( |
unsigned int |
value | ) |
|
|
inline |
◆ SetLabel()
Self& itk::simple::LabelMapMaskImageFilter::SetLabel |
( |
uint64_t |
Label | ) |
|
|
inline |
◆ SetNegated()
Self& itk::simple::LabelMapMaskImageFilter::SetNegated |
( |
bool |
Negated | ) |
|
|
inline |
◆ ToString()
std::string itk::simple::LabelMapMaskImageFilter::ToString |
( |
| ) |
const |
|
virtual |
◆ detail::DualExecuteInternalAddressor< MemberFunctionType >
◆ m_BackgroundValue
double itk::simple::LabelMapMaskImageFilter::m_BackgroundValue |
|
private |
◆ m_Crop
bool itk::simple::LabelMapMaskImageFilter::m_Crop |
|
private |
◆ m_CropBorder
std::vector<unsigned int> itk::simple::LabelMapMaskImageFilter::m_CropBorder |
|
private |
◆ m_DualMemberFactory
◆ m_Label
uint64_t itk::simple::LabelMapMaskImageFilter::m_Label |
|
private |
◆ m_Negated
bool itk::simple::LabelMapMaskImageFilter::m_Negated |
|
private |
The documentation for this class was generated from the following file: