Automatic Generation of Subject-Based Image Transitions