Basic_Image_Library MIT licensed stars forks issues

Basic Image Processing Library

Basic Image Processing library is a comprehensive computer vision and image processing library for all architecture with CPU backend and developed for Linux, Windows, and Mac.

Every Link in this page are related to master branch Master branch will contain same code as the latest release which can be found in tags

File Description

Basic Functions

API & Header Description

1. Image Return

Copies input image bitwise to the destination image (memcpy)

img_return

OUTPUT = INPUT1

status img_return(
        uint8 *ip_buff,
        uint8 *op_buff,
        img_size ip_img_size,
        img_size *op_img_size);
IO Variable Type
in[1] ip_buff Unsigned char
out[2] op_buff Unsigned char
in[3] ip_img_size struct img_size
out[4] op_img_size struct img_size

2. Image Padding

Input a smaller image and outputs a same image padded inside a larger image of user given dimension

status img_padding(
        uint8 *ip_buff,
        uint8 *op_buff,
        img_size ip_img_size,
        img_size *op_img_size,
        img_padding_type bg);
IO Variable Type
in[1] ip_buff Unsigned char
out[2] op_buff Unsigned char
in[3] ip_img_size struct img_size
in[4] op_img_size struct img_size
in[5] bg img_padding_type
typedef enum
{
    NO_COLOUR = 1,
    WHITE = 255,
    BLACK = 0
} img_padding_type;