#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "allheaders.h"
void absDifferenceLow | ( | l_uint32 * | datad, | |
l_int32 | w, | |||
l_int32 | h, | |||
l_int32 | wpld, | |||
l_uint32 * | datas1, | |||
l_uint32 * | datas2, | |||
l_int32 | d, | |||
l_int32 | wpls | |||
) |
Finds the absolute value of the difference of each pixel, for 8 and 16 bpp gray and for 32 bpp rgb. For 32 bpp, the differences are found for each of the RGB components separately, and the LSB component is ignored. The results are written into datad.
void finalAccumulateThreshLow | ( | l_uint32 * | datad, | |
l_int32 | w, | |||
l_int32 | h, | |||
l_int32 | wpld, | |||
l_uint32 * | datas, | |||
l_int32 | wpls, | |||
l_uint32 | offset, | |||
l_uint32 | threshold | |||
) |