'**DESCRIPTION**
Rotate the image 180 degrees to the left/right.
This is the same as rotate 90.
**RETURNS**
A SimpleCV image.
**EXAMPLE**
>>>> img = Image(\'lenna\')
>>>> img.rotate180().show()'

def rotate180(self):

    retVal = cv.CreateImage((self.width, self.height), cv.IPL_DEPTH_8U, 3)
    cv.Flip(self.getBitmap(), retVal, 0)
    cv.Flip(retVal, retVal, 1)
    return Image(retVal, colorSpace=self._colorSpace)
