Discriminating rigid from nonrigid motion: Minimum points and views