21 #ifndef _IMAGE_UTILS_H
22 #define _IMAGE_UTILS_H
26 #include "IntegralImage.h"
Types involved in boosting.
void Downsample1_5X(ImageHandle &out, const ImageHandle &in)
Downsample a factor of 1.5 the whole image.
void Downsample2X(ImageHandle &out, const ImageHandle &in)
Downsample (a factor of 2) the whole image.
void Resample(ImageHandle &out, const ImageHandle &in, const rect &area)
Crop and Resample an Image using IntegralImage algorithm.
void Convert(ImageHandle &out, const ImageHandle &in)
convert color to greyscale and viceversa
void BilinearResample(ImageHandle &out, const ImageHandle &in, const rect &area)
Crop and Resample an Image using Bilinear Interpolation algorithm.
a rectangle structure
Definition: Types.h:55
void BlendBox(ImageHandle &out, rect r, unsigned int color, float factor)
Draw a Transparent Box over an image.
void DrawBox(ImageHandle &out, rect r, unsigned int color)
Draw a Box over an image.
Definition: ImageUtils.h:35
void DrawRect(ImageHandle &out, rect r, unsigned int color)
Draw a rectangle over an image.