A template class to represent 2D line buffer. It has three parameters to specify the number of rows, columns in window buffer and the pixel data type.