SourceXtractorPlusPlus  0.8
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)
 
static double getClamped (const ImageInterfaceTypePtr &image, int x, int y)
 
static void shiftResize (const ImageInterfaceTypePtr &source, ImageInterfaceTypePtr &window, double scale_factor, double x_shift, double y_shift)
 
static void shiftResizeLancszos (const ImageInterfaceTypePtr &source, ImageInterfaceTypePtr &window, double scale_factor, double x_shift, double y_shift)
 

Detailed Description

template<>
struct ModelFitting::ImageTraits< ImageInterfaceTypePtr >

Definition at line 223 of file ImageInterfaceTraits.h.

Member Typedef Documentation

Definition at line 225 of file ImageInterfaceTraits.h.

Member Function Documentation

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

Definition at line 256 of file ImageInterfaceTraits.h.

References ModelFitting::ImageTraits< ImageType >::at(), std::ceil(), ModelFitting::ImageTraits< ImageType >::factory(), std::floor(), ModelFitting::ImageTraits< ImageType >::height(), std::max(), and ModelFitting::ImageTraits< ImageType >::width().

Here is the call graph for this function:

Definition at line 239 of file ImageInterfaceTraits.h.

Definition at line 243 of file ImageInterfaceTraits.h.

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

Definition at line 247 of file ImageInterfaceTraits.h.

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

Definition at line 251 of file ImageInterfaceTraits.h.

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

Definition at line 227 of file ImageInterfaceTraits.h.

References SourceXtractor::VectorImage< T >::create().

Here is the call graph for this function:

static double ModelFitting::ImageTraits< ImageInterfaceTypePtr >::getClamped ( const ImageInterfaceTypePtr image,
int  x,
int  y 
)
inlinestatic

Definition at line 290 of file ImageInterfaceTraits.h.

References ModelFitting::ImageTraits< ImageType >::at(), ModelFitting::ImageTraits< ImageType >::height(), std::max(), std::min(), and ModelFitting::ImageTraits< ImageType >::width().

Here is the call graph for this function:

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

Definition at line 235 of file ImageInterfaceTraits.h.

static void ModelFitting::ImageTraits< ImageInterfaceTypePtr >::shiftResize ( const ImageInterfaceTypePtr source,
ImageInterfaceTypePtr window,
double  scale_factor,
double  x_shift,
double  y_shift 
)
inlinestatic

Definition at line 294 of file ImageInterfaceTraits.h.

References ModelFitting::ImageTraits< ImageType >::at(), std::floor(), ModelFitting::ImageTraits< ImageType >::height(), ModelFitting::ImageTraits< ImageType >::width(), x, and y.

Here is the call graph for this function:

static void ModelFitting::ImageTraits< ImageInterfaceTypePtr >::shiftResizeLancszos ( const ImageInterfaceTypePtr source,
ImageInterfaceTypePtr window,
double  scale_factor,
double  x_shift,
double  y_shift 
)
inlinestatic

Definition at line 319 of file ImageInterfaceTraits.h.

References ModelFitting::ImageTraits< ImageType >::at(), ModelFitting::ImageTraits< ImageType >::height(), ModelFitting::INTERP_LANCZOS4, ModelFitting::interpolate_pix(), ModelFitting::ImageTraits< ImageType >::width(), x, and y.

Here is the call graph for this function:

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

Definition at line 231 of file ImageInterfaceTraits.h.


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