Into

Modules

Documentation

classPiiCamera::HorizontalInterpolator

#include <PiiBayerConverter.h>

An interpolation functor that calculates the value of a color channel by averaging the two horizontal neighbors of a pixel.

Description

Each of the funtions performs the interpolation at some special point of the image (corners, borders). The #center() function is used elsewhere.

Public member functions

int
(
  • const T *
  • const T * ptr1
)
int
(
  • const T *
  • const T * ptr1
)
int
(
  • const T *
  • const T * ptr1
)
int
(
  • const T *
  • const T * ptr1
  • const T *
)
int
(
  • const T *
  • const T * ptr1
  • const T *
)
int
(
  • const T *
  • const T * ptr1
  • const T *
)
int
(
  • const T * ptr1
  • const T *
)
int
(
  • const T * ptr1
  • const T *
)
int
(
  • const T * ptr1
  • const T *
)

Function details

  • int bottom

    (
    • const T *
    • const T * ptr1
    )
    [inline]
  • int bottomLeft

    (
    • const T *
    • const T * ptr1
    )
    [inline]
  • int bottomRight

    (
    • const T *
    • const T * ptr1
    )
    [inline]
  • int center

    (
    • const T *
    • const T * ptr1
    • const T *
    )
    [inline]
  • int left

    (
    • const T *
    • const T * ptr1
    • const T *
    )
    [inline]
  • int right

    (
    • const T *
    • const T * ptr1
    • const T *
    )
    [inline]
  • int top

    (
    • const T * ptr1
    • const T *
    )
    [inline]
  • int topLeft

    (
    • const T * ptr1
    • const T *
    )
    [inline]
  • int topRight

    (
    • const T * ptr1
    • const T *
    )
    [inline]
Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.