Analysis of vector space model and spatiotemporal segmentation for video indexing and retrieval