OTB
9.0.0
Orfeo Toolbox
|
#include <otbLabelMapToAttributeImageFilter.h>
Public Types | |
typedef TAttributeAccessor | AttributeAccessorType |
typedef std::vector< std::string > | AttributeListType |
typedef LabelObjectType::AttributesMapType | AttributesMapType |
typedef AttributeAccessorType::AttributeValueType | AttributeValueType |
typedef LabelObjectType::ConstLineIterator | ConstLineIteratorType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef InputImageType::LabelObjectType | LabelObjectType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::InternalPixelType | OutputInternalPixelType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef LabelMapToAttributeImageFilter | Self |
typedef itk::LabelMapFilter< TInputImage, TOutputImage > | Superclass |
typedef itk::VariableLengthVector< OutputInternalPixelType > | VectorPixelType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual OutputInternalPixelType | GetBackgroundValue () const |
const AttributeListType & | GetChosenAttributes () |
virtual const char * | GetNameOfClass () const |
bool | SetAttributeForNthChannel (unsigned int channel, const std::string &attribute) |
virtual void | SetBackgroundValue (OutputInternalPixelType _arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
~LabelMapToAttributeImageFilter () override | |
Private Attributes | |
OutputInternalPixelType | m_BackgroundValue |
AttributeListType | m_ChosenAttributes |
void | SetChosenAttributes (AttributeListType &newAttributes) |
unsigned int | GetNumberOfComponentsPerPixel () |
bool | SetAttributeForNthChannel (unsigned int channel, const char *attribute) |
LabelMapToAttributeImageFilter () | |
void | GenerateOutputInformation () override |
void | BeforeThreadedGenerateData () override |
void | ThreadedProcessLabelObject (LabelObjectType *labelObject) override |
This class produces an image from attributes in a label map.
This filter is intended to work on AttributesMapLabelObject. The user chooses the attributes to display for each channel. The output image is expected to be a vector image.
Definition at line 44 of file otbLabelMapToAttributeImageFilter.h.
typedef TAttributeAccessor otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::AttributeAccessorType |
Definition at line 72 of file otbLabelMapToAttributeImageFilter.h.
typedef std::vector<std::string> otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::AttributeListType |
Definition at line 71 of file otbLabelMapToAttributeImageFilter.h.
typedef LabelObjectType::AttributesMapType otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::AttributesMapType |
Definition at line 63 of file otbLabelMapToAttributeImageFilter.h.
typedef AttributeAccessorType::AttributeValueType otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::AttributeValueType |
Definition at line 73 of file otbLabelMapToAttributeImageFilter.h.
typedef LabelObjectType::ConstLineIterator otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::ConstLineIteratorType |
Definition at line 62 of file otbLabelMapToAttributeImageFilter.h.
typedef itk::SmartPointer<const Self> otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::ConstPointer |
Definition at line 51 of file otbLabelMapToAttributeImageFilter.h.
typedef OutputImageType::IndexType otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::IndexType |
Definition at line 68 of file otbLabelMapToAttributeImageFilter.h.
typedef TInputImage otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImageType |
Some convenient typedefs.
Definition at line 57 of file otbLabelMapToAttributeImageFilter.h.
typedef InputImageType::LabelObjectType otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::LabelObjectType |
Definition at line 61 of file otbLabelMapToAttributeImageFilter.h.
typedef TOutputImage otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImageType |
Definition at line 65 of file otbLabelMapToAttributeImageFilter.h.
typedef OutputImageType::InternalPixelType otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputInternalPixelType |
Definition at line 67 of file otbLabelMapToAttributeImageFilter.h.
typedef OutputImageType::PixelType otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputPixelType |
Definition at line 66 of file otbLabelMapToAttributeImageFilter.h.
typedef itk::SmartPointer<Self> otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Pointer |
Definition at line 50 of file otbLabelMapToAttributeImageFilter.h.
typedef LabelMapToAttributeImageFilter otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Self |
Standard class typedefs.
Definition at line 48 of file otbLabelMapToAttributeImageFilter.h.
typedef itk::LabelMapFilter<TInputImage, TOutputImage> otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Superclass |
Definition at line 49 of file otbLabelMapToAttributeImageFilter.h.
typedef itk::VariableLengthVector<OutputInternalPixelType> otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::VectorPixelType |
Definition at line 69 of file otbLabelMapToAttributeImageFilter.h.
|
protected |
Constructor
Definition at line 33 of file otbLabelMapToAttributeImageFilter.hxx.
|
inlineoverrideprotected |
Definition at line 104 of file otbLabelMapToAttributeImageFilter.h.
|
overrideprotected |
Set the chosen attributes
Definition at line 88 of file otbLabelMapToAttributeImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Set the chosen attributes
Definition at line 78 of file otbLabelMapToAttributeImageFilter.hxx.
|
virtual |
Get macro for background value
|
inline |
Get the current chosen attributes
Definition at line 82 of file otbLabelMapToAttributeImageFilter.h.
|
virtual |
Run-time type information (and related methods).
unsigned int otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::GetNumberOfComponentsPerPixel |
Get the number of components of the output image
Definition at line 47 of file otbLabelMapToAttributeImageFilter.hxx.
|
static |
Standard New method.
bool otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::SetAttributeForNthChannel | ( | unsigned int | channel, |
const char * | attribute | ||
) |
Fill the given channel with value from the given attribute
Definition at line 53 of file otbLabelMapToAttributeImageFilter.hxx.
References otbWarningMacro.
|
inline |
Fill the given channel with value from the given attribute
Definition at line 97 of file otbLabelMapToAttributeImageFilter.h.
|
virtual |
Set macro for background value
void otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::SetChosenAttributes | ( | AttributeListType & | newAttributes | ) |
Set the chosen attributes
Definition at line 41 of file otbLabelMapToAttributeImageFilter.hxx.
|
overrideprotected |
Set the chosen attributes
Definition at line 110 of file otbLabelMapToAttributeImageFilter.hxx.
|
private |
Background pixel value
Definition at line 114 of file otbLabelMapToAttributeImageFilter.h.
|
private |
List of chosen attributes
Definition at line 117 of file otbLabelMapToAttributeImageFilter.h.