add Seam interface and update unit test of Image