Protected Member Functions |
virtual void | GenerateData () |
| ObjectByObjectLabelMapFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
| ~ObjectByObjectLabelMapFilter () |
virtual void | AfterThreadedGenerateData () |
virtual void | BeforeThreadedGenerateData () |
virtual InputImageType * | GetLabelMap () |
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
virtual void | ThreadedProcessLabelObject (LabelObjectType *labelObject) |
| LabelMapFilter () |
| ~LabelMapFilter () |
virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
| ImageToImageFilter () |
virtual void | VerifyInputInformation () |
| ~ImageToImageFilter () |
void | PushBackInput (const DataObject *input) |
void | PushFrontInput (const DataObject *input) |
virtual void | AllocateOutputs () |
| ImageSource () |
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion) |
virtual | ~ImageSource () |
virtual void | AddInput (DataObject *input) |
virtual void | AddOutput (DataObject *output) |
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
virtual void | CacheInputReleaseDataFlags () |
virtual void | GenerateOutputInformation () |
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
virtual const
DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () |
virtual const
DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () |
bool | IsIndexedName (const DataObjectIdentifierType &) const |
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
| itkLegacyMacro (virtual void RemoveInput(DataObject *input)) |
| itkLegacyMacro (virtual void RemoveOutput(DataObject *output)) |
| itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num)) |
| itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num)) |
DataObjectPointerArraySizeType | MakeIndexFromName (const DataObjectIdentifierType &) const |
DataObjectIdentifierType | MakeNameFromIndex (DataObjectPointerArraySizeType) const |
| ProcessObject () |
virtual void | PropagateResetPipeline () |
virtual void | ReleaseInputs () |
virtual void | RemoveInput (const DataObjectIdentifierType &key) |
virtual void | RemoveInput (DataObjectPointerArraySizeType) |
virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
virtual void | RestoreInputReleaseDataFlags () |
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
virtual void | SetNthInput (DataObjectPointerArraySizeType num, DataObject *input) |
virtual void | SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output) |
void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
virtual void | SetOutput (const DataObjectIdentifierType &key, DataObject *output) |
virtual void | SetPrimaryInput (DataObject *input) |
virtual void | SetPrimaryOutput (DataObject *output) |
void | SetRequiredInputNames (const NameArray &) |
virtual void | VerifyPreconditions () |
| ~ProcessObject () |
DataObject * | GetInput (const DataObjectIdentifierType &key) |
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
DataObject * | GetInput (DataObjectPointerArraySizeType) |
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
DataObject * | GetPrimaryInput () |
const DataObject * | GetPrimaryInput () const |
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
DataObject * | GetOutput (DataObjectPointerArraySizeType idx) |
const DataObject * | GetOutput (DataObjectPointerArraySizeType idx) const |
DataObject * | GetPrimaryOutput () |
const DataObject * | GetPrimaryOutput () const |
| Object () |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
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 () |
template<class TInputImage, class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
class itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >
ObjectByObjectLabelMapFilter applies an image pipeline to all the objects of a label map and produce a new label map.
The image pipeline can simply produce a modified object or produce several objects from the single input object. Several options are provided to handle the different cases.
KeepLabel, which defaults to true, makes the filter try to keep as much as possible the labels of the original objects. If an image pipeline produce several objects the label of the input object is assigned to the first output object. The other output objects get another label not present in the input image. When KeepLabel is set to false, all the objects are relabeled in the order of apparition during the filter process.
BinaryInternalOutput can be set to true if the image pipeline produce binary output image. In that case, the objects produced are identified with a connected component algorithm before being reinserted in the output label map. InternalForegroundValue can be set to a specific value which represent the foreground value in the binary image.
PadSize and ConstrainPaddingToImage can be used to extend the size of the image to process passed to the image pipeline. This is useful if the image pipeline is known to be able to enlarge the object. The padding can be constrained to the input label map region by setting ConstrainPaddingToImage to true - this parameter can make a difference for the algorithm with a different behavior on the border of the image. By default, the image is padded by 1 pixel and constrained to the image region.
- 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: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
- Wiki Examples:
Definition at line 79 of file itkObjectByObjectLabelMapFilter.h.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::BinaryInternalOutputOff |
( |
| ) |
|
|
virtual |
Set/Get whether the internal image produced by OutputFilter should be interpreted as a binary image in which the filter have to search for connected components. If set to false, the filter consider the image as a label image. Default is false.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::BinaryInternalOutputOn |
( |
| ) |
|
|
virtual |
Set/Get whether the internal image produced by OutputFilter should be interpreted as a binary image in which the filter have to search for connected components. If set to false, the filter consider the image as a label image. Default is false.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ConstrainPaddingToImageOff |
( |
| ) |
|
|
virtual |
Padding by PadSize will be constrained to the input image region if ConstrainPaddingToImage is true, and won't be constrained if it is set to false. Default value is true.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ConstrainPaddingToImageOn |
( |
| ) |
|
|
virtual |
Padding by PadSize will be constrained to the input image region if ConstrainPaddingToImage is true, and won't be constrained if it is set to false. Default value is true.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual::itk::LightObject::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::CreateAnother |
( |
void |
| ) |
const |
|
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::LabelMapFilter< TInputImage, TOutputImage >.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GenerateData |
( |
| ) |
|
|
protectedvirtual |
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetBinaryInternalOutput |
( |
| ) |
|
|
virtual |
Set/Get whether the internal image produced by OutputFilter should be interpreted as a binary image in which the filter have to search for connected components. If set to false, the filter consider the image as a label image. Default is false.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetConstrainPaddingToImage |
( |
| ) |
|
|
virtual |
Padding by PadSize will be constrained to the input image region if ConstrainPaddingToImage is true, and won't be constrained if it is set to false. Default value is true.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
The foreground value used internally to represent the object in the image passed to InputFilter, and to read the data produced by OutputFilter, if BinaryInternalOutput is true
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetKeepLabels |
( |
| ) |
|
|
virtual |
If KeepLabels is set to true, the filter will do its best to reuse the labels of the input objects in the output ones. However, this is possible only if the internal pipeline produce a single object - the other labels will be taken as they come. If KeepLabels is false, no care is made of the input labels, and a new label is produced for all the objects using LabelMap::PushLabelObject().
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
The label of the object currently processed by the filter. This is intended to be used with the IterationEvent sent before the processing of each object. It contains a relevant value only during the filter update.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual const char* itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetNameOfClass |
( |
| ) |
const |
|
virtual |
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
If PadSize is not zero, the image produce for each object will be padded. The default value is 1 on all the dimensions.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::KeepLabelsOff |
( |
| ) |
|
|
virtual |
If KeepLabels is set to true, the filter will do its best to reuse the labels of the input objects in the output ones. However, this is possible only if the internal pipeline produce a single object - the other labels will be taken as they come. If KeepLabels is false, no care is made of the input labels, and a new label is produced for all the objects using LabelMap::PushLabelObject().
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::KeepLabelsOn |
( |
| ) |
|
|
virtual |
If KeepLabels is set to true, the filter will do its best to reuse the labels of the input objects in the output ones. However, this is possible only if the internal pipeline produce a single object - the other labels will be taken as they come. If KeepLabels is false, no care is made of the input labels, and a new label is produced for all the objects using LabelMap::PushLabelObject().
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetBinaryInternalOutput |
( |
bool |
_arg | ) |
|
|
virtual |
Set/Get whether the internal image produced by OutputFilter should be interpreted as a binary image in which the filter have to search for connected components. If set to false, the filter consider the image as a label image. Default is false.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetConstrainPaddingToImage |
( |
bool |
_arg | ) |
|
|
virtual |
Padding by PadSize will be constrained to the input image region if ConstrainPaddingToImage is true, and won't be constrained if it is set to false. Default value is true.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
The foreground value used internally to represent the object in the image passed to InputFilter, and to read the data produced by OutputFilter, if BinaryInternalOutput is true
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetKeepLabels |
( |
bool |
_arg | ) |
|
|
virtual |
If KeepLabels is set to true, the filter will do its best to reuse the labels of the input objects in the output ones. However, this is possible only if the internal pipeline produce a single object - the other labels will be taken as they come. If KeepLabels is false, no care is made of the input labels, and a new label is produced for all the objects using LabelMap::PushLabelObject().
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
If PadSize is not zero, the image produce for each object will be padded. The default value is 1 on all the dimensions.
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
const unsigned int itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ImageDimension = TOutputImage::ImageDimension |
|
static |
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
const unsigned int itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InputImageDimension = TInputImage::ImageDimension |
|
static |
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_ConstrainPaddingToImage |
|
private |
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
InputFilterType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_InputFilter |
|
private |
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
OutputFilterType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_OutputFilter |
|
private |
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
const unsigned int itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::OutputImageDimension = TOutputImage::ImageDimension |
|
static |