Task d+e partly implemented

boxfilter_vid.m extended for video processing. filter is called now in
segmentation.m
not completely functional yet.