boundary pixel=UINT_MAX