If invalid interval set it to range wrt pixels type