Update IsSubImage in ImageUtils

Update IsSubImage in ImageUtils