Efficient rendering of integral images