Refactor image edge checking to new class