Cleaned up image separation