SourceXtractorPlusPlus  0.11
Please provide a description of the project.
Public Types | Static Public Member Functions | List of all members
ModelFitting::ImageTraits< ImageInterfaceTypePtr > Struct Template Reference

#include <ImageInterfaceTraits.h>

Public Types

using iterator = std::vector< ImageInterfaceType::PixelType >::iterator
 

Static Public Member Functions

static ImageInterfaceTypePtr factory (std::size_t width, std::size_t height)
 
static std::size_t width (const ImageInterfaceTypePtr &image)
 
static std::size_t height (const ImageInterfaceTypePtr &image)
 
static ImageInterfaceType::PixelTypeat (ImageInterfaceTypePtr &image, std::size_t x, std::size_t y)
 
static ImageInterfaceType::PixelType at (const ImageInterfaceTypePtr &image, std::size_t x, std::size_t y)
 
static iterator begin (const ImageInterfaceTypePtr &image)
 
static iterator end (const ImageInterfaceTypePtr &image)
 
static void addImageToImage (ImageInterfaceTypePtr &target_image, const ImageInterfaceTypePtr &source_image, double scale_factor, double x, double y)
 

Detailed Description

template<>
struct ModelFitting::ImageTraits< ImageInterfaceTypePtr >

Definition at line 56 of file ImageInterfaceTraits.h.

Member Typedef Documentation

◆ iterator

Definition at line 58 of file ImageInterfaceTraits.h.

Member Function Documentation

◆ addImageToImage()

void ModelFitting::ImageTraits< ImageInterfaceTypePtr >::addImageToImage ( ImageInterfaceTypePtr target_image,
const ImageInterfaceTypePtr source_image,
double  scale_factor,
double  x,
double  y 
)
static

Definition at line 291 of file ImageInterfaceTraits.cpp.

References std::ceil(), std::floor(), std::max(), SourceXtractor::shiftResizeLancszosFast(), x, and y.

Here is the call graph for this function:

◆ at() [1/2]

◆ at() [2/2]

Definition at line 76 of file ImageInterfaceTraits.h.

References x, and y.

◆ begin()

static iterator ModelFitting::ImageTraits< ImageInterfaceTypePtr >::begin ( const ImageInterfaceTypePtr image)
inlinestatic

Definition at line 80 of file ImageInterfaceTraits.h.

◆ end()

static iterator ModelFitting::ImageTraits< ImageInterfaceTypePtr >::end ( const ImageInterfaceTypePtr image)
inlinestatic

Definition at line 84 of file ImageInterfaceTraits.h.

◆ factory()

static ImageInterfaceTypePtr ModelFitting::ImageTraits< ImageInterfaceTypePtr >::factory ( std::size_t  width,
std::size_t  height 
)
inlinestatic

Definition at line 60 of file ImageInterfaceTraits.h.

References SourceXtractor::VectorImage< T >::create(), ModelFitting::ImageTraits< ImageType >::height(), and ModelFitting::ImageTraits< ImageType >::width().

Referenced by SourceXtractor::shiftResizeLancszosFast().

Here is the call graph for this function:

◆ height()

static std::size_t ModelFitting::ImageTraits< ImageInterfaceTypePtr >::height ( const ImageInterfaceTypePtr image)
inlinestatic

◆ width()

static std::size_t ModelFitting::ImageTraits< ImageInterfaceTypePtr >::width ( const ImageInterfaceTypePtr image)
inlinestatic

The documentation for this struct was generated from the following files: