Incremental indexing of objects in pictorial databases