SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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::PixelType
at (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

Definition at line 58 of file ImageInterfaceTraits.h.

Member Function Documentation

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

Definition at line 318 of file ImageInterfaceTraits.cpp.

References std::ceil(), std::floor(), ModelFitting::height, std::max(), SourceXtractor::shiftResizeLancszosFast(), and ModelFitting::width.

Here is the call graph for this function:

Definition at line 76 of file ImageInterfaceTraits.h.

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

Definition at line 80 of file ImageInterfaceTraits.h.

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

Definition at line 84 of file ImageInterfaceTraits.h.

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().

Referenced by SourceXtractor::shiftResizeLancszosFast().

Here is the call graph for this function:

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

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