def get_GeoArrayPosition_from_boxImYX(boxImYX):
    """Return row_start,row_end,col_start,col_end and assumes boxImYX as [UL_YX,UR_YX,LR_YX,LL_YX)."""
    rS, cS = boxImYX[0]
    rE, cE = boxImYX[2]
    return rS, rE - 1, cS, cE - 1
