28.03.2017 Views

Primitives

ippi_0

ippi_0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The IppiDitherType enumeration defines the type of dithering to be used by the ippiReduceBits<br />

function:<br />

typedef enum {<br />

ippDitherNone,<br />

ippDitherFS,<br />

ippDitherJJN,<br />

ippDitherStucki,<br />

ippDitherBayer<br />

} IppiDitherType;<br />

Intel ® Integrated Performance <strong>Primitives</strong> Concepts 2<br />

The layout of the image slices used in some image format conversion functions is defined as follows:<br />

enum {<br />

IPP_UPPER = 1,<br />

IPP_LEFT = 2,<br />

IPP_CENTER = 4,<br />

IPP_RIGHT = 8,<br />

IPP_LOWER = 16,<br />

IPP_UPPER_LEFT = 32,<br />

IPP_UPPER_RIGHT = 64,<br />

IPP_LOWER_LEFT = 128,<br />

IPP_LOWER_RIGHT = 256<br />

};<br />

The IppiShape enumeration defines shapes of the structuring element used in some morphological<br />

functions:<br />

typedef enum {<br />

ippiShapeRect = 0,<br />

ippiShapeCross = 1,<br />

ippiShapeEllipse = 2,<br />

ippiShapeCustom = 100<br />

} IppiShape;<br />

The IppiAxis enumeration defines the flip axes for the ippiMirror functions or direction of the image<br />

intensity ramp for the ippiImageRamp functions:<br />

typedef enum {<br />

ippAxsHorizontal,<br />

ippAxsVertical,<br />

ippAxsBoth,<br />

ippAxs45,<br />

ippAxs135<br />

} IppiAxis;<br />

The IppiBorderType enumeration defines the border type that is used by some Separable Filters and Fixed<br />

Filters functions:<br />

typedef enum _IppiBorderType {<br />

ippBorderConst = 0,<br />

ippBorderRepl = 1,<br />

ippBorderWrap = 2,<br />

ippBorderMirror = 3,<br />

ippBorderMirrorR = 4,<br />

ippBorderMirror2 = 5,<br />

ippBorderInMem = 6,<br />

35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!