#include "fcdynamic.h"
Functions | |
int | threshold (TrackingWindow *win, int t) |
binarizes an image | |
int | boundary (TrackingWindow *win) |
finds the boundary of an image | |
int | erode (TrackingWindow *win) |
a morphological operation that is useful for removing noisy FOREGROUND pixels. |
int boundary | ( | TrackingWindow * | win | ) |
finds the boundary of an image
boundary
takes a TrackingWindow after the image data has been binarized and finds the boundary of the object
win | the TrackingWindow with the binarized image data |
int erode | ( | TrackingWindow * | win | ) |
a morphological operation that is useful for removing noisy FOREGROUND
pixels.
erode
takes a TrackingWindow after the image data has been binarized and removes stray FOREGROUND
pixels that appear to be noise.
win | the TrackingWindow with the binarized image data |
int threshold | ( | TrackingWindow * | win, | |
int | t | |||
) |
binarizes an image
threshold
takes a TrackingWindow and binarizes the data based on the threshold level, t
. All values less than t
are colored as BACKGROUND
pixels, otherwise the pixel is a FOREGROUND
pixel.
win | the TrackingWindow to threshold | |
t | the threshold value |