|
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
|
static constexpr unsigned int | InputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
static constexpr unsigned int | InputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
static constexpr unsigned int | InputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
using | Offset2Type = itk::Offset< 2 > |
|
using | Offset3Type = itk::Offset< 3 > |
|
using | Spacing2Type = itk::Vector< double, 2 > |
|
using | Spacing3Type = itk::Vector< double, 3 > |
|
using | MapIntercept2Type = std::map< Offset2Type, SizeValueType, Functor::LexicographicCompare > |
|
using | MapIntercept3Type = std::map< Offset3Type, SizeValueType, Functor::LexicographicCompare > |
|
bool | m_ComputeFeretDiameter |
|
bool | m_ComputePerimeter |
|
bool | m_ComputeOrientedBoundingBox |
|
LabelImageConstPointer | m_LabelImage |
|
virtual void | SetComputeFeretDiameter (bool _arg) |
|
virtual const bool & | GetComputeFeretDiameter () const |
|
virtual void | ComputeFeretDiameterOn () |
|
virtual void | ComputeFeretDiameterOff () |
|
virtual void | SetComputePerimeter (bool _arg) |
|
virtual const bool & | GetComputePerimeter () const |
|
virtual void | ComputePerimeterOn () |
|
virtual void | ComputePerimeterOff () |
|
virtual void | SetComputeOrientedBoundingBox (bool _arg) |
|
virtual const bool & | GetComputeOrientedBoundingBox () const |
|
virtual void | ComputeOrientedBoundingBoxOn () |
|
virtual void | ComputeOrientedBoundingBoxOff () |
|
void | SetLabelImage (const TLabelImage *input) |
|
| ShapeLabelMapFilter () |
|
| ~ShapeLabelMapFilter () override=default |
|
void | ThreadedProcessLabelObject (LabelObjectType *labelObject) override |
|
void | BeforeThreadedGenerateData () override |
|
void | AfterThreadedGenerateData () override |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
void | ComputeFeretDiameter (LabelObjectType *labelObject) |
|
void | ComputePerimeter (LabelObjectType *labelObject) |
|
void | ComputeOrientedBoundingBox (LabelObjectType *labelObject) |
|
template<typename TMapIntercept , typename TSpacing > |
double | PerimeterFromInterceptCount (TMapIntercept &intercepts, const TSpacing &spacing) |
|
double | PerimeterFromInterceptCount (MapIntercept2Type &intercepts, const Spacing2Type spacing) |
|
double | PerimeterFromInterceptCount (MapIntercept3Type &intercepts, const Spacing3Type spacing) |
|
|
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
|
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
|
| InPlaceLabelMapFilter ()=default |
|
| ~InPlaceLabelMapFilter () override=default |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
void | AllocateOutputs () override |
|
InputImageType * | GetLabelMap () override |
|
void | AfterThreadedGenerateData () override |
|
void | BeforeThreadedGenerateData () override |
|
void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override |
|
| LabelMapFilter () |
|
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType) override |
|
virtual void | ThreadedProcessLabelObject (LabelObjectType *labelObject) |
|
| ~LabelMapFilter () override=default |
|
void | PushBackInput (const DataObject *input) override |
|
void | PushFrontInput (const DataObject *input) override |
|
| ImageToImageFilter () |
|
| ~ImageToImageFilter () override=default |
|
void | VerifyInputInformation () ITKv5_CONST override |
|
virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
|
virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
|
| ImageSource () |
|
| ~ImageSource () override=default |
|
void | GenerateData () override |
|
void | ClassicMultiThread (ThreadFunctionType callbackFunction) |
|
virtual const ImageRegionSplitterBase * | GetImageRegionSplitter () const |
|
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion) |
|
virtual bool | GetDynamicMultiThreading () const |
|
virtual void | SetDynamicMultiThreading (bool _arg) |
|
virtual void | DynamicMultiThreadingOn () |
|
virtual void | DynamicMultiThreadingOff () |
|
| ProcessObject () |
|
| ~ProcessObject () override |
|
DataObject * | GetInput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
|
DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
|
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
|
virtual void | SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input) |
|
virtual void | AddInput (DataObject *input) |
|
virtual void | RemoveInput (const DataObjectIdentifierType &key) |
|
virtual void | RemoveInput (DataObjectPointerArraySizeType) |
|
DataObject * | GetPrimaryInput () |
|
const DataObject * | GetPrimaryInput () const |
|
virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryInputName () const |
|
virtual void | SetPrimaryInput (DataObject *object) |
|
void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
|
virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () const |
|
bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
|
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
|
void | SetRequiredInputNames (const NameArray &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
|
virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryOutputName () const |
|
DataObject * | GetOutput (DataObjectPointerArraySizeType i) |
|
const DataObject * | GetOutput (DataObjectPointerArraySizeType i) const |
|
virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
|
virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
|
DataObject * | GetPrimaryOutput () |
|
const DataObject * | GetPrimaryOutput () const |
|
virtual void | SetPrimaryOutput (DataObject *object) |
|
virtual void | SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output) |
|
virtual void | AddOutput (DataObject *output) |
|
virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
|
virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () const |
|
void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
|
DataObjectIdentifierType | MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectIdentifierType | MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectPointerArraySizeType | MakeIndexFromInputName (const DataObjectIdentifierType &name) const |
|
DataObjectPointerArraySizeType | MakeIndexFromOutputName (const DataObjectIdentifierType &name) const |
|
bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
|
bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
|
virtual void | VerifyPreconditions () ITKv5_CONST |
|
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
|
virtual void | GenerateOutputInformation () |
|
virtual void | PropagateResetPipeline () |
|
virtual void | ReleaseInputs () |
|
virtual void | CacheInputReleaseDataFlags () |
|
virtual void | RestoreInputReleaseDataFlags () |
|
virtual bool | GetThreaderUpdateProgress () const |
|
virtual void | ThreaderUpdateProgressOn () |
|
virtual void | ThreaderUpdateProgressOff () |
|
virtual void | SetThreaderUpdateProgress (bool arg) |
|
| Object () |
|
| ~Object () override |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
|
virtual LightObject::Pointer | InternalClone () const |
|
| LightObject () |
|
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
|
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
|
static constexpr float | progressFixedToFloat (uint32_t fixed) |
|
static uint32_t | progressFloatToFixed (float f) |
|
std::mutex | m_LabelObjectContainerLock |
|
bool | m_DynamicMultiThreading |
|
bool | m_Updating |
|
TimeStamp | m_OutputInformationMTime |
|
std::atomic< int > | m_ReferenceCount |
|
template<typename TImage, typename TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
class itk::ShapeLabelMapFilter< TImage, TLabelImage >
The valuator class for the ShapeLabelObject.
ShapeLabelMapFilter can be used to set the attributes values of the ShapeLabelObject in a LabelMap.
ShapeLabelMapFilter takes an optional parameter, used only to optimize the computation time and the memory usage when the perimeter or the feret diameter is used: the exact copy of the input LabelMap is stored in an Image. It can be set with SetLabelImage(). It is cleared at the end of the computation, so must be reset before running Update() again. It is not part of the pipeline management design, to let the subclasses of ShapeLabelMapFilter use the pipeline design to specify truly required inputs.
- 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://www.insight-journal.org/browse/publication/176
Definition at line 53 of file itkShapeLabelMapFilter.h.