SourceXtractorPlusPlus  0.10
Please provide a description of the project.
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SourceXtractor::WeightMapImageSource Class Reference
Inheritance diagram for SourceXtractor::WeightMapImageSource:
[legend]
Collaboration diagram for SourceXtractor::WeightMapImageSource:
[legend]

Public Member Functions

 WeightMapImageSource (std::shared_ptr< Image< WeightImage::PixelType >> image, WeightImageConfig::WeightType weight_type, WeightImage::PixelType scaling)
 
- Public Member Functions inherited from SourceXtractor::ProcessingImageSource< WeightImage::PixelType >
 ProcessingImageSource (std::shared_ptr< Image< WeightImage::PixelType >> image)
 
virtual ~ProcessingImageSource ()=default
 
virtual std::shared_ptr< ImageTile< WeightImage::PixelType > > getImageTile (int x, int y, int width, int height) const override
 
virtual void saveTile (ImageTile< WeightImage::PixelType > &) override
 
virtual int getWidth () const override
 Returns the width of the image in pixels. More...
 
virtual int getHeight () const override
 Returns the height of the image in pixels. More...
 
- Public Member Functions inherited from SourceXtractor::ImageSource< WeightImage::PixelType >
 ImageSource ()
 
virtual ~ImageSource ()=default
 
- Public Member Functions inherited from SourceXtractor::ImageSourceBase
virtual ~ImageSourceBase ()=default
 
- Public Member Functions inherited from std::enable_shared_from_this< ImageSource< WeightImage::PixelType > >
enable_shared_from_this (T... args)
 
operator= (T... args)
 
shared_from_this (T... args)
 
~enable_shared_from_this (T... args)
 

Protected Member Functions

std::string getRepr () const override
 Human readable representation of this source. More...
 
virtual void generateTile (std::shared_ptr< Image< WeightImage::PixelType >> image, ImageTile< DetectionImage::PixelType > &tile, int x, int y, int width, int height) const override
 
- Protected Member Functions inherited from SourceXtractor::ProcessingImageSource< WeightImage::PixelType >
virtual void generateTile (std::shared_ptr< Image< WeightImage::PixelType >> image, ImageTile< WeightImage::PixelType > &tile, int x, int y, int width, int height) const=0
 
std::string getImageRepr () const
 

Private Attributes

WeightImageConfig::WeightType m_weight_type
 
WeightImage::PixelType m_scaling
 

Detailed Description

Definition at line 143 of file WeightImageConfig.cpp.

Constructor & Destructor Documentation

◆ WeightMapImageSource()

SourceXtractor::WeightMapImageSource::WeightMapImageSource ( std::shared_ptr< Image< WeightImage::PixelType >>  image,
WeightImageConfig::WeightType  weight_type,
WeightImage::PixelType  scaling 
)
inline

Definition at line 145 of file WeightImageConfig.cpp.

Member Function Documentation

◆ generateTile()

virtual void SourceXtractor::WeightMapImageSource::generateTile ( std::shared_ptr< Image< WeightImage::PixelType >>  image,
ImageTile< DetectionImage::PixelType > &  tile,
int  x,
int  y,
int  width,
int  height 
) const
inlineoverrideprotectedvirtual

◆ getRepr()

std::string SourceXtractor::WeightMapImageSource::getRepr ( ) const
inlineoverrideprotectedvirtual

Human readable representation of this source.

Implements SourceXtractor::ImageSourceBase.

Definition at line 151 of file WeightImageConfig.cpp.

References SourceXtractor::ProcessingImageSource< WeightImage::PixelType >::getImageRepr().

Here is the call graph for this function:

Member Data Documentation

◆ m_scaling

WeightImage::PixelType SourceXtractor::WeightMapImageSource::m_scaling
private

Definition at line 194 of file WeightImageConfig.cpp.

Referenced by generateTile().

◆ m_weight_type

WeightImageConfig::WeightType SourceXtractor::WeightMapImageSource::m_weight_type
private

Definition at line 193 of file WeightImageConfig.cpp.

Referenced by generateTile().


The documentation for this class was generated from the following file: