'Get the numrows, numcols of the input image'

def get_size(self):

    if (self._A is None):
        raise RuntimeError(u'You    must    first    set    the    image    array')
    return self._A.shape[:2]
