Module dlib.image.image

Generic image interface and its implementations for integer pixel formats

Functions

NameDescription
bilinearPixel(img, x, y) Get interpolated pixel value from an image
convert(img) Convert image to specified pixel format
defaultImageFactory() Get default image factory singleton
image(w, h, channels, bitDepth) Create an image with specified parameters
region(img, x, y, width, height) ImageRegion factory function
windows(img, width, height) ImageWindowRange factory function

Interfaces

NameDescription
SuperImage Abstract image interface
SuperImageFactory All-in-one image factory interface

Classes

NameDescription
Image SuperImage implementation template for integer pixel formats
ImageFactory All-in-one image factory class

Structs

NameDescription
ImageRegion Rectangular region of an image that can be iterated with foreach
ImageWindowRange An InputRange of windows (regions around pixels) of an image that can be iterated with foreach

Enums

NameDescription
PixelFormat Integer pixel formats

Aliases

NameTypeDescription
ImageL16 Image!(4) Specialization of Image for 16-bit luminance pixel format
ImageL8 Image!(0) Specialization of Image for 8-bit luminance pixel format
ImageLA16 Image!(5) Specialization of Image for 16-bit luminance-alpha pixel format
ImageLA8 Image!(1) Specialization of Image for 8-bit luminance-alpha pixel format
ImageRGB16 Image!(6) Specialization of Image for 16-bit RGB pixel format
ImageRGB8 Image!(2) Specialization of Image for 8-bit RGB pixel format
ImageRGBA16 Image!(7) Specialization of Image for 16-bit RGBA pixel format
ImageRGBA8 Image!(3) Specialization of Image for 8-bit RGBA pixel format