enum NppStBorderType

Overview

Border type

Filtering operations assume that each pixel has a neighborhood of pixels. Moreā€¦

#include <NPP_staging.hpp>

enum NppStBorderType
{
    nppStBorderNone   = 0,
    nppStBorderClamp  = 1,
    nppStBorderWrap   = 2,
    nppStBorderMirror = 3,
};

Detailed Documentation

Border type

Filtering operations assume that each pixel has a neighborhood of pixels. The following structure describes possible ways to define non-existent pixels.

Enum Values

nppStBorderNone

There is no need to define additional pixels, image is extended already.

nppStBorderClamp

Clamp out of range position to borders.

nppStBorderWrap

Wrap out of range position. Image becomes periodic.

nppStBorderMirror

reflect out of range position across borders