'Get projection to x and y axes
:returns: Two sequences, indicating where there are non-zero
pixels along the X-axis and the Y-axis, respectively.'

def getprojection(self):

    self.load()
    (x, y) = self.im.getprojection()
    return ([i8(c) for c in x], [i8(c) for c in y])
