'Initialize buffers for images and ROIs
Arguments:
inputs:
Returns:'

def init_buffers(self, inputs):

    assert (len(inputs) == 2), 'inputs    must    contain    both    images    and    ROIs'
    self.img = inputs[0]
    self.rois = inputs[1].transpose()
    assert (self.rois.shape[1] == 5), 'ROI    entry    must    be    5-value    tuple'
