OTB
9.0.0
Orfeo Toolbox
|
#include <otbPrintableImageFilter.h>
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const ChannelsType | GetChannelList () |
const ChannelsType | GetChannels (void) const |
MaskImageType * | GetInputMask (void) |
virtual const char * | GetNameOfClass () const |
virtual bool | GetUseMask () |
otbGetObjectMemberMacro (Rescaler, AutomaticInputMinMaxComputation, bool) | |
otbGetObjectMemberMacro (Rescaler, InputMaximum, InputPixelType) | |
otbGetObjectMemberMacro (Rescaler, InputMinimum, InputPixelType) | |
otbSetObjectMemberMacro (Rescaler, AutomaticInputMinMaxComputation, bool) | |
otbSetObjectMemberMacro (Rescaler, InputMaximum, InputPixelType) | |
otbSetObjectMemberMacro (Rescaler, InputMinimum, InputPixelType) | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | SetChannel (unsigned int channel) |
void | SetChannelList (ChannelsType chList) |
void | SetInputMask (const MaskImageType *mask) |
virtual void | SetUseMask (bool _arg) |
Static Public Member Functions | |
static Pointer | New () |
VectorRescalerType::Pointer | m_Rescaler |
ChannelExtractorType::Pointer | m_Extractor |
FunctorFilterPointerType | m_MaskFilter |
OutputPixelType | m_ObjectColor |
bool | m_UseMask |
ChannelsType | m_ChannelList |
MaskPixelType | m_BackgroundMaskValue |
void | SetObjectColor (OutputPixelType val) |
virtual OutputPixelType | GetObjectColor () |
void | SetBackgroundMaskValue (MaskPixelType val) |
virtual MaskPixelType | GetBackgroundMaskValue () |
void | GenerateOutputInformation () override |
PrintableImageFilter () | |
void | BeforeGenerateData () |
void | GenerateData () override |
PrintableImageFilter (Self &) | |
void | operator= (const Self &) |
This class is a helper class to turn a vector image to a generic 8 bytes RGB image. A mask can be used to highlight some objects represented by the same value. The mask is a binary image. Background MaskValue is used to precise which value of the mask are objects (default 0). Output object color can be set using m_ObjectColor (default white). The output is a 3 channel image, each channel is a channel of the input image. They can be selected using m_ChannelList or SetChannel(int ch ) method.
It is useful for publications for instance.
Definition at line 124 of file otbPrintableImageFilter.h.
typedef otb::MultiChannelExtractROI<InputInternalPixelType, InputInternalPixelType> otb::PrintableImageFilter< TInputImage, TMaskImage >::ChannelExtractorType |
Definition at line 144 of file otbPrintableImageFilter.h.
typedef ChannelExtractorType::ChannelsType otb::PrintableImageFilter< TInputImage, TMaskImage >::ChannelsType |
Definition at line 145 of file otbPrintableImageFilter.h.
typedef itk::SmartPointer<const Self> otb::PrintableImageFilter< TInputImage, TMaskImage >::ConstPointer |
Definition at line 130 of file otbPrintableImageFilter.h.
typedef FunctorFilterType::Pointer otb::PrintableImageFilter< TInputImage, TMaskImage >::FunctorFilterPointerType |
Definition at line 151 of file otbPrintableImageFilter.h.
typedef itk::BinaryFunctorImageFilter<OutputImageType, MaskImageType, OutputImageType, FunctorType> otb::PrintableImageFilter< TInputImage, TMaskImage >::FunctorFilterType |
Definition at line 150 of file otbPrintableImageFilter.h.
typedef Functor::MaskFunctor<InputPixelType, MaskPixelType, OutputPixelType> otb::PrintableImageFilter< TInputImage, TMaskImage >::FunctorType |
Definition at line 149 of file otbPrintableImageFilter.h.
typedef TInputImage otb::PrintableImageFilter< TInputImage, TMaskImage >::InputImageType |
Definition at line 132 of file otbPrintableImageFilter.h.
typedef InputImageType::InternalPixelType otb::PrintableImageFilter< TInputImage, TMaskImage >::InputInternalPixelType |
Definition at line 134 of file otbPrintableImageFilter.h.
typedef InputImageType::PixelType otb::PrintableImageFilter< TInputImage, TMaskImage >::InputPixelType |
Definition at line 133 of file otbPrintableImageFilter.h.
typedef MaskImageType::Pointer otb::PrintableImageFilter< TInputImage, TMaskImage >::MaskImagePointerType |
Definition at line 141 of file otbPrintableImageFilter.h.
typedef TMaskImage otb::PrintableImageFilter< TInputImage, TMaskImage >::MaskImageType |
Definition at line 140 of file otbPrintableImageFilter.h.
typedef MaskImageType::PixelType otb::PrintableImageFilter< TInputImage, TMaskImage >::MaskPixelType |
Definition at line 142 of file otbPrintableImageFilter.h.
typedef VectorImage<OutputInternalPixelType, 2> otb::PrintableImageFilter< TInputImage, TMaskImage >::OutputImageType |
Definition at line 137 of file otbPrintableImageFilter.h.
typedef unsigned char otb::PrintableImageFilter< TInputImage, TMaskImage >::OutputInternalPixelType |
Definition at line 136 of file otbPrintableImageFilter.h.
typedef OutputImageType::PixelType otb::PrintableImageFilter< TInputImage, TMaskImage >::OutputPixelType |
Definition at line 138 of file otbPrintableImageFilter.h.
typedef itk::SmartPointer<Self> otb::PrintableImageFilter< TInputImage, TMaskImage >::Pointer |
Definition at line 129 of file otbPrintableImageFilter.h.
typedef PrintableImageFilter otb::PrintableImageFilter< TInputImage, TMaskImage >::Self |
Definition at line 127 of file otbPrintableImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, otb::VectorImage<unsigned char, 2> > otb::PrintableImageFilter< TInputImage, TMaskImage >::Superclass |
Definition at line 128 of file otbPrintableImageFilter.h.
typedef VectorRescaleIntensityImageFilter<typename ChannelExtractorType::OutputImageType, OutputImageType> otb::PrintableImageFilter< TInputImage, TMaskImage >::VectorRescalerType |
Definition at line 147 of file otbPrintableImageFilter.h.
|
protected |
Output Mask Object color.
Definition at line 31 of file otbPrintableImageFilter.hxx.
|
private |
Output Mask Object color.
|
protected |
Output Mask Object color.
Definition at line 91 of file otbPrintableImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::PrintableImageFilter< TInputImage, TMaskImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Output Mask Object color.
Definition at line 128 of file otbPrintableImageFilter.hxx.
|
override |
PrintableImageFilter can produce an image which is a different resolution than its input image. As such, PrintableImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
Definition at line 81 of file otbPrintableImageFilter.hxx.
|
virtual |
Output Mask Object color.
|
inline |
Definition at line 187 of file otbPrintableImageFilter.h.
const PrintableImageFilter< TInputImage, TMaskImage >::ChannelsType otb::PrintableImageFilter< TInputImage, TMaskImage >::GetChannels | ( | void | ) | const |
Definition at line 58 of file otbPrintableImageFilter.hxx.
PrintableImageFilter< TInputImage, TMaskImage >::MaskImageType * otb::PrintableImageFilter< TInputImage, TMaskImage >::GetInputMask | ( | void | ) |
|
virtual |
Run-time type information
|
virtual |
Output Mask Object color.
|
virtual |
|
static |
Method for creation through object factory
|
private |
Output Mask Object color.
otb::PrintableImageFilter< TInputImage, TMaskImage >::otbGetObjectMemberMacro | ( | Rescaler | , |
AutomaticInputMinMaxComputation | , | ||
bool | |||
) |
otb::PrintableImageFilter< TInputImage, TMaskImage >::otbGetObjectMemberMacro | ( | Rescaler | , |
InputMaximum | , | ||
InputPixelType | |||
) |
otb::PrintableImageFilter< TInputImage, TMaskImage >::otbGetObjectMemberMacro | ( | Rescaler | , |
InputMinimum | , | ||
InputPixelType | |||
) |
otb::PrintableImageFilter< TInputImage, TMaskImage >::otbSetObjectMemberMacro | ( | Rescaler | , |
AutomaticInputMinMaxComputation | , | ||
bool | |||
) |
otb::PrintableImageFilter< TInputImage, TMaskImage >::otbSetObjectMemberMacro | ( | Rescaler | , |
InputMaximum | , | ||
InputPixelType | |||
) |
otb::PrintableImageFilter< TInputImage, TMaskImage >::otbSetObjectMemberMacro | ( | Rescaler | , |
InputMinimum | , | ||
InputPixelType | |||
) |
|
override |
Display
Definition at line 169 of file otbPrintableImageFilter.hxx.
|
inline |
Output Mask Object color.
Definition at line 216 of file otbPrintableImageFilter.h.
void otb::PrintableImageFilter< TInputImage, TMaskImage >::SetChannel | ( | unsigned int | channel | ) |
Definition at line 50 of file otbPrintableImageFilter.hxx.
|
inline |
Definition at line 192 of file otbPrintableImageFilter.h.
void otb::PrintableImageFilter< TInputImage, TMaskImage >::SetInputMask | ( | const MaskImageType * | mask | ) |
If set, only pixels within the mask will be classified.
mask | The input mask. |
Definition at line 64 of file otbPrintableImageFilter.hxx.
|
inline |
Output Mask Object color.
Definition at line 203 of file otbPrintableImageFilter.h.
|
virtual |
|
private |
Output Mask Object color.
Definition at line 257 of file otbPrintableImageFilter.h.
|
private |
Output Mask Object color.
Definition at line 253 of file otbPrintableImageFilter.h.
|
private |
Output Mask Object color.
Definition at line 245 of file otbPrintableImageFilter.h.
|
private |
Output Mask Object color.
Definition at line 247 of file otbPrintableImageFilter.h.
|
private |
Output Mask Object color.
Definition at line 249 of file otbPrintableImageFilter.h.
|
private |
Output Mask Object color.
Definition at line 244 of file otbPrintableImageFilter.h.
|
private |
Output Mask Object color.
Definition at line 251 of file otbPrintableImageFilter.h.